/*
  YTC client dashboard. Tokens and sizes carried over from the old portal
  (Tax-Dashboard/artifacts/client-portal/src/index.css + Tailwind classes in
  Dashboard.tsx). No inline styles anywhere: the CSP forbids them.

  Brand palette
  bark #302c29 · mist #9c9792 · sage #989a84 · copper #a47046 · cream #eae7e3
*/

@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-display: swap; src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 300; font-display: swap; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/montserrat-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --background: hsl(30 13% 91%);
  --foreground: hsl(18 8% 17%);
  --border: hsl(30 6% 80%);
  --card: #ffffff;
  --card-border: hsl(30 6% 82%);
  --primary: hsl(25 41% 46%);
  --primary-hover: #8c5e39;
  --primary-foreground: hsl(30 13% 96%);
  --muted: hsl(30 6% 88%);
  --muted-foreground: hsl(18 4% 38%);
  --destructive: hsl(0 70% 45%);

  --savings-green: #3f6b3a;
  --copper: #a47046;
  --copper-text: #7c5330;
  --copper-dark-text: #5c3d20;
  --copper-tint-10: rgb(164 112 70 / 0.10);
  --copper-tint-15: rgb(164 112 70 / 0.15);
  --copper-tint-30: rgb(164 112 70 / 0.30);
  --cream-callout: #f5ece3;
  --cream-callout-border: #e6d6c1;
  --sage: #989a84;
  --sage-tint: rgb(152 154 132 / 0.25);
  --sage-text: #3d4226;
  --missed-dot: #d8b9a3;

  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --radius-2xl: 1rem;
  --radius-xl: 0.75rem;
  --radius-lg: 0.75rem;
  --radius-md: 0.625rem;
}

*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--font-serif); letter-spacing: -0.01em; font-weight: 400; margin: 0; }
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; }
img, svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.stack-12 > * + * { margin-top: 3rem; }
.stack-10 > * + * { margin-top: 2.5rem; }
.stack-6 > * + * { margin-top: 1.5rem; }
.stack-5 > * + * { margin-top: 1.25rem; }
.stack-4 > * + * { margin-top: 1rem; }
.stack-3 > * + * { margin-top: 0.75rem; }
.stack-2 > * + * { margin-top: 0.5rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-gap-4 { gap: 1rem; }
.grid-quarters { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .md-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-quarters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.site-header {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.header-left, .header-right { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.logo { height: 3.5rem; width: auto; }
.logo-sm { height: 2.5rem; width: auto; }
.page-main { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-main.with-nav { padding-bottom: 8.5rem; }

/* ---------- Text ---------- */

.eyebrow { font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); }
.eyebrow-11 { font-size: 11px; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); }
.label-11 { font-size: 11px; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--muted-foreground); }
.label-11-tight { font-size: 11px; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.label-10 { font-size: 10px; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted-foreground); }
.muted { color: var(--muted-foreground); }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-11 { font-size: 11px; line-height: 1.375; }
.text-10 { font-size: 10px; line-height: 1rem; }
.italic { font-style: italic; }
.medium { font-weight: 500; }
.semibold { font-weight: 600; }
.serif { font-family: var(--font-serif); }
.nums { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.snug { line-height: 1.375; }
.relaxed { line-height: 1.625; }
.fg-85 { color: rgb(47 42 40 / 0.85); }
.fg-80 { color: rgb(47 42 40 / 0.8); }
.fg-75 { color: rgb(47 42 40 / 0.75); }
.green { color: var(--savings-green); }
.copper { color: var(--copper); }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-md { max-width: 28rem; }

.h1-hero { font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 0.5rem; }
.h2-section { font-size: 1.875rem; line-height: 2.25rem; }
.serif-4xl { font-family: var(--font-serif); font-size: 2.25rem; line-height: 2.5rem; }
.serif-2xl { font-family: var(--font-serif); font-size: 1.5rem; line-height: 2rem; }
.serif-xl { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.75rem; }
.serif-lg { font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.75rem; }
@media (min-width: 768px) {
  .h1-hero { font-size: 3rem; line-height: 1; }
}

/* ---------- Cards ---------- */

.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-2xl); padding: 1.5rem; }
.card-5 { padding: 1.25rem; }
.card-10 { padding: 2.5rem; }
.card-flush { padding: 0; overflow: hidden; }
.divider-top { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgb(207 204 201 / 0.7); }
.row-between { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.row-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }

.kpi-value { font-family: var(--font-serif); font-weight: 700; font-size: 2.25rem; line-height: 1; letter-spacing: -0.025em; color: var(--savings-green); }
.kpi-value-lg { font-family: var(--font-serif); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -0.025em; color: var(--savings-green); }
@media (min-width: 768px) {
  .kpi-value { font-size: 3rem; }
  .kpi-value-lg { font-size: 3.75rem; }
}

.pill { display: inline-block; font-size: 11px; line-height: 1rem; padding: 0.25rem 0.625rem; border-radius: 9999px; white-space: nowrap; }
.pill-sage { background: var(--sage-tint); color: var(--sage-text); }
.pill-primary { background: rgb(165 109 69 / 0.1); color: var(--primary); }
.chip-pending { display: inline-block; margin-left: 0.5rem; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; padding: 0.125rem 0.5rem; border-radius: 9999px; background: var(--muted); color: var(--muted-foreground); vertical-align: middle; }
.chip-sample { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; padding: 0.25rem 0.625rem; border-radius: 9999px; background: var(--copper-tint-15); color: var(--copper-dark-text); }

.dot { margin-top: 0.5rem; width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--primary); flex-shrink: 0; }
.dot-missed { background: var(--missed-dot); }

/* ---------- Program switcher (prospects) ---------- */

.program-card { padding: 1.25rem 1.5rem; }
.program-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.program-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 9999px; padding: 0.1875rem; gap: 0.125rem; }
.program-switch a { padding: 0.375rem 0.875rem; border-radius: 9999px; font-size: 0.8125rem; font-weight: 500; color: var(--muted-foreground); transition: background 0.15s, color 0.15s; }
.program-switch a:hover { color: var(--foreground); background: var(--muted); }
.program-switch a[aria-current="true"] { background: var(--primary); color: var(--primary-foreground); }
.cap-note { padding: 0.5rem 1.5rem; font-size: 0.75rem; font-style: italic; color: var(--muted-foreground); background: rgb(226 224 223 / 0.4); }

/* ---------- Year cards ---------- */

.year-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.5rem; }
.year-head .label-11 { letter-spacing: 0.22em; font-weight: 500; color: inherit; }
.year-filed { background: var(--sage-tint); color: var(--sage-text); }
.year-estimated { background: var(--copper-tint-15); color: var(--copper-dark-text); }
.year-projected { background: var(--muted); color: var(--muted-foreground); }
.year-rows > li { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; }
.year-rows > li + li { border-top: 1px solid rgb(207 204 201 / 0.6); }
.strategy { display: flex; align-items: flex-start; gap: 0.75rem; min-width: 0; }

/* ---------- Missed opportunities ---------- */

.missed-amounts { text-align: right; flex-shrink: 0; width: 7rem; }
.missed-savings { font-size: 0.875rem; font-weight: 500; color: var(--copper); line-height: 1.375; }
.missed-networth { margin-top: 0.375rem; padding-top: 0.375rem; border-top: 1px solid var(--card-border); font-size: 0.875rem; font-weight: 500; color: var(--sage); line-height: 1.375; }
.risk-badge { display: inline-block; border: 1px solid #fca5a5; background: #fef2f2; color: #b91c1c; border-radius: 9999px; padding: 0.25rem 0.625rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; }

/* ---------- Basis ---------- */

.basis-name { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--copper); margin-bottom: 1rem; }
.callout { margin-top: 1rem; font-size: 0.875rem; line-height: 1.375; color: rgb(47 42 40 / 0.85); background: var(--cream-callout); border: 1px solid var(--cream-callout-border); border-radius: var(--radius-lg); padding: 0.75rem 1rem; }
.cta-pill { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 500; color: var(--background); background: var(--copper); transition: opacity 0.15s; }
.cta-pill:hover { opacity: 0.9; }

/* ---------- Quarterly ---------- */

.note-box { font-size: 0.875rem; font-style: italic; color: var(--muted-foreground); background: rgb(226 224 223 / 0.5); border-radius: var(--radius-lg); padding: 0.75rem 1rem; margin-bottom: 1rem; }
.quarter { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 1.25rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.quarter-paid, .quarter-missed { border-color: rgb(207 204 201 / 0.6); opacity: 0.7; }
.quarter-due_now { border-color: rgb(165 109 69 / 0.7); }
.quarter-amount { font-family: var(--font-serif); font-size: 1.5rem; line-height: 2rem; font-variant-numeric: tabular-nums; }
.quarter-fullpay { margin-top: 0.25rem; font-size: 0.75rem; color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.status-pill { display: inline-block; margin-top: 0.75rem; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; padding: 0.125rem 0.5rem; border-radius: 0.25rem; background: var(--muted); color: var(--muted-foreground); }
.status-missed { background: rgb(195 34 34 / 0.1); color: var(--destructive); }
.status-due_now { background: rgb(165 109 69 / 0.15); color: var(--primary); }
.pay-link { margin-top: 0.5rem; display: inline-block; font-size: 11px; font-weight: 500; color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.pay-link:hover { opacity: 0.8; }

/* ---------- Net worth ---------- */

.nw-card { display: flex; flex-direction: column; }
.nw-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem; }
.nw-row span:first-child { color: rgb(47 42 40 / 0.8); line-height: 1.375; }
.nw-row span:last-child { white-space: nowrap; }
.boost { margin-top: 1rem; border-radius: var(--radius-xl); background: var(--copper-tint-10); border: 1px solid var(--copper-tint-30); padding: 1rem; color: var(--copper-text); }
.boost-items { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgb(164 112 70 / 0.2); }
.boost-items > * + * { margin-top: 0.375rem; }
.boost-total { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--copper-tint-30); display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.boost-total .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; }
.disclosures ul { list-style: disc; padding-left: 1rem; }
.disclosures li + li { margin-top: 0.375rem; }
.disclosure-divider { padding-top: 1rem; border-top: 1px solid rgb(207 204 201 / 0.7); }
.plan-row { display: flex; align-items: baseline; justify-content: space-between; font-size: 0.875rem; }
.plan-row span:first-child { color: var(--muted-foreground); }
.plan-row span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; }
.stack-bar { border-radius: var(--radius-xl); background: var(--foreground); color: var(--background); padding: 0.75rem 1.25rem; }
.stack-bar .eyebrow-sub { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: rgb(235 232 229 / 0.6); margin-top: 0.125rem; }
.combined { background: var(--cream-callout); border: 1px solid var(--cream-callout-border); border-radius: var(--radius-2xl); padding: 1.5rem; text-align: center; }

/* ---------- Goal timeline ---------- */

.timeline > li { position: relative; padding-left: 2.25rem; }
.timeline > li + li { margin-top: 1.5rem; }
.timeline-line { position: absolute; left: 10px; top: 1.25rem; bottom: -1.5rem; width: 1px; background: var(--border); }
.timeline-dot { position: absolute; left: 0; top: 0.25rem; width: 22px; height: 22px; border-radius: 9999px; border: 2px solid var(--border); background: var(--card); }
.timeline-dot.filled { background: var(--primary); border-color: var(--primary); }
.timeline-period { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--primary); margin-bottom: 0.25rem; }

/* ---------- Footer ---------- */

.footer-note { font-size: 0.75rem; color: var(--muted-foreground); padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; }
.footer-meta { font-size: 10px; color: rgb(101 95 93 / 0.7); text-align: center; }

/* ---------- Bottom nav ---------- */

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  border-top: 1px solid var(--border);
  background: rgb(235 232 229 / 0.95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.bottom-nav .container { padding: 0 0.5rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.625rem 0; font-size: 11px; line-height: 1.25; text-align: center; color: var(--muted-foreground); transition: color 0.15s; }
.bottom-nav a:hover { color: var(--foreground); }
.bottom-nav a[aria-current="page"] { color: var(--primary); }
.bottom-nav svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.75; }
.bottom-nav a[aria-current="page"] svg { stroke-width: 2.25; }

/* ---------- Buttons and forms ---------- */

.btn { display: inline-block; padding: 0.375rem 0.75rem; border-radius: var(--radius-md); border: 1px solid var(--border); font-weight: 500; font-size: 0.875rem; transition: background 0.15s; }
.btn:hover { background: var(--muted); }
.btn-quiet { font-size: 0.75rem; color: var(--muted-foreground); border-color: transparent; }
.btn-quiet:hover { color: var(--foreground); background: var(--muted); }
.btn-primary-pill { display: inline-block; padding: 1rem 2.5rem; border-radius: 9999px; background: var(--primary); color: var(--primary-foreground); font-weight: 500; letter-spacing: 0.3em; font-size: 0.875rem; text-transform: uppercase; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); transition: background 0.15s; }
.btn-primary-pill:hover { background: var(--primary-hover); }
.btn-primary { display: inline-block; padding: 0.5rem 1rem; border-radius: var(--radius-md); background: var(--primary); color: var(--primary-foreground); font-size: 0.875rem; font-weight: 500; }
.btn-primary:hover { background: var(--primary-hover); }
.input { width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); font-size: 1rem; }
.input:focus, .btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pin-input { text-align: center; letter-spacing: 0.5em; font-size: 1.5rem; max-width: 14rem; margin: 0 auto; display: block; }
.error-box { font-size: 0.875rem; color: var(--copper-dark-text); background: var(--copper-tint-15); border-radius: var(--radius-lg); padding: 0.75rem 1rem; }

/* ---------- Centered screens (sign-in, PIN, errors) ---------- */

.center-screen { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.center-card { width: 100%; max-width: 28rem; background: var(--card); border: 1px solid #e3ddd4; border-radius: var(--radius-2xl); padding: 2.5rem 2rem; text-align: center; box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.center-card .logo-sm { margin: 0 auto 1.5rem; }

/* ---------- Client picker ---------- */

.picker-search { max-width: 28rem; }
label.label-11 { display: block; }
.client-list > li + li { border-top: 1px solid rgb(207 204 201 / 0.6); }
.client-list form { margin: 0; }
.client-row { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.875rem 1.5rem; text-align: left; transition: background 0.15s; }
.client-row:hover { background: rgb(226 224 223 / 0.5); }
.client-row .name { font-weight: 500; }
.client-row .coach { font-size: 0.75rem; color: var(--muted-foreground); }
.client-list li[hidden] { display: none; }
.client-list > li { display: flex; align-items: stretch; }
.client-list > li > form { flex: 1; min-width: 0; }
.row-edit { display: flex; align-items: center; padding: 0 1.25rem; font-size: 0.75rem; color: var(--muted-foreground); border-left: 1px solid rgb(207 204 201 / 0.6); }
.row-edit:hover { color: var(--foreground); background: rgb(226 224 223 / 0.5); }
.picker-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---------- Staff editor ---------- */

.editor-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.editor-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.editor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.editor-grid label, label.stack-2 { display: block; font-size: 0.875rem; font-weight: 500; }
.editor-grid .input, label.stack-2 .input { margin-top: 0.375rem; font-weight: 400; }
.editor-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.editor-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); font-weight: 500; padding: 0.5rem; border-bottom: 1px solid var(--border); }
.editor-table td { padding: 0.375rem 0.5rem; border-bottom: 1px solid rgb(207 204 201 / 0.4); vertical-align: middle; }
.editor-table .input { padding: 0.375rem 0.5rem; font-size: 0.875rem; }
.diff-table td { word-break: break-word; }
.diff-old { color: var(--muted-foreground); text-decoration: line-through; }
.diff-new { font-weight: 500; }
.problem-list { list-style: disc; padding-left: 1.25rem; font-size: 0.875rem; color: var(--copper-dark-text); }
.problem-list li + li { margin-top: 0.375rem; }
.warning-row { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.875rem; padding: 0.625rem 0.875rem; border-radius: var(--radius-md); background: var(--copper-tint-15); }
.warning-row input { margin-top: 0.2rem; }
.success-box { font-size: 0.875rem; background: var(--muted); border-radius: var(--radius-lg); padding: 0.75rem 1rem; margin-top: 1rem; }
.preview-banner { position: sticky; top: 0; z-index: 50; background: var(--foreground); color: var(--background); font-size: 0.875rem; }
.preview-banner .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.preview-banner .btn-quiet { color: var(--background); }
.preview-banner .btn-quiet:hover { color: var(--foreground); }
@media (max-width: 640px) { .editor-table { display: block; overflow-x: auto; } }
.basis-total { border-top: 1px solid rgb(207 204 201 / 0.7); padding-top: 0.5rem; }
.basis-total span:first-child { color: var(--foreground); font-weight: 500; }
