:root {
  color-scheme: light;
  --charcoal-950: #1b1b1a;
  --charcoal-900: #232321;
  --charcoal-800: #30302d;
  --charcoal-700: #454541;
  --charcoal-500: #73716a;
  --charcoal-300: #aaa79e;
  --gold: #b69a61;
  --gold-dark: #8f7544;
  --gold-soft: #f4eee1;
  --canvas: #f5f5f2;
  --surface: #fdfdfb;
  --surface-muted: #f8f8f5;
  --line: #e4e3de;
  --danger: #a94d45;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--charcoal-900); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; padding: 25px 16px 18px; display: flex; flex-direction: column; color: #d8d7d1; background: var(--charcoal-950); border-right: 1px solid #353532; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 9px 22px; color: #f5f4ef; text-decoration: none; font-size: 14px; font-weight: 650; letter-spacing: -.015em; }
.brand-mark { width: 29px; height: 29px; display: grid; place-items: center; color: var(--charcoal-950); background: var(--gold); border-radius: 7px; font: 600 17px Georgia, serif; }
.organization-switcher { display: block; margin-bottom: 23px; }
.organization-switcher span { display: block; margin: 0 9px 7px; color: #77766f; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.organization-switcher select { width: 100%; padding: 10px 29px 10px 11px; color: #e8e6df; background: var(--charcoal-900); border: 1px solid #3b3b37; border-radius: 7px; outline: none; font-size: 12px; }
.organization-switcher select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(182, 154, 97, .15); }
.nav-label { margin: 8px 0 7px; padding: 0 11px; color: #6e6d67; font-size: 9px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.department-label { margin-top: 25px; }
nav a { display: flex; align-items: center; gap: 11px; margin: 2px 0; padding: 10px 11px; color: #a5a39c; border-radius: 7px; text-decoration: none; font-size: 12px; font-weight: 520; }
nav a svg { width: 17px; height: 17px; }
nav a:hover { color: #efeee9; background: #292927; }
nav a.active { color: #f4ead6; background: #343128; box-shadow: inset 2px 0 var(--gold); }
.sidebar-footer { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 17px 8px 0; border-top: 1px solid #353532; font-size: 11px; }
.sidebar-footer strong { color: #deddd6; font-weight: 600; }
.sidebar-footer small { display: block; margin-top: 3px; color: #77766f; font-size: 9px; }
.avatar, .profile-button { display: grid; place-items: center; border-radius: 50%; color: #eadfc8; background: #3b3830; font-size: 9px; font-weight: 750; letter-spacing: .03em; }
.avatar { width: 31px; height: 31px; }

main { min-width: 0; grid-column: 2; }
.topbar { position: sticky; top: 0; z-index: 10; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 3.5vw; background: rgba(253,253,251,.96); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 12px; }
.eyebrow { color: var(--charcoal-500); }
.separator { margin: 0 9px; color: #c2c0b9; }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
/* flex-direction is explicit because the generic `label` rule below lays every
   label out as a column. Without it the icon, input and ⌘K shortcut stack
   vertically and spill out of the fixed height. */
.global-search { width: 250px; height: 34px; display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 0 9px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 7px; color: var(--charcoal-500); }
.global-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(182,154,97,.12); }
.global-search svg { width: 15px; height: 15px; }
.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--charcoal-900); font-size: 11px; }
/* `font: 9px inherit` is not valid shorthand — the whole declaration was being
   dropped, leaving the browser default monospace. Set the two properties. */
kbd { padding: 2px 5px; background: #eeede8; border: 1px solid #deddd7; border-radius: 4px; color: #85837c; font-size: 9px; font-family: inherit; }
.icon-button, .profile-button { position: relative; width: 34px; height: 34px; border: 1px solid var(--line); cursor: pointer; }
.icon-button { display: grid; place-items: center; color: var(--charcoal-500); background: white; border-radius: 7px; }
.icon-button svg { width: 16px; height: 16px; }
.icon-button i { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.profile-button { border-color: #d8ccb3; background: var(--gold-soft); color: var(--gold-dark); }
.workspace-button { height: 34px; padding: 0 11px; color: var(--charcoal-700); background: white; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font-size: 10px; font-weight: 650; }
.workspace-button:hover { border-color: #c8b78f; }

.executive-overview { padding: 38px 5vw 30px; background: var(--surface); border-bottom: 1px solid var(--line); }
.overview-heading { display: flex; justify-content: space-between; align-items: flex-end; }
.section-kicker { color: var(--gold-dark); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.overview-heading h2 { margin: 8px 0 5px; font: 500 26px/1.2 Georgia, serif; letter-spacing: -.02em; }
.overview-heading p { margin: 0; color: var(--charcoal-500); font-size: 12px; }
.secondary-action { padding: 9px 13px; color: white; background: var(--charcoal-900); border: 0; border-radius: 7px; cursor: pointer; font-size: 11px; font-weight: 650; }
.secondary-action:hover { background: var(--charcoal-800); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.metric-grid article { position: relative; min-height: 126px; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 3px 13px rgba(32,32,29,.025); }
.metric-grid article > span { display: block; color: var(--charcoal-500); font-size: 10px; font-weight: 600; }
.metric-grid strong { display: block; margin: 12px 0 4px; font: 500 27px Georgia, serif; }
.metric-grid article:nth-child(3) strong { color: var(--gold-dark); }
.metric-grid small { color: #96938c; font-size: 9px; }
.metric-icon { position: absolute; top: 16px; right: 16px; width: 27px; height: 27px; display: grid; place-items: center; color: var(--charcoal-500); background: var(--surface-muted); border: 1px solid var(--line); border-radius: 6px; }
.metric-icon svg { width: 14px; height: 14px; }
.quick-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.quick-actions > span { margin-right: 4px; color: var(--charcoal-500); font-size: 10px; font-weight: 650; }
.quick-actions button { padding: 7px 10px; background: transparent; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; color: var(--charcoal-700); font-size: 10px; }
.quick-actions button:hover { border-color: #c5b58f; background: var(--gold-soft); }

.hero { padding: 45px 5vw 27px; background: var(--canvas); }
.pill, .draft-badge { display: inline-block; padding: 5px 9px; color: var(--gold-dark); background: var(--gold-soft); border: 1px solid #eadfc9; border-radius: 20px; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
h1 { max-width: 780px; margin: 17px 0 13px; font: 500 clamp(34px, 3.7vw, 50px)/1.1 Georgia, serif; letter-spacing: -.035em; }
h1 em { color: var(--charcoal-700); font-weight: 500; }
.hero > p { max-width: 650px; color: var(--charcoal-500); font-size: 14px; line-height: 1.6; }
.feature-tabs { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.feature-tabs button { padding: 8px 12px; color: var(--charcoal-500); background: transparent; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: 10px; font-weight: 650; }
.feature-tabs button.selected { color: var(--gold-dark); background: var(--gold-soft); border-color: #d9c79f; box-shadow: inset 0 -2px var(--gold); }
.hidden { display: none !important; }

.workspace { display: grid; grid-template-columns: minmax(470px, 1.05fr) minmax(390px, .95fr); margin: 0 5vw 70px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 35px rgba(30,30,27,.055); }
form { padding: 30px 34px; }
.form-heading { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.form-heading > div { display: flex; gap: 12px; }
.form-heading > div > span { width: 25px; height: 25px; display: grid; place-items: center; color: var(--gold-dark); background: var(--gold-soft); border: 1px solid #e6d8ba; border-radius: 50%; font-size: 9px; font-weight: 800; }
h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.form-heading p { margin: 5px 0 0; color: var(--charcoal-500); font-size: 11px; }
.time { padding: 6px 9px; color: var(--charcoal-500); background: var(--surface-muted); border: 1px solid var(--line); border-radius: 20px; font-size: 9px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 25px 0 20px; }
label { display: flex; flex-direction: column; gap: 7px; color: var(--charcoal-700); font-size: 10px; font-weight: 680; }
.full { grid-column: 1 / -1; }
.optional { color: #99968f; font-weight: 500; }
input, select, textarea { width: 100%; padding: 10px 11px; color: var(--charcoal-900); background: white; border: 1px solid #dcdad4; border-radius: 6px; outline: none; resize: vertical; font-size: 11px; }
input::placeholder, textarea::placeholder { color: #aaa79f; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(182,154,97,.13); }
.invalid { border-color: var(--danger); }
label small { min-height: 0; color: var(--danger); }
.hint { margin-top: -4px; color: #96938c; font-size: 9px; font-weight: 500; }
.primary { width: 100%; display: flex; justify-content: center; gap: 11px; padding: 12px 15px; color: #211f1a; background: var(--gold); border: 1px solid #a88b53; border-radius: 6px; box-shadow: 0 5px 14px rgba(142,116,67,.15); cursor: pointer; font-size: 11px; font-weight: 750; }
.primary:hover { background: #c1a66d; }
.primary:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.primary:disabled { opacity: .6; cursor: wait; }
.primary b { font-size: 15px; line-height: 12px; }
.privacy { margin: 12px 0 0; color: #9a9790; text-align: center; font-size: 9px; }

.result { min-height: 540px; padding: 34px; overflow: auto; background: var(--surface-muted); border-left: 1px solid var(--line); }
.result.empty { display: grid; place-items: center; }
.empty-state { max-width: 250px; text-align: center; }
.spark { width: 49px; height: 49px; display: grid; place-items: center; margin: 0 auto 17px; color: var(--gold-dark); background: white; border: 1px solid #dedbd2; border-radius: 11px; box-shadow: 0 7px 20px rgba(30,30,27,.06); font: 500 20px Georgia, serif; }
.empty-state h2 { font: 500 19px Georgia, serif; }
.empty-state p { color: var(--charcoal-500); font-size: 11px; line-height: 1.55; }
.result > h2 { margin: 16px 0 9px; font: 500 27px Georgia, serif; }
.summary, .closing { color: #62615c; font-size: 11px; line-height: 1.65; }
.result section { margin-top: 22px; }
.result h3 { margin: 0 0 10px; color: var(--charcoal-700); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.result ul { margin: 0; padding-left: 18px; }
.result li { margin: 7px 0; color: #4e4d49; font-size: 11px; line-height: 1.5; }
.closing { margin-top: 22px; padding-top: 18px; border-top: 1px solid #dddbd5; }
.copy-button { padding: 8px 11px; color: var(--charcoal-700); background: white; border: 1px solid #d6d3ca; border-radius: 6px; cursor: pointer; font-size: 10px; font-weight: 680; }
.copy-button:hover { color: var(--gold-dark); border-color: #c8b78f; }
.score { margin: 11px 0; color: var(--gold-dark); font: 500 49px Georgia, serif; }
.score small { color: var(--charcoal-500); font: 600 11px sans-serif; }
.criterion { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #dddbd5; font-size: 11px; }
.criterion strong { color: var(--gold-dark); }
.result-actions { display: flex; gap: 7px; margin-top: 20px; }
.warning { padding: 9px 11px; color: #625a48; background: #f5f0e5; border: 1px solid #e2d6bb; border-radius: 6px; font-size: 10px; line-height: 1.5; }
.email-body { margin: 18px 0 0; padding: 18px; white-space: pre-wrap; color: #4e4d49; background: white; border: 1px solid var(--line); border-radius: 7px; font: 11px/1.7 Inter, ui-sans-serif, system-ui, sans-serif; }
.gmail-connection { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 12px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 7px; }
.gmail-connection > div { flex: 1; }
.gmail-connection strong { display: block; font-size: 10px; }
.gmail-connection span { display: block; margin-top: 3px; color: var(--charcoal-500); font-size: 9px; }
.gmail-messages { max-height: 230px; overflow-y: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 7px; }
.gmail-message { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.gmail-message:last-child { border-bottom: 0; }
.gmail-message strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.gmail-message span, .gmail-message p { color: var(--charcoal-500); font-size: 9px; }
.gmail-message p { margin: 4px 0 0; line-height: 1.45; }
.knowledge-search-fields { padding: 25px 0 20px; }
.search-composer { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-composer .primary { width: auto; min-width: 135px; }
.connection-note { display: flex; gap: 7px; flex-direction: column; padding: 13px; color: var(--charcoal-500); background: var(--surface-muted); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; line-height: 1.5; }
.connection-note strong { color: var(--charcoal-700); }
.knowledge-result { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
.knowledge-result a { color: var(--charcoal-900); text-decoration: none; font: 500 16px Georgia, serif; }
.knowledge-result a:hover { color: var(--gold-dark); }
.knowledge-result span { display: block; margin: 5px 0; color: var(--gold-dark); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.knowledge-result p { margin: 0; color: var(--charcoal-500); font-size: 10px; line-height: 1.55; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(27,27,26,.35); }
.workspace-drawer { position: fixed; z-index: 31; inset: 0 0 0 auto; width: min(560px, 100vw); overflow-y: auto; color: var(--charcoal-900); background: var(--surface); border-left: 1px solid var(--line); box-shadow: -18px 0 50px rgba(27,27,26,.12); animation: drawer-in 180ms ease-out; }
@keyframes drawer-in { from { transform: translateX(18px); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
.workspace-drawer > header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 17px; background: var(--surface); border-bottom: 1px solid var(--line); }
.workspace-drawer > header h2 { margin-top: 7px; font: 500 23px Georgia, serif; }
.drawer-tabs { position: sticky; top: 82px; z-index: 2; display: flex; gap: 5px; padding: 12px 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.drawer-tabs button { padding: 7px 10px; color: var(--charcoal-500); background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 10px; font-weight: 650; }
.drawer-tabs button.selected { color: var(--gold-dark); background: var(--gold-soft); border-color: #e3d5b7; }
.workspace-drawer section { padding: 0 28px 30px; }
.workspace-drawer form { padding: 0; }
.consultant { padding: 22px 0 10px; }
.production-status, .memory-status { padding: 12px 14px; color: #775424; background: #f5eddd; border: 1px solid #e4d4b2; border-radius: 5px; font-size: 9px; line-height: 1.6; }
.production-status { margin: 0 0 18px; }
.memory-status { margin: 0 0 18px; }
.consultant-progress { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 24px; color: var(--charcoal-500); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.consultant-progress i { height: 2px; overflow: hidden; background: var(--line); }
.consultant-progress b { display: block; height: 100%; background: var(--gold-dark); transition: width 240ms ease; }
.consultant-conversation { display: flex; max-height: 360px; flex-direction: column; gap: 10px; overflow-y: auto; padding: 4px 2px 18px; }
.consultant-message { max-width: 88%; padding: 14px 16px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 3px 14px 14px; }
.consultant-message.owner { align-self: flex-end; color: #f2f0ea; background: var(--charcoal-800); border-color: var(--charcoal-800); border-radius: 14px 3px 14px 14px; }
.consultant-message.welcome { max-width: 100%; background: #f4efe4; border-color: #e4d8be; }
.consultant-message.error { color: #793f38; background: #f8ece9; border-color: #e9ccc6; }
.consultant-message span { color: var(--gold-dark); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.consultant-message p { margin: 7px 0 0; font-size: 11px; line-height: 1.65; }
.consultant-message.owner span { color: #d5bd8b; }
.consultant-help { margin: -4px 0 6px 17px; color: var(--charcoal-500); font-size: 8px; line-height: 1.5; }
.conversation-composer { position: sticky; bottom: 0; padding: 12px !important; background: white; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 10px 30px rgba(30,30,27,.08); }
.conversation-composer textarea { width: 100%; resize: vertical; border: 0; outline: 0; font: 400 11px/1.6 inherit; }
.conversation-composer > .primary { margin: 8px 0 0 auto; }
.voice-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }
.voice-chips button { padding: 6px 8px; color: var(--charcoal-500); background: white; border: 1px solid var(--line); border-radius: 20px; font-size: 8px; cursor: pointer; }
.voice-chips button.selected { color: #57451f; background: #eee2c7; border-color: #d9c291; }
.company-understanding { padding-top: 22px; border-top: 1px solid var(--line); }
.company-understanding > header h3 { margin: 12px 0 7px; font: 500 20px Georgia, serif; }
.company-understanding > header p { color: var(--charcoal-500); font-size: 9px; line-height: 1.6; }
.dna-review-card { margin: 12px 0; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 7px; }
.dna-review-card > header { display: flex; align-items: center; justify-content: space-between; }
.dna-review-card h4 { margin: 0; font: 500 14px Georgia, serif; }
.dna-review-card header span { padding: 5px 7px; border-radius: 20px; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.dna-review-card .pending { color: #8c6827; background: #f3ead7; }.dna-review-card .needs-review { color: #984b42; background: #f7e8e5; }.dna-review-card .approved { color: #2f6e55; background: #e7f1ec; }
.dna-review-card textarea, .dna-list input { width: 100%; margin-top: 12px; padding: 9px; resize: vertical; color: var(--charcoal-800); background: var(--surface-muted); border: 1px solid transparent; border-radius: 4px; font: 400 10px/1.6 inherit; }
.dna-review-card textarea:focus, .dna-list input:focus { background: white; border-color: var(--gold); outline: 0; }
.dna-list { display: grid; gap: 4px; }
.dna-review-card > small { display: block; margin: 8px 0; color: var(--charcoal-500); font-size: 7px; }
.dna-review-card > button, .refine-composer button { padding: 7px 9px; color: var(--gold-dark); background: transparent; border: 1px solid var(--line); border-radius: 4px; font-size: 8px; cursor: pointer; }
.refine-composer { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; margin: 20px 0; padding: 14px !important; background: var(--surface-muted); border: 1px solid var(--line); }
.refine-composer label { color: var(--charcoal-500); font-size: 8px; }.refine-composer input { display: block; width: 100%; margin-top: 6px; padding: 9px; border: 1px solid var(--line); }
.drawer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 23px 0; }
.save-state { color: var(--charcoal-500); text-align: center; font-size: 9px; }
.drawer-list { padding-top: 16px; }
.drawer-empty { padding: 55px 20px; color: var(--charcoal-500); text-align: center; font-size: 11px; }
.drawer-item { padding: 15px 0; border-bottom: 1px solid var(--line); }
.drawer-item header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.drawer-item h3 { margin: 0; font-size: 12px; }
.drawer-item p { margin: 5px 0 0; color: var(--charcoal-500); font-size: 9px; }
.draft-status { color: var(--gold-dark); font-size: 9px; font-weight: 750; }
.draft-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.draft-actions button { padding: 6px 8px; color: var(--charcoal-600); background: white; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; font-size: 9px; }
.activity-row { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.activity-row i { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.activity-row time { color: var(--charcoal-500); font-size: 9px; }
.approval-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.approval-controls span { color: var(--charcoal-500); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.approval-controls select { width: auto; min-width: 110px; color: var(--gold-dark); font-weight: 700; }
.undo-toast { position: fixed; z-index: 50; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 20px; padding: 12px 14px; color: #f3f1eb; background: var(--charcoal-900); border: 1px solid var(--charcoal-700); border-radius: 7px; box-shadow: 0 10px 30px rgba(27,27,26,.2); font-size: 10px; }
.undo-toast button { color: #eadfc8; background: transparent; border: 0; cursor: pointer; font-weight: 750; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .workspace { grid-template-columns: 1fr; }
  .result { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 780px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: auto; padding: 15px 18px; }
  .sidebar nav, .sidebar-footer, .organization-switcher { display: none; }
  .brand { padding: 0; }
  main { display: block; }
  .topbar { height: 56px; padding: 0 18px; }
  .global-search { width: 36px; padding: 0 9px; }
  .global-search input, .global-search kbd, .profile-button { display: none; }
  .workspace-button { display: none; }
  .executive-overview { padding: 28px 20px 24px; }
  .overview-heading { align-items: flex-start; gap: 15px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .quick-actions { align-items: flex-start; flex-wrap: wrap; }
  .quick-actions > span { width: 100%; }
  .hero { padding: 35px 20px 23px; }
  h1 { font-size: 36px; }
  .workspace { margin: 0 20px 50px; }
  form, .result { padding: 25px; }
  .fields { grid-template-columns: 1fr; }
  .time { display: none; }
}

@media (max-width: 480px) {
  .breadcrumb .eyebrow, .breadcrumb .separator { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .overview-heading { display: block; }
  .secondary-action { margin-top: 16px; }
  h1 { font-size: 31px; }
  .feature-tabs { display: grid; grid-template-columns: 1fr; }
  .workspace { margin-inline: 12px; }
}

.sidebar-settings { width: 29px; height: 29px; display: grid; place-items: center; margin-left: auto; color: #8c8a83; background: transparent; border: 0; border-radius: 6px; cursor: pointer; }
.sidebar-settings:hover { color: #f1eee7; background: #2c2c29; }
.sidebar-settings svg { width: 15px; height: 15px; }
.home-streams { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; margin-top: 16px; }
.home-streams > section { padding: 16px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.home-streams header { display: flex; align-items: center; justify-content: space-between; }
.home-streams h3 { margin: 0; font-size: 11px; }
.home-streams header button, .home-streams header span { color: var(--charcoal-500); background: transparent; border: 0; font-size: 9px; }
.home-streams header button { cursor: pointer; }
.stream-list { margin-top: 10px; }
.stream-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.stream-item:first-child { border-top: 0; }
.stream-item button { padding: 0; color: var(--charcoal-700); background: transparent; border: 0; cursor: pointer; text-align: left; font-size: 10px; }
.stream-item small { color: var(--charcoal-500); font-size: 8px; }
.favorite-button { color: var(--gold-dark) !important; font-size: 15px !important; }
.notifications-panel { position: fixed; z-index: 25; top: 57px; right: 68px; width: 340px; max-height: 430px; overflow: auto; background: white; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 16px 45px rgba(27,27,26,.13); }
.notifications-panel > header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 15px; background: white; border-bottom: 1px solid var(--line); }
.notifications-panel h2 { font-size: 13px; }
.notifications-panel header button { color: var(--gold-dark); background: transparent; border: 0; cursor: pointer; font-size: 9px; }
.notification-item { padding: 13px 15px; border-bottom: 1px solid var(--line); }
.notification-item.unread { background: #fcf9f1; }
.notification-item strong { display: block; font-size: 10px; }
.notification-item p { margin: 4px 0; color: var(--charcoal-500); font-size: 9px; line-height: 1.5; }
.notification-item time { color: #9b9890; font-size: 8px; }
.toast-region { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.app-toast { min-width: 260px; padding: 12px 14px; color: #f4f2ec; background: var(--charcoal-900); border: 1px solid var(--charcoal-700); border-radius: 7px; box-shadow: 0 10px 30px rgba(27,27,26,.2); animation: toast-in 160ms ease-out; }
.app-toast strong { display: block; font-size: 10px; }
.app-toast span { display: block; margin-top: 3px; color: #bbb8ae; font-size: 9px; }
@keyframes toast-in { from { transform: translateY(7px); opacity: 0; } }
.command-palette { width: min(620px, calc(100vw - 30px)); max-height: 520px; padding: 0; overflow: hidden; background: white; border: 1px solid #d6d2c8; border-radius: 11px; box-shadow: 0 28px 80px rgba(27,27,26,.25); }
.command-palette::backdrop, .settings-dialog::backdrop { background: rgba(27,27,26,.43); }
.command-palette > label { height: 58px; display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.command-palette > label svg { width: 17px; color: var(--charcoal-500); }
.command-palette input { flex: 1; padding: 0; border: 0; box-shadow: none; font-size: 13px; }
#command-results { max-height: 380px; overflow-y: auto; padding: 7px; }
.command-result { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 10px; color: var(--charcoal-700); background: transparent; border: 0; border-radius: 6px; cursor: pointer; text-align: left; font-size: 11px; }
.command-result span { color: var(--charcoal-500); font-size: 9px; }
.command-result.selected, .command-result:hover { background: var(--gold-soft); color: var(--gold-dark); }
.command-palette footer { display: flex; gap: 18px; padding: 10px 15px; color: var(--charcoal-500); background: var(--surface-muted); border-top: 1px solid var(--line); font-size: 8px; }
.settings-dialog { width: min(820px, calc(100vw - 30px)); height: min(650px, calc(100vh - 40px)); padding: 0; overflow: hidden; background: white; border: 1px solid #d6d2c8; border-radius: 11px; box-shadow: 0 28px 80px rgba(27,27,26,.25); }
.settings-dialog > header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); }
.settings-dialog > header h2 { margin-top: 6px; font: 500 22px Georgia, serif; }
.settings-layout { height: calc(100% - 76px); display: grid; grid-template-columns: 190px 1fr; }
.settings-layout > nav { padding: 14px 10px; background: var(--surface-muted); border-right: 1px solid var(--line); }
.settings-layout > nav button { width: 100%; padding: 9px 10px; color: var(--charcoal-500); background: transparent; border: 0; border-radius: 6px; cursor: pointer; text-align: left; font-size: 10px; }
.settings-layout > nav button.selected { color: var(--gold-dark); background: var(--gold-soft); font-weight: 700; }
.settings-layout > main { grid-column: 2; overflow-y: auto; padding: 28px; }
.settings-layout section { max-width: 520px; }
.settings-layout section > h3 { margin: 0 0 7px; font: 500 20px Georgia, serif; }
.settings-layout section > p { margin: 0 0 22px; color: var(--charcoal-500); font-size: 10px; line-height: 1.6; }
.settings-layout form { padding: 0; }
.settings-layout form label { margin-bottom: 14px; }
.check-row { flex-direction: row; align-items: center; }
.check-row input { width: auto; }
.theme-card, .diagnostic-card { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.theme-card i { width: 28px; height: 28px; background: var(--charcoal-900); border: 5px solid var(--gold); border-radius: 50%; }
.theme-card span { margin-left: auto; color: var(--gold-dark); }
.diagnostic-card { align-items: flex-start; flex-direction: column; }
.diagnostic-card span { color: var(--charcoal-500); }
.provider-list { display: grid; gap: 9px; margin-bottom: 18px; }
.provider-card { display: grid; grid-template-columns: 1fr auto; gap: 9px; padding: 13px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 7px; }
.provider-card h4, .provider-card p { margin: 0; }
.provider-card h4 { font-size: 11px; }.provider-card p { grid-column: 1; color: var(--charcoal-500); font-size: 9px; line-height: 1.5; }
.provider-card .draft-actions { grid-column: 1 / -1; }
.readiness-card { margin-top: 18px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.readiness-card header { display: flex; align-items: center; justify-content: space-between; }.readiness-card h3 { margin: 4px 0 0; font: 500 18px Georgia, serif; }.readiness-card button { padding: 7px 10px; background: white; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.audit-result { display: grid; grid-template-columns: auto 1fr; gap: 13px; margin-top: 14px; }.audit-score { color: var(--gold-dark); font: 500 38px Georgia, serif; }.audit-result ul { margin: 0; padding-left: 17px; color: var(--charcoal-500); font-size: 9px; line-height: 1.7; }
.trial-value { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; margin-bottom: 18px; padding: 16px 18px; color: #f5f2ea; background: var(--charcoal-900); border-radius: 9px; }.trial-value h3 { margin: 4px 0; font: 500 17px Georgia, serif; }.trial-value p { margin: 0; color: #bcb8ad; font-size: 9px; }.trial-value button { padding: 8px 11px; color: var(--charcoal-900); background: var(--gold); border: 0; border-radius: 5px; cursor: pointer; }.trial-days { display: flex; flex-direction: column; align-items: center; }.trial-days strong { color: var(--gold); font: 500 27px Georgia, serif; }.trial-days span { color: #bcb8ad; font-size: 8px; }
.onboarding-dialog, .subscription-dialog { width: min(680px, calc(100vw - 30px)); padding: 0; color: var(--charcoal-900); background: white; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 24px 70px rgba(20,20,18,.3); }.onboarding-dialog::backdrop, .subscription-dialog::backdrop { background: rgba(30,30,27,.68); }.onboarding-dialog > header, .subscription-dialog > header { padding: 27px 30px 18px; border-bottom: 1px solid var(--line); }.onboarding-dialog h2, .subscription-dialog h2 { margin: 6px 0; font: 500 25px Georgia, serif; }.onboarding-dialog header p, .subscription-dialog > p { color: var(--charcoal-500); font-size: 10px; line-height: 1.65; }.onboarding-dialog > div { min-height: 220px; padding: 24px 30px; }.onboarding-dialog > footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 30px; background: var(--surface-muted); border-top: 1px solid var(--line); }.onboarding-dialog footer button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 5px; background: white; cursor: pointer; }.onboarding-dialog footer .primary { color: var(--charcoal-900); background: var(--gold); border-color: var(--gold); }.onboarding-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }.onboarding-option { padding: 13px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 7px; }.onboarding-option strong { display: block; font-size: 10px; }.onboarding-option span { color: var(--charcoal-500); font-size: 9px; }.subscription-dialog { padding-bottom: 28px; }.subscription-dialog > header { position: relative; }.subscription-dialog .icon-button { position: absolute; top: 20px; right: 22px; }.subscription-dialog > p, .subscription-dialog > div { margin-right: 30px; margin-left: 30px; }.subscription-price { display: flex; align-items: baseline; gap: 8px; margin-top: 24px; }.subscription-price strong { color: var(--gold-dark); font: 500 34px Georgia, serif; }.subscription-price span { color: var(--charcoal-500); font-size: 10px; }
.commercial-payment { margin-top: 14px; margin-bottom: 14px; }.commercial-payment form { padding: 15px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 7px; }.commercial-payment .bank-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }.bank-details span { display: block; color: var(--charcoal-500); font-size: 8px; }.bank-details strong { font-size: 10px; }.commercial-payment input { margin-bottom: 8px; }
@media (max-width: 700px) { .trial-value { grid-template-columns: 1fr auto; }.trial-value button { grid-column: 1 / -1; }.onboarding-options { grid-template-columns: 1fr; } }
.settings-user, .settings-audit-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.settings-user span, .settings-audit-row time { color: var(--charcoal-500); font-size: 9px; }
.skeleton { position: relative; overflow: hidden; color: transparent !important; background: #eceae4 !important; border-radius: 5px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: skeleton 1.2s infinite; }
@keyframes skeleton { to { transform: translateX(100%); } }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
.compact-mode .workspace form, .compact-mode .result { padding: 22px 26px; }
@media (max-width: 780px) { .home-streams { grid-template-columns: 1fr; } .notifications-panel { right: 12px; left: 12px; width: auto; } .settings-layout { grid-template-columns: 1fr; } .settings-layout > nav { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .settings-layout > nav button { width: auto; white-space: nowrap; } .settings-layout > main { grid-column: 1; padding: 20px; } }

.marketing-dna-panel { display: grid; grid-template-columns: 210px 1fr; margin: 0 5vw 70px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 35px rgba(30,30,27,.055); }
.dna-sidebar { padding: 25px 15px; background: var(--surface-muted); border-right: 1px solid var(--line); }
.dna-sidebar h2 { padding: 0 9px; font: 500 19px Georgia, serif; }
.dna-sidebar p { margin: 5px 9px 18px; color: var(--charcoal-500); font-size: 9px; }
.dna-progress { margin: 0 9px 17px; }
.dna-progress span { display: block; margin-bottom: 6px; color: var(--gold-dark); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.dna-progress i { display: block; height: 3px; overflow: hidden; background: #e5e2da; border-radius: 4px; }
.dna-progress b { display: block; width: 0; height: 100%; background: var(--gold); transition: width 180ms ease-out; }
.dna-sidebar button { width: 100%; padding: 9px 10px; color: var(--charcoal-500); background: transparent; border: 0; border-radius: 6px; cursor: pointer; text-align: left; font-size: 10px; }
.dna-sidebar button.selected { color: var(--gold-dark); background: var(--gold-soft); font-weight: 700; }
.dna-editor { min-width: 0; }
.dna-form { padding: 30px 34px; }
.context-reuse { display: flex; flex-direction: column; gap: 3px; margin-bottom: 18px; padding: 11px 12px; color: var(--charcoal-500); background: var(--gold-soft); border: 1px solid #e3d5b7; border-radius: 7px; font-size: 9px; }
.context-reuse strong { color: var(--gold-dark); font-size: 10px; }
.dna-form .primary { max-width: 230px; margin-left: auto; }
.dna-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 22px 0 3px; }
.dna-summary article { padding: 10px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 6px; }
.dna-summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.dna-summary span { display: block; margin-bottom: 4px; color: var(--gold-dark); font-size: 8px; font-weight: 750; text-transform: uppercase; }
.marketing-copy { white-space: pre-wrap; color: var(--charcoal-700); font-size: 11px; line-height: 1.7; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.media-card { position: relative; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-muted); }
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 10px; border-radius: 5px; background: #e8e5dd; }
.media-card h3 { margin: 0 0 4px; font-size: 11px; }
.media-card p { min-height: 28px; margin: 0 0 9px; color: var(--charcoal-500); font-size: 9px; line-height: 1.5; }
.media-actions { display: flex; align-items: center; gap: 7px; margin-top: 11px; }
.media-actions button, .media-actions a { padding: 6px 8px; color: var(--charcoal-700); background: white; border: 1px solid var(--line); border-radius: 5px; font: inherit; font-size: 9px; text-decoration: none; cursor: pointer; }
@media (max-width: 900px) { .marketing-dna-panel { grid-template-columns: 1fr; } .dna-sidebar { display: flex; gap: 4px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .dna-sidebar h2, .dna-sidebar p { display: none; } .dna-sidebar button { width: auto; white-space: nowrap; } .dna-summary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .media-grid { grid-template-columns: 1fr; } }
.sentime-footer { padding: 18px 5vw 25px; color: var(--charcoal-500); font-size: 8px; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

/* Marketing DNA asks questions instead of demanding business terminology. */
.dna-form .fields label[data-dna-question] { gap: .35rem; }
.dna-question { font-size: .95rem; font-weight: 600; line-height: 1.4; color: inherit; }
/* label small is the validation-error style, so helper text must set its own
   colour or every question would look like it had failed validation. */
.dna-form .fields label .dna-helper { color: var(--charcoal-500); font-size: .78rem; font-weight: 500; margin-bottom: .15rem; }
.dna-examples { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.dna-examples button {
  font: inherit; font-size: .75rem; padding: .2rem .55rem; border-radius: 999px; cursor: pointer;
  border: 1px dashed currentColor; background: transparent; opacity: .55; text-align: left;
}
.dna-examples button:hover, .dna-examples button:focus-visible { opacity: 1; border-style: solid; }
.dna-refine {
  font: inherit; font-size: .75rem; align-self: flex-start; margin-top: .4rem;
  padding: .25rem .7rem; border-radius: 999px; cursor: pointer; border: 1px solid currentColor; background: transparent;
}
.dna-refine:disabled, .dna-refine-all:disabled { opacity: .5; cursor: progress; }
.dna-refine-all {
  font: inherit; font-size: .85rem; margin-right: .6rem;
  padding: .5rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid currentColor; background: transparent;
}

/* The sign-in wall.
   This rule is in the stylesheet rather than inline on purpose: a stylesheet in
   <head> blocks the first paint, so a protected page is never on screen for a
   frame before Clerk has resolved. The attribute starts as "pending" in the
   markup and only becomes "ready" once a user and an active organization are
   confirmed, so there is no moment where a workspace is visible to someone who
   turns out not to be allowed in. */
body[data-auth="pending"] > *, body[data-auth="unconfigured"] > * { display: none !important; }
body[data-auth="pending"]::after, body[data-auth="unconfigured"]::after {
  display: grid; place-items: center; position: fixed; inset: 0;
  color: var(--charcoal-500); background: var(--surface, #f6f5f1); font-size: 13px;
}
body[data-auth="pending"]::after { content: "Checking your access…"; }
body[data-auth="unconfigured"]::after { content: "Authentication is not configured. BOARDROOM cannot be shown."; }

/* The sign-in page. It is the first thing a customer ever sees of BOARDROOM,
   so it is given the same restraint as the rest of the product: a serif
   wordmark, generous space, one gold accent, and no browser-default chrome. */
.auth-page { display: grid; place-items: center; min-height: 100vh; padding: 40px 20px; background: var(--surface-muted, #f0efe9); }
.auth-shell { display: flex; flex-direction: column; gap: 26px; width: 100%; max-width: 396px; }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.auth-brand strong { font: 400 27px/1 Georgia, serif; letter-spacing: .14em; text-indent: .14em; color: var(--charcoal-900); }
.auth-brand span { color: var(--charcoal-500); font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }

.auth-panel {
  display: flex; flex-direction: column;
  padding: 38px 34px 30px; background: white;
  border: 1px solid var(--line, #e2e0d9); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(27, 27, 26, .04), 0 12px 32px -12px rgba(27, 27, 26, .10);
}
.auth-panel h1 { margin: 0; font: 400 25px/1.2 Georgia, serif; letter-spacing: -.01em; color: var(--charcoal-900); }
.auth-panel p { margin: 8px 0 0; color: var(--charcoal-500); font-size: 13px; line-height: 1.6; }

/* A bare <form> is not a flex container, so without this the fields sit flush
   against each other and one field's label touches the input above it. Padding
   is reset because the generic `form` rule above pads every form for the
   workspace panels, which shrinks these fields against their own heading. */
.auth-panel form { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; padding: 0; }
.auth-panel form label { gap: 8px; color: var(--charcoal-500); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.auth-panel form input {
  padding: 13px 14px; color: var(--charcoal-900); font-size: 13px; font-weight: 500;
  background: #fcfbf9; border: 1px solid #e0ded7; border-radius: 9px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.auth-panel form input:hover { border-color: #d2cfc6; }
.auth-panel form input:focus { background: white; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182, 154, 97, .16); }

.auth-panel form .primary {
  width: 100%; margin-top: 4px; padding: 13px 18px; justify-content: center;
  color: #fffdf8; background: var(--charcoal-900); border: 0; border-radius: 9px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background-color .15s ease, opacity .15s ease;
}
.auth-panel form .primary:hover { background: #000; }
.auth-panel form .primary:disabled { opacity: .55; cursor: progress; }

/* An empty error line must not reserve space above the button. */
.auth-error { margin: 0; color: var(--danger); font-size: 12px; line-height: 1.5; }
.auth-error:empty { display: none; }

/* Separated by a hairline rather than by a heavier box, so the secondary path
   reads as an offer and not as a second primary action. */
.auth-switch {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px;
  margin: 26px -34px -30px; padding: 18px 34px 22px;
  border-top: 1px solid #f0eee8; color: var(--charcoal-500); font-size: 12.5px;
}
.auth-switch button {
  padding: 0; color: var(--gold-dark); font: inherit; font-weight: 600;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  border-bottom: 1px solid rgba(143, 117, 68, .35); transition: border-color .15s ease, color .15s ease;
}
.auth-switch button:hover { color: var(--charcoal-900); border-bottom-color: var(--charcoal-900); }
.auth-status { color: var(--charcoal-500); font-size: 13px; }

/* Guided DNA — one question at a time. The stage holds the real label, so the
   question, helper, examples and refine button all style themselves. */
.dna-guide-start {
  font: inherit; font-size: .85rem; margin-bottom: 1rem;
  padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  color: var(--gold-dark); background: var(--gold-soft); border: 1px solid #d8ccb3;
}
.dna-guide { display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; background: var(--surface-muted); border: 1px solid var(--line); border-radius: 11px; }
.dna-guide-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dna-guide-step { color: var(--charcoal-500); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.dna-guide-exit { font: inherit; font-size: .8rem; color: var(--charcoal-500); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.dna-guide-bar { height: 3px; background: var(--line); border-radius: 999px; overflow: hidden; }
.dna-guide-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 999px; transition: width .18s ease; }
.dna-guide-stage { min-height: 8.5rem; }
.dna-guide-stage label { display: flex; flex-direction: column; gap: .35rem; }
.dna-guide-stage .dna-question { font-size: 1.15rem; line-height: 1.35; }
.dna-guide-nav { display: flex; align-items: center; gap: .6rem; }
.dna-guide-note { flex: 1; color: var(--gold-dark); font-size: .8rem; }
.dna-guide-nav button { font: inherit; font-size: .85rem; padding: .55rem 1.15rem; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: white; }
.dna-guide-nav button:disabled { opacity: .45; cursor: default; }
.dna-guide-skip { color: var(--charcoal-500); }
.dna-guide-next { color: white; background: var(--charcoal-900); border-color: var(--charcoal-900); }
.dna-guide-next:hover { opacity: .9; }

/* The palette opened by ⌘K is modal, so it needs a way out that is not a
   keyboard shortcut the customer has to already know. */
.command-close {
  display: grid; place-items: center; width: 26px; height: 26px; margin-left: 4px;
  color: var(--charcoal-500); background: none; border: 0; border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1;
}
.command-close:hover { color: var(--charcoal-900); background: var(--surface-muted); }
