/* Atlas team app styles. Carried over from the approved design (workspace/jobs/62ac1f56/src/atlas.css)
   with the presentation page and the phone bezel removed; app-only rules live in app.css. */
/* =====================================================================
   Atlas team app, design prototype v2. Tokens first, then the device,
   then components, then screens. Everything inside .phone uses the
   app tokens; the presentation page around it uses --pg-* tokens.
   ===================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-sheet: cubic-bezier(.32, .72, 0, 1);
  --t-fast: 140ms; --t-mid: 240ms; --t-slow: 420ms;

  /* app tokens, light */
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-2: #fafaf8;
  --fill: #efefeb;
  --fill-2: #e6e6e1;
  --line: #e7e6e1;
  --line-2: #d6d5cf;
  --text: #17181b;
  --text-2: #53565d;
  --text-3: #868990;
  --accent: #2d5bd2;
  --accent-press: #2249ad;
  --accent-soft: #ebf0fc;
  --accent-text: #2450c4;
  --on-accent: #ffffff;
  --ok: #1b7d4c; --ok-soft: #e5f3eb;
  --warn: #9e5b07; --warn-soft: #fbefdc;
  --bad: #c4333b; --bad-soft: #fcebeb;
  --ink: #17181b; --on-ink: #ffffff;
  --mention-bg: #fdf3d8; --mention-text: #7a4f00;
  --tabbar: rgba(250, 250, 248, .86);
  --navbar: rgba(244, 244, 241, .86);
  --scrim: rgba(18, 19, 22, .32);
  --shadow-card: 0 1px 2px rgba(20, 20, 18, .04);
  --shadow-pop: 0 10px 30px -8px rgba(20, 20, 18, .22), 0 2px 6px rgba(20, 20, 18, .06);

  /* identity tints (people, workspaces). Identity only, never status. */
  --id-a-bg: #e2e9fb; --id-a-fg: #2a4bb0;
  --id-m-bg: #f4e7d7; --id-m-fg: #874912;
  --id-s-bg: #dcefe4; --id-s-fg: #1b6a42;
  --id-l-bg: #eee2f4; --id-l-fg: #6f3388;
  --id-j-bg: #fbe3e1; --id-j-fg: #a1343a;

  /* presentation page */
  --pg-bg: #e9e8e3;
  --pg-surface: #f6f5f2;
  --pg-line: rgba(23, 24, 27, .10);
  --pg-text: #17181b;
  --pg-text-2: #55585f;
  --pg-text-3: #84878d;
  color-scheme: light;
}

html.dark {
  --bg: #0e0f11;
  --surface: #17181b;
  --surface-2: #1b1c20;
  --fill: #222327;
  --fill-2: #2b2c31;
  --line: #26272b;
  --line-2: #36373d;
  --text: #ededef;
  --text-2: #a7a9af;
  --text-3: #74777e;
  --accent: #4f7df0;
  --accent-press: #3f6be0;
  --accent-soft: rgba(96, 137, 245, .15);
  --accent-text: #86a6ff;
  --on-accent: #ffffff;
  --ok: #45bd82; --ok-soft: rgba(69, 189, 130, .14);
  --warn: #e3a54a; --warn-soft: rgba(227, 165, 74, .14);
  --bad: #f06a70; --bad-soft: rgba(240, 106, 112, .14);
  --ink: #ededef; --on-ink: #0e0f11;
  --mention-bg: rgba(227, 165, 74, .16); --mention-text: #f0c27a;
  --tabbar: rgba(23, 24, 27, .86);
  --navbar: rgba(14, 15, 17, .86);
  --scrim: rgba(0, 0, 0, .55);
  --shadow-card: none;
  --shadow-pop: 0 12px 34px -8px rgba(0, 0, 0, .6);

  --id-a-bg: #1f2b4a; --id-a-fg: #a9bff7;
  --id-m-bg: #3a2a1a; --id-m-fg: #ebc293;
  --id-s-bg: #183526; --id-s-fg: #9ed9b7;
  --id-l-bg: #33223d; --id-l-fg: #d8b1ea;
  --id-j-bg: #3d2224; --id-j-fg: #f1b0b0;

  --pg-bg: #0a0a0b;
  --pg-surface: #121315;
  --pg-line: rgba(255, 255, 255, .08);
  --pg-text: #ededef;
  --pg-text-2: #a7a9af;
  --pg-text-3: #74777e;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--pg-bg); color: var(--pg-text);
  font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--t-mid) var(--ease);
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; -webkit-tap-highlight-color: transparent; }
input, textarea { font: inherit; color: inherit; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.tnum { font-variant-numeric: tabular-nums; }

.phone {
  position: relative; width: 390px; height: 844px; border-radius: 54px; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--text);
  font: 15px/21px var(--font); letter-spacing: -.003em;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
  user-select: none; -webkit-user-select: none;
}









.views { position: absolute; inset: 0; overflow: hidden; }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); will-change: transform; }
.view.enter { animation: view-in var(--t-slow) var(--ease-sheet) both; }
.view.leave { animation: view-out var(--t-slow) var(--ease-sheet) both; }
.view.enter-back { animation: view-in-back var(--t-slow) var(--ease-sheet) both; }
.view.leave-back { animation: view-out-back var(--t-slow) var(--ease-sheet) both; z-index: 2; }
.view.fade { animation: view-fade var(--t-mid) var(--ease) both; }
@keyframes view-in { from { transform: translateX(100%); box-shadow: -10px 0 30px rgba(0,0,0,.08); } to { transform: none; } }
@keyframes view-out { to { transform: translateX(-28%); filter: brightness(.96); } }
@keyframes view-in-back { from { transform: translateX(-28%); } to { transform: none; } }
@keyframes view-out-back { to { transform: translateX(100%); } }
@keyframes view-fade { from { opacity: 0; } to { opacity: 1; } }

.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; padding-top: var(--top); }
.scroll::-webkit-scrollbar { display: none; }
.scroll.has-tabs { padding-bottom: 100px; }
.scroll.has-bar { padding-top: 0; }
.pad { padding: 0 16px; }

/* nav bars */
.nav { flex: none; padding-top: var(--top); background: var(--navbar); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: .5px solid var(--line); position: relative; z-index: 5; }
.nav-row { height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 8px; }
.nav-row .l { display: flex; justify-content: flex-start; }
.nav-row .r { display: flex; justify-content: flex-end; gap: 2px; }
.nav-title { text-align: center; min-width: 0; }
.nav-title > b { display: block; font: 600 16.5px/20px var(--font-display); letter-spacing: -.012em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-title > span { display: block; font-size: 12px; line-height: 15px; color: var(--text-3); white-space: nowrap; }
.nav-back { height: 40px; display: inline-flex; align-items: center; gap: 0; padding: 0 8px 0 2px; color: var(--accent-text); font-size: 16.5px; border-radius: 10px; }
.nav-back svg.i { width: 26px; height: 26px; stroke-width: 2.1; }
.nav-ic { width: 40px; height: 40px; display: grid; place-items: center; color: var(--accent-text); border-radius: 12px; }
.nav-ic svg.i { width: 22px; height: 22px; }
.nav-ic:active, .nav-back:active { opacity: .5; }

.lt-head { padding: 6px 16px 0; }
.lt-top { height: 44px; display: flex; align-items: center; justify-content: space-between; }
.lt-top .ws { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 4px; margin-left: -4px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.lt-top .ws svg.i { width: 14px; height: 14px; color: var(--text-3); }
.lt-top .acts { display: flex; align-items: center; gap: 4px; }
.lt-top .ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.lt-top .ic:active { background: var(--fill); }
.lt-date { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: .01em; margin-top: 4px; }
.lt { font: 700 32px/38px var(--font-display); letter-spacing: -.026em; margin: 0; }
.lt-sub { font-size: 14px; color: var(--text-3); margin-top: 2px; }

/* =====================================================================
   Components
   ===================================================================== */
.mark { display: inline-block; flex: none; }

.av { --s: 32px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: grid; place-items: center; font: 650 calc(var(--s) * .42)/1 var(--font-display); letter-spacing: -.01em; position: relative; }
.av.a { background: var(--id-a-bg); color: var(--id-a-fg); }
.av.m { background: var(--id-m-bg); color: var(--id-m-fg); }
.av.s { background: var(--id-s-bg); color: var(--id-s-fg); }
.av.l { background: var(--id-l-bg); color: var(--id-l-fg); }
.av.j { background: var(--id-j-bg); color: var(--id-j-fg); }
.av.sq { border-radius: 28%; }
.av.atlas { background: var(--ink); color: var(--on-ink); border-radius: 28%; }
.av.atlas svg { width: 58%; height: 58%; }
.av .pres { position: absolute; right: -1px; bottom: -1px; width: 30%; height: 30%; min-width: 9px; min-height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--surface); }
.av .pres.away { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--text-3), 0 0 0 2px var(--surface); }
.av-stack { display: inline-flex; }
.av-stack .av { box-shadow: 0 0 0 2px var(--surface); }
.av-stack .av + .av { margin-left: -6px; }

.search { width: 100%; height: 38px; margin: 12px 0 0; border-radius: 11px; background: var(--fill); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--text-3); font-size: 15.5px; }
.search svg.i { width: 18px; height: 18px; }
.search .kbd { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.search .kbd .mark { width: 18px; height: 18px; }

.sec { display: flex; align-items: baseline; justify-content: space-between; padding: 24px 4px 8px; }
.sec h3 { margin: 0; font: 650 17px/22px var(--font-display); letter-spacing: -.012em; display: inline-flex; align-items: center; gap: 8px; }
.sec h3 .cnt { font: 600 13px/1 var(--font); color: var(--text-3); }
.sec .more { font-size: 14px; color: var(--accent-text); font-weight: 500; }
.sec .note { font-size: 12.5px; color: var(--text-3); }
.sec.cap { padding: 20px 4px 6px; }
.sec.cap h3 { font: 600 12.5px/16px var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }

.group { background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); }
html:not(.dark) .group { box-shadow: 0 0 0 .5px rgba(20,20,18,.06), var(--shadow-card); }
.row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; width: 100%; transition: background-color var(--t-fast); }
.row + .row::before { content: ""; position: absolute; top: 0; right: 0; left: var(--inset, 14px); border-top: .5px solid var(--line-2); opacity: .8; }
button.row:active, .row.tap:active { background: var(--fill); }
.row .main { flex: 1; min-width: 0; }
.row .t { font-size: 15.5px; line-height: 21px; font-weight: 500; letter-spacing: -.008em; display: flex; align-items: center; gap: 8px; min-width: 0; }
.row .t > span.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.row .s { font-size: 13.5px; line-height: 18px; color: var(--text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .s.wrap { white-space: normal; }
.row .end { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.row .end b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.row .end > span:not(.tag):not(.badge) { font-size: 12.5px; color: var(--text-3); }
.row .chev { width: 16px; height: 16px; color: var(--text-3); opacity: .7; stroke-width: 2.2; }
.row .lead { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--fill); color: var(--text-2); }
.row .lead svg.i { width: 19px; height: 19px; }
.lead.acc { background: var(--accent-soft) !important; color: var(--accent-text) !important; }
.lead.warn { background: var(--warn-soft) !important; color: var(--warn) !important; }
.lead.bad { background: var(--bad-soft) !important; color: var(--bad) !important; }
.lead.ok { background: var(--ok-soft) !important; color: var(--ok) !important; }

.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 7px; font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap; background: var(--fill); color: var(--text-2); flex: none; }
.tag svg.i { width: 12px; height: 12px; stroke-width: 2.2; }
.tag.acc { background: var(--accent-soft); color: var(--accent-text); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.tag.sm { height: 19px; padding: 0 6px; font-size: 11px; border-radius: 6px; }
.tag.solid-bad { background: var(--bad); color: #fff; }

.btn { height: 44px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast), opacity var(--t-fast); }
.btn:active { transform: scale(.97); }
.btn svg.i { width: 19px; height: 19px; }
.btn.pri { background: var(--accent); color: var(--on-accent); }
.btn.pri:active { background: var(--accent-press); }
.btn.sec { background: var(--fill); color: var(--text); }
.btn.sec:active { background: var(--fill-2); }
.btn.out { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); background: var(--surface); }
.btn.danger { background: var(--bad); color: #fff; }
.btn.ghost-danger { color: var(--bad); background: var(--bad-soft); }
.btn.ink { background: var(--ink); color: var(--on-ink); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn.xs { height: 30px; padding: 0 12px; font-size: 13.5px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn.lg { height: 54px; font-size: 17px; border-radius: 15px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btns { display: flex; gap: 8px; }
.btns > .btn { flex: 1; }
.link { color: var(--accent-text); font-weight: 500; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 2px; border-radius: 10px; background: var(--fill); }
.seg button { height: 30px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-2); text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background-color var(--t-fast), color var(--t-fast); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.10), 0 0 0 .5px rgba(0,0,0,.04); }
html.dark .seg button.on { background: var(--fill-2); box-shadow: none; }
.seg .c { font-size: 12px; color: var(--text-3); font-weight: 600; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 550; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); transition: transform var(--t-fast) var(--ease), background-color var(--t-fast); }
.chip:active { transform: scale(.96); }
.chip.on { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.chip svg.i { width: 15px; height: 15px; color: var(--text-3); }

.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 19px; }
.banner svg.i { width: 18px; height: 18px; margin-top: 1px; }
.banner b { font-weight: 650; }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.bad { background: var(--bad-soft); color: var(--bad); }
.banner.info { background: var(--fill); color: var(--text-2); }
.banner.acc { background: var(--accent-soft); color: var(--accent-text); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: var(--surface); border-radius: 14px; padding: 12px 14px 12px; box-shadow: var(--shadow-card); text-align: left; }
html:not(.dark) .kpi { box-shadow: 0 0 0 .5px rgba(20,20,18,.06); }
.kpi b { display: block; font: 650 24px/28px var(--font-display); letter-spacing: -.02em; }
.kpi span { display: block; font-size: 12.5px; line-height: 16px; color: var(--text-3); margin-top: 2px; }
.kpi.warn b { color: var(--warn); }
.kpi.bad b { color: var(--bad); }
.kpi .ind { display: inline-flex; align-items: center; gap: 4px; }
.kpi .ind svg.i { width: 13px; height: 13px; stroke-width: 2.2; }

.meter { height: 6px; border-radius: 3px; background: var(--fill-2); overflow: hidden; display: flex; gap: 2px; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--text-2); }
.meter i.pend { background: color-mix(in srgb, var(--text-2) 45%, transparent); }
.meter i.over { background: var(--warn); }
.meter-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.meter-row b { color: var(--text); font-weight: 600; }

.prog { height: 4px; border-radius: 2px; background: var(--fill-2); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--text-2); border-radius: 2px; transition: width var(--t-slow) var(--ease); }
.prog.acc i { background: var(--accent); }
.prog.ok i { background: var(--ok); }

.kv { display: grid; grid-template-columns: 1fr auto; }
.kv > div { padding: 11px 14px; font-size: 15px; line-height: 20px; position: relative; }
.kv > div:nth-child(odd) { color: var(--text-2); }
.kv > div:nth-child(even) { text-align: right; font-weight: 550; }
.kv > div:nth-child(n+3)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; border-top: .5px solid var(--line-2); }
.kv > div:nth-child(odd):nth-child(n+3)::before { left: 14px; }
.kv > div.sum { font-weight: 700; color: var(--text); }
.kv small { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 400; }

/* timeline */
.tl { list-style: none; margin: 0; padding: 8px 14px 10px; }
.tl li { position: relative; padding: 7px 0 7px 22px; font-size: 14px; line-height: 19px; color: var(--text-2); }
.tl li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.tl li.on::before { background: var(--accent); }
.tl li + li::after { content: ""; position: absolute; left: 7.5px; top: -6px; height: 18px; border-left: 1px solid var(--line-2); }
.tl time { color: var(--text-3); display: inline-block; min-width: 62px; }

/* approval card */
.ac { background: var(--surface); border-radius: 18px; padding: 14px 16px 16px; position: relative; box-shadow: var(--shadow-card); transition: opacity var(--t-mid), transform var(--t-mid) var(--ease); }
html:not(.dark) .ac { box-shadow: 0 0 0 .5px rgba(20,20,18,.07), 0 1px 3px rgba(20,20,18,.04); }
.ac + .ac { margin-top: 12px; }
.ac.over { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--warn) 55%, transparent); }
.ac-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ac-top .kind { font-size: 12.5px; font-weight: 600; color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.ac-top .kind svg.i { width: 15px; height: 15px; }
.ac-top .when { margin-left: auto; font-size: 12.5px; color: var(--text-3); }
.ac-title { font: 650 17px/22px var(--font-display); letter-spacing: -.012em; }
.ac-sub { font-size: 13.5px; line-height: 19px; color: var(--text-3); margin-top: 3px; }
.ac-amt { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.ac-amt b { font: 700 28px/32px var(--font-display); letter-spacing: -.025em; }
.ac-amt span { font-size: 13.5px; color: var(--text-3); }
.ac-nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; padding-top: 12px; border-top: .5px solid var(--line-2); }
.ac-nums div { font-size: 12px; line-height: 16px; color: var(--text-3); }
.ac-nums div + div { padding-left: 12px; border-left: .5px solid var(--line-2); }
.ac-nums b { display: block; font-size: 15.5px; line-height: 21px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.ac-over { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 13.5px; line-height: 19px; display: flex; gap: 8px; }
.ac-over svg.i { width: 17px; height: 17px; margin-top: 1px; }
.ac-over b { font-weight: 650; }
.ac-note { margin-top: 10px; font-size: 13px; line-height: 18px; color: var(--text-3); display: flex; gap: 6px; align-items: flex-start; }
.ac-note svg.i { width: 15px; height: 15px; margin-top: 1.5px; }
.ac-acts { margin-top: 14px; display: flex; gap: 8px; }
.ac-acts .btn { flex: 1; height: 42px; font-size: 15.5px; }
.ac-acts .btn.narrow { flex: 0 0 auto; padding: 0 14px; }
.ac-state { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 19px; }
.ac-state svg.i { width: 18px; height: 18px; stroke-width: 2.2; }
.ac-state.ok { background: var(--ok-soft); color: var(--ok); }
.ac-state.bad { background: var(--bad-soft); color: var(--bad); }
.ac-state.wait { background: var(--fill); color: var(--text-2); }
.ac-state b { font-weight: 650; }
.ac-state span { margin-left: auto; font-size: 12.5px; opacity: .85; }
.ac.flash { animation: flash 900ms var(--ease); }
@keyframes flash { 0% { transform: scale(.985); } 40% { transform: scale(1.01); } 100% { transform: none; } }

.ac.mini { padding: 12px 14px; border-radius: 16px; }
.ac.mini .ac-title { font-size: 15.5px; line-height: 21px; }
.ac.mini .ac-amt b { font-size: 22px; line-height: 26px; }

/* tasks */
.task { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; position: relative; width: 100%; }
.task + .task::before { content: ""; position: absolute; top: 0; right: 0; left: 50px; border-top: .5px solid var(--line-2); }
.cb { width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.75px var(--line-2); display: grid; place-items: center; margin-top: -1px; transition: background-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease); }
.cb svg.i { width: 14px; height: 14px; stroke-width: 2.6; color: #fff; opacity: 0; transform: scale(.5); transition: opacity var(--t-fast), transform var(--t-mid) var(--ease); }
.cb:active { transform: scale(.88); }
.task.done .cb { background: var(--ok); box-shadow: none; }
.task.done .cb svg.i { opacity: 1; transform: none; }
.task.blocked .cb { box-shadow: inset 0 0 0 1.75px var(--bad); }
.task .tt { font-size: 15.5px; line-height: 21px; font-weight: 500; letter-spacing: -.008em; transition: color var(--t-mid); }
.task.done .tt { color: var(--text-3); }
.task .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 5px; font-size: 13px; line-height: 17px; color: var(--text-3); }
.task .meta .late { color: var(--bad); font-weight: 600; }
.task .who { margin-left: auto; flex: none; }
.proof { margin-top: 8px; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--fill); font-size: 12.5px; line-height: 17px; color: var(--text-2); }
.proof svg.i { width: 14px; height: 14px; color: var(--ok); stroke-width: 2.2; }
.proof button { margin-left: auto; color: var(--accent-text); font-weight: 600; font-size: 12.5px; }

/* overlap notice */
.olap { background: var(--surface); border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; gap: 0 12px; box-shadow: var(--shadow-card); }
html:not(.dark) .olap { box-shadow: 0 0 0 .5px rgba(20,20,18,.06); }
.olap .lead { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); grid-row: span 3; }
.olap .lead svg.i { width: 19px; height: 19px; }
.olap b { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -.008em; }
.olap p { margin: 3px 0 0; font-size: 13.5px; line-height: 19px; color: var(--text-2); }
.olap .q { font-size: 12px; color: var(--text-3); margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; }
.olap .q svg.i { width: 13px; height: 13px; }
.olap .btns { margin-top: 12px; grid-column: 2; }
.olap.gone { display: none; }

/* lanes */
.lane { background: var(--surface); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-card); }
html:not(.dark) .lane { box-shadow: 0 0 0 .5px rgba(20,20,18,.06); }
.lane + .lane { margin-top: 10px; }
.lane-h { display: flex; align-items: center; gap: 12px; }
.lane-h .nm { flex: 1; min-width: 0; }
.lane-h .nm b { display: block; font-size: 15.5px; line-height: 20px; font-weight: 600; }
.lane-h .nm span { display: block; font-size: 13px; line-height: 17px; color: var(--text-3); }
.lane-h .ct { text-align: right; font-size: 13px; color: var(--text-3); }
.lane-h .ct b { display: block; font-size: 17px; line-height: 21px; color: var(--text); font-weight: 650; letter-spacing: -.01em; }
.lane .prog { margin: 12px 0 10px; }
.lane .now { display: flex; gap: 8px; align-items: baseline; font-size: 14px; line-height: 19px; }
.lane .now .k { flex: none; font-size: 12px; font-weight: 650; color: var(--accent-text); text-transform: uppercase; letter-spacing: .04em; width: 42px; }
.lane .now .k.d { color: var(--text-3); }
.lane .now + .now { margin-top: 6px; }
.lane .now .v { color: var(--text-2); min-width: 0; }
.lane .now time { margin-left: auto; flex: none; font-size: 12.5px; color: var(--text-3); }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 14px 0 0; }
.week button { height: 58px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--text-3); }
.week button b { font: 600 17px/20px var(--font-display); color: var(--text); }
.week button i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); opacity: .5; margin-top: 2px; }
.week button.on { background: var(--ink); color: color-mix(in srgb, var(--on-ink) 70%, transparent); }
.week button.on b { color: var(--on-ink); }
.week button.on i { background: var(--on-ink); opacity: .7; }
.week button.empty i { visibility: hidden; }

/* tab bar */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; z-index: 20; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 6px 6px 0; background: var(--tabbar); backdrop-filter: saturate(1.8) blur(22px); -webkit-backdrop-filter: saturate(1.8) blur(22px); border-top: .5px solid var(--line-2); transition: transform var(--t-slow) var(--ease-sheet); }
.tabbar.hide { transform: translateY(100%); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding-top: 2px; height: 50px; color: var(--text-3); font-size: 10.5px; font-weight: 600; letter-spacing: .01em; position: relative; transition: color var(--t-fast); }
.tab svg.i { width: 26px; height: 26px; stroke-width: 1.7; }
.tab.on { color: var(--accent-text); }
.tab.on svg.i { stroke-width: 2; }
.tab:active svg.i { transform: scale(.9); }
.tab .badge { position: absolute; top: 0; left: calc(50% + 6px); }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--tabbar); }
.badge.n { background: var(--text-3); }
.badge.acc { background: var(--accent); }
.badge.pop { animation: pop 380ms var(--ease); }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: none; } }

/* sheets */
.layer { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.layer.open { pointer-events: auto; }
.scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.layer.open .scrim { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 30px 30px 0 0; padding: 8px 20px 40px; transform: translateY(105%); transition: transform var(--t-slow) var(--ease-sheet); max-height: 92%; overflow-y: auto; scrollbar-width: none; }
html.dark .sheet { background: #1c1d21; }
.layer.open .sheet { transform: none; }
.grab { width: 38px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 0 auto 14px; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-h b { font: 650 19px/24px var(--font-display); letter-spacing: -.015em; }
.sheet-x { width: 32px; height: 32px; border-radius: 50%; background: var(--fill); color: var(--text-2); display: grid; place-items: center; flex: none; }
.sheet-x svg.i { width: 15px; height: 15px; stroke-width: 2.4; }
.sheet .lbl { font-size: 13px; font-weight: 600; color: var(--text-3); margin: 18px 2px 8px; }
.sheet .fine { font-size: 12.5px; line-height: 18px; color: var(--text-3); margin: 12px 2px 0; text-align: center; }
.sheet .group { box-shadow: none; background: var(--fill); }
html.dark .sheet .group { background: var(--fill); }
.sheet .kv > div:nth-child(n+3)::before { border-color: color-mix(in srgb, var(--line-2) 80%, transparent); }
.field { min-height: 48px; border-radius: 12px; background: var(--fill); padding: 12px 14px; font-size: 16px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.field.typed { color: var(--text); }
.field .caret { width: 2px; height: 20px; background: var(--accent); animation: blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }

/* Face ID HUD */
.hud { position: absolute; inset: 0; z-index: 38; display: grid; place-items: center; pointer-events: none; }
.hud-box { width: 156px; height: 156px; border-radius: 34px; background: rgba(240, 240, 240, .82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #17181b; opacity: 0; transform: scale(.86); transition: opacity 200ms var(--ease), transform 300ms var(--ease); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
html.dark .hud-box { background: rgba(48, 49, 54, .86); color: #fff; }
.hud.show .hud-box { opacity: 1; transform: none; }
.hud-box span { font-size: 14px; font-weight: 600; }
.fid { width: 64px; height: 64px; }
.fid path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fid .face { transition: opacity 200ms; }
.fid .ok { stroke-dasharray: 60; stroke-dashoffset: 60; opacity: 0; }
.hud.scan .fid .corners { animation: fid-pulse 700ms var(--ease) infinite alternate; transform-origin: 50% 50%; }
@keyframes fid-pulse { to { transform: scale(.9); } }
.hud.done .fid .face { opacity: 0; }
.hud.done .fid .corners { opacity: 0; transition: opacity 200ms; }
.hud.done .fid .ok { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 420ms var(--ease) 120ms, opacity 100ms; }
.hud.done .fid { color: var(--ok); }
html.dark .hud.done .fid { color: #4fd18f; }

/* toast */
.toast { position: absolute; top: 56px; left: 12px; right: 12px; z-index: 36; background: var(--surface); border-radius: 18px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-pop); transform: translateY(calc(-100% - 72px)); opacity: 0; transition: transform var(--t-slow) var(--ease-sheet), opacity var(--t-mid); pointer-events: none; }
html.dark .toast { background: #26272c; }
.toast.show { transform: none; opacity: 1; }
.toast .lead { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.toast .lead svg.i { width: 18px; height: 18px; stroke-width: 2.2; }
.toast .tx b { display: block; font-size: 14.5px; line-height: 19px; font-weight: 600; }
.toast .tx span { display: block; font-size: 13px; line-height: 17px; color: var(--text-3); }

/* =====================================================================
   Chat: Atlas private thread
   ===================================================================== */
.atl-head { display: flex; align-items: center; gap: 8px; justify-content: center; }
.atl-head b { font: 600 16.5px/20px var(--font-display); letter-spacing: -.012em; }
.msgs { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.day { text-align: center; font-size: 12px; font-weight: 600; color: var(--text-3); margin: 4px 0; }
.me { align-self: flex-end; max-width: 78%; background: var(--accent); color: var(--on-accent); border-radius: 20px 20px 6px 20px; padding: 9px 14px; font-size: 16px; line-height: 22px; letter-spacing: -.01em; }
.me + .me { margin-top: -10px; border-top-right-radius: 6px; }
.bot { align-self: stretch; display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.bot .av { --s: 28px; margin-top: 1px; }
.bot .body { min-width: 0; font-size: 16px; line-height: 23px; letter-spacing: -.01em; }
.bot .body p { margin: 0 0 8px; }
.bot .body p:last-child { margin-bottom: 0; }
.bot .who { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 2px; display: flex; gap: 6px; align-items: center; }
.bot .who time { font-weight: 400; color: var(--text-3); }
.src { display: flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 17px; color: var(--text-3); margin: 8px 0 0; }
.src svg.i { width: 13px; height: 13px; color: var(--ok); stroke-width: 2.3; }
.numcard { background: var(--surface); border-radius: 16px; margin: 6px 0 4px; overflow: hidden; box-shadow: var(--shadow-card); }
html:not(.dark) .numcard { box-shadow: 0 0 0 .5px rgba(20,20,18,.08), 0 1px 2px rgba(20,20,18,.04); }
.numcard-h { padding: 12px 14px 10px; border-bottom: .5px solid var(--line-2); }
.numcard-h b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.numcard-h span { display: block; font-size: 12.5px; line-height: 17px; color: var(--text-3); margin-top: 1px; }
.numgrid { display: grid; grid-template-columns: 1fr 1fr; }
.numgrid > div { padding: 10px 14px; font-size: 12.5px; line-height: 16px; color: var(--text-3); position: relative; }
.numgrid > div:nth-child(even)::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; border-left: .5px solid var(--line-2); }
.numgrid > div:nth-child(n+3) { border-top: .5px solid var(--line-2); }
.numgrid b { display: block; font: 600 17px/22px var(--font-display); color: var(--text); letter-spacing: -.012em; margin-top: 2px; }
.numgrid b small { font: 500 12.5px var(--font); color: var(--text-3); letter-spacing: 0; }
.numgrid .up { color: var(--ok); }
.numgrid .dn { color: var(--warn); }
.status-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.status-line .dots { display: inline-flex; gap: 3px; }
.status-line .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); animation: dots 1s infinite ease-in-out; }
.status-line .dots i:nth-child(2) { animation-delay: .15s; }
.status-line .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.enter-up { animation: enter-up 360ms var(--ease) both; }
@keyframes enter-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.composer-wrap { flex: none; padding: 8px 12px 34px; background: var(--navbar); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-top: .5px solid var(--line); }
.suggest { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 2px 10px; }
.suggest::-webkit-scrollbar { display: none; }
.suggest .chip { height: 32px; font-size: 13.5px; white-space: nowrap; flex: none; }
.composer { display: flex; align-items: flex-end; gap: 8px; }
.composer .plus { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); background: var(--fill); flex: none; }
.composer .plus svg.i { width: 20px; height: 20px; stroke-width: 2; }
.composer .box { flex: 1; min-height: 38px; border-radius: 19px; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--surface); display: flex; align-items: center; padding: 0 5px 0 14px; color: var(--text-3); font-size: 16px; gap: 6px; }
.composer .box > span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer .box .ib { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text-3); flex: none; }
.composer .box .ib svg.i { width: 20px; height: 20px; }
.composer .send { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.composer .send svg.i { width: 17px; height: 17px; stroke-width: 2.4; }
.composer .send.off { background: var(--fill-2); color: var(--text-3); }

/* =====================================================================
   Company chat
   ===================================================================== */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.quick button { background: var(--surface); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; box-shadow: var(--shadow-card); position: relative; }
html:not(.dark) .quick button { box-shadow: 0 0 0 .5px rgba(20,20,18,.06); }
.quick button:active { background: var(--fill); }
.quick svg.i { width: 20px; height: 20px; color: var(--text-2); }
.quick .ql { font-size: 14px; font-weight: 600; }
.quick .badge { position: absolute; top: 10px; right: 10px; box-shadow: none; }

.ch { display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 52px; width: 100%; position: relative; }
.ch + .ch::before { content: ""; position: absolute; top: 0; right: 0; left: 56px; border-top: .5px solid var(--line-2); opacity: .8; }
.ch:active { background: var(--fill); }
.ch .hash { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--fill); color: var(--text-2); flex: none; }
.ch .hash svg.i { width: 17px; height: 17px; stroke-width: 2; }
.ch .av { --s: 30px; }
.ch .mid { flex: 1; min-width: 0; padding: 9px 0; }
.ch .nm { font-size: 15.5px; line-height: 20px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.ch .nm svg.i { width: 13px; height: 13px; color: var(--text-3); stroke-width: 2.2; }
.ch .pv { font-size: 13.5px; line-height: 18px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.ch.unread .nm { font-weight: 700; }
.ch.unread .pv { color: var(--text-2); }
.ch .rt { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: var(--text-3); }
.ch .rt .badge { box-shadow: none; }
.ch .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.ch.muted .nm, .ch.muted .pv { color: var(--text-3); }
.ws-h { display: flex; align-items: center; gap: 8px; padding: 22px 4px 8px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.ws-h .wsm { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 750; }
.ws-h .lock { margin-left: auto; font-weight: 500; font-size: 12px; display: inline-flex; gap: 4px; align-items: center; }
.ws-h .lock svg.i { width: 12px; height: 12px; }
.member-note { margin: 18px 4px 0; display: flex; gap: 8px; font-size: 12.5px; line-height: 18px; color: var(--text-3); }
.member-note svg.i { width: 15px; height: 15px; margin-top: 1px; flex: none; }

.pinbar { width: 100%; text-align: left; flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 16px; background: var(--surface); border-bottom: .5px solid var(--line); font-size: 13.5px; position: relative; z-index: 4; }
.pinbar svg.i { width: 16px; height: 16px; color: var(--warn); }
.pinbar .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.pinbar .t b { color: var(--text); font-weight: 600; }
.pinbar .n { font-size: 12.5px; color: var(--text-3); }

.feed { padding: 8px 0 16px; }
.post { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 8px 16px; position: relative; }
.post.cont { padding-top: 2px; }
.post.cont .av { visibility: hidden; height: 0; }
.post .av { --s: 38px; border-radius: 11px; }
.post .hd { display: flex; align-items: baseline; gap: 8px; }
.post .hd b { font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.post .hd time { font-size: 12.5px; color: var(--text-3); }
.post .hd .tag { align-self: center; }
.post .tx { font-size: 16px; line-height: 23px; letter-spacing: -.008em; margin-top: 1px; }
.post .tx p { margin: 0 0 6px; }
.post .tx p:last-child { margin: 0; }
.ment { background: var(--mention-bg); color: var(--mention-text); border-radius: 5px; padding: 0 3px; font-weight: 550; }
.ment.me-m { background: var(--accent-soft); color: var(--accent-text); }
.chref { color: var(--accent-text); font-weight: 500; }
.post.hl { background: color-mix(in srgb, var(--mention-bg) 55%, transparent); }
.rx { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.rx span { height: 26px; padding: 0 8px; border-radius: 13px; background: var(--fill); display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.rx span.mine { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
.rx .e { font-size: 14px; line-height: 1; }
.thr { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 4px; border-radius: 10px; color: var(--accent-text); font-size: 13.5px; font-weight: 600; }
.thr:active { background: var(--fill); }
.thr .av-stack .av { --s: 22px; border-radius: 7px; box-shadow: 0 0 0 2px var(--bg); }
.thr span.l { color: var(--text-3); font-weight: 500; }
.thr svg.i { width: 14px; height: 14px; color: var(--text-3); }
.photos { display: grid; gap: 4px; margin-top: 8px; border-radius: 14px; overflow: hidden; max-width: 290px; }
.photos.two { grid-template-columns: 1fr 1fr; }
.photos .ph { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--fill); }
.photos .ph svg { width: 100%; height: 100%; display: block; }
.photos.one .ph { aspect-ratio: 16 / 10; }
.file { margin-top: 8px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); max-width: 290px; }
.file .fi { width: 36px; height: 42px; border-radius: 7px; background: var(--bad-soft); color: var(--bad); display: grid; place-items: center; font-size: 10px; font-weight: 750; letter-spacing: .03em; }
.file .fn b { display: block; font-size: 14.5px; font-weight: 600; line-height: 19px; }
.file .fn span { display: block; font-size: 12.5px; color: var(--text-3); }
.newline { display: flex; align-items: center; gap: 10px; padding: 6px 16px; color: var(--bad); font-size: 12px; font-weight: 700; }
.newline::before { content: ""; flex: 1; border-top: 1px solid color-mix(in srgb, var(--bad) 60%, transparent); }
.newline::after { content: ""; width: 0; }
.dayline { display: flex; align-items: center; gap: 12px; padding: 10px 16px 4px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.dayline::before, .dayline::after { content: ""; flex: 1; border-top: .5px solid var(--line-2); }
.seen { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 2px 16px 0; font-size: 12px; color: var(--text-3); }
.seen .av-stack .av { --s: 16px; font-size: 8px; box-shadow: 0 0 0 1.5px var(--bg); }
.bot-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); background: var(--fill); border-radius: 4px; padding: 1px 5px; align-self: center; }
.atlas-reply { margin-top: 8px; }
.atlas-reply .numcard { margin-top: 4px; }
.aud { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; line-height: 17px; color: var(--text-3); margin-top: 8px; }
.aud svg.i { width: 13px; height: 13px; margin-top: 2px; }
.post-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.taskcard { margin-top: 8px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.taskcard .cb { margin-top: 0; }
.taskcard .tc b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.taskcard .tc span { display: block; font-size: 13px; line-height: 18px; color: var(--text-3); margin-top: 2px; }
.thread-parent { padding: 6px 0 10px; border-bottom: .5px solid var(--line-2); }
.replies-line { padding: 10px 16px 2px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.chan-composer .box { border-radius: 14px; }

/* =====================================================================
   Sign-in
   ===================================================================== */
.signin { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--top) + 20px) 28px calc(var(--bottom) + 30px); background: var(--bg); }
.signin .top { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.signin .top .mark { width: 76px; height: 76px; }
.signin h2 { font: 700 30px/36px var(--font-display); letter-spacing: -.026em; margin: 22px 0 6px; }
.signin p { margin: 0; font-size: 16px; line-height: 23px; color: var(--text-2); max-width: 280px; }
.acct { margin-top: 32px; width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border-radius: 16px; text-align: left; box-shadow: var(--shadow-card); }
html:not(.dark) .acct { box-shadow: 0 0 0 .5px rgba(20,20,18,.07); }
.acct .av { --s: 40px; }
.acct .who b { display: block; font-size: 16px; line-height: 21px; font-weight: 600; }
.acct .who span { display: block; font-size: 13.5px; line-height: 18px; color: var(--text-3); }
.acct .who { flex: 1; min-width: 0; }
.acct .sw { margin-left: auto; font-size: 14px; color: var(--accent-text); font-weight: 500; }
.signin .bottom { display: flex; flex-direction: column; gap: 10px; }
.signin .fine { margin-top: 10px; text-align: center; font-size: 12.5px; line-height: 18px; color: var(--text-3); display: flex; gap: 6px; justify-content: center; align-items: flex-start; }
.signin .fine svg.i { width: 14px; height: 14px; margin-top: 2px; }
.passkey-sheet .pk-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--fill); }
.passkey-sheet .pk-row .kic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); color: var(--text-2); }
.passkey-sheet .pk-row .kic svg.i { width: 22px; height: 22px; }
.passkey-sheet .pk-row .pt b { display: block; font-size: 16px; line-height: 21px; }
.passkey-sheet .pk-row .pt span { display: block; font-size: 13px; color: var(--text-3); }
.passkey-sheet .sys-t { text-align: center; font: 650 19px/24px var(--font-display); margin: 4px 0 4px; }
.passkey-sheet .sys-s { text-align: center; font-size: 14.5px; line-height: 20px; color: var(--text-2); margin: 0 0 18px; }

/* =====================================================================
   Settings
   ===================================================================== */
.prof { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 4px; }
.prof .av { --s: 76px; }
.prof > b { font: 700 23px/28px var(--font-display); letter-spacing: -.02em; margin-top: 12px; }
.prof > .rl { font-size: 14px; color: var(--text-3); margin-top: 2px; }
.prof .chips { justify-content: center; margin-top: 12px; gap: 6px; }
.prof .tag { height: 24px; }
.set .lead { width: 30px; height: 30px; border-radius: 8px; color: #fff !important; }
.set .lead svg.i { width: 17px; height: 17px; stroke-width: 2; }
.set .row { min-height: 50px; padding: 8px 14px; --inset: 56px; }
.set .row .t { font-size: 16px; font-weight: 400; }
.set .row .v { font-size: 15px; color: var(--text-3); white-space: nowrap; }
.sw-tog { width: 51px; height: 31px; border-radius: 16px; background: var(--fill-2); position: relative; flex: none; transition: background-color var(--t-mid) var(--ease); }
.sw-tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.04); transition: transform var(--t-mid) var(--ease); }
.sw-tog.on { background: var(--ok); }
.sw-tog.on::after { transform: translateX(20px); }
.sw-tog.locked { opacity: .55; }
.set-foot { font-size: 12.5px; line-height: 18px; color: var(--text-3); padding: 8px 16px 0; }
.bg-blue { background: #3e6ae0 !important; } .bg-green { background: #34a464 !important; } .bg-orange { background: #e88a2a !important; }
.bg-red { background: #e04848 !important; } .bg-gray { background: #8e9097 !important; } .bg-ink { background: #2a2c31 !important; } .bg-purple { background: #8a5ad6 !important; } .bg-teal { background: #2e9aa8 !important; }

/* =====================================================================
   Returns (manager view)
   ===================================================================== */
.bars { padding: 6px 0; }
.barrow { width: 100%; text-align: left; display: grid; grid-template-columns: 28px 112px 1fr 30px; align-items: center; gap: 10px; padding: 8px 14px; position: relative; }
.barrow:active { background: var(--fill); }
.barrow .ci { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--fill); color: var(--text-2); }
.barrow .ci svg.i { width: 16px; height: 16px; }
.barrow .ci.ok { background: var(--ok-soft); color: var(--ok); }
.barrow .ci.warn { background: var(--warn-soft); color: var(--warn); }
.barrow .ci.bad { background: var(--bad-soft); color: var(--bad); }
.barrow .nm { font-size: 14.5px; }
.barrow .tr { display: block; height: 8px; border-radius: 4px; background: var(--fill); overflow: hidden; }
.barrow .tr i { display: block; height: 100%; border-radius: 4px; background: var(--text-2); opacity: .75; }
.barrow b { text-align: right; font-size: 15px; font-weight: 600; }
.tip { position: absolute; right: 48px; top: -26px; background: var(--ink); color: var(--on-ink); font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 7px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity var(--t-fast), transform var(--t-fast); z-index: 3; }
.barrow:hover .tip, .barrow.show-tip .tip { opacity: 1; transform: none; }
.chan { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: var(--fill); color: var(--text-2); }
.loc { display: inline-block; font: 650 13px/1 var(--font-display); padding: 4px 7px; border-radius: 6px; background: var(--fill); color: var(--text); letter-spacing: .03em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* =====================================================================
   Warehouse (staff) app: large targets, one-handed
   ===================================================================== */
.phone.staff { font-size: 17px; line-height: 23px; }
.phone.staff .lt { font-size: 34px; line-height: 40px; }
.phone.staff .tabbar { height: 96px; padding: 8px 10px 0; }
.phone.staff .tab { height: 58px; font-size: 12px; gap: 4px; }
.phone.staff .tab svg.i { width: 28px; height: 28px; }
.phone.staff .tab.scan-tab { color: var(--on-ink); }
.phone.staff .tab.scan-tab .sc { width: 64px; height: 44px; border-radius: 16px; background: var(--ink); display: grid; place-items: center; margin-top: -2px; }
.phone.staff .tab.scan-tab .sc svg.i { width: 26px; height: 26px; color: var(--on-ink); }
.phone.staff .tab.scan-tab span { color: var(--text-2); margin-top: -2px; }
.phone.staff .tab.scan-tab.on span { color: var(--text); }
.phone.staff .scroll.has-tabs { padding-bottom: 116px; }
.shift { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-3); margin-top: 4px; }
.shift i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.wk { display: block; width: 100%; background: var(--surface); border-radius: 22px; padding: 18px 18px 18px; box-shadow: var(--shadow-card); text-align: left; transition: transform var(--t-fast) var(--ease); }
html:not(.dark) .wk { box-shadow: 0 0 0 .5px rgba(20,20,18,.07), 0 1px 3px rgba(20,20,18,.04); }
.wk + .wk { margin-top: 12px; }
.wk:active { transform: scale(.985); }
.wk-h { display: flex; align-items: center; gap: 14px; }
.wk-h .lead { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--fill); color: var(--text); flex: none; }
.wk-h .lead svg.i { width: 27px; height: 27px; stroke-width: 1.9; }
.wk-h .nm { flex: 1; min-width: 0; }
.wk-h .nm b { display: block; font: 650 20px/25px var(--font-display); letter-spacing: -.016em; }
.wk-h .nm span { display: block; font-size: 15.5px; line-height: 21px; color: var(--text-2); margin-top: 2px; }
.wk-h .when { flex: none; text-align: right; font-size: 14px; color: var(--text-3); font-weight: 600; }
.wk .prog { height: 8px; border-radius: 4px; margin: 16px 0 4px; }
.wk .prog i { border-radius: 4px; }
.wk .pr-l { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.wk .pr-l b { color: var(--text); font-weight: 600; }
.wk .btn { height: 56px; font-size: 18px; border-radius: 16px; width: 100%; margin-top: 16px; }
.wk .pr-l + .btn { margin-top: 0; }
.wk.now { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-card); }
.wk .tagrow { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.wk .tagrow .tag { height: 26px; font-size: 13px; padding: 0 10px; border-radius: 8px; }
.wk.doneitem { padding: 14px 18px; }
.wk.doneitem .lead { width: 40px; height: 40px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.wk.doneitem .lead svg.i { width: 22px; height: 22px; stroke-width: 2.4; }
.wk.doneitem .nm b { font-size: 17px; line-height: 22px; font-weight: 600; color: var(--text-2); }
.wk.doneitem .nm span { font-size: 14px; color: var(--text-3); }

.big-sec { display: flex; justify-content: space-between; align-items: baseline; padding: 26px 4px 12px; }
.big-sec h3 { margin: 0; font: 650 20px/25px var(--font-display); letter-spacing: -.016em; }
.big-sec span { font-size: 15px; color: var(--text-3); font-weight: 600; }

/* count screen */
.count { display: flex; flex-direction: column; align-items: center; padding: 18px 0 0; }
.count .what { text-align: center; }
.count .what b { display: block; font: 650 21px/27px var(--font-display); letter-spacing: -.016em; }
.count .what span { display: block; font-size: 16px; color: var(--text-2); margin-top: 4px; }
.count .loc-big { margin-top: 16px; font: 700 22px/1 var(--font-display); letter-spacing: .05em; padding: 10px 16px; border-radius: 12px; background: var(--fill); }
.stepper { display: flex; align-items: center; gap: 18px; margin: 36px 0 10px; }
.stepper button { width: 84px; height: 84px; border-radius: 26px; background: var(--fill); display: grid; place-items: center; color: var(--text); transition: transform var(--t-fast) var(--ease), background-color var(--t-fast); }
.stepper button:active { transform: scale(.94); background: var(--fill-2); }
.stepper button svg.i { width: 34px; height: 34px; stroke-width: 2.2; }
.stepper .val { width: 130px; text-align: center; font: 700 72px/1 var(--font-display); letter-spacing: -.04em; }
.stepper .val.bump { animation: bump 220ms var(--ease); }
@keyframes bump { 50% { transform: scale(1.08); } }
.count .unit { font-size: 16px; color: var(--text-3); }
.count .hint { margin-top: 26px; font-size: 14.5px; color: var(--text-3); text-align: center; max-width: 280px; line-height: 21px; }

/* scan screen */
.cam { position: absolute; inset: 0; background: #0b0b0c; overflow: hidden; color: #fff; }
.cam .scene { position: absolute; inset: -20px; transition: filter var(--t-slow) var(--ease); filter: brightness(.62) saturate(.9) blur(.6px); }
.cam .scene svg { width: 100%; height: 100%; display: block; }
.cam.torch .scene { filter: brightness(1.02) saturate(1) blur(.4px); }
.cam .vf { position: absolute; left: 50%; top: 244px; width: 262px; height: 262px; margin-left: -131px; border-radius: 26px; box-shadow: 0 0 0 2000px rgba(0, 0, 0, .46); transition: width 300ms var(--ease), height 300ms var(--ease), margin 300ms var(--ease), top 300ms var(--ease); }
.cam.mode-upc .vf { width: 300px; height: 118px; margin-left: -150px; top: 358px; }
.cam .vf .cn { position: absolute; width: 42px; height: 42px; border: 4px solid #fff; transition: border-color 200ms, transform 300ms var(--ease); }
.cam .vf .cn.tl { left: -3px; top: -3px; border-right: 0; border-bottom: 0; border-top-left-radius: 28px; }
.cam .vf .cn.tr { right: -3px; top: -3px; border-left: 0; border-bottom: 0; border-top-right-radius: 28px; }
.cam .vf .cn.bl { left: -3px; bottom: -3px; border-right: 0; border-top: 0; border-bottom-left-radius: 28px; }
.cam .vf .cn.br { right: -3px; bottom: -3px; border-left: 0; border-top: 0; border-bottom-right-radius: 28px; }
.cam.found .vf .cn { border-color: #4fd18f; }
.cam.found .vf .cn.tl { transform: translate(6px, 6px); } .cam.found .vf .cn.tr { transform: translate(-6px, 6px); }
.cam.found .vf .cn.bl { transform: translate(6px, -6px); } .cam.found .vf .cn.br { transform: translate(-6px, -6px); }
.cam .vf .hit { position: absolute; left: 156px; top: 10px; width: 100px; height: 100px; border-radius: 10px; transition: opacity 200ms, left 300ms var(--ease), top 300ms var(--ease), width 300ms var(--ease), height 300ms var(--ease); background: rgba(79, 209, 143, .18); box-shadow: inset 0 0 0 2px rgba(79, 209, 143, .9); opacity: 0; transition: opacity 200ms; }
.cam.found .vf .hit { opacity: 1; }
.cam.mode-upc .vf .hit { left: 24px; top: 22px; width: 252px; height: 72px; }
.cam .topbar { position: absolute; top: 58px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.cam .cbtn { width: 48px; height: 48px; border-radius: 50%; background: rgba(40, 40, 44, .62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; place-items: center; color: #fff; transition: background-color var(--t-mid), color var(--t-mid), transform var(--t-fast) var(--ease); }
.cam .cbtn:active { transform: scale(.92); }
.cam .cbtn svg.i { width: 24px; height: 24px; stroke-width: 2; }
.cam .cbtn.on { background: #fff; color: #17181b; }
.cam .ttl { font: 650 18px/22px var(--font-display); text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.cam .ttl span { display: block; font: 500 13.5px/18px var(--font); opacity: .8; }
.cam .hintc { position: absolute; left: 0; right: 0; top: 534px; text-align: center; font-size: 16px; font-weight: 600; text-shadow: 0 1px 10px rgba(0,0,0,.5); transition: opacity 200ms; }
.cam.mode-upc .hintc { top: 498px; }
.cam .foundchip { position: absolute; left: 50%; top: 528px; transform: translate(-50%, 8px); background: #fff; color: #17181b; border-radius: 22px; height: 44px; padding: 0 16px 0 10px; display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; opacity: 0; transition: opacity 200ms, transform 300ms var(--ease); white-space: nowrap; }
.cam.mode-upc .foundchip { top: 494px; }
.cam .foundchip i { width: 26px; height: 26px; border-radius: 50%; background: #1b7d4c; color: #fff; display: grid; place-items: center; }
.cam .foundchip i svg.i { width: 15px; height: 15px; stroke-width: 2.8; }
.cam.found .foundchip { opacity: 1; transform: translate(-50%, 0); }
.cam.found .hintc { opacity: 0; }
.cam .bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 42px; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0)); display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.cam .modes { align-self: center; display: inline-flex; background: rgba(40, 40, 44, .62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 22px; padding: 3px; }
.cam .modes button { height: 40px; padding: 0 18px; border-radius: 19px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); transition: background-color var(--t-fast), color var(--t-fast); }
.cam .modes button.on { background: #fff; color: #17181b; }
.cam .manual { height: 58px; border-radius: 18px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; font-size: 17px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cam .manual svg.i { width: 22px; height: 22px; }
.cam .manual:active { background: rgba(255, 255, 255, .22); }
.cam .tapzone { position: absolute; left: 0; right: 0; top: 120px; height: 430px; z-index: 1; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.keypad button { height: 58px; border-radius: 14px; background: var(--fill); font: 600 24px/1 var(--font-display); display: grid; place-items: center; }
.keypad button:active { background: var(--fill-2); }
.keypad button svg.i { width: 24px; height: 24px; }
.codefield { height: 64px; border-radius: 16px; background: var(--fill); display: flex; align-items: center; padding: 0 18px; font: 600 26px/1 var(--mono); letter-spacing: .06em; gap: 2px; }
.codefield .ph { color: var(--text-3); font-weight: 500; letter-spacing: 0; font-family: var(--font); font-size: 18px; }

/* return steps */
.steps { display: flex; gap: 6px; padding: 4px 16px 0; }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--fill-2); }
.steps i.on { background: var(--accent); }
.steps i.done { background: var(--text-2); }
.steplbl { padding: 8px 16px 0; font-size: 13.5px; color: var(--text-3); font-weight: 600; }
.match { background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); }
html:not(.dark) .match { box-shadow: 0 0 0 .5px rgba(20,20,18,.07), 0 1px 3px rgba(20,20,18,.04); }
.match-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: .5px solid var(--line-2); font-size: 15px; font-weight: 600; color: var(--ok); }
.match-top svg.i { width: 22px; height: 22px; stroke-width: 2.2; }
.match-top .chan { margin-left: auto; height: 26px; padding: 0 10px; font-size: 13px; border-radius: 8px; }
.match-item { display: flex; gap: 14px; padding: 16px; }
.match-item .thumb { width: 76px; height: 76px; border-radius: 16px; overflow: hidden; flex: none; background: var(--fill); }
.match-item .thumb svg { width: 100%; height: 100%; display: block; }
.match-item b { display: block; font: 650 18px/23px var(--font-display); letter-spacing: -.014em; }
.match-item .mi > span { display: block; font-size: 15px; line-height: 21px; color: var(--text-2); margin-top: 4px; }
.match .kv > div { font-size: 16px; padding: 12px 16px; }
.match .kv > div:nth-child(odd):nth-child(n+3)::before { left: 16px; }
.match .kv > div:nth-child(even) { font-family: var(--font); }
.match .kv .mono { font-family: var(--mono); font-size: 14.5px; letter-spacing: .01em; }
.reason { margin: 0 16px 16px; padding: 12px 14px; border-radius: 14px; background: var(--fill); font-size: 15.5px; line-height: 22px; color: var(--text-2); }
.reason b { display: block; font-size: 13px; color: var(--text-3); font-weight: 600; margin-bottom: 2px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shot { aspect-ratio: 1; border-radius: 16px; overflow: hidden; position: relative; background: var(--fill); display: grid; place-items: center; color: var(--text-3); }
.shot svg.ill { width: 100%; height: 100%; display: block; }
.shot.add { box-shadow: inset 0 0 0 2px var(--line-2); background: var(--surface); color: var(--text-2); flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.shot.add:active { background: var(--fill); }
.shot.add svg.i { width: 34px; height: 34px; stroke-width: 1.8; }
.shot.empty { box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; }
.shot .rm { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.shot .rm svg.i { width: 12px; height: 12px; stroke-width: 2.6; }
.shot.new { animation: enter-up 320ms var(--ease) both; }
.flash-white { position: absolute; inset: 0; background: #fff; z-index: 37; opacity: 0; pointer-events: none; }
.flash-white.go { animation: shutter 360ms ease-out; }
@keyframes shutter { 0% { opacity: .85; } 100% { opacity: 0; } }
.conds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cond { min-height: 92px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; transition: box-shadow var(--t-fast), background-color var(--t-fast), transform var(--t-fast) var(--ease); }
.cond:active { transform: scale(.97); }
.cond .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--fill); color: var(--text-2); }
.cond .ci svg.i { width: 23px; height: 23px; stroke-width: 2; }
.cond b { font-size: 17px; line-height: 22px; font-weight: 600; letter-spacing: -.01em; margin-top: 10px; }
.cond.on { box-shadow: inset 0 0 0 2.5px var(--accent); background: var(--accent-soft); }
.cond.on .ci { background: var(--accent); color: #fff; }
.action { margin-top: 16px; border-radius: 22px; background: var(--surface); padding: 16px; box-shadow: var(--shadow-card); animation: enter-up 320ms var(--ease) both; }
html:not(.dark) .action { box-shadow: 0 0 0 .5px rgba(20,20,18,.07), 0 1px 3px rgba(20,20,18,.04); }
.action .k { font-size: 13.5px; font-weight: 600; color: var(--text-3); }
.action .v { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.action .v .lead { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.action .v .lead svg.i { width: 26px; height: 26px; stroke-width: 2; }
.action .v b { display: block; font: 650 20px/25px var(--font-display); letter-spacing: -.016em; }
.action .v .at { display: block; font-size: 15px; line-height: 20px; color: var(--text-2); margin-top: 2px; }
.action .v .loc { font-size: 15px; padding: 5px 8px; }
.action .why { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--text-3); }
.foot-cta { flex: none; padding: 12px 16px 38px; background: var(--navbar); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-top: .5px solid var(--line); }
.foot-cta .btn { height: 58px; font-size: 18px; border-radius: 17px; width: 100%; }
.foot-cta .sub { text-align: center; font-size: 13.5px; color: var(--text-3); margin-top: 10px; }

.done-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 28px 0; }
.done-ring { width: 104px; height: 104px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; animation: ring-in 520ms var(--ease) both; }
.done-ring svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.done-ring path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 420ms var(--ease) 260ms forwards; }
@keyframes ring-in { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-wrap h2 { font: 700 28px/34px var(--font-display); letter-spacing: -.024em; margin: 22px 0 6px; }
.done-wrap p { margin: 0; font-size: 16.5px; line-height: 24px; color: var(--text-2); }
.put { margin-top: 26px; width: 100%; border-radius: 22px; background: var(--surface); padding: 18px; text-align: left; box-shadow: var(--shadow-card); }
html:not(.dark) .put { box-shadow: 0 0 0 .5px rgba(20,20,18,.07), 0 1px 3px rgba(20,20,18,.04); }
.put .k { font-size: 13.5px; font-weight: 600; color: var(--text-3); }
.put .v { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.put .v b { font: 700 40px/1 var(--font-display); letter-spacing: .02em; }
.put .v span { font-size: 15px; color: var(--text-2); text-align: right; }
.put .row2 { margin-top: 14px; padding-top: 14px; border-top: .5px solid var(--line-2); display: flex; justify-content: space-between; font-size: 15px; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}

/* staff chat: bigger rows */
.phone.staff .ch { min-height: 64px; }
.phone.staff .ch .nm { font-size: 17px; line-height: 22px; }
.phone.staff .ch .pv { font-size: 14.5px; }
.phone.staff .ch .hash, .phone.staff .ch .av { --s: 36px; width: 36px; height: 36px; }
.phone.staff .post .tx { font-size: 17px; line-height: 24px; }
.phone.staff .composer .box { min-height: 46px; border-radius: 23px; font-size: 17px; }
.phone.staff .composer .plus { width: 46px; height: 46px; }

/* claim card rows (returns) */
.claim { padding: 14px; position: relative; }
.claim + .claim::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; border-top: .5px solid var(--line-2); }
.claim .top { display: flex; align-items: center; gap: 8px; }
.claim .top b { margin-left: auto; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.claim .it { font-size: 15.5px; line-height: 21px; font-weight: 500; margin-top: 8px; }
.claim .ord { font: 12.5px/17px var(--mono); color: var(--text-3); margin-top: 3px; }
.claim .bot2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--text-3); }

.stack-btns { display: grid; gap: 10px; }
.stack-btns .btn { width: 100%; }
