/* Doctor Scooters skin. Loaded AFTER app.css: it re-points the app's colour and type variables and
   fixes the few places where app.css hard-codes the old red accent or white text on the accent.
   One accent only: Miami aqua. Text on the accent is dark (--on-accent), never white. */
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-condensed-600.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/barlow-condensed-700.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/barlow-condensed-800.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:italic;font-weight:800;font-display:swap;src:url(fonts/barlow-condensed-800i.woff2) format("woff2")}

:root{
  --bg:#060a0b;--bg2:#0a1012;--panel:#0f1719;--panel2:#152023;--border:#1f2d31;--border2:#2c3e43;
  --text:#eaf3f3;--muted:#8ea4a7;--dim:#5c7175;--silver:#cfe2e2;
  --accent:#17e2cf;--accent-hi:#6ff2e6;--accent-soft:rgba(23,226,207,.13);--accent-line:rgba(23,226,207,.45);--on-accent:#02211e;
  --radius:16px;--head:"Barlow Condensed","Rajdhani",var(--font);
}
html,body{background:var(--bg)}
h1,h2,h3,h4{letter-spacing:.025em}
h1{font-size:34px;font-weight:800}h2{font-size:22px;font-weight:700}h3{font-size:17px;font-weight:700}
::selection{background:var(--accent);color:var(--on-accent)}
:focus-visible{outline:2px solid var(--accent-hi);outline-offset:2px}

/* Everything that sits ON the accent uses dark ink */
.btn.primary,button.primary,nav .pill,.badge3d,.tabbar .ti i,.tab-add,.mode-switch button.on,.new-ro .nr-plus,
.board-tabs a[aria-selected=true] b,.live-pill button,.idscan-btn.primary{color:var(--on-accent)}
.btn.primary,button.primary{font-weight:700}
.btn.primary:hover,button.primary:hover{background:var(--accent-hi);border-color:var(--accent-hi);color:var(--on-accent)}
.btn,button{border-radius:11px}
.btn:hover,button:hover{border-color:#45636a}
.tab-add{box-shadow:0 6px 22px rgba(23,226,207,.38)}
.card.hot{border-color:var(--accent-line);box-shadow:0 0 0 1px rgba(23,226,207,.14),0 10px 40px -20px rgba(23,226,207,.5)}
.bcol.drop-ok{border-color:var(--accent-line)}
.quick-btn{border-color:var(--accent-line);color:var(--accent-hi)}
.quick-btn:hover{color:#fff}
.side{background:linear-gradient(180deg,#0a1113,var(--bg))}
.mtop{background:rgba(6,10,11,.88)}
.tabbar{background:rgba(10,16,18,.95)}
nav a.active{box-shadow:inset 3px 0 0 var(--accent)}
a:hover{color:#fff}

/* Brand mark: the aqua cross tile replaces the glyph */
.brand .star,.mtop-brand .star{border-radius:11px;background:var(--accent) url("brand/mark.svg") center/100% 100% no-repeat;box-shadow:none;color:transparent;font-size:0}

/* Demo banner and auth pages */
.auth .card h1{font-family:var(--head)}
.ds-logo{display:flex;align-items:center;gap:10px;font:800 26px/1 var(--head);text-transform:uppercase;letter-spacing:.02em;color:var(--text)}
.ds-logo img{width:38px;height:38px;border-radius:10px}
.ds-logo b{color:var(--accent);font-weight:800}

/* Drawn icons (SHOP_FOCUS) */
.dsi{width:20px;height:20px;display:block}
nav .ico .dsi{margin:0 auto}
.tabbar .ti .dsi{width:24px;height:24px;margin:0 auto}
.tabbar .ti{display:inline-grid;place-items:center;min-height:26px}
.quick-grid span .dsi,.menu-list span .dsi{width:24px;height:24px;margin:0 auto}
.quick-grid span,.menu-list span{color:var(--accent)}
.demo-bar{border-color:var(--accent-line)}

/* Focused build: hide the car-shop extras, language switch, inline icons */
body.focus [data-pro]{display:none!important}
.dsi-in{display:inline-block;width:1.08em;height:1.08em;vertical-align:-.17em;margin:0}
.lang-sw{display:inline-grid;place-items:center;min-width:40px;height:40px;padding:0 10px;border-radius:999px;border:1px solid var(--border2);font:700 13px/1 var(--font);letter-spacing:.06em;color:var(--muted)}
.lang-sw:hover{color:#fff;border-color:var(--accent-line)}
.side-lang{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:auto 0 0;padding-top:12px;border-top:1px solid var(--border);font-size:13px}
.side-lang a:first-child{color:var(--muted)}
.side-lang .lang-sw{height:32px;min-width:0}

/* Totals stay a two-column table on phones (label left, amount right) */
.totals table{display:table;width:100%}.totals tbody{display:table-row-group}.totals tr{display:table-row}
.totals td{display:table-cell;width:auto;border-bottom:1px solid var(--border);padding:9px 0}
.totals td:last-child{width:1%;white-space:nowrap;text-align:right;padding-left:16px}
.totals tr:last-child td{border-bottom:0}

/* Photo and document pickers (photo-prep.js): a camera button, thumbnails, and photos shrunk on the phone */
.pp{display:flex;flex-direction:column;gap:10px;width:100%;position:relative}
.pp .pp-in.pp-in[type=file]{position:absolute;left:0;top:0;display:block;width:1px;height:1px;min-height:0;padding:0;border:0;opacity:0;overflow:hidden;pointer-events:none}
.pp-pick{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;margin:0!important;padding:12px 16px;border:1.5px dashed var(--accent-line);border-radius:14px;background:var(--accent-soft);color:var(--accent-hi)!important;font-weight:700;font-size:15px;cursor:pointer;transition:background .18s,border-color .18s,transform .12s}
.pp-pick:hover{background:rgba(23,226,207,.2);border-color:var(--accent)}
.pp-pick:active{transform:scale(.985)}
.pp-pick .dsi{width:22px;height:22px;flex:none}
.pp-in:focus-visible+.pp-pick{outline:2px solid var(--accent-hi);outline-offset:2px}
.pp.has .pp-pick{min-height:44px;align-self:flex-start;padding:8px 14px;border-style:solid;border-color:var(--border2);background:transparent;color:var(--text)!important;font-weight:600}
.pp-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}
.pp-cell{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--bg2);border:1px solid var(--border2)}
.pp-cell img{display:block;width:100%;height:100%;object-fit:cover}
.pp-file{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px;color:var(--muted)}
.pp-file .dsi{width:26px;height:26px}
.pp-file small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;line-height:1.2}
.pp-x{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:26px;height:26px;min-height:0;padding:0;border:0;border-radius:50%;background:rgba(5,8,10,.78);color:#fff}
.pp-x::after{content:"";position:absolute;inset:-9px}
.pp-x .dsi{width:13px;height:13px}
.pp-note{margin:0;font-size:13px;color:var(--muted)}
.pp.has .pp-note{color:var(--accent-hi)}
.pp.busy .pp-pick{opacity:.6;pointer-events:none}
.pp.busy .pp-note::before{content:"";display:inline-block;width:12px;height:12px;margin-right:8px;border:2px solid var(--accent-line);border-top-color:var(--accent);border-radius:50%;vertical-align:-1px;animation:pp-spin .7s linear infinite}
@keyframes pp-spin{to{transform:rotate(360deg)}}
.pp-doc .pp-strip{grid-template-columns:1fr}
.pp-doc .pp-cell{aspect-ratio:16/10}
