:root{--bg:#fff7df;--surface:#fffdf4;--panel:#fff;--panel-strong:#fff0bd;--text:#251b16;--muted:#74675f;--soft:#9a8c82;--border:#eadbc3;--border-strong:#d7b988;--green:#14804a;--green-dark:#0d5f38;--green-soft:#e4f6df;--red:#d71920;--red-soft:#ffe5e5;--yellow:#f4bd28;--yellow-soft:#fff3bf;--blue:#2463eb;--ink:#17100d;--shadow:0 22px 48px #5a371621;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Space Grotesk,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}#root{min-height:100vh}.app-shell{background:linear-gradient(#e7ede8c7,#f8f7f359 360px),#f7f6f1;min-height:100vh;padding:24px}.topbar,.search-panel,.queue-panel,.result-panel{border:1px solid var(--border);background:#ffffffeb;border-radius:12px;box-shadow:0 14px 34px #272a2412}.topbar{justify-content:space-between;align-items:flex-start;gap:24px;max-width:1440px;margin:0 auto 16px;padding:22px 24px;display:flex}.brand-copy{gap:8px;min-width:0;max-width:860px;display:grid}.brand-copy h1,.brand-copy p,.panel-heading h2,.panel-heading p,.section-title h2,.section-title p,.route-card h3{margin:0}.brand-copy h1{color:#15120f;letter-spacing:0;font-size:clamp(32px,4vw,58px);font-weight:950;line-height:.9}.brand-copy p{color:#3d3730;font-size:clamp(16px,1.55vw,22px);font-weight:760;line-height:1.28}.brand-copy .brand-note{max-width:760px;color:var(--muted);font-size:15px;font-weight:500;line-height:1.45}.how-button{color:#2d2822;background:#fff;border:1px solid #d9c8ae;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-weight:760;transition:border-color .16s,box-shadow .16s,transform .16s;display:inline-flex}.how-button:hover{border-color:#d71920;transform:translateY(-1px);box-shadow:0 8px 18px #272a2417}.section-title p,.panel-heading p{color:var(--muted);font-size:13px;line-height:1.35}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1815126b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.how-modal{border:1px solid var(--border);background:#fff;border-radius:16px;width:min(760px,100%);max-height:min(760px,100vh - 40px);padding:26px;position:relative;overflow:auto;box-shadow:0 24px 70px #00000038}.modal-close{width:34px;height:34px;color:var(--muted);background:#f3f1ec;border:0;border-radius:999px;place-items:center;display:grid;position:absolute;top:14px;right:14px}.how-modal h2{margin:0 42px 12px 0;font-size:26px;line-height:1.1}.how-modal p{color:var(--muted);margin:0;font-size:15px;line-height:1.55}.how-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.how-grid div{border:1px solid var(--border);background:#faf9f6;border-radius:12px;padding:14px}.how-grid strong,.how-grid span{display:block}.how-grid strong{color:var(--text);margin-bottom:6px;font-size:14px}.how-grid span{color:var(--muted);font-size:13px;line-height:1.45}.modal-footnote{padding-top:2px}.api-alert,.soft-warning{color:#8a1116;background:#fff7f7;border:1px solid #f0bcc0;border-radius:10px;align-items:center;gap:8px;max-width:1440px;margin:0 auto 14px;padding:11px 13px;font-size:14px;display:flex}.workspace{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:16px;max-width:1440px;margin:0 auto;display:grid}.search-panel{align-self:start;padding:18px}.panel-heading,.section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel-heading{justify-content:flex-start}.panel-heading svg,.section-title>svg{color:var(--red);flex:none}.panel-heading h2,.section-title h2{color:var(--text);letter-spacing:0;font-size:18px;line-height:1.15}.panel-heading>div,.section-title>div{align-items:center;display:flex}form{gap:13px;display:grid}.swap-button{border:1px solid var(--border-strong);width:34px;height:34px;color:var(--muted);cursor:pointer;background:#fff;border-radius:999px;justify-self:center;place-items:center;margin:-6px 0;transition:border-color .16s,color .16s,background .16s;display:inline-grid}.swap-button:hover{border-color:var(--red);color:var(--red);background:#fff6f6}label{color:var(--muted);gap:7px;font-size:13px;font-weight:700;display:grid}.input-shell,select,.plain-input{border:1px solid var(--border-strong);width:100%;min-height:43px;color:var(--text);background:#fff;border-radius:10px;transition:border-color .16s,box-shadow .16s}.input-shell{align-items:center;gap:9px;padding:0 12px;display:flex}.input-shell svg{color:var(--soft);flex:none}.input-shell input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0}select,.plain-input{padding:0 12px}.input-shell:focus-within,select:focus,.plain-input:focus{border-color:#d71920;outline:0;box-shadow:0 0 0 3px #d719201c}.two-col{grid-template-columns:1fr 1fr;gap:10px;display:grid}.toggle-row{display:block}.toggle-row input{opacity:0;pointer-events:none;position:absolute}.toggle-row span{border:1px solid var(--border-strong);min-height:43px;color:var(--text);background:#eff8ef;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:0 12px;display:flex}.toggle-row span:after{content:"";background:var(--green);border-radius:999px;width:36px;height:20px;box-shadow:inset 17px 0 #fff}.toggle-row input:not(:checked)+span{background:#fff}.toggle-row input:not(:checked)+span:after{background:#bec6bd;box-shadow:inset -17px 0 #fff}.segmented{border:1px solid var(--border);background:#f3f1ec;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.segmented button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:8px;font-size:13px;font-weight:750}.segmented button.active{color:#fff;background:#d71920}.submit-button{color:#fff;background:var(--green);border:0;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:47px;font-weight:800;transition:background .16s,transform .16s;display:flex}.submit-button:hover{background:var(--green-dark);transform:translateY(-1px)}.submit-button:disabled{opacity:.7}.main-panel{grid-template-rows:auto minmax(0,1fr);gap:16px;min-width:0;display:grid}.queue-panel,.result-panel{padding:18px}.queue-panel{min-height:0}.job-list{gap:8px;display:grid}.job-row{border:1px solid var(--border);text-align:left;width:100%;min-height:58px;color:var(--text);background:#fff;border-radius:10px;grid-template-columns:minmax(190px,1.35fr) minmax(150px,.85fr) auto 30px;align-items:center;gap:12px;padding:10px 11px;transition:border-color .15s,background .15s;display:grid}.job-row:hover,.job-row.selected{background:snow;border-color:#d71920}.job-route{min-width:0}.job-route strong,.job-route span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.job-route strong{font-size:14px;line-height:1.3}.job-route span,.job-progress span,.route-meta span,.timeline span{color:var(--muted);font-size:12px;line-height:1.3}.job-progress{gap:6px;display:grid}.progress-track{background:#e3e1db;border-radius:999px;width:100%;height:7px;position:relative;overflow:hidden}.progress-track span{border-radius:inherit;background:var(--green);min-width:4px;height:100%;transition:width .26s;display:block}.progress-track span.queued{background:var(--soft)}.progress-track span.failed{background:var(--red)}.job-badge{text-align:center;border-radius:999px;justify-self:start;min-width:62px;padding:5px 8px;font-size:11px;font-weight:800}.job-badge.queued{color:#5f655d;background:#eeeeea}.job-badge.running{color:#7a4b00;background:#fff1c6}.job-badge.done{color:#0f5f32;background:#e1f5e5}.job-badge.failed{color:#8a1116;background:#ffe7e7}.icon-action{width:28px;height:28px;color:var(--soft);border-radius:7px;place-items:center;display:grid}.icon-action:hover{color:var(--red);background:#fff0f0}.empty-state,.empty-result,.active-result{border:1px dashed var(--border-strong);min-height:150px;color:var(--muted);text-align:center;background:#faf9f6;border-radius:10px;place-items:center;gap:10px;padding:24px;display:grid}.empty-state strong,.active-result strong{color:var(--text)}.active-result .progress-track{max-width:420px}.soft-warning{color:#70510f;background:#fff9e6;border-color:#ead28f;margin:0 0 12px}.best-summary{color:var(--text);background:#fff8df;border:1px solid #e4d6b6;border-radius:10px;grid-template-columns:1.4fr .8fr .8fr;gap:10px;margin-bottom:12px;padding:14px;display:grid}.best-summary span,.best-summary strong{display:block}.best-summary span{text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:800}.best-summary strong{margin-top:4px;font-size:18px;line-height:1.2}.route-options{gap:10px;display:grid}.route-card{border:1px solid var(--border);background:#fff;border-radius:12px;padding:14px}.route-card-head{justify-content:space-between;gap:16px;margin-bottom:10px;display:flex}.route-card-head h3{margin-top:4px;font-size:17px;line-height:1.25}.rank{color:#d71920;font-size:12px;font-weight:900;display:inline-flex}.price-block{text-align:right;flex:none}.price-block strong{font-size:25px;line-height:1;display:block}.price-block span{color:var(--green-dark);margin-top:5px;font-size:12px;font-weight:800;display:block}.route-meta{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.route-meta span{background:#f4f2ec;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-weight:650;display:inline-flex}.timeline{gap:10px;display:grid}.leg{grid-template-columns:18px minmax(0,1fr);gap:10px;display:grid;position:relative}.leg:not(:last-child):after{content:"";background:#ded8ca;width:2px;position:absolute;top:17px;bottom:-13px;left:6px}.line-dot{z-index:1;background:var(--soft);width:14px;height:14px;box-shadow:0 0 0 1px var(--border-strong);border:3px solid #fff;border-radius:50%;margin-top:2px;position:relative}.line-dot.ice{background:var(--red)}.line-dot.regional{background:var(--green)}.leg strong{overflow-wrap:anywhere;font-size:14px;line-height:1.25;display:block}.leg span{margin-top:3px;display:block}.ok{color:var(--green)}.muted{color:var(--soft)}.spin{animation:.95s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.workspace{grid-template-columns:1fr}}@media (width<=760px){.app-shell{padding:12px}.topbar,.workspace,.main-panel{gap:12px}.topbar,.route-card-head{flex-direction:column;align-items:flex-start}.how-button{width:100%}.how-grid,.two-col,.best-summary{grid-template-columns:1fr}.job-row{grid-template-columns:minmax(0,1fr) auto}.job-progress{order:3;grid-column:1/-1}.job-badge,.icon-action{justify-self:end}.price-block{text-align:left}}
