/* Zoe companion — calm, readable, mobile-first. */
:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #eef0f2;
  --border: #dde1e5;
  --text: #1b1f23;
  --muted: #5f6b76;
  --accent: #2f6f73;
  --accent-ink: #ffffff;
  --accent-soft: #dcecec;
  --user-bubble: #2f6f73;
  --user-ink: #ffffff;
  --asst-bubble: #ffffff;
  --ok: #2c7a4b;
  --ok-soft: #dff1e6;
  --warn: #9a6400;
  --warn-soft: #fbefd5;
  --bad: #b3261e;
  --bad-soft: #f9dedc;
  --info: #2f5f9a;
  --info-soft: #dfe8f5;
  --shadow: 0 1px 2px rgba(20, 30, 40, .06), 0 2px 8px rgba(20, 30, 40, .05);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416;
    --surface: #1b1e21;
    --surface-2: #24282c;
    --border: #30353a;
    --text: #e7eaed;
    --muted: #99a3ad;
    --accent: #6fb3b6;
    --accent-ink: #0d1517;
    --accent-soft: #1f3536;
    --user-bubble: #2b5558;
    --user-ink: #eef6f6;
    --asst-bubble: #1b1e21;
    --ok: #74c69a;
    --ok-soft: #1c3326;
    --warn: #e5b45a;
    --warn-soft: #3a2f17;
    --bad: #f2867d;
    --bad-soft: #3d1f1d;
    --info: #8db3e6;
    --info-soft: #1f2a3a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 var(--font);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: 16px; } /* no iOS zoom on focus */
a { color: var(--accent); }
code, pre { font-family: var(--mono); font-size: 13px; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h2 { font-size: 17px; font-weight: 650; }
h3 { font-size: 15px; font-weight: 650; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.error { color: var(--bad); }
.pre { white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 6px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer; text-decoration: none; font-size: 15px; font-weight: 550;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.small { min-height: 30px; padding: 3px 10px; font-size: 13px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger-soft { color: var(--bad); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.wide { width: 100%; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.icon-btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
@media (prefers-color-scheme: dark) { .btn.danger, .btn.ok { color: #111; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- layout ---------- */
.app {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  grid-template-areas: "top" "banner" "main" "nav";
  height: var(--app-h, 100vh);
  height: var(--app-h, 100dvh);
  padding-left: var(--sal); padding-right: var(--sar);
}
.top {
  grid-area: top;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(8px + var(--sat)) 14px 8px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.name { font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.orb {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 35%, #9fd6d8, var(--accent) 60%, #1f4c4f);
}
.orb.big { width: 56px; height: 56px; }
.orb.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.88); opacity: .7; } }
.conn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; display: inline-block; }
.conn[data-state="live"] .dot { background: var(--ok); }
.conn[data-state="reconnecting"] .dot, .conn[data-state="connecting"] .dot { background: var(--warn); }
.conn[data-state="offline"] .dot { background: var(--bad); }
.estop { min-height: 34px; padding: 4px 12px; font-size: 14px; }
.estop svg { width: 14px; height: 14px; }

.banner {
  grid-area: banner;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; font-size: 14px;
}
.banner.stopped { background: var(--bad-soft); color: var(--text); border-bottom: 1px solid var(--bad); }

.main { grid-area: main; min-height: 0; min-width: 0; position: relative; }
.view { height: 100%; min-height: 0; min-width: 0; }
.panel { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 14px 28px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 2px 10px; }
.panel-head:first-child { margin-top: 2px; }

/* bottom nav (mobile) */
.nav {
  grid-area: nav;
  display: flex; justify-content: space-around;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 4px 4px calc(4px + var(--sab));
}
.nav-btn {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 0; background: none; color: var(--muted); padding: 6px 2px 4px; cursor: pointer; font-size: 11px;
  -webkit-tap-highlight-color: transparent; border-radius: 10px;
}
.nav-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.nav-btn[aria-current="page"] { color: var(--accent); font-weight: 650; }
.badge {
  position: absolute; top: 2px; left: calc(50% + 6px);
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--muted); color: var(--bg); font-size: 11px; line-height: 18px; font-weight: 700; text-align: center;
}
.badge.alert { background: var(--bad); color: #fff; }

/* desktop: Talk on the left, the chosen panel on the right */
@media (min-width: 960px) {
  .app {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    grid-template-rows: auto auto auto minmax(0, 1fr);
    grid-template-areas: "top top" "banner banner" "main nav" "main side";
  }
  .main { display: contents; }
  .view.talk { grid-area: main; display: flex !important; border-right: 1px solid var(--border); min-height: 0; }
  .view.panel { grid-area: side; min-height: 0; }
  .nav { border-top: 0; border-bottom: 1px solid var(--border); padding: 4px 8px; background: var(--bg); justify-content: flex-start; gap: 4px; }
  .nav-btn { flex: none; flex-direction: row; gap: 6px; font-size: 14px; padding: 8px 12px; }
  .nav-btn svg { width: 18px; height: 18px; }
  .nav-btn[aria-current="page"] { background: var(--accent-soft); }
  .nav .talk-tab { display: none; }
  .badge { position: static; }
  .name { max-width: none; }
}

/* ---------- talk ---------- */
.talk { display: flex; flex-direction: column; }
.brain-strip {
  display: flex; align-items: center; gap: 8px; width: 100%;
  border: 0; border-bottom: 1px solid var(--border); background: var(--surface-2);
  padding: 6px 14px; font-size: 12.5px; color: var(--muted); text-align: left; cursor: pointer;
}
.brain-strip .brain-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brain-strip[data-ok="1"] .dot { background: var(--ok); }
.brain-strip[data-ok="0"] .dot { background: var(--bad); }
.brain-strip strong { color: var(--text); font-weight: 600; }

.messages {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 10px;
}
.empty { margin: auto; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--muted); padding: 20px; }
.msg { display: flex; flex-direction: column; max-width: min(86%, 680px); }
.msg .bubble {
  padding: 9px 13px; border-radius: 18px; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere;
}
.msg.user { align-self: flex-end; align-items: flex-end; }
.msg.user .bubble { background: var(--user-bubble); color: var(--user-ink); border-bottom-right-radius: 6px; }
.msg.assistant { align-self: flex-start; }
.msg.assistant .bubble { background: var(--asst-bubble); border: 1px solid var(--border); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.msg.assistant.error .bubble { border-color: var(--bad); }
.msg.system { align-self: center; max-width: 92%; text-align: center; }
.msg.system .bubble { background: transparent; color: var(--muted); font-size: 13px; padding: 2px 8px; }
.msg.job { align-self: stretch; max-width: 100%; }
.msg .src { font-size: 11px; color: var(--muted); margin-top: 3px; }
.msg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  border-radius: 999px; padding: 2px 9px; font-size: 12px; line-height: 1.5; white-space: nowrap; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
button.chip { cursor: pointer; }
button.chip:hover { border-color: var(--accent); }
.chip.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.chip.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.chip.bad { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.chip.info { background: var(--info-soft); border-color: transparent; color: var(--info); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.job-card { border: 1px solid var(--border); border-left: 3px solid var(--info); border-radius: 12px; background: var(--surface); }
.job-card[data-state="succeeded"] { border-left-color: var(--ok); }
.job-card[data-state="failed"], .job-card[data-state="needs_review"] { border-left-color: var(--bad); }
.job-card[data-state="cancelled"] { border-left-color: var(--muted); }
.job-card summary { padding: 9px 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; list-style: none; font-size: 14px; }
.job-card summary::-webkit-details-marker { display: none; }
.job-card summary .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.job-card summary::before { content: "▸"; color: var(--muted); font-size: 12px; transition: transform .15s; }
.job-card[open] summary::before { transform: rotate(90deg); }
.job-card .body { padding: 0 12px 10px; font-size: 14px; }

.notice {
  margin: 0 12px 8px; padding: 9px 12px; border-radius: 12px;
  background: var(--warn-soft); color: var(--text); font-size: 13.5px;
}

.composer {
  border-top: 1px solid var(--border); background: var(--bg);
  padding: 10px 12px 10px;
}
.voice-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.voice-row #stop-audio { justify-self: end; }
.ptt-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ptt {
  position: relative; width: 76px; height: 76px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(47, 111, 115, .35);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none;
  -webkit-tap-highlight-color: transparent; transition: transform .12s, background .2s;
}
.ptt svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; pointer-events: none; }
.ptt .ring { position: absolute; inset: -6px; border-radius: 50%; border: 3px solid transparent; pointer-events: none; }
.ptt[data-state="listening"] { background: var(--bad); color: #fff; transform: scale(1.06); box-shadow: 0 4px 18px rgba(179, 38, 30, .45); }
.ptt[data-state="listening"] .ring { border-color: var(--bad); animation: ring 1.2s ease-out infinite; }
.ptt[data-state="transcribing"] .ring, .ptt[data-state="thinking"] .ring {
  border-color: var(--accent) transparent transparent transparent; animation: spin 1s linear infinite;
}
.ptt[data-state="speaking"] .ring { border-color: var(--accent); animation: ring 1.6s ease-out infinite; }
.ptt:disabled { opacity: .45; cursor: default; box-shadow: none; }
@keyframes ring { from { transform: scale(.95); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.mic-state { font-size: 12.5px; color: var(--muted); min-height: 18px; text-align: center; white-space: nowrap; }
.mic-state[data-state="listening"] { color: var(--bad); font-weight: 600; }
.mic-state[data-state="speaking"], .mic-state[data-state="thinking"], .mic-state[data-state="transcribing"] { color: var(--accent); font-weight: 600; }

.switch-label { white-space: nowrap; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; justify-self: start; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 38px; height: 22px; border-radius: 11px; background: var(--border); position: relative; transition: background .2s; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }

.text-row { display: flex; align-items: flex-end; gap: 8px; margin-top: 10px; }
.text-row textarea {
  flex: 1; resize: none; max-height: 140px; min-height: 42px;
  border: 1px solid var(--border); border-radius: 21px; background: var(--surface);
  padding: 9px 14px; line-height: 1.35;
}
.text-row textarea:focus { outline: none; border-color: var(--accent); }
.send { width: 42px; height: 42px; min-height: 42px; padding: 0; border-radius: 50%; flex: none; }
.send svg { width: 18px; height: 18px; }

/* ---------- cards & lists ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.list.compact { gap: 6px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow);
}
.card.sub { box-shadow: none; margin-top: 12px; }
.card.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: var(--shadow); } }
.card > summary { cursor: pointer; font-weight: 600; }
.form-card { margin-bottom: 12px; }
.form-card[open] > summary { margin-bottom: 10px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 550; }
.stack input, .stack select, .stack textarea, .search {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
  padding: 8px 11px; color: var(--text); font-weight: 400;
}
.stack textarea { resize: vertical; }
.stack input:focus, .stack select:focus, .stack textarea:focus, .search:focus { outline: none; border-color: var(--accent); }
.search { margin-bottom: 10px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row.end { justify-content: flex-end; }
.row.between { justify-content: space-between; }
.inline-check { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-title { font-weight: 650; overflow-wrap: anywhere; }
.card-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 10px 0 0; font-size: 14px; }
.kv dt { color: var(--muted); font-size: 13px; }
.kv dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 10px 0 4px; font-weight: 600; }
.result { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; max-height: 320px; overflow: auto; }
.notes { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.notes li { margin: 2px 0; }
.err-box { background: var(--bad-soft); color: var(--text); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; margin-top: 8px; }
details.json { margin-top: 10px; }
details.json summary { cursor: pointer; font-size: 13px; color: var(--muted); }
details.json pre { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; overflow: auto; max-height: 300px; margin: 6px 0 0; white-space: pre-wrap; word-break: break-all; }
.actions-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.actions-row .btn { flex: 1; min-height: 44px; }

.state {
  display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--surface-2); color: var(--muted); white-space: nowrap;
}
.state.running, .state.queued { background: var(--info-soft); color: var(--info); }
.state.waiting_approval, .state.needs_review, .state.pending { background: var(--warn-soft); color: var(--warn); }
.state.succeeded, .state.approved, .state.online, .state.active, .state.available { background: var(--ok-soft); color: var(--ok); }
.state.failed, .state.denied, .state.revoked { background: var(--bad-soft); color: var(--bad); }

.approval { border-left: 4px solid var(--warn); }
.approval .what { font-size: 16px; font-weight: 650; }
.countdown { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--warn); font-weight: 600; white-space: nowrap; }
.countdown.expired { color: var(--bad); }

.brain-card .big-line { font-size: 17px; font-weight: 650; }
.brain-card .billing { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--ok-soft); color: var(--text); font-size: 14px; }
.brain-card .billing.off { background: var(--bad-soft); }

.cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 9px 12px; }
.cap .card-sub { white-space: normal; }

.memory .group { margin-bottom: 16px; }
.memory .group h3 { margin: 4px 2px 8px; text-transform: capitalize; }
.mem { padding: 10px 12px; }
.mem + .mem { margin-top: 8px; }
.mem .text { white-space: pre-wrap; overflow-wrap: anywhere; }
.mem .prov { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.mem .prov q { font-style: italic; }
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.conf .bar { width: 50px; height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.conf .bar i { display: block; height: 100%; background: var(--accent); }

/* ---------- pairing / boot / toasts ---------- */
.pair, .boot {
  position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg);
  padding: calc(20px + var(--sat)) 20px calc(20px + var(--sab));
}
.boot { z-index: 5; }
.pair-card { width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.pair-card form { width: 100%; text-align: left; margin-top: 8px; }
.pair-card h1 { font-size: 24px; }
.toasts {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(150px + var(--sab));
  display: flex; flex-direction: column; gap: 8px; z-index: 20; width: min(92vw, 440px); pointer-events: none;
}
.toast {
  background: var(--text); color: var(--bg); border-radius: 12px; padding: 10px 14px; font-size: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2); pointer-events: auto; animation: toast-in .2s ease-out;
}
.toast.bad { background: var(--bad); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- passkeys ---------- */
.pair-block { width: 100%; text-align: left; }
.pair-card .stack label { text-align: left; }
.big-btn { min-height: 50px; font-size: 17px; }
.big-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.linkish {
  background: none; border: 0; padding: 6px 0; color: var(--accent); cursor: pointer;
  font-size: 14px; text-decoration: underline; text-underline-offset: 3px; align-self: center;
}
.top-notice { margin: 8px 12px 0; }
.inline-notice { margin: 0; }
.passkey-nudge { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.passkey-nudge[hidden] { display: none !important; }
.passkey-nudge .btn { flex: none; }
.view.panel > .passkey-nudge { margin: 0 0 12px; }
.pk { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.pk:last-child { border-bottom: 0; }
.approve-pk svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
