/* Use the atlas typography and colours for both the reading copy and its print edition. */
.brief-page {
  width: min(100% - 48px, 1080px);
  margin: clamp(26px, 4vw, 56px) auto clamp(60px, 8vw, 104px);
  color: var(--ink);
}
.brief-page [hidden] { display: none !important; }
.brief-page a, .brief-back { color: var(--green); text-underline-offset: .18em; }
.brief-back { display: inline-block; font-weight: 600; padding-block: 6px; }
.brief-page h1, .brief-signal h2 {
  font-family: 'Libre Caslon Display', Georgia, serif;
  font-weight: 400; line-height: 1.06; letter-spacing: -.025em; text-wrap: balance;
}
.brief-page h1 { font-size: clamp(40px, 5.4vw, 70px); margin: 16px 0; overflow-wrap: anywhere; }
.brief-intro { max-width: 62ch; font-size: 18px; line-height: 1.5; margin: 0 0 28px; }
.brief-workspace {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 60px); align-items: start; border-top: 2px solid var(--green); padding-top: 24px;
}
.brief-workspace h2, .brief-field-label { display: block; font: 650 20px/1.25 'DM Sans', sans-serif; margin: 0 0 10px; }
.brief-composition { background: #eaf0e5; padding: clamp(18px, 3vw, 30px); border: 1px solid #c3cdbb; }
.brief-composition textarea, .brief-manual input {
  width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #899b88; border-radius: 3px;
  background: #fffefa; color: var(--ink); font: inherit; line-height: 1.5;
}
.brief-composition textarea { margin-bottom: 24px; resize: vertical; }
.brief-options { list-style: none; padding: 0; margin: 12px 0 0; max-height: 63vh; overflow-y: auto; scrollbar-gutter: stable; }
.brief-options li { border-bottom: 1px solid var(--line); }
.brief-options label { display: flex; align-items: baseline; gap: 10px; padding: 12px 8px; cursor: pointer; }
.brief-options label:has(:checked) { background: #edf2e9; }
.brief-options label:focus-within { outline: 2px solid var(--green); outline-offset: -2px; }
.brief-options label:has(:disabled) { color: #6b746b; cursor: default; }
.brief-options input { accent-color: var(--green); width: 16px; height: 16px; margin: 0; flex: none; align-self: start; }
.brief-options strong, .brief-options small { display: block; }
.brief-options strong { font: 600 15px/1.4 'DM Sans', sans-serif; }
.brief-options small { font-size: 12px; margin-top: 3px; }
.brief-order { padding-left: 24px; margin: 14px 0; }
.brief-order li { padding: 10px 0 10px 4px; border-top: 1px solid #c3cdbb; }
.brief-order li::marker { color: var(--green); font-weight: bold; }
.brief-reorder { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.brief-reorder button {
  min-width: 36px; min-height: 36px; padding: 4px 8px; border: 1px solid #9baa94;
  border-radius: 3px; background: #fffefa; color: var(--green); font: inherit; cursor: pointer;
}
.brief-page button:disabled { opacity: .5; cursor: default; }
.brief-small, #brief-order-status { font-size: 13px; }
.brief-small { margin: 12px 0 0; }
.brief-reader-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px);
  align-items: center; padding-bottom: clamp(22px, 4vw, 44px); border-bottom: 2px solid var(--green);
}
.brief-reader-head .eyebrow { color: var(--green); }
.brief-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
#brief-copy-status:empty { display: none; }
.brief-map { margin: 0; }
.brief-map svg { width: 100%; height: auto; display: block; border: 1px solid #c8d1c3; border-radius: 3px; box-sizing: border-box; }
.brief-map figcaption { color: #52614e; font-size: 11px; text-align: right; margin-top: 6px; }
.brief-signals { padding: 0; list-style: none; margin: 0 0 24px; }
.brief-signal {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: clamp(12px, 2vw, 24px);
  border-bottom: 1px solid var(--line); padding: clamp(22px, 3.2vw, 36px) 0;
}
.brief-number {
  display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid #203e32; border-radius: 50%;
  color: #203e32; font: 650 17px/1 'DM Sans', sans-serif;
}
.brief-signal article { max-width: 78ch; }
.brief-signal h2 { font-size: clamp(26px, 3vw, 40px); margin: 6px 0 12px; }
.brief-signal h2 a { color: inherit; text-decoration: none; }
.brief-signal h2 a:hover, .brief-signal h2 a:focus { text-decoration: underline; }
.brief-meta { margin: 0; color: var(--green); font-size: 13px; font-weight: 600; }
.brief-observation, .brief-update p:not(.brief-meta,.brief-evidence) { font-size: 16px; line-height: 1.55; margin: 8px 0; }
.brief-evidence { display: flex; gap: 3px 8px; align-items: baseline; flex-wrap: wrap; margin: 10px 0 0; overflow-wrap: anywhere; }
.brief-evidence strong { font-size: 13px; }
.brief-update { margin-top: 16px; padding: 12px 16px; border-left: 3px solid #7f9976; background: #eef2e9; }
.brief-update h3 { margin: 0 0 5px; font: 650 17px/1.3 'DM Sans', sans-serif; }
@media (max-width: 720px) {
  .brief-page { width: calc(100% - 32px); }
  .brief-reader-head, .brief-workspace { grid-template-columns: 1fr; }
  .brief-options { max-height: 42vh; }
  .brief-signal { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .brief-number { width: 27px; height: 27px; font-size: 14px; }
}
@media print {
  @page { margin: 15mm; }
  html, body.fa-atlas-surface { background: white !important; color: #18221d; }
  .site-header { position: static !important; height: auto !important; padding: 0 0 3mm !important; border: 0 !important; }
  .site-header .wordmark { color: #18221d; }
  .site-header::after { content: 'thefutureisalreadyhere.com'; margin-left: auto; color: #4c594a; font: 9pt 'DM Sans', sans-serif; }
  .brief-actions, #brief-copy-status, .brief-manual, .brief-back, .brief-header-link, .fa-site-support, .skip-link, #wpadminbar { display: none !important; }
  .brief-page { width: 100%; margin: 3mm 0; }
  .brief-reader-head { display: flex; align-items: center; justify-content: space-between; gap: 8mm; padding: 2mm 0 4mm; break-inside: avoid; }
  .brief-reader-head > div { flex: 1; min-width: 0; }
  .brief-reader-head h1 { font-size: 25pt; line-height: 1.05; margin: 2mm 0; }
  .brief-map { width: 66mm; flex: 0 0 66mm; max-width: 40%; }
  .brief-map figcaption { font-size: 7pt; text-align: left; }
  .brief-signals { margin: 0; }
  .brief-signal { display: block; position: relative; padding: 4mm 0 3mm 9mm; break-inside: avoid; page-break-inside: avoid; }
  .brief-number { position: absolute; top: 4mm; left: 0; width: 6.5mm; height: 6.5mm; border-width: 1px; font-size: 10pt; }
  .brief-signal article { max-width: none; }
  .brief-signal h2 { font-size: 17pt; margin: 1.5mm 0 2mm; }
  .brief-signal h2, .brief-signal h3, .brief-meta { break-after: avoid; }
  .brief-page p { orphans: 3; widows: 3; }
  .brief-meta { font-size: 8pt; }
  .brief-observation, .brief-update p:not(.brief-meta,.brief-evidence) { font-size: 10pt; line-height: 1.35; margin: 1.5mm 0; }
  .brief-update { margin-top: 2mm; padding: 1mm 3mm; background: none; }
  .brief-update h3 { font-size: 11pt; }
  .brief-evidence { display: block; font-size: 8pt; margin-top: 1mm; }
  .brief-evidence strong { font-size: inherit; }
  .brief-evidence a::after { content: " (" attr(href) ")"; font-size: 7pt; overflow-wrap: anywhere; }
}
