/* Claraxis — interactive tools (Assessment + Ask) and printable brief */

.tool-page { padding: clamp(56px, 9vw, 104px) 0 var(--section); }
.tool-page h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6.4vw, 72px); line-height: 1.06; letter-spacing: -0.015em;
  max-width: 860px; margin-bottom: 24px;
}
.tool-page .lead { margin-bottom: 40px; }
[hidden] { display: none !important; }

.meta-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; color: var(--text-muted); font-size: 14px; }
.meta-row span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--gold); margin-right: 10px; vertical-align: middle; }

.dim-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 64px; }
.dim-list div { background: var(--navy); padding: 22px 20px; }
.dim-list strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.dim-list span { font-size: 13px; color: var(--text-muted); line-height: 1.5; display: block; }

/* ---------- Quiz ---------- */
.quiz { max-width: 820px; }
.progress-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; letter-spacing: .02em; }
.progress-meta .dim-tag { color: var(--gold); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.progress { height: 3px; background: var(--line); margin-bottom: clamp(40px, 6vw, 64px); }
.progress-bar { height: 100%; width: 0; background: var(--gold); transition: width .35s ease; }
.q-text { font-family: var(--serif); font-size: clamp(28px, 3.8vw, 42px); line-height: 1.18; font-weight: 500; margin-bottom: 36px; }
.options { display: grid; gap: 12px; }
.option {
  display: flex; gap: 18px; align-items: flex-start; text-align: left; width: 100%;
  background: var(--navy-2); border: 1px solid var(--line); color: var(--white);
  padding: 20px 22px; font: inherit; font-size: 16px; line-height: 1.5; cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.option:hover { border-color: var(--line-gold); background: var(--navy-3); }
.option.selected { border-color: var(--gold); background: var(--navy-3); }
.option .key {
  flex: none; width: 28px; height: 28px; border: 1px solid var(--line-gold); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.option.selected .key { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; gap: 16px; }
.btn-ghost { background: none; border: 0; color: var(--text-muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 10px 0; }
.btn-ghost:hover:not(:disabled) { color: var(--white); }
.btn-ghost:disabled { opacity: .35; cursor: default; }
.hint { font-size: 13px; color: var(--text-muted); }

/* ---------- Results ---------- */
.results-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-bottom: clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.gauge { width: clamp(180px, 24vw, 230px); aspect-ratio: 1; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { stroke: var(--line); }
.gauge .fill { stroke: var(--gold); transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1); }
.gauge-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-num strong { font-family: var(--serif); font-size: clamp(56px, 7vw, 72px); font-weight: 500; line-height: 1; }
.gauge-num span { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.band-label { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; font-weight: 500; margin-bottom: 16px; }
.band-label em { font-style: normal; color: var(--gold); }
.band-desc { color: var(--text-muted); font-size: 17px; max-width: 600px; }
.band-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 28px; max-width: 520px; }
.band-scale div { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding-top: 10px; border-top: 3px solid var(--line); }
.band-scale div.on { color: var(--gold); border-top-color: var(--gold); }

.r-block { padding: clamp(56px, 8vw, 88px) 0; border-bottom: 1px solid var(--line); }
.r-block:last-child { border-bottom: 0; }
.r-title { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 42px); line-height: 1.15; font-weight: 500; margin-bottom: 12px; }
.r-sub { color: var(--text-muted); margin-bottom: 40px; max-width: 640px; }

.fp-row { display: grid; grid-template-columns: 180px 1fr 52px; gap: 20px; align-items: center; padding: 14px 0; }
.fp-name { font-size: 15px; font-weight: 500; }
.fp-track { position: relative; height: 10px; background: var(--line); }
.fp-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.fp-fill.low { background: #a7834a; opacity: .8; }
.fp-bench { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--white); }
.fp-val { font-family: var(--serif); font-size: 24px; text-align: right; }
.fp-legend { display: flex; gap: 28px; margin-top: 20px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.fp-legend i { display: inline-block; vertical-align: middle; margin-right: 8px; }
.fp-legend .l-you { width: 18px; height: 8px; background: var(--gold); }
.fp-legend .l-bench { width: 2px; height: 14px; background: var(--white); }
.fineprint { font-size: 13px; color: var(--text-muted); margin-top: 12px; max-width: 680px; }

.diag-list { display: grid; gap: 20px; }
.diag { display: grid; grid-template-columns: 72px 1fr; gap: 24px; background: var(--navy-2); border: 1px solid var(--line); padding: 32px; }
.diag-rank { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--gold); }
.diag h3 { font-size: 20px; margin-bottom: 4px; }
.diag .diag-score { font-size: 13px; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; display: block; }
.diag p { color: var(--text-muted); }

.plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-col { border-top: 2px solid var(--gold); padding-top: 24px; }
.plan-col .eyebrow { margin-bottom: 8px; }
.plan-col .eyebrow::before { display: none; }
.plan-col h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 20px; }
.plan-col ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.plan-col li { font-size: 15px; color: var(--text-muted); padding-left: 16px; border-left: 1px solid var(--line-gold); }
.plan-col li b { display: block; color: var(--white); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--text-muted); letter-spacing: .02em; }
.field input {
  background: var(--navy); border: 1px solid rgba(255,255,255,.22); color: var(--white);
  font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 2px; width: 100%;
}
.field input:focus { outline: none; border-color: var(--gold); }
.field input[aria-invalid="true"] { border-color: #e08a7a; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; align-items: center; }
.form-msg { font-size: 14px; color: var(--text-muted); margin-top: 16px; min-height: 1.5em; }
.form-msg.err { color: #f0a493; }
.form-msg.ok { color: var(--gold); }
.oee-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 16px; align-items: end; }
.oee-out { margin-top: 32px; background: var(--navy-2); border: 1px solid var(--line); padding: 32px; }
.oee-out .big { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--gold); }
.oee-scale { position: relative; height: 8px; background: var(--line); margin: 28px 0 36px; }
.oee-scale .mark { position: absolute; top: -6px; width: 2px; height: 20px; background: rgba(255,255,255,.5); }
.oee-scale .mark span { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.oee-scale .you { position: absolute; top: -8px; width: 14px; height: 24px; background: var(--gold); transform: translateX(-50%); }
.oee-out p { color: var(--text-muted); }
.capture { background: var(--navy-2); border: 1px solid var(--line-gold); padding: clamp(28px, 5vw, 56px); }

details.optional summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.optional summary::-webkit-details-marker { display: none; }
details.optional summary::after { content: "+"; font-size: 28px; color: var(--gold); line-height: 1; }
details.optional[open] summary::after { content: "–"; }
details.optional summary .r-title { margin-bottom: 4px; }

/* ---------- Chat (Ask) ---------- */
.chat-shell {
  max-width: 860px; margin: 0 auto; background: var(--navy-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; height: min(78vh, 760px); min-height: 520px;
}
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.chat-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.chat-avatar { flex: none; width: 40px; height: 40px; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; }
.chat-id strong { display: block; font-size: 15px; }
.chat-id span { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.chat-id span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fbf8e; }
.chat-log { flex: 1; overflow-y: auto; padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; scroll-behavior: smooth; }
.msg { max-width: 82%; padding: 14px 18px; font-size: 15.5px; line-height: 1.6; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: 10px; }
.msg ul { margin: 8px 0 0; padding-left: 18px; }
.msg li { margin: 4px 0; }
.msg a { color: var(--gold); }
.msg.bot { align-self: flex-start; background: var(--navy); border: 1px solid var(--line); }
.msg.user { align-self: flex-end; background: var(--gold); color: var(--navy); font-weight: 500; }
.msg.typing { color: var(--text-muted); }
.typing-dots { display: inline-flex; gap: 4px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: blink 1.2s infinite both; }
.typing-dots i:nth-child(2) { animation-delay: .2s; }
.typing-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 100%; }
.chip {
  background: none; border: 1px solid var(--line-gold); color: var(--white); font: inherit; font-size: 14px;
  padding: 9px 14px; cursor: pointer; border-radius: 2px; text-align: left; transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: var(--gold); background: rgba(200,162,75,.08); }
.chip.primary { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 600; }
.chip:disabled { opacity: .4; cursor: default; }
.chat-form { display: flex; gap: 10px; padding: 16px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; background: var(--navy); border: 1px solid rgba(255,255,255,.22); color: var(--white); font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 2px; }
.chat-form input:focus { outline: none; border-color: var(--gold); }
.fit-card { align-self: stretch; background: var(--navy); border: 1px solid var(--line-gold); padding: 24px; }
.fit-card h4 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0 0 6px; }
.fit-card .fit-level { color: var(--gold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.fit-bars { display: grid; gap: 10px; margin: 18px 0 20px; }
.fit-bar { display: grid; grid-template-columns: 130px 1fr 36px; gap: 12px; align-items: center; font-size: 13px; color: var(--text-muted); }
.fit-bar .t { height: 6px; background: var(--line); position: relative; }
.fit-bar .t i { position: absolute; inset: 0 auto 0 0; background: var(--gold); }
.fit-card .btn-row { gap: 10px; }
.ask-note { max-width: 860px; margin: 20px auto 0; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ---------- Printable brief (hidden on screen) ---------- */
.brief { display: none; }

@media print {
  @page { size: letter; margin: 0.6in; }
  html, body { background: #fff !important; color: #0a1c34 !important; }
  body > *:not(.brief) { display: none !important; }
  .brief { display: block !important; font-family: var(--sans); font-size: 10.5pt; line-height: 1.5; color: #0a1c34; }
  .brief * { color: #0a1c34; }
  .brief .b-top { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid #c8a24b; padding-bottom: 10pt; margin-bottom: 18pt; }
  .brief .b-mark { font-size: 10pt; letter-spacing: .3em; font-weight: 600; }
  .brief .b-mark span, .brief .gold { color: #9c7a2c; }
  .brief .b-meta { font-size: 9pt; text-align: right; color: #44546b; }
  .brief h1 { font-family: var(--serif); font-size: 26pt; line-height: 1.1; font-weight: 600; margin: 0 0 6pt; }
  .brief h2 { font-family: var(--serif); font-size: 15pt; font-weight: 600; margin: 18pt 0 6pt; padding-bottom: 3pt; border-bottom: 1px solid #d8dde5; break-after: avoid; }
  .brief h3 { font-size: 10.5pt; margin: 8pt 0 2pt; }
  .brief p { margin: 0 0 6pt; }
  .brief .b-score { display: flex; gap: 18pt; align-items: center; margin: 10pt 0 6pt; }
  .brief .b-score .n { font-family: var(--serif); font-size: 40pt; line-height: 1; font-weight: 600; color: #9c7a2c; }
  .brief table { width: 100%; border-collapse: collapse; margin: 4pt 0; }
  .brief td, .brief th { text-align: left; padding: 4pt 6pt; border-bottom: 1px solid #e3e7ee; font-size: 9.5pt; vertical-align: top; }
  .brief th { font-size: 8pt; letter-spacing: .12em; text-transform: uppercase; color: #44546b; }
  .brief .bar { height: 6pt; background: #e8ebf0; position: relative; width: 100%; min-width: 120pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .brief .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #c8a24b; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .brief .bar b { position: absolute; top: -2pt; bottom: -2pt; width: 1.5pt; background: #0a1c34; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .brief .plan-b { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12pt; }
  .brief .plan-b > div { border-top: 2px solid #c8a24b; padding-top: 6pt; break-inside: avoid; }
  .brief ul, .brief ol { margin: 0 0 6pt; padding-left: 14pt; }
  .brief li { margin-bottom: 3pt; }
  .brief .avoid { break-inside: avoid; }
  .brief .b-foot { margin-top: 20pt; padding-top: 8pt; border-top: 1px solid #d8dde5; font-size: 8.5pt; color: #44546b; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .dim-list { grid-template-columns: repeat(2, 1fr); }
  .dim-list div:last-child { grid-column: span 2; }
  .plan { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .oee-grid { grid-template-columns: repeat(3, 1fr); }
  .oee-grid .btn { grid-column: span 3; }
}
@media (max-width: 680px) {
  .hint { display: none; }
  .results-head { grid-template-columns: 1fr; justify-items: start; }
  .fp-row { grid-template-columns: 1fr 44px; gap: 8px 14px; }
  .fp-name { grid-column: 1 / -1; }
  .diag { grid-template-columns: 1fr; gap: 8px; padding: 26px 22px; }
  .diag-rank { font-size: 36px; }
  .oee-grid { grid-template-columns: 1fr; }
  .oee-grid .btn { grid-column: auto; }
  .chat-shell { height: calc(100svh - 150px); min-height: 460px; margin: 0 calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
  .chat-head { padding: 14px 16px; }
  .chat-head .btn { padding: 10px 14px; font-size: 13px; }
  .chat-id span { display: none; }
  .chat-log { padding: 20px 16px; }
  .msg { max-width: 92%; }
  .fit-bar { grid-template-columns: 100px 1fr 30px; }
}
@media (max-width: 520px) {
  .dim-list { grid-template-columns: 1fr; }
  .dim-list div:last-child { grid-column: auto; }
  .band-scale div { font-size: 9px; letter-spacing: .08em; }
}

/* Utilities + Ask page layout */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.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; }
.gold-text { color: var(--gold); font-family: var(--sans); font-size: .42em; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; vertical-align: middle; }
.ask-page { padding-top: clamp(40px, 6vw, 72px); }
.ask-intro { max-width: 860px; margin: 0 auto clamp(32px, 5vw, 48px); }
.ask-page h1 { font-size: clamp(34px, 5vw, 56px); }
.ask-page .lead { margin-bottom: 0; }
.fit-card .field { margin-bottom: 16px; max-width: 360px; }
.fit-card .field input { padding: 11px 14px; font-size: 15px; }
.fit-card p { color: var(--text-muted); font-size: 15px; }
@media (max-width: 680px) {
  .ask-intro .lead { font-size: 16px; }
}

/* ---------- FDA Watch ---------- */
.fda-intro { max-width: 860px; margin-bottom: clamp(36px, 5vw, 56px); }
.fda-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 56px); }
.fda-tab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-muted); font: inherit; font-size: 15px; font-weight: 600; padding: 14px 4px; margin-right: 24px; margin-bottom: -1px; cursor: pointer; transition: color .2s, border-color .2s; }
.fda-tab:hover { color: var(--white); }
.fda-tab[aria-selected="true"] { color: var(--white); border-bottom-color: var(--gold); }
.fda-updated { margin-left: auto; font-size: 13px; color: var(--text-muted); padding: 14px 0; }
.fda-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-bottom: clamp(48px, 7vw, 80px); }
.fda-stats .stat { padding: 4px 28px; border-left: 1px solid var(--line-gold); }
.fda-stats .stat:first-child { padding-left: 0; border-left: 0; }
.fda-stats .stat-num { font-size: clamp(40px, 4.4vw, 54px); }
.fda-block { margin-bottom: clamp(56px, 8vw, 88px); }
.fda-block-head { margin-bottom: 28px; }
.fda-block-head .r-sub { margin-bottom: 0; }
.fda-rank { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fda-rank li { display: grid; grid-template-columns: 48px 1fr 90px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rank-n { font-family: var(--serif); font-size: 26px; color: var(--gold); }
.rank-text { font-size: 16px; font-weight: 500; }
.rank-cfr { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.rank-bar { height: 4px; background: var(--line); margin-top: 10px; max-width: 520px; }
.rank-bar i { display: block; height: 100%; background: var(--gold); }
.rank-count { font-family: var(--serif); font-size: 28px; text-align: right; line-height: 1; }
.rank-count small { display: block; font-family: var(--sans); font-size: 11px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.fda-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.fda-two.single { grid-template-columns: 1fr; }
.fda-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fda-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.li-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.li-main strong { font-size: 15.5px; font-weight: 600; }
.li-main strong a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line-gold); }
.li-main strong a:hover { color: var(--gold); }
.li-main span { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.li-main em { font-style: normal; opacity: .75; }
.li-meta { font-size: 12.5px !important; }
.fda-list time { flex: none; font-size: 13px; color: var(--text-muted); white-space: nowrap; padding-top: 2px; }
.badge { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; margin-right: 8px; border-radius: 2px; vertical-align: 1px; }
.badge.c1 { background: rgba(224, 122, 106, .18); color: #f0a493; }
.badge.c2 { background: rgba(200, 162, 75, .18); color: var(--gold); }
.badge.c3 { background: rgba(255, 255, 255, .1); color: var(--text-muted); }
.fda-loading { display: grid; gap: 14px; margin-bottom: 64px; }
.skel { height: 64px; background: linear-gradient(90deg, var(--navy-2), var(--navy-3), var(--navy-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.skel.short { width: 60%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.fda-error { background: var(--navy-2); border: 1px solid var(--line); padding: 28px; margin-bottom: 64px; color: var(--text-muted); }
.fda-error a, .fda-sources a { color: var(--gold); }
.fda-cta { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; background: var(--navy-2); border: 1px solid var(--line-gold); padding: clamp(28px, 5vw, 56px); margin: clamp(24px, 4vw, 40px) 0 clamp(56px, 8vw, 88px); }
.fda-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin-bottom: 12px; }
.fda-cta p:not(.eyebrow) { color: var(--text-muted); max-width: 560px; }
.fda-sources { max-width: 820px; }
.fda-sources h2 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.fda-sources p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
@media (max-width: 860px) {
  .fda-two { grid-template-columns: 1fr; }
  .fda-cta { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 560px) {
  .fda-stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .fda-stats .stat { padding: 0 0 0 16px; border-left: 1px solid var(--line-gold); }
  .fda-stats .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fda-rank li { grid-template-columns: 34px 1fr; gap: 6px 12px; }
  .rank-count { grid-column: 2; text-align: left; font-size: 20px; }
  .rank-count small { display: inline; margin-left: 6px; }
  .fda-list li { flex-direction: column; gap: 6px; }
  .fda-updated { margin-left: 0; width: 100%; padding-top: 0; }
}

/* ---------- FDA Watch v2 (CPG edition) ---------- */
.fda-intro { margin-bottom: clamp(48px, 7vw, 80px); }
.curator { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.curator-mark { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 22px; }
.curator strong { display: block; font-size: 15px; }
.curator span { font-size: 13.5px; color: var(--text-muted); }
.curator a { color: var(--gold); }
.curator .fda-updated { margin-left: auto; padding: 0; }

.water { position: relative; background: var(--navy-2); border: 1px solid var(--line-gold); padding: clamp(28px, 5vw, 64px); margin-bottom: clamp(64px, 9vw, 112px); }
.water::before { content: ""; position: absolute; top: -1px; left: -1px; width: 96px; height: 3px; background: var(--gold); }
.water-head { max-width: 860px; margin-bottom: clamp(32px, 5vw, 48px); }
.water-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; margin-bottom: 18px; }
.water-lede { color: var(--text-muted); font-size: 17px; }
.water-lede q { color: var(--white); }
.water-lede a { color: var(--gold); }
.water-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.water-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 28px; }
.water-stats .stat { padding: 0; border: 0; }
.water-stats .stat-num { font-size: clamp(44px, 5vw, 60px); }
.mini-chart { margin-bottom: 32px; max-width: 460px; }
.mini-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.sub-h { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 8px 0 14px; }
#water-483 .sub-h { margin-top: 36px; }
.muted-li { color: var(--text-muted); font-size: 14px; display: block !important; }
.li-quote { font-style: italic; opacity: .85; }
.badge.org { background: rgba(120, 180, 220, .14); color: #a9d0ea; font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 600; }
.water-side { position: sticky; top: 100px; background: var(--navy); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); }
.water-side h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin-bottom: 20px; }
.checklist { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: ck; display: grid; gap: 14px; }
.checklist li { counter-increment: ck; position: relative; padding-left: 40px; font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
.checklist li::before { content: counter(ck, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--serif); font-size: 20px; color: var(--gold); line-height: 1.1; }
.checklist b { color: var(--white); font-weight: 600; }
.operator-note { border-top: 1px solid var(--line-gold); padding-top: 22px; }
.operator-note .eyebrow { margin-bottom: 10px; }
.operator-note p:not(.eyebrow) { font-size: 14.5px; color: var(--text-muted); margin-bottom: 18px; }

.explorer { margin-bottom: clamp(48px, 7vw, 88px); }
.explorer-head .section-title { margin-bottom: 28px; }
.chart-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; margin-bottom: clamp(48px, 7vw, 80px); }
.chart-card { margin: 0; background: var(--navy-2); border: 1px solid var(--line); padding: 28px; }
.chart-card figcaption { margin-bottom: 22px; }
.chart-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.chart-card figcaption p { font-size: 13px; color: var(--text-muted); }
.hbar { display: grid; grid-template-columns: minmax(120px, 210px) 1fr 44px; align-items: center; gap: 14px; padding: 6px 0; outline: none; border-radius: 2px; cursor: default; }
.hbar:focus-visible, .col:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.hbar-label { font-size: 13.5px; color: var(--text-muted); line-height: 1.3; }
.hbar-track { height: 14px; position: relative; }
.hbar-track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); border-radius: 0 4px 4px 0; transition: width .6s cubic-bezier(.2,.7,.2,1); }
.hbar:hover .hbar-track i, .hbar:focus .hbar-track i { background: var(--gold-light); }
.hbar-val { font-size: 13.5px; text-align: right; font-variant-numeric: tabular-nums; }
.cols-plot { height: 200px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; align-items: end; border-bottom: 1px solid var(--line); }
.col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
.col i { width: min(24px, 80%); background: var(--gold); border-radius: 4px 4px 0 0; transition: height .6s cubic-bezier(.2,.7,.2,1); }
.col:hover i, .col:focus i { background: var(--gold-light); }
.col-val { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cols-axis { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; margin-top: 8px; }
.cols-axis span { font-size: 11.5px; color: var(--text-muted); text-align: center; }
.chart-tip { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; background: #ffffff; color: var(--navy); font-size: 13px; line-height: 1.45; padding: 8px 12px; border-radius: 3px; box-shadow: 0 6px 24px rgba(0,0,0,.35); max-width: 260px; }
.chart-tip strong { font-weight: 600; }
.theme-chip { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--gold); border: 1px solid var(--line-gold); padding: 1px 8px; border-radius: 20px; vertical-align: 1px; }
.theme-chip::before { content: "Claraxis · "; opacity: .7; font-weight: 500; }

.caps { margin-bottom: clamp(24px, 4vw, 40px); }
.caps .section-title { max-width: 820px; }
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card { background: var(--navy-2); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.cap-card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.cap-card p { font-size: 14.5px; color: var(--text-muted); }
.chips { list-style: none; margin: auto 0 0; padding: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 11.5px; color: var(--text-muted); border: 1px solid var(--line); padding: 3px 9px; border-radius: 20px; }

@media (max-width: 1000px) {
  .water-grid, .chart-row { grid-template-columns: 1fr; }
  .water-side { position: static; }
  .caps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .caps-grid { grid-template-columns: 1fr; }
  .hbar { grid-template-columns: 1fr 40px; gap: 4px 10px; }
  .hbar-label { grid-column: 1 / -1; }
  .chart-card { padding: 20px 16px; }
  .cols-plot { height: 160px; }
  .curator .fda-updated { margin-left: 0; width: 100%; }
  .fda-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .fda-tab { white-space: nowrap; }
  .water { padding: 28px 20px; }
  .theme-chip { margin: 6px 0 0; display: table; }
}
@media (prefers-reduced-motion: reduce) { .hbar-track i, .col i { transition: none; } }
.chart-card, .mini-chart { position: relative; overflow: hidden; }

.cols-note { font-size: 11.5px; color: var(--text-muted); margin-top: 10px; }
