/* Link phone kit, part 2: the rest of the app's views (built by kit/ui.js).
   Same rules as phone.css: values from apps/link-ios (main), SYSTEM = iOS chrome, FILM = presentation only.
   Text: Dynamic Type Large with SF Pro's tracking; SwiftUI line height = the font's own (about 1.19 em). */

.dev { line-height: 1.19; }

/* classic Ask header centre: grab handle, Capsule 28x3 grey @ .35 (ConversationSurface.swift:421) */
.hdr .hdl { position: absolute; left: 177px; top: 20.5px; width: 28px; height: 3px; border-radius: 2px; background: rgba(243, 241, 255, .217); }

/* composer extras: caret, stop circle (PrimaryCircle stop.fill 15) */
.cmp .typed .cr { display: inline-block; width: 2px; height: 20px; margin-left: 1px; border-radius: 1px; background: #0a84ff; vertical-align: middle; opacity: 0; }
.cmp .typed { z-index: 2; }
.cmp .stop { position: absolute; right: 11px; top: 1px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-fill); color: var(--primary-glyph);
  display: flex; align-items: center; justify-content: center; opacity: 0; }
.cmp .stop i { width: 12px; height: 12px; }
.cmp .pc { display: flex; }

/* ---------- SYSTEM: iOS 26 keyboard, dark (measured: top 550, rows at 601/655/709/763, keys 33.3 x 43, pitch 39.3) ---------- */
.kb { position: absolute; left: 0; top: 550px; width: 402px; height: 324px; z-index: 80; background: #1c1f23; border-radius: 28px 28px 0 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .06); font-family: LinkUI, sans-serif; }
.kb .k { position: absolute; width: 33.3px; height: 43px; border-radius: 8.5px; background: #3c3d41; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 23px; font-weight: 400; letter-spacing: 0; line-height: 1; }
.kb .k.sp i { color: #fff; }
.kb .k b { font-weight: 400; }
.kb[data-case="u"] .k .l, .kb[data-case="l"] .k .u { display: none; }
.kb .bar1, .kb .bar2 { position: absolute; left: 0; right: 0; top: 0; height: 48px; }
.kb .k.t { font-size: 17px; letter-spacing: -.4px; }
.kb .k.ret { background: #006dff; }
.kb .k.ret i { color: #fff; }
.kb .k.down { background: #6b6c70; }
.kb .kbi { position: absolute; top: 271px; width: 30px; height: 30px; color: #e8e8ea; display: flex; align-items: center; justify-content: center; }
.kb .wws { position: absolute; left: 0; right: 0; top: 13px; height: 24px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #9a9ba0;
  font-size: 16px; letter-spacing: -.31px; }
.kb .wws i { width: 17px; height: 17px; }
.kb .sug { position: absolute; left: 8px; right: 8px; top: 7px; height: 36px; display: flex; align-items: center; color: #b8b9bd; font-size: 16px; letter-spacing: -.31px; }
.kb .sug .sgi { width: 40px; display: flex; justify-content: center; }
.kb .sug .sgi i { width: 17px; height: 17px; }
.kb .sug .sg { flex: 1; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.kb .pop { position: absolute; left: 0; top: 0; width: 56px; height: 64px; margin-left: -11.3px; border-radius: 12px; background: #6b6c70; color: #fff; display: flex; align-items: flex-start;
  justify-content: center; padding-top: 8px; font-size: 32px; opacity: 0; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }

/* ---------- toggle (SYSTEM UISwitch, iOS 26: 63 x 28 capsule, 37 x 24 knob) ---------- */
.tgl { position: relative; width: 63px; height: 28px; border-radius: 14px; background: rgba(120, 120, 128, .32); flex: none; }
.tgl i { position: absolute; left: 2px; top: 2px; width: 37px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.tgl.on { background: var(--tint); }
.tgl.on i { left: 24px; }

/* Settings icon tile: 30 pt rounded square radius 8, glyph 15 white (SettingsScreen.iconTile) */
.itile { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }

/* ---------- Agents screen pieces (AgentsScreen.swift emptyState, AgentsUI) ---------- */
.net em.pill, em.pill { font-style: normal; }
.net .rowhi { position: absolute; left: 0; right: 0; top: 0; height: 63px; background: rgba(255, 255, 255, .08); opacity: 0; z-index: 1; }
.nempty { position: relative; padding: 26px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.nempty .add { position: relative; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #9db4ff, #6a7cf2); color: #fff; display: flex; align-items: center; justify-content: center; }
.nempty .add i { width: 15px; height: 15px; }
.nempty b { position: relative; z-index: 2; margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -.43px; }
.nempty p { position: relative; z-index: 2; margin: 4px 0 0; font-size: 14px; line-height: 18px; letter-spacing: -.15px; color: var(--mute); }
.nsb { display: flex; gap: 8px; }
.nbtn { position: relative; flex: 1; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 16px; font-weight: 600; letter-spacing: -.35px; }
.nbtn i, .nbtn span { position: relative; z-index: 2; }
.toastslot { display: flex; justify-content: center; height: 0; overflow: visible; margin: -10px 0 0; }

/* ---------- glass levels (Design/Controls.swift LevelGlass, LinkTheme.swift) ---------- */
/* .solid: opaque #172334 + 1 pt edge white .22 -> 0 (top-leading to bottom-trailing) */
.solid { position: relative; background: #172334; isolation: isolate; }
.solid::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* .supporting = FloatingGlass whiteness .5, no shadow: material .85 + white .089, 1 pt rim white .33 */
.sup { position: relative; isolation: isolate; }
.sup::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  -webkit-backdrop-filter: blur(22px) saturate(1.05); backdrop-filter: blur(22px) saturate(1.05); background: linear-gradient(rgba(255, 255, 255, .089), rgba(255, 255, 255, .089)), rgba(120, 128, 145, .10); }
.sup::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .33); }

/* ---------- classic Home (HomeScreen.swift) ---------- */
.hhead { left: 16px; top: 70px; width: 370px; height: 44px; z-index: 30; }
.hhead .ic { position: absolute; top: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.hhead .chats { left: 274px; }
.hhead .chats .c { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.hhead .chats .c i { width: 21px; height: 18px; position: relative; z-index: 2; }
.hhead .chats .ud { position: absolute; right: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #aec4ff; box-shadow: 0 0 0 2px #fff; z-index: 3; }
.hhead .av { left: 326px; }
.hhead .av div { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #9db4ff, #6a7cf2); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11.25px; font-weight: 600; letter-spacing: 0; }
/* greeting block: top 114, collapsed height max(140, 0.25 x 778) = 194.5; text x 22, padding top 16 */
.hgreet { left: 22px; top: 130px; width: 358px; z-index: 5; transform-origin: 0 0; }
.hgreet .tx { font-family: LinkScript, cursive; font-size: 34px; line-height: 1.2; color: var(--ink); white-space: nowrap; }
.hgreet .tx span { opacity: 0; }
/* tray grabber: Capsule 28x3 grey @ .35, centred y 593 */
.grab { left: 187px; top: 591.5px; width: 28px; height: 3px; border-radius: 2px; background: rgba(243, 241, 255, .217); z-index: 6; }
/* resting row: two 179 pt faces, y 609-788, HStack spacing 12 */
.rest { left: 16px; top: 609px; width: 370px; height: 179px; display: flex; gap: 12px; z-index: 6; }
.rest .tile { width: 179px; height: 179px; min-height: 0; flex: none; }
/* expanded tray: the full workspace as a List row (insets 5 / 14) */
.htray { left: 14px; top: 233px; width: 374px; z-index: 6; opacity: 0; }
.htray .wsp { position: relative; left: 0; top: 0; width: 374px; }
.htray .wsp .deck { grid-template-columns: 181px 181px; }

/* ---------- the dock and the compact Ask panel (SurfaceDock.swift, ConversationSurface.swift) ---------- */
/* dock: x 10-392, y 800-864, radius 32, FieldGlass + white .06 + 0.5 pt white .12 */
.panel { z-index: 40; }
.panel .dockbg { -webkit-backdrop-filter: blur(16px) saturate(1.35); backdrop-filter: blur(16px) saturate(1.35);
  background: linear-gradient(rgba(255, 255, 255, .06), rgba(255, 255, 255, .06)), rgba(0, 0, 0, .12); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .12); }
.dockrow { position: absolute; left: 20px; width: 362px; top: 800px; height: 64px; display: flex; align-items: center; gap: 4px; }
.dockrow .dc { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; flex: none; }
.dockrow .dc div { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .10);
  color: rgba(243, 241, 255, .75); display: flex; align-items: center; justify-content: center; }
.dockrow .dt { flex: 1; text-align: center; font-size: 15px; letter-spacing: -.23px; color: rgba(243, 241, 255, .496); }
/* panel content, laid out at the open size and revealed as the panel grows */
.pcontent { position: absolute; left: 0; width: 402px; top: 316px; height: 234px; opacity: 0; }
.pcontent .hdr { position: absolute; left: 10px; top: 0; width: 382px; }
.pcontent .pgreet { position: absolute; left: 22px; right: 22px; top: 44px; bottom: 56px; display: flex; align-items: center; }
.pcontent .pgreet .tx { font-family: LinkScript, cursive; font-size: 34px; line-height: 1.2; white-space: nowrap; }
.pcontent .cmp { position: absolute; left: 12px; top: auto; bottom: 0; }

/* ---------- Chats (ChatsScreen.swift) ---------- */
.chats { left: 0; top: 62px; width: 402px; z-index: 10; }
.chats .bar { display: flex; justify-content: space-between; padding: 8px 16px 0; }
.chats .bar .c { position: relative; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.chats .bar .c i { position: relative; z-index: 2; }
.chats h1 { margin: 0; padding: 2px 20px 10px; font-size: 34px; font-weight: 700; letter-spacing: -1px; line-height: 1.19; }
.chats .srch { margin: 0 16px 14px; }
.chats .favs { display: flex; padding: 0 10px 16px; }
.chats .favs > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.chats .favs small { font-size: 12px; color: var(--ink2); white-space: nowrap; max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
.chats .rows { position: relative; margin: 0 12px; border-radius: 22px; overflow: hidden; isolation: isolate; }
.chats .rows::before { content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(16px) saturate(1.35); backdrop-filter: blur(16px) saturate(1.35); background: linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)), rgba(0, 0, 0, .10); }
.chats .row { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 64px; }
.chats .row + .row::before { content: ""; position: absolute; left: 70px; right: 0; top: 0; height: .5px; background: rgba(255, 255, 255, .12); }
.chats .row .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chats .row b { font-size: 17px; font-weight: 500; letter-spacing: -.43px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chats .row span { font-size: 15px; letter-spacing: -.23px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chats .row .tm { flex: none; align-self: center; font-size: 13px; letter-spacing: -.08px; color: var(--mute); }

/* ---------- conversation transcript (ConversationTranscript.swift, MessageBubble quiet) ---------- */
.trans { left: 0; top: 106px; width: 402px; z-index: 8; overflow: hidden; }
.trans .col { position: absolute; left: 14px; right: 14px; bottom: 8px; display: flex; flex-direction: column; gap: 10px; }
.m { display: flex; }
.m.me { justify-content: flex-end; padding-left: 48px; }
.m .blk { position: relative; max-width: 326px; padding: 10px 14px; border-radius: 20px; background: #172334; font-size: 17px; letter-spacing: -.43px;
  line-height: 23.2px; color: var(--ink); isolation: isolate; }
.m .blk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.m .txt { padding: 2px 4px; font-size: 17px; letter-spacing: -.43px; line-height: 23.2px; color: var(--ink); }
/* working row: SurfaceWorkingLight (26 frame, 19 disc) + caption 12 mute */
.wk { display: flex; align-items: center; gap: 8px; }
.wk span { font-size: 12px; color: var(--mute); }
.wl { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; flex: none; }
.wl .disc { width: 19px; height: 19px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, 0) 18px),
    conic-gradient(from 90deg, #637fa4, #ffffff, #a0c2da, #f1f6ff, #637fa4);
  box-shadow: inset 0 0 0 .75px rgba(255, 255, 255, .7), 0 2px 5px rgba(125, 160, 193, .25); }
/* card-action bubble (LinkCardView.swift CardActionBubble) */
.cab { position: relative; padding: 12px 14px; border-radius: 20px; background: #172334; display: flex; flex-direction: column; gap: 10px; }
.cab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.cab .edge { position: absolute; left: 1px; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; }
.cab .cr { display: flex; align-items: center; gap: 10px; }
.cab .cc { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.cab .cc i { width: 13px; height: 13px; }
.cab .cv { display: flex; flex-direction: column; gap: 1px; }
.cab small { font-size: 11px; font-weight: 600; letter-spacing: .66px; color: var(--mute); }
.cab b { font-size: 15px; font-weight: 600; letter-spacing: -.23px; color: var(--ink); }
/* send lift overlay block (SurfaceSendMotion): LevelGlass .solid, radius 20 circular */
.lift { position: absolute; z-index: 45; padding: 10px 14px; border-radius: 20px; background: #172334; font-size: 17px; letter-spacing: -.43px; line-height: 23.2px;
  color: var(--ink); opacity: 0; transform-origin: 0 0; white-space: nowrap; }

/* ---------- opened card (CardFaceView.swift CardStageOverlay, CardDetail.swift, CardPrimitives reading mode; main) ---------- */
.stagecard { position: absolute; z-index: 50; left: 0; top: 0; overflow: hidden; border-radius: 12px; }
.stagecard > .glass { position: absolute; inset: 0; border-radius: inherit; }
.stagecard .wash4 { position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .04); z-index: 1; }
.stagecard .face { position: absolute; left: 0; top: 0; z-index: 2; transform-origin: 0 0; }
.stagecard .face .tile { box-shadow: none; }
.stagecard .face .tile::before, .stagecard .face .tile::after, .stagecard .face .tile .hl { display: none; }
.stagecard .oc { position: absolute; left: 0; top: 0; width: 382px; z-index: 3; opacity: 0; }
.ohead { display: flex; align-items: center; gap: 4px; padding: 10px 18px 12px 6px; }
.oback { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.oback::before { content: ""; position: absolute; }
.oback i { width: 26px !important; height: 26px !important; border-radius: 50%; background: rgba(255, 255, 255, .3); display: flex !important; align-items: center; justify-content: center; color: var(--ink); }
.oback i svg { width: 7px; height: 12px; }
.otitle { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.otitle h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.26px; line-height: 1.27; color: var(--ink); }
.otitle .octx { font-size: 15px; letter-spacing: -.23px; color: rgba(243, 241, 255, .55); }
.obody { padding: 0 18px 8px; display: flex; flex-direction: column; gap: 22px; }
.ocard { display: flex; flex-direction: column; gap: 16px; }
.ocap { font-size: 17px; letter-spacing: -.43px; line-height: 1.3; color: rgba(243, 241, 255, .55); }
.odisp { display: flex; align-items: baseline; gap: 10px; }
.odisp span { font-size: 34px; font-weight: 300; letter-spacing: .4px; line-height: 1.2; color: var(--ink); }
.odisp em { font-style: normal; font-size: 17px; letter-spacing: -.43px; color: rgba(243, 241, 255, .55); }
.ochart svg { display: block; overflow: visible; }
.orows .orow { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 20px; letter-spacing: -.45px; line-height: 1.25; color: rgba(243, 241, 255, .88); }
.orows .orow + .orow { border-top: .5px solid rgba(243, 241, 255, .165); }
.orows .orow u { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.odet { padding-top: 6px; display: flex; flex-direction: column; gap: 12px; }
.odet .dt { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.odet .hair { flex: 1; height: 1px; background: rgba(243, 241, 255, .165); }
.odet .cv { width: 30px; height: 30px; border-radius: 50%; background: rgba(243, 241, 255, .077); color: rgba(243, 241, 255, .55); display: flex; align-items: center; justify-content: center; }
.odet .cv i { width: 12px; height: 7px; }
.odet .dx { font-size: 20px; letter-spacing: -.45px; line-height: 32px; color: rgba(243, 241, 255, .88); display: none; }
.oacts { display: flex; gap: 18px; align-items: center; }
.oact { min-height: 44px; display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 600; letter-spacing: -.43px; color: rgba(243, 241, 255, .82); }
.oact.pri { padding: 0 22px; border-radius: 22px; background: #aec4ff; color: #16151c; }
.oact i { width: 16px; height: 16px; }
/* EdgeGlow (CardMotion.swift): a 22% arc travelling round the edge, 6 pt halo (blur 5, .75) + 1.4 pt line, #cfd9ff */
.eglow { position: absolute; inset: 0; overflow: visible; pointer-events: none; z-index: 5; }
.eglow rect { fill: none; stroke: #cfd9ff; stroke-linecap: round; stroke-dasharray: .22 2; stroke-dashoffset: .22; }
.eglow .halo { stroke-width: 6; opacity: .75; filter: blur(5px); }
.eglow .line { stroke-width: 1.4; }

/* ---------- voice (ConversationSurface dictation block, DraftPreparer PreparationWindow, VoiceModes menu) ---------- */
.vcol { position: absolute; left: 0; width: 402px; bottom: 96px; z-index: 9; display: flex; flex-direction: column; gap: 0; }
.prep { position: relative; margin: 0 12px; padding: 12px; border-radius: 16px; display: flex; flex-direction: column; gap: 6px; opacity: 0; }
.prep > * { position: relative; z-index: 2; }
.prep .pl { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; letter-spacing: -.08px; line-height: 1.3; }
.prep .pl i { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.prep .pl.s { color: var(--mute); }
.prep .pl.m { color: var(--ink2); }
.prep .chips { display: flex; gap: 6px; }
.prep .chips span { font-size: 12px; font-weight: 500; color: #aec4ff; padding: 4px 8px; border-radius: 99px; background: rgba(174, 196, 255, .1); }
.dict { padding: 0 16px; font-size: 17px; letter-spacing: -.43px; line-height: 1.3; color: var(--ink); min-height: 22px; }
.dict span { display: none; }
/* SYSTEM menu anchored at the bottom (hold the mic): section header + items + toggle */
.menu .hd { padding: 6px 22px 6px 46px; font-size: 13px; letter-spacing: -.08px; color: rgba(235, 235, 245, .6); }

/* ---------- Live call (SurfaceLiveCall.swift) ---------- */
.lcen { position: absolute; left: 28px; width: 346px; top: 126px; z-index: 9; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.lcen .cn { font-size: 20px; font-weight: 500; letter-spacing: -.45px; color: var(--mute); }
.lcen .ag { font-size: 24px; font-weight: 500; letter-spacing: -.48px; line-height: 1.25; color: var(--ink); }
.lcen .ag span { opacity: 0; }
.lctl { position: absolute; left: 0; width: 402px; bottom: 58px; z-index: 9; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lctl .st { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: -.15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.lctl .st u { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; }
.lctl .bt { display: flex; align-items: center; gap: 40px; }
.lctl .mu { position: relative; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.lctl .mu i { position: relative; z-index: 2; }
.lctl .end { width: 76px; height: 76px; border-radius: 50%; background: #ff3b30; color: #fff; display: flex; align-items: center; justify-content: center; }

/* ---------- Settings (Settings/*.swift) ---------- */
.page { position: absolute; left: 0; top: 0; width: 402px; height: 874px; overflow: hidden; z-index: 10; }
.page > .fld, .page > .fld-dim { position: absolute; }
.page .pin { position: absolute; left: 0; top: 62px; width: 402px; }
.page .shade { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 30; pointer-events: none; }
/* IconButton = IconCircle 36 (LevelGlass supporting) in 44 */
.sback { padding: 8px 16px 0; height: 52px; }
.sback .c { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.sback .c div { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.sback .c div i { position: relative; z-index: 2; }
.stitle { margin: 0; padding: 4px 20px 16px; font-size: 34px; font-weight: 400; letter-spacing: .37px; line-height: 1.21; color: var(--ink); }
/* SolidCard: radius 22, #172334, 1 pt Tok.line, shadow rgb(30,30,90) .18 r12 y8 */
.scard { position: relative; margin: 0 16px 22px; border-radius: 22px; background: #172334; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 18px rgba(30, 30, 90, .18); overflow: hidden; }
.srow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 56px; position: relative; }
.srow + .srow::before { content: ""; position: absolute; left: var(--dl, 60px); right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .12); }
.srow .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.srow .tx b { font-size: 17px; font-weight: 400; letter-spacing: -.43px; color: var(--ink); }
.srow .tx span { font-size: 15px; letter-spacing: -.23px; color: var(--mute); }
.srow .tx.l4 { gap: 4px; }
.srow .lnk { font-size: 17px; letter-spacing: -.43px; color: #aec4ff; flex: 1; }
.srow .red { font-size: 17px; letter-spacing: -.43px; color: #ff3b30; flex: 1; }
.savat { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #9db4ff, #6a7cf2); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; flex: none; }
.sname { font-size: 20px !important; font-weight: 500 !important; letter-spacing: -.45px !important; }
.themedot { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #0a1422, #152438, #08111d); color: #f3f1ff; display: flex; align-items: center; justify-content: center; flex: none; }
/* sub-screens: VoiceNavHeader (back 20 semibold brand in 38, title 16 semibold centred), section header 13 semibold uppercase */
.vnav { display: flex; align-items: center; padding: 10px 12px 4px; height: 52px; }
.vnav .b { width: 38px; height: 38px; color: #aec4ff; display: flex; align-items: center; justify-content: center; flex: none; }
.vnav .t { flex: 1; text-align: center; font-size: 16px; font-weight: 600; letter-spacing: -.31px; color: var(--ink); }
.vnav .sp { width: 38px; flex: none; }
.vsec { padding: 14px 32px 8px; font-size: 13px; font-weight: 600; letter-spacing: -.08px; color: var(--mute); text-transform: uppercase; }
.vcard { margin: 0 16px 8px; }
.vrow .tx b { font-size: 16px; font-weight: 500; letter-spacing: -.31px; }
.vrow .tx span { font-size: 14px; letter-spacing: -.15px; }
.vrow .val { font-size: 15px; letter-spacing: -.23px; color: var(--ink2); }
.vnote { padding: 0 32px 8px; font-size: 12px; line-height: 1.3; color: var(--mute); }
.vtest { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 52px; position: relative; color: #aec4ff; font-size: 16px; font-weight: 500; letter-spacing: -.31px; }
.vtest::before { content: ""; position: absolute; left: 16px; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .12); }
.swatch { position: relative; width: 68px; height: 46px; border-radius: 12px; overflow: hidden; flex: none; }
.swatch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.swatch .a { position: absolute; left: 6px; bottom: 6px; width: 22px; height: 26px; border-radius: 5px; }
.swatch .b { position: absolute; left: 32px; bottom: 6px; width: 26px; height: 26px; border-radius: 5px; }
.arow { padding: 10px 16px; gap: 14px; min-height: 0; }
.ack { width: 15px; height: 14px; color: #aec4ff; }
.addn { width: 30px; height: 30px; border-radius: 8px; background: rgba(174, 196, 255, .1); color: #aec4ff; display: flex; align-items: center; justify-content: center; flex: none; }
.try { display: flex; align-items: center; gap: 12px; padding: 12px 16px; position: relative; font-size: 15.5px; letter-spacing: -.25px; color: var(--ink); }
.try + .try::before { content: ""; position: absolute; left: 16px; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .12); }
.try i { color: #aec4ff; }
.absec { display: flex; flex-direction: column; gap: 6px; padding-bottom: 20px; }
.absec .h { padding: 0 32px; font-size: 12px; color: var(--mute); }
.absec .scard { margin-bottom: 0; }
.absec .n { padding: 0 32px; font-size: 12px; line-height: 1.3; color: var(--mute); }
.pick { padding: 6px 16px; min-height: 52px; }
.pick .pv { display: flex; align-items: center; gap: 5px; font-size: 17px; letter-spacing: -.43px; color: var(--ink2); }
.pick .pv i { color: var(--ink2); }
.steps { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.steps div { display: flex; flex-direction: column; gap: 3px; }
.steps b { font-size: 17px; font-weight: 400; letter-spacing: -.43px; color: var(--ink); }
.steps span { font-size: 15px; letter-spacing: -.23px; line-height: 1.3; color: var(--mute); }

/* ---------- Agents network (AgentsUI.swift, AgentSheets.swift, RequestsScreen.swift, AgentDetailScreens.swift) ---------- */
/* NetToast: checkmark Label, 14 semibold white, padding 16 / 9, gradient #2fcf94 -> #19b4a3. Laid out in the list (it pushes the rows). */
.ntoast { position: relative; align-self: center; display: none; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 99px;
  background: linear-gradient(135deg, #2fcf94, #19b4a3); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -.15px; line-height: 17px; }
.ntoast i { width: 14px; height: 13px; }
/* NetBanner: 34 pt primary-fill tile (radius 11) with tray.and.arrow.down, title 15.5 semibold, detail 13, group background radius 20 */
.nban { position: relative; display: none; align-items: center; gap: 12px; padding: 11px 12px 11px 14px; border-radius: 20px; }
.nban .ti { position: relative; z-index: 2; width: 34px; height: 34px; border-radius: 11px; background: var(--primary-fill); color: var(--primary-glyph); display: flex; align-items: center; justify-content: center; flex: none; }
.nban .ti i { width: 16px; height: 16px; }
.nban .tx { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.nban .tx b { font-size: 15.5px; font-weight: 600; letter-spacing: -.27px; line-height: 18.5px; }
.nban .tx span { font-size: 13px; letter-spacing: -.08px; line-height: 15.5px; color: var(--mute); }
.nban > i { position: relative; z-index: 2; }
/* NetPill */
.pill.warn { color: #ffc870; background: rgba(255, 176, 32, .18); }
.pill.pend { color: var(--mute); background: rgba(255, 255, 255, .09); }
.pill.hot { color: var(--primary-glyph); background: var(--primary-fill); min-height: 28px; }
/* NetAvatar.person: gradient circle, initials size x .37 semibold white, mini orb size x .43 with a 2 pt white .9 ring, offset 3 / 3 */
.pav { position: relative; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; }
.pav .via { position: absolute; right: -3px; bottom: -3px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
/* buttons */
.npri { position: relative; flex: none; height: 52px; border-radius: 26px; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.43px; background: linear-gradient(135deg, #7b5cff, #c04dff, #ff4fa8);
  box-shadow: 0 8px 22px rgba(190, 70, 255, .27); }
.npri::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); mix-blend-mode: overlay; }
.npri.red { background: linear-gradient(135deg, #ff7a8a, #f0445a); box-shadow: 0 8px 22px rgba(240, 68, 90, .4); }
.npri i { width: 17px; height: 17px; }
.npri > .spin { display: none; }
.nsec2 { position: relative !important; flex: 1; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 16px; font-weight: 600; letter-spacing: -.31px; color: var(--ink); }
.nsec2.red { color: #ff7a8a; }
.nsec2 i, .nsec2 span { position: relative; z-index: 2; }
.nrowb { display: flex; gap: 8px; }
.nlnk { min-height: 36px; display: flex; align-items: center; justify-content: center; font-size: 15.5px; font-weight: 600; letter-spacing: -.27px; color: var(--brand); }
.nchips { display: flex; flex-wrap: wrap; gap: 8px; }
.nchip { position: relative !important; height: 36px; padding: 0 14px; border-radius: 18px; display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; letter-spacing: -.2px; color: var(--ink); }
.nchip span { position: relative; z-index: 2; }
.nchip .on { position: absolute; inset: 0; border-radius: inherit; background: var(--primary-fill); opacity: 0; z-index: 3; }
.nchip .onl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--primary-glyph); opacity: 0; z-index: 4; }
/* ProgressView (SYSTEM): 8 spokes, white */
.spin { width: 20px; height: 20px; position: relative; }
.spin svg { width: 20px; height: 20px; display: block; }
/* groups inside sheets and pages are in flow */
.ng { position: relative !important; }
.ng > .nrow, .ng > .nkv, .ng > .npick, .ng > .nterm, .ng > .nradio { position: relative; z-index: 2; }
.nkv { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 46px; font-size: 15px; letter-spacing: -.23px; line-height: 18px; }
.nkv + .nkv::before, .nterm + .nterm::before { content: ""; position: absolute; left: 14px; right: 0; top: 0; height: 1px; background: var(--line); }
.nkv .k { color: var(--mute); }
.nkv .k.red { color: #ff7a8a; font-weight: 600; }
.nkv .v { margin-left: auto; font-weight: 600; text-align: right; display: flex; align-items: center; gap: 6px; }
.nnote { padding: 0 8px; font-size: 12.5px; line-height: 17px; letter-spacing: -.02px; color: var(--mute); }
.nnote.c { text-align: center; }
/* NetAgentPickRow: label 11.5 bold tracking .6, name 16 medium, platform 13.5 + pill, "Change" 14 semibold brand */
.npick { display: flex; align-items: center; gap: 12px; padding: 11px 14px; min-height: 62px; }
.npick + .npick::before, .nradio + .nradio::before { content: ""; position: absolute; left: 64px; right: 0; top: 0; height: 1px; background: var(--line); }
.npick .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.npick .tx small { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; line-height: 14px; color: var(--mute); }
.npick .tx b { font-size: 16px; font-weight: 500; letter-spacing: -.31px; line-height: 19px; position: relative; }
.npick .tx span { display: flex; align-items: center; gap: 4px; font-size: 13.5px; letter-spacing: -.1px; color: var(--mute); position: relative; }
.npick .ch { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; letter-spacing: -.15px; color: var(--brand); }
.npick .orbx { position: relative; width: 40px; height: 40px; flex: none; }
.npick .orbx .orb { position: absolute; left: 0; top: 0; }
.npick .swapv { position: absolute; inset: 0; opacity: 0; }
/* request terms and radios */
.nterm { display: flex; align-items: center; gap: 12px; padding: 11px 14px; font-size: 14.5px; letter-spacing: -.2px; line-height: 17.5px; }
.nterm i { width: 20px; height: 17px; color: var(--brand); flex: none; }
.nradio { display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.nradio .r { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--faint); flex: none; }
.nradio .r.on { box-shadow: inset 0 0 0 7px var(--brand); }
.nradio .tx { display: flex; flex-direction: column; gap: 1px; }
.nradio .tx b { font-size: 16px; font-weight: 500; letter-spacing: -.31px; line-height: 19px; }
.nradio .tx span { font-size: 13.5px; letter-spacing: -.1px; line-height: 16px; color: var(--mute); }
/* NetSheet (SYSTEM sheet, iOS 26): inset 8 at partial detents (measured: top = 874 - 8 - (detent + 13)), radius 40 top;
   edge to edge from y 63 at .large. regularMaterial + #1c1838 @ .6 measured as #1f1e2e over the dimmed screen. */
.shdim { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 58; }   /* under the status bar (it stays bright in the recording) */
.nsheet { position: absolute; left: 8px; bottom: 8px; width: 402px; z-index: 75; border-radius: 41.7px 41.7px 49px 49px; overflow: hidden; background: #1f1e2e;
  transform-origin: 0 100%; transform: translateY(900px) scale(.9602); }
/* Partial detents are a full-width sheet (402 wide, detent + 34 safe area tall) drawn at 386/402: measured from t34
   (QR tile 170.3 for 178, grabber 34.6 for 36, sheet 386 x 513 for a 500 detent). */
.nsheet.large { left: 0; bottom: 0; top: 63px; border-radius: 40px 40px 0 0; transform: translateY(900px); }
.nsheet .sv { position: absolute; left: 0; right: 0; top: 0; padding: 0 18px 24px; display: flex; flex-direction: column; gap: 12px; }
.nsheet .grab { align-self: center; width: 36px; height: 5px; border-radius: 3px; background: var(--faint); margin: 10px 0 2px; flex: none; }
.nsheet h2 { margin: 0; text-align: center; font-size: 21px; font-weight: 700; letter-spacing: -.4px; line-height: 25px; color: var(--ink); }
.nsheet .sub { margin-top: -8px; text-align: center; font-size: 14px; letter-spacing: -.15px; line-height: 16.7px; color: var(--mute); }
.nsheet .ng { border-radius: 22px; }
.nsheet .sec { padding: 6px 8px 0; min-height: 0; }
/* the handle field */
.nfield { position: relative; min-height: 56px; padding: 9px 14px 11px; border-radius: 16px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px var(--brand);
  display: flex; flex-direction: column; gap: 2px; }
.nfield small { font-size: 12px; font-weight: 600; line-height: 14.3px; color: var(--mute); }
.nfield .in { position: relative; height: 21.3px; font-size: 16.5px; letter-spacing: -.33px; line-height: 20px; }
.nfield .ph { position: absolute; left: 0; top: 0; color: var(--faint); white-space: nowrap; }
.nfield .val { position: absolute; left: 0; top: 0; height: 20px; display: flex; align-items: center; color: var(--ink); white-space: nowrap; }
.nfield .cr { display: block; width: 2px; height: 21px; border-radius: 1px; background: var(--brand); flex: none; }
/* HandleQRView: 178 white tile, radius 26, the code at 150 */
.nqr { align-self: center; width: 178px; height: 178px; border-radius: 26px; background: #fff; display: flex; align-items: center; justify-content: center; margin-top: 4px; flex: none; }
.nqr svg { width: 150px; height: 150px; display: block; shape-rendering: crispEdges; }
.nhandle { text-align: center; font-size: 19px; font-weight: 700; letter-spacing: -.45px; line-height: 23px; white-space: nowrap; }
/* detail pages: DetailHero */
.ndet { position: absolute; left: 14px; top: 62px; width: 374px; display: flex; flex-direction: column; gap: 10px; z-index: 10; }
.ndet .top { display: flex; height: 44px; margin-top: 8px; }
.nhero { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0 2px; text-align: center; }
.nhero b { margin-top: 8px; font-size: 24px; font-weight: 700; letter-spacing: -.5px; line-height: 28.6px; }
.nhero span { font-size: 14px; letter-spacing: -.15px; line-height: 16.7px; color: var(--mute); }
/* SYSTEM menu rows from a toolbar button: icon column, 17 pt label */
.menu.nmenu .it { padding: 0 24px 0 0; min-height: 42px; }
.menu.nmenu .it .ic { width: 26px; margin: 0 14px 0 25px; }
.menu.nmenu .it .ic i { width: 18px; height: 18px; }
/* SYSTEM URL keyboard (no prediction bar): measured 4 pt higher keys, top at 573 */
.kb.url { top: 573px; height: 301px; }
.nsheet .sv > .nsec2 { flex: none; }
/* ThemeRowFill inside a sheet: FieldGlass is the theme field at the group's place on screen (pre-blurred, sigma 16,
   saturation 1.35, black 12%; Midnight artwork blurred 20 and dimmed 16%) @ material .85, plus white .07. The scene places .fwi. */
.fwin { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 0; pointer-events: none; }
.fwin .fwi { position: absolute; background: center / cover no-repeat; filter: blur(var(--fb, 25.6px)) saturate(1.35) brightness(.74); opacity: .85; }
.fwin::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .07); }
