/* The threat, function and solution map (scripts/build-ring-map-page.js, plan row GW-115). Additions to trust-pages.css and the
   house chrome; the house colour tokens only, so light and dark themes both hold; no inline style (the public-surface CSP).
   Meaning is never colour alone: the SVG's shapes, printed tier and status words, dashed outlines and dash patterns carry it. */
.rm-version { margin-top: .7rem; font-size: var(--t-s, .92rem); color: var(--ink-soft); }
.rm-sub { margin: 1.4rem 0 .5rem; font-size: var(--t-l, 1.1rem); color: var(--ink); }
.rm-count { font-weight: 400; color: var(--ink-soft); }
.rm-start-list, .rm-gap-list, .rm-ix-list, .rm-views-list { max-width: 66ch; padding-left: 1.3rem; color: var(--ink); line-height: 1.55; }
.rm-start-list li, .rm-gap-list li { margin-bottom: .35rem; }
.rm-gap-list ul { margin: .3rem 0 .6rem; padding-left: 1.1rem; color: var(--ink-soft); font-size: .95rem; }
.rm-start-tools { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; padding-left: 1.3rem; }
.rm-inline-tag { font-size: .85rem; color: var(--ink-soft); }

/* Views: closed by default; every control is a link. */
.rm-views { margin: .4rem 0 1rem; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-raise); max-width: 72ch; }
.rm-views summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.rm-views-note { margin: .6rem 0; font-size: .92rem; color: var(--ink-soft); max-width: 66ch; }
.rm-views-list li { margin-bottom: .5rem; }
.rm-view-name { font-weight: 600; }
.rm-views a[aria-current="true"], .rm-start-list a[aria-current="true"] { font-weight: 700; text-decoration-thickness: 2px; }
.rm-status { min-height: 1.4em; margin: .2rem 0 .6rem; font-size: .95rem; color: var(--ink); }
.rm-status:empty { display: none; }

/* The drawing: it scales to the column on a wide screen and scrolls inside its own region on a narrow one. */
.rm-figure { margin: 0; }
.rm-scroll { overflow-x: auto; overflow-y: hidden; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-raise); }
.rm-scroll:focus-visible { outline: 3px solid var(--c-know); outline-offset: 2px; }
.rm-svg { display: block; width: 100%; min-width: 60rem; height: auto; font-family: inherit; }
.rm-band-head { font-size: 17px; font-weight: 700; fill: var(--ink); }
.rm-label { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.rm-badge-text { font-size: 10.5px; fill: var(--ink-soft); }
.rm-credit { font-size: 11px; fill: var(--ink-soft); }
.rm-shape { stroke-width: 1.6; }
.rm-shape-inner { fill: none; stroke-width: 1; }
.rm-dashed { stroke-dasharray: 7 4; stroke-width: 2; }
.rm-k-threat .rm-shape { fill: var(--c-connect-soft); stroke: var(--c-connect); }
.rm-k-need .rm-shape { fill: var(--c-decide-soft); stroke: var(--c-decide); }
.rm-k-layer .rm-shape { fill: var(--c-work-soft); stroke: var(--c-work); }
.rm-k-evidence .rm-shape { fill: var(--c-know-soft); stroke: var(--c-know); }
.rm-k-evidence .rm-shape-inner { stroke: var(--c-know); }
.rm-open .rm-shape { fill: var(--bg-raise); }
.rm-node:focus-visible .rm-shape, .rm-node:hover .rm-shape { stroke-width: 3.2; }
.rm-node:focus { outline: none; }
.rm-node:focus-visible .rm-label { text-decoration: underline; }
.rm-edge { fill: none; stroke: var(--ink-soft); stroke-width: 1.3; opacity: .6; }
.rm-e-reduces { stroke-dasharray: none; }
.rm-e-detects { stroke-dasharray: 9 4; }
.rm-e-depends-on { stroke-dasharray: 12 3 2 3; }
.rm-e-links { stroke-dasharray: 2 3; opacity: .5; }
.rm-marker path { fill: var(--ink-soft); }
/* A view dims what it leaves out; nothing is removed from the drawing. */
.rm-svg .rm-dim { opacity: .14; }
.rm-svg .rm-edge.rm-dim { opacity: .05; }

/* The legend, with small drawn keys beside the words (the words carry the meaning). */
.rm-legend { margin-top: .7rem; font-size: .92rem; color: var(--ink); }
.rm-legend-row { margin: .3rem 0; max-width: 80ch; line-height: 1.6; }
.rm-key { display: inline-block; width: 1.4em; height: .9em; vertical-align: -.1em; border: 1.6px solid var(--ink-soft); }
.rm-key-threat { background: var(--c-connect-soft); border-color: var(--c-connect); clip-path: polygon(20% 0, 80% 0, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0 70%, 0 30%); }
.rm-key-need { background: var(--c-decide-soft); border-color: var(--c-decide); border-radius: 1em; }
.rm-key-layer { background: var(--c-work-soft); border-color: var(--c-work); border-radius: 3px; }
.rm-key-evidence { background: var(--c-know-soft); border: 3px double var(--c-know); }
.rm-key-open { border-style: dashed; border-width: 2px; }
.rm-line { display: inline-block; width: 2.2em; height: 0; vertical-align: .25em; border-top: 2px solid var(--ink-soft); }
.rm-line-detects { border-top-style: dashed; }
.rm-line-depends-on { border-top-style: dashed; border-top-width: 3px; }
.rm-line-links { border-top-style: dotted; }
.rm-print-only { display: none; }

/* The outline: the full reading. */
.rm-bands { list-style: none; padding: 0; margin: 0; }
.rm-band > h3 { margin: 2rem 0 .8rem; font-size: var(--t-xl, 1.3rem); color: var(--ink); }
.rm-claims { list-style: none; padding: 0; margin: 0; }
.rm-claim { margin: 0 0 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-left-width: 4px; border-radius: 6px; background: var(--bg-raise); max-width: 80ch; }
.rm-claim:target { border-color: var(--c-know); box-shadow: 0 0 0 2px var(--c-know); }
.rm-claim[hidden], .rm-band[hidden] { display: none; }
.rm-claim-title { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--ink); }
.rm-badges { margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .3rem .4rem; }
.rm-badge { display: inline-block; padding: .05em .5em; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; color: var(--ink); }
.rm-badge-kind { font-weight: 600; }
.rm-badge-open { border-style: dashed; border-width: 2px; }
.rm-badge-review { font-style: italic; }
.rm-statement { margin: 0 0 .6rem; line-height: 1.6; color: var(--ink); }
.rm-facts { margin: 0 0 .5rem; font-size: .93rem; line-height: 1.55; color: var(--ink); }
.rm-facts dt { font-weight: 600; margin-top: .35rem; }
.rm-facts dd { margin: 0; overflow-wrap: anywhere; }
.rm-facts q { font-style: italic; }
.rm-edge-list { margin: .4rem 0 0; padding-left: 1.2rem; font-size: .93rem; line-height: 1.55; color: var(--ink); }
.rm-edge-list li { margin-bottom: .2rem; }
.rm-ix h3 { margin: 1.6rem 0 .4rem; font-size: var(--t-l, 1.15rem); color: var(--ink); }
.rm-ix h4 { margin: .9rem 0 .3rem; font-size: 1rem; color: var(--ink); }
.rm-ix-list { margin: 0 0 .4rem; columns: 2 18rem; column-gap: 2rem; }
.rm-ix-list li { break-inside: avoid; margin-bottom: .2rem; }

/* The poster: the map, its legend, the date and the live address on one A3 landscape page. No site chrome, no outline. */
@media print {
  @page { size: A3 landscape; margin: 10mm; }
  header.site, footer.site-foot, .skip-link, .apex-about-page, nav, .overlay, .mesh { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  main > section { display: none !important; }
  main > section.hero, main > section#map { display: block !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; background: none !important; }
  .hero .sub, .band-head, .rm-views, .rm-status { display: none !important; }
  .hero h1 { font-size: 16pt; margin: 0 0 .1em; color: #000 !important; }
  .rm-version { font-size: 9pt; margin: 0 0 .3em; color: #000 !important; }
  .wrap { max-width: none !important; padding: 0 !important; }
  .rm-scroll { overflow: visible !important; border: 0 !important; background: none !important; }
  .rm-svg { min-width: 0 !important; width: 100% !important; max-height: 235mm; }
  .rm-svg .rm-dim { opacity: 1 !important; }
  .rm-legend { font-size: 8.5pt; color: #000 !important; margin-top: .2em; }
  .rm-legend-row { margin: .1em 0; max-width: none; }
  .rm-print-only { display: block !important; font-size: 8.5pt; margin-top: .3em; color: #000 !important; }
  a { color: #000 !important; text-decoration: none !important; }
}
