/* AEVYX app preview.
   Colours: black-widget data tokens (aevyx-app-landing/STYLE-GUIDE.md) plus iOS dark system colours.
   Type: iOS Dynamic Type at the default size. SF Pro on Apple devices; elsewhere bundled Inter (opsz) with SF's tracking.
   Spacing: 16 side margins (20 under large titles), 44 / 52 rows, 35 between sections, 0.33 hairlines.
   Liquid Glass is the navigation layer only (nav buttons, tab bar, search, sheet). Radii are concentric. */

@font-face{font-family:"Geist Mono";src:url(fonts/GeistMono-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:block}
@font-face{font-family:"Geist Mono";src:url(fonts/GeistMono-Light.woff2) format("woff2");font-weight:300;font-style:normal;font-display:block}
/* Inter 4 (SIL OFL), variable weight and optical size; only used where SF Pro is not installed */
@font-face{font-family:"Inter Preview";src:url(fonts/Inter-opsz-latin.woff2) format("woff2-variations"),url(fonts/Inter-opsz-latin.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:block;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Preview";src:url(fonts/Inter-opsz-latin-ext.woff2) format("woff2-variations"),url(fonts/Inter-opsz-latin-ext.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:block;
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  /* iOS dark system colours */
  --bg:#000; --cell:#1c1c1e; --cell-2:#2c2c2e; --fill:rgba(118,118,128,.24); --fill-2:rgba(118,118,128,.32);
  --sep:rgba(84,84,88,.65); --label:#fff; --label-2:rgba(235,235,245,.6); --label-3:rgba(235,235,245,.3);
  --tint:#0a84ff; --switch:#30d158;
  /* data accents (STYLE-GUIDE.md): carry data only */
  --c-track:#2a2a2e; --c-green:#3ddc84; --c-cyan:#22d3ee; --c-amber:#ffb020; --c-magenta:#ff2d95; --c-red:#ff3b47; --c-violet:#9b6bff; --c-blue:#4f7bff;

  /* system first, so Apple devices get SF Pro; no Segoe UI anywhere in the chain */
  --f-sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter Preview",Inter,sans-serif;
  --f-mono:ui-monospace,"SF Mono","Geist Mono",Menlo,monospace;

  /* geometry: device 55; sheet inset 8 -> 47; tab bar inset 23 -> 32, selected pill 4 in -> 28;
     card 26 with 16 padding -> 10 inside; sheet 47 with 20 padding -> 27 inside */
  --r-device:55px; --r-frame:66px;
  --r-tile:26px; --p-tile:16px; --r-in:calc(var(--r-tile) - var(--p-tile));
  --r-sheet:calc(var(--r-device) - 8px); --p-sheet:20px; --r-sheet-in:calc(var(--r-sheet) - var(--p-sheet));
  --margin:16px; --section:35px;
  --ease:cubic-bezier(.25,.1,.25,1);
}

/* continuous (squircle) corners where the engine supports them, radius scaled to match the iOS visual size */
.sq{border-radius:var(--r)}
@supports (corner-shape:superellipse(1.5)){.sq{corner-shape:superellipse(1.45);border-radius:calc(var(--r) * 1.16)}}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:#000;color:var(--label);font-family:var(--f-sans);font-optical-sizing:auto;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;
  font-size:17px;line-height:22px;letter-spacing:-.43px}
body{display:flex;align-items:center;justify-content:center;min-height:100vh;overflow:hidden}
button{font:inherit;letter-spacing:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
svg{display:block}

/* ---------- Dynamic Type (default size), SF tracking ---------- */
.large-title,.lt{font-size:34px;line-height:41px;font-weight:700;letter-spacing:-.4px}
.title1{font-size:28px;line-height:34px;font-weight:400;letter-spacing:-.45px}
.title2,.sec h2{font-size:22px;line-height:28px;font-weight:700;letter-spacing:-.42px}
.title3{font-size:20px;line-height:25px;font-weight:400;letter-spacing:-.45px}
.headline{font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.43px}
.body{font-size:17px;line-height:22px;font-weight:400;letter-spacing:-.43px}
.callout{font-size:16px;line-height:21px;font-weight:400;letter-spacing:-.31px}
.subhead{font-size:15px;line-height:20px;font-weight:400;letter-spacing:-.24px}
.footnote,.sub{font-size:13px;line-height:18px;font-weight:400;letter-spacing:-.08px}
.caption1{font-size:12px;line-height:16px;font-weight:400;letter-spacing:0}
.caption2{font-size:11px;line-height:13px;font-weight:400;letter-spacing:.06px}
/* inline sizes in the markup pick up the same tracking */
[style*="font-size:17px"]{letter-spacing:-.43px} [style*="font-size:16px"]{letter-spacing:-.31px}
[style*="font-size:15px"]{letter-spacing:-.24px} [style*="font-size:13px"]{letter-spacing:-.08px}
[style*="font-size:12px"]{letter-spacing:0} [style*="font-size:11px"]{letter-spacing:.06px}
.mono{font-family:var(--f-mono);font-variant-numeric:tabular-nums;letter-spacing:-.02em}

/* ---------- page ---------- */
.caption{position:fixed;left:40px;bottom:36px;max-width:300px;color:#6b6b75;font-size:12px;line-height:16px;letter-spacing:0}
.caption b{display:block;color:#a1a1aa;font-weight:600;font-size:13px;margin-bottom:2px}
.caption .k{font-family:var(--f-mono);font-size:11px;color:#a1a1aa}
@media (max-width:760px){.caption{display:none}}

/* ---------- device ---------- */
.frame{--r:var(--r-frame);position:relative;padding:11px;background:#0d0d0f;box-shadow:inset 0 0 0 1px #2e2e33,inset 0 0 0 2px #050506,0 0 0 1px #17171a,0 50px 140px rgba(0,0,0,.9)}
.btn-side{position:absolute;width:3px;background:#1c1c20;border-radius:2px}
.device{--r:var(--r-device);position:relative;width:393px;height:852px;overflow:hidden;background:#000;isolation:isolate}
.island{position:absolute;top:11px;left:50%;width:126px;height:37px;margin-left:-63px;border-radius:20px;background:#000;z-index:60}
.status{position:absolute;inset:0 0 auto 0;height:54px;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:0 30px 0 50px;pointer-events:none}
.status .time{font-size:17px;font-weight:600;letter-spacing:-.43px;width:54px;text-align:center}
.status .sys{display:flex;gap:6px;align-items:center}
.home-ind{position:absolute;bottom:8px;left:50%;width:139px;height:5px;margin-left:-69.5px;border-radius:3px;background:#fff;z-index:70;pointer-events:none}

/* ---------- Liquid Glass (navigation layer only) ---------- */
.glass{position:relative;background:rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(18px) saturate(170%) brightness(1.08);backdrop-filter:blur(18px) saturate(170%) brightness(1.08);
  box-shadow:inset 0 0 0 .5px rgba(255,255,255,.07),0 10px 30px rgba(0,0,0,.45)}
.glass::before{content:"";position:absolute;inset:0;border-radius:inherit;corner-shape:inherit;pointer-events:none;padding:1px;
  background:linear-gradient(162deg,rgba(255,255,255,.45) 0%,rgba(255,255,255,.07) 26%,rgba(255,255,255,0) 52%,rgba(255,255,255,.05) 80%,rgba(255,255,255,.24) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.glass::after{content:"";position:absolute;inset:0;border-radius:inherit;corner-shape:inherit;pointer-events:none;background:radial-gradient(120% 60% at 30% -10%,rgba(255,255,255,.10),transparent 60%)}

/* scroll edge effects (iOS 26) */
.edge-top{position:absolute;inset:0 0 auto 0;height:112px;z-index:40;pointer-events:none;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  -webkit-mask:linear-gradient(#000 0,#000 52%,transparent 100%);mask:linear-gradient(#000 0,#000 52%,transparent 100%);
  background:linear-gradient(rgba(0,0,0,.92),rgba(0,0,0,.62) 60%,transparent);opacity:0;transition:opacity .18s var(--ease)}
.edge-bot{position:absolute;inset:auto 0 0 0;height:104px;z-index:40;pointer-events:none;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  -webkit-mask:linear-gradient(transparent 0,#000 55%);mask:linear-gradient(transparent 0,#000 55%);background:linear-gradient(transparent,rgba(0,0,0,.88) 70%)}
.device.scrolled .edge-top{opacity:1}

/* ---------- navigation bar: 44 high under the status bar, glass bar items 44x44 at 16 from the edge ---------- */
.navbar{position:absolute;top:54px;left:0;right:0;height:44px;z-index:45;display:flex;align-items:center;justify-content:flex-end;padding:0 var(--margin);gap:8px;pointer-events:none}
.navbar>*{pointer-events:auto}
.navbar .compact{position:absolute;left:0;right:0;text-align:center;font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.43px;opacity:0;transform:translateY(4px);transition:opacity .18s var(--ease),transform .18s var(--ease);pointer-events:none}
.device.scrolled .navbar .compact{opacity:1;transform:none}
.nbtn{--r:22px;width:44px;height:44px;display:grid;place-items:center;color:#fff;transition:transform .12s var(--ease),filter .12s var(--ease)}
.nbtn:active{transform:scale(.94);filter:brightness(1.3)}
.avatar-btn{font-size:15px;font-weight:600;letter-spacing:-.24px}

/* ---------- screens ---------- */
.screens{position:absolute;inset:0}
.screen{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;padding:98px var(--margin) 128px;display:none}
.screen::-webkit-scrollbar{display:none}
.screen.on{display:block;animation:enter .2s var(--ease)}
@keyframes enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* large title: 20 from the screen edge (16 margin + 4) */
.lt{padding:3px 4px 0}
.lsub{display:flex;align-items:baseline;gap:8px;padding:0 4px;font-size:15px;line-height:20px;letter-spacing:-.24px;color:var(--label-2)}
.sample{font-size:11px;line-height:13px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;color:#6b6b75;margin-left:auto}
.foot{margin:var(--section) 0 0;text-align:center;font-size:12px;line-height:16px;letter-spacing:0;color:#6b6b75}

/* section header (Health): Title 2 bold at 20 from the edge, plain text button right; 35 between sections */
.sec{display:flex;align-items:center;justify-content:space-between;margin:var(--section) 4px 8px;min-height:28px}
.sec .meta{font-size:15px;line-height:20px;letter-spacing:-.24px;color:var(--label-2)}
/* plain text button: Body in tint, 44 hit area */
.tbtn{position:relative;color:var(--tint);font-size:17px;line-height:22px;font-weight:400;letter-spacing:-.43px;transition:opacity .12s}
.tbtn::after{content:"";position:absolute;inset:-11px -8px}
.tbtn:active{opacity:.35}
/* footer under a grouped list (Settings): Footnote, 16 inside the list edge, 7 below it */
.lfoot{font-size:13px;line-height:18px;letter-spacing:-.08px;color:var(--label-2);padding:7px var(--margin) 0}

/* ---------- Health / Stocks chart cards ---------- */
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.grid.first{margin-top:20px}
.span2{grid-column:span 2}
.tile{--r:var(--r-tile);position:relative;background:var(--cell);padding:12px var(--p-tile) var(--p-tile);display:flex;flex-direction:column;gap:10px;min-width:0}
.tile.tight{gap:8px}
.hh{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px}
.hh .cat{display:flex;align-items:center;gap:5px;font-size:15px;line-height:20px;font-weight:600;letter-spacing:-.24px;white-space:nowrap}
.hh .when{display:flex;align-items:center;gap:5px;font-size:13px;line-height:18px;letter-spacing:-.08px;color:var(--label-2);white-space:nowrap}
.hh .when svg{color:var(--label-3)}
.fig{font-family:var(--f-mono);font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.045em;line-height:1;white-space:nowrap}
.fig .cur{font-family:var(--f-sans);font-weight:600;letter-spacing:0;font-size:.8em;margin-right:.04em}
.fig .u{font-family:var(--f-sans);font-weight:600;letter-spacing:0;font-size:max(13px,.36em);color:var(--label-2);margin-left:.2em}
.f-xl{font-size:46px} .f-l{font-size:38px} .f-m{font-size:28px} .f-s{font-size:20px}
.tag{display:inline-flex;align-items:center;gap:5px;font-size:13px;line-height:18px;font-weight:600;letter-spacing:-.08px;white-space:nowrap}
.tag i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 7px currentColor}
.sub b{color:#fff;font-weight:600}
.ticks{display:flex;justify-content:space-between;font-family:var(--f-mono);font-weight:300;font-size:11px;line-height:13px;letter-spacing:0;color:#6b6b75}
.pos{color:var(--c-green)} .neg{color:var(--c-red)} .amb{color:var(--c-amber)} .mag{color:var(--c-magenta)} .cya{color:var(--c-cyan)} .vio{color:var(--c-violet)}
/* Stocks-style stat grid */
.stats{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;position:relative;padding-top:2px}
.stats::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--sep);transform:scaleY(.33);transform-origin:top}
.stats div{position:relative;display:flex;align-items:baseline;justify-content:space-between;min-height:36px;padding:8px 0;font-size:13px;line-height:18px;letter-spacing:-.08px;color:var(--label-2)}
.stats div:nth-child(-n+2)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--sep);transform:scaleY(.33);transform-origin:bottom}
.stats b{font-family:var(--f-mono);font-weight:500;font-size:15px;color:#fff;letter-spacing:-.02em}
.inner{--r:var(--r-in);background:var(--cell-2)}

/* ---------- inset grouped list (Settings) ---------- */
.list{--r:var(--r-tile);position:relative;background:var(--cell);overflow:hidden}
.row{display:flex;align-items:center;gap:16px;min-height:44px;padding:6px 16px;position:relative;width:100%;text-align:left;transition:background .1s}
.row.sub2{min-height:52px}
.row+.row::before{content:"";position:absolute;top:0;right:0;left:var(--sep-l,61px);height:1px;background:var(--sep);transform:scaleY(.33);transform-origin:top}
button.row:active,.row.tap:active{background:#3a3a3c}
.ico{--r:7px;width:29px;height:29px;flex:none;display:grid;place-items:center;color:#fff}
.row .t{flex:1;min-width:0;padding:5px 0}
.row .t1{font-size:17px;line-height:22px;font-weight:400;letter-spacing:-.43px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .t2{font-size:13px;line-height:18px;letter-spacing:-.08px;color:var(--label-2)}
.row .end{display:flex;align-items:center;gap:6px;color:var(--label-2);flex:none;font-size:17px;line-height:22px;letter-spacing:-.43px}
.row .amt{font-family:var(--f-mono);font-weight:500;font-size:15px;letter-spacing:-.02em;color:#fff;text-align:right}
.chev{color:var(--label-3);display:inline-flex}
.av{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:50%;background:linear-gradient(#8e8e93,#636366);font-size:15px;font-weight:600;letter-spacing:-.24px;color:#fff}

/* ---------- controls ---------- */
/* press feedback shared by every button: darken and 0.97 scale */
.btn,.get,.key,.stepper button{transition:transform .1s var(--ease),filter .1s var(--ease),background-color .1s}
.btn:active:not(:disabled),.get:active{transform:scale(.97);filter:brightness(.8)}
/* segmented control: 32 high, 2 inset, capsule thumb (iOS 26), Footnote semibold on the thumb */
.seg{display:flex;padding:2px;height:32px;border-radius:16px;background:var(--fill)}
.seg button{flex:1;font-size:13px;line-height:18px;font-weight:500;letter-spacing:-.08px;border-radius:14px;color:#fff;position:relative;transition:background-color .15s}
.seg button.on{background:#636366;font-weight:600;box-shadow:0 3px 8px rgba(0,0,0,.12),0 3px 1px rgba(0,0,0,.04)}
.lsub+.seg{margin-top:16px}
/* GET-style grey capsule (App Store): 30 high, Subheadline bold, tint text */
.get{position:relative;display:inline-flex;align-items:center;justify-content:center;height:30px;min-width:74px;padding:0 15px;border-radius:15px;background:var(--fill-2);color:var(--tint);font-size:15px;line-height:20px;font-weight:700;letter-spacing:-.24px;white-space:nowrap;flex:none}
.get::after{content:"";position:absolute;inset:-7px -4px}
/* capsule buttons: large 50 (Headline), medium 34 (Subheadline semibold), small 28 (Subheadline semibold) */
.btn{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:50px;border-radius:25px;padding:0 20px;font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.43px}
.btn.medium{width:auto;height:34px;border-radius:17px;padding:0 14px;font-size:15px;line-height:20px;letter-spacing:-.24px}
.btn.small{width:auto;height:28px;border-radius:14px;padding:0 11px;font-size:15px;line-height:20px;letter-spacing:-.24px}
.btn.medium::after{content:"";position:absolute;inset:-5px 0}
.btn.small::after{content:"";position:absolute;inset:-8px 0}
.btn.filled{background:var(--tint);color:#fff}
.btn.tinted{background:rgba(10,132,255,.15);color:#3d9cff}
.btn.gray{background:var(--fill);color:#fff}
.btn:disabled{cursor:default}
/* switch: 51x31, 27 knob */
.switch{width:51px;height:31px;border-radius:16px;background:var(--switch);position:relative;flex:none}
.switch::after{content:"";position:absolute;top:2px;left:22px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15),0 3px 1px rgba(0,0,0,.06)}
.switch.off{background:var(--fill-2)} .switch.off::after{left:2px}
/* stepper: 94x32, two 47 halves, hairline divider */
.stepper{display:flex;align-items:center;width:94px;height:32px;border-radius:16px;background:var(--fill);flex:none;overflow:hidden}
.stepper button{width:47px;height:32px;display:grid;place-items:center;color:#fff}
.stepper button:active{background:rgba(255,255,255,.12)}
.stepper i{width:1px;height:18px;background:var(--label-3);transform:scaleX(.5)}
/* selection circle (Mail) */
.check{width:24px;height:24px;border-radius:50%;flex:none;display:grid;place-items:center;border:1.5px solid var(--label-3)}
.check.on{background:var(--tint);border-color:var(--tint);color:#fff}
/* search field (iOS 26: glass capsule 44 high) */
.search{--r:22px;height:44px;display:flex;align-items:center;gap:7px;padding:0 14px;margin-top:16px;color:var(--label-2);font-size:17px;line-height:22px;letter-spacing:-.43px}

/* ---------- tab bar ---------- */
.tabbar{--r:32px;position:absolute;left:23px;right:23px;bottom:23px;height:64px;z-index:55;display:flex;padding:4px;
  background:rgba(28,28,30,.55);-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%)}
.tabbar .lozenge{--r:28px;position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px) / 5);background:rgba(255,255,255,.12);
  box-shadow:inset 0 .5px 0 rgba(255,255,255,.4),inset 0 -.5px 0 rgba(255,255,255,.08);transition:transform .32s cubic-bezier(.3,1.25,.5,1)}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#fff;position:relative;z-index:1;transition:transform .1s}
.tab:active{transform:scale(.94)}
.tab span{font-size:10px;line-height:12px;font-weight:600;letter-spacing:.1px}
.tab.on{color:var(--tint)}
.tab .f{display:none} .tab.on .f{display:block} .tab.on .o{display:none}

/* ---------- sheet ---------- */
.scrim{position:absolute;inset:0;z-index:80;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .25s var(--ease)}
.sheet{--r:var(--r-sheet);position:absolute;left:8px;right:8px;bottom:8px;z-index:90;padding:5px var(--p-sheet) 20px;
  background:rgba(30,30,33,.74);-webkit-backdrop-filter:blur(40px) saturate(180%);backdrop-filter:blur(40px) saturate(180%);
  transform:translateY(110%);transition:transform .42s cubic-bezier(.32,.72,0,1)}
.open .scrim{opacity:1;pointer-events:auto}
.open .sheet{transform:none}
.grab{width:36px;height:5px;border-radius:3px;background:rgba(255,255,255,.3);margin:0 auto 3px}
.sheet-head{display:flex;align-items:center;justify-content:space-between;height:44px;margin:0 -4px 12px}
.sheet-head h3{font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.43px}
.sheet-head .nbtn{--r:22px}
.sum{--r:var(--r-sheet-in);background:rgba(255,255,255,.07);padding:14px 16px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.sheet p.copy{font-size:15px;line-height:20px;letter-spacing:-.24px;color:var(--label-2);margin:16px 8px;text-align:center}
.sheet p.copy b{color:#fff;font-weight:600}
.codes{display:flex;gap:8px;justify-content:center}
.codes .c{--r:10px;width:44px;height:54px;display:grid;place-items:center;background:var(--fill);font-family:var(--f-mono);font-size:28px;font-weight:500;transition:box-shadow .15s var(--ease)}
.codes .c.cur{box-shadow:inset 0 0 0 2px var(--tint)}
.codes .c.cur::after{content:"";width:2px;height:26px;border-radius:1px;background:var(--tint);animation:blink 1s steps(1) infinite}
.codes.ok .c{box-shadow:inset 0 0 0 2px var(--c-green);color:var(--c-green)}
.codes .gap{width:8px}
@keyframes blink{50%{opacity:0}}
.hint{display:flex;justify-content:center;align-items:center;gap:8px;margin:12px 0;font-size:13px;line-height:18px;letter-spacing:-.08px;color:var(--label-2)}
.hint .tbtn{font-size:13px;line-height:18px;letter-spacing:-.08px}
/* system number pad (phone pad): keys 46 high, 6 apart, Title 2 light digits */
.pad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px 6px;margin:0 -14px}
.key{height:46px;border-radius:8px;background:rgba(255,255,255,.22);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;box-shadow:0 1px 0 rgba(0,0,0,.35)}
.key:active{background:rgba(255,255,255,.4)}
.key b{font-size:25px;font-weight:400;letter-spacing:0;line-height:28px}
.key small{font-size:10px;font-weight:700;letter-spacing:2px;line-height:11px;margin-top:-1px}
.key.blank,.key.fn{background:none;box-shadow:none}
.key.blank{pointer-events:none}

/* Reduced motion takes the movement away, never the animation itself: several things on these pages are
   painted only by an animation's forwards fill - the front-door headline words, the journey stamps, the paid
   tick, the drawn flow lines - and animation:none left every one of them frozen on its hidden first frame,
   invisible rather than still. Duration and delay go to nothing instead, so they all land on their finished
   state at once. Anything that must truly not animate names itself (see app.css). */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}}
.still *,.still *::before,.still *::after{animation:none!important;transition:none!important}
.row .t:has(.t2){padding:3px 0}
.sub{color:var(--label-2)}

/* ================= iOS 26 kit pass (ref-266) ================= */
/* lists: 26 continuous corners, 52 rows, separators inset on both sides */
.row{min-height:52px;padding:8px 16px}
.row .t{padding:3px 0}
.row .t:has(.t2){padding:1px 0}
.row+.row::before{right:16px}
/* group header: grey, sentence case, aligned with row text; footer under the group */
.sec{margin:var(--section) 0 8px;padding:0 16px;min-height:22px;align-items:baseline}
.sec h2{font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.43px;color:var(--label-2)}
.sec .tbtn,.sec .meta{font-size:15px;line-height:20px;letter-spacing:-.24px}
.lfoot{padding:7px 16px 0}
/* trailing pop-up button: detail text plus chevron.up.chevron.down */
.popup{gap:4px} .popup svg{color:var(--label-2)}
/* iOS 26 switch: 64x28 capsule with a 38x24 capsule knob */
.switch{width:64px;height:28px;border-radius:14px}
.switch::after{top:2px;left:24px;width:38px;height:24px;border-radius:12px}
.switch.off{background:var(--fill-2)} .switch.off::after{left:2px}
/* slider with tick marks: 6 track, tint fill, white capsule thumb */
.slider-row{gap:12px;min-height:48px}
.slider{position:relative;flex:1;height:6px;border-radius:3px;background:var(--fill-2)}
.slider .fill{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:var(--tint)}
.slider i{position:absolute;top:50%;width:3px;height:3px;margin:-1.5px 0 0 -1.5px;border-radius:50%;background:var(--tint)}
.slider i.on{background:rgba(255,255,255,.55)}
.slider i:first-of-type,.slider i:last-of-type{display:none}
.slider .thumb{position:absolute;top:50%;width:38px;height:24px;margin:-12px 0 0 -19px;border-radius:12px;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.25),0 .5px 2px rgba(0,0,0,.2)}
/* destructive: centred red row inside a group, and a full-width capsule on the cell colour */
.destr-row{justify-content:center;color:var(--c-red);font-size:17px;line-height:22px;letter-spacing:-.43px}
.btn.destr{background:var(--cell);color:var(--c-red)}
/* sheet header (kit): thumbnail, title and subtitle, round close button on the right */
.sheet-head{display:flex;align-items:center;gap:12px;height:auto;min-height:56px;margin:6px 0 14px}
.sheet-head .thumb{--r:13px;width:56px;height:56px;flex:none;display:grid;place-items:center;color:#fff}
.sh-t{flex:1;min-width:0}
.sh-t h3{font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.43px}
.sh-s{font-size:15px;line-height:20px;letter-spacing:-.24px;color:var(--label-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xbtn{position:relative;width:36px;height:36px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--fill-2);color:rgba(235,235,245,.8);transition:transform .1s,filter .1s}
.xbtn::after{content:"";position:absolute;inset:-4px}
.xbtn:active{transform:scale(.94);filter:brightness(1.3)}
.sh-rule{height:1px;background:var(--sep);transform:scaleY(.33);margin:0 calc(var(--p-sheet) * -1)}
.people{display:flex;justify-content:space-between;padding:14px 4px}
.person{width:72px;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;line-height:13px;letter-spacing:.06px;text-align:center;color:#fff}
.av.big{width:60px;height:60px;font-size:20px;letter-spacing:-.45px}
.acts{display:flex;justify-content:space-between;padding:16px 4px 18px}
.act{width:72px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11px;line-height:13px;letter-spacing:.06px;color:#fff}
.act .circ{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1);
  box-shadow:inset 0 .5px 0 rgba(255,255,255,.3),inset 0 0 0 .5px rgba(255,255,255,.06);transition:transform .1s,filter .1s}
.act:active .circ{transform:scale(.94);filter:brightness(1.4)}
.list.in-sheet{--r:var(--r-sheet-in);background:rgba(255,255,255,.08)}
.arow{gap:14px;min-height:48px}
.arow svg{flex:none;color:#fff}
.arow .t1{font-size:17px;line-height:22px;letter-spacing:-.43px}
.arow.destr,.arow.destr svg{color:var(--c-red)}
.list.in-sheet .row+.row::before{left:52px}
/* scroll edge: keep saturated content (blue buttons) from flooding the status bar area */
.edge-top{-webkit-backdrop-filter:blur(10px) saturate(60%) brightness(.7);backdrop-filter:blur(10px) saturate(60%) brightness(.7)}

/* ================= own icon treatment (black-widget refs, not Apple app icons) ================= */
.ico{--r:8px;width:30px;height:30px;color:var(--c,#fff);background:#0d0d10;box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}
.ico svg{filter:drop-shadow(0 0 4px var(--c))}
.sheet-head .thumb{color:var(--c,#fff);background:#0d0d10;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.sheet-head .thumb svg{filter:drop-shadow(0 0 6px var(--c))}
.thumb.mono-thumb{font-size:19px;font-weight:700;letter-spacing:-.3px}
.mark{--r:8px;width:30px;height:30px;flex:none;display:grid;place-items:center;background:#0d0d10;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
  font-family:var(--f-mono);font-size:11px;font-weight:500;letter-spacing:.02em;color:#e9e9ee}
.wico{--r:9px;width:36px;height:36px;flex:none;display:grid;place-items:center;color:var(--c);background:#0d0d10;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.wico svg{filter:drop-shadow(0 0 4px var(--c))}

/* ================= customisable widget grid ================= */
.wgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px;position:relative;align-items:stretch}
.wcell{position:relative;min-width:0;display:flex;flex-direction:column}
.wcell>.tile{flex:1}
.w-w,.w-l{grid-column:span 2}
.w-l{--hdr:23px}
.w-l>.sec{margin-top:var(--hdr)}
.wgrid>.w-l:first-child{--hdr:0px}
.editbar{--r:22px;display:flex;align-items:center;gap:12px;margin-top:16px;padding:12px 12px 12px 16px;background:var(--cell);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.eb-t{font-size:15px;line-height:20px;font-weight:600;letter-spacing:-.24px}
.eb-s{font-size:13px;line-height:18px;letter-spacing:-.08px;color:var(--label-2)}
.editing .wcell{animation:jiggle .24s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.09s);touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.editing .wcell:nth-child(even){animation-direction:alternate-reverse}
@keyframes jiggle{from{transform:rotate(-.5deg)}to{transform:rotate(.5deg)}}
.still .editing .wcell:nth-child(odd){transform:rotate(-.45deg)}
.still .editing .wcell:nth-child(even){transform:rotate(.4deg)}
.editing .wcell>.tile,.editing .wcell>.list{box-shadow:inset 0 0 0 1px rgba(255,255,255,.13)}
.editing .wcell :is(button,input,label,a):not(.wb){pointer-events:none}
.editing .wcell.pinned>.tile,.editing .wcell.pinned>.list{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4)}
.wcell.dragging{animation:none!important;z-index:30;cursor:grabbing}
.wcell.dragging>.tile,.wcell.dragging>.list{box-shadow:0 22px 50px rgba(0,0,0,.7),inset 0 0 0 1.5px rgba(255,255,255,.3)}
.wb{position:absolute;z-index:6;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#2a2a2e;color:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.18),0 4px 12px rgba(0,0,0,.6);transition:transform .1s}
.wb::after{content:"";position:absolute;inset:-9px}
.wb:active{transform:scale(.9)}
.wb-rm{top:-9px;left:-9px}
.wb-pin{top:-9px;right:-9px;color:rgba(235,235,245,.6)}
.wb-pin.on{background:#fff;color:#000}
.w-l .wb{top:calc(var(--hdr) - 4px)}
/* nav: leading item and text capsules */
.navbar .lead{margin-right:auto}
.nbtn.txt{width:auto;padding:0 17px;font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.43px}
.nbtn.done{background:var(--tint);color:#fff;box-shadow:0 6px 18px rgba(10,132,255,.3)}

/* ================= gallery, profile, commercials ================= */
.sheet.tall{top:58px;display:flex;flex-direction:column}
.sheet-scroll{flex:1;min-height:0;overflow-y:auto;margin:0 calc(var(--p-sheet) * -1);padding:0 var(--p-sheet) 10px;scrollbar-width:none}
.sheet-scroll::-webkit-scrollbar{display:none}
.sh-h{font-size:15px;line-height:20px;font-weight:600;letter-spacing:-.24px;color:var(--label-2);margin:20px 16px 8px}
.gstrip{display:flex;gap:12px;overflow-x:auto;margin:0 calc(var(--p-sheet) * -1);padding:2px var(--p-sheet) 4px;scrollbar-width:none}
.gstrip::-webkit-scrollbar{display:none}
.gcard{flex:none;width:160px;display:flex;flex-direction:column;gap:10px}
.gprev{--r:18px;position:relative;height:140px;overflow:hidden;background:#000;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.gprev .gs{position:absolute;left:0;top:0;transform-origin:0 0;pointer-events:none}
.gprev .gs>.tile{min-height:100%}
.gmeta{display:flex;align-items:center;justify-content:space-between;gap:8px}
.gname{font-size:15px;line-height:20px;font-weight:600;letter-spacing:-.24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:86px}
.gsize{font-size:13px;line-height:18px;letter-spacing:-.08px;color:var(--label-2)}
.gmeta .get{min-width:0;padding:0 13px}
.get.rm{color:var(--c-red)}
.pid{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:0 0 4px}
.av.huge{width:88px;height:88px;font-size:32px;letter-spacing:-.6px;margin-bottom:10px}
.pid h3{font-size:22px;line-height:28px;font-weight:700;letter-spacing:-.42px}
.prole{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:13px;line-height:18px;color:var(--label-2)}
.list.in-sheet .prow+.prow::before{left:62px}
.prow{gap:16px}
.tint-row{color:var(--tint);font-size:17px;line-height:22px;letter-spacing:-.43px}
.btn.destr.in{background:rgba(255,255,255,.08)}
.rate{display:flex;align-items:center;gap:3px;flex:none}
.rate input{width:64px;background:none;border:0;outline:none;color:#fff;text-align:right;font-size:17px;font-weight:500;padding:4px 0;border-radius:6px}
.rate input:focus{box-shadow:0 0 0 2px var(--tint);background:rgba(10,132,255,.08)}
.ru{color:var(--label-2);font-size:15px}
.mono-sub{font-variant-numeric:tabular-nums}
button.tile{font:inherit;color:inherit;letter-spacing:inherit;cursor:pointer;transition:transform .1s,filter .1s}
button.tile:active{transform:scale(.98);filter:brightness(.9)}
.wgrid{grid-auto-flow:row dense}
.wb-pin{right:16px}
.pinmark{position:absolute;z-index:4;top:-7px;left:50%;margin-left:-11px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#000;box-shadow:0 0 0 3px #000}
.list.in-sheet .row .t2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.editing .w-l>.sec{padding-left:30px}
.editing .w-l>.sec :is(.tbtn,.meta){visibility:hidden}

/* ================= dashboard-ref revamp: lists become cards, controls take the refs' shapes ================= */
:root{--act:var(--c-cyan);--line:rgba(255,255,255,.07);--chip-line:rgba(255,255,255,.32)}
/* list widgets and grouped sections are cards with the header inside, like the refs' tiles */
.w-l,.card{--r:var(--r-tile);position:relative;background:var(--cell);border-radius:var(--r);padding:14px 0 8px}
@supports (corner-shape:superellipse(1.5)){.w-l,.card{corner-shape:superellipse(1.45);border-radius:calc(var(--r) * 1.16)}}
.card{margin-top:var(--section)}
.w-l>.sec,.card>.sec{margin:0 0 6px!important;padding:0 14px 0 16px!important;min-height:24px;align-items:center;gap:8px}
.w-l>.sec h2,.card>.sec h2{flex:1;font-size:15px;line-height:20px;font-weight:600;letter-spacing:-.24px;color:#fff}
.w-l>.sec .meta,.card>.sec .meta{font-size:12px;line-height:16px;letter-spacing:0;color:var(--label-2)}
.w-l>.sec::after,.card>.sec::after{content:"";width:18px;height:18px;flex:none;opacity:.55;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Ccircle cx='12' cy='5.5' r='1.7'/%3E%3Ccircle cx='12' cy='12' r='1.7'/%3E%3Ccircle cx='12' cy='18.5' r='1.7'/%3E%3C/svg%3E") center/18px no-repeat}
.w-l .list,.card .list{background:none;border-radius:0;overflow:visible}
.w-l>.lfoot,.card>.lfoot{padding:6px 16px 6px}
.w-l>div:not(.sec):not(.list),.w-l>.btn{margin-left:16px!important;margin-right:16px!important;width:auto}
.w-l>div[style*="margin-top:16px"]{margin-top:10px!important}
.w-l>.btn{display:flex;width:calc(100% - 32px)}
.wgrid>.w-l:first-child{--hdr:0px}
.editing .w-l>.sec{padding-left:16px!important}
.w-l .wb{top:-9px}
.list.in-sheet{--r:16px;background:#1a1a1f;box-shadow:inset 0 0 0 1px var(--line)}
/* compact rows, no chevrons, hairlines inside the card */
.row{min-height:46px;padding:7px 16px;gap:12px}
.row .t{padding:2px 0!important}
.row+.row::before{left:16px!important;right:16px;height:1px;transform:none;background:var(--line)}
.row .t1{font-size:15px;line-height:20px;font-weight:500;letter-spacing:-.24px}
.row .t2{font-size:12px;line-height:16px;letter-spacing:0}
.row .end{font-size:13px;line-height:18px;letter-spacing:-.08px}
.row .chev{display:none}
.row.arow,.row.prow{min-height:44px}
/* avatars: dark disc with an accent ring and a status dot (refs' people rows) */
.av{width:36px;height:36px;background:#0d0d10;color:#fff;font-size:13px;letter-spacing:0;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.18)}
.av.ring{position:relative;box-shadow:0 0 0 2px var(--c),0 0 12px color-mix(in srgb,var(--c) 45%,transparent)}
.av .dot{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border-radius:50%;background:var(--c-green);box-shadow:0 0 0 2px var(--cell)}
.av.huge2{width:64px;height:64px;font-size:22px;letter-spacing:-.4px}
.av.huge2 .dot{width:14px;height:14px;right:0;bottom:0}
.mrow{gap:10px}
.rchip{flex:none;display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:4px;font-size:10.5px;line-height:1;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--c);background:color-mix(in srgb,var(--c) 16%,transparent)}
/* chips: the refs' small outline pills ("PROFILE"), amber fill for adding ("BUY MORE") */
.get{height:24px;min-width:0;padding:0 10px;border-radius:12px;background:none;box-shadow:inset 0 0 0 1px var(--chip-line);color:#fff;
  font-size:10.5px;line-height:1;font-weight:700;letter-spacing:.08em;text-transform:uppercase;flex:none}
.get::after{inset:-10px -4px}
.get:active{background:rgba(255,255,255,.1)}
.get.rm{box-shadow:inset 0 0 0 1px rgba(255,59,71,.6);color:var(--c-red)}
.get[data-add]{background:var(--c-amber);box-shadow:none;color:#000;border-radius:4px}
.chiprow{display:flex;flex-wrap:wrap;gap:8px}
.tag{padding:3px 8px;border-radius:4px;font-size:10.5px;line-height:1;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:color-mix(in srgb,currentColor 16%,transparent)}
.tag i{display:none}
/* buttons: rounded-rect bars, uppercase, accent fills */
.btn{height:42px;border-radius:8px;font-size:12.5px;line-height:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.btn.filled{background:var(--act);color:#001318;box-shadow:0 0 20px rgba(34,211,238,.32)}
.btn.tinted{background:none;box-shadow:inset 0 0 0 1px rgba(34,211,238,.55);color:var(--act)}
.btn.gray{background:#1c1c22;box-shadow:inset 0 0 0 1px #2c2c34;color:#fff}
.btn.destr,.btn.destr.in{background:none;box-shadow:inset 0 0 0 1px rgba(255,59,71,.6);color:var(--c-red)}
.btn.medium{height:30px;border-radius:6px;font-size:11px;padding:0 12px;gap:5px}
.btn[style*="--c-red);color:#fff"]{box-shadow:0 0 20px rgba(255,59,71,.35)}
/* filter chips replace the segmented control (refs' year and browser chips) */
.seg{background:none;padding:0;height:auto;gap:6px;border-radius:0;flex-wrap:wrap}
.seg button{flex:none;height:26px;padding:0 12px;border-radius:13px;box-shadow:inset 0 0 0 1px #30303a;font-size:11px;line-height:1;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--label-2);background:none}
.seg button.on{background:var(--act);box-shadow:0 0 12px rgba(34,211,238,.4);color:#001318;font-weight:700}
.seg.mini button{height:22px;padding:0 9px;font-size:10px}
/* switch: small rounded rectangle with a square knob, green glow when on */
.switch{width:40px;height:22px;border-radius:6px;background:#23232a;box-shadow:inset 0 0 0 1px #30303a}
.switch::after{top:3px;left:21px;width:16px;height:16px;border-radius:4px;background:#0b0b0d;box-shadow:none}
.switch:not(.off){background:var(--c-green);box-shadow:0 0 12px rgba(61,220,132,.45)}
.switch.off::after{left:3px;background:#6b6b75}
/* stepper: two square keys */
.stepper{width:auto;height:28px;gap:6px;background:none;overflow:visible;border-radius:0}
.stepper button{width:28px;height:28px;border-radius:6px;background:#18181d;box-shadow:inset 0 0 0 1px #30303a}
.stepper i{display:none}
/* slider: thin track, cyan-to-blue fill, ringed knob */
.slider{height:4px;border-radius:2px;background:#26262d}
.slider .fill{border-radius:2px;background:linear-gradient(90deg,var(--c-cyan),var(--c-blue));box-shadow:0 0 10px rgba(34,211,238,.5)}
.slider i{background:#3a3a44} .slider i.on{background:rgba(0,0,0,.45)}
.slider .thumb{width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#000;box-shadow:0 0 0 3px var(--c-cyan),0 0 12px var(--c-cyan)}
/* dropdown box */
.popup{gap:6px;padding:4px 8px 4px 10px;border-radius:6px;box-shadow:inset 0 0 0 1px #30303a;color:#fff}
/* checkbox, code boxes, keypad, rate fields */
.check{width:20px;height:20px;border-radius:5px}
.check.on{background:var(--act);border-color:var(--act);color:#001318}
.codes .c{--r:7px;border-radius:7px;background:#0d0d10;box-shadow:inset 0 0 0 1px #30303a}
.codes .c.cur{box-shadow:inset 0 0 0 1.5px var(--act),0 0 14px rgba(34,211,238,.35)}
.codes .c.cur::after{background:var(--act)}
.key{border-radius:8px;background:#1b1b20;box-shadow:inset 0 0 0 1px #2a2a31}
.key b{font-family:var(--f-mono);font-size:22px;font-weight:500}
.key small{display:none}
.key.fn,.key.blank{box-shadow:none}
.rate input{width:76px;padding:5px 8px;border-radius:6px;background:#0d0d10;box-shadow:inset 0 0 0 1px #30303a;font-size:15px}
.rate input:focus{box-shadow:inset 0 0 0 1.5px var(--act);background:#0d0d10}
.destr-row{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.sheet .list .destr-row,.w-l .destr-row{justify-content:flex-start}
/* share sheet actions: square tiles, not glass circles */
.act .circ{border-radius:12px;background:#1a1a1f;box-shadow:inset 0 0 0 1px #2a2a31}
.act span:last-child{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--label-2)}
.person .av.big{box-shadow:0 0 0 2px var(--c-cyan)}
/* profile: hero tile, stat tiles, settings tiles */
.phero{gap:14px}
.ph-row{display:flex;align-items:center;gap:16px}
.pstats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.pstat{--r:16px;background:#1a1a1f;box-shadow:inset 0 0 0 1px var(--line);padding:12px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.pstat .fig{font-size:26px}
.ps-l{font-size:12px;line-height:16px;color:var(--label-2)}
.pstat .get{margin-top:2px;height:22px;padding:0 8px;font-size:9.5px}
.psets{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.pset{--r:16px;background:#1a1a1f;box-shadow:inset 0 0 0 1px var(--line);padding:12px;display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-height:118px}
.pset .ico{margin-bottom:6px}
.ps-t{font-size:15px;line-height:20px;font-weight:600;letter-spacing:-.24px}
.ps-v{font-size:12px;line-height:16px;color:var(--label-2)}
.pset>:last-child:not(.ps-v){margin-top:auto}
.sheet .card{background:#1a1a1f;box-shadow:inset 0 0 0 1px var(--line);margin-top:12px}
.sheet .card .sec h2{color:#fff}
.card+.card{margin-top:12px}

/* =====================================================================================
   Direction C, "Refined glow" (chosen). Fewer, larger cards with depth; neon only on data;
   one action accent (pearl); quiet sentence-case labels; huge tabular numerals; 8-pt rhythm.
   ===================================================================================== */
:root{
  --pearl:#f1eee8; --pearl-ink:#0c0c0d; --tint:var(--pearl); --act:var(--pearl);
  --surf-hi:#1b1b1f; --surf-lo:#111114;
  --depth:inset 0 1px 0 rgba(255,255,255,.075),inset 0 0 0 1px rgba(255,255,255,.035),0 1px 2px rgba(0,0,0,.6),0 10px 24px -8px rgba(0,0,0,.7),0 28px 56px -24px rgba(0,0,0,.9);
  --quiet:rgba(235,235,245,.52);
}
.device{background:radial-gradient(130% 45% at 50% -8%,#16161b 0%,#08080a 55%,#050506 100%)}
/* surfaces: subtle vertical gradient, inner top highlight, layered soft shadows */
.tile,.w-l,.card,.editbar,.pstat,.pset,.sum,.list.in-sheet{background:linear-gradient(180deg,var(--surf-hi) 0%,var(--surf-lo) 100%);box-shadow:var(--depth)}
.sheet .card,.list.in-sheet,.pstat,.pset,.sum{--surf-hi:#202026;--surf-lo:#17171b}
.tile{padding:16px 16px 18px;gap:12px}
.tile.tight{gap:10px}
.tile svg{max-width:100%;height:auto}
.wgrid{gap:16px;margin-top:24px}
.w-l,.card{padding:16px 0 10px}
.w-l>.sec,.card>.sec{margin-bottom:8px!important}
/* quiet header: small data-coloured glyph, grey sentence-case label */
.hh{min-height:20px}
.hh .cat{gap:7px;font-size:13px;line-height:18px;font-weight:500;letter-spacing:-.08px;color:var(--quiet)}
.hh .hg{display:inline-flex;font-style:normal}
.hh .when{font-size:12px;line-height:16px;letter-spacing:0;color:rgba(235,235,245,.38)}
.w-l>.sec h2,.card>.sec h2{font-size:15px;font-weight:600;color:#fff}
.w-l>.sec::after,.card>.sec::after{opacity:.3}
/* huge numerals: the system face with tabular figures, units small and quiet */
.fig{font-family:var(--f-sans);font-weight:600;font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"cv11" 1;letter-spacing:-.035em}
.fig .cur{font-weight:400;font-size:.62em;color:var(--quiet);margin-right:.08em;vertical-align:.32em}
.fig .u{font-weight:500;font-size:max(13px,.32em);color:var(--quiet);margin-left:.16em}
.f-xl{font-size:56px} .f-l{font-size:44px} .f-m{font-size:32px} .f-s{font-size:22px}
.stats b,.row .amt,.rate input{font-family:var(--f-sans);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.sub{color:var(--quiet)}
.sample{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:rgba(235,235,245,.38)}
/* icons: no glow on anything that is not data */
.ico,.wico,.sheet-head .thumb{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.ico svg,.wico svg,.sheet-head .thumb svg{filter:none}
.mark{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);font-family:var(--f-sans);font-weight:600;font-size:11px;color:rgba(235,235,245,.8)}
.av,.av.ring{background:linear-gradient(180deg,#2a2a30,#1c1c21);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.av.ring{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1.5px color-mix(in srgb,var(--c) 70%,transparent)}
.person .av.big{box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
/* labels and chips: sentence case, no shouting */
.get,.btn,.seg button,.tag,.rchip,.destr-row,.act span:last-child,.btn.medium{text-transform:none;letter-spacing:-.08px}
.get{height:30px;padding:0 13px;border-radius:15px;background:rgba(255,255,255,.07);box-shadow:none;color:#ececf0;font-size:13px;font-weight:500}
.get:active{background:rgba(255,255,255,.14)}
.get.rm{background:rgba(255,59,71,.1);box-shadow:none;color:#ff6b74}
.get[data-add]{background:var(--pearl);color:var(--pearl-ink);border-radius:15px;font-weight:600}
.pstat .get{height:26px;padding:0 10px;font-size:12px}
.tag{padding:0;background:none;font-size:13px;font-weight:500;gap:6px}
.tag i{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:none}
.rchip{height:auto;padding:0;background:none;font-size:13px;font-weight:500;letter-spacing:-.08px;color:var(--quiet);gap:6px}
.rchip::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--c)}
/* one action accent: pearl */
.btn{height:50px;border-radius:25px;font-size:16px;font-weight:600;letter-spacing:-.31px}
.btn.filled{background:var(--pearl);color:var(--pearl-ink);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15),0 8px 20px -8px rgba(241,238,232,.25)}
.btn.tinted{background:rgba(241,238,232,.1);box-shadow:none;color:var(--pearl)}
.btn.gray{background:rgba(255,255,255,.07);box-shadow:none;color:#fff}
.btn.destr,.btn.destr.in{background:rgba(255,59,71,.1);box-shadow:none;color:#ff6b74}
.btn[style*="--c-red);color:#fff"]{box-shadow:none}
.btn.medium{height:34px;border-radius:17px;font-size:14px;font-weight:600}
.seg{gap:8px}
.seg button{height:32px;padding:0 14px;border-radius:16px;background:rgba(255,255,255,.05);box-shadow:none;font-size:13px;font-weight:500;color:var(--quiet)}
.seg button.on{background:var(--pearl);color:var(--pearl-ink);box-shadow:none;font-weight:600}
.seg.mini button{height:26px;padding:0 10px;font-size:12px}
.switch{background:rgba(255,255,255,.1);box-shadow:none;border-radius:11px}
.switch::after{border-radius:8px;background:#0c0c0d}
.switch:not(.off){background:var(--pearl);box-shadow:none}
.switch.off::after{background:rgba(235,235,245,.45)}
.stepper button{border-radius:14px;background:rgba(255,255,255,.07);box-shadow:none}
.slider .fill{background:var(--pearl);box-shadow:none}
.slider i{background:rgba(255,255,255,.18)} .slider i.on{background:rgba(0,0,0,.35)}
.slider .thumb{width:22px;height:22px;margin:-11px 0 0 -11px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.6)}
.popup{box-shadow:none;background:rgba(255,255,255,.06);border-radius:15px;padding:5px 10px 5px 12px;color:#ececf0}
.check{border-radius:7px} .check.on{background:var(--pearl);border-color:var(--pearl);color:var(--pearl-ink)}
.codes .c{border-radius:12px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.codes .c.cur{box-shadow:inset 0 0 0 1.5px var(--pearl)}
.codes .c.cur::after{background:var(--pearl)}
.key{border-radius:12px;background:linear-gradient(180deg,#26262b,#1d1d21);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 1px 2px rgba(0,0,0,.5)}
.key b{font-family:var(--f-sans);font-weight:400;font-size:24px}
.rate input{border-radius:10px;background:rgba(255,255,255,.05);box-shadow:none}
.rate input:focus{box-shadow:inset 0 0 0 1.5px var(--pearl);background:rgba(255,255,255,.05)}
.destr-row{font-size:15px;font-weight:500;color:#ff6b74}
.act .circ{border-radius:18px;background:linear-gradient(180deg,#26262b,#1d1d21);box-shadow:var(--depth)}
.act span:last-child{font-size:12px;font-weight:500;color:var(--quiet)}
/* navigation: same structure, accent is pearl, no blue */
.tab.on{color:var(--pearl)}
.nbtn.done{background:var(--pearl);color:var(--pearl-ink);box-shadow:none}
.editbar .btn.tinted{background:var(--pearl);color:var(--pearl-ink)}
.wb{background:#2a2a2f}
/* sheets: same depth language */
.sheet{background:linear-gradient(180deg,rgba(32,32,37,.9),rgba(20,20,24,.94));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 -20px 60px rgba(0,0,0,.6)}
.sh-h{font-size:13px;font-weight:500;color:var(--quiet)}
/* rows: calmer, finer dividers */
.row+.row::before{background:rgba(255,255,255,.055)}
.row .t1{font-weight:500}
.lfoot,.foot{color:rgba(235,235,245,.4)}
.ticks{color:rgba(235,235,245,.34)}
.stats div{color:var(--quiet)}
/* numbers in body copy: system face, tabular; monospace stays only on axis ticks */
.mono{font-family:var(--f-sans);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;letter-spacing:-.01em;font-weight:500}
.t1.mono{font-weight:500}

/* ================= minimal pass: one primary thing per card, plain grouped rows ================= */
.w-l>.sec::after,.card>.sec::after{display:none}
.row .chev{display:inline-flex;color:rgba(235,235,245,.25)}
.row{min-height:52px;padding:8px 16px;gap:14px}
.row .t1{font-size:16px;line-height:21px;font-weight:500;letter-spacing:-.31px}
.row .t2{font-size:13px;line-height:18px;letter-spacing:-.08px;color:rgba(235,235,245,.45)}
.row .end{font-size:15px;line-height:20px;letter-spacing:-.24px;color:rgba(235,235,245,.45)}
.row .amt{font-size:16px;font-weight:600;color:#fff}
.av,.av.ring{width:36px;height:36px;font-size:13px;font-weight:600;background:#2a2a2f;box-shadow:none;color:rgba(235,235,245,.85)}
.you{font-size:13px;font-weight:400;color:rgba(235,235,245,.4)}
.tbtn{color:var(--pearl);font-size:15px;line-height:20px;font-weight:500;letter-spacing:-.24px;flex:none}
.destr-row{justify-content:flex-start;font-size:16px;font-weight:500;letter-spacing:-.31px;text-transform:none;color:#ff6b74}
.card>.sec,.w-l>.sec{margin-bottom:4px!important}
.card{margin-top:16px}
.sheet .card{margin-top:12px}
.check{width:22px;height:22px;border-radius:11px}
/* no monospace: ticks and code boxes use the system face with tabular figures */
.ticks{font-family:var(--f-sans);font-weight:400;font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:0}
.codes .c{font-family:var(--f-sans);font-weight:600;font-variant-numeric:tabular-nums}
.fig{font-weight:600;letter-spacing:-.03em}
.f-xl{letter-spacing:-.035em}
/* account footer with the AEVYX knot */
.pfoot{display:flex;align-items:center;gap:10px;justify-content:center;margin:28px 0 8px;font-size:15px;font-weight:600;letter-spacing:-.24px}
.pfoot img{border-radius:7px}
.pf-v{font-weight:400;color:rgba(235,235,245,.4)}
.card,.w-l{padding:4px 0}
.card:has(>.sec),.w-l:has(>.sec){padding-top:16px}
.w-l:has(>div:last-child:not(.list)){padding-bottom:16px}
