/* Honey-bee Round 1 · the few new pieces: the sign-in gate, the "Sample" chip, chat bits. Built from kit.css tokens. */
[hidden]{display:none!important}
body{margin:0}

/* ---------- the gate (sign in, setup, invite) ---------- */
.gate{display:none}
html.hb-gate .gate{display:grid;place-items:center;position:fixed;inset:0;overflow:auto;padding:max(16px,env(safe-area-inset-top,0px)) 16px max(16px,env(safe-area-inset-bottom,0px));background:var(--bg)}
html.hb-gate .app,html.hb-gate .gbar,html.hb-gate .wcircle,html.hb-gate .drawer,html.hb-gate #drawerScrim,html.hb-gate .pal,html.hb-gate #palScrim,html.hb-gate .fp-selbar{display:none!important}
.gate-in{width:min(440px,100%);display:grid;place-items:center}
.gate-spin{width:22px;height:22px}
.gate-card{width:100%;padding:28px;display:flex;flex-direction:column;gap:14px;animation:rise var(--t3) var(--e-out)}
.gate-brand{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.gate-brand .mark{width:30px;height:27px}
.gate-brand .brand{font-weight:600;font-size:17px;letter-spacing:-.02em;margin-right:auto}
.gate-h{font-size:26px;letter-spacing:-.03em;line-height:1.15;margin:0}
.gate-card .muted{margin:0;line-height:1.5}
.gate-go{height:48px;justify-content:center;font-size:15.5px;border-radius:14px;width:100%}
.gate-go svg{width:18px;height:18px}
.gate-msg{margin:0;font-size:14px;padding:10px 12px;border-radius:12px;background:var(--sunk);color:var(--ink-2)}
.gate-msg.bad{background:var(--bad-soft);color:var(--bad)}
.gate-note,.gate-warn{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:13.5px;line-height:1.45;padding:10px 12px;border-radius:12px;background:var(--info-soft);color:var(--ink-2)}
.gate-warn{background:var(--warn-soft)}
.gate-note svg,.gate-warn svg{width:16px;height:16px;flex:none;margin-top:1px}
.gate-test{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:10px;border-top:1px solid var(--line)}
.gate-test .row{width:100%;gap:8px}

/* ---------- "Sample": a small chip on anything that isn't real in Round 1 ---------- */
.hb-sample{display:inline-flex;align-items:center;font-size:11px;font-weight:600;line-height:1;color:var(--muted);background:var(--sunk);border-radius:6px;padding:3px 6px;letter-spacing:0;white-space:nowrap;vertical-align:middle;box-shadow:inset 0 0 0 1px var(--line)}
.nav-i .hb-sample{margin-left:auto}
.sec-h .hb-sample,h1 .hb-sample,h2 .hb-sample,h3 .hb-sample{margin-left:8px}

/* ---------- chat ---------- */
.r1-hint{margin:6px 6px 0;text-align:center;min-height:1em}
@media (max-width:760px){.r1-hint{display:none}}
.side-top .plan{white-space:nowrap}
.r1-bad{color:var(--bad)!important;display:flex;gap:6px;align-items:center;margin:0}
.r1-bad svg{width:15px;height:15px;flex:none}
.r1-answer{display:flex;flex-direction:column;gap:10px;min-width:0}
.r1-answer p{margin:0;overflow-wrap:anywhere}
.r1-answer code,.r1-code{font-family:"Geist Mono",ui-monospace,monospace;font-size:13px;background:var(--sunk);border-radius:6px}
.r1-answer code{padding:1px 5px}
.r1-code{margin:0;padding:10px 12px;border-radius:12px;overflow:auto;max-width:100%;white-space:pre}
.steps.open ol{overflow:auto}
.steps>button .spin{flex:none}
a.btn{text-decoration:none}
.steps li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.steps li.r1-ok svg{color:var(--good)}
.steps li.r1-fail,.steps li.r1-fail svg{color:var(--bad)}

/* ---------- small helpers for new rows ---------- */
.r1-url{display:block;overflow-wrap:anywhere;font-family:"Geist Mono",ui-monospace,monospace;font-size:13px;padding:10px 12px;border-radius:12px;background:var(--sunk);color:var(--accent-text);text-decoration:none}
.r1-code-big{font-family:"Geist Mono",ui-monospace,monospace;font-size:26px;font-weight:600;letter-spacing:.08em;text-align:center;padding:14px;border-radius:14px;background:var(--sunk)}
.r1-log{max-height:160px;overflow:auto;font-family:"Geist Mono",ui-monospace,monospace;font-size:12px;line-height:1.5;color:var(--muted);background:var(--sunk);border-radius:12px;padding:8px 10px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.r1-row{display:flex;gap:8px;align-items:center}
.r1-row .field{flex:1;min-width:0}
.r1-stack{display:flex;flex-direction:column;gap:12px}
/* phone glance: the column layout let long "why" lines (e.g. "Sign in to Codex in Connect") run
   into the next ring; keep each ring inside its grid cell and end the line with … */
.g-ring{min-width:0}
@media (max-width:760px){ .g-ring .tx{align-self:stretch;max-width:100%} }
