/* Tevoda HQ 1.2.0 · one design system, three styles (Apple, Microsoft, Google), three Classic tones (Green, Black, White), light or dark.
   html attributes set by the app: data-style = apple|microsoft|google · data-tone = green|black|white · data-mode = light|dark · data-lay = desk|rail|phone (+ class navc = desktop menu collapsed) */

/* ---------- 1. brand + light palette ---------- */
:root{
  --green:#0F3D2E;--green2:#16573F;--green3:#1F7356;--orange:#F08A24;--on-or:#231300;
  --green-t:#E5EFEA;--orange-t:#FDEBD6;--orange-ink:#9A4D06;
  --bg:#F3F5F3;--panel:#FFFFFF;--panel2:#F6F8F6;--line:#DDE3DF;--ink:#14211C;--muted:#5E6B65;--soft:#8A9690;
  --ok:#1E7A4F;--ok-t:#E1F2E8;--warn:#9A5B00;--warn-t:#FFF1D9;--bad:#B3261E;--bad-t:#FBE4E2;--info:#2A5C8A;--info-t:#E3EDF7;
  --link:#16573F;--sel:rgba(15,61,46,.08);--focus:var(--orange);
  /* chrome = the menu surface; hero = the release runway */
  --chrome:#0F3D2E;--chrome2:#0B3125;--c-ink:#FFFFFF;--c-mute:rgba(255,255,255,.68);--c-hover:rgba(255,255,255,.08);--c-sel:rgba(255,255,255,.15);--c-line:rgba(255,255,255,.12);
  --hero:#0F3D2E;--hero2:#0A2B20;--btn:#0F3D2E;--btn-h:#16573F;--btn-ink:#FFFFFF;
  --nav:252px;--rail:88px;--top:56px;--tab:64px;
  color-scheme:light;
}
html[data-tone="black"]{--chrome:#0B0D0C;--chrome2:#000;--hero:#121413;--hero2:#000;--c-sel:rgba(240,138,36,.16)}
html[data-tone="white"]{--chrome:#FFFFFF;--chrome2:#F6F8F6;--c-ink:#0F3D2E;--c-mute:#5E6B65;--c-hover:rgba(15,61,46,.06);--c-sel:rgba(15,61,46,.10);--c-line:#E3E8E5}

/* ---------- 2. dark palette (black contrast) ---------- */
html[data-mode="dark"]{
  --bg:#0D1512;--panel:#141E1A;--panel2:#1A2622;--line:#283732;--ink:#E8EFEB;--muted:#A3B2AB;--soft:#7E8E87;
  --green-t:#1B3A2F;--orange-t:#3D2A14;--orange-ink:#F5B36B;
  --ok:#5DCB93;--ok-t:#16362A;--warn:#F2B861;--warn-t:#3A2C12;--bad:#FF8A80;--bad-t:#3B1A18;--info:#8CB8E6;--info-t:#172A3D;
  --link:#7FD1A8;--sel:rgba(127,209,168,.10);
  --chrome:#0A2A20;--chrome2:#07211A;--hero:#0F3D2E;--hero2:#08251B;--btn:#1F7356;--btn-h:#27886A;
  color-scheme:dark;
}
html[data-mode="dark"][data-tone="black"]{--bg:#0A0A0A;--panel:#141414;--panel2:#1C1C1C;--line:#2A2A2A;--green-t:#16302A;--chrome:#000;--chrome2:#000;--hero:#151515;--hero2:#000;--sel:rgba(240,138,36,.10)}
html[data-mode="dark"][data-tone="white"]{--chrome:#121A17;--chrome2:#0E1512;--c-ink:#E8EFEB;--c-mute:#A3B2AB;--c-hover:rgba(255,255,255,.06);--c-sel:rgba(127,209,168,.14);--c-line:#24312C}

/* ---------- 3. styles ---------- */
/* Apple: SF type, rounded rectangles, hairlines, large titles, frosted bars */
:root,html[data-style="apple"]{
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;--fontd:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;
  --fs:15px;--r:14px;--r2:10px;--rbtn:10px;--rchip:999px;--h1:32px;--h1w:750;--track:-.022em;--bh:40px;
  --shadow:0 1px 2px rgba(15,61,46,.05),0 6px 20px rgba(15,61,46,.05);--cardline:var(--line);
}
html[data-style="apple"][data-mode="dark"]{--shadow:none}
/* Microsoft: Fluent 2, Segoe, 4/8 px corners, strokes, compact, Mica background */
html[data-style="microsoft"]{
  --font:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif;--fontd:"Segoe UI Variable Display","Segoe UI",system-ui,sans-serif;
  --fs:14px;--r:8px;--r2:6px;--rbtn:4px;--rchip:4px;--h1:28px;--h1w:600;--track:-.01em;--bh:34px;
  --shadow:0 0 2px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.06);--cardline:rgba(0,0,0,.07);--bg:#F3F3F1;
}
html[data-style="microsoft"][data-mode="dark"]{--bg:#1C1F1E;--panel:#262A29;--panel2:#2D3231;--line:#3A403E;--cardline:rgba(255,255,255,.07);--shadow:0 0 2px rgba(0,0,0,.3),0 2px 4px rgba(0,0,0,.25)}
html[data-style="microsoft"][data-mode="dark"][data-tone="black"]{--bg:#141414;--panel:#1F1F1F;--panel2:#262626}
/* Google: Material 3, Google Sans / Roboto, tonal surfaces, pills, FAB */
html[data-style="google"]{
  --font:"Google Sans Text",Roboto,"Segoe UI",system-ui,sans-serif;--fontd:"Google Sans",Roboto,system-ui,sans-serif;
  --fs:15px;--r:16px;--r2:12px;--rbtn:999px;--rchip:8px;--h1:28px;--h1w:500;--track:0;--bh:40px;
  --shadow:none;--cardline:transparent;--bg:#F4F8F5;--panel:#FFFFFF;--panel2:#EAF1EC;
}
html[data-style="google"][data-mode="dark"]{--bg:#0F1512;--panel:#18211D;--panel2:#202B26}
html[data-style="google"][data-mode="dark"][data-tone="black"]{--bg:#0A0A0A;--panel:#171717;--panel2:#202020}

/* ---------- 4. base ---------- */
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font:var(--fs)/1.45 var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--link)}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.boot{min-height:100vh;display:grid;place-items:center;background:var(--chrome)}.boot img{border-radius:14px;animation:breathe 1.4s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(.94);opacity:.75}}
.num{font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}.small{font-size:13px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
svg{flex:none}

/* ---------- 5. shell ---------- */
.shell{display:grid;grid-template-columns:var(--nav) minmax(0,1fr);min-height:100vh;transition:grid-template-columns .2s ease}
html.navc[data-lay="desk"] .shell,html[data-lay="rail"] .shell{grid-template-columns:var(--rail) minmax(0,1fr)}
html[data-lay="phone"] .shell{grid-template-columns:minmax(0,1fr)}
.content{min-width:0;display:flex;flex-direction:column}

/* side menu (desktop) and rail (iPad, collapsed desktop) */
.side{position:sticky;top:0;height:100vh;padding:14px 12px;display:flex;flex-direction:column;gap:2px;background:var(--chrome);color:var(--c-ink);overflow-y:auto;overflow-x:hidden;scrollbar-width:none;z-index:20}
.side::-webkit-scrollbar{display:none}
html[data-tone="white"] .side{border-right:1px solid var(--c-line)}
html[data-lay="phone"] .side{display:none}
.brand{display:flex;align-items:center;gap:11px;padding:6px 8px 14px;min-width:0}
.brand img{width:36px;height:36px;border-radius:10px;flex:none}
.brand b{display:block;font:700 16.5px/1.15 var(--fontd);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand small{display:block;font-size:12px;color:var(--c-mute);font-weight:500;white-space:nowrap}
.brand .t{min-width:0;flex:1}
.collapse{display:inline-grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;background:none;color:var(--c-mute);cursor:pointer;flex:none}
.collapse:hover{background:var(--c-hover);color:var(--c-ink)}.collapse svg{width:18px;height:18px}
html[data-lay="rail"] .collapse{display:none}
.find{display:flex;align-items:center;gap:10px;min-height:38px;margin:0 0 10px;padding:0 12px;border:0;border-radius:var(--r2);background:var(--c-hover);color:var(--c-mute);font-weight:550;cursor:pointer;width:100%;text-align:left}
.find:hover{background:var(--c-sel);color:var(--c-ink)}.find svg{width:18px;height:18px}
.find kbd{margin-left:auto;font:600 11.5px/1 var(--font);padding:4px 6px;border-radius:6px;border:1px solid var(--c-line);color:var(--c-mute)}
.nav{position:relative;display:flex;align-items:center;gap:12px;min-height:40px;padding:0 12px;border-radius:var(--r2);color:var(--c-ink);opacity:.86;text-decoration:none;font-weight:600;border:0;background:none;width:100%;cursor:pointer;text-align:left;white-space:nowrap}
.nav svg{width:21px;height:21px}
.nav:hover{background:var(--c-hover);opacity:1}
.nav[aria-current="page"]{background:var(--c-sel);opacity:1}
.nav .cnt{margin-left:auto;font-size:11.5px;background:var(--orange);color:var(--on-or);border-radius:999px;padding:1px 7px;font-weight:750}
.side .sp{flex:1;min-height:12px}
.who{display:flex;align-items:center;gap:10px;padding:12px 8px 6px;border-top:1px solid var(--c-line);margin-top:8px;font-size:13px;min-width:0}
.who .av{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--orange);color:var(--on-or);font-weight:750;flex:none}
.who .t{min-width:0}.who b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.who span{color:var(--c-mute);white-space:nowrap}
.side-fab{display:none}

/* rail: icons with a short label under each */
html[data-lay="rail"] .side,html.navc[data-lay="desk"] .side{padding:12px 8px;align-items:stretch}
html[data-lay="rail"] .brand,html.navc[data-lay="desk"] .brand{flex-direction:column;padding:4px 0 10px;gap:8px}
html[data-lay="rail"] .brand .t,html.navc[data-lay="desk"] .brand .t,
html[data-lay="rail"] .find kbd,html.navc[data-lay="desk"] .find kbd,html[data-lay="rail"] .find span,html.navc[data-lay="desk"] .find span,
html[data-lay="rail"] .who .t,html.navc[data-lay="desk"] .who .t,html[data-lay="rail"] .nav .cnt,html.navc[data-lay="desk"] .nav .cnt{display:none}
html[data-lay="rail"] .find,html.navc[data-lay="desk"] .find{justify-content:center;padding:0;width:44px;margin:0 auto 8px}
html[data-lay="rail"] .nav,html.navc[data-lay="desk"] .nav{flex-direction:column;gap:3px;min-height:56px;padding:6px 0;justify-content:center;font-size:11px;font-weight:650;text-align:center}
html[data-lay="rail"] .nav span,html.navc[data-lay="desk"] .nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis}
html[data-lay="rail"] .who,html.navc[data-lay="desk"] .who{justify-content:center;padding:10px 0 4px}

/* phone top bar */
.topbar{display:none}
html[data-lay="phone"] .topbar{display:flex;align-items:center;gap:6px;position:sticky;top:0;z-index:30;min-height:calc(var(--top) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0 14px;background:var(--chrome);color:var(--c-ink)}
.topbar img{width:30px;height:30px;border-radius:8px}
.topbar .tt{flex:1;min-width:0;font:700 17px/1.1 var(--fontd);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar .tb-ib{display:inline-grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:none;color:var(--c-ink);cursor:pointer}
.topbar .tb-ib:hover{background:var(--c-hover)}.topbar .tb-ib svg{width:22px;height:22px}

.main{min-width:0;width:100%;max-width:1280px;padding:28px 36px 64px}
html[data-lay="rail"] .main{padding:24px 28px 64px}
html[data-lay="phone"] .main{padding:16px 16px calc(var(--tab) + 40px + env(safe-area-inset-bottom))}

/* page header */
.ph{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.ph h1{margin:0;font:var(--h1w) var(--h1)/1.12 var(--fontd);letter-spacing:var(--track)}
.ph p{margin:5px 0 0;color:var(--muted)}
.ph .acts{display:flex;gap:8px;flex-wrap:wrap}
.hello{display:block;font-size:13px;font-weight:650;color:var(--orange-ink);letter-spacing:.02em;margin-bottom:4px}

/* phone tab bar */
.tabbar{display:none}
html[data-lay="phone"] .tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:30;background:var(--panel);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.tabbar a,.tabbar button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;font-weight:650;color:var(--muted);text-decoration:none;padding:4px 0;border:0;background:none;cursor:pointer;min-width:0}
.tabbar svg{width:24px;height:24px}
.tabbar [aria-current="page"]{color:var(--green2)}
html[data-mode="dark"] .tabbar [aria-current="page"]{color:#7FD1A8}

/* Google FAB */
.fab{display:none}

/* ---------- 6. Apple specifics ---------- */
html[data-style="apple"] .ph h1{font-size:var(--h1)}
html[data-style="apple"][data-lay="phone"] .ph h1{font-size:32px}
html[data-style="apple"][data-lay="phone"] .topbar{background:color-mix(in srgb,var(--chrome) 86%,transparent);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px)}
html[data-style="apple"][data-lay="phone"][data-tone="white"] .topbar{background:color-mix(in srgb,var(--bg) 82%,transparent);border-bottom:.5px solid var(--line)}
html[data-style="apple"][data-lay="phone"] .topbar .tt{text-align:center;font-size:16px;opacity:0;transition:opacity .2s}
html[data-style="apple"][data-lay="phone"].scrolled .topbar .tt{opacity:1}
html[data-style="apple"][data-lay="phone"] .tabbar{background:color-mix(in srgb,var(--panel) 80%,transparent);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);border-top:.5px solid var(--line)}
html[data-style="apple"] .tabbar [aria-current="page"]{color:var(--orange-ink)}
html[data-style="apple"][data-mode="dark"] .tabbar [aria-current="page"]{color:var(--orange)}
html[data-style="apple"] .card{border-width:.5px}

/* ---------- 7. Microsoft specifics ---------- */
html[data-style="microsoft"] .nav{min-height:38px;border-radius:4px;font-weight:500}
html[data-style="microsoft"] .nav[aria-current="page"]{background:var(--c-hover);font-weight:600}
html[data-style="microsoft"] .nav[aria-current="page"]:before{content:"";position:absolute;left:3px;top:50%;width:3px;height:18px;margin-top:-9px;border-radius:3px;background:var(--orange)}
html[data-style="microsoft"][data-lay="rail"] .nav[aria-current="page"]:before,html[data-style="microsoft"].navc[data-lay="desk"] .nav[aria-current="page"]:before{left:2px;height:22px;margin-top:-11px}
html[data-style="microsoft"] .find{border-radius:4px;border-bottom:1px solid var(--c-line)}
html[data-style="microsoft"] .ph{padding-bottom:14px;border-bottom:1px solid var(--line)}
html[data-style="microsoft"] .ph .acts{gap:4px;padding:3px;border-radius:6px;background:var(--panel);border:1px solid var(--cardline);box-shadow:var(--shadow)}
html[data-style="microsoft"] .ph .acts .btn.gh{border-color:transparent;background:none}
html[data-style="microsoft"] .ph .acts .btn.gh:hover{background:var(--panel2)}
html[data-style="microsoft"][data-lay="phone"] .topbar{min-height:calc(48px + env(safe-area-inset-top))}
html[data-style="microsoft"][data-lay="phone"] .topbar .tt{font-size:16px;font-weight:600}
html[data-style="microsoft"] .tabbar{background:var(--bg)}
html[data-style="microsoft"] .tabbar [aria-current="page"]{position:relative}
html[data-style="microsoft"] .tabbar [aria-current="page"]:after{content:"";position:absolute;bottom:-2px;width:18px;height:3px;border-radius:3px;background:var(--orange)}

/* ---------- 8. Google specifics ---------- */
html[data-style="google"] .side{padding:12px}
html[data-style="google"] .nav{min-height:52px;border-radius:999px;padding:0 16px;font-weight:600}
html[data-style="google"] .nav[aria-current="page"]{background:var(--orange);color:var(--on-or)}
html[data-style="google"][data-tone="white"] .nav[aria-current="page"]{background:var(--orange-t);color:var(--orange-ink)}
html[data-style="google"] .find{border-radius:999px;min-height:48px;padding:0 16px}
html[data-style="google"][data-lay="desk"]:not(.navc) .side-fab{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 20px 0 16px;margin:0 0 12px;border:0;border-radius:16px;background:var(--orange);color:var(--on-or);font-weight:700;cursor:pointer;width:max-content;box-shadow:0 1px 3px rgba(0,0,0,.2),0 4px 8px rgba(0,0,0,.1)}
.side-fab svg{width:22px;height:22px}
/* rail: pill indicator behind the icon, not the whole item */
html[data-style="google"][data-lay="rail"] .nav,html[data-style="google"].navc[data-lay="desk"] .nav{min-height:64px;padding:4px 0;border-radius:16px;background:none!important;color:var(--c-ink)!important}
html[data-style="google"][data-lay="rail"] .nav svg,html[data-style="google"].navc[data-lay="desk"] .nav svg{width:56px;height:32px;padding:4px 16px;border-radius:999px;box-sizing:border-box}
html[data-style="google"][data-lay="rail"] .nav[aria-current="page"] svg,html[data-style="google"].navc[data-lay="desk"] .nav[aria-current="page"] svg{background:var(--orange);color:var(--on-or)}
html[data-style="google"][data-lay="rail"] .find,html[data-style="google"].navc[data-lay="desk"] .find{width:56px;height:56px;border-radius:16px}
html[data-style="google"][data-lay="phone"] .topbar{min-height:calc(64px + env(safe-area-inset-top));padding-left:16px}
html[data-style="google"][data-lay="phone"] .topbar .tt{font-size:20px;font-weight:500}
html[data-style="google"] .tabbar{grid-auto-rows:minmax(64px,auto);background:var(--panel2);border-top:0;padding-top:10px}
html[data-style="google"] .tabbar svg{width:64px;height:32px;padding:4px 20px;border-radius:999px;box-sizing:border-box}
html[data-style="google"] .tabbar [aria-current="page"]{color:var(--ink)}
html[data-style="google"] .tabbar [aria-current="page"] svg{background:var(--orange-t);color:var(--orange-ink)}
html[data-style="google"]:not([data-lay="desk"]) .fab,html[data-style="google"].navc[data-lay="desk"] .fab{display:inline-flex;align-items:center;gap:10px;position:fixed;right:20px;bottom:24px;z-index:31;height:56px;padding:0 20px 0 16px;border:0;border-radius:16px;background:var(--orange);color:var(--on-or);font-weight:700;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.2),0 6px 12px rgba(0,0,0,.14)}
html[data-style="google"][data-lay="phone"] .fab{bottom:calc(var(--tab) + 32px + env(safe-area-inset-bottom));right:16px}
.fab svg{width:22px;height:22px}
html[data-style="google"] .ph h1{letter-spacing:0}

/* on phone, Apple and Google move the main action to the top bar "+" or the FAB */
html[data-lay="phone"][data-style="apple"] .ph .acts .pri,html[data-style="google"]:not([data-lay="desk"]) .ph .acts .pri,html[data-style="google"].navc .ph .acts .pri{display:none}
.tb-plus{display:none!important}
html[data-lay="phone"][data-style="apple"] .tb-plus{display:inline-grid!important}

/* ---------- 9. buttons, inputs ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--bh);padding:0 16px;border-radius:var(--rbtn);border:1px solid transparent;background:var(--btn);color:var(--btn-ink);font-weight:650;cursor:pointer;white-space:nowrap;text-decoration:none;transition:background .15s,filter .15s,transform .1s}
.btn:hover{background:var(--btn-h)}
.btn:active{transform:scale(.98)}
.btn.or{background:var(--orange);color:var(--on-or)}.btn.or:hover{filter:brightness(1.05)}
.btn.gh{background:var(--panel);color:var(--ink);border-color:var(--line)}.btn.gh:hover{background:var(--panel2)}
.btn.dn{background:var(--bad-t);color:var(--bad);border-color:transparent}
.btn.sm{min-height:32px;padding:0 12px;font-size:13.5px}
.btn[disabled]{opacity:.55;cursor:default}
.btn svg{width:18px;height:18px}
html[data-style="microsoft"] .btn{font-weight:600}
html[data-style="microsoft"] .btn.gh{border-bottom-color:color-mix(in srgb,var(--line) 50%,#000 18%)}
html[data-style="microsoft"] .btn:active{transform:none}
html[data-style="google"] .btn{font-weight:600;padding:0 22px}
html[data-style="google"] .btn.gh{background:transparent;border-color:var(--soft);color:var(--green2)}
html[data-style="google"][data-mode="dark"] .btn.gh{color:#9FDDBE}
html[data-style="google"] .btn.sm{padding:0 14px}
.ib{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:var(--rbtn);border:1px solid var(--line);background:var(--panel);cursor:pointer;color:var(--ink);flex:none}
.ib svg{width:18px;height:18px}
html[data-style="google"] .ib{border-color:transparent;background:var(--panel2);border-radius:50%}
label.f{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:13.5px;color:var(--muted)}
label.f>span{color:var(--ink)}
.in,select.in,textarea.in{width:100%;min-height:42px;padding:9px 12px;border-radius:var(--r2);border:1px solid var(--line);background:var(--panel);color:var(--ink);font-weight:500}
textarea.in{min-height:96px;resize:vertical;line-height:1.45}
.in:focus{border-color:var(--green2);outline:none;box-shadow:0 0 0 3px rgba(22,87,63,.15)}
html[data-mode="dark"] .in:focus{border-color:#7FD1A8;box-shadow:0 0 0 3px rgba(127,209,168,.18)}
html[data-style="apple"] .in{background:var(--panel2);border-color:transparent}
html[data-style="microsoft"] .in{min-height:34px;padding:6px 10px;border-radius:4px;border-bottom:1px solid var(--soft)}
html[data-style="microsoft"] .in:focus{border-bottom:2px solid var(--green2);box-shadow:none;padding-bottom:5px}
html[data-style="microsoft"][data-mode="dark"] .in:focus{border-bottom-color:#7FD1A8}
html[data-style="google"] .in{min-height:52px;padding:14px 16px;background:var(--panel);border:1px solid var(--soft);border-radius:4px}
html[data-style="google"] .in:focus{border:2px solid var(--green2);padding:13px 15px;box-shadow:none}
html[data-style="google"][data-mode="dark"] .in:focus{border-color:#7FD1A8}
html[data-style="google"] textarea.in{min-height:110px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.seg{display:inline-flex;padding:3px;gap:2px;border-radius:calc(var(--rbtn) + 3px);background:var(--panel2);border:1px solid var(--line);max-width:100%;overflow-x:auto}
.seg button{min-height:32px;padding:0 14px;border:0;border-radius:var(--rbtn);background:none;font-weight:650;color:var(--muted);cursor:pointer;white-space:nowrap}
.seg button[aria-pressed="true"]{background:var(--panel);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
html[data-style="apple"] .seg{border-color:transparent;border-radius:9px;padding:2px}
html[data-style="apple"] .seg button{border-radius:7px}
html[data-style="microsoft"] .seg{padding:0;gap:0;border-radius:4px;background:var(--panel)}
html[data-style="microsoft"] .seg button{border-radius:0;border-right:1px solid var(--line)}
html[data-style="microsoft"] .seg button:last-child{border-right:0}
html[data-style="microsoft"] .seg button[aria-pressed="true"]{background:var(--btn);color:#fff;box-shadow:none}
html[data-style="google"] .seg{padding:0;gap:0;border-color:var(--soft);background:transparent;border-radius:999px;overflow:hidden}
html[data-style="google"] .seg button{border-radius:0;min-height:40px;border-right:1px solid var(--soft);color:var(--ink)}
html[data-style="google"] .seg button:last-child{border-right:0}
html[data-style="google"] .seg button[aria-pressed="true"]{background:var(--orange-t);color:var(--orange-ink);box-shadow:none}
html[data-style="google"] .seg button[aria-pressed="true"]:before{content:"✓ "}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.chips::-webkit-scrollbar{display:none}
.chip{flex:none;min-height:34px;padding:0 14px;border-radius:var(--rchip);border:1px solid var(--line);background:var(--panel);font-weight:600;font-size:13.5px;cursor:pointer;color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--btn);border-color:var(--btn);color:#fff}
html[data-style="google"] .chip{border-color:var(--soft);min-height:32px}
html[data-style="google"] .chip[aria-pressed="true"]{background:var(--orange-t);border-color:transparent;color:var(--orange-ink)}
.chip i{font-style:normal;opacity:.7;margin-left:4px}
.err{background:var(--bad-t);color:var(--bad);padding:10px 12px;border-radius:var(--r2);font-weight:600;font-size:14px}

/* ---------- 10. cards ---------- */
.card{background:var(--panel);border:1px solid var(--cardline);border-radius:var(--r);box-shadow:var(--shadow);padding:18px 20px;min-width:0}
.card h2{margin:0 0 12px;font:700 16px/1.3 var(--fontd)}
html[data-style="microsoft"] .card h2{font-weight:600}
html[data-style="google"] .card h2{font-weight:500;font-size:16.5px}
.card h2 small{font-weight:500;color:var(--muted);font-size:13px;margin-left:6px}
.cols{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;margin-top:18px}
.stack{display:flex;flex-direction:column;gap:18px}
html[data-style="microsoft"] .cols,html[data-style="microsoft"] .stack{gap:12px}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}
html[data-style="microsoft"] .kpis{gap:10px}
.kpi{padding:14px 16px;position:relative;overflow:hidden}
.kpi span{display:block;color:var(--muted);font-size:13px;font-weight:600}
.kpi b{display:block;font:700 26px/1.2 var(--fontd);letter-spacing:-.02em;margin-top:2px}
html[data-style="google"] .kpi b{font-weight:500;letter-spacing:0}
html[data-style="microsoft"] .kpi b{font-weight:600}
.kpi small{color:var(--muted)}
html[data-style="google"] .kpi{background:var(--panel2)}
html[data-style="microsoft"] .kpi:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:var(--orange)}
.empty{padding:22px;text-align:center;color:var(--muted)}
.empty b{display:block;color:var(--ink);margin-bottom:4px}

/* release runway: the latest update on its way to clients */
.runway{background:linear-gradient(135deg,var(--hero) 0%,var(--hero2) 100%);color:#fff;border-radius:var(--r);padding:20px 22px 22px;position:relative;overflow:hidden}
.runway:after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(240,138,36,.22),transparent 70%);pointer-events:none}
.runway h2{margin:0;font:700 15px/1.3 var(--fontd);opacity:.85}
.runway .v{font:750 34px/1.1 var(--fontd);letter-spacing:-.02em;margin:4px 0 2px}
html[data-style="google"] .runway .v{font-weight:500;letter-spacing:0}
html[data-style="microsoft"] .runway .v{font-weight:600}
.runway .v small{font-size:15px;font-weight:600;opacity:.75;margin-left:8px;letter-spacing:0}
.track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px;position:relative}
.track:before{content:"";position:absolute;left:12px;right:12px;top:11px;height:3px;background:rgba(255,255,255,.18);border-radius:3px}
.track .fill{position:absolute;left:12px;top:11px;height:3px;background:var(--orange);border-radius:3px;transition:width .6s ease}
.stp{position:relative;padding-top:32px;font-size:13px;min-width:0;padding-right:8px}
.stp:before{content:"";position:absolute;left:0;top:0;width:25px;height:25px;border-radius:50%;background:var(--hero);border:3px solid rgba(255,255,255,.3);box-sizing:border-box}
.stp.done:before{background:var(--orange);border-color:var(--orange)}
.stp.now:before{background:#fff;border-color:var(--orange);box-shadow:0 0 0 5px rgba(240,138,36,.3)}
.stp b{display:block;font-size:14px}.stp span{opacity:.75}
.runway .bar{display:flex;align-items:center;gap:12px;margin-top:18px;flex-wrap:wrap;position:relative;z-index:1}
.runway .meter{flex:1;min-width:160px;height:8px;border-radius:8px;background:rgba(255,255,255,.18);overflow:hidden}
.runway .meter i{display:block;height:100%;background:#fff;border-radius:8px}
.runway .btn.gh{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.25)}
.runway a.btn.or{color:var(--on-or)}

/* ---------- 11. lists, tables ---------- */
.rows{display:flex;flex-direction:column}
.row{display:flex;align-items:center;gap:12px;padding:11px 2px;border-top:1px solid var(--line);min-width:0;text-decoration:none;color:inherit;background:none;border-left:0;border-right:0;border-bottom:0;width:100%;text-align:left;cursor:pointer}
.row:first-child{border-top:0}
@media (hover:hover){a.row:hover,button.row:hover{background:var(--sel);border-radius:var(--r2)}}
html[data-style="apple"] .row{border-top-width:.5px}
.row .t{flex:1;min-width:0}.row .t b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row .t small{color:var(--muted)}
.row .r{text-align:right;flex:none}
.pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;font-size:12.5px;font-weight:700;white-space:nowrap}
html[data-style="microsoft"] .pill{border-radius:4px;font-weight:600}
html[data-style="google"] .pill{border-radius:8px;font-weight:600}
.pill:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.p-active{background:var(--ok-t);color:var(--ok)}.p-trial{background:var(--info-t);color:var(--info)}.p-grace{background:var(--warn-t);color:var(--warn)}
.p-expired,.p-suspended{background:var(--bad-t);color:var(--bad)}.p-cancelled{background:var(--panel2);color:var(--soft)}
.p-draft{background:var(--panel2);color:var(--muted)}.p-early{background:var(--orange-t);color:var(--orange-ink)}.p-stable{background:var(--ok-t);color:var(--ok)}.p-withdrawn{background:var(--bad-t);color:var(--bad)}
.dot{width:9px;height:9px;border-radius:50%;flex:none;background:var(--soft)}.dot.on{background:var(--ok)}.dot.off{background:var(--bad)}
table.tb{width:100%;border-collapse:collapse}
.tb th{text-align:left;font-size:12.5px;color:var(--muted);font-weight:650;padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
.tb td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle}
.tb tbody tr:last-child td{border-bottom:0}
html[data-style="microsoft"] .tb td{padding:9px 12px}
.tb tbody tr{cursor:pointer}@media (hover:hover){.tb tbody tr:hover td{background:var(--sel)}}
.card:has(>table.tb){overflow-x:auto}
html[data-lay="rail"] .tb .hx{display:none}
.stc{white-space:nowrap}
.tb td b{font-weight:650}.tb .rt{text-align:right}
.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.toolbar .in{max-width:340px}
.bars{display:flex;align-items:flex-end;gap:6px;height:120px;padding-top:6px}
.bars div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;min-width:0}
.bars i{display:block;width:100%;max-width:26px;background:var(--green-t);border-radius:5px 5px 2px 2px;min-height:2px}
html[data-style="microsoft"] .bars i{border-radius:2px}
html[data-style="google"] .bars i{border-radius:8px 8px 3px 3px}
.bars div.cur i{background:var(--orange)}
.bars small{font-size:11px;color:var(--muted)}
.vers{display:flex;flex-direction:column;gap:8px}
.vers div{display:grid;grid-template-columns:80px minmax(0,1fr) 30px;gap:10px;align-items:center;font-size:13.5px}
.vers i{height:8px;border-radius:8px;background:var(--green3)}

/* ---------- 12. sheets, dialogs, menus ---------- */
.scrim{position:fixed;inset:0;background:rgba(5,16,12,.45);z-index:40;animation:fd .18s ease}
html[data-style="apple"] .scrim{background:rgba(0,0,0,.32)}
.sheet{position:fixed;top:0;right:0;bottom:0;width:min(580px,100vw);background:var(--bg);z-index:41;display:flex;flex-direction:column;box-shadow:-12px 0 40px rgba(0,0,0,.18);animation:sl .24s cubic-bezier(.2,.8,.2,1)}
html[data-style="google"] .sheet{border-radius:28px 0 0 28px;overflow:hidden}
html[data-style="microsoft"] .sheet{border-left:1px solid var(--line);animation-duration:.18s}
.sheet header{display:flex;align-items:flex-start;gap:10px;padding:18px 20px;background:var(--panel);border-bottom:1px solid var(--line)}
.sheet header h2{margin:0;font:700 21px/1.2 var(--fontd);letter-spacing:-.01em;overflow-wrap:anywhere}
html[data-style="google"] .sheet header h2{font-weight:500}
html[data-style="microsoft"] .sheet header h2{font-weight:600}
.sheet header .sp{flex:1;min-width:0}
.sheet .body{overflow:auto;padding:18px 20px 40px;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}
.dlg{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(580px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;background:var(--panel);border-radius:var(--r);z-index:51;box-shadow:0 24px 60px rgba(0,0,0,.3);animation:pop .18s ease;overscroll-behavior:contain}
html[data-style="google"] .dlg{border-radius:28px}
html[data-style="microsoft"] .dlg{border:1px solid var(--line)}
.dlg header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 6px}
.dlg header h2{margin:0;font:700 19px/1.25 var(--fontd)}
html[data-style="google"] .dlg header h2{font-weight:500;font-size:22px}
html[data-style="microsoft"] .dlg header h2{font-weight:600;font-size:20px}
.dlg .body{padding:10px 20px 6px;display:flex;flex-direction:column;gap:14px}
.dlg footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px 18px;flex-wrap:wrap}
html[data-style="microsoft"] .dlg footer{background:var(--panel2);border-top:1px solid var(--line);margin-top:14px;padding:16px 20px}
html[data-style="google"] .dlg footer{padding:16px 24px 22px}
.dlg+.scrim,.scrim.top{z-index:50}
@keyframes fd{from{opacity:0}}@keyframes sl{from{transform:translateX(30px);opacity:.4}}@keyframes pop{from{transform:translate(-50%,-48%) scale(.97);opacity:0}}
@keyframes up{from{transform:translateY(40px);opacity:.3}}

/* phone: Apple = bottom sheets with a grabber, Google = full-screen dialogs, Microsoft = centered dialogs */
html[data-lay="phone"] .sheet{width:100vw;border-radius:0}
html[data-lay="phone"][data-style="apple"] .sheet{top:10px;border-radius:14px 14px 0 0;overflow:hidden;animation:up .28s cubic-bezier(.2,.8,.2,1)}
html[data-lay="phone"][data-style="apple"] .dlg{left:0;right:0;top:auto;bottom:0;width:100%;max-height:92vh;transform:none;border-radius:14px 14px 0 0;animation:up .26s cubic-bezier(.2,.8,.2,1);padding-bottom:env(safe-area-inset-bottom)}
html[data-lay="phone"][data-style="apple"] .dlg:before,html[data-lay="phone"][data-style="apple"] .sheet header:before{content:"";position:absolute;left:50%;top:6px;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:var(--soft);opacity:.5}
html[data-lay="phone"][data-style="apple"] .sheet header{position:relative;padding-top:22px}
html[data-lay="phone"][data-style="apple"] .dlg header{padding-top:24px}
html[data-lay="phone"][data-style="google"] .dlg{inset:0;width:100vw;max-height:none;height:100%;transform:none;border-radius:0;animation:up .22s ease;display:flex;flex-direction:column}
html[data-lay="phone"][data-style="google"] .dlg .body{flex:1}
html[data-lay="phone"][data-style="google"] .dlg header{padding-top:calc(16px + env(safe-area-inset-top))}
html[data-lay="phone"][data-style="google"] .dlg footer{position:sticky;bottom:0;background:var(--panel);padding-bottom:calc(16px + env(safe-area-inset-bottom))}
html[data-lay="phone"] .dlg footer .btn{flex:1}

.kv{display:grid;grid-template-columns:minmax(110px,40%) minmax(0,1fr);gap:8px 12px;font-size:14px}
.kv dt{color:var(--muted)}.kv dd{margin:0;font-weight:600;min-width:0;overflow-wrap:anywhere}
.key{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--r2);background:linear-gradient(135deg,var(--hero),var(--hero2));color:#fff}
.key code{flex:1;font:700 16px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;overflow-wrap:anywhere;min-width:0}
.key .btn{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.25);color:#fff}
.mods{display:flex;flex-wrap:wrap;gap:6px}.mods span{font-size:12.5px;padding:3px 10px;border-radius:var(--rchip);background:var(--green-t);color:var(--ink);font-weight:600}
.mods span.x{background:var(--orange-t);color:var(--orange-ink)}
.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.checks label{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--line);border-radius:var(--r2);cursor:pointer;font-weight:600;font-size:14px;color:var(--ink)}
.checks input{accent-color:var(--green2);width:17px;height:17px}
.plancards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.plancards button{text-align:left;padding:12px 14px;border-radius:var(--r2);border:1.5px solid var(--line);background:var(--panel);cursor:pointer}
.plancards button[aria-pressed="true"]{border-color:var(--green2);box-shadow:inset 0 0 0 1px var(--green2);background:var(--green-t)}
html[data-mode="dark"] .plancards button[aria-pressed="true"]{border-color:#7FD1A8;box-shadow:inset 0 0 0 1px #7FD1A8}
.plancards b{display:block}.plancards small{color:var(--muted)}
.menu{position:absolute;right:0;top:calc(100% + 6px);min-width:230px;background:var(--panel);border:1px solid var(--line);border-radius:var(--r2);box-shadow:0 14px 34px rgba(0,0,0,.18);padding:6px;z-index:45}
html[data-style="google"] .menu{border-radius:4px;padding:8px 0;border:0}
html[data-style="google"] .menu button{border-radius:0;padding:12px 16px}
.menu button{display:block;width:100%;text-align:left;padding:9px 12px;border:0;background:none;border-radius:var(--r2);font-weight:600;cursor:pointer}
.menu button:hover{background:var(--panel2)}.menu button.dn{color:var(--bad)}
.rel{display:flex;flex-direction:column;gap:12px}
.rel .hd{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rel .hd b{font:750 22px/1.1 var(--fontd);letter-spacing:-.01em}
html[data-style="google"] .rel .hd b{font-weight:500}
.rel pre{white-space:pre-wrap;font:13.5px/1.5 var(--font);margin:0;max-height:180px;overflow:auto;background:var(--panel2);padding:12px 14px;border-radius:var(--r2)}
.drop{display:block;border:2px dashed var(--line);border-radius:var(--r);padding:26px;text-align:center;cursor:pointer;background:var(--panel);margin-bottom:12px}
.drop.on{border-color:var(--orange);background:var(--orange-t)}
.drop b{display:block;font-size:16px}
.prog{height:6px;border-radius:6px;background:var(--panel2);overflow:hidden;margin-top:12px}.prog i{display:block;height:100%;background:var(--orange);width:0;transition:width .2s}
#toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--green);color:#fff;font-weight:650;padding:11px 18px;border-radius:999px;z-index:80;transition:.25s;box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:calc(100vw - 32px)}
html[data-style="microsoft"] #toast{border-radius:6px}
html[data-style="google"] #toast{border-radius:4px;background:#2F3632;left:16px;right:auto;transform:translateY(20px);max-width:min(560px,calc(100vw - 32px))}
html[data-style="google"] #toast.on{transform:none}
html[data-lay="phone"] #toast{bottom:calc(var(--tab) + 28px + env(safe-area-inset-bottom))}
#toast.on{opacity:1;transform:translate(-50%,0)}

/* More sheet (phone) */
.more{position:fixed;left:0;right:0;bottom:0;z-index:51;background:var(--panel);border-radius:20px 20px 0 0;padding:10px 12px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(0,0,0,.2);animation:up .24s cubic-bezier(.2,.8,.2,1);max-height:88vh;overflow:auto}
.more:before{content:"";display:block;width:36px;height:5px;border-radius:3px;background:var(--soft);opacity:.5;margin:0 auto 12px}
html[data-style="microsoft"] .more{border-radius:8px 8px 0 0}
html[data-style="google"] .more{border-radius:28px 28px 0 0;background:var(--panel2)}
html[data-style="apple"] .more{background:var(--bg)}
.more .grp{background:var(--panel);border-radius:var(--r);overflow:hidden;margin-bottom:12px}
html[data-style="google"] .more .grp{background:transparent}
.more .it{display:flex;align-items:center;gap:14px;width:100%;min-height:50px;padding:0 16px;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);font-weight:600;text-decoration:none;cursor:pointer;text-align:left}
.more .it:first-child{border-top:0}
html[data-style="google"] .more .it{border-top:0;border-radius:999px;min-height:52px}
.more .it svg{width:22px;height:22px;color:var(--green2)}
html[data-mode="dark"] .more .it svg{color:#7FD1A8}
.more .it[aria-current="page"]{background:var(--sel)}
.more .it .chev{margin-left:auto;color:var(--soft);width:16px;height:16px}
.more .who2{display:flex;align-items:center;gap:12px;padding:6px 6px 14px}
.more .who2 .av{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--orange);color:var(--on-or);font-weight:750;font-size:17px}
.more .who2 b{display:block}.more .who2 span{color:var(--muted);font-size:13px}
.more .seg{width:100%}.more .seg button{flex:1}
.more h3{margin:6px 6px 8px;font-size:12.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}

/* Concierge: jump anywhere, quick actions */
.cmd{position:fixed;left:50%;top:12vh;transform:translateX(-50%);width:min(640px,calc(100vw - 24px));max-height:70vh;display:flex;flex-direction:column;background:var(--panel);border-radius:var(--r);z-index:61;box-shadow:0 30px 80px rgba(0,0,0,.35);overflow:hidden;animation:pop2 .16s ease;border:1px solid var(--line)}
@keyframes pop2{from{transform:translate(-50%,-8px);opacity:0}}
html[data-style="google"] .cmd{border-radius:28px;border:0}
html[data-style="microsoft"] .cmd{border-radius:8px}
.cmd+.scrim,.scrim.cmdscrim{z-index:60}
.cmd .q{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line)}
.cmd .q svg{width:22px;height:22px;color:var(--orange)}
.cmd .q input{flex:1;border:0;outline:0;background:none;font-size:17px;font-weight:500;min-width:0}
.cmd .q kbd{font:600 11.5px/1 var(--font);padding:4px 6px;border-radius:6px;border:1px solid var(--line);color:var(--muted)}
.cmd .res{overflow:auto;padding:6px 8px 10px;overscroll-behavior:contain}
.cmd h3{margin:10px 10px 4px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.cmd .o{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:6px 10px;border:0;border-radius:var(--r2);background:none;text-align:left;cursor:pointer;color:var(--ink)}
.cmd .o .i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--green-t);color:var(--green2);flex:none}
html[data-mode="dark"] .cmd .o .i{color:#7FD1A8}
.cmd .o .i.a{background:var(--orange-t);color:var(--orange-ink)}
.cmd .o .i svg{width:18px;height:18px}
.cmd .o .t{flex:1;min-width:0}.cmd .o .t b{display:block;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmd .o .t small{color:var(--muted)}
.cmd .o[aria-selected="true"]{background:var(--sel)}
html[data-style="microsoft"] .cmd .o[aria-selected="true"]{box-shadow:inset 3px 0 0 var(--orange)}
.cmd .foot{display:flex;gap:16px;padding:9px 18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);background:var(--panel2)}
html[data-lay="phone"] .cmd{top:0;left:0;transform:none;width:100vw;max-height:100%;height:100%;border-radius:0;border:0;padding-top:env(safe-area-inset-top);animation:fd .15s}
html[data-lay="phone"] .cmd .foot{display:none}

/* Look picker (Settings) */
.looks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.look{display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:var(--r2);border:1.5px solid var(--line);background:var(--panel);cursor:pointer;text-align:left;min-width:0}
.look[aria-pressed="true"]{border-color:var(--orange);box-shadow:0 0 0 3px rgba(240,138,36,.22)}
.look b{font-size:13.5px;padding:0 4px}.look small{display:block;font-size:11.5px;color:var(--muted);font-weight:500;padding:0 4px 2px}
.look .mini{height:74px;border-radius:7px;background:var(--bg);display:grid;grid-template-columns:26% 1fr;overflow:hidden;border:1px solid var(--line)}
.look .mini .ms{background:var(--chrome);padding:8px 5px;display:flex;flex-direction:column;gap:4px}
.look .mini .ms i{height:6px;background:var(--c-mute);opacity:.5}
.look .mini .ms i.on{background:var(--orange);opacity:1}
.look .mini .mm{padding:8px;display:flex;flex-direction:column;gap:5px}
.look .mini .mm i{display:block;height:7px;background:var(--line)}
.look .mini .mm u{display:block;height:20px;background:var(--panel);border:1px solid var(--line)}
.look .mini .mm em{display:block;width:34px;height:10px;background:var(--orange)}
.look[data-k="apple"] .mini .ms i{border-radius:3px}.look[data-k="apple"] .mini .mm u{border-radius:5px}.look[data-k="apple"] .mini .mm em{border-radius:3px}.look[data-k="apple"] .mini .mm i:first-child{height:10px;width:60%;border-radius:3px;background:var(--ink);opacity:.8}
.look[data-k="microsoft"] .mini .ms i{border-radius:1px}.look[data-k="microsoft"] .mini .ms i.on{box-shadow:-3px 0 0 var(--orange);background:var(--c-mute);opacity:.8}.look[data-k="microsoft"] .mini .mm u{border-radius:2px}.look[data-k="microsoft"] .mini .mm em{border-radius:1px}
.look[data-k="google"] .mini .ms i{border-radius:9px;height:8px}.look[data-k="google"] .mini .mm u{border-radius:8px;border:0;background:var(--panel2)}.look[data-k="google"] .mini .mm em{border-radius:9px;width:40px}
.tones{display:flex;gap:10px;flex-wrap:wrap}
.tone{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 8px;border-radius:999px;border:1.5px solid var(--line);background:var(--panel);cursor:pointer;font-weight:650}
.tone[aria-pressed="true"]{border-color:var(--orange);box-shadow:0 0 0 3px rgba(240,138,36,.22)}
.tone i{width:28px;height:28px;border-radius:50%;position:relative;overflow:hidden;border:1px solid rgba(0,0,0,.12);flex:none}
.tone i:after{content:"";position:absolute;right:0;bottom:0;width:50%;height:50%;background:#F08A24}
.tone[data-k="green"] i{background:#0F3D2E}.tone[data-k="black"] i{background:#0B0D0C}.tone[data-k="white"] i{background:#fff}
.lookrow{display:flex;flex-direction:column;gap:8px}
.lookrow>.lab{font-size:13px;font-weight:650;color:var(--muted)}

/* sign in */
.gate{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(1200px 600px at 85% -10%,rgba(240,138,36,.25),transparent 60%),linear-gradient(160deg,var(--chrome) 0%,var(--chrome2) 70%)}
html[data-tone="white"] .gate{background:radial-gradient(1200px 600px at 85% -10%,rgba(240,138,36,.18),transparent 60%),linear-gradient(160deg,#0F3D2E 0%,#0A2A20 70%)}
.gate .card{width:min(420px,100%);padding:28px}
html[data-style="google"] .gate .card{border-radius:28px}
.gate .mark{display:flex;align-items:center;gap:12px;margin-bottom:18px}.gate .mark img{width:46px;height:46px;border-radius:12px}
.gate h1{margin:0;font:750 24px/1.15 var(--fontd);letter-spacing:-.02em}
html[data-style="google"] .gate h1{font-weight:500;letter-spacing:0}
html[data-style="microsoft"] .gate h1{font-weight:600}
.gate p{margin:4px 0 0;color:var(--muted)}
.gate form{display:flex;flex-direction:column;gap:14px}
.gate .tag{margin:18px 0 0;text-align:center;font-size:12.5px;color:var(--muted)}

/* ---------- 13. invoice (print) ---------- */
.invwrap{position:fixed;inset:0;z-index:70;background:var(--bg);overflow:auto;padding:20px}
.inv{max-width:760px;margin:0 auto;background:#fff;color:#14211C;border-radius:12px;padding:40px 44px;box-shadow:var(--shadow)}
.inv .top{display:flex;justify-content:space-between;gap:20px;border-bottom:3px solid #0F3D2E;padding-bottom:18px}
.inv h1{margin:0;font:750 30px/1 var(--fontd);color:#0F3D2E}
.inv table{width:100%;border-collapse:collapse;margin-top:24px}.inv th,.inv td{padding:10px 8px;border-bottom:1px solid #DDE3DF;text-align:left}.inv .rt{text-align:right}
.inv .tot{font-size:20px;font-weight:750}
.inv .paid{display:inline-block;margin-top:18px;padding:6px 14px;border:2px solid #1E7A4F;color:#1E7A4F;border-radius:8px;font-weight:800;letter-spacing:.04em}
.invbar{max-width:760px;margin:0 auto 14px;display:flex;gap:8px;justify-content:flex-end}
@media print{body *{visibility:hidden}.inv,.inv *{visibility:visible}.inv{position:absolute;left:0;top:0;box-shadow:none;border-radius:0;max-width:none;width:100%}.invbar{display:none}}

/* ---------- 14. widths ---------- */
@media (max-width:1240px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:1080px){.cols{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){.look .mini{height:60px}.look small{display:none}}
html[data-lay="phone"] .ph h1{font-size:26px}
html[data-lay="phone"] .grid2,html[data-lay="phone"] .grid3,html[data-lay="phone"] .checks{grid-template-columns:minmax(0,1fr)}
html[data-lay="phone"] .tb.cl thead{display:none}
html[data-lay="phone"] .tb.cl tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:12px 4px;border-bottom:1px solid var(--line)}
html[data-lay="phone"] .tb.cl tr:last-child{border-bottom:0}
html[data-lay="phone"] .tb.cl td{border:0;padding:0}
html[data-lay="phone"] .tb.cl td.hm{display:none}
html[data-lay="phone"] .tb.cl td.stc{display:flex;flex-direction:column;align-items:flex-end;gap:4px;white-space:normal}
html[data-lay="phone"] .track{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}
html[data-lay="phone"] .track:before,html[data-lay="phone"] .track .fill{display:none}
html[data-lay="phone"] .runway .v{font-size:28px}
html[data-lay="phone"] .card{padding:16px}
html[data-lay="phone"] .looks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html[data-lay="phone"] .look .mini{height:52px}
html[data-lay="phone"] .look small{display:none}
@media (max-width:420px){.kpis{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.kpi b{font-size:21px}.ph .acts{width:100%}.ph .acts .btn{flex:1}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.md{font-size:14px;line-height:1.5;max-height:240px;overflow:auto;background:var(--panel2);padding:10px 14px;border-radius:var(--r2)}.md h4{margin:10px 0 4px;font-size:14.5px}.md h4:first-child{margin-top:0}.md p{margin:4px 0}.md ul{margin:4px 0;padding-left:20px}.md code{font-size:12.5px;background:var(--panel);padding:1px 5px;border-radius:5px}
.m11r .r{min-width:150px}.m11s{min-height:36px;padding:5px 10px;font-size:14px}
html[data-style="google"] .m11s{min-height:40px;padding:8px 12px}
.m11r .t small b{display:inline}
/* phone: Microsoft and Google show the page name in the top bar, so the page heading steps aside */
html[data-lay="phone"][data-style="google"] .ph h1,html[data-lay="phone"][data-style="microsoft"] .ph h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html[data-lay="phone"][data-style="google"] .ph,html[data-lay="phone"][data-style="microsoft"] .ph{margin-bottom:14px}
html[data-lay="phone"][data-style="microsoft"] .ph{padding-bottom:12px}

/* ---------- 1.3.0 · Ostro (OSNL-OS updates) ---------- */
.ostro{position:relative;overflow:hidden;border-left:4px solid var(--orange)}
html[data-style="google"] .ostro{border-left:0;background:linear-gradient(135deg,var(--orange-t),var(--panel) 60%)}
html[data-style="microsoft"] .ostro{border-left-width:3px}
a.card.ostro:hover{box-shadow:0 0 0 2px var(--orange),var(--shadow)}
.ostro .ov{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.ostro .ov b{font:750 30px/1.1 var(--fontd);letter-spacing:-.02em}
html[data-style="google"] .ostro .ov b{font-weight:500;letter-spacing:0}
html[data-style="microsoft"] .ostro .ov b{font-weight:600}
.warnbox{background:var(--warn-t);color:var(--warn);padding:10px 12px;border-radius:var(--r2);font-weight:600;font-size:14px;overflow-wrap:anywhere}
.err{overflow-wrap:anywhere}
.tb tr.ostrorow td{background:color-mix(in srgb,var(--orange-t) 45%,transparent)}
.tb tr.ostrorow td:first-child{box-shadow:inset 3px 0 0 var(--orange)}
.actlog .row .t b{white-space:normal;overflow-wrap:anywhere}
html[data-lay="phone"] .tb tr.ostrorow{background:color-mix(in srgb,var(--orange-t) 45%,transparent);box-shadow:inset 3px 0 0 var(--orange);border-radius:var(--r2);padding-left:10px}
html[data-lay="phone"] .tb tr.ostrorow td{background:none;box-shadow:none}
/* 1.4.0 · release signing */
.sign .key code{font-size:14px;letter-spacing:.02em}
html[data-lay="phone"] .sign .key{flex-direction:column;align-items:stretch}
/* 1.5.0 · Update HQ */
.okbox{background:var(--ok-t);color:var(--ok);padding:10px 12px;border-radius:var(--r2);font-weight:600;font-size:14px;overflow-wrap:anywhere}
.hqu .drop{padding:18px}
