/* Hallmark · checked: 2026-11-19 · genre: playful (inferred)
 * waive 39b: Roomy settings rows retained for touch use.
 * waive 7b: Existing white active tab retained for visual continuity.
 * built: the project · redesign: polish · v2.0.0
 * Existing orb, palette, fonts and mood illustrations retained at the user's request.
 * Sweep results recorded in docs/handoffs/LOO-121-hallmark-polish.md. */
:root {
  --polish-focus: var(--ink);
  --polish-muted:#665e6d;
  --polish-selected:#ffffff;
  --polish-error: var(--stressed);
  --polish-surface: var(--paper);
  --polish-border: var(--line);
}
html, body { overflow-x: clip; }
:is(h1,h2,h3) { overflow-wrap: break-word; min-width: 0; }
:is(button,a,input,select,textarea,[tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid var(--polish-focus); outline-offset: 4px; }
html.orb .section-title { margin-top: 28px; margin-bottom: 12px; font-size: 16px; }
.me-top { padding-block: 8px 16px; }
.row-item { min-height: 64px; }
.health-heading { white-space: normal; }
.avatar-generator h1 { margin-bottom: 24px; }
.av-actions { gap: 12px 20px; }
.login-welcome { gap: 24px; }
html.orb .volume-caption { letter-spacing: 0; text-transform: none; white-space: nowrap; }
.polish-field-error { color: var(--polish-error); font: 400 13px/1.5 var(--body); margin-top: 6px; }
[aria-invalid="true"] { border-color: var(--polish-error); }
.cir-hint { max-width: 100%; white-space: normal; text-align: center; }
.voice-control { min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.app:not(.fixed) #screen { padding-bottom:24px; }
html.orb .app:not(.fixed) #nav { flex-shrink:0; }

html.orb :is(button,a,input,select,textarea,[tabindex]:not([tabindex="-1"])):focus-visible { outline:2px solid var(--polish-focus) !important; outline-offset:4px; }
html.orb .row-item .sub, html.orb .memory-since, html.orb #nav button { color:var(--polish-muted); }
html.orb #nav .nav-pill { display:none; }
html.orb #nav button.active { background:var(--polish-selected); color:var(--ink); box-shadow:var(--shadow); }

html.orb #calibMini span { color:var(--polish-muted); }
h1,h2 { text-wrap:balance; }
html.orb .voice-settings .calib-mini .cm-t span { color:var(--polish-muted); }
body:not(.framed) .app:not(.fixed) { height:100dvh; min-height:0; }
body:not(.framed) .app:not(.fixed) #screen { min-height:0; overflow-y:auto; }
html.orb body:not(.framed) .app:not(.fixed) #nav { position:relative; bottom:auto; }
html.orb body:not(.framed) .app:not(.fixed) #nav::after { display:none; }

/* The original memory card and Feedback tile remain intact. */
html.orb .avatar-generator h1:focus { outline:none !important; }
html.orb .oh-stage:not(.cards) .oh-try { margin-bottom:0; }
html.orb .oh-stage:not(.cards) { padding-bottom:16px; flex-shrink:0; }
html.orb .oh-dock { width:100%; }
html.orb .oh-dock .orb-wrap { width:100%; row-gap:10px; }
html.orb .oh-dock .hint-bub { position:static; justify-self:start; max-width:calc(100% - 24px); margin-left:12px; animation:none; transform:none; }
html.orb .oh-dock .hint-bub.t { justify-self:end; margin-left:0; margin-right:12px; }
html.orb .oh-dock .orb-btn { justify-self:center; }
html.orb .oh:has(.hint-bub) { overflow-y:auto; }
@media(max-height:700px) {
  html.orb .oh-dock .orb-wrap { row-gap:6px; }
  html.orb .oh-stage:not(.cards) { padding-block:8px; }
}
/* Scroll the complete cards instead of letting flexbox compress their borders. */
body:not(.framed) .app:not(.fixed) #screen > * { flex-shrink:0; }
html.orb .mem-wrap.mem-lock { flex-shrink:0; min-height:144px; }
html.orb .feedback-tile .act { color:var(--polish-muted); }
html.orb #nav button:active { background:var(--lavender); }
/* One alignment system for setup, consent and calibration. */
.app #screen.setup-center { display:flex; flex-direction:column; justify-content:flex-start; gap:20px; padding-top:16px; }
.setup-body { width:100%; max-width:440px; margin:auto; padding-block:24px; }
.setup-body h1,.setup-body h2 { font:600 26px/1.2 var(--display); margin:0 0 16px; }
.setup-body p { font-size:15px; line-height:1.55; }
.setup-center > .primary { width:100%; max-width:440px; align-self:center; margin-top:0; }
.setup-body .fields { margin-top:20px; }
.consent-fields { margin-top:24px; }
.setup-body select#lang { width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--paper); color:var(--ink); font:inherit; }
.mirror-intro { display:flex; flex-direction:column; width:100%; max-width:440px; min-height:calc(100dvh - 160px); margin:0 auto; }
.mirror-intro h1 { font:600 30px/1.2 var(--display); }
.mirror-intro p { color:var(--polish-muted); }
.calibration-progress { color:var(--polish-muted); margin:0 0 24px; font-size:13px!important; }
.calibration-copy h2 { font-size:19px; line-height:1.4; }
.calibration-sentence { font:600 28px/1.35 var(--display)!important; margin:24px 0 0; overflow-wrap:break-word; }
.calibration-review .calibration-voice { padding:8px 0; gap:8px; }
.calibration-review .calibration-voice p { margin:0; font-size:13px; }
@media(max-height:700px){.setup-body{padding-block:12px}.calibration-review .orb-btn{width:90px;height:90px}.calibration-sentence{font-size:24px!important}.setup-center{gap:12px!important}}
html.orb .mirror-intro h1:focus { outline:none !important; }
:root { --signin-paper:#fff; --signin-ink:#3c4043; --signin-edge:#dadce0; --signin-hover:#f8faff; }
.gmail-signin { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:48px; padding:12px 20px; border:1px solid var(--signin-edge); border-radius:8px; background:var(--signin-paper); color:var(--signin-ink); font:500 15px var(--body); }
.gmail-signin svg { width:22px; height:22px; flex:none; }
.gmail-signin:hover { background:var(--signin-hover); }
.mirror-intro .setup-body { text-align:center; }
.mirror-samples { display:flex; justify-content:center; align-items:flex-end; margin:0 auto 28px; width:100%; }
.mirror-samples > span { width:110px; flex:0 1 110px; min-width:0; }
.mirror-samples > span + span { margin-left:-25px; }
.mirror-samples > span:nth-child(2) { position:relative; z-index:1; transform:translateY(-8px); }
.mirror-samples svg { display:block; width:100%; height:auto; }
html.orb #onboardingProfile .field:not(.work-intensity) { display:grid; grid-template-columns:minmax(70px,.7fr) minmax(0,1.3fr); gap:8px 12px; }
html.orb #onboardingProfile .field > :is(input,select) { width:100%; min-width:0; max-width:100%; min-height:44px; }
html.orb #onboardingProfile .polish-field-error { grid-column:1 / -1; width:100%; margin:0; text-align:left; }
html.orb #onboardingProfile [aria-invalid=true] { outline:1px solid var(--polish-error); outline-offset:2px; border-radius:6px; }
html.orb .language-choice { display:block; margin-top:20px; font:500 15px var(--body); color:var(--ink); }
html.orb .setup-body select#lang { margin-top:8px!important; padding:14px 16px; border:1px solid var(--line); border-radius:16px; background:var(--tile,var(--paper)); color:var(--violet); min-height:52px; }
/* Revision 7: keep the recording action stable while Continue is unavailable. */
.calibration-action { min-height:56px; width:100%; max-width:440px; align-self:center; }
.calibration-action .primary { width:100%; }
.calibration-action [hidden] { display:none!important; }
.calibration-complete { text-align:center; }
.completion-mirror { width:132px; height:132px; margin:0 auto 28px; }
html.orb .completion-mirror .av { width:132px; height:132px; font-size:40px; }
html.orb select#lang option:disabled { color:#98929e; }
html.orb .quiet-snippet.founder-invitation { white-space:normal; overflow:visible; display:block; line-height:1.5; }
.cir-sheet:has(#cardSave) > .x[hidden] { display:none; }

/* Circle uses the same deliberate voice action as Talk. */
html.orb .cir-chat { position:relative; }
html.orb .cir-chat .cir-thread { padding-bottom:160px; scroll-padding-bottom:160px; }
html.orb .cir-compose { position:absolute; inset:auto 0 0; border:0; padding:12px 0 4px; background:transparent; pointer-events:none; }
html.orb .cir-compose .circle-orb { pointer-events:auto; }
html.orb .cir-compose .orb-halo { inset:-10px; opacity:.18; }
html.orb .cir-compose .circle-orb[data-state="listening"] .orb-halo { opacity:.3; }
html.orb .cir-compose .cir-hint { position:relative; z-index:1; }
html.orb .cir-compose .circle-orb { width:88px; height:88px; }
html.orb .cir-compose .cir-hint { min-height:22px; margin:8px auto 0; max-width:300px; }
.av-backbar { position:sticky; top:0; z-index:3; background:var(--paper); padding:4px 0 12px; margin-bottom:12px; }
.av-backbar .back { margin:0; min-height:44px; }

.cir-people .cp > span { max-width:100%; overflow:hidden; text-overflow:ellipsis; }
