/* Warranty RO Tracker Build 001 - independently adapted from the user's Parts Pulse 055R visual reference. */
:root{color-scheme:dark;--bg:#050b13;--surface:#081827;--surface2:#0a1c2c;--surface3:#11283c;--line:#1b405b;--line-soft:#163248;--fg:#f3f8ff;--text:#c9deee;--muted:#89a8bd;--blue:#189eff;--blue-tint:#087ee540;--green:#22df88;--green-tint:#0e5036;--red:#ff566d;--red-tint:#4a1828;--grey:#b1bdca;--grey-tint:#293743;--shadow:0 20px 45px #0005}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:18px}
body{margin:0;min-width:310px;background:radial-gradient(ellipse at 73% -12%,#102940 0%,transparent 53%),var(--bg);color:var(--fg);font:13px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}a{color:inherit;text-decoration:none}input{min-width:0}*::selection{background:#09609a;color:white}
:focus-visible{outline:2px solid #72d7ff;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap}
.shell{min-height:100dvh;display:flex}
.sidebar{width:216px;flex:0 0 216px;background:linear-gradient(180deg,#06111f 0%,#07121e 62%,#06111a 100%);border-right:1px solid #17344b;box-shadow:inset 1px 0 0 #138fdb33;display:flex;flex-direction:column;position:sticky;top:0;min-height:100dvh;height:100dvh}
.side-brand{height:127px;display:flex;align-items:center;justify-content:center;padding:14px 16px;background:linear-gradient(180deg,#05121c 10%,#0b1c2c 100%);border-bottom:1px solid #173448;position:relative}
.side-brand:before{content:'';position:absolute;left:9px;top:17px;bottom:19px;width:3px;border-radius:5px;background:#0fafff;box-shadow:0 0 11px #0fafff}
.brand-logo{display:block;width:100%;height:auto;max-height:92px;filter:drop-shadow(0 0 9px #0694ff55)}
.side-label{color:#6c91ae;font-size:9px;letter-spacing:.19em;text-transform:uppercase;font-weight:800;padding:27px 21px 10px}
.sidebar nav{display:flex;flex-direction:column;padding:7px 0}
.nav-btn{color:#adc4d8;display:flex;align-items:center;gap:13px;min-height:44px;padding:9px 12px;margin:3px 10px;border-radius:6px;font-size:11px;font-weight:670;transition:background .15s,color .15s}
.nav-btn:hover{background:#142b3d;color:white}
.nav-btn.active{background:linear-gradient(90deg,#174e82aa,#0b243d88);box-shadow:inset 3px 0 0 #16a5ff,0 0 16px #075d9a1f;color:#f4faff}
.nav-glyph{font-size:19px;font-weight:600;width:20px;text-align:center;line-height:1;color:#51baff}
.side-bottom{margin-top:auto;border-top:1px solid #1a364b;padding:16px 13px 22px}
.side-mode{display:flex;gap:10px;align-items:flex-start;background:#0a2334;border:1px solid #16405c;border-radius:8px;padding:11px 9px;box-shadow:inset 0 1px #ffffff06}
.mode-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:#20d691;box-shadow:0 0 10px #20d691;vertical-align:middle}
.side-mode .mode-dot{margin-top:4px}.side-mode strong{font-size:9px;letter-spacing:.06em;color:#cce9f7}.side-mode p{margin:4px 0 0;color:#91b0c5;font-size:10px;line-height:1.5}
.side-version{display:flex;justify-content:space-between;gap:5px;font-size:9px;color:#698aa1;margin-top:17px}
.main{flex:1;min-width:0}
.topbar{height:123px;min-height:123px;border-bottom:1px solid #174168;display:flex;align-items:center;gap:20px;padding:0 26px;position:relative;isolation:isolate;background:linear-gradient(90deg,#061220ef 0%,#06122030 33%,#06122030 59%,#061220ed 100%),url('assets/automotive-hero.webp') center center/cover no-repeat #071624}
.topbar:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,transparent,#078de4 32%,transparent 67%);opacity:.43}
.mobile-brand{display:none}
.top-context{margin-left:auto;display:flex;flex-direction:column;text-align:left;letter-spacing:.16em;font-size:10px;color:#d4ebfc;text-shadow:0 1px 5px #000}
.top-context b{display:block;font-size:11px;margin:4px 0;font-weight:780}.top-context i{height:2px;width:46px;background:linear-gradient(90deg,#f52f62,#561c3e);margin-top:6px}
.top-right{display:flex;align-items:center;gap:16px}.top-version{font-size:9px;font-weight:700;letter-spacing:.11em;color:#99b6ca}.top-version strong{color:#b1ddff}
.content{padding:25px 23px 45px;max-width:1700px;margin:0 auto}
.eyebrow,.panel-eyebrow{display:flex;align-items:center;gap:8px;font-size:9px;color:#55baff;font-weight:790;letter-spacing:.15em}
.eyebrow:before{content:"";width:13px;height:2px;background:#1394f3}
.heading-row{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:19px}
.heading-row h1{font-family:Rajdhani,"Arial Narrow",Impact,sans-serif;font-weight:800;letter-spacing:.005em;font-stretch:condensed;font-size:clamp(24px,3vw,38px);line-height:1.05;margin:7px 0 6px;color:#f4f8ff}
.heading-glow{font:750 12px/1.1 system-ui,sans-serif;letter-spacing:.08em;color:#2c9bd5;vertical-align:middle}
.heading-row p{font-size:11px;color:#96b4c7;margin:0}.heading-side{white-space:nowrap;color:#93bcd4;font-size:9px;letter-spacing:.12em;font-weight:800;display:flex;align-items:center;gap:8px}.heading-live-dot{background:#22df88;width:7px;height:7px;box-shadow:0 0 9px #20e084;border-radius:50%}
.btn{background:linear-gradient(180deg,#14273b,#0a1827);border:1px solid #244663;border-radius:7px;min-height:38px;color:#cee9ff;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:9px 13px;font-size:10px;font-weight:800;letter-spacing:.03em;box-shadow:inset 0 1px 0 #ffffff12;transition:background .13s,border-color .13s}
.btn:hover:not(:disabled){background:#173650;border-color:#329ae0}.btn.primary{background:linear-gradient(180deg,#1b9bff,#026acb);border-color:#219dff;color:white;box-shadow:0 0 12px #098bfa44,inset 0 1px 0 #ffffff45}.btn.primary:hover:not(:disabled){background:linear-gradient(180deg,#3eb4ff,#087adc);border-color:#65d2ff}
.btn.secondary-danger{color:#ffc6cf;border-color:#6c3b4b;background:#251624}.btn.secondary-danger:hover:not(:disabled){background:#421a2b;border-color:#a45b6e}
.btn.small{font-size:9px;min-height:30px;padding:6px 10px}
.header-import{white-space:nowrap}
.kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:19px}
.kpi{min-height:94px;min-width:0;display:flex;gap:11px;align-items:center;background:linear-gradient(128deg,#101f30,#071521);border:1px solid #21405a;border-radius:9px;padding:13px;box-shadow:inset 0 1px 0 #ffffff09,0 8px 20px #00000033}
.kpi-icon{display:grid;place-items:center;min-width:41px;height:41px;border:1px solid #1f6391;border-radius:11px;background:linear-gradient(155deg,#0f518b,#06213c);color:#41b5ff;font-size:27px;line-height:1;font-weight:500;box-shadow:0 0 18px #088ff72b}
.kpi.green .kpi-icon{background:linear-gradient(145deg,#0f513e,#0c261e);border-color:#145b41;color:var(--green)}.kpi.red .kpi-icon{background:linear-gradient(145deg,#6a2732,#250e1b);border-color:#79303b;color:var(--red)}.kpi.grey .kpi-icon{background:linear-gradient(145deg,#364554,#1b2936);border-color:#486073;color:var(--grey)}.kpi.updated .kpi-icon{background:linear-gradient(140deg,#15334d,#0a1d30);border-color:#1c5c8a}
.kpi-info{min-width:0}.kpi-top{display:block;font-size:9px;line-height:1.3;color:#b4d1e5;letter-spacing:.045em;font-weight:800}.kpi-value{display:block;font:800 32px/.98 Rajdhani,"Arial Narrow",Impact,sans-serif;margin:5px 0 1px}.kpi-date{display:block;font-size:14px;margin:7px 0 2px;font-weight:850;line-height:1.2;word-break:break-word}.kpi-foot{display:block;font-size:9px;color:#7f9cb2;line-height:1.45}
.feature-grid{display:grid;grid-template-columns:minmax(0,1.33fr) minmax(330px,.77fr);gap:14px;align-items:stretch;margin-bottom:22px}
.panel{min-width:0;border-radius:10px;border:1px solid #214662;background:linear-gradient(170deg,#0c2031,#061420 85%);box-shadow:var(--shadow);padding:23px 23px 21px;position:relative;scroll-margin-top:22px}
.lookup-panel:before{content:"";position:absolute;top:0;left:0;right:0;height:78px;background:linear-gradient(110deg,#0d2d4e55,#08172700),url('assets/automotive-detail.webp') 100% 0/auto 128px no-repeat;opacity:.35;pointer-events:none}
.panel-top{display:flex;align-items:flex-start;justify-content:space-between;position:relative;gap:12px}
.panel-top h2,.section-heading h2{font:800 23px/1.1 Rajdhani,"Arial Narrow",Impact,sans-serif;letter-spacing:.025em;margin:6px 0 0;color:#f3faff}
.panel-symbol{border:1px solid #285777;background:#0b2b43;color:#43baff;font-size:26px;line-height:1;width:40px;height:40px;display:grid;place-items:center;border-radius:9px;flex:none}
.panel-description{font-size:11px;line-height:1.6;color:#9ab9cc;margin:12px 0 21px;position:relative}.panel-description strong{color:#d7efff}
.field-label{display:block;color:#9ac2d9;letter-spacing:.12em;font-size:10px;font-weight:800;margin-bottom:8px}
.lookup-form{position:relative}.lookup-line{display:flex;gap:9px;align-items:stretch}.lookup-line input{width:100%;height:55px;border:1px solid #1284d5;border-radius:7px;background:#05172a;color:#f4faff;padding:0 17px;font-size:20px;font-weight:700;letter-spacing:.04em;box-shadow:inset 0 0 13px #007ff21a,0 0 15px #057fe629;outline:none}.lookup-line input:focus{border-color:#52c2ff;box-shadow:0 0 0 3px #1678b047,0 0 17px #069afd45}.lookup-line input::placeholder{color:#678aa5;font-weight:550;font-size:15px;letter-spacing:0}
.lookup-submit{flex:none;min-height:55px;padding:0 17px}.lookup-submit span{font-size:17px}
.small-hint{display:block;color:#789db5;font-size:10px;margin:8px 0 0}
.result-card{display:flex;align-items:center;gap:18px;margin-top:22px;border-radius:10px;padding:24px 20px;min-height:167px;border:1px solid #2b5069;background:linear-gradient(120deg,#0d2637,#0b1724);transition:background .16s,border-color .16s}
.result-led{display:grid;place-items:center;width:74px;height:74px;flex:none;border-radius:16px;background:#162b3c;border:1px solid #31516b;color:#9fc0d4;font:850 40px/1 Rajdhani,"Arial Narrow",sans-serif;box-shadow:inset 0 1px #ffffff10}
.result-copy{min-width:0}.result-kicker{font-weight:800;font-size:10px;letter-spacing:.12em;color:#a1bdd1}.result-title{font:850 clamp(25px,2.65vw,38px)/1.07 Rajdhani,"Arial Narrow",Impact,sans-serif;letter-spacing:.03em;overflow-wrap:anywhere;margin-top:6px}.result-copy p{font-size:11px;line-height:1.55;color:#bed1de;margin:10px 0}.result-meta{font-size:10px;color:#93acc1;font-weight:650;word-break:break-word}
.result-card.ready{background:linear-gradient(110deg,#123e2c,#091d20);border-color:#19844d;box-shadow:inset 0 1px #41f0a021,0 0 27px #008e3522}.result-card.ready .result-led{background:#0e673c;border-color:#27bb71;color:#dcffeb;box-shadow:0 0 16px #07b95b44}.result-card.ready .result-title,.result-card.ready .result-kicker{color:#5bf2a4}
.result-card.stop{background:linear-gradient(110deg,#3e1923,#171421);border-color:#ac4653;box-shadow:0 0 28px #bd1d2622}.result-card.stop .result-led{background:#8b263b;border-color:#e35e72;color:#fff;box-shadow:0 0 16px #fb304955}.result-card.stop .result-title,.result-card.stop .result-kicker{color:#ff7786}
.result-card.unknown{background:linear-gradient(110deg,#24313d,#111c28);border-color:#61717f}.result-card.unknown .result-led{background:#374655;border-color:#7b909d;color:#e0e8ee}.result-card.unknown .result-title,.result-card.unknown .result-kicker{color:#c6d0d8}
.policy-note{display:flex;gap:11px;align-items:flex-start;margin-top:17px;color:#a1b7c6;font-size:10px;line-height:1.65;padding:10px 12px;border:1px solid #3e4558;border-radius:7px;background:#1a2230}.policy-note>span:first-child{font-size:17px;color:#ffb16d;line-height:1.2}
.upload-zone{border:1px dashed #357ba9;background:linear-gradient(140deg,#0a2b43,#081827);border-radius:9px;min-height:199px;padding:17px 10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;text-align:center;transition:background .16s,border-color .16s}
.upload-zone.dragover{border-color:#71d4ff;background:#104065}.upload-zone strong{font-size:11px;letter-spacing:.05em;color:#edf8ff}.upload-zone>span:not(.upload-emblem){font-size:10px;color:#9bbbd1}.upload-emblem{width:42px;height:42px;border-radius:10px;background:#103b5d;color:#4bbfff;font-size:29px;display:grid;place-items:center;border:1px solid #2b79ad;margin-bottom:5px}.upload-button{margin-top:5px;min-height:33px}
.format-guide{margin-top:16px}.format-guide>strong{font-size:9px;letter-spacing:.11em;color:#94b6cd}.format-chips{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 6px}.format-chips>span{border:1px solid #29618a;border-radius:6px;background:#0b2840;padding:5px 9px;color:#cae9fb;font-size:10px;font-weight:700}.format-guide p{color:#8eabc0;font-size:10px;margin:8px 0}.text-button{border:0;background:none;padding:4px 0;color:#4fbeff;text-decoration:underline;text-underline-offset:4px;font-size:10px;font-weight:750}.text-button:hover{color:white}
.import-feedback{margin-top:12px;border:1px solid #2e6482;border-radius:7px;padding:11px 12px;background:#122c40;font-size:11px;color:#ccecff;overflow-wrap:anywhere;white-space:pre-wrap}.import-feedback.error{background:#331b2a;border-color:#9b455a;color:#ffd4dd}.import-feedback.success{background:#113b2a;border-color:#237950;color:#c0fbd9}
.preview{background:#0b2233;border:1px solid #2f7193;border-radius:8px;padding:12px;margin-top:12px}.preview>strong{font-size:10px;letter-spacing:.1em;color:#b1e0ff}.preview p{font-size:11px;color:#a8c1d5;margin:8px 0}.preview-counts{display:flex;flex-wrap:wrap;gap:8px}.preview-counts>span{border:1px solid #31516a;background:#082033;border-radius:5px;padding:4px 8px;font-size:10px;font-weight:750}.preview-counts>span:nth-child(1){color:#5beca8}.preview-counts>span:nth-child(2){color:#ff818e}.preview-counts>span:nth-child(3){color:#c4d1db}.preview .preview-note{color:#ffc889}.preview-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.preview-actions .btn{min-height:34px;font-size:10px}
.storage-note{margin-top:13px;padding-top:14px;border-top:1px solid #1f455c;display:flex;gap:10px;align-items:flex-start;color:#8aadc2;font-size:10px;line-height:1.65}.storage-note .mode-dot{width:7px;height:7px;margin-top:5px;background:#e2ae46;box-shadow:0 0 7px #e2ae46}.storage-note b{color:#c9dfea}
.records-section{scroll-margin-top:23px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:11px}.section-heading h2{font-size:22px}
.records-panel{background:#081724;border:1px solid #1e4460;border-radius:9px;overflow:hidden;box-shadow:var(--shadow)}.records-toolbar{padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #214862;background:#0c2030}
.filter-tabs{display:flex;gap:7px;flex-wrap:wrap}.filter-btn{min-height:30px;min-width:58px;border:1px solid #29516e;background:#0b1b2a;color:#bfd6e7;border-radius:19px;font-size:10px;font-weight:800;padding:5px 13px}.filter-btn.active{background:linear-gradient(180deg,#1aaaff,#046fc7);border-color:#159fff;color:#fff;box-shadow:0 0 13px #068ee855}.filter-btn:hover:not(.active){background:#13364f}
.table-search{display:flex;align-items:center;gap:7px;background:#06182a;border:1px solid #24618b;border-radius:7px;padding:0 10px;height:35px;width:270px;max-width:100%;color:#3eacfb}.table-search>span{font-size:22px}.table-search input{width:100%;height:100%;background:none;border:0;outline:none;color:#eef7ff;font-size:11px}.table-search input::placeholder{color:#7d9cb0}.table-search:focus-within{border-color:#60c8ff}
.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;min-width:490px}.data-table thead th{background:linear-gradient(#0e263b,#0a1a29);padding:12px 18px;border-bottom:1px solid #23475e;color:#c3e4f9;font-size:10px;font-weight:800;letter-spacing:.07em}.data-table thead th:nth-child(1){width:38%}.data-table thead th:nth-child(2){width:34%}.data-table tbody tr{background:#071422}.data-table tbody tr:nth-child(even){background:#0a1a29}.data-table tbody tr:hover{background:#123755}.data-table tbody td{border-bottom:1px solid #163146;color:#c4d9e8;padding:13px 18px;font-size:11px}.data-table .ro-number{color:#50bcff;font-size:13px;font-weight:800;letter-spacing:.03em;overflow-wrap:anywhere}.data-table .empty-state{height:103px;text-align:center;color:#94adc0;font-size:12px}
.status-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 8px;border-radius:6px;border:1px solid #56687a;font-size:9px;letter-spacing:.06em;font-weight:800;background:#273440;color:#d0d8df}.status-pill:before{content:'';height:6px;width:6px;border-radius:50%;background:currentColor}.status-pill.ready{color:#66f0ac;background:#114830;border-color:#1e9056}.status-pill.stop{color:#ff8497;background:#4e1b2b;border-color:#a33851}.status-pill.unknown{color:#d7e0e7;background:#2d3945;border-color:#70808f}
.records-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px;color:#85a7bc;font-size:10px}.pagination{display:flex;align-items:center;gap:8px}.pagination>span{font-size:9px;letter-spacing:.06em;color:#9fc0d5;font-weight:750;white-space:nowrap}
.footer{display:flex;justify-content:space-between;gap:10px;color:#577d96;font-size:9px;letter-spacing:.06em;margin-top:22px;flex-wrap:wrap}.footer-sep{color:#198dda;margin:0 4px}
[hidden]{display:none!important}
@media(max-width:1350px){.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-grid{grid-template-columns:minmax(0,1.12fr) minmax(310px,.88fr)}.heading-row h1{font-size:32px}}
@media(max-width:1080px){.sidebar{flex-basis:180px;width:180px}.side-brand{height:112px}.sidebar .nav-btn{font-size:10px;gap:8px;padding:8px 6px}.nav-glyph{width:19px}.side-version{font-size:8px}.feature-grid{grid-template-columns:1fr}.import-panel{max-width:none}.upload-zone{min-height:145px}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){html{scroll-padding-top:120px}.shell{display:block}.sidebar{width:100%;height:auto;min-height:0;position:sticky;top:0;z-index:50;border-bottom:1px solid #1f4968;border-right:none;background:#061421;display:block}.side-brand,.side-label,.side-bottom{display:none}.sidebar nav{padding:7px 5px;display:flex;flex-direction:row;justify-content:space-around;gap:3px;overflow-x:auto}.sidebar .nav-btn{min-height:43px;flex:1 0 auto;max-width:none;margin:0;padding:8px 10px;font-size:10px;justify-content:center;gap:6px;white-space:nowrap}.nav-glyph{font-size:16px;width:auto}.topbar{height:90px;min-height:90px;padding:10px 15px;justify-content:space-between;gap:9px}.mobile-brand{display:block;width:148px;min-width:120px}.mobile-brand img{display:block;width:100%;max-height:76px;object-fit:contain}.top-context,.top-version{display:none}.top-right{margin-left:auto}.header-import{font-size:9px;min-height:36px;padding:8px 9px}.content{padding:19px 13px 35px}.heading-row{margin-bottom:15px}.heading-row h1{font-size:28px}.heading-side{display:none}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.kpi{min-height:79px;padding:11px;gap:8px}.kpi-icon{height:35px;min-width:35px;font-size:23px}.kpi-top,.kpi-foot{font-size:8px}.kpi-value{font-size:26px}.kpi-date{font-size:12px}.feature-grid{gap:13px}.panel{padding:18px 16px}.panel-top h2{font-size:22px}.result-card{min-height:140px;padding:17px 14px}.result-led{width:60px;height:60px;font-size:32px}.result-title{font-size:25px}.section-heading h2{font-size:21px}.records-toolbar{align-items:stretch;flex-wrap:wrap}.table-search{width:100%}.footer{font-size:8px}}
@media(max-width:430px){.sidebar .nav-btn{flex-direction:column;min-width:68px;font-size:9px;gap:3px;padding:5px 6px}.nav-glyph{font-size:16px}.heading-row h1{font-size:24px}.heading-row p{font-size:10px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi:nth-child(5){grid-column:1/-1}.lookup-line{flex-direction:column}.lookup-submit{width:100%;min-height:44px}.lookup-line input{height:53px;font-size:18px}.result-card{gap:11px}.result-led{width:46px;height:46px;font-size:25px;border-radius:11px}.result-title{font-size:23px}.result-copy p{font-size:10px}.result-meta{font-size:9px}.section-heading{align-items:flex-start;flex-wrap:wrap}.section-heading .secondary-danger{min-height:31px;font-size:9px}.records-toolbar{padding:10px}.filter-btn{min-width:0;padding:5px 11px}.records-footer{flex-direction:column;align-items:flex-start}.pagination{width:100%;justify-content:space-between}.footer{flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Build 001 v0.2.0 - compact manual entry and per-RO controls */
.intake-column{display:flex;flex-direction:column;gap:14px;min-width:0}
.intake-column .panel{min-width:0}
.manual-form{display:flex;flex-direction:column;gap:7px}
.manual-form .field-label{margin-top:7px}
.manual-form input,.manual-form select{width:100%;min-height:42px;border:1px solid #2c5e81;border-radius:7px;background:#081b2b;color:#f3f8ff;outline:none;padding:9px 12px;font:600 12px Inter,system-ui,sans-serif}
.manual-form input:focus,.manual-form select:focus{border-color:#26a4ff;box-shadow:0 0 0 2px #098dec50}
.manual-form input[readonly]{background:#132a3c;color:#9ebed3}
.manual-form select{cursor:pointer}
.manual-form select option{background:#0c2133;color:#f5f9ff}
#scheduled-date-wrap{display:flex;flex-direction:column;gap:8px;padding:8px 0 2px}
#scheduled-date-wrap[hidden]{display:none}
.manual-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.manual-buttons .btn{flex:1;min-width:140px}
.source-label{display:block;color:#7f9eb6;font-size:9px;font-weight:700;letter-spacing:.08em;margin-top:3px}
.row-actions{white-space:nowrap}.row-actions .btn{min-height:27px;padding:5px 8px;font-size:9px;margin-right:5px}
.data-table{min-width:610px}
.data-table thead th:nth-child(1){width:31%}.data-table thead th:nth-child(2){width:28%}
.data-table thead th:nth-child(3){width:18%}
.data-table .date-cell{font-variant-numeric:tabular-nums}
#manual{scroll-margin-top:25px}
@media(max-width:720px){#manual{scroll-margin-top:155px}}
@media(max-width:430px){.row-actions .btn{font-size:9px}}
/* Keep the lookup panel compact; the import/manual column can be longer. */
.lookup-panel{align-self:start}
@media(max-width:720px){
  /* Four primary destinations fit comfortably on phones; register stays in-page. */
  .sidebar nav a[href="#records"]{display:none}
  .data-table{width:100%;min-width:0}
  .data-table thead{display:none}
  .data-table tbody{display:block;padding:5px 7px}
  .data-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 9px;border:1px solid #214561;border-radius:7px;overflow:hidden;margin:5px 0;padding:10px;background:#071c2c}
  .data-table tbody tr:nth-child(even){background:#0a2131}
  .data-table tbody td{display:block;min-width:0;padding:4px 6px;border:0;overflow-wrap:anywhere}
  .data-table tbody td:nth-child(2){text-align:right}
  .data-table tbody td:nth-child(3){color:#a2c0d1;font-size:10px;align-self:center}
  .data-table tbody td:nth-child(3):before{content:"READY DATE  ";font-size:8px;letter-spacing:.07em;color:#688ba6}
  .data-table tbody td:nth-child(4){display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:4px}
  .data-table tbody .empty-state{grid-column:1/-1;text-align:center;padding:18px 8px;min-height:50px}
  .row-actions .btn{margin:0;min-height:30px}
}
