/* MIKO, the client app (the workspace behind the sign-in): phone first, one column, one
   primary action per screen, forms as short step-by-step sheets. Builds on styles.css tokens. */
body.app { font-size: 16px; background: var(--canvas); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.app.sheet-open { overflow: hidden; }
.shell { width: min(720px, 100%); margin: 0 auto; padding: 0 16px 24px; }
.view { animation: rise .22s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- bar + tabs */
.appbar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 12px; margin: 0 -16px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: color-mix(in oklab, var(--canvas) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.appbar .mark > img { width: 32px; height: 32px; }
.appbar .wordmark img { height: 15px; }
.appbar .spacer { flex: 1; }
.creditpill { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px 0 10px; border-radius: 10px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.creditpill svg { width: 16px; height: 16px; color: var(--accent); }
.creditpill.low { border-color: #EBCB8B; background: #FBF1DD; color: #7A4F0E; }
.creditpill.low svg { color: var(--amber); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 7; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 4px; border-radius: 10px; text-decoration: none; color: var(--ink-3); font-size: 11.5px; font-weight: 600; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.on { color: var(--accent); }
.tabbar a:active { background: var(--sky-2); }
@media (min-width: 800px) {
  body.app { padding-bottom: 40px; }
  .tabbar { position: fixed; top: 8px; bottom: auto; left: 50%; right: auto; transform: translateX(-50%); width: auto; grid-auto-columns: auto; gap: 4px; padding: 0;
    background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tabbar a { grid-auto-flow: column; align-items: center; gap: 7px; padding: 8px 14px; font-size: 14px; color: var(--ink-2); }
  .tabbar a svg { width: 18px; height: 18px; }
  .tabbar a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
  .tabbar a.on svg { color: var(--accent); }
  .shell { padding-top: 6px; }
}

/* ---------------------------------------------------------------- type + page heads */
.hello { margin: 14px 0 16px; }
.hello p { margin: 0 0 2px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.hello h1 { margin: 0; font-size: 1.85rem; }
.phead { display: flex; align-items: center; gap: 6px; margin: 8px -8px 6px; min-height: 44px; }
.phead .where { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptitle { margin: 0 0 16px; }
.ptitle h1 { margin: 0; font-size: 1.7rem; }
.ptitle p { margin: 4px 0 0; color: var(--ink-2); }
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 24px 2px 10px; }
.sec h2 { margin: 0; font-size: 1.1rem; }
.sec span, .sec a { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.sec a { color: var(--accent); text-decoration: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; background: none; border-radius: 10px; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--sky); }
.icon-btn svg { width: 22px; height: 22px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.big { min-height: 54px; border-radius: 10px; }
.btn.ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ink:hover { background: #182a5c; border-color: #182a5c; }
.btn.onink { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; }
.btn.onink:hover { background: rgba(255,255,255,.2); }
.btn.stop { background: var(--red); border-color: var(--red); color: #fff; }
.btn.stop:hover { background: #9c1e14; border-color: #9c1e14; }
.btn:not(.primary):not(.ink):not(.stop):not(.onink) .spin { border-color: var(--line-2); border-top-color: var(--ink); }
.btnrow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.stack { display: grid; gap: 10px; }

/* ---------------------------------------------------------------- the ink hero */
.hero-ink { position: relative; overflow: hidden; border-radius: 16px; padding: 20px; color: #fff; text-decoration: none; display: block;
  background: var(--hero);
  box-shadow: 0 2px 4px rgba(11,37,69,.10), 0 22px 44px -18px rgba(11,37,69,.45); }
.hero-ink::after { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; background: url(/static/ring-light.svg) center/contain no-repeat; opacity: .16; pointer-events: none; }
.hero-ink > * { position: relative; z-index: 1; }
.hero-ink .lab { font-size: 13px; color: #B9CBE0; font-weight: 500; margin: 0 0 6px; }
.hero-ink h2 { color: #fff; font-size: 1.35rem; margin: 0 0 4px; }
.hero-ink p { color: #C9D8E8; margin: 0; font-size: 14.5px; }
.hero-ink .bignum { font-family: var(--fd); font-weight: 600; font-size: 56px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-ink .bignum small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: #B9CBE0; margin-left: 8px; font-family: var(--ft); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.trio > * { padding: 14px 0 0; text-align: left; background: none; border: 0; color: inherit; }
.trio b { display: block; font-family: var(--fd); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.trio span { display: block; font-size: 12.5px; color: #B9CBE0; margin-top: 5px; }
.trio .live b { color: var(--glow); }
.steps3 { display: grid; gap: 14px; margin: 16px 0 18px; }
.steps3 div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps3 i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.12); font-style: normal; font-family: var(--fd); font-weight: 600; }
.steps3 b { display: block; font-family: var(--fd); font-weight: 600; font-size: 16px; }
.steps3 span { display: block; font-size: 14px; color: #C9D8E8; }

/* ---------------------------------------------------------------- cards + rows */
.plate { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.scard { display: flex; align-items: center; gap: 14px; padding: 16px; text-decoration: none; color: inherit; margin-bottom: 10px; transition: transform .08s ease, border-color .12s; }
.scard:active { transform: scale(.985); }
.scard:hover { border-color: var(--line-2); }
.scard .t { font-family: var(--fd); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.scard .s { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.scard .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chev { color: var(--ink-3); flex: none; display: grid; }
.chev svg { width: 18px; height: 18px; }
.dial { position: relative; display: inline-grid; place-items: center; flex: none; }
.dial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial circle { fill: none; stroke-width: 5; }
.dial .tr { stroke: var(--sky); }
.dial .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.dial.amber .fg { stroke: var(--amber); } .dial.red .fg { stroke: var(--red); } .dial.blue .fg { stroke: var(--blue); } .dial.grey .fg { stroke: var(--ink-3); }
.dial b { font-family: var(--fd); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.dial.xl b { font-size: 30px; }
.dial.onink .tr { stroke: rgba(255,255,255,.16); } .dial.onink .fg { stroke: var(--glow); } .dial.onink b { color: #fff; }
.rows { overflow: hidden; }
.prow { display: flex; align-items: center; gap: 12px; padding: 13px 14px; width: 100%; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; text-decoration: none; color: inherit; }
.prow:first-child { border-top: 0; }
.prow:active { background: var(--sky-2); }
.prow .n { font-weight: 600; font-family: var(--fd); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .m { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .grow { min-width: 0; }
.score { display: inline-grid; place-items: center; min-width: 42px; height: 34px; padding: 0 8px; border-radius: 8px; font-family: var(--fd); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; background: var(--sky-2); color: var(--ink-2); flex: none; }
.score.green { background: var(--mint); color: var(--green); } .score.blue { background: #E6EFFB; color: var(--blue); } .score.amber { background: #FBF1DD; color: var(--amber); } .score.red { background: #FBEDEA; color: var(--red); }
.filters { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 10px; padding: 2px 16px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button i { font-style: normal; opacity: .65; margin-left: 4px; font-variant-numeric: tabular-nums; }
.searchbox { margin: 0 0 10px; min-height: 44px; }
.empty-plate { padding: 28px 20px; text-align: center; color: var(--ink-2); }
.empty-plate h3 { font-family: var(--fd); text-transform: none; letter-spacing: -0.01em; font-size: 17px; color: var(--ink); margin: 0 0 4px; }
.empty-plate p { margin: 0 0 14px; font-size: 14.5px; }
.note.warn { background: #FBF1DD; border-color: #EBCB8B; color: #7A4F0E; }
.note.good { background: var(--mint); border-color: var(--mint-2); color: var(--green-2); }
.note { border-radius: 12px; }
.note .btn { margin-top: 10px; }

/* what they do: the calls */
.what { padding: 4px 16px; }
.what .w { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.what .w:first-child { border-top: 0; }
.what .w i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--sky-2); font-style: normal; font-family: var(--fd); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.what .w.star i { background: var(--tint); color: var(--accent); }
.what .w b { display: block; font-weight: 600; font-size: 15px; }
.what .w span { display: block; font-size: 13px; color: var(--ink-2); }

/* person */
.pid { display: flex; gap: 14px; align-items: center; margin: 4px 0 16px; }
.pid h1 { margin: 0; font-size: 1.5rem; }
.pid p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.verdict { display: flex; gap: 16px; align-items: center; }
.verdict h2 { margin: 0 0 2px; }
.acc { margin-bottom: 10px; overflow: hidden; }
.acc > summary { list-style: none; display: flex; gap: 12px; align-items: center; padding: 14px 16px; cursor: pointer; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .t { font-family: var(--fd); font-weight: 600; font-size: 16px; }
.acc > summary .s { font-size: 13px; color: var(--ink-2); margin-top: 1px; }
.acc > summary .chev svg { transition: transform .18s ease; }
.acc[open] > summary .chev svg { transform: rotate(90deg); }
.acc .in { padding: 2px 16px 16px; border-top: 1px solid var(--line); }
.acc .go { padding-top: 14px; }
.acc .go + .go { margin-top: 14px; border-top: 1px dashed var(--line-2); }
.acc h4 { font-family: var(--ft); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; margin: 14px 0 6px; color: var(--ink-3); }
.acc h4.y { color: var(--green); } .acc h4.n { color: var(--amber); } .acc h4.a { color: var(--blue); }
.acc ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.acc li { margin: 4px 0; }
.skillbar { display: grid; grid-template-columns: 1fr 34px; gap: 4px 10px; align-items: center; font-size: 14px; margin-top: 10px; }
.skillbar .bar { grid-column: 1 / -1; margin: 0; height: 6px; }
.skillbar b { text-align: right; font-family: var(--fd); }
.rchips { display: flex; gap: 6px; flex-wrap: wrap; }

/* list groups (account) */
.group { overflow: hidden; margin-bottom: 14px; }
.grow-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; text-decoration: none; color: inherit; font-size: 16px; }
.grow-row:first-child { border-top: 0; }
.grow-row:active { background: var(--sky-2); }
.grow-row .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--sky-2); color: var(--ink-2); flex: none; }
.grow-row .ic svg { width: 18px; height: 18px; }
.grow-row .grow b { display: block; font-weight: 600; }
.grow-row .grow span { display: block; font-size: 13px; color: var(--ink-2); }
.grow-row .val { color: var(--ink-2); font-size: 14px; }
.grow-row.danger { color: var(--red); }
.grow-row.danger .ic { background: #FBEDEA; color: var(--red); }
.profile { display: flex; gap: 14px; align-items: center; padding: 18px 16px; margin-bottom: 14px; }
.profile h2 { margin: 0; }
.profile p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.legal { text-align: center; font-size: 12.5px; color: var(--ink-3); margin: 22px 0 0; }
.legal a { color: var(--ink-2); }

/* credits */
.packs2 { display: grid; gap: 10px; }
.pack2 { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; text-align: left; color: inherit; }
.pack2 .radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.pack2.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,91,185,.14), var(--shadow); }
.pack2.on .radio { border-color: var(--accent); }
.pack2.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pack2 .q { font-family: var(--fd); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.pack2 .q small { font-family: var(--ft); font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 6px; }
.pack2 .e { font-size: 13px; color: var(--ink-2); }
.pack2 .p { font-family: var(--fd); font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; }
.pack2 .tag { position: absolute; top: -9px; right: 14px; padding: 2px 8px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600; }
.led { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.led:first-child { border-top: 0; }
.led .d { min-width: 44px; font-family: var(--fd); font-weight: 600; font-variant-numeric: tabular-nums; }
.led .d.plus { color: var(--green); }
.led .grow { font-size: 14.5px; min-width: 0; }
.led .grow span { display: block; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.led time { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.paybar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 4; margin: 14px -16px 0; padding: 10px 16px; background: linear-gradient(to top, var(--canvas) 70%, transparent); }
@media (min-width: 800px) { .paybar { bottom: 12px; } }

/* ---------------------------------------------------------------- sheets */
.sheet-wrap { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center; background: rgba(11,37,69,0); transition: background .2s ease; }
.sheet-wrap.in { background: rgba(11,37,69,.42); }
.sheet { width: min(560px, 100%); max-height: min(92svh, 860px); display: flex; flex-direction: column; background: var(--surface); border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 50px rgba(11,37,69,.25); transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.2,1); }
.sheet-wrap.in .sheet { transform: none; }
.sheet::before { content: ""; width: 38px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 8px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; gap: 4px; padding: 4px 8px 0; flex: none; min-height: 48px; }
.sheet-title { flex: 1; text-align: center; font-family: var(--fd); font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-head .ghost { width: 44px; flex: none; }
.sheet-dots { display: flex; gap: 5px; justify-content: center; padding: 2px 0 6px; min-height: 12px; flex: none; }
.sheet-dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); }
.sheet-dots i.on { background: var(--accent); }
.sheet-body { padding: 8px 18px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sheet-body > h2 { font-size: 1.45rem; margin: 6px 0 6px; }
.sheet-body > .lead { margin: 0 0 16px; }
@media (min-width: 800px) {
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: 18px; transform: translateY(16px) scale(.98); opacity: 0; transition: transform .2s ease, opacity .2s ease; }
  .sheet-wrap.in .sheet { opacity: 1; }
  .sheet::before { display: none; }
  .sheet-head { padding-top: 8px; }
}
.field { display: block; margin: 0 0 14px; }
.field > span { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.field > span i { font-style: normal; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field select, .field textarea { min-height: 52px; border-radius: 10px; font-size: 16px; }
.field small { display: block; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: left; color: inherit; transition: border-color .12s, transform .08s; }
.choice:hover { border-color: var(--accent); }
.choice:active { transform: scale(.985); }
.choice > .ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--accent); }
.choice > .ic svg { width: 22px; height: 22px; }
.choice > .ic.txt { font-family: var(--fd); font-weight: 600; }
.choice > div:not(.ic) { flex: 1; min-width: 0; }
.choice b { display: block; font-family: var(--fd); font-weight: 600; font-size: 16.5px; }
.choice span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.choice .chev { align-self: center; }
.choice.on { border-color: var(--accent); background: var(--tint); }
.donemark { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; margin: 10px auto 12px; animation: pop .35s cubic-bezier(.2,1.4,.4,1) both; }
.donemark svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.centered { text-align: center; }
.centered h2 { font-size: 1.4rem; margin: 0 0 6px; }
.linkline { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 10px; background: var(--sky-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); margin: 14px 0; text-align: left; }
.linkline svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.linkline span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px; border-radius: 10px; background: var(--sky-2); border: 1px solid var(--line); margin: 14px 0; text-align: left; font-size: 15px; }
.kv span { color: var(--ink-2); } .kv b { font-family: var(--fd); overflow-wrap: anywhere; }
.minirow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.minirow:first-child { border-top: 0; }
.minirow .grow b { display: block; font-weight: 600; font-size: 15px; }
.minirow .grow span { display: block; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.minirow .grow { min-width: 0; }
.toggle { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin: 0 0 8px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.toggle input { width: 22px; height: 22px; min-height: 0; flex: none; accent-color: var(--accent); }
.called { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.called .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-family: var(--fd); font-weight: 600; }
.called .hd i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--sky-2); font-style: normal; font-size: 13px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two .field { margin-bottom: 10px; }
.sk { border-radius: 14px; background: linear-gradient(90deg, var(--sky-2) 0%, #fff 50%, var(--sky-2) 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; margin-bottom: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
.toast { bottom: calc(92px + env(safe-area-inset-bottom)); border-radius: 10px; z-index: 60; animation: rise .2s ease both; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.building { display: grid; justify-items: center; gap: 12px; padding: 26px 0 10px; text-align: center; }
.building img { width: 64px; height: 64px; animation: breathe 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .view, .sheet, .donemark, .sk, .building img { animation: none !important; transition: none !important; } }

/* ---------------------------------------------------------------- decisions, held reports, QR */
.pick3 { display: grid; gap: 8px; }
@media (min-width: 560px) { .pick3 { grid-template-columns: repeat(3, 1fr); } }
.pick3 button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface); font-weight: 600; font-size: 15px; color: var(--ink); transition: border-color .12s, background .12s; }
.pick3 button svg { width: 18px; height: 18px; flex: none; }
.pick3 button:hover { border-color: var(--ink-3); }
.pick3 button.on.interview { background: var(--mint); border-color: var(--green); color: var(--green-2); }
.pick3 button.on.hold { background: #FBF1DD; border-color: #EBCB8B; color: #7A4F0E; }
.pick3 button.on.no { background: var(--sky-2); border-color: var(--ink-3); color: var(--ink-2); }
.dec { font-weight: 600; }
.dec.interview { color: var(--green); } .dec.hold { color: var(--amber); } .dec.no { color: var(--ink-2); }
.score.lock { color: var(--ink-3); }
.score.lock svg { width: 18px; height: 18px; }
.heldmark { display: grid; place-items: center; width: 84px; height: 84px; flex: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.heldmark svg { width: 34px; height: 34px; }
.qr { display: grid; justify-items: center; gap: 8px; padding: 18px 16px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.qr img { width: min(264px, 72vw); height: auto; display: block; }
.qr p { margin: 0; font-size: 13.5px; color: var(--ink-2); text-align: center; }

/* ---------------------------------------------------------------- build your own: the calls, the job */
.pickrows { display: grid; gap: 8px; margin-bottom: 4px; }
.pickrow { display: flex; align-items: center; gap: 8px; padding: 10px 6px 10px 12px; border: 1px solid var(--accent); border-radius: 12px; background: var(--tint); }
.pickrow > i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; font-style: normal; font-family: var(--fd); font-weight: 600; font-size: 14px; }
.pickrow .grow b { display: block; font-family: var(--fd); font-weight: 600; font-size: 15.5px; }
.pickrow select { min-height: 32px; padding: 2px 30px 2px 8px; margin-top: 4px; width: auto; font-size: 13.5px; border-radius: 8px; background-color: var(--surface); }
.pickrow .icon-btn { width: 36px; height: 40px; }
.pickrow .icon-btn:disabled, .called .icon-btn:disabled { opacity: .28; }
.pickrow .icon-btn svg { width: 20px; height: 20px; }
.addcalls { display: grid; gap: 8px; grid-template-columns: 1fr; margin-bottom: 6px; }
@media (min-width: 480px) { .addcalls { grid-template-columns: 1fr 1fr; } }
.addcalls button { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); text-align: left; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.addcalls button svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.addcalls button:hover { border-color: var(--accent); }
.addcalls button:disabled { opacity: .45; }
.sheet-body h3 { margin: 16px 0 8px; }
.payform { min-height: 220px; margin: 14px 0 6px; }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chipset button { min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.chipset button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.what button.w { width: 100%; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; color: inherit; font: inherit; cursor: pointer; }
.what button.w p { flex: 1; min-width: 0; }
.what .w i svg { width: 16px; height: 16px; }
.pack2:disabled { opacity: .55; cursor: default; }
.pack2 .e { line-height: 1.45; margin-top: 2px; }
