:root{--bg: #f6f8f5;--surface: #ffffff;--surface-strong: #fffdf9;--ink: #171717;--muted: #5e6660;--line: #dfe5dc;--red: #b51f2f;--red-dark: #8d1521;--green: #47755b;--green-soft: #e8f2eb;--shadow: 0 18px 46px rgba(38, 45, 40, .11);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:linear-gradient(180deg,rgba(181,31,47,.06),transparent 280px),var(--bg)}button,input,select{font:inherit}a{color:inherit}.app-shell{width:min(1240px,calc(100% - 32px));margin:0 auto;padding:28px 0 42px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.topbar h1,.panel-heading h2,.empty-state h2{margin:0;letter-spacing:0}.topbar h1{font-size:clamp(34px,4.2vw,58px);line-height:.95}.topbar p,.panel-heading p,.empty-state p{margin:8px 0 0;color:var(--muted)}.status-dot{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:13px;font-weight:800}.status-dot:before{content:"";width:9px;height:9px;margin-right:8px;border-radius:50%;background:var(--green)}.status-dot.warning:before{background:var(--red)}.workspace{display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);gap:18px;align-items:stretch}.lookup-column{display:flex;flex-direction:column;gap:14px}.lookup-panel,.result-panel,.map-panel,.history-panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.lookup-panel{padding:18px}.lookup-panel label{display:block;margin-bottom:9px;color:var(--muted);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.lookup-row{display:grid;grid-template-columns:1fr auto;gap:10px}.lookup-row input{min-width:0;height:52px;padding:0 16px;border:1px solid #cfd8cf;border-radius:6px;background:var(--surface-strong);color:var(--ink);font-size:16px;outline:none}.lookup-row input:focus{border-color:var(--green);box-shadow:0 0 0 4px #47755b21}button,.panel-heading a{min-height:42px;border:0;border-radius:6px;background:var(--red);color:#fff;padding:0 18px;font-size:13px;font-weight:900;letter-spacing:.03em;text-decoration:none;cursor:pointer}button:disabled{cursor:progress;opacity:.72}button:hover,.panel-heading a:hover{background:var(--red-dark)}.helper-row{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:var(--muted);font-size:13px}.helper-row a{color:var(--red-dark);font-weight:800;white-space:nowrap}.alert{padding:14px 16px;border:1px solid rgba(181,31,47,.25);border-radius:8px;background:#fff4f5;color:var(--red-dark);font-weight:800}.result-panel{padding:20px}.result-panel-error{border-color:#b51f2f59}.charge-block{display:flex;justify-content:space-between;align-items:end;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}.charge-block span{color:var(--muted);font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.charge-block strong{color:var(--red);font-size:clamp(42px,5vw,64px);line-height:.9}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 0}.detail{min-height:74px;padding:12px;border:1px solid var(--line);border-radius:6px;background:#fbfcfa}.detail.wide{grid-column:1 / -1}.detail dt{margin-bottom:6px;color:var(--muted);font-size:12px;font-weight:900}.detail dd{margin:0;font-size:15px;font-weight:800;line-height:1.35}.empty-state{min-height:320px;display:grid;place-items:center;align-content:center;text-align:center}.route-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:18px;border-radius:50%;background:var(--green-soft);color:var(--green);font-size:30px;font-weight:900}.map-panel{min-height:520px;padding:16px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.panel-heading h2{font-size:24px}.panel-heading p{max-width:680px;font-size:14px}.route-actions{display:inline-flex;align-items:center;gap:10px}.mobile-route-text{display:none;background:var(--green)}.mobile-route-text:hover{background:#345d46}.map-frame{height:438px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:linear-gradient(90deg,rgba(71,117,91,.12) 1px,transparent 1px),linear-gradient(0deg,rgba(71,117,91,.12) 1px,transparent 1px),#eef4ef;background-size:42px 42px}.map-frame iframe{width:100%;height:100%;border:0}.map-placeholder{height:100%;display:grid;place-items:center;align-content:center;padding:24px;text-align:center}.map-placeholder span{color:var(--green);font-size:34px;font-weight:900}.map-placeholder p{max-width:360px;color:var(--muted);line-height:1.5}.history-panel{margin-top:18px;padding:18px}.limit-control{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;font-weight:900}.limit-control select{height:38px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:0 9px}.history-list{display:grid;gap:10px}.history-item{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;min-height:82px;padding:12px;border:1px solid var(--line);border-radius:7px;background:#fbfcfa}.history-item strong,.history-item span,.history-item small{display:block}.history-item strong{color:var(--red);font-size:20px}.history-item span{margin-top:2px;font-weight:800}.history-item small{margin-top:5px;color:var(--muted)}.history-item button{min-height:38px;background:var(--green)}.history-empty{padding:24px;border:1px dashed #cbd5cc;border-radius:8px;color:var(--muted);text-align:center}@media(max-width:920px){.workspace{grid-template-columns:1fr}.map-panel{min-height:420px}.map-frame{height:330px}}@media(max-width:640px){.app-shell{width:min(100% - 20px,1240px);padding-top:18px}.topbar,.panel-heading,.helper-row{align-items:flex-start;flex-direction:column}.lookup-row,.detail-grid,.history-item{grid-template-columns:1fr}.lookup-row button,.history-item button{width:100%}.route-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.route-actions a{display:inline-flex;align-items:center;justify-content:center;width:100%}.mobile-route-text{display:inline-flex}.charge-block{align-items:flex-start;flex-direction:column}}
