/* ==========================================================================
   Holyrood Watch — Holyrood Granite & Oak Design System
   Flat matte Scottish civic modernism. Zero gradients, zero neon, zero ratings.
   ========================================================================== */

:root {
  color-scheme: light;
  --stone-bg: #F3F0E8;
  --stone-surface: #FAF8F3;
  --stone-elevated: #FFFFFF;
  --stone-tint: #EAE5D9;
  --stone-foot: #F7F4EC;
  --header-bg: #17191C;
  --header-ink: #FAF8F3;
  --ink: #17191C;
  --ink-inv: #FAF8F3;
  --ink-hover: #2C3036;
  --ink-muted: #525860;
  --ink-subtle: #6E747C;
  --oak: #9C7A46;
  --oak-light: #B59461;
  --rule: #D6CFC2;
  --rule-strong: #17191C;

  --vote-yes: #006B48;
  --vote-no: #C8102E;
  --vote-abstain: #6E747C;
  --vote-dnv: #CFC9BC;

  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] {
  color-scheme: dark;
  --stone-bg: #141619;
  --stone-surface: #1C1F24;
  --stone-elevated: #23272E;
  --stone-tint: #262B33;
  --stone-foot: #181B20;
  --header-bg: #0E1013;
  --header-ink: #EFECE4;
  --ink: #EFECE4;
  --ink-inv: #141619;
  --ink-hover: #DAD5C8;
  --ink-muted: #A4ABB4;
  --ink-subtle: #828A94;
  --oak: #C8A872;
  --oak-light: #B59461;
  --rule: #323740;
  --rule-strong: #EFECE4;

  --vote-yes: #199A6C;
  --vote-no: #E03E52;
  --vote-abstain: #828A94;
  --vote-dnv: #3A404A;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--stone-bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header & Navigation */
.site-header {
  background: var(--header-bg);
  color: var(--header-ink);
  border-bottom: 3px solid var(--oak-light);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #C7C2B6;
  margin-top: 2px;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-tab {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #3A3E45;
  border-radius: 0;
  background: transparent;
  color: #E6E2D8;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 13px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-tab:hover {
  border-color: var(--oak-light);
  color: #FFFFFF;
}

.nav-tab.active {
  background: var(--stone-bg);
  color: var(--ink);
  border-color: var(--stone-bg);
}

[data-theme="dark"] .nav-tab.active {
  background: var(--oak-light);
  color: #141619;
  border-color: var(--oak-light);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #3A3E45;
  border-radius: 0;
  background: transparent;
  color: #E6E2D8;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 11px;
  cursor: pointer;
  white-space: nowrap;
}

.theme-toggle:hover {
  border-color: var(--oak-light);
  color: #FFFFFF;
}

.theme-toggle svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Status Bar (58 / 65 / 129) */
.status-strip {
  background: var(--stone-tint);
  border-bottom: 1px solid var(--rule);
}

.status-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.party-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.party-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--ink);
}

.party-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  flex-shrink: 0;
}

/* Main Container */
.main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.view-panel {
  display: none;
}

.view-panel.active {
  display: block;
}

/* Typography Helpers */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oak);
  margin: 0 0 6px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 6px 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 720px;
}

/* Form Controls — Safari/WebKit Invariant */
.hw-input,
.hw-select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 1px solid var(--ink);
  background-color: var(--stone-elevated);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  height: 44px;
  line-height: 42px;
  padding: 0 12px;
}

.hw-select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2317191C' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.hw-input:focus,
.hw-select:focus {
  outline: 2px solid var(--oak);
  outline-offset: 1px;
}

.btn-primary,
.btn-secondary {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  height: 44px;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--ink-inv);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: var(--ink-hover);
}

.btn-secondary {
  background: var(--stone-surface);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--stone-tint);
}

/* Lookup Box (My 8 MSPs) */
.lookup-card {
  background: var(--stone-surface);
  border: 1px solid var(--ink);
  border-top: 4px solid var(--oak);
  padding: 20px;
  margin-bottom: 24px;
}

.lookup-grid {
  display: grid;
  grid-template-columns: 1.1fr auto 1.2fr;
  gap: 16px;
  align-items: end;
}

.lookup-or {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  padding-bottom: 12px;
  text-align: center;
}

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.postcode-row {
  display: flex;
  gap: 8px;
}

.postcode-row .hw-input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.chip-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--stone-bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 9px;
  cursor: pointer;
}

.chip-btn:hover {
  border-color: var(--ink);
  background: var(--stone-elevated);
}

.lookup-msg {
  margin: 10px 0 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--vote-no);
  min-height: 1.2em;
}

/* My 8 MSPs Results Header & Compare Strip */
.my8-banner {
  background: var(--stone-surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink);
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.my8-banner h2 {
  margin: 0;
  font-size: 1.35rem;
}

.my8-banner p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.compare-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 12px 14px;
  background: var(--stone-tint);
  border: 1px solid var(--rule);
}

.compare-strip label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.compare-strip .hw-select {
  flex: 1;
  min-width: 240px;
  height: 38px;
  line-height: 36px;
  font-size: 0.86rem;
}

.group-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}

/* MSP Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 14px;
}

.msp-card {
  background: var(--stone-surface);
  border: 1px solid var(--rule);
  border-top: 5px solid var(--ink);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.12s ease, transform 0.12s ease;
}

.msp-card:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.msp-card-top {
  display: flex;
  gap: 12px;
  padding: 14px;
  align-items: center;
}

.msp-avatar {
  width: 64px;
  height: 76px;
  object-fit: cover;
  object-position: top center;
  background: var(--stone-tint);
  border: 1px solid var(--rule);
  flex-shrink: 0;
}

.msp-card-meta {
  min-width: 0;
  flex: 1;
}

.msp-party-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.msp-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
}

.msp-seat {
  margin: 3px 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.msp-role {
  margin: 4px 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--oak);
}

.msp-card-foot {
  margin-top: auto;
  padding: 9px 14px;
  border-top: 1px solid var(--rule);
  background: var(--stone-foot);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.vote-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.vote-stamp.yes { background: var(--vote-yes); }
.vote-stamp.no { background: var(--vote-no); }
.vote-stamp.abstain { background: var(--vote-abstain); }
.vote-stamp.dnv { background: var(--vote-dnv); color: var(--ink); }

.s7-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  border: 1px solid var(--oak);
  color: var(--oak);
  margin-left: 6px;
  vertical-align: middle;
}

/* Hemicycle & Seat 65 */
.hemicycle-panel {
  background: var(--stone-surface);
  border: 1px solid var(--ink);
  padding: 20px;
  margin-bottom: 22px;
}

.hemi-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hemi-svg-wrap {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.hemi-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.seat-dot {
  cursor: pointer;
  transition: r 0.1s ease, stroke-width 0.1s ease;
}

.seat-dot:hover {
  stroke: var(--ink);
  stroke-width: 2.2;
}

/* 58 -> 65 Majority Bar */
.seat65-bar-wrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.seat65-track {
  position: relative;
  height: 26px;
  background: var(--stone-tint);
  border: 1px solid var(--ink);
  display: flex;
  overflow: hidden;
}

.seat65-seg {
  height: 100%;
  transition: width 0.25s ease;
}

.seat65-marker {
  position: absolute;
  left: 50.39%; /* 65 / 129 */
  top: -4px;
  bottom: -4px;
  width: 2px;
  background: var(--ink);
  z-index: 3;
}

.seat65-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
}

/* Bill Verdicts Widget (Quiet, inside Chamber & Votes) */
.verdict-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--stone-bg);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.verdict-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.verdict-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--stone-elevated);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
}

.verdict-btn:hover {
  background: var(--stone-tint);
}

.verdict-btn.picked {
  background: var(--ink);
  color: var(--ink-inv);
}

/* Votes Matrix List */
.votes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
}

.vote-row-card {
  background: var(--stone-surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink);
  padding: 14px;
  cursor: pointer;
}

.vote-row-card:hover,
.vote-row-card.active {
  border-color: var(--ink);
  background: var(--stone-elevated);
}

.vote-row-card.active {
  border-left-color: var(--oak);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.vote-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.vote-row-title {
  margin: 0 0 8px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
}

.vote-row-tally {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

/* Cabinet Board */
.cabinet-fm {
  max-width: 440px;
  margin-bottom: 16px;
}

.cabinet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.pulse-list {
  margin-top: 26px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.pulse-list-standalone {
  margin-top: 0;
  border-top: 1px solid var(--rule);
  padding-top: 0;
}

.pulse-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pulse-kind-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pulse-kind-group .chip-btn.active {
  background: var(--ink);
  color: var(--ink-inv);
  border-color: var(--ink);
}

.pulse-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 6px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
  transition: background 0.12s ease;
}

.pulse-item:hover {
  background: rgba(156, 122, 70, 0.07);
}

.pulse-party-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.pulse-date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-subtle);
  white-space: nowrap;
}

/* Directory Toolbar */
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  align-items: center;
}

.toolbar .hw-input {
  flex: 1;
  min-width: 210px;
}

.toolbar .hw-select {
  min-width: 155px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 25, 28, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--stone-surface);
  border: 2px solid var(--ink);
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
}

.modal-close {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--stone-elevated);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  width: 34px;
  height: 34px;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-tabs {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  border-bottom: 1px solid var(--rule);
  background: var(--stone-tint);
}

.modal-tab {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 11px 14px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.modal-tab.active {
  background: var(--stone-surface);
  color: var(--ink);
}

.modal-body {
  padding: 18px 20px;
  overflow-y: auto;
}

.receipt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.receipt-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
}

.context-note {
  background: var(--stone-tint);
  border-left: 3px solid var(--oak);
  padding: 10px 12px;
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

/* Footer */
.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--stone-tint);
  padding: 24px 20px;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 20px;
  flex-wrap: wrap;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 2px solid var(--oak);
  padding-bottom: 1px;
}

.footer-socials a:hover {
  color: var(--oak);
}

.footer-regions {
  flex-basis: 100%;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

/* Mobile Viewport Invariant (<= 820px) */
@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-inner {
    padding: 12px 14px;
  }

  .nav-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .nav-tab {
    width: 100%;
    text-align: center;
    padding: 9px 6px;
    font-size: 0.7rem;
    white-space: normal;
  }

  .main-wrap {
    padding: 18px 14px 40px;
  }

  .lookup-card {
    padding: 14px;
  }

  .lookup-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .postcode-row {
    flex-direction: column;
  }

  .postcode-row .hw-input,
  .postcode-row .btn-primary {
    width: 100%;
  }

  .lookup-or {
    padding: 0;
    text-align: left;
  }

  .cards-grid,
  .votes-list,
  .cabinet-grid {
    grid-template-columns: 1fr;
  }

  .section-head h1,
  .section-head h2 {
    font-size: 1.4rem;
  }

  .compare-strip .hw-select {
    min-width: 0;
    width: 100%;
  }
}

/* Verbatim Speech Excerpts & Expandable Disclosures */
.speech-excerpt {
  margin: 8px 0 4px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
}

.hw-disclosure {
  margin-top: 6px;
}

.hw-disclosure summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--oak);
  user-select: none;
}

.hw-disclosure summary:hover {
  color: var(--ink);
}

.hw-disclosure-body {
  margin: 8px 0 6px;
  padding: 12px 14px;
  background: var(--stone-bg);
  border-left: 3px solid var(--oak-light);
  font-size: 0.85rem;
  line-height: 1.58;
  color: var(--ink);
  white-space: pre-wrap;
}

.hw-or-link {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-decoration: underline;
}

.hw-or-link:hover {
  color: var(--ink);
}
