/* Black Friday Campaign Command Center — Boutique Glam (light only) */
:root {
  color-scheme: light only;
  --ivory: #FFF9F4;
  --blush: #FBE7F0;
  --blush-2: #F7D3E3;
  --pink: #E83E8C;
  --pink-dark: #C72873;
  --onyx: #17131B;
  --gold: #D6B16A;
  --gold-light: #F3E2B8;
  --gold-dark: #A8833C;
  --muted: #6B5F68;
  --line: #EED9E3;
  --white: #FFFFFF;
  --ok: #1F7A4D;
  --ok-bg: #E6F4EC;
  --warn: #8A5A00;
  --warn-bg: #FFF3D6;
  --err: #B3261E;
  --err-bg: #FDE8E7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(232, 62, 140, .25), 0 2px 6px rgba(23, 19, 27, .05);
  --shadow-soft: 0 4px 16px -6px rgba(23, 19, 27, .10);
  --gold-grad: linear-gradient(135deg, #F6E7C1 0%, #D6B16A 35%, #F3E2B8 55%, #B98F45 100%);
  --pink-grad: linear-gradient(135deg, #F06BA8 0%, #E83E8C 50%, #D12F7C 100%);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ivory); color: var(--onyx); }
body { font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; }
h1, h2, h3, .serif { font-family: var(--serif); letter-spacing: 0; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin: 0 0 .5rem; }
h2 { font-size: 1.6rem; margin: 0 0 .75rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
a { color: var(--pink-dark); }
p { margin: 0 0 .75rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.num { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 3px solid rgba(232, 62, 140, .45); outline-offset: 2px; border-radius: 6px; }

/* Boot */
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; color: var(--muted); }
.spinner { width: 42px; height: 42px; margin: 0 auto 1rem; border-radius: 50%; border: 4px solid var(--blush-2); border-top-color: var(--pink); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Gold text & shimmer */
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shimmer { position: relative; overflow: hidden; }
.shimmer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes shimmer { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.gold-rule { height: 3px; border: 0; border-radius: 3px; background: var(--gold-grad); margin: 1rem 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 .95rem var(--sans); padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn-primary { background: var(--pink-grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(232, 62, 140, .7); }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(232, 62, 140, .8); }
.btn-gold { background: var(--gold-grad); color: var(--onyx); box-shadow: 0 6px 16px -8px rgba(168, 131, 60, .8); }
.btn-outline { background: var(--white); color: var(--onyx); border-color: var(--line); }
.btn-outline:hover:not(:disabled) { border-color: var(--pink); color: var(--pink-dark); }
.btn-ghost { background: transparent; color: var(--muted); padding: .45rem .7rem; }
.btn-ghost:hover { color: var(--pink-dark); background: var(--blush); }
.btn-danger { background: var(--err); color: #fff; }
.btn-sm { padding: .4rem .8rem; font-size: .85rem; }
.icon-btn { border: 0; background: transparent; color: var(--muted); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: inline-grid; place-items: center; }
.icon-btn:hover { background: var(--blush); color: var(--pink-dark); }
.icon-btn.danger:hover { background: var(--err-bg); color: var(--err); }

/* Layout */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { background: rgba(255, 249, 244, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.topbar-inner { max-width: 1240px; margin: 0 auto; padding: .8rem 1.25rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--onyx); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--pink-grad); display: grid; place-items: center; color: #fff; font-size: 1.1rem; box-shadow: inset 0 0 0 2px rgba(214, 177, 106, .7); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.campaign-select { font: 500 .9rem var(--sans); padding: .5rem 2rem .5rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--onyx); max-width: 260px; }
.user-chip { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; font-weight: 700; color: var(--onyx); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tabs { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: thin; }
.tab { border: 0; background: transparent; font: 600 .9rem var(--sans); color: var(--muted); padding: .7rem 1rem; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; display: inline-flex; gap: .45rem; align-items: center; }
.tab:hover { color: var(--onyx); }
.tab[aria-selected="true"] { color: var(--onyx); border-image: var(--gold-grad) 1; border-bottom: 3px solid; }
.tab[aria-selected="true"] i { color: var(--pink); }
main.content { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 1.75rem 1.25rem 3rem; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head p { margin: 0; }
.eyebrow { font: 700 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-dark); margin-bottom: .35rem; display: inline-flex; gap: .4rem; align-items: center; }
.eyebrow::before { content: '✦'; color: var(--gold); }
footer.site-footer { text-align: center; padding: 1.5rem 1rem 2rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ivory), var(--blush)); }
footer.site-footer a { color: var(--muted); }

/* Cards */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid var(--line); padding: 1.35rem; }
.card-blush { background: var(--blush); border-color: var(--blush-2); }
.card-ivory { background: var(--ivory); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.offer-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stack > * + * { margin-top: 1rem; }
.section-title { display: flex; align-items: center; gap: .6rem; margin: 1.75rem 0 .8rem; }
.section-title h2 { margin: 0; font-size: 1.35rem; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font: 600 .72rem var(--sans); padding: .2rem .6rem; border-radius: 999px; background: var(--blush); color: var(--pink-dark); letter-spacing: .02em; }
.badge-gold { background: var(--gold-light); color: #6E5320; }
.badge-onyx { background: var(--onyx); color: #fff; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-muted { background: #F1ECEF; color: var(--muted); }

/* Metric tiles */
.metric { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; position: relative; box-shadow: var(--shadow-soft); }
.metric.highlight { background: var(--onyx); color: #fff; border-color: var(--onyx); }
.metric.highlight .metric-label, .metric.highlight .metric-sub { color: #E9DCE3; }
.metric.highlight .metric-value { color: #fff; }
.metric.highlight::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--gold-grad); }
.metric-label { font: 600 .78rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.metric-value { font: 700 1.6rem var(--sans); font-variant-numeric: tabular-nums; margin-top: .3rem; color: var(--onyx); }
.metric-value.unknown { color: var(--muted); font-size: 1.15rem; font-weight: 600; font-style: italic; }
.metric-value.negative { color: var(--err); }
.metric.highlight .metric-value.negative { color: #FFB4C8; }
.metric-sub { font-size: .8rem; color: var(--muted); margin-top: .2rem; }

/* Tooltip definitions */
.tip { position: relative; display: inline-flex; }
.tip-btn { border: 0; background: transparent; color: var(--gold-dark); cursor: help; padding: 0; font-size: .85rem; line-height: 1; }
.metric.highlight .tip-btn { color: var(--gold); }
.tip-body { position: absolute; z-index: 40; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: 260px; background: var(--onyx); color: #fff; font: 400 .8rem/1.45 var(--sans); text-transform: none; letter-spacing: 0; padding: .7rem .8rem; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .15s; pointer-events: none; }
.tip-body::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--onyx); }
.tip:hover .tip-body, .tip:focus-within .tip-body { opacity: 1; visibility: visible; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .75rem 1.5rem; margin: 0; }
.legend dt { font-weight: 700; font-size: .88rem; }
.legend dd { margin: .15rem 0 0; color: var(--muted); font-size: .85rem; }

/* Progress */
.progress { height: 10px; background: var(--blush); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--pink-grad); border-radius: 999px; transition: width .4s ease; }
.progress.gold > span { background: var(--gold-grad); }

/* Forms */
form .row { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.field label, .field .label { font: 600 .85rem var(--sans); color: var(--onyx); }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, select.input, textarea.input { font: 400 .95rem var(--sans); color: var(--onyx); background: var(--ivory); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .8rem; width: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.input:focus { outline: none; border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 4px rgba(232, 62, 140, .12); }
.input[aria-invalid="true"] { border-color: var(--err); }
textarea.input { min-height: 96px; resize: vertical; }
.input-group { position: relative; }
.input-group .prefix, .input-group .suffix { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.input-group .prefix { left: .8rem; }
.input-group .suffix { right: .8rem; }
.input-group .input.has-prefix { padding-left: 1.6rem; }
.input-group .input.has-suffix { padding-right: 1.8rem; }
.check { display: flex; gap: .55rem; align-items: flex-start; cursor: pointer; font-size: .92rem; }
.check input { width: 18px; height: 18px; accent-color: var(--pink); margin-top: .15rem; flex-shrink: 0; }
.seg { display: inline-flex; background: var(--blush); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: .45rem .9rem; border-radius: 999px; font: 600 .85rem var(--sans); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--onyx); color: #fff; }
.form-actions { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; margin-top: .5rem; }
.form-error { background: var(--err-bg); color: var(--err); border-radius: var(--radius-sm); padding: .65rem .85rem; font-size: .88rem; margin-bottom: .9rem; display: flex; gap: .5rem; }

/* Notices */
.notice { display: flex; gap: .7rem; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .88rem; align-items: flex-start; }
.notice i { margin-top: .2rem; }
.notice-info { background: var(--blush); color: var(--onyx); }
.notice-info i { color: var(--pink); }
.notice-gold { background: #FBF3E1; color: #5C451A; border: 1px solid var(--gold-light); }
.notice-gold i { color: var(--gold-dark); }
.notice-warn { background: var(--warn-bg); color: var(--warn); }
.notice-ok { background: var(--ok-bg); color: var(--ok); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th { text-align: left; font: 600 .75rem var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--ivory); padding: .7rem .85rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: .7rem .85rem; border-bottom: 1px solid #F5EAF0; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #FFFCFA; }
table.data .r { text-align: right; font-variant-numeric: tabular-nums; }
table.data tfoot td { font-weight: 700; background: var(--ivory); border-top: 2px solid var(--line); }
.unknown-cell { color: var(--muted); font-style: italic; }

/* Empty state */
.empty { text-align: center; padding: 2rem 1rem; }
.empty img { width: 170px; height: 170px; object-fit: cover; border-radius: 50%; border: 4px solid var(--white); box-shadow: var(--shadow); margin-bottom: 1rem; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 1rem; }

/* Welcome */
.welcome { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(1200px 600px at 100% 0%, var(--blush) 0%, transparent 60%), var(--ivory); }
.welcome-inner { flex: 1; max-width: 1180px; margin: 0 auto; padding: 2rem 1.25rem; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.welcome h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.tagline { font: 600 1.05rem var(--sans); color: var(--pink-dark); margin: 0 0 1rem; }
.welcome-lede { font-size: 1.1rem; color: #3A3039; max-width: 520px; }
.hero-art { position: relative; z-index: 0; }
.hero-art img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); border: 6px solid var(--white); display: block; }
.hero-art::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border-radius: 32px; background: var(--gold-grad); z-index: -1; opacity: .55; }
.feature-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.feature-list li { display: flex; gap: .6rem; align-items: center; }
.feature-list i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); color: var(--pink); font-size: .85rem; flex-shrink: 0; }
.sparkle { position: absolute; color: var(--gold); pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; font-size: 1.1rem; user-select: none; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }

/* Wizard */
.wizard { max-width: 860px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.5rem 0; list-style: none; padding: 0; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: .4rem; font: 600 .82rem var(--sans); color: var(--muted); }
.steps li::before { content: ''; height: 6px; border-radius: 6px; background: var(--blush-2); }
.steps li.done::before { background: var(--gold-grad); }
.steps li.current::before { background: var(--pink-grad); }
.steps li.current { color: var(--onyx); }
.review-list { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; font-size: .92rem; margin: 0; }
.review-list dt { color: var(--muted); }
.review-list dd { margin: 0; font-weight: 600; }

/* Offer card */
.offer-card { border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); padding: 1.2rem; box-shadow: var(--shadow-soft); position: relative; }
.offer-card.featured { border-color: var(--onyx); background: var(--onyx); color: #fff; }
.offer-card.featured .muted, .offer-card.featured .kv dt { color: #D8C9D2; }
.offer-card.featured .icon-btn { color: #E9DCE3; }
.offer-card.featured .icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.offer-card .price { font: 700 1.6rem var(--sans); font-variant-numeric: tabular-nums; }
.offer-card .was { text-decoration: line-through; color: var(--muted); font-size: .95rem; margin-left: .4rem; }
.offer-card.featured .was { color: #BBAAB4; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; font-size: .88rem; margin: .9rem 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Tasks */
.task-list { list-style: none; margin: 0; padding: 0; }
.task { display: flex; align-items: center; gap: .75rem; padding: .7rem .5rem; border-bottom: 1px solid #F5EAF0; }
.task:last-child { border-bottom: 0; }
.task input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--pink); flex-shrink: 0; cursor: pointer; }
.task .t-title { flex: 1; }
.task.done .t-title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); }
.task .t-actions { display: flex; gap: .1rem; opacity: .75; }
.task:hover .t-actions { opacity: 1; }
.task .t-edit { flex: 1; display: flex; gap: .5rem; flex-wrap: wrap; }

/* Prompt */
textarea.input.prompt-preview { min-height: 460px; }
.prompt-preview { font: 400 .85rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; min-height: 380px; background: var(--white); }

/* Report document */
.report-doc { background: #fff; max-width: 860px; margin: 0 auto; padding: 3rem 3.25rem; border-radius: 6px; box-shadow: 0 20px 50px -20px rgba(23,19,27,.25); border: 1px solid #EFE7EB; color: #1F1A22; }
.report-doc h1 { font-size: 2rem; }
.report-doc h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; padding-bottom: .35rem; border-bottom: 2px solid var(--gold-light); }
.report-doc table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.report-doc th, .report-doc td { padding: .45rem .5rem; border-bottom: 1px solid #EEE6EA; text-align: left; }
.report-doc td.r, .report-doc th.r { text-align: right; font-variant-numeric: tabular-nums; }
.report-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .85rem; }

/* Chart */
.chart-box { position: relative; height: 280px; }

/* Activity */
.activity { list-style: none; margin: 0; padding: 0; }
.activity li { display: flex; gap: .75rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.activity li:last-child { border-bottom: 0; }
.activity .dot { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--blush); color: var(--pink); display: grid; place-items: center; font-size: .75rem; }
.activity time { display: block; color: var(--muted); font-size: .78rem; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(23, 19, 27, .35); display: grid; place-items: center; z-index: 60; padding: 1rem; animation: fade .15s ease; }
.modal { background: var(--white); border-radius: 22px; width: 100%; max-width: 640px; max-height: calc(100vh - 2rem); overflow-y: auto; box-shadow: 0 30px 60px -20px rgba(23,19,27,.4); }
.modal-head { padding: 1.25rem 1.5rem .5rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--blush), var(--white)); border-radius: 22px 22px 0 0; }
.modal-body { padding: 1.25rem 1.5rem 1.5rem; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Toast */
#toast-region { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 80; display: flex; flex-direction: column; gap: .5rem; max-width: min(420px, calc(100vw - 2.5rem)); }
.toast + .toast { margin-top: 0; }
.toast { background: var(--onyx); color: #fff; padding: .8rem 1rem; border-radius: 14px; box-shadow: var(--shadow); display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; animation: fade .2s ease; border-left: 4px solid var(--gold); }
.toast.error { border-left-color: #FF7A9C; }
.toast i { margin-top: .15rem; color: var(--gold); }
.toast.error i { color: #FF7A9C; }

@media (max-width: 860px) {
  .welcome-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .report-doc { padding: 1.5rem; }
  .steps li span { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .shimmer::after { display: none; }
}
@media print {
  body { background: #fff; }
  .topbar, .tabs, footer.site-footer, .no-print, #toast-region { display: none !important; }
  main.content { padding: 0; max-width: none; }
  .report-doc { box-shadow: none; border: 0; padding: 0; max-width: none; }
}
@media (max-width: 860px) { #review-grid { grid-template-columns: 1fr !important; } .hide-sm { display: none; } }
/* Auth */
.auth-card { padding: 1.75rem; max-width: 460px; width: 100%; justify-self: center; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 1.5rem; }
.auth-art img { max-width: 520px; }
.pw-toggle { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); width: 34px; height: 34px; border-radius: 8px; cursor: pointer; }
.pw-toggle:hover { color: var(--pink-dark); background: var(--blush); }
.recovery-code { font: 700 1.45rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; text-align: center; padding: 1rem; border-radius: var(--radius-sm); background: var(--ivory); border: 2px dashed var(--gold); color: var(--onyx); user-select: all; word-break: break-all; }
@media (max-width: 860px) { .auth-art { display: none; } }
/* Admin & demo */
.admin-actions { display: grid; gap: .5rem; }
.admin-actions .btn { justify-content: flex-start; }
tr.row-suspended td { background: #FFF6F6; }
.demo-banner { align-items: center; flex-wrap: wrap; }
