/* In Camera — design tokens
   Ground: cool paper. Accent: seal oxblood (the ribbon of a sealed judgment).
   Display: law-report serif. Citations: monospace "stamps" with a seal bar. */

:root {
  --ink: #1a1d24;
  --ink-soft: #4a4f5a;
  --ground: #f5f6f3;
  --panel: #ffffff;
  --seal: #00534e;   /* justice teal-green */
  --seal-dark: #00332f;
  --kauri: #b08a2e;   /* warm gold accent */
  --slate: #44546a;
  --hairline: #dcdfd8;
  --mark: #f4e6bf;
  --ok: #2e6b3f;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
}

/* --- restricted band ----------------------------------------------------- */
.restricted-band {
  background: repeating-linear-gradient(
    180deg, var(--seal-dark), var(--seal-dark));
  border-bottom: 3px solid var(--kauri);
  color: #fff;
  font: 600 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 12px;
}

/* --- masthead ------------------------------------------------------------ */
.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
  max-width: 920px;
  margin: 0 auto;
  padding: 22px 20px 14px;
  border-bottom: 1px solid var(--hairline);
}
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.wordmark-seal {
  width: 11px; height: 26px; background: var(--seal); align-self: center;
  border-radius: 1px;
}
.wordmark-text { font: 700 26px/1 var(--serif); letter-spacing: .01em; }
.wordmark-sub { font: 400 12px/1.2 var(--sans); color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; align-items: baseline; gap: 18px; font-size: 14px; }
.nav a { color: var(--slate); text-decoration: none; padding-bottom: 2px; }
.nav a.active { color: var(--seal); border-bottom: 2px solid var(--seal); }
.nav a:hover, .link-button:hover { color: var(--seal); }
.link-button {
  background: none; border: none; padding: 0; font: inherit; font-size: 14px;
  color: var(--slate); cursor: pointer;
}

/* --- layout --------------------------------------------------------------- */
.page { max-width: 920px; margin: 0 auto; padding: 26px 20px 60px; }
.footer {
  max-width: 920px; margin: 0 auto; padding: 18px 20px 40px;
  border-top: 1px solid var(--hairline);
  color: var(--ink-soft); font-size: 12.5px;
}
.display { font: 700 clamp(22px, 3.2vw, 30px)/1.2 var(--serif); margin: 0 0 10px; }
h2 { font: 700 17px/1.3 var(--serif); margin: 0 0 12px; }
.muted, .hint { color: var(--ink-soft); }
.hint { font-size: 12.5px; }
code {
  font: 12.5px var(--mono);
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: 3px; padding: 1px 5px;
}

/* --- cards & forms --------------------------------------------------------- */
.card {
  background: var(--panel); border: 1px solid var(--hairline);
  border-top: 3px solid var(--seal);
  padding: 22px 24px; margin-bottom: 28px;
}
.card.narrow { max-width: 460px; margin: 40px auto; }
.stack { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.stack label { font-size: 13.5px; font-weight: 600; margin-top: 8px; }
input[type="text"], input[type="search"], input[type="password"],
input[type="number"], input[type="file"], select {
  font: 15px var(--sans);
  padding: 9px 11px; border: 1px solid var(--hairline); border-radius: 4px;
  background: var(--panel); color: var(--ink); width: 100%;
}
input:focus, select:focus, button:focus, a:focus {
  outline: 2px solid var(--slate); outline-offset: 1px;
}
button, .button {
  display: inline-block;
  font: 600 14px var(--sans);
  padding: 9px 16px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--hairline); background: var(--panel); color: var(--ink);
  text-decoration: none;
}
button.primary, .button.primary { background: var(--seal); border-color: var(--seal); color: #fff; }
button.primary:hover, .button.primary:hover { background: var(--seal-dark); }
.button.small, button.small { font-size: 12.5px; padding: 5px 10px; }
.danger { color: var(--seal); border-color: var(--seal); }
.inline-form { display: inline-flex; gap: .35rem; align-items: center; }
.row-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.row-actions .tier-select { max-width: 11rem; font-size: .82rem; padding: .15rem .3rem; }
.upload-grid select { max-width: 100%; }

/* --- flashes ---------------------------------------------------------------- */
.flash {
  border: 1px solid var(--hairline); border-left: 4px solid var(--slate);
  background: var(--panel); padding: 12px 16px; margin-bottom: 18px; font-size: 14.5px;
}
.flash-error { border-left-color: var(--seal); }
.flash-ok { border-left-color: var(--ok); }
.flash-secret { border-left-color: var(--seal); font-family: var(--mono); font-size: 13.5px; }

/* --- search ------------------------------------------------------------------ */
.search-hero { margin-bottom: 26px; }
.search-row { display: flex; gap: 10px; }
.search-row input[type="search"] { font-size: 17px; padding: 13px 15px; }
.filter-row {
  display: flex; flex-wrap: wrap; align-items: end; gap: 16px;
  margin-top: 12px; font-size: 13px;
}
.filter-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.filter-row select, .filter-row input { width: auto; min-width: 110px; padding: 6px 9px; font-size: 14px; }
.filter-row .hint { margin-left: auto; }
.result-count { color: var(--ink-soft); font-size: 13.5px; border-bottom: 1px solid var(--hairline); padding-bottom: 10px; }

.results { list-style: none; margin: 0; padding: 0; counter-reset: result; }
.result { padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.result-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.case-name { font: 700 19px/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.case-name:hover { color: var(--seal); }
.result-meta { color: var(--ink-soft); font-size: 12.5px; margin-top: 3px; letter-spacing: .03em; }

/* the signature: citation stamp */
.citation-stamp {
  font: 600 12.5px var(--mono);
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--seal);
  padding: 3px 9px;
  text-decoration: none;
  white-space: nowrap;
}
.citation-stamp:hover { border-color: var(--seal); }
.citation-stamp.large { font-size: 14px; padding: 5px 12px; }
.muted-stamp { border-left-color: var(--hairline); color: var(--ink-soft); }

.snippets { list-style: none; margin: 10px 0 0; padding: 0; }
.snippets li {
  font: 15px/1.6 var(--serif);
  margin: 7px 0; padding-left: 62px; position: relative;
}
.pinpoint {
  position: absolute; left: 0; top: 2px;
  font: 600 11px var(--mono); color: var(--slate);
  border: 1px solid var(--hairline); border-radius: 3px;
  padding: 1px 6px; background: var(--panel); white-space: nowrap;
}
mark { background: var(--mark); color: inherit; padding: 0 1px; }
.pager { display: flex; justify-content: space-between; padding: 18px 0; }
.pager a { color: var(--seal); text-decoration: none; font-weight: 600; }
.empty { padding: 30px 0; color: var(--ink-soft); }
.empty.landing { font-size: 15px; }

/* --- judgment page ------------------------------------------------------------- */
.judgment-head { margin-bottom: 18px; }
.judgment-head .display { margin-top: 12px; }
.pdf-frame { width: 100%; height: 78vh; border: 1px solid var(--hairline); background: var(--panel); }
.error-detail {
  background: var(--panel); border: 1px solid var(--hairline);
  padding: 12px; font-size: 12px; overflow-x: auto;
}

/* --- tables ----------------------------------------------------------------------- */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--panel); border: 1px solid var(--hairline); }
.table th {
  text-align: left; font: 600 11px var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); padding: 10px 12px; border-bottom: 2px solid var(--hairline);
}
.table td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.cell-when { font: 12px var(--mono); color: var(--ink-soft); white-space: nowrap; }
.cell-detail { font-size: 12.5px; overflow-wrap: anywhere; }
.row-actions { white-space: nowrap; }
.row-actions form { margin-left: 4px; }
.actions-col { width: 1%; }
.status {
  font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 10px; border: 1px solid var(--hairline);
}
.status-ready { color: var(--ok); border-color: var(--ok); }
.status-processing { color: var(--slate); border-color: var(--slate); }
.status-error { color: var(--seal); border-color: var(--seal); }
.error-hint { color: var(--seal); max-width: 260px; }

/* --- admin forms -------------------------------------------------------------------- */
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: end; }
.upload-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; }
.upload-grid .checkline { flex-direction: row; align-items: center; gap: 8px; }
.upload-grid input[type="checkbox"] { width: auto; }

@media (max-width: 700px) {
  .upload-grid { grid-template-columns: 1fr; }
  .snippets li { padding-left: 0; }
  .pinpoint { position: static; margin-right: 8px; }
  .nav { width: 100%; }
  .row-actions { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* --- filter panel ------------------------------------------------------ */
.filter-panel {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem;
  margin-top: 0.7rem; padding: 0.65rem 0.9rem;
  border: 1px solid var(--rule, #c9cec4); background: rgba(255,255,255,0.55);
}
.filter-panel legend {
  padding: 0 0.4rem; font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate, #44546a);
}
.filter-group { display: flex; align-items: center; gap: 0.5rem; }
.filter-label {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate, #44546a);
}
.court-checks { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; }
.check { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.9rem; }
.check input { accent-color: var(--seal, #00534e); }
.year-input { width: 5.5rem; }
.range-dash { color: var(--slate, #44546a); }
.filter-panel .apply { margin-left: auto; }
.syntax-hint { margin-top: 0.55rem; }

/* --- expandable snippets ----------------------------------------------- */
.expand-toggle {
  border: none; background: none; padding: 0 0.15rem; cursor: pointer;
  font: inherit; font-size: 0.78rem; color: var(--seal, #00534e);
  text-decoration: underline; text-underline-offset: 2px;
}
.expand-toggle:disabled { color: var(--slate, #44546a); cursor: wait; }
.snippet-context {
  margin: 0.45rem 0 0.3rem 2.9rem; padding: 0.6rem 0.8rem;
  border-left: 3px solid var(--seal, #00534e);
  background: rgba(122, 30, 43, 0.045);
  font-size: 0.92rem; line-height: 1.55;
}

/* --- admin sorting / import -------------------------------------------- */
.sort-bar { margin: 1rem 0 0.6rem; font-size: 0.88rem; color: var(--slate, #44546a); }
.sort-bar a.active { font-weight: 700; color: var(--seal, #00534e); }
.cell-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.import-log {
  margin: 0; padding: 0.5rem 0.8rem; max-height: 12rem; overflow: auto;
  font-size: 0.78rem; line-height: 1.5; background: rgba(0,0,0,0.035);
  border-left: 3px solid var(--rule, #c9cec4); white-space: pre-wrap;
}
.log-row td { padding-top: 0; }


/* --- citator & more-note ------------------------------------------------ */
.more-note {
  margin: 0.15rem 0 0.2rem 2.9rem; font-size: 0.82rem;
  color: var(--slate, #44546a);
}
.citator { margin-top: 1.6rem; border-top: 1px solid var(--rule, #c9cec4); padding-top: 1rem; }
.citator h2 { font-size: 1.05rem; margin: 0.9rem 0 0.5rem; }
.citing-list, .cites-list { list-style: none; margin: 0; padding: 0; }
.citing { margin-bottom: 1rem; }
.cites-list li { margin: 0.3rem 0; display: flex; align-items: baseline; gap: 0.6rem; }
.uncollected { font-size: 0.85rem; margin-top: 0.5rem; }


/* --- judgment viewer & minimap ----------------------------------------- */
.viewer-controls {
  display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap;
  margin: 0.8rem 0 0.45rem;
}
.hit-summary { font-size: 0.88rem; color: var(--slate, #44546a); }
.button.toggle.active {
  background: var(--seal, #00534e); color: #fff; border-color: var(--seal, #00534e);
}
.minimap {
  position: relative; height: 22px; margin: 0 0 0.6rem;
  border: 1px solid var(--rule, #c9cec4); background: rgba(255,255,255,0.6);
  cursor: pointer; user-select: none;
}
.mm-track { position: absolute; inset: 0; }
.mm-stripe {
  position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1px;
  background: var(--seal, #00534e); opacity: 0.85; pointer-events: none;
}
.mm-window {
  position: absolute; top: -1px; bottom: -1px; min-width: 10px;
  border: 2px solid var(--slate, #44546a); background: rgba(68,84,106,0.14);
  cursor: grab; box-sizing: border-box;
}
.mm-window:active { cursor: grabbing; }
.reading-pane {
  height: 72vh; overflow-y: auto; border: 1px solid var(--rule, #c9cec4);
  background: #fff; padding: 0 1.4rem;
}
.jpage { position: relative; padding: 1.1rem 0 0.9rem; border-bottom: 1px dashed var(--rule, #c9cec4); }
.jpage:last-child { border-bottom: none; }
.page-label {
  position: sticky; top: 0.4rem; float: right; font-size: 0.72rem;
  letter-spacing: 0.08em; color: var(--slate, #44546a);
  background: rgba(255,255,255,0.85); padding: 0 0.3rem;
}
.page-text { white-space: pre-wrap; font-size: 0.95rem; line-height: 1.62; }
.reading-pane.hl-off mark { background: transparent; color: inherit; box-shadow: none; }
.pdf-pane .hint { margin-top: 0.4rem; }
.linklike {
  border: none; background: none; padding: 0; cursor: pointer; font: inherit;
  font-size: 0.85rem; color: var(--seal, #00534e); text-decoration: underline;
  text-underline-offset: 2px;
}
.citation-stamp.unheld { opacity: 0.65; }
.reported { font-size: 0.86rem; color: var(--slate, #44546a); }


/* --- rebrand additions ---------------------------------------------------- */
mark { background: rgba(176, 138, 46, 0.32); }
.chip-suppressed {
  display: inline-block; padding: 0.05rem 0.45rem; margin-left: 0.4rem;
  font-size: 0.68rem; letter-spacing: 0.09em; font-weight: 700;
  color: #fff; background: var(--seal); border-radius: 2px;
  text-transform: uppercase; vertical-align: middle;
}
.badge-div {
  display: inline-block; padding: 0.02rem 0.32rem; margin-left: 0.35rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--seal-dark); border: 1px solid var(--kauri);
  background: rgba(176, 138, 46, 0.12); border-radius: 2px;
  vertical-align: middle; cursor: help;
}
.cited-count { font-variant-numeric: tabular-nums; }

/* --- rich reading view ----------------------------------------------------- */
.page-text.rich { white-space: normal; }
.page-text .ln { min-height: 1em; line-height: 1.5; }
.page-text .ln.sp { margin-top: 0.65em; }
.page-text .ln.fn { font-size: 0.8em; color: #333; }
.page-text .gap { display: inline-block; }
.page-text sup { font-size: 0.72em; }

/* --- cites list layout ------------------------------------------------------ */
.cites-list .cite-name { font-style: italic; }
.cites-list .cite-cluster { color: var(--slate, #44546a); }

/* --- AI summary pane --------------------------------------------------------- */
.ai-pane {
  border: 1px solid var(--rule, #c9cec4); background: #fff;
  padding: 1.2rem 1.5rem; max-height: 72vh; overflow-y: auto;
}
.ai-pane h3 { margin: 1.1rem 0 0.4rem; font-size: 1rem; }
.ai-note {
  font-size: 0.82rem; color: var(--slate, #44546a);
  border-left: 3px solid var(--kauri); padding-left: 0.7rem; margin: 0.8rem 0;
}
.ai-warnings { font-size: 0.84rem; color: #7a5b16; }
.keywords span {
  display: inline-block; margin: 0.15rem 0.3rem 0.15rem 0;
  padding: 0.05rem 0.5rem; font-size: 0.78rem;
  background: rgba(0, 83, 78, 0.08); border-radius: 10px;
}


/* --- AI summary lists --------------------------------------------------- */
.ai-cases li, .ai-provisions li { margin: 0.25rem 0; }
.ai-provisions { list-style: none; margin: 0.2rem 0 0.8rem; padding: 0; }
.held-link { font-size: 0.78rem; margin-left: 0.4rem; }
.ai-keywords { line-height: 2; }
.chip-kw {
  display: inline-block; margin: 0 0.35rem 0.2rem 0; padding: 0.05rem 0.55rem;
  border: 1px solid var(--rule, #c9cec4); border-radius: 999px;
  font-size: 0.78rem; color: var(--slate, #44546a); background: #fff;
}
.ai-summary h5, .ai-summary h6 { margin: 0.9rem 0 0.25rem; }

/* --- limited-tier search results ---------------------------------------- */
.chip-via-summary {
  display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem;
  border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.02em;
  background: #f3efe2; color: #6b5b1e; border: 1px solid #d9cfa8;
  vertical-align: 2px;
}
.pinpoint-summary { cursor: default; }


/* --- suppression choice on upload --------------------------------------- */
.visibility-choice {
  border: 1px solid var(--rule, #c9cec4); border-radius: 6px;
  padding: 0.6rem 0.9rem 0.7rem; margin: 0.6rem 0 0.9rem; max-width: 46rem;
}
.visibility-choice legend {
  padding: 0 0.4rem; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-2, #44546a);
}
.visibility-choice .radio-row {
  display: grid; grid-template-columns: 1.1rem 1fr; column-gap: 0.55rem;
  align-items: start; margin: 0.35rem 0; cursor: pointer;
}
.visibility-choice .radio-row input[type="radio"] {
  margin: 0.22rem 0 0;         /* circle sits on the first text line */
  justify-self: center;
}
.visibility-choice .radio-text { line-height: 1.45; }
.visibility-choice .radio-text .hint {
  display: block; margin-top: 0.1rem; font-size: 0.82rem;
  color: var(--ink-3, #6b7280); font-weight: 400;
}

/* --- summary editing ------------------------------------------------------ */
.summary-edit { max-width: 52rem; }
.summary-edit label { display: block; margin: 0.9rem 0 0; font-weight: 600; }
.summary-edit textarea {
  display: block; width: 100%; margin-top: 0.3rem; font: 0.86rem/1.5 var(--mono, monospace);
  padding: 0.5rem 0.6rem; border: 1px solid var(--rule, #c9cec4); border-radius: 4px;
}
.summary-edit code { font-weight: 400; }
.edit-actions { margin-top: 1rem; display: flex; gap: 0.5rem; }
.ai-admin-actions { margin-top: 1rem; display: flex; gap: 0.5rem; align-items: center; }

.chip-unpublished {
  display: inline-block; margin-left: .3rem; padding: 0 .45rem;
  border-radius: 999px; font-size: .7rem; letter-spacing: .04em;
  background: #ece7f4; color: #4b3a72; border: 1px solid #c9bce3;
}

/* --- inline citation drawer ---------------------------------------------- */
.cite-backdrop {
  position: fixed; inset: 0; background: rgba(20, 28, 26, .38);
  z-index: 60;
}
.cite-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(46rem, 92vw);
  background: var(--paper, #fff); z-index: 61; box-shadow: -8px 0 30px rgba(0,0,0,.18);
  display: flex; flex-direction: column; overflow: hidden;
}
/* the hidden attribute must beat the display:flex above, or close() does
   nothing (the production close-button bug) */
.cite-drawer[hidden], .cite-backdrop[hidden] { display: none !important; }
.cite-drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--rule, #c9cec4);
}
.cite-drawer-name { font-weight: 600; }
.cite-close {
  border: none; background: none; font-size: 1.6rem; line-height: 1;
  cursor: pointer; color: var(--ink-2, #44546a); padding: 0 .2rem;
}
.cite-drawer-body { padding: 1.1rem 1.3rem; overflow-y: auto; flex: 1; }
.cite-drawer-body .para { margin: 0 0 .8rem; line-height: 1.55; }
.cite-drawer-body .para-no { color: var(--gold, #b08a2e); font-weight: 600; margin-right: .3rem; }
.cite-drawer-body .para-hit {
  background: #fbf6e6; border-left: 3px solid var(--gold, #b08a2e);
  padding: .5rem .7rem; border-radius: 3px;
}
.cite-loading { color: var(--ink-3, #6b7280); }
.cite-drawer-foot { padding: .8rem 1.3rem; border-top: 1px solid var(--rule, #c9cec4); }
body.drawer-open { overflow: hidden; }

/* pinpoint citation chips in generated answers */
a.cite-pin {
  color: var(--teal, #00534e); border-bottom: 1px dotted currentColor;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
a.cite-pin:hover { background: #eef6f4; }
a.cite-pin .cite-pin-para { color: var(--gold, #b08a2e); }


/* --- research ------------------------------------------------------------ */
.research-ask textarea { width: 100%; margin-top: .3rem; padding: .6rem;
  border: 1px solid var(--rule, #c9cec4); border-radius: 4px; font: inherit; }
.research-ask button { margin-top: .7rem; }
.research-history { list-style: none; padding: 0; }
.research-history li { padding: .4rem 0; border-bottom: 1px solid #eee; }
.research-status { font-size: .75rem; padding: 0 .4rem; border-radius: 999px;
  border: 1px solid var(--rule, #c9cec4); margin-left: .4rem; }
.status-ready { background: #e8f5e9; } .status-error { background: #fdecea; }
.status-running, .status-pending { background: #fff8e1; }
.research-question { border-left: 3px solid var(--teal, #00534e);
  padding: .3rem .8rem; color: var(--ink-2, #44546a); font-style: italic; }
.research-answer { line-height: 1.6; max-width: 46rem; }
.research-answer h3, .research-answer h4 { margin: 1.1rem 0 .3rem; }
.research-working { background: #f7f6f1; border-radius: 6px; padding: 1rem 1.2rem; }
.verification-report { margin: 1.4rem 0; border: 1px solid var(--rule, #c9cec4);
  border-radius: 6px; padding: .3rem .9rem; background: #fbfaf7; }
.verification-report summary { cursor: pointer; font-weight: 600; padding: .4rem 0; }
.verification-report h3 { font-size: .85rem; margin: .7rem 0 .2rem; }
.notice { padding: .6rem .9rem; border-radius: 4px; background: #eef6f4; }
.notice.error { background: #fdecea; }

/* --- reader-view drawer additions ---------------------------------------- */
.cite-drawer-body .reader-heading {
  margin: 1.1rem 0 .4rem; font-size: .95rem; font-weight: 700;
  color: var(--teal, #00534e); border-bottom: 1px solid var(--rule, #e5e2d8);
  padding-bottom: .2rem;
}
.cite-drawer-body mark {
  background: #fff2a8; padding: 0 .1rem; border-radius: 2px;
}
.cite-drawer-foot .button.ghost {
  background: transparent; border: 1px solid var(--rule, #c9cec4);
  color: var(--ink-2, #44546a);
}
.cite-drawer-foot .cite-jump { margin-right: .3rem; }

/* --- rich reader in the drawer -------------------------------------------- */
.cite-drawer-body .reader-rich { font-size: .84rem; }
.cite-drawer-body .reader-rich .ln { min-height: 1em; line-height: 1.5; }
.cite-drawer-body .reader-rich .ln.sp { margin-top: 0.65em; }
.cite-drawer-body .reader-rich .ln.fn { font-size: 0.82em; color: #444; }
.cite-drawer-body .reader-rich .gap { display: inline-block; }
.cite-drawer-body .para-hit-ln {
  background: #eaf3f1; outline: 3px solid #eaf3f1; border-radius: 2px;
  font-weight: 700; color: var(--teal, #00534e);
}
.report-quote { color: #444; font-size: .82rem; margin: .15rem 0 .15rem .6rem;
  border-left: 2px solid var(--rule, #d9d5c9); padding-left: .5rem; }
.error-trace { white-space: pre-wrap; font-size: .74rem; max-height: 22rem;
  overflow: auto; background: #fbf7f5; padding: .6rem; border-radius: 4px; }

/* --- responsive pass (audit): small and medium screens --------------------- */
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; row-gap: 6px; }
  .table-wrap, .audit-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table { min-width: 560px; }
}
@media (max-width: 700px) {
  header.masthead { flex-wrap: wrap; row-gap: 6px; }
  .cite-drawer { width: 100vw; }
  .cite-drawer-body { padding: 0.7rem 0.8rem; }
  .prov-grid { grid-template-columns: 1fr; }
  .research-ask textarea { font-size: 16px; }   /* prevents iOS zoom-on-focus */
  .filters { flex-wrap: wrap; }
  .verification-report { padding: .3rem .5rem; }
  .report-quote { margin-left: .2rem; }
  main { padding-left: 12px; padding-right: 12px; }
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.storage-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.storage-cards > div { padding: 1.2rem; border: 1px solid #d4d7d9; border-radius: 6px; }
.storage-cards strong { display: block; font-size: 1.5rem; margin-bottom: .5rem; }
.storage-cards span { display: block; font-size: .9rem; }

/* Shared spacing and responsive tool screens. */
[hidden] { display: none !important; }
.masthead { flex-wrap: wrap; gap: 16px 28px; }
.nav { flex-wrap: wrap; gap: 10px 16px; }
.nav > a, .nav > form { flex-shrink: 0; }
.page-wide { max-width: 1100px; }
.page-intro { margin-bottom: 24px; }
.page-intro p { max-width: 70ch; margin: 8px 0 0; color: var(--ink-soft); }
.tool-form { margin-bottom: 14px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.tool-grid > label, .resume-form label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 14px; font-weight: 600; }
.tool-grid label .optional { display: contents; color: var(--ink-soft); font-weight: 400; }
.tool-form input, .tool-form select, .resume-form input { width: 100%; min-width: 0; font: 15px var(--sans); padding: 10px 12px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--panel); color: var(--ink); }
.field-help { color: var(--ink-soft); font-size: 13px; line-height: 1.55; margin: 12px 0 0; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: 20px; }
.advanced-options { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.advanced-options summary, .reference-panel summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--seal); }
.advanced-options[open] summary { margin-bottom: 20px; }
.subtle-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 0 32px; flex-wrap: wrap; }
.subtle-actions form { margin: 0; }
.storage-cards { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 0 0 28px; }
.storage-cards > div { background: var(--panel); border-color: var(--hairline); padding: 18px; min-width: 0; }
.storage-cards strong { font-size: 25px; margin: 8px 0 5px; color: var(--seal-dark); }
.storage-cards span { font-size: 13px; }
.storage-cards small { display: block; font-size: 12px; color: var(--ink-soft); line-height: 1.5; }
.import-job { margin-bottom: 16px; border-top-width: 1px; }
.job-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.job-heading h3 { font-size: 16px; font-weight: 650; margin: 0 0 6px; }
.job-meta { font-size: 12px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.status-label { display: inline-block; background: #eef1ed; border: 1px solid var(--hairline); border-radius: 20px; padding: 4px 10px; font-size: 12px; white-space: nowrap; }
.status-running, .status-queued { background: #e8f3f0; color: var(--seal); }
.status-error, .status-paused { background: #fcf3df; }
.job-counts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 22px 0 18px; }
.job-counts dt { color: var(--ink-soft); font-size: 12px; margin-bottom: 5px; }
.job-counts dd { margin: 0; font-size: 21px; font-weight: 600; }
.job-message { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; margin-bottom: 8px; }
.job-filters { font-size: 13px; color: var(--ink-soft); }
.job-actions { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.job-actions:empty { display: none; }
.job-actions form { margin: 0; }
.resume-form { display: flex; align-items: flex-end; gap: 10px; }
.resume-form label { font-size: 12px; }
.resume-form input { padding: 7px 9px; font-size: 13px; width: 220px; }
.reference-panel { border: 1px solid var(--hairline); border-radius: 4px; background: var(--panel); padding: 18px 22px; margin: 24px 0; }
.reference-panel ul { margin-bottom: 0; padding-left: 20px; }
.reference-panel li { margin: 8px 0; overflow-wrap: anywhere; }
.reference-panel p { font-size: 13px; line-height: 1.6; }
.preview-results { margin: 24px 0; }
.preview-list { list-style: none; margin: 16px 0; padding: 0; }
.preview-list li { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-top: 1px solid var(--hairline); padding: 12px 0; }
.preview-list a { font-size: 14px; overflow-wrap: anywhere; }
.import-errors p { white-space: pre-wrap; overflow-wrap: anywhere; }
.import-errors > li { margin-bottom: 20px; }
.empty-state { padding: 28px; border: 1px dashed var(--hairline); color: var(--ink-soft); font-size: 14px; }
@media (max-width: 760px) {
 .storage-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .tool-grid { gap: 18px; }
 .section-heading { align-items: flex-start; }
 .job-counts { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .page-wide .card { padding: 20px; }
 .preview-list li { flex-direction: column; gap: 8px; }
}
@media (max-width: 500px) {
 .tool-grid { grid-template-columns: 1fr; }
 .storage-cards { gap: 10px; }
 .storage-cards > div { padding: 14px; }
 .storage-cards strong { font-size: 22px; }
 .resume-form { width: 100%; flex-wrap: wrap; }
 .resume-form input { width: 100%; }
 .job-heading { flex-wrap: wrap; }
}

/* --- automatic JDO updates ------------------------------------------------ */
.sync-panel { margin-bottom: 28px; }
.sync-table td:not(:first-child), .sync-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.sync-runs { list-style: none; padding: 0; margin: 16px 0; font-size: 13.5px; }
.sync-runs li { padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.sync-courts { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sync-courts .check { display: inline-flex; align-items: center; gap: 6px; font-weight: normal; }
.status-stopped { background: #f3efe6; }

/* --- AI app connections ---------------------------------------------------- */
.consent-list { margin: 12px 0 18px; padding-left: 20px; line-height: 1.6; }
.consent .form-actions { display: flex; gap: 10px; margin-top: 18px; }
.connections { list-style: none; padding: 0; margin: 8px 0 12px; }
.connections li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.connections form { margin-left: auto; }

/* Research workspace: quiet typography, visible focus and responsive controls. */
:root { --ink: #203638; --accent: #305f61; }
body { background: #f5f4ef; color: #203638; line-height: 1.65; }
.masthead { background: #fffefa; border-bottom: 1px solid #cdd7d1; }
.wordmark-seal { display: none; }
.wordmark-text { letter-spacing: -.045em; }
.wordmark-sub { letter-spacing: .035em; }
.nav { gap: .35rem .8rem; flex-wrap: wrap; }
.card { border-radius: 8px; box-shadow: 0 2px 8px #20363808; }
:focus-visible { outline: 3px solid #a35b28; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 100; background: white; padding: .7rem; }
.skip-link:focus { top: 1rem; }
.reader-text, .judgment-text { font-family: Georgia, serif; line-height: 1.85; max-width: 78ch; }
input,select,textarea { max-width: 100%; }
.flash { border-left: 4px solid currentColor; }
@media (max-width: 700px) {
 .masthead { padding: 1rem; display: block; }
 .nav { display: flex; margin-top: 1rem; }
 .page { padding: 1rem; }
 .upload-grid { grid-template-columns: 1fr; }
 table { display: block; overflow-x: auto; }
 button,.button { min-height: 44px; }
}

.evidence-source { white-space: pre-wrap; overflow: auto; max-height: 24rem; font-size: .85rem; }
.chip-non-published { display:inline-block; padding:.1rem .4rem; border:1px solid #a35b28; border-radius:3px; font: .75rem system-ui; }
.upload-grid label.check-inline { display: flex; align-items: flex-start; gap: .65rem; grid-column: 1 / -1; }
.upload-grid label.check-inline input { width: auto; flex: 0 0 auto; margin-top: .4rem; }
.research-settings { grid-column: 1 / -1; padding: 1rem; }
@media (max-width: 700px) {
 .cites-list li { display: block; margin-bottom: 1rem; }
 .cites-list .case-name { display: inline; }
}
.connection-address { display: flex; gap: .75rem; margin-top: .5rem; align-items: center; }
.connection-address input { flex: 1; min-width: 0; }
.connection-steps li { margin: 1rem 0; }
.storage-path { overflow-wrap: anywhere; font-family: ui-monospace, monospace; font-size: .9rem; }
#database-location { width: 100%; margin: .5rem 0; }
@media (max-width: 700px) { .connection-address { align-items: stretch; flex-direction: column; } }

.admin-navigation { position:relative; }
.upload-grid label.check-inline { display:flex; flex-direction:row; align-items:flex-start; gap:.6rem; }
.upload-grid label.check-inline input[type="checkbox"] { flex:0 0 auto; width:auto; margin-top:.3em; }
.admin-navigation summary { cursor:pointer; padding:.35rem 0; }
.admin-menu { position:absolute; z-index:30; top:100%; right:0; display:flex; flex-direction:column; gap:.6rem; min-width:180px; padding:1rem; background:var(--panel,#fff); border:1px solid var(--hairline,#ddd); border-radius:6px; box-shadow:0 5px 20px #0002; }
@media(max-width:640px) { .admin-menu { position:static; box-shadow:none; margin:.5rem 0; min-width:0; } }

/* Source-linked editorial review uses the existing reading/form components. */
.editorial-page .card h2 a { color: var(--seal-dark); text-decoration-thickness: 1px; }
.editorial-page blockquote { border-left: 2px solid var(--kauri); margin: 1rem 0; padding: .5rem 1rem; font-family: var(--serif); }
.editorial-page details { margin: .6rem 0 1.2rem; }
.editorial-page .stack { display: grid; gap: .8rem; margin: 1rem 0; }
.editorial-page .stack label:not(.check-inline) { display: grid; gap: .3rem; }
.editorial-page textarea { width: 100%; min-height: 6rem; }
.editorial-page pre { white-space: pre-wrap; overflow-wrap: anywhere; }

.editorial-page code { overflow-wrap: anywhere; }

/* Structured editorial corrections use native keyboard-accessible controls. */
#draft-fields fieldset { margin: 1rem 0; padding: 1rem; min-width: 0; border: 1px solid var(--hairline); }
#draft-fields label { display: grid; gap: .4rem; margin: .7rem 0; }
.draft-entry { border-left: 2px solid var(--kauri); padding-left: 1rem; margin: 1rem 0; }

#draft-fields > fieldset { border: 0; padding: 0; }
#draft-fields fieldset fieldset fieldset { padding-left: 0; padding-right: 0; border-left: 0; border-right: 0; }
@media (max-width: 600px) {
  #draft-fields fieldset { padding: .7rem .45rem; }
  #draft-fields > fieldset { padding: 0; }
  #draft-fields fieldset fieldset fieldset { padding-left: 0; padding-right: 0; }
  #draft-fields .draft-entry { padding-left: .45rem; }
}

/* Administration: clear groups and compact review lists. */
.settings-page { max-width: 1060px; }
.section-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1.5rem 0; border-bottom: 1px solid var(--hairline); padding-bottom: .8rem; }
.section-nav [aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration-thickness: 3px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 1.5rem; }
.settings-page fieldset { margin: 1.4rem 0; padding: 1rem; border: 1px solid var(--hairline); }
.settings-page legend { font-weight: 650; padding: 0 .5rem; }
.settings-page label { display: flex; flex-direction: column; gap: .35rem; }
.settings-page .check-inline { flex-direction: row; align-items: baseline; margin: .7rem 0; }
.queue-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; margin: 1.5rem 0; }
.queue-filters label { display: flex; flex-direction: column; gap: .35rem; }
.review-list { padding: 0; list-style: none; }
.review-list li, .release-entry { padding: 1rem 0; border-bottom: 1px solid var(--hairline); }
.review-list p { margin: .35rem 0 0; color: var(--ink-soft); }
.significance-badge { display: inline-block; border-left: 3px solid var(--seal); padding: .25rem .7rem; background: #eaf2ef; font-size: .9rem; }
.significance-badge span { color: var(--ink-soft); }
.significance-summary { border-left: 4px solid var(--seal); background: var(--panel); padding: 1rem 1.5rem; margin: 1.5rem 0; }
.significance-summary h2 { margin-top: 0; }
@media (max-width: 650px) { .settings-grid { grid-template-columns: 1fr; } .queue-filters label { width: 100%; } }

.settings-page a, .editorial-page a, .section-nav a { color: var(--seal); }

.cites-list .case-held, .cites-list .case-held .cite-cluster { color: var(--seal); }
.cites-list .case-held { text-decoration: underline; text-underline-offset: 3px; }
.cites-list .case-held:hover { color: var(--seal-dark); text-decoration-thickness: 2px; }
.cites-list .case-held .cite-cluster { font-style: normal; }
.case-unheld, .case-unheld .cite-cluster { color: var(--ink-soft); }
.case-availability { display: inline-block; font-size: .75rem; margin-left: .6rem; color: var(--ink-soft); }
.case-availability.held { color: var(--seal); background: #eaf2ef; padding: .1rem .4rem; border-radius: 3px; }

/* Reading and navigation: quiet surfaces, clear references, readable prose. */
.masthead { max-width: 1100px; gap: 14px 24px; }
.nav { flex-wrap: wrap; row-gap: 12px; }
.nav > a, .admin-navigation > summary, .nav .link-button { min-height: 28px; }
.admin-navigation > summary.active { color: var(--seal); border-bottom: 2px solid var(--seal); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--seal); outline-offset: 4px;
}
.search-help { margin: 14px 0 0; }
.search-help summary { cursor: pointer; color: var(--seal); font-size: 13px; }
.example-citation { font-family: var(--mono); white-space: nowrap; }
.empty.landing { text-align: left; border-top: 1px solid var(--hairline); margin-top: 30px; }
.settings-overview { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hairline); background: var(--panel); border-radius: 5px; }
.settings-overview > div { padding: 16px; }
.settings-overview dt { font-size: 12px; color: var(--ink-soft); }
.settings-overview dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.settings-save { display: flex; align-items: center; gap: 1rem; position: sticky; bottom: 0; background: var(--ground); border-top: 1px solid var(--hairline); padding: 14px 0; z-index: 2; }
.editorial-controls .button, .editorial-controls form { margin: 4px 4px 4px 0; }
.cites-list { list-style: none; padding: 0; }
.cites-list > li { display: flex; align-items: start; gap: 12px; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.cites-list .case-held, .cites-list .case-unheld { display: block; flex: 1; min-width: 0; }
.cites-list .case-name { display: block; font-size: 16px; }
.cites-list .cite-cluster { display: block; font: 13px/1.6 var(--sans); margin-top: 3px; }
.cites-list .cite-parallels { display: block; font-size: 12px; opacity: .9; }
.case-availability { flex: none; margin: 3px 0 0; }
.research-ask { padding: 24px; background: var(--panel); border: 1px solid var(--hairline); border-radius: 5px; }
.research-ask label { font-weight: 600; }
.research-ask textarea { font-weight: 400; line-height: 1.6; }
.research-question { padding: 16px 22px; margin: 20px 0 30px; background: var(--panel); font-style: normal; }
.research-question p { margin: 8px 0 0; font: 20px/1.5 var(--serif); color: var(--ink); }
.research-answer { max-width: 100%; font: 17px/1.8 var(--serif); overflow-wrap: anywhere; }
.research-answer > p, .research-answer > ul, .research-answer > ol { margin: 0 0 1.25rem; }
.research-answer h2, .research-answer h3, .research-answer h4 { font-family: var(--sans); line-height: 1.4; margin: 2rem 0 .75rem; }
.research-answer li { margin: .6rem 0; }
.research-source-note { color: var(--ink-soft); font-size: 13px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.research-history li { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; padding: 16px 0; }
.research-history a { flex: 1 1 65%; color: var(--seal); }
.research-history .muted { font-size: 12px; }
a.cite-pin { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; max-width: 100%; white-space: normal; border: 1px solid #ccded8; border-radius: 4px; background: #f0f6f3; padding: .1em .45em; margin: .15em .2em .15em 0; font: 13px/1.6 var(--sans); vertical-align: baseline; text-decoration: none; overflow-wrap: anywhere; }
a.cite-pin:hover { background: #e1eeea; border-color: var(--seal); }
a.cite-pin .cite-pin-name { font-weight: 550; }
a.cite-pin .cite-pin-citation { font-size: 12px; color: var(--ink-soft); }
a.cite-pin .cite-pin-para { color: var(--seal-dark); white-space: nowrap; }
a.cite-pin .cite-indirect { color: var(--ink-soft); font-size: 12px; }
.cite-drawer { width: min(48rem, 94vw); background: var(--panel); }
.cite-drawer-head { padding: 22px 26px 18px; flex: none; }
.reader-eyebrow { margin: 0 0 8px; color: var(--ink-soft); font: 600 11px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.cite-drawer-head h2 { font: 600 23px/1.3 var(--serif); margin: 0 0 6px; overflow-wrap: anywhere; }
.reader-citation { margin: 0; color: var(--ink-soft); font-size: 13px; }
.cite-close { min-width: 36px; min-height: 36px; border-radius: 4px; flex: none; }
.cite-close:hover { background: var(--ground); }
.cite-drawer-body { min-height: 0; padding: 0 26px; overscroll-behavior: contain; overflow-anchor: none; scroll-behavior: auto; scrollbar-gutter: stable; position: relative; }
.reader-load { display: block; width: 100%; padding: 12px; margin: 14px 0 22px; background: var(--ground); border: 1px solid var(--hairline); color: var(--seal); font-size: 13px; }
.reader-load:disabled { color: var(--ink-soft); cursor: default; }
.cite-drawer-body .reader-paragraph { position: relative; padding: 16px 18px 16px 65px; margin: 0 -8px 4px; border-left: 3px solid transparent; border-radius: 3px; }
.reader-paragraph.para-hit { background: #faf6e9; border-left-color: var(--kauri); }
.reader-number { position: absolute; top: 20px; left: 12px; color: var(--seal); font: 600 12px/1.5 var(--sans); text-decoration: none; }
.reader-prose { font: 17px/1.8 var(--serif); overflow-wrap: anywhere; }
.reader-prose p { margin: 0 0 .8em; }
.reader-prose p:last-child { margin-bottom: 0; }
.reader-paragraph .reader-heading { margin: 0 0 15px; font-family: var(--sans); }
.reader-paragraph:has(.reader-heading) .reader-number { top: 60px; }
.cite-drawer-foot { background: var(--ground); padding: 12px 26px 18px; flex: none; }
.reader-status { font: 12px/1.5 var(--sans); color: var(--ink-soft); min-height: 18px; margin: 0 0 10px; }
.reader-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.reader-original { color: var(--seal); font-size: 12px; margin-left: auto; }
@media (max-width: 650px) {
  .settings-overview { grid-template-columns: repeat(2, 1fr); }
  .research-ask { padding: 18px; }
  .cites-list > li { flex-wrap: wrap; }
  .cites-list .case-held, .cites-list .case-unheld { flex-basis: 70%; }
  .cite-drawer { width: 100vw; }
  .cite-drawer-head { padding: 16px; }
  .cite-drawer-head h2 { font-size: 21px; }
  .cite-drawer-body { padding: 0 16px; }
  .cite-drawer-foot { padding: 10px 16px 14px; }
  .cite-drawer-body .reader-paragraph { padding: 14px 8px 14px 48px; }
  .reader-number { left: 6px; }
  .reader-prose { font-size: 16px; line-height: 1.75; }
  .reader-original { margin-left: 0; }
}

.review-significance { border-left: 3px solid var(--seal); padding: 1rem 1.3rem; margin: 1.5rem 0; background: #f0f6f3; }
