/* JFL Logistics — Carrier Portal. Design tokens lifted from the mockup. */
:root {
  --bg:#08090A; --app:#0C0D0F; --card:#16191B; --raise:#1E2325;
  --line:#23282A; --line2:#3A4143;
  --txt:#F2F4F3; --mut:#9BA3A0; --dim:#7C8481; --faint:#5E6663;
  --grn:#2FE08A; --grn-hi:#7CF0BB;
  --amb:#E0A44A; --amb-bg:#2A1F12; --amb-line:#4A3618; --amb-txt:#C9A87C;
  --mono:ui-monospace,Menlo,Consolas,monospace;
}
* { box-sizing:border-box; }
html, body { margin:0; padding:0; }
body { background:var(--bg); color:var(--txt);
  font-family:Archivo,'Helvetica Neue',Helvetica,Arial,sans-serif;
  font-variant-numeric:tabular-nums lining-nums; -webkit-font-smoothing:antialiased; }
a { color:var(--grn); text-decoration:none; }
a:hover { color:var(--grn-hi); text-decoration:underline; }
img { max-width:100%; }

.app { max-width:480px; margin:0 auto; min-height:100vh; background:var(--app);
  border-left:1px solid var(--line); border-right:1px solid var(--line);
  display:flex; flex-direction:column; }
.statusbar { height:38px; display:flex; align-items:center; justify-content:space-between;
  padding:0 20px; font-size:12px; font-weight:600; color:var(--mut); flex:none; }
.statusbar .net { letter-spacing:0.1em; }
.topbar { flex:none; padding:6px 16px 12px; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:12px; }
.brand { display:flex; flex-direction:column; gap:2px; }
.brand .name { font-size:15px; font-weight:800; letter-spacing:-0.2px; color:var(--txt); display:flex; align-items:center; gap:8px; }
.brand .name img { width:18px; height:18px; border-radius:4px; display:block; }
.brand .sub { font-size:10px; font-weight:500; color:var(--dim); letter-spacing:0.06em; }
.title-17 { font-size:17px; font-weight:800; letter-spacing:-0.3px; color:var(--txt); }
.pill-call { display:flex; align-items:center; gap:8px; height:44px; padding:0 14px;
  border-radius:999px; background:var(--raise); border:1px solid var(--line); text-decoration:none; }
.pill-call:hover { text-decoration:none; border-color:var(--line2); }
.pill-call .dot { width:7px; height:7px; border-radius:2px; background:var(--grn); flex:none; }
.pill-call .col { display:flex; flex-direction:column; line-height:1.15; }
.pill-call .num { font-size:13px; font-weight:700; color:var(--txt); }
.pill-call .lbl { font-size:9px; font-weight:500; color:var(--dim); letter-spacing:0.06em; }
.pill-call--sm { height:36px; padding:0 12px; font-size:11px; font-weight:700; color:var(--txt); }
.main { flex:1; display:flex; flex-direction:column; }
.page { padding:14px 16px 24px; display:flex; flex-direction:column; gap:12px; }

.h-kicker { font:600 11px var(--mono); color:var(--dim); letter-spacing:0.14em; }
.sec-label { font-size:10px; font-weight:700; color:var(--dim); letter-spacing:0.14em; }
.hero { padding:16px 16px 12px; display:flex; flex-direction:column; gap:8px; border-bottom:1px solid var(--line); }
.hero .promises { font-size:26px; line-height:1.18; font-weight:800; letter-spacing:-0.7px; color:var(--txt); }
.hero .sub { font-size:12px; font-weight:500; color:var(--mut); }
.h1 { font-size:26px; line-height:1.2; font-weight:800; letter-spacing:-0.6px; color:var(--txt); margin:0; }
.h2 { font-size:22px; line-height:1.2; font-weight:800; letter-spacing:-0.5px; color:var(--txt); margin:0; }
.lead { font-size:13px; line-height:1.5; font-weight:500; color:var(--mut); margin:0; }
.small { font-size:11px; line-height:1.5; font-weight:500; color:var(--mut); }
.dim { color:var(--dim); }
.amber { color:var(--amb); }

.chips { display:flex; gap:8px; padding:12px 16px; border-bottom:1px solid var(--line);
  overflow-x:auto; scrollbar-width:none; }
.chips::-webkit-scrollbar { display:none; }
.chip { flex:none; height:34px; display:flex; align-items:center; gap:6px; padding:0 13px;
  border-radius:999px; background:var(--raise); border:1px solid var(--line);
  color:var(--mut); font-size:11px; font-weight:600; letter-spacing:0.04em;
  cursor:pointer; font-family:inherit; }
.chip:hover { border-color:var(--line2); }
.chip--on { background:var(--grn); border-color:var(--grn); color:var(--app); font-weight:700; }

.card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px; }
.card--raise { background:var(--raise); }
.card--off { opacity:0.55; }
.card--accent { border-color:var(--grn); }
.lane { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }
.lane .pts { display:flex; flex-direction:column; gap:3px; min-width:0; }
.lane .city { font-size:16px; font-weight:700; letter-spacing:-0.2px; color:var(--txt); }
.lane .mi { display:flex; align-items:center; gap:7px; }
.lane .mi .stick { width:1px; height:12px; background:var(--line2); }
.lane .mi .n { font-size:11px; font-weight:600; color:var(--mut); }
.lane .money { display:flex; flex-direction:column; align-items:flex-end; gap:2px; flex:none; }
.rate { font-size:23px; font-weight:800; letter-spacing:-0.16px; color:var(--grn); }
.rate--dim { color:var(--txt); }
.rpm { font-size:10px; font-weight:600; letter-spacing:0.08em; color:var(--mut); }
.tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.tag { height:24px; display:flex; align-items:center; padding:0 9px; border-radius:999px;
  background:var(--raise); border:1px solid var(--line); color:var(--mut);
  font-size:10px; font-weight:600; letter-spacing:0.06em; }
.tag--amb { background:var(--amb-bg); border-color:var(--amb-line); color:var(--amb); font-weight:700; }
.payline { display:flex; align-items:center; gap:7px; margin-top:11px; padding-top:11px; border-top:1px solid var(--line); }
.payline .sq { width:6px; height:6px; border-radius:2px; background:var(--grn); flex:none; }
.payline .t { font-size:11px; font-weight:600; color:var(--mut); }
.payline--split { justify-content:space-between; }
.statetag { font-size:11px; font-weight:700; color:var(--dim); letter-spacing:0.06em; }

.btn { display:flex; align-items:center; justify-content:center; gap:9px; height:44px;
  border-radius:10px; background:var(--raise); border:1px solid var(--line);
  color:var(--txt); font-size:13px; font-weight:700; font-family:inherit;
  cursor:pointer; text-decoration:none; }
.btn:hover { text-decoration:none; border-color:var(--line2); color:var(--txt); }
.btn--primary { background:var(--grn); border-color:var(--grn); color:var(--app); font-weight:800; }
.btn--primary:hover { background:var(--grn-hi); border-color:var(--grn-hi); color:var(--app); }
.btn--big { height:52px; border-radius:12px; font-size:15px; }
.btn--xl { height:56px; border-radius:12px; font-size:20px; letter-spacing:-0.3px; font-weight:800; }
.btn--amb { background:var(--amb); border-color:var(--amb); color:#1A1204; }
.btn--sm { height:36px; font-size:12px; border-radius:8px; padding:0 14px; }
.btn--dashed { background:transparent; border:1px dashed var(--line2); color:var(--mut); font-weight:600; font-size:12px; }
.btn:disabled { opacity:0.5; cursor:default; }
.btn-row { display:flex; gap:8px; }
.btn-row .btn { flex:1; }
.mt8 { margin-top:8px; } .mt11 { margin-top:11px; } .mt12 { margin-top:12px; }

.notice { border-radius:12px; padding:12px 13px; display:flex; flex-direction:column; gap:9px;
  background:var(--amb-bg); border:1px solid var(--amb-line); }
.notice .t { font-size:12px; font-weight:700; color:var(--amb); letter-spacing:0.02em; }
.notice .b { font-size:11px; line-height:1.45; font-weight:500; color:var(--amb-txt); }
.notice .row { display:flex; gap:8px; flex-wrap:wrap; }
.notice--in-card { margin-top:9px; padding:9px 11px; border-radius:10px; }
.notice--plain { background:var(--raise); border-color:var(--line); }
.notice--plain .t { color:var(--txt); }
.notice--plain .b { color:var(--mut); }

.kv { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:4px 14px; }
.kv .row { display:flex; justify-content:space-between; align-items:center; min-height:38px;
  border-bottom:1px solid var(--line); gap:12px; padding:4px 0; }
.kv .row:last-child { border-bottom:none; }
.kv .k { font-size:12px; font-weight:500; color:var(--mut); }
.kv .v { font-size:12px; font-weight:600; color:var(--txt); text-align:right; }
.kv .v strong { font-size:16px; font-weight:800; color:var(--grn); }
.kv--raise { background:var(--raise); }
.kv .row--tall { min-height:46px; align-items:center; }
.kv .kk { display:flex; flex-direction:column; }
.kv .kl { font-size:10px; font-weight:500; color:var(--dim); letter-spacing:0.08em; }
.kv .kv2 { font-size:13px; font-weight:700; color:var(--txt); }
.kv .act { font-size:11px; font-weight:700; color:var(--mut); }
.kv .act--lock { color:var(--faint); }

.stop { background:var(--card); border:1px solid var(--line); border-radius:14px;
  padding:13px 14px; display:flex; flex-direction:column; gap:5px; }
.stop .head { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.stop .kind { font-size:11px; font-weight:700; letter-spacing:0.1em; color:var(--mut); }
.stop .kind--pu { color:var(--grn); }
.stop .when { font-size:12px; font-weight:700; color:var(--txt); }
.stop .addr { font-size:13px; font-weight:600; color:var(--txt); }
.stop .note { font-size:11px; line-height:1.5; font-weight:500; color:var(--mut); }

.tabbar { position:sticky; bottom:0; flex:none; height:70px; border-top:1px solid var(--line);
  background:var(--app); display:grid; grid-template-columns:repeat(4,1fr); padding-bottom:8px; z-index:20; }
.tabbar a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; text-decoration:none; }
.tabbar a:hover { text-decoration:none; }
.tabbar .ic { width:16px; height:16px; border-radius:3px; border:1.5px solid var(--faint); }
.tabbar .lb { font-size:10px; font-weight:600; color:var(--dim); letter-spacing:0.04em; }
.tabbar a.on .ic { background:var(--grn); border-color:var(--grn); }
.tabbar a.on .lb { color:var(--grn); font-weight:700; }

.foot { padding:12px 16px 22px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:6px; }
.foot .legal-line { font-size:11px; line-height:1.6; font-weight:600; color:var(--dim); }
.foot .links { display:flex; flex-wrap:wrap; gap:14px; font-size:11px; font-weight:600; }

.form { display:flex; flex-direction:column; gap:12px; }
.field { display:flex; flex-direction:column; gap:8px; }
.field > .lb { font-size:10px; font-weight:700; color:var(--dim); letter-spacing:0.14em; }
.field .hint { font-size:11px; font-weight:500; color:var(--dim); }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=number], .field input[type=date], .field input[type=time],
.field select, .field textarea {
  min-height:50px; border-radius:12px; background:var(--card); border:1px solid var(--line);
  color:var(--txt); font-family:inherit; font-size:14px; font-weight:600; padding:0 14px; width:100%; }
.field input[type=file] { color:var(--mut); font-size:12px; }
.field textarea { padding:12px 14px; min-height:96px; resize:vertical; line-height:1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:var(--grn); }
.field input::placeholder, .field textarea::placeholder { color:var(--faint); font-weight:500; }
.field select option { background:var(--card); color:var(--txt); }
.input--big { min-height:58px; font-size:22px; font-weight:700; letter-spacing:0.02em; }
.hp { position:absolute; left:-9999px; top:-9999px; height:1px; width:1px; overflow:hidden; }

.check { display:flex; gap:11px; align-items:flex-start; background:var(--card);
  border:1px solid var(--line); border-radius:14px; padding:13px 14px; cursor:pointer; position:relative; }
.check input { position:absolute; opacity:0; pointer-events:none; }
.check .box { width:22px; height:22px; border-radius:6px; border:2px solid var(--faint); flex:none; margin-top:1px;
  display:flex; align-items:center; justify-content:center; }
.check .box svg { display:none; }
.check input:checked + .box { background:var(--grn); border-color:var(--grn); }
.check input:checked + .box svg { display:block; }
.check .ct { font-size:12px; line-height:1.5; font-weight:500; color:var(--mut); }
.form-err { display:none; border-radius:10px; background:var(--amb-bg); border:1px solid var(--amb-line);
  color:var(--amb); font-size:12px; font-weight:600; padding:10px 12px; }
.form-err.show { display:block; }
.form-ok { border-radius:10px; background:#0F2A1D; border:1px solid #1E5C3E; color:var(--grn);
  font-size:12px; font-weight:600; padding:10px 12px; }
.typo-chip { display:none; align-items:center; gap:7px; min-height:30px; padding:4px 10px; border-radius:999px;
  background:var(--amb-bg); border:1px solid var(--amb-line); align-self:flex-start;
  font-size:11px; font-weight:600; color:var(--amb); cursor:pointer; }
.typo-chip.show { display:flex; }

.tgl { width:52px; height:30px; border-radius:999px; background:var(--line); display:flex;
  align-items:center; padding:3px; flex:none; cursor:pointer; border:none; }
.tgl .knob { width:24px; height:24px; border-radius:999px; background:var(--faint); }
.tgl[aria-checked=true] { background:var(--grn); }
.tgl[aria-checked=true] .knob { background:var(--app); margin-left:auto; }

.wiz-head { padding:6px 16px 14px; display:flex; flex-direction:column; gap:9px; border-bottom:1px solid var(--line); }
.wiz-head .row { display:flex; justify-content:space-between; align-items:baseline; }
.wiz-head .step-l { font-size:12px; font-weight:700; color:var(--txt); }
.wiz-head .step-r { font-size:11px; font-weight:600; color:var(--mut); }
.wiz-bar { height:4px; border-radius:999px; background:var(--line); overflow:hidden; }
.wiz-bar i { display:block; height:4px; background:var(--grn); transition:width 250ms; }
.wiz-step { display:none; flex-direction:column; gap:14px; }
.wiz-step.on { display:flex; }
.stamp { height:26px; display:inline-flex; align-items:center; padding:0 10px; border-radius:999px;
  background:var(--grn); color:var(--app); font-size:10px; font-weight:700; letter-spacing:0.06em; }

.sheet-wrap { position:fixed; inset:0; z-index:50; display:none; }
.sheet-wrap.open { display:block; }
.sheet-bg { position:absolute; inset:0; background:var(--app); opacity:0.72; }
.sheet { position:absolute; left:0; right:0; bottom:0; max-width:480px; margin:0 auto;
  background:var(--card); border-top:1px solid var(--line); border-radius:20px 20px 0 0;
  padding:16px 16px 22px; display:flex; flex-direction:column; gap:14px;
  max-height:88vh; overflow-y:auto; }
.sheet .grip { width:40px; height:4px; border-radius:999px; background:var(--line2); align-self:center; }

/* ---------- desktop dispatcher (index, >=1024px) ---------- */
.dispatch { display:none; }
.topnav { display:none; }
@media (min-width:1024px) {
  .app--board { max-width:none; border:none; }
  .app--board .mobile-only { display:none !important; }
  .app--board .tabbar { display:none; }
  .app--board .statusbar { display:none; }
  .app--board .topbar { height:56px; padding:0 20px; }
  .dispatch { display:flex; flex:1; overflow:hidden; min-height:0; }
  .d-side { flex:none; width:208px; border-right:1px solid var(--line); padding:16px 12px;
    display:flex; flex-direction:column; gap:6px; }
  .d-side .lane-saved { height:38px; display:flex; align-items:center; justify-content:space-between;
    padding:0 10px; border-radius:9px; font-size:12px; font-weight:600; color:var(--mut); }
  .d-side .lane-saved.on { background:var(--raise); color:var(--txt); font-weight:700; }
  .d-side .lane-saved .n { font-size:11px; color:var(--mut); }
  .d-side .lane-saved.on .n { color:var(--grn); font-weight:700; }
  .d-keys { margin-top:auto; display:flex; flex-direction:column; gap:7px; padding:12px 10px 0; border-top:1px solid var(--line); }
  .d-keys .kr { display:flex; justify-content:space-between; font-size:11px; font-weight:500; color:var(--mut); }
  .d-keys .kr b { font-family:var(--mono); font-weight:600; color:var(--txt); }
  .d-main { flex:1; display:flex; flex-direction:column; overflow:hidden; border-right:1px solid var(--line); min-width:0; }
  .d-chips { flex:none; display:flex; align-items:center; gap:8px; padding:12px 14px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
  .d-chips .chip { height:30px; padding:0 11px; }
  .d-chips .sorted { margin-left:auto; font-size:11px; font-weight:500; color:var(--dim); }
  .d-table { flex:1; overflow-y:auto; }
  .d-row, .d-head { display:grid;
    grid-template-columns:22px minmax(92px,1fr) 40px minmax(92px,1fr) 84px 54px 86px 70px 46px 70px 54px;
    column-gap:6px; align-items:center; padding:0 14px; }
  .d-head { height:34px; border-bottom:1px solid var(--line); font-size:10px; font-weight:700;
    color:var(--dim); letter-spacing:0.1em; position:sticky; top:0; background:var(--app); }
  .d-row { height:40px; border-bottom:1px solid var(--line); cursor:pointer; font-size:12px; }
  .d-row:hover { background:var(--card); }
  .d-row.sel { background:var(--raise); box-shadow:inset 2px 0 0 var(--grn); }
  .d-row.off { opacity:0.55; }
  .d-row .cb { width:15px; height:15px; border-radius:4px; border:1.5px solid var(--faint); }
  .d-row.sel .cb { background:var(--grn); border-color:var(--grn); }
  .d-row .r { text-align:right; }
  .d-row .c { font-weight:600; color:var(--txt); }
  .d-row .m { font-weight:500; color:var(--mut); }
  .d-row .eq { font-size:11px; font-weight:500; color:var(--mut); }
  .d-row .eq--amb { color:var(--amb); }
  .d-row .rt { font-size:13px; font-weight:700; color:var(--grn); }
  .d-row .rp { font-weight:700; color:var(--txt); }
  .d-row .terms { font-size:11px; font-weight:500; color:var(--mut); }
  .d-book { height:26px; border-radius:7px; background:var(--raise); border:1px solid var(--line);
    color:var(--txt); font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center;
    cursor:pointer; font-family:inherit; text-decoration:none; }
  .d-book:hover { background:var(--grn); border-color:var(--grn); color:var(--app); }
  .d-status { font-size:10px; font-weight:600; color:var(--dim); letter-spacing:0.06em; }
  .d-bulk { flex:none; min-height:64px; border-top:1px solid var(--line); background:var(--card);
    display:flex; align-items:center; justify-content:space-between; padding:8px 16px; gap:12px; }
  .d-bulk .b1 { font-size:13px; font-weight:700; color:var(--txt); }
  .d-bulk .b2 { font-size:11px; font-weight:500; color:var(--mut); }
  .d-detail { flex:none; width:400px; display:flex; flex-direction:column; overflow-y:auto; }
  .d-detail .dt-head { padding:16px; border-bottom:1px solid var(--line); display:flex; flex-direction:column; gap:10px; }
  .d-detail .dt-body { padding:16px; display:flex; flex-direction:column; gap:14px; }
  .d-foot { flex:none; min-height:44px; border-top:1px solid var(--line); display:flex;
    align-items:center; justify-content:space-between; padding:6px 20px; gap:16px; flex-wrap:wrap; }
  .d-foot .legal-line { font-size:11px; font-weight:500; color:var(--dim); }
  .d-foot .links { display:flex; gap:16px; font-size:11px; font-weight:600; align-items:center; flex-wrap:wrap; }
  .app--page { max-width:760px; }
  .app--page .topnav { display:flex; gap:16px; align-items:center; }
  .topnav a { font-size:12px; font-weight:600; color:var(--mut); }
  .topnav a.on { color:var(--grn); }
  .app--page .tabbar { display:none; }
  .app--page .statusbar { display:none; }
}

.legal h1 { font-size:24px; line-height:1.2; font-weight:800; letter-spacing:-0.5px; margin:0 0 4px; }
.legal h2 { font-size:15px; font-weight:700; color:var(--txt); margin:22px 0 6px; }
.legal p, .legal li { font-size:13px; line-height:1.65; color:var(--mut); font-weight:500; }
.legal p { margin:0 0 10px; }
.legal ul, .legal ol { margin:0 0 10px; padding-left:20px; }
.legal strong { color:var(--txt); }
.legal .upd { font-size:11px; color:var(--dim); font-weight:600; letter-spacing:0.06em; }
.demo-note { font-size:10px; font-weight:600; color:var(--faint); letter-spacing:0.08em; }

@media (min-width:1024px) {
  .app--board .d-foot { display:flex; }
  .xtra-d { display:flex !important; align-items:center; }
}
@media (max-width:1023px) {
  .xtra-d { display:none; }
}

/* ---------- support tabs ---------- */
.tabs { display:flex; gap:8px; padding:12px 16px; border-bottom:1px solid var(--line);
  overflow-x:auto; scrollbar-width:none; }
.tabs::-webkit-scrollbar { display:none; }
.tabs .tab { flex:none; min-height:44px; display:flex; align-items:center; padding:0 14px;
  border-radius:999px; background:var(--raise); border:1px solid var(--line);
  color:var(--mut); font-size:12px; font-weight:700; letter-spacing:0.03em;
  cursor:pointer; font-family:inherit; }
.tabs .tab[aria-selected=true] { background:var(--grn); border-color:var(--grn); color:var(--app); }
.tab-pane { display:none; }
.tab-pane.on { display:flex; flex-direction:column; gap:10px; }

/* ---------- validation ---------- */
.field-err { display:none; font-size:11px; font-weight:600; color:var(--amb); line-height:1.4; }
.field.bad .field-err { display:block; }
.field.bad input, .field.bad select, .field.bad textarea { border-color:var(--amb); }
.submit-hint { font-size:11px; font-weight:600; color:var(--amb); text-align:center; min-height:14px; }
.check.bad { border-color:var(--amb); }
.check .field-err { margin-top:6px; }

/* ---------- file upload with progress ---------- */
.file-drop { border:1px dashed var(--line2); border-radius:12px; padding:12px 14px;
  display:flex; flex-direction:column; gap:8px; cursor:pointer; background:var(--card); }
.file-drop .fd-label { font-size:12px; font-weight:700; color:var(--mut); }
.file-drop .fd-name { font-size:12px; font-weight:600; color:var(--txt); display:none; }
.file-drop.has .fd-name { display:block; }
.file-prog { display:none; height:6px; border-radius:999px; background:var(--line); overflow:hidden; }
.file-prog i { display:block; height:6px; width:0; background:var(--grn); transition:width 150ms; }
.file-drop.uploading .file-prog { display:block; }
.file-drop input[type=file] { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }

/* ---------- agreement scrollbox ---------- */
.agree-box { max-height:280px; overflow-y:auto; background:var(--card); border:1px solid var(--line);
  border-radius:12px; padding:14px; font-size:12px; line-height:1.6; color:var(--mut); }
.agree-box h3 { font-size:13px; color:var(--txt); margin:12px 0 4px; }
.agree-box p { margin:0 0 8px; }

/* ---------- read-only FMCSA fields ---------- */
.ro-row { display:flex; justify-content:space-between; align-items:center; min-height:46px;
  border-bottom:1px solid var(--line); gap:12px; padding:4px 0; }
.ro-row:last-child { border-bottom:none; }
.ro-row .ro-l { display:flex; flex-direction:column; min-width:0; }
.ro-row .ro-k { font-size:10px; font-weight:500; color:var(--dim); letter-spacing:0.08em; }
.ro-row .ro-v { font-size:13px; font-weight:700; color:var(--txt); word-break:break-word; }
.ro-row input.ro-v { background:transparent; border:none; padding:0; min-height:0; width:100%; }
.ro-row input.ro-v[readonly] { color:var(--txt); }
.ro-row input.ro-v:not([readonly]) { border-bottom:1px solid var(--grn); outline:none; }
.ro-edit { font-size:11px; font-weight:700; color:var(--mut); background:none; border:none;
  cursor:pointer; font-family:inherit; padding:8px 0 8px 10px; flex:none; min-height:44px; }
.ro-edit:hover { color:var(--grn); }

/* ---------- success panel ---------- */
.succ-panel { display:none; flex-direction:column; gap:12px; }
.succ-panel.on { display:flex; }
.succ-list { display:flex; flex-direction:column; gap:11px; }
.succ-list .sr { display:flex; gap:10px; align-items:flex-start; }
.succ-list .sq2 { width:16px; height:16px; border-radius:5px; flex:none; margin-top:1px; }
.succ-list .ok { background:var(--grn); }
.succ-list .pend { border:2px solid var(--amb); }
.succ-list .wait { border:2px solid var(--faint); }

/* loading state on buttons */
.btn.loading { opacity:0.65; pointer-events:none; }

/* multi-select states */
.field select[multiple] { min-height:132px; padding:8px 14px; }
.ro-row .ro-l { flex:1; }

/* ==================== global chrome (header/footer/guest strip) ==================== */
.gh { display:none; }
.mgh { display:none; }
.gstrip { display:none; }
.gf { display:none; }
body.jfl-chrome .mgh, body.jfl-chrome .gf { display:block; }
body.jfl-chrome .gh { display:none; }
body.jfl-chrome .statusbar, body.jfl-chrome .topbar, body.jfl-chrome .foot, body.jfl-chrome .d-foot { display:none !important; }

/* mobile header: default (mobile-first) */
body.jfl-chrome .mgh { display:flex; position:sticky; top:0; z-index:40; height:44px;
  align-items:center; justify-content:space-between; padding:0 12px;
  background:#0F1113; border-bottom:1px solid #23282A; }
.mgh .mg-brand { display:flex; align-items:center; gap:7px; text-decoration:none; }
.mgh .mg-brand img { width:18px; height:18px; border-radius:4px; display:block; }
.mgh .mg-brand span { font-size:13px; font-weight:800; letter-spacing:-0.2px; color:var(--txt); }
.mgh .mg-right { display:flex; align-items:center; gap:10px; }
.mgh .mg-call { display:flex; align-items:center; justify-content:center; width:44px; height:44px; }
.mgh .mg-sign { display:flex; align-items:center; min-height:34px; padding:0 13px; border-radius:999px;
  background:var(--grn); color:var(--app); font-size:12px; font-weight:700; text-decoration:none; }
.mgh .mg-sign:hover { text-decoration:none; background:var(--grn-hi); }
.mgh .mg-ver { display:flex; align-items:center; gap:6px; min-height:34px; padding:0 12px; border-radius:999px;
  background:var(--raise); border:1px solid var(--line); color:var(--grn); font-size:10px; font-weight:700;
  letter-spacing:0.06em; text-decoration:none; }
.mgh .mg-ver:hover { text-decoration:none; }

/* guest strip */
body.jfl-chrome .gstrip.on { display:block; }
.gstrip { background:#12261C; border-bottom:1px solid #1E5C3E; }
.gstrip .in { max-width:1100px; margin:0 auto; padding:9px 16px; display:flex; align-items:center;
  gap:10px; font-size:12px; font-weight:600; color:#BFE9D4; flex-wrap:wrap; }
.gstrip .grow { flex:1; min-width:200px; }
.gstrip .gs-btn { display:inline-flex; align-items:center; min-height:32px; padding:0 14px; border-radius:8px;
  background:var(--grn); color:var(--app); font-size:12px; font-weight:700; text-decoration:none; }
.gstrip .gs-btn:hover { text-decoration:none; }
.gstrip .gs-x { background:none; border:none; color:#7FB894; font-size:16px; font-weight:700; cursor:pointer;
  padding:6px 8px; min-height:44px; font-family:inherit; }

/* desktop header */
@media (min-width:1024px) {
  body.jfl-chrome .mgh { display:none; }
  body.jfl-chrome .gh { display:flex; position:sticky; top:0; z-index:40; height:56px;
    background:#0F1113; border-bottom:1px solid #23282A; align-items:center; padding:0 20px; gap:20px; }
  .gh .gh-brand { display:flex; align-items:center; gap:10px; text-decoration:none; flex:none; }
  .gh .gh-brand img { width:22px; height:22px; border-radius:5px; display:block; }
  .gh .gh-brand .t { display:flex; flex-direction:column; line-height:1.2; }
  .gh .gh-brand .n { font-size:14px; font-weight:800; letter-spacing:-0.2px; color:var(--txt); }
  .gh .gh-brand .s { font-size:10px; font-weight:500; color:var(--dim); letter-spacing:0.06em; }
  .gh .gh-brand .s a { color:var(--dim); }
  .gh nav { display:flex; gap:18px; align-items:center; margin:0 auto; }
  .gh nav a { font-size:13px; font-weight:600; color:var(--mut); text-decoration:none; padding:19px 2px 17px;
    border-bottom:2px solid transparent; }
  .gh nav a:hover { color:var(--txt); text-decoration:none; }
  .gh nav a.on { color:var(--txt); border-bottom-color:var(--grn); }
  .gh .gh-right { display:flex; align-items:center; gap:14px; flex:none; }
  .gh .gh-ts { font-size:11px; font-weight:500; color:var(--dim); }
  .gh .gh-phone { display:flex; align-items:center; gap:8px; height:36px; padding:0 13px; border-radius:999px;
    background:var(--raise); border:1px solid var(--line); text-decoration:none; }
  .gh .gh-phone:hover { text-decoration:none; border-color:var(--line2); }
  .gh .gh-phone .dot { width:7px; height:7px; border-radius:2px; background:var(--grn); }
  .gh .gh-phone .n { font-size:13px; font-weight:700; color:var(--txt); }
  .gh .gh-phone .l { font-size:9px; font-weight:500; color:var(--dim); letter-spacing:0.06em; }
  .gh .gh-login { font-size:13px; font-weight:600; color:var(--mut); }
  .gh .gh-sign { display:flex; align-items:center; height:36px; padding:0 16px; border-radius:9px;
    background:var(--grn); color:var(--app); font-size:13px; font-weight:700; text-decoration:none; }
  .gh .gh-sign:hover { background:var(--grn-hi); text-decoration:none; }
  /* logged-in */
  .gh .gh-user { position:relative; }
  .gh .gh-userbtn { display:flex; align-items:center; gap:8px; height:36px; padding:0 12px; border-radius:9px;
    background:var(--raise); border:1px solid var(--line); color:var(--txt); font-size:13px; font-weight:700;
    cursor:pointer; font-family:inherit; }
  .gh .gh-userbtn .vc { color:var(--grn); font-size:10px; font-weight:700; letter-spacing:0.06em; }
  .gh .gh-menu { display:none; position:absolute; right:0; top:44px; min-width:170px; background:var(--card);
    border:1px solid var(--line); border-radius:12px; padding:6px; flex-direction:column; z-index:60; }
  .gh .gh-menu.on { display:flex; }
  .gh .gh-menu a, .gh .gh-menu button { display:flex; align-items:center; min-height:38px; padding:0 12px;
    border-radius:8px; font-size:13px; font-weight:600; color:var(--mut); text-decoration:none;
    background:none; border:none; cursor:pointer; font-family:inherit; text-align:left; }
  .gh .gh-menu a:hover, .gh .gh-menu button:hover { background:var(--raise); color:var(--txt); text-decoration:none; }
}

/* global footer */
.gf { background:#0A0B0D; border-top:1px solid var(--line); }
.gf .in { max-width:1100px; margin:0 auto; padding:28px 16px 18px; display:grid; gap:20px; }
.gf .col h5 { font-size:10px; font-weight:700; color:var(--dim); letter-spacing:0.14em; margin:0 0 10px; }
.gf .col p, .gf .col a { font-size:12px; font-weight:500; color:var(--mut); line-height:1.9; margin:0; }
.gf .col a { display:block; text-decoration:none; }
.gf .col a:hover { color:var(--grn); }
.gf .bottom { max-width:1100px; margin:0 auto; padding:12px 16px 16px; border-top:1px solid var(--line);
  font-size:11px; font-weight:600; color:var(--dim); }
@media (min-width:1024px) {
  .gf .in { grid-template-columns:1.3fr 1fr 1fr 1fr; gap:32px; padding:36px 20px 22px; }
}

/* page title row (replaces per-page topbar titles) */
.page-title { padding:14px 16px 0; font-size:17px; font-weight:800; letter-spacing:-0.3px; color:var(--txt); }

/* subbar for load detail */
.subbar { display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px 16px; border-bottom:1px solid var(--line); }
.subbar .back { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--txt);
  font-size:13px; font-weight:700; letter-spacing:0.04em; min-height:44px; }
.subbar .back:hover { text-decoration:none; }

/* gating bits on the board */
.locked-note { font-size:11px; font-weight:600; color:var(--dim); padding:8px 10px; border:1px dashed var(--line2);
  border-radius:9px; margin-top:6px; }
.promo-card { border:1px solid var(--grn); border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:9px; }
