:root{--ink:#10263c;--muted:#6c7b8c;--blue:#0874e5;--blue-deep:#0864bd;--bg:#f4f7fb;--card:#fff;--border:#e3ebf3;--green:#148a66;--amber:#ab7304;--round:20px;--shadow:0 5px 22px rgba(17,47,86,.045);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;min-height:100vh;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.46;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9acfff;outline-offset:2px}a{color:var(--blue)}.i{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.app-shell{min-height:100dvh;padding-bottom:calc(85px + env(safe-area-inset-bottom));max-width:1080px;margin:0 auto}.main{max-width:820px;margin:0 auto;padding:19px 18px 42px}.topbar{display:flex;align-items:center;gap:10px;max-width:1020px;margin:auto;padding:calc(14px + env(safe-area-inset-top)) 19px 12px}.brand-mark{width:42px;height:42px;background:#e4f1ff;color:var(--blue);border-radius:14px;display:grid;place-items:center}.brand-mark .i{width:25px;height:25px}.brand-name{display:flex;flex-direction:column;gap:2px}.brand-name span{font-size:9px;font-weight:760;letter-spacing:2.2px}.brand-name strong{font-size:15px;letter-spacing:-.3px}.secure-chip{margin-left:auto;background:#e8f3f0;color:#14725b;border:1px solid #d5e8df;padding:8px 10px;border-radius:100px;font-size:11px;font-weight:750;display:flex;align-items:center;gap:4px}.secure-chip .i{width:13px;height:13px}.page-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:12px 0 22px}.page-head h1{font-size:clamp(28px,4vw,36px);line-height:1;letter-spacing:-1.3px;margin:5px 0 8px}.page-head p{color:var(--muted);font-size:14px;margin:0;line-height:1.45}.page-head .eyebrow{font-size:10px;letter-spacing:1.4px;color:#4f7998;font-weight:800;margin:0}.status-chip{border-radius:100px;padding:8px 10px;background:#e8f4f1;white-space:nowrap;color:#117356;font-size:11px;display:flex;align-items:center;gap:4px;font-weight:700}.status-chip .i{width:14px;height:14px}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:20px}.stat-card{min-height:135px;display:flex;flex-direction:column;align-items:flex-start;background:var(--card);box-shadow:var(--shadow);border:1px solid var(--border);border-radius:var(--round);padding:18px}.stat-ico{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;margin-bottom:11px}.stat-ico .i{width:19px;height:19px}.stat-ico.blue{background:#e9f3fe;color:#0c77e0}.stat-ico.mint{background:#e6f6ed;color:#209262}.stat-ico.amber{background:#fff2dc;color:#ae7b1c}.stat-ico.ice{background:#e9effc;color:#3159a6}.stat-card strong{font-size:30px;letter-spacing:-1.1px;line-height:1.06;margin:2px 0 5px}.stat-card>span:last-child{font-size:12px;color:var(--muted);line-height:1.35}.btn{border:none;border-radius:13px;min-height:48px;display:flex;align-items:center;justify-content:center;text-align:center;gap:9px;font-size:14px;font-weight:760;line-height:1.3;text-decoration:none;padding:11px 15px;transition:transform .15s ease,filter .15s}.btn:not(:disabled):active{transform:scale(.985)}.btn .i{width:18px;height:18px}.btn.primary{background:linear-gradient(130deg,#0778eb,#0669d3);color:#fff;box-shadow:0 5px 14px rgba(0,119,229,.17)}.btn.secondary{background:#e7f2ff;color:#126fc6;border:1px solid #c6e1ff}.btn.soft{background:#eff6fd;color:#136fbf;min-height:42px}.btn.success-btn{background:#0b956c;color:#fff;width:100%;margin:13px 0 30px}.btn.danger-outline{color:#b0353b;border:1px solid #f3d3d3;background:#fff4f4}.action-stack{display:grid;grid-template-columns:1fr;gap:10px;margin:16px 0 24px}.section-top{display:flex;align-items:center;justify-content:space-between;margin:28px 0 12px}.section-top h2,.h2-label{font-size:16px;letter-spacing:-.4px;margin:0}.h2-label{margin:25px 0 12px}.text-button{border:0;background:none;color:var(--blue);font-weight:760;font-size:12px;padding:8px 2px;display:inline-flex;align-items:center;gap:2px}.text-button .i{width:15px;height:15px}.soft-panel{padding:17px;display:flex;gap:13px;align-items:center;background:#e8f2fc;border-radius:16px;border:1px solid #dceaf7}.soft-panel p{font-size:12px;color:var(--muted);margin:3px 0 0;line-height:1.5}.soft-panel strong{font-size:13px}.soft-icon{width:42px;height:42px;border-radius:14px;background:white;color:#418ac2;display:grid;place-items:center;flex:0 0 auto}.data-note,.section-note{font-size:11px;color:var(--muted);display:flex;align-items:flex-start;gap:7px;line-height:1.5;margin-top:17px}.section-note{background:#e8f2fb;border-radius:13px;padding:11px;margin:0 0 14px}.data-note .i,.section-note .i{height:15px;width:15px;flex-shrink:0;margin-top:1px}.tabs{position:fixed;bottom:0;left:0;right:0;z-index:50;display:flex;justify-content:space-around;gap:3px;border-top:1px solid rgba(213,224,236,.9);background:rgba(255,255,255,.95);backdrop-filter:blur(20px);padding:9px max(calc((100vw - 720px)/2),12px) calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px rgba(25,54,83,.035)}.tab{border:0;background:none;color:#8b99a8;font-size:10px;flex:1;display:flex;align-items:center;flex-direction:column;gap:4px;min-height:48px;padding:4px 2px;font-weight:620}.tab .i{width:21px;height:21px}.tab.active{color:var(--blue)}.order-list{display:flex;flex-direction:column;gap:9px}.search{display:flex;align-items:center;gap:9px;background:#e8edf3;border-radius:13px;height:48px;padding:0 13px;color:#8092a4}.search input{border:0;background:transparent;width:100%;min-width:0;outline:0;color:var(--ink);font-size:13px}.search input:focus{outline:none}.filters{display:flex;overflow-x:auto;gap:7px;margin:15px -18px 16px;padding:0 18px 4px;scrollbar-width:none}.filters::-webkit-scrollbar{display:none}.filter{border:none;border-radius:100px;white-space:nowrap;background:#e7eef7;color:#526c82;padding:10px 13px;font-size:12px;font-weight:700}.filter.selected{background:var(--blue);color:#fff}.order-card{position:relative;display:block;width:100%;border:1px solid var(--border);border-radius:17px;background:white;box-shadow:var(--shadow);padding:15px 16px 13px;text-align:left;color:var(--ink)}.order-card:active{transform:scale(.995)}.order-heading{display:flex;justify-content:space-between;align-items:start;gap:10px;padding-right:6px}.order-heading strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.pill{display:inline-block;padding:5px 8px;border-radius:8px;font-size:10px;white-space:nowrap;font-weight:750;line-height:1.3}.pill.success{color:#0f745a;background:#dcefe7}.pill.green{color:#27785a;background:#e4f5ed}.pill.orange{color:#bd6522;background:#fff0e2}.pill.warning{color:#9a7408;background:#fff4cf}.pill.blue{color:#1568b6;background:#e4f1ff}.pill.neutral{color:#69788a;background:#ebeff4}.article-clamp{font-size:12px;color:#5e6e7e;margin:7px 0 10px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;padding-right:9px;white-space:pre-line}.location-line{display:flex;align-items:center;gap:5px;font-size:12px;color:#647d90}.location-line .i{width:14px;height:14px}.order-footer{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;border-top:1px solid #eff2f7;padding-top:10px;padding-right:15px}.order-footer span{display:flex;align-items:center;gap:4px;color:#798a9a;font-size:11px}.order-footer .i{width:13px;height:13px}.chevron{position:absolute;right:8px;top:48%;width:16px;height:16px;color:#9cacbb}.icon-button{width:37px;height:37px;border:1px solid #dae9f8;border-radius:11px;display:grid;place-items:center;background:#edf6ff;color:#0870d6;flex:0 0 auto}.icon-button.filled{background:var(--blue);color:white}.icon-button .i{width:19px;height:19px}.tour-wrap{margin-bottom:14px}.tour-card{border:1px solid var(--border);background:white;border-radius:19px;padding:16px;box-shadow:var(--shadow);margin-bottom:12px}.tour-top{display:flex;align-items:start;justify-content:space-between;gap:8px}.tour-top strong{font-size:15px}.tour-top p{display:flex;align-items:center;gap:6px;margin:8px 0 0;font-size:12px;color:var(--muted)}.tour-top .i,.tour-meta .i{width:15px;height:15px}.tour-meta{display:flex;flex-wrap:wrap;gap:14px;margin:15px 0}.tour-meta span{font-size:12px;display:flex;align-items:center;gap:5px;color:#5d7288}.route-preview{overflow:hidden;border-radius:15px;background:#e6f2ec;margin:14px 0}.map-drawing{position:relative;overflow:hidden;height:150px;background:linear-gradient(144deg,#e9f4e9,#dfeaf2 52%,#ecf6e6);border-bottom:1px solid #d6e3e9}.map-drawing>svg{position:absolute;inset:0;width:100%;height:100%}.map-schematic{position:absolute;z-index:1;top:10px;left:11px;background:#fff9;color:#688196;padding:5px 8px;border-radius:100px;font-size:10px}.pins{position:absolute;top:55%;left:9%;right:10%;display:flex;justify-content:space-between}.pins span{background:#0874df;color:white;border:3px solid white;box-shadow:0 2px 6px #527da07a;border-radius:50%;display:grid;place-items:center;width:29px;height:29px;font-weight:800;font-size:11px}.pins span:first-child{background:#128a63}.map-foot{font-size:10px;line-height:1.4;color:#597b86;margin:0;padding:9px 12px}.stop-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eef2f7}.stop-no{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;background:#0874e5;color:white;border-radius:100px;font-weight:800;font-size:12px}.stop-row>div:nth-child(2){min-width:0;flex:1}.stop-row strong{font-size:12px}.stop-row p{font-size:10px;color:var(--muted);margin:3px 0 5px}.stop-controls{display:flex;flex-direction:column;gap:2px}.stop-controls button{background:#edf3fb;border:0;border-radius:8px;padding:5px;color:#47789b}.stop-controls .i{width:16px;height:16px}.stop-row .pill{font-size:9px}.tour-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.tour-buttons .btn{font-size:12px;padding:9px}.pad{padding:12px}.muted{color:var(--muted)}.tiny{font-size:11px;line-height:1.6}.privacy-strip{background:#e8f5ef;color:#216a56;border:1px solid #d0e9dc;border-radius:15px;padding:14px;display:flex;gap:11px;align-items:start}.privacy-strip .i{width:22px;height:22px}.privacy-strip strong{font-size:12px}.privacy-strip p{font-size:11px;line-height:1.5;margin:4px 0 0}.import-card{background:#fff;border:1px solid var(--border);padding:14px;border-radius:18px;box-shadow:var(--shadow);margin-bottom:10px}.import-head{display:flex;align-items:center;gap:11px}.import-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}.import-head strong{font-size:13px}.import-head small{color:var(--muted);font-size:11px}.import-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;flex:0 0 auto}.import-icon.mint{background:#ddf4e8;color:#11916a}.import-icon.sky{background:#e6f1ff;color:#1674d7}.import-icon.peach{background:#fff1e4;color:#d17e36}.ok-color{color:var(--green);margin-left:auto}.file-label{background:#eaf4ff;border:1px solid #c7e2fe;border-radius:10px;color:#156fcc;font-size:12px;font-weight:780;height:41px;display:flex;align-items:center;justify-content:center;gap:8px;margin:13px 0 7px;cursor:pointer}.file-label .i{height:17px;width:17px}.file-name{font-size:10px;color:#7d8f9f;overflow-wrap:anywhere}.preview-card{background:#fff;border:1px solid var(--border);padding:17px;border-radius:18px;margin-top:14px}.preview-card h3{display:flex;align-items:center;gap:7px;font-size:15px;margin:0 0 12px}.preview-card h3 .i{color:var(--blue)}.preview-card>p{font-size:12px;color:var(--muted);line-height:1.5}.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:14px}.preview-grid>div{display:flex;flex-direction:column;align-items:center;background:#f6f9fd;padding:13px 4px;border-radius:10px}.preview-grid strong{font-size:20px}.preview-grid span{font-size:10px;color:var(--muted)}.preview-card .warning-note{color:#ab761c}.warning-note .i{width:15px;height:15px}.saved-note{display:flex;gap:8px;align-items:start;background:#eff7f3;color:#306d5a;border-radius:10px;padding:11px;font-size:11px;line-height:1.5;margin-top:10px}.saved-note .i{width:16px;height:16px}.backup-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.backup-actions .btn{font-size:12px;padding:9px 6px;min-height:47px}.setting-card{background:#fff;border-radius:14px;padding:14px;margin-top:18px;border:1px solid var(--border)}.setting-card label{display:block;font-size:12px;font-weight:750}.setting-card input{height:42px;margin:8px 0;width:100%;padding:10px;border:1px solid var(--border);border-radius:10px;font-size:12px}.empty-block{text-align:center;border:1px dashed #cddfea;background:rgba(255,255,255,.7);border-radius:18px;padding:29px 23px;margin:16px 0}.empty-block h3{font-size:17px;margin:8px 0}.empty-block p{font-size:12px;color:var(--muted);line-height:1.7}.empty-block .btn{max-width:300px;margin:16px auto 0}.empty-icon{display:grid;place-items:center;color:var(--blue)}.empty-icon .i{width:36px;height:36px}.overlay{position:fixed;inset:0;z-index:80;background:#10263c6b;display:flex;justify-content:center;align-items:flex-end}.sheet{width:100%;max-width:580px;max-height:calc(100dvh - 30px);background:#fff;border-radius:24px 24px 0 0;display:flex;flex-direction:column;padding:18px 18px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -7px 40px #172f4952}.sheet.small-sheet{max-height:80dvh}.sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:16px}.sheet-head h2{font-size:22px;letter-spacing:-.8px;margin:4px 0 7px}.sheet-head .eyebrow{font-size:10px;color:var(--muted);letter-spacing:1px;font-weight:750}.sheet-scroll{overflow:auto;overscroll-behavior:contain;padding:0 2px 12px}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.detail-grid>div{background:#f3f7fa;border-radius:12px;padding:11px;display:flex;flex-direction:column;gap:6px;min-width:0}.detail-grid span{font-size:10px;color:var(--muted)}.detail-grid strong{font-size:12px;overflow-wrap:anywhere}.article-box{white-space:pre-line;background:#eff6fd;border-radius:13px;font-size:12px;padding:14px;margin:13px 0}.edit-form{display:flex;flex-direction:column;gap:13px}.edit-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750}.edit-form input,.edit-form select,.edit-form textarea{border:1px solid #d5e2ed;border-radius:12px;min-height:42px;padding:11px 10px;background:#fff;color:var(--ink);font-size:13px;min-width:0}.edit-form textarea{min-height:85px;resize:vertical}.edit-form input[type=checkbox]{min-height:20px;width:20px;accent-color:var(--blue)}.edit-form .check-row{flex-direction:row;align-items:center;gap:9px}.check-list{display:flex;flex-direction:column;gap:10px;background:#f5f8fc;border-radius:15px;padding:15px}.check-list>strong{font-size:13px}.input-help{font-size:11px;color:var(--muted);margin:-7px 0 2px}.input-help .i{width:13px;height:13px}.sheet-actions{margin-top:10px}.toast{position:fixed;z-index:100;bottom:calc(94px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,12px);pointer-events:none;max-width:min(92vw,510px);background:#173c5e;color:#fff;border-radius:13px;box-shadow:0 12px 36px #173c5e52;padding:13px 16px;line-height:1.5;font-size:12px;opacity:0;transition:opacity .18s,transform .18s}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.danger{background:#a23039}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.no-js{padding:50px;font-size:18px}
@media(min-width:740px){.main{padding:25px 34px 55px}.topbar{padding:22px 34px 16px}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.action-stack{grid-template-columns:1fr 1fr}.order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.filters{margin:15px 0;padding:0 0 5px}.tour-wrap{margin-bottom:18px}.sheet{align-self:center;border-radius:22px;max-height:88dvh}.tabs{position:sticky;bottom:0;border-radius:20px 20px 0 0;max-width:820px;margin:auto;padding-bottom:15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.legs{margin:12px 0 0;display:flex;flex-wrap:wrap;gap:7px}.legs p{font-size:11px;color:var(--muted);width:100%;margin:0}.legs .btn{min-height:38px;font-size:11px;flex:1}
