/* boxhouse overrides. edit here, never assets/news-scan.html — bin/news
   overwrites that file on every run. */

:root, :root[data-theme="light"], :root[data-theme="dark"] {
  color-scheme: light;
  --page:           #CEC7B3;
  --surface-1:      rgba(225,220,201,0.55);
  --text-primary:   #1F150C;
  --text-secondary: #412D15;
  --text-muted:     #796A54;
  --gridline:       rgba(31,21,12,0.28);
  --baseline:       rgba(31,21,12,0.55);
  --border:         rgba(31,21,12,0.40);
  --wash:           rgba(31,21,12,0.06);
  --series-1:       #412D15;
  --accent-ca:      #000000;
  --good:           #1F150C;
}

header h1 { display: none; }
#tiles, #footer, #theme-btn { display: none; }

section.list > h2,
section.list > p.sub { display: none; }

html { font-size: 81.25%; }

body {
  font-family: Times, "Times New Roman", serif;
  line-height: 1.5;
}

.wrap { max-width: none; padding: 1.2rem 1rem 2rem; }

h1 { font-size: 1.8rem; font-weight: normal; letter-spacing: 0; }
.meta { font-size: 1rem; }

.panel, .bar-track, .bar-fill,
.chip, button.ghost, button.expand { border-radius: 0; }
.panel, .chip, button.expand { border-style: solid; }
thead th, tbody td, tr.detail > td { border-bottom-style: solid; }

.bar-label, .bar-val, .sub { font-size: 0.95rem; }
.panel h2, thead th { font-weight: normal; letter-spacing: 0.03em; }
section.list > h2 { font-size: 1.15rem; font-weight: normal; }
table { font-size: 1.05rem; }
td.c-title a { font-weight: normal; }
td.c-source, td.c-date, .why { font-size: 0.95rem; }
.juris { font-size: 0.85rem; }

a, td.c-title a, .detail-foot a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

a:hover, td.c-title a:hover {
  text-decoration-style: dotted;
}

.bar-fill  { background: var(--text-secondary); height: 8px; }
.bar-track { background: none; border: 1px solid var(--border); height: 8px; box-sizing: border-box; }

@media (max-width: 700px) {
  td.c-topic,  thead th:nth-child(2),
  td.c-viewed, thead th:nth-child(6) { display: none; }
}
