/* The investor-app model for the customer app (owner 2026-11-15): opening page, first page (header + film + Login),
   glass sections. Values follow B13-Investors-App/public/app.css. Everything here is prefixed iv- so the rest of the
   customer app keeps its own styles. */
:root{--iv-navy:#050a24;--iv-red:#e0141e;--iv-display:"Space Grotesk",Manrope,system-ui,sans-serif;--iv-mono:"JetBrains Mono",ui-monospace,Consolas,monospace}

/* ---------- brand block (logo + three lines), used on the opening page, the header and the footer */
.iv-nm{display:flex;flex-direction:column;line-height:1.1;text-align:start}
.iv-nm b{font-size:15px;font-weight:800;color:#fff;white-space:nowrap}
.iv-nm em{font-style:normal;font-size:7.5px;letter-spacing:.12em;color:#b9c8f0;white-space:nowrap;margin-top:2px}
.iv-nm small{font-size:8px;font-weight:700;letter-spacing:.16em;color:#ff2a35;margin-top:5px;white-space:nowrap}
.iv-lg{position:relative;width:40px;height:38px;flex:none}
.iv-lg img{width:40px;height:38px;display:block;filter:drop-shadow(0 0 .6px #fff) drop-shadow(0 0 .6px #fff)}
.iv-lg i{position:absolute;right:-5px;bottom:1px;width:6px;height:6px;border-radius:50%;background:var(--iv-red)}
.iv-who{display:flex;align-items:center;gap:12px;min-width:0}

/* ---------- opening page */
.welcome.iv-splash{background:radial-gradient(70% 45% at 50% 45%,rgba(60,90,200,.35),transparent 70%),linear-gradient(180deg,rgba(5,10,36,.55),rgba(5,10,36,.8)),url(/media/b13-technology-story.jpg) center/cover var(--iv-navy);color:#fff;gap:14px;padding:30px 20px}
.welcome.iv-splash::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(109,168,220,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(109,168,220,.07) 1px,transparent 1px);background-size:32px 32px;mask-image:radial-gradient(60% 50% at 50% 50%,#000,transparent);-webkit-mask-image:radial-gradient(60% 50% at 50% 50%,#000,transparent);pointer-events:none}
.welcome.iv-splash>*{position:relative;z-index:1}
.iv-sbrand{display:flex;align-items:center;gap:26px;text-align:start}
.iv-mk{position:relative;width:84px;height:79px;flex:none;animation:iv-pop .8s cubic-bezier(.2,.7,.2,1) .2s both}
.iv-mk img{width:84px;height:79px;display:block;filter:drop-shadow(0 0 .7px #fff)}
.iv-mk i{position:absolute;right:-6px;bottom:7px;width:10px;height:10px;border-radius:50%;background:var(--iv-red);box-shadow:0 0 0 5px #e0141e33;animation:iv-drop 1.4s linear .9s both}
.iv-nm.big b{font-size:clamp(20px,6vw,28px);letter-spacing:-.01em}
.iv-nm.big em{font-size:clamp(7.5px,2.2vw,10px);letter-spacing:.14em;margin-top:5px}
.iv-nm.big small{font-size:clamp(8px,2.3vw,10.5px);letter-spacing:.2em;margin-top:7px}
.iv-nm.big b,.iv-nm.big em,.iv-nm.big small,.iv-mm{text-shadow:0 1px 8px rgba(5,10,36,.95),0 0 2px rgba(5,10,36,.9)}
.iv-rl{width:56px;height:2px;background:var(--iv-red);margin-top:22px}
.iv-mm{font-size:13px;font-weight:700;letter-spacing:.3em;color:#dce6ff;margin:4px 0 0}
.iv-bar{width:96px;height:3px;border-radius:2px;background:#1d2f55;overflow:hidden}
.iv-bar i{display:block;width:36px;height:3px;background:#6da8dc;animation:iv-bar 1.3s ease-in-out infinite}
.iv-skip{position:absolute!important;bottom:calc(18px + env(safe-area-inset-bottom));background:none;border:0;color:#9fb0d8;font:600 12px inherit;cursor:pointer;min-height:40px;padding:0 16px}
.iv-splash .a3{animation:iv-rise .6s ease-out 2.3s both}.iv-splash .a4{animation:iv-rise .6s ease-out 2.9s both}.iv-splash .a5{animation:iv-rise .6s ease-out 3.5s both}
.iv-splash .a6{animation:iv-rise .6s ease-out 4.1s both}.iv-splash .a7{animation:iv-rise .5s ease-out 4.6s both}
@keyframes iv-pop{0%{opacity:0;transform:scale(.9)}100%{opacity:1;transform:scale(1)}}
@keyframes iv-drop{0%{opacity:0;transform:translateY(-140px)}28%{opacity:1;transform:translateY(0)}42%{transform:translateY(-44px)}56%{transform:translateY(0)}68%{transform:translateY(-14px)}80%,100%{transform:translateY(0)}}
@keyframes iv-rise{0%{opacity:0;transform:translateY(14px)}100%{opacity:1;transform:translateY(0)}}
@keyframes iv-bar{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}
@media (prefers-reduced-motion:reduce){.iv-splash *{animation:none!important}}
.on-welcome .controls{display:none}

/* ---------- first page */
#intro.iv{background:var(--iv-navy);color:#fff;min-height:100vh;min-height:100dvh}
.iv-hd{position:sticky;top:0;z-index:20;height:68px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px;padding-top:env(safe-area-inset-top);background:var(--iv-navy);border-bottom:1px solid rgba(255,255,255,.12)}
.iv-toplog{border:0;border-radius:999px;background:#fff;color:var(--iv-navy);font-weight:700;font-size:13px;padding:9px 16px;cursor:pointer;white-space:nowrap;min-height:36px}
.iv-hero{position:relative;overflow:hidden;min-height:max(600px,calc(100dvh - 68px));display:flex;align-items:flex-end;background:var(--iv-navy)}
.iv-hv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.iv-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,10,36,.75) 0%,rgba(5,10,36,.15) 75%),linear-gradient(0deg,rgba(5,10,36,.97) 0%,rgba(5,10,36,.7) 35%,rgba(5,10,36,0) 65%)}
.iv-hcopy{position:relative;z-index:1;padding:24px 20px 28px;max-width:560px;color:#fff}
.iv-gk{font:700 10px var(--iv-mono);letter-spacing:.16em;color:#a9bdf5;margin:0 0 14px}
.iv-hcopy .iv-gk{font-size:13px;letter-spacing:.22em}
.iv-hcopy h2{font:600 32px/1.02 var(--iv-display);letter-spacing:-.05em;margin:0 0 14px}
.iv-hcopy h2 em,.iv-glass h2 em{font-style:normal;display:block;background:linear-gradient(90deg,#9cc0ff,#b39cff);-webkit-background-clip:text;background-clip:text;color:transparent}
.iv-hcopy p:not(.iv-gk){font-size:14px;line-height:1.6;color:#d3dbef;margin:0 0 18px;max-width:44ch}
.iv-hbtn{display:flex;gap:10px;flex-wrap:wrap}
.iv-prim{min-height:46px;padding:0 20px;border:0;border-radius:999px;background:#fff;color:var(--iv-navy);font-weight:800;font-size:15px;cursor:pointer}
.iv-ghost{min-height:46px;padding:0 20px;border-radius:999px;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.08);color:#fff;font-weight:700;font-size:14px;cursor:pointer}
.iv-prim:focus-visible,.iv-ghost:focus-visible,.iv-toplog:focus-visible{outline:2px solid #6da8dc;outline-offset:2px}

/* sections: a film or picture with a small glass card, or a plain navy panel */
.iv-fs{position:relative;overflow:hidden;background:#0a1230}
.iv-fs.plain{padding:16px 12px;background:radial-gradient(120% 80% at 80% 0%,#1a2a5c 0%,var(--iv-navy) 60%)}
.iv-fs.vid{display:grid;grid-template-columns:100%;background:var(--iv-navy)}
.iv-fs.vid>*{grid-area:1/1}
.iv-fs.vid .iv-bgv{width:100%;height:auto;min-height:300px;object-fit:cover;display:block;align-self:start}
.iv-fs.vid::after{content:"";grid-area:1/1;background:linear-gradient(0deg,rgba(5,10,36,.85) 0%,rgba(5,10,36,.1) 60%);pointer-events:none}
.iv-glass{position:relative;z-index:1;background:rgba(32,48,86,.72);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:20px 18px;color:#fff}
.iv-fs.vid .iv-glass{align-self:end;justify-self:start;margin:0 10px 10px;max-width:86%;padding:12px 14px;border-radius:14px;background:rgba(20,32,70,.5)}
.iv-glass h2{font:600 clamp(24px,7.5vw,32px)/1.02 var(--iv-display);letter-spacing:-.05em;margin:0 0 12px;color:#fff}
.iv-glass.sm h2{font-size:clamp(18px,5.4vw,26px);margin-bottom:6px}
.iv-glass.sm .iv-gk{font-size:8.5px;margin-bottom:5px}
.iv-glass p:not(.iv-gk){font-size:13px;line-height:1.55;color:#d3dbef;margin:0 0 6px}
.iv-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.iv-cols.c4{grid-template-columns:repeat(2,1fr)}
.iv-cols div{border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:9px 10px;font-size:11.5px;line-height:1.4;color:#c3cde0;background:rgba(255,255,255,.04)}
.iv-cols small{display:block;font:700 9.5px var(--iv-mono);color:#a9bdf5;letter-spacing:.1em}
.iv-cols b{display:block;color:#fff;font-size:13px;margin:2px 0}
.iv-tick{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:13.5px;color:#d3dbef}
.iv-tick li{padding-inline-start:26px;position:relative;line-height:1.45}
.iv-tick li::before{content:"✓";position:absolute;inset-inline-start:0;top:0;width:18px;height:18px;border-radius:50%;background:#4cc48833;color:#4cc488;font-size:11px;font-weight:800;display:grid;place-items:center}
.iv-tick b{color:#fff}
.iv-ccols{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.14)}
.iv-ccols small{display:block;font:700 9px var(--iv-mono);letter-spacing:.12em;color:#a9bdf5}
.iv-ccols b{font-size:12.5px}
.iv-mission{background:radial-gradient(120% 80% at 20% 0%,#1a2a5c 0%,var(--iv-navy) 60%)}
.iv-mission h2{font-family:var(--iv-display)}
.iv-foot{padding:22px 16px calc(26px + env(safe-area-inset-bottom));background:#03061a;border-top:1px solid rgba(255,255,255,.12);color:#9fb0d8;font-size:11.5px}
.iv-foot p{margin:14px 0 0}

/* language choice on the first page: under the header, glass look; no light / dark button there (the page is always navy) */
.on-intro .controls{position:absolute;top:calc(78px + env(safe-area-inset-top))}
.on-intro .controls .theme{display:none}
.on-intro .controls .lang{background:rgba(5,10,36,.55);border-color:rgba(255,255,255,.22);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.on-intro .controls .lang button{color:#c9d6f5;min-width:36px;min-height:34px;font-size:12px}
.on-intro .controls .lang button[aria-pressed="true"]{background:#fff;color:var(--iv-navy)}

/* sign-in page behind the Login button: same navy family */
#signin .hero{background:var(--iv-navy)}
#signin .card-form .primary{background:var(--iv-navy)}
:root[data-theme="dark"] #signin .card-form .primary{background:#fff;color:var(--iv-navy)}
#signin .card-form .link{color:#2c4bb8}
:root[data-theme="dark"] #signin .card-form .link{color:#a9bdf5}
.to-intro{margin-top:6px}

/* computer size */
@media (min-width:900px){
  .iv-hd{padding:0 40px}
  .iv-hero{min-height:calc(100vh - 68px)}
  .iv-hero::after{background:linear-gradient(90deg,rgba(5,10,36,.92) 0%,rgba(5,10,36,.6) 45%,rgba(5,10,36,.05) 80%),linear-gradient(0deg,rgba(5,10,36,.9) 0%,rgba(5,10,36,0) 45%)}
  .iv-hcopy{padding:40px 44px 56px}.iv-hcopy h2{font-size:46px}.iv-hcopy p:not(.iv-gk){font-size:15px}
  .iv-fs.plain{padding:48px 40px}.iv-fs.plain .iv-glass{max-width:760px;padding:28px 30px}
  .iv-fs.vid .iv-bgv{max-height:80vh}
  .iv-fs.vid .iv-glass{margin:0 0 28px 32px;max-width:520px;padding:20px 22px;border-radius:20px}
  .iv-glass.sm h2{font-size:30px}.iv-glass.sm .iv-gk{font-size:10px}.iv-glass h2{font-size:44px}
  .iv-cols.c4{grid-template-columns:repeat(4,1fr)}
  .iv-nm b{font-size:17px}.iv-nm em{font-size:8.5px}.iv-nm small{font-size:9px}
  .iv-foot{padding:28px 40px}
}

/* ---------- owner 2026-11-15 (2): full-width screen, scroll bar only while scrolling; handshake picture */
html{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0}
.iv-sth{position:fixed;right:3px;top:0;width:4px;height:40px;border-radius:2px;background:rgba(150,160,180,.75);opacity:0;transition:opacity .35s;z-index:60;pointer-events:none}
.iv-sth.on{opacity:1}
.welcome.iv-splash .iv-hand{position:absolute;z-index:0;left:50%;bottom:9%;width:min(86%,420px);transform:translateX(-50%);mix-blend-mode:screen;opacity:.9;
  mask-image:radial-gradient(60% 55% at 50% 50%,#000 55%,transparent 100%);-webkit-mask-image:radial-gradient(60% 55% at 50% 50%,#000 55%,transparent 100%);animation:iv-rise 1.2s ease-out 1.2s both}
.welcome.iv-splash{justify-content:flex-start;padding-top:22vh}
.iv-fs.vid .iv-conn{background:#030a16;object-fit:contain;max-height:460px;padding-bottom:70px}
.welcome.iv-splash .iv-hand{left:0;right:0;margin:0 auto;transform:none;animation:iv-fade 1.4s ease-out 1.2s both}
@keyframes iv-fade{0%{opacity:0}100%{opacity:.9}}
/* owner 2026-11-15 (3): the handshake on the opening page is lighter (softer) */
.welcome.iv-splash .iv-hand{width:min(74%,360px);bottom:11%}
@keyframes iv-fade{0%{opacity:0}100%{opacity:.42}}

/* ---------- Stock list + orders (owner 2026-11-15): a real table on every screen size, filters above it */
.tabs button[data-tab="stock"]::before{content:"\25A3"}
.seg2{display:flex;gap:4px;background:var(--line);border-radius:12px;padding:3px;margin:4px 0 6px}
.seg2 button{flex:1;min-height:40px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:800;font-size:14px}
.seg2 button[aria-pressed="true"]{background:var(--card);color:var(--text);box-shadow:0 1px 2px rgba(0,0,0,.14)}
.stk-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:6px}
.stk-filters label{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--muted);text-transform:uppercase}
.stk-filters select{width:100%;min-height:40px;margin-top:3px;border:1px solid var(--input);border-radius:10px;background:var(--card);color:var(--text);font:600 13px inherit;padding:0 6px}
@media (max-width:520px){.stk-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.stk-box{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--card)}
table.stk{width:100%;border-collapse:collapse;font-size:12.5px;font-variant-numeric:tabular-nums}
table.stk th{position:sticky;top:0;background:var(--iv-navy);color:#fff;font-size:9.5px;letter-spacing:.05em;font-weight:800;text-transform:uppercase;padding:8px 6px;text-align:start;white-space:nowrap}
table.stk td{padding:7px 6px;border-bottom:1px solid var(--line);white-space:nowrap;vertical-align:middle}
table.stk tr:last-child td{border-bottom:0}
table.stk .num{text-align:end} table.stk .c{text-align:center}
table.stk td.model{white-space:normal;min-width:104px}
table.stk td.model b{display:block;font-size:13px;line-height:1.2}
table.stk td.model small{display:block;color:var(--muted);font-size:10.5px;line-height:1.3}
table.stk td.price{font-weight:800}
table.stk td.last{color:#8b96a3;font-weight:500}                       /* read only: what this customer paid before */
:root[data-theme="dark"] table.stk td.last{color:#7d8b96}
table.stk td.agreed{font-weight:800;color:#127a45}
table.stk td.in{padding:4px 3px}
table.stk td.in input{width:68px;min-height:36px;border:1.5px solid var(--input);border-radius:9px;background:var(--card);color:var(--text);font:700 13px inherit;text-align:end;padding:0 6px}
table.stk td.in.q input{width:44px}
table.stk td.in input:focus{outline:0;border-color:#2c4bb8}
table.stk tr.picked td{background:color-mix(in srgb,#2c4bb8 9%,transparent)}
table.stk td.empty{text-align:center;color:var(--muted);padding:18px}
.stk-bar{position:sticky;bottom:calc(70px + env(safe-area-inset-bottom));z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:8px;padding:10px 12px;border-radius:14px;background:var(--iv-navy);color:#fff;font-size:13px;font-weight:700;box-shadow:0 6px 18px rgba(5,10,36,.25)}
.stk-bar .primary{background:#fff;color:var(--iv-navy);min-height:42px;font-size:14px;border-radius:999px}
.stk-bar .primary:disabled{opacity:.45}
.stk-bar .outline{border-color:rgba(255,255,255,.5);color:#fff;border-radius:999px}
@media (min-width:900px){.stk-bar{bottom:12px}table.stk{font-size:14px}table.stk th{font-size:11px;padding:10px 12px}table.stk td{padding:9px 12px}table.stk td.in input{width:96px}table.stk td.in.q input{width:64px}}
#stk-terms{margin-top:10px}
.ord{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px}
.ord-h{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.ord-h b{display:block;font-size:16px}.ord-h small{color:var(--muted);font-size:12px}
.ord-h .amt{text-align:end;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.pill.os-WAITING{background:#fdebd3;color:#9a4a00}.pill.os-PROPOSED{background:#e3edff;color:#1d4ed8}.pill.os-APPROVED,.pill.os-COMPLETED{background:#dff3e6;color:#166534}.pill.os-DECLINED,.pill.os-CANCELLED{background:#fde2e4;color:#b42318}
.ord-acts{flex-wrap:wrap}.ord-acts .primary{background:var(--iv-navy);min-height:42px;font-size:14px}
.ord-hist summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--muted)}
.ord-hist p{margin:6px 0 0;font-size:12.5px;padding-inline-start:10px;border-inline-start:3px solid var(--line)}
.ord-hist p.h-b13{border-color:#2c4bb8}.ord-hist small{color:var(--muted)}
.panel.terms{max-width:560px;max-height:calc(100dvh - 32px);overflow-y:auto}
.terms-list{margin:0;padding-inline-start:20px;display:grid;gap:8px;font-size:13px}
.terms-list b{display:block}.terms-list span{color:var(--muted);line-height:1.45}
/* phone: every column of the stock table fits the screen (no sideways scrolling) */
table.stk td.model small.gr{color:#2c4bb8;font-weight:700}
:root[data-theme="dark"] table.stk td.model small.gr{color:#a9bdf5}
@media (max-width:520px){
  .stk-box{margin-inline:-12px;border-radius:10px}
  table.stk{font-size:12px;table-layout:auto}
  table.stk th{font-size:8.5px;letter-spacing:0;padding:7px 3px;white-space:normal;line-height:1.15;vertical-align:bottom}
  table.stk td{padding:6px 3px}
  table.stk th:first-child,table.stk td:first-child{padding-inline-start:8px}
  table.stk th:last-child,table.stk td:last-child{padding-inline-end:6px}
  table.stk td.model{min-width:78px}table.stk td.model b{font-size:12.5px}table.stk td.model small{font-size:10px}
  table.stk td.in input{width:58px;min-height:38px;font-size:16px;padding:0 4px}   /* 16px: the iPhone does not zoom into the box */
  table.stk td.in.q input{width:38px}
  #stk-list{padding-bottom:8px}
}

/* ---------- first page with the website's content (owner 2026-11-15) */
.iv-chips{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.iv-chips li{font:700 9px var(--iv-mono);letter-spacing:.1em;color:#dce6ff;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:5px 9px;background:rgba(5,10,36,.45)}
.iv-glass details{margin-top:6px}
.iv-glass summary{cursor:pointer;font-size:12px;font-weight:700;color:#a9bdf5;padding:4px 0;list-style:none}
.iv-glass summary::-webkit-details-marker{display:none}
.iv-glass summary::after{content:" +"}.iv-glass details[open]>summary::after{content:" −"}
.iv-two{display:grid;gap:8px;margin:12px 0}
.iv-two div,.iv-rows div{border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:11px 12px;background:rgba(255,255,255,.04)}
.iv-two small{display:block;font:700 9.5px var(--iv-mono);letter-spacing:.1em;color:#a9bdf5}
.iv-two b,.iv-rows b{display:block;color:#fff;font-size:14px;margin:2px 0 4px}
.iv-two span,.iv-rows span{display:block;font-size:12.5px;line-height:1.5;color:#c3cde0}
.iv-rows{display:grid;gap:6px;margin-top:8px}
.iv-warn{border-inline-start:3px solid var(--iv-red);padding-inline-start:10px}.iv-warn b{color:#fff}
.iv-faq{border-top:1px solid rgba(255,255,255,.14);margin:0!important}
.iv-faq summary{font-size:14px!important;color:#fff!important;padding:12px 0!important;display:flex;justify-content:space-between;gap:10px}
.iv-faq p{margin:0 0 12px!important}
.iv-pic{width:100%;border-radius:14px;display:block;margin:0 0 12px}
.iv-fs.vid:has(details[open]) .iv-glass{max-width:none}
@media (min-width:900px){.iv-two{grid-template-columns:1fr 1fr}.iv-rows{grid-template-columns:repeat(3,1fr)}.iv-chips li{font-size:10.5px;padding:6px 12px}.iv-pic{max-width:720px}}

/* ---------- signed-in pages (owner 2026-11-15): top = our company on navy; under it the customer's company name + page name */
.top.iv-top{background:var(--iv-navy);border-bottom:1px solid rgba(255,255,255,.12);justify-content:space-between}
.top.iv-top .iv-nm b{color:#fff;overflow:visible}.top.iv-top .iv-nm small{color:#ff2a35}
.on-home .controls .lang,.on-home .controls .theme{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#dce6ff}
.on-home .controls .lang button{color:#c9d6f5}.on-home .controls .lang button[aria-pressed="true"]{background:#fff;color:var(--iv-navy)}
.iv-vhead{margin:0 0 10px}
.iv-vhead .iv-page{font:700 10.5px var(--iv-mono);letter-spacing:.2em;text-transform:uppercase;color:#2c4bb8;margin-bottom:3px}
:root[data-theme="dark"] .iv-vhead .iv-page{color:#a9bdf5}
.iv-vhead b{font-size:22px;line-height:1.15;font-family:var(--iv-display);letter-spacing:-.02em}
.iv-vhead small span{display:inline}

/* ---------- side menu from the left (owner 2026-11-15): all pages, features and settings; the bottom bar keeps the basic pages */
.iv-menu{flex:none;width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);display:grid;place-content:center;gap:4px;cursor:pointer;padding:0}
.iv-menu i{display:block;width:18px;height:2px;border-radius:1px;background:#fff}
.top.iv-top{gap:10px;padding:calc(12px + env(safe-area-inset-top)) 14px 12px!important}
.top.iv-top .iv-who{flex:1}
.on-home .controls{display:none}                       /* language and light / dark are in the side menu now */
.tabs button[data-tab="menu"]::before{content:"\2630"}
.iv-drawer{position:fixed;inset:0;z-index:70;background:rgba(3,6,26,0);transition:background .22s}
.iv-drawer.on{background:rgba(3,6,26,.55)}
.iv-dpanel{position:absolute;inset-block:0;inset-inline-start:0;width:min(84vw,330px);background:var(--iv-navy);color:#fff;display:flex;flex-direction:column;transform:translateX(-102%);transition:transform .22s ease-out;box-shadow:8px 0 30px rgba(0,0,0,.35);overflow-y:auto;padding-bottom:env(safe-area-inset-bottom)}
:root[dir="rtl"] .iv-dpanel{transform:translateX(102%)}
.iv-drawer.on .iv-dpanel{transform:none}
.iv-dhead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:calc(14px + env(safe-area-inset-top)) 14px 14px;border-bottom:1px solid rgba(255,255,255,.12)}
.iv-dx{width:38px;height:38px;flex:none;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:transparent;color:#fff;font-size:15px;cursor:pointer}
.iv-dwho{padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04)}
.iv-dwho b{display:block;font:600 17px var(--iv-display)}.iv-dwho small{color:#9fb0d8;font-size:12px}
.iv-dnav{padding:6px 10px 16px;display:flex;flex-direction:column;gap:2px}
.iv-dg{font:700 9.5px var(--iv-mono);letter-spacing:.18em;color:#8fa3d6;margin:14px 8px 4px}
.iv-di{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 10px;border:0;border-radius:12px;background:transparent;color:#e8edfa;font-weight:600;font-size:15px;text-align:start;cursor:pointer;border-inline-start:3px solid transparent}
.iv-di i{font-style:normal;width:22px;text-align:center;font-size:17px;color:#a9bdf5}
.iv-di:hover{background:rgba(255,255,255,.07)}
.iv-di.on{background:rgba(255,255,255,.1);border-inline-start-color:var(--iv-red);color:#fff}
.iv-di.out{color:#ff8a90;margin-top:6px}.iv-di.out i{color:#ff8a90}
.iv-dlang{display:flex;align-items:center;gap:6px;min-height:46px;padding:0 13px;color:#e8edfa;font-weight:600;font-size:15px}
.iv-dlang span{flex:1}
.iv-dlang button{min-width:44px;min-height:36px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#c9d6f5;font-weight:800;font-size:12px;cursor:pointer}
.iv-dlang button.on{background:#fff;color:var(--iv-navy);border-color:#fff}
@media (min-width:900px){.tabs button[data-tab="menu"]{display:none}}
/* phone: Sign out is in the side menu, so the top bar has room for the company name */
@media (max-width:520px){.top.iv-top #signout{display:none}}

/* ---------- Home (owner 2026-11-15): account card in plain words + colour, work boxes, latest activity; no install button here */
#v-home .install-open{display:none}                                   /* install is in the side menu */
.iv-acc{display:flex;flex-direction:column;gap:3px;width:100%;text-align:start;border:0;border-radius:18px;padding:16px 18px;color:#fff;cursor:pointer;background:linear-gradient(135deg,#050a24,#0b2a4a);border-inline-start:6px solid #f2a93b}
.iv-acc-h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.iv-acc-h small{font:700 10px var(--iv-mono);letter-spacing:.14em;color:#b9c8f0}
.iv-acc-h i{font-style:normal;font-size:10px;font-weight:800;letter-spacing:.08em;border-radius:999px;padding:3px 10px;background:#f2a93b;color:#231300}
.iv-acc-w{font-size:14px;font-weight:700;color:#ffd596;margin-top:8px}
.iv-acc b{font:700 32px var(--iv-display);letter-spacing:-.02em;line-height:1.1}
.iv-acc-n,.iv-acc-l{font-size:12.5px;color:#c3cde0}
.iv-acc-l{margin-top:6px;padding-top:8px;border-top:1px solid rgba(255,255,255,.14)}
.iv-acc-go{font-size:12.5px;font-weight:700;color:#a9bdf5;margin-top:6px}
.iv-acc.credit,.iv-acc.ok{background:linear-gradient(135deg,#052418,#0b4a3a);border-inline-start-color:#4cc488}
.iv-acc.credit .iv-acc-h i,.iv-acc.ok .iv-acc-h i{background:#4cc488;color:#03200f}
.iv-acc.credit .iv-acc-w,.iv-acc.ok .iv-acc-w{color:#a8efc8}
.iv-acc.credit .iv-acc-go,.iv-acc.ok .iv-acc-go{color:#a8efc8}
.iv-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.iv-tiles:empty{display:none}
.iv-tile{display:flex;flex-direction:column;gap:2px;text-align:start;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 14px;color:var(--text);cursor:pointer;min-height:76px;border-top:3px solid #2c4bb8}
.iv-tile b{font:700 26px var(--iv-display);line-height:1.05}
.iv-tile span{font-size:12px;font-weight:600;color:var(--muted);line-height:1.3}
.iv-tile.hot{border-top-color:#f2a93b;background:color-mix(in srgb,#f2a93b 10%,var(--card))}.iv-tile.hot b{color:#a35a00}
:root[data-theme="dark"] .iv-tile.hot b{color:#ffd596}
.iv-tile.good{border-top-color:#22a565}
@media (min-width:700px){.iv-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
.iv-tiles{margin-top:10px}

/* ---------- work boxes, nicer (owner 2026-11-15): each box has its own colour, an icon, the count and a small arrow */
.iv-tiles{gap:10px}
.iv-tile{--c:#2c4bb8;position:relative;gap:0;border:1px solid color-mix(in srgb,var(--c) 22%,var(--line));border-top:1px solid color-mix(in srgb,var(--c) 22%,var(--line));border-radius:16px;padding:12px 14px 13px;min-height:104px;overflow:hidden;
  background:linear-gradient(160deg,color-mix(in srgb,var(--c) 11%,var(--card)) 0%,var(--card) 62%);box-shadow:0 1px 2px rgba(5,10,36,.06),0 6px 16px rgba(5,10,36,.05);transition:transform .12s}
.iv-tile::after{content:"";position:absolute;inset-inline-start:0;top:14px;bottom:14px;width:4px;border-radius:0 4px 4px 0;background:var(--c)}
.iv-tile:active{transform:scale(.98)}
.iv-tile-t{display:flex;justify-content:space-between;align-items:center;width:100%}
.iv-tile-t i{font-style:normal;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font-size:15px;font-weight:800;color:var(--c);background:color-mix(in srgb,var(--c) 16%,transparent)}
.iv-tile-t em{font-style:normal;font-size:20px;line-height:1;color:color-mix(in srgb,var(--c) 60%,var(--muted))}
.iv-tile b{font:800 30px/1.1 Manrope,Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin-top:8px;color:var(--text)}
.iv-tile .iv-tile-l{font-size:12px;font-weight:700;color:var(--muted);line-height:1.3;margin-top:1px}
.iv-tile.zero b{color:var(--muted);opacity:.7}
.iv-tile.c-amber{--c:#d98a12}.iv-tile.c-blue{--c:#2c4bb8}.iv-tile.c-green{--c:#17935a}.iv-tile.c-violet{--c:#7a4fd0}.iv-tile.c-navy{--c:#1a2a5c}.iv-tile.c-teal{--c:#0b8a8a}
:root[data-theme="dark"] .iv-tile.c-navy{--c:#8fa3d6}:root[data-theme="dark"] .iv-tile.c-blue{--c:#7f9cf5}
.iv-tile.hot{background:linear-gradient(160deg,color-mix(in srgb,#f2a93b 26%,var(--card)) 0%,color-mix(in srgb,#f2a93b 8%,var(--card)) 70%);border-color:color-mix(in srgb,#f2a93b 60%,var(--line))}
.iv-tile.hot b{color:#a35a00}:root[data-theme="dark"] .iv-tile.hot b{color:#ffd596}
.iv-tile.hot .iv-tile-t i{background:#f2a93b;color:#231300}
/* compact work boxes: icon + count on one line, label under them */
.iv-tile{display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:10px;row-gap:6px;min-height:0;padding:12px 12px 12px 16px}
.iv-tile-t{display:contents}
.iv-tile-t i{grid-column:1;grid-row:1;width:34px;height:34px;font-size:16px}
.iv-tile b{grid-column:2;grid-row:1;margin-top:0;font-size:28px}
.iv-tile-t em{grid-column:3;grid-row:1}
.iv-tile .iv-tile-l{grid-column:1 / -1;grid-row:2;margin-top:0;min-height:31px}

/* ---------- My orders: My offers / Awaiting / Accepted / Cart (owner 2026-11-15) */
.tabs button[data-tab="orders"]::before{content:"\21C5"}
.seg2.four button{font-size:12.5px;padding:0 2px;display:flex;align-items:center;justify-content:center;gap:5px}
.seg2 button i{font-style:normal;font-size:10.5px;font-weight:800;min-width:18px;line-height:18px;border-radius:9px;background:var(--iv-red);color:#fff;padding:0 5px}
.seg2 button i:empty{display:none}
.seg2.sub{margin-bottom:10px}
#ord-help{margin:2px 0 8px}
table.stk td.st{white-space:normal;min-width:92px}
table.stk td.st small{display:block;font-size:10.5px;color:var(--muted);margin-top:2px;line-height:1.25}
table.stk td.st small.ok{color:#127a45;font-weight:800}
table.stk td.st .link{display:block;font-size:11.5px;font-weight:800;padding:3px 0 0;min-height:0;color:#2c4bb8;background:none;border:0;text-decoration:underline;cursor:pointer;text-align:start}
:root[data-theme="dark"] table.stk td.st .link{color:#a9bdf5}
table.stk td.b13{color:#1d4ed8}:root[data-theme="dark"] table.stk td.b13{color:#a9bdf5}
table.stk tr.acts td{white-space:normal;padding:2px 8px 12px;background:color-mix(in srgb,#2c4bb8 5%,transparent)}
table.stk tr.acts button{margin:4px 6px 0 0;min-height:38px;font-size:13px;border-radius:999px}
table.stk tr.acts .primary{background:var(--iv-navy);padding:0 14px}
.outline.no{border-color:#d1464f;color:#b42318}:root[data-theme="dark"] .outline.no{color:#ff8a90}
table.stk th.ck,table.stk td.ck{width:34px;text-align:center;padding-inline:6px 0}
table.stk td.ck input,table.stk th.ck input{width:20px;height:20px;accent-color:#2c4bb8}
#v-orders .stk-bar{margin-top:10px}
.cart{margin-bottom:18px}
.cart .paper{margin:0}
.cart .inv-head .pill{display:inline-block;margin-top:4px}
.cart .paper .table input.cq{width:46px;min-height:32px;border:1.5px solid #c9d3d6;border-radius:8px;text-align:end;font:700 13px inherit;padding:0 5px;background:#fff;color:#13262c}
.cart .paper .table th.x,.cart .paper .table td.x{width:30px;padding-inline:2px}
.xbtn{width:28px;height:28px;border-radius:50%;border:1px solid #e3b4b8;background:#fff;color:#b42318;font-size:12px;cursor:pointer;padding:0}
.paper-note{font-size:11.5px;color:#4f646b;margin:10px 2px 0;line-height:1.5}
.cart-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center}
.cart-acts .primary{background:var(--iv-navy);min-height:44px;font-size:14px;border-radius:999px;padding:0 16px}
.cart-acts .outline{border-radius:999px}
.cart-add{min-height:40px;border-radius:999px;border:1.5px dashed #2c4bb8;background:var(--card);color:var(--text);font:700 13px inherit;padding:0 10px;max-width:100%}
@media print{
  body.iv-printing *{visibility:hidden}
  body.iv-printing .print-me,body.iv-printing .print-me *{visibility:visible}
  body.iv-printing .print-me{position:absolute;inset-inline-start:0;top:0;width:100%;box-shadow:none;border:0}
  body.iv-printing .print-me .x,body.iv-printing .no-print{display:none!important}
  body.iv-printing .print-me input.cq{border:0;background:transparent}
}
/* ---------- Settings page */
.set{display:grid;gap:10px}
.set-card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.set-card h2{margin:0;font:700 10.5px var(--iv-mono);letter-spacing:.16em;text-transform:uppercase;color:#2c4bb8}
:root[data-theme="dark"] .set-card h2{color:#a9bdf5}
.set-line{display:flex;justify-content:space-between;gap:12px;width:100%;margin:0;font-size:14px;border-bottom:1px solid var(--line);padding-bottom:6px}
.set-line:last-child{border-bottom:0;padding-bottom:0}.set-line span{color:var(--muted)}.set-line b{text-align:end}
.set-row{display:flex;gap:6px;flex-wrap:wrap}.set-row .chip{min-height:38px;cursor:pointer}
.set-card .chip.on{background:var(--iv-navy);border-color:var(--iv-navy)}
/* My orders polish */
.seg2.four button{font-size:12px;white-space:nowrap}
table.stk th.ck{vertical-align:middle}
.cart .paper .table td.wrap{min-width:0}
.cart .paper .inv-head .doc-title{white-space:nowrap;font-size:10px;letter-spacing:.06em}
.pill.os-ACCEPTED{background:#dff3e6;color:#166534}

/* ---------- owner review 2026-11-15 of My orders */
.iv-vhead.compact{margin:-6px 0 4px}                                    /* other pages: only the page name, moved up */
.iv-vhead.compact b,.iv-vhead.compact #home-kind{display:none}
.iv-vhead.compact .iv-page{font:700 22px var(--iv-display);letter-spacing:-.02em;text-transform:none;color:var(--text);margin-bottom:0}
:root[data-theme="dark"] .iv-vhead.compact .iv-page{color:var(--text)}
table.stk tr.done td{color:#9aa3ad;background:color-mix(in srgb,var(--line) 35%,transparent)}
table.stk tr.done td.model b,table.stk tr.done td.price,table.stk tr.done small,table.stk tr.done td.model small.gr{color:#9aa3ad;font-weight:600}
.pill.os-DONE{background:#e6e9ed;color:#77818c}:root[data-theme="dark"] .pill.os-DONE{background:#26323a;color:#8d9aa3}
.ord-rule{margin:8px 2px 0}
.ord-sub{display:flex;align-items:center;gap:8px;margin:14px 2px 6px;font-size:14px;font-weight:800}
.ord-sub:first-child{margin-top:2px}
.ord-sub i{font-style:normal;font-size:11px;font-weight:800;min-width:20px;line-height:20px;text-align:center;border-radius:10px;background:var(--iv-navy);color:#fff;padding:0 6px}
table.stk th{vertical-align:middle!important}
table.stk th.ck,table.stk td.ck{width:30px;padding:0 0 0 8px;line-height:0}
table.stk th.ck input,table.stk td.ck input{width:18px;height:18px;margin:0;vertical-align:middle}
table.stk th.x,table.stk td.x{width:34px;padding-inline:2px 6px}
table.stk.acc td.in.q input{width:46px}
.cart .ord-hist{margin-top:10px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.cart-acts .cart-add{width:100%}
table.stk th.ck input,table.stk td.ck input{min-height:0;padding:0;border-radius:4px;display:block}   /* the app's 50px input height made the header too tall */
.iv-vhead.compact small:has(#vsub:empty){display:none}                  /* no empty lines under the page name */
.iv-vhead.compact~.synced:empty,.iv-vhead.compact~#view-error:empty{display:none}

/* ---------- quantity with stock, order steps, documents (owner review 2) */
.qbox{display:inline-flex;flex-direction:column;align-items:flex-end;gap:2px}
.qbox small{font-size:9.5px;line-height:1.1;color:#8b949e;white-space:nowrap;font-weight:600}
.qbox.bad input{border-color:#c62d3a;color:#c62d3a}.qbox.bad small{color:#c62d3a;white-space:normal;max-width:74px;text-align:end}
.ord-flow{display:flex;gap:4px;margin:0 0 8px}
.ord-flow span{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;font-weight:700;color:#9aa3ad;border-top:3px solid var(--line);padding-top:5px}
.ord-flow i{font-style:normal;font-size:10px;width:18px;line-height:18px;border-radius:9px;background:var(--line);color:var(--muted);text-align:center}
.ord-flow .past{border-color:#8fa1d8;color:var(--muted)}.ord-flow .past i{background:#8fa1d8;color:#fff}
.ord-flow .on{border-color:var(--iv-navy);color:var(--text)}.ord-flow .on i{background:var(--iv-navy);color:#fff}
:root[data-theme="dark"] .ord-flow .on{border-color:#a9bdf5}:root[data-theme="dark"] .ord-flow .on i{background:#a9bdf5;color:#050a24}
.seg2.sub button{font-size:12.5px;white-space:nowrap}.ca-help{margin:0 2px 8px}
.trk{list-style:none;display:flex;margin:0 0 8px;padding:10px 6px;background:var(--card);border:1px solid var(--line);border-radius:12px}
.trk li{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;position:relative;color:#9aa3ad}
.trk li i{width:12px;height:12px;border-radius:50%;background:var(--line);z-index:1}
.trk li::before{content:"";position:absolute;top:5px;inset-inline:-50% 50%;height:2px;background:var(--line)}.trk li:first-child::before{display:none}
.trk li b{font-size:10px;line-height:1.15;font-weight:700}.trk li small{font-size:9.5px;min-height:11px}
.trk li.on{color:var(--text)}.trk li.on i,.trk li.on::before{background:#1f9d6b}
.docs{margin-top:10px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.docs h3{margin:0 0 4px;font-size:13px;font-weight:800}
.doc{display:flex;align-items:center;gap:10px;padding:7px 0;border-top:1px solid var(--line)}
.doc>i{font-style:normal;flex:none;width:22px;line-height:22px;border-radius:50%;text-align:center;font-size:12px;font-weight:800;background:#dff3ea;color:#177a53}
.doc>span{flex:1;min-width:0;display:flex;flex-direction:column}.doc b{font-size:13px}.doc small{font-size:11.5px;color:var(--muted);overflow-wrap:anywhere}
.doc .outline.small{min-height:32px;border-radius:999px;padding:0 12px}
.doc.wait>i{background:var(--line);color:var(--muted)}.doc.wait b{color:#9aa3ad;font-weight:600}
.doc-sheet{margin:0 0 6px 32px;padding:8px 10px;border:1px dashed var(--line);border-radius:10px;background:color-mix(in srgb,var(--line) 25%,transparent)}
.doc-sheet p{display:flex;justify-content:space-between;gap:12px;margin:2px 0;font-size:12.5px}.doc-sheet small{color:var(--muted)}.doc-sheet b{text-align:end}

.iv-notes{display:grid;gap:8px;margin:0 0 12px}.iv-notes:empty{display:none}
.iv-note{display:flex;align-items:center;gap:10px;width:100%;text-align:start;background:var(--card);border:1px solid var(--line);border-inline-start:4px solid #1f9d6b;border-radius:12px;padding:10px 12px;color:var(--text);font:inherit;cursor:pointer}
.iv-note.delivered{border-inline-start-color:#2c4bb8}
.iv-note>i{font-style:normal;flex:none;width:28px;line-height:28px;border-radius:50%;text-align:center;font-weight:800;background:#dff3ea;color:#177a53}.iv-note.delivered>i{background:#e3e9fb;color:#2c4bb8}
.iv-note>span{flex:1;min-width:0;display:flex;flex-direction:column}.iv-note b{font-size:13.5px}.iv-note small{font-size:11.5px;color:var(--muted)}.iv-note em{font-style:normal;color:var(--muted);font-size:18px}
#ord-body .cart+.cart{margin-top:22px;padding-top:18px;border-top:2px dashed var(--line)}   /* clear gap between two invoices */
.doc-sheet p small{flex:none}

/* ---------- short Delivered cards, IMEI sheet, Account page (owner review 3) */
.cart.short{display:flex;gap:10px;align-items:flex-start;background:var(--card);border:1px solid var(--line);border-inline-start:4px solid #1f9d6b;border-radius:12px;padding:10px 12px}
#ord-body .cart.short+.cart,#ord-body .cart+.cart.short{margin-top:8px;padding-top:10px;border-top:1px solid var(--line)}
.cart.short .main,.av .main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.cart.short .main b,.av .main b{font-size:13.5px}
.cart.short small,.av small{font-size:11.5px;color:var(--muted);overflow-wrap:anywhere}
.cart.short .side,.av .side{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}.cart.short .side b,.av .side b{font-size:13.5px;white-space:nowrap}
.link.more{min-height:30px;padding:0;font-size:12.5px;white-space:nowrap}
.cart-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.cart-top b{font-size:15px}
.imei-sheet{margin-top:10px}.imei-sheet h3{margin:0 0 6px;font-size:13px;font-weight:800}.imei-sheet .mono{font-family:var(--iv-mono);font-size:11.5px;letter-spacing:.02em}
.imei-sheet .table-box{max-height:260px;overflow:auto}
.stmt .ac-eq,.stmt .stmt-note{grid-column:1/-1}
.ac-eq{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:10px 14px}
.ac-eq p{display:flex;align-items:baseline;gap:8px;margin:0;padding:5px 0;font-size:13.5px;border-bottom:1px dashed var(--line)}
.ac-eq p i{font-style:normal;width:14px;font-weight:800;text-align:center;color:var(--muted)}.ac-eq p span{flex:1}.ac-eq p b{font-variant-numeric:tabular-nums;white-space:nowrap}
.ac-eq p.h{font-weight:700}.ac-eq p.dr b,.ac-eq p.dr i{color:#b25a00}.ac-eq p.cr b,.ac-eq p.cr i{color:#177a53}
.ac-eq p.tot{border-bottom:0;border-top:2px solid var(--text);font-size:15px;font-weight:800;margin-top:2px}
.ac-eq p.say{border:0;display:block;margin-top:6px;padding:8px 10px;border-radius:10px;font-weight:800;font-size:14px;background:color-mix(in srgb,var(--line) 40%,transparent)}
.ac-eq p.say.pay{background:#fff1dc;color:#8a4a00}.ac-eq p.say.credit{background:#dff3ea;color:#135f41}
:root[data-theme="dark"] .ac-eq p.say.pay{background:#3a2a10;color:#ffcf8a}:root[data-theme="dark"] .ac-eq p.say.credit{background:#12382a;color:#9be3c2}
#st-rows td.dr{color:#b25a00}#st-rows td.cr{color:#177a53}
.ac-btns{flex-wrap:wrap;margin:8px 0}.ac-btns button{flex:1;min-height:46px;font-size:14px;border-radius:999px}.ac-btns .primary{background:var(--iv-navy)}
.av{display:flex;gap:10px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:9px 12px;margin-top:8px}
.av .dir{font-style:normal;flex:none;width:26px;line-height:26px;border-radius:50%;text-align:center;font-weight:800;background:#fff1dc;color:#8a4a00}.av.in .dir{background:#dff3ea;color:#177a53}
.av .pill{font-size:9.5px}

/* ---------- compact filters, Invoice / IMEI switch, statement total (owner review 4) */
.ii-seg{margin:0 0 8px}.ii-seg button,#ac-seg button{min-height:36px;font-size:13px}
.flt{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:8px;margin:0 0 10px}
.flt .search{gap:6px;margin:0}.flt .search input{min-height:38px;font-size:14px;border-radius:10px;padding:0 10px}
.flt .search .small-btn{min-height:38px;font-size:13px;padding:0 14px;border-radius:10px}
.flt .datef{gap:6px;margin:6px 0 0}.flt .datef label{font-size:9.5px;letter-spacing:.06em}
.flt .datef input{min-height:34px;font-size:13px;border-radius:10px;padding:0 8px;margin-top:2px}
.flt .chips{gap:5px;margin:8px 0 0}.flt .chip{padding:4px 10px;font-size:12px;min-height:0}
#imei-form{margin-bottom:8px}#imei-form input{min-height:40px;font-size:14px;border-radius:10px}#imei-form .small-btn{min-height:40px;font-size:13px;border-radius:10px}
#st-rows tr.tot td{border-top:2px solid var(--text);font-weight:800}
#st-rows tr.close td{font-weight:800;font-size:13px;background:color-mix(in srgb,var(--line) 35%,transparent)}
.flt .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.flt .chips::-webkit-scrollbar{display:none}.flt .chip{flex:none;padding:4px 9px}
.flt .chips{gap:4px}.flt .chip{padding:3px 8px;font-size:11.5px}

/* ---------- chat with MR.B13 (owner 2026-11-16): same model as the investor app - round button bottom-right + chat window */
.chatb{position:fixed;right:14px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:45;width:56px;height:56px;border-radius:50%;border:0;background:linear-gradient(135deg,#1d4fa8,#0b7a6e);box-shadow:0 6px 20px rgba(5,10,36,.45);display:grid;place-items:center;cursor:pointer}
.chatb i{position:absolute;top:-3px;right:-3px;min-width:20px;height:20px;border-radius:10px;background:#e0141e;color:#fff;font:800 11.5px/20px system-ui,sans-serif;font-style:normal;text-align:center;padding:0 5px;box-shadow:0 0 0 2px #fff}
.chatb i[hidden]{display:none}
body:not(.on-home) .chatb{display:none}
.chatw{position:fixed;right:12px;bottom:calc(148px + env(safe-area-inset-bottom));z-index:46;width:min(360px,calc(100% - 24px));height:min(480px,calc(100% - 230px));background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 40px rgba(5,10,36,.4);display:flex;flex-direction:column;overflow:hidden}
.chatw[hidden]{display:none}
.chh{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#050a24;color:#fff}.chh b{display:block;font-size:13.5px}.chh small{font-size:10.5px;color:#9fb0d8}.chh>div{flex:1}
.chh .iv-lg,.chh .iv-lg img{width:28px;height:26px}.chh .iv-lg i{right:-4px;bottom:0;width:5px;height:5px}
.chx{border:0;background:none;color:#fff;font-size:16px;cursor:pointer;padding:4px 6px}
.chmenu{border-bottom:1px solid var(--line);padding:6px 12px;background:var(--bg)}.chmenu[hidden]{display:none}.chmenu button{border:0;background:none;color:#c0262d;font-weight:700;font-size:13px;cursor:pointer;padding:6px 0}
.chlist{flex:1;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:8px;background:var(--bg)}
.chend{align-self:center;font-size:11px;color:var(--muted);margin:4px 0}
.chmore{align-self:center;border:1px solid var(--line);background:var(--card);color:var(--primary);font-weight:700;font-size:12px;border-radius:999px;padding:6px 14px;cursor:pointer;margin:6px auto;display:block}
.cm{max-width:82%;padding:8px 11px;border-radius:14px;font-size:14px;line-height:1.4}.cm p{margin:0;white-space:pre-wrap}.cm small{display:block;font-size:10.5px;opacity:.7;margin-top:3px}
.cm.them{align-self:flex-start;background:var(--card);color:var(--text);border:1px solid var(--line);border-bottom-left-radius:4px}
.cm.me{align-self:flex-end;background:var(--primary);color:#fff;border-bottom-right-radius:4px}
#chat-error{margin:0;padding:0 10px}#chat-error:empty{display:none}
.chf{display:flex;gap:6px;padding:10px;border-top:1px solid var(--line);background:var(--card)}
.chf input{flex:1;height:46px;min-height:46px;border:1.5px solid var(--input);border-radius:23px;padding:0 14px;background:var(--bg);color:var(--text);font-size:15px}
.chf button{width:46px;height:46px;flex:none;border-radius:50%;border:0;background:var(--primary);color:#fff;cursor:pointer;font-size:15px}
@media (min-width:900px){.chatb{bottom:24px;right:24px}.chatw{bottom:92px;right:24px;height:min(520px,calc(100% - 140px))}}
