/* Fieldwork — the shared visual language of the public Brain Explorer.
   This layer contains presentation only; records and screening rules stay intact. */
:root {
  --paper: #f7f5ee;
  --ink: #1c3028;
  --muted: #59675d;
  --faint: #5c6a60;
  --line: #d5d9cb;
  --soft: #eeefe5;
  --shade: #f0f0e6;
  --teal: #32694f;
  --tint: #e6eddf;
  --copper: #985829;
  --focus: #a84e18;
  --surface: #fffdf7;
  --gold: #dfc18a;
  --forest: #102d26;
  --radius: 18px;
  --shadow: 0 18px 50px -32px #173b2940;
  --margin: clamp(20px, 5.3vw, 90px);
}
:root[data-theme=ink] {
  --paper: #111f1a;
  --ink: #eef0e3;
  --muted: #b8c5b8;
  --faint: #a4b6a7;
  --line: #344b3e;
  --soft: #1b3026;
  --shade: #182b22;
  --teal: #b5d9a7;
  --tint: #263d2d;
  --copper: #edbf8b;
  --focus: #ffd28e;
  --surface: #182b22;
  --shadow: 0 18px 50px -32px #0009;
}
body { line-height: 1.5; }
.mast { background: var(--paper); }
.mast-inner { min-height: 86px; gap: 24px; }
.brand { font-size: 29px; }
.brand-tag { line-height: 1.7; letter-spacing: 1.3px; }
.mast nav { gap: clamp(20px, 2.5vw, 40px); }
.mast nav a { font-size: 13px; }
.mast nav a[aria-current]::after { height: 2px; bottom: 18px; }
.mast-actions { gap: 6px; }
.icon-btn { width: 40px; height: 40px; }
.tools-menu summary { min-height: 44px; display: flex; align-items: center; gap: 9px; list-style: none; }
.tools-menu summary::-webkit-details-marker { display: none; }
.tools-menu summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: -3px 3px 0; transition: transform .18s; }
.tools-menu[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.tools-menu > div { min-width: 205px; padding: 8px; border-radius: 12px; box-shadow: var(--shadow); background: var(--surface); }
.mast .tools-menu > div a { padding: 12px 14px; border-radius: 6px; }
.mast .tools-menu > div a:hover { background: var(--soft); }
.mast .tools-menu > div a[aria-current]::after { display: none; }
main { padding-top: 48px; padding-bottom: 80px; }
.page-caption, .kicker { letter-spacing: 1.6px; }
.little-square { width: 6px; height: 6px; border-radius: 50%; }
.page-hed { margin: 18px 0 38px; }
.page-hed h1 { font-weight: 520; letter-spacing: -.065em; }
.page-hed h1 em { color: var(--teal); }
.page-hed p { font-size: 16px; line-height: 1.65; max-width: 360px; }

/* A generous opening, balanced by the compact working field below it. */
.net-intro { position: relative; align-items: flex-end; margin: 22px 0 36px; gap: 36px; }
.net-intro h1 { font-size: clamp(64px, 8.3vw, 133px); font-weight: 520; line-height: .91; letter-spacing: -.065em; }
.net-intro h1 > span { display: block; font-size: .64em; line-height: 1.16; letter-spacing: -.055em; }
.net-intro h1 em { display: block; line-height: 1.05; letter-spacing: -.035em; }
.net-intro > p { max-width: 290px; padding-bottom: 10px; font-size: 15px; line-height: 1.65; }
.net-intro-compact { margin: 16px 0 24px; }
.net-intro-compact h1 { font-size: clamp(42px, 4.8vw, 70px); line-height: 1.1; }
.net-intro-compact h1 > span { display: inline; font-size: 1em; }
.net-intro-compact h1 em { display: inline; }
.net-intro-compact > p { font-size: 13px; padding: 0; }
.net-start { margin-top: 16px; font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.net-trail { min-height: 52px; padding: 14px 0; gap: 8px; border-color: var(--line); }
.net-trail > small { margin-right: 14px; letter-spacing: 1px; }
.net-trail .stop { gap: 9px; min-width: 0; max-width: 100%; }
.net-trail .stop > a, .net-trail .stop > b { min-width: 0; max-width: 36ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.5; }
.net-trail .stop::before { width: 7px; height: 7px; border-width: 1px; }
.net-trail .stop.here::before { animation: none; box-shadow: 0 0 0 4px var(--tint); }
.net-trail .seg { width: 25px; height: 1px; opacity: .6; }
.net-trail .trail-back { padding: 8px 0; }
.trail-share { min-height: 36px; padding: 8px 14px; background: var(--surface); }

/* Contour lines are decorative, not geographic or relationship data. */
.net-board {
  --net-gap: clamp(42px, 8vw, 128px);
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 0 var(--net-gap);
  padding: 0 clamp(24px, 4vw, 62px);
  border: 1px solid #36594a;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 83% 15%, #496b423b, transparent 60%),
    radial-gradient(ellipse at 2% 110%, #54867140, transparent 65%), #102d26;
  box-shadow: 0 24px 50px -30px #0b291b75;
}
.net-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .65;
  background: url('./contours.svg') right center / cover no-repeat;
  pointer-events: none;
}
.net-board-register, .net-board-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #bfd2bf;
  font: 9px/1.6 var(--mono);
  letter-spacing: 1.3px;
}
.net-board-register { min-height: 68px; border-bottom: 1px solid #c7dfba24; margin-bottom: 48px; }
.net-board-register > span:first-child { display: flex; align-items: center; gap: 10px; }
.net-board-register i { width: 7px; height: 7px; border: 1px solid #d9d9a7; transform: rotate(45deg); }
.net-board-foot { margin-top: 32px; min-height: 62px; border-top: 1px solid #c7dfba24; letter-spacing: .2px; }
.net-board-foot > span > span { color: #759484; padding: 0 8px; }
.net-origin { border: 1px solid #bfd9b447; background: linear-gradient(135deg, #2b4f3f, #1f4235); border-radius: 12px; padding: clamp(22px, 2.7vw, 42px); }
.net-origin > small { color: #d4e3ca; font-size: 9px; letter-spacing: 1.5px; }
.net-origin i { margin-right: 6px; width: 6px; height: 6px; background: #e5d293; box-shadow: 0 0 18px #e5d29355; }
.net-origin h2 { font-size: clamp(37px, 4.8vw, 74px); font-weight: 520; line-height: 1.03; margin: 20px 0 12px; letter-spacing: -.05em; color: #f1f3dd; }
.net-origin-medium h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; }
.net-origin-long h2 { font-size: clamp(23px, 1.8vw, 30px); line-height: 1.2; letter-spacing: -.035em; }
.net-origin p { color: #c3d4c4; font-size: 14px; line-height: 1.55; max-width: 310px; }
.net-origin-actions { gap: 8px 18px; margin-top: 24px; }
.net-origin-actions button, .net-origin-actions a { min-height: 40px; display: inline-flex; align-items: center; color: #e7e5bc; font-size: 12px; }
.net-origin-actions button:hover, .net-origin-actions a:hover { color: #fff; }
.net-origin::after { width: calc(var(--net-gap) / 2); background: #c4d4a3bf; }
.net-branches > small { position: absolute; bottom: 100%; margin-bottom: 14px; font-size: 9px; letter-spacing: 1.5px; color: #c1d3bd; }
.net-branches::before { display: none; }
.net-branch-slot { position: relative; padding-block: 6px; }
.net-branch-slot::before { content: ""; position: absolute; width: 1px; background: #c4d4a3bf; left: calc(var(--net-gap) / -2); top: 0; bottom: 0; }
.net-branch-slot:first-of-type::before { top: 50%; }
.net-branch-slot:last-of-type::before { bottom: 50%; }
.net-branch {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 32px;
  gap: 14px;
  padding: 19px 22px;
  margin: 0;
  min-height: 86px;
  border: 1px solid #d9e5c8;
  border-radius: 10px;
  background: #eff2df;
  color: #1e392b;
  box-shadow: 0 8px 14px -10px #0007;
  overflow: visible;
  transition: transform .22s, background .22s, box-shadow .22s;
}
.net-branch:last-child { margin-bottom: 0; }
.net-branch::before { width: calc(var(--net-gap) / 2); background: #c4d4a3bf; }
.net-branch small { font-size: 9px; color: #4e6a52; line-height: 1.5; letter-spacing: 1px; margin-bottom: 4px; }
.net-branch b { font-size: clamp(18px, 1.7vw, 25px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; overflow-wrap: anywhere; }
.net-branch-number { color: #5a6b54; font: 10px var(--mono); align-self: start; padding-top: 3px; }
.net-branch-arrow { border: 1px solid #bfcdb1; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-size: 19px; font-weight: 400; }
.net-branch:hover, .net-branch:focus-visible { transform: translateX(4px); background: #fbf8e9; box-shadow: 0 12px 25px -12px #0007; }
.net-branch:hover .net-branch-arrow { background: #234b38; border-color: #234b38; color: #f7f5dd; }
.net-branch.go { background: #fbf8e9; border-color: #e1cf9c; transform: translateX(4px); }
.net-branch.go .net-branch-arrow { background: #234b38; border-color: #234b38; color: #f7f5dd; }
.net-branch.go::after { display: none; }
.net-board.arrive .net-origin { animation: fieldArrive .4s both; }
.net-board.arrive .net-branch { animation-name: fieldArrive; }
@keyframes fieldArrive { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* Evidence stays in the reading flow, with clear source and action hierarchy. */
.net-alert { max-width: none; margin-top: 20px; padding: 15px 20px; border-radius: 0 10px 10px 0; border-width: 0 0 0 2px; background: color-mix(in srgb, #d8bb7a 12%, var(--paper)); font-size: 13px; line-height: 1.6; }
.net-alert b { color: var(--ink); }
.net-receipt { margin-top: 20px; padding: 16px 20px; border-radius: 0 10px 10px 0; border-left-width: 2px; line-height: 1.65; }
.net-receipt summary { min-height: 28px; }
.net-surprise { border-radius: 10px; margin-bottom: 16px; padding: 16px 20px; }
.net-section { margin: 46px 0 16px; }
.net-section h2 { font-size: clamp(31px, 3.3vw, 48px); font-weight: 520; margin: 8px 0 10px; }
.net-section > div > small { color: var(--muted); font-size: 13px; }
.net-section label { gap: 7px; font-size: 10px; }
.net-section input { width: 260px; max-width: 100%; min-height: 44px; padding: 11px 14px; background: var(--surface); border-radius: 8px; }
.net-note { max-width: 900px; font-size: 13px; line-height: 1.65; margin-bottom: 24px; }
.net-row { padding: 23px 8px; gap: 24px; }
.net-row:hover { background: var(--soft); }
.net-row small { font-size: 9px; letter-spacing: .7px; }
.net-to { font-size: 23px; font-weight: 560; line-height: 1.25; margin: 6px 0 8px; }
.net-to span { display: inline-block; transition: transform .2s; }
.net-to:hover span { transform: translateX(4px); }
.net-row p { font-size: 13px; line-height: 1.55; }
.net-links { gap: 7px; }
.net-src { font-size: 10px; line-height: 1.65; text-decoration-color: var(--line); text-underline-offset: 5px; }
.net-src:hover { text-decoration-color: var(--teal); color: var(--teal); }
#net-rows > .outline { margin-top: 24px; }

/* The same materials carry through the research instruments and work tables. */
.instrument, .signal, .municipal-map { border-radius: var(--radius); box-shadow: var(--shadow); }
.instrument::before { opacity: .4; }
.ins-top { padding-top: 26px; }
.ins-bottom { min-height: 60px; }
.metrics { margin: 32px 0 46px; }
.metrics button { padding-top: 22px; padding-bottom: 24px; }
.metrics strong { margin-top: 12px; }
.tool-grid, .lib-grid { gap: 18px; }
.tool-card, .lib-grid a { border-radius: 12px; background: var(--surface); padding: 23px; }
.tool-card:hover, .lib-grid a:hover { box-shadow: var(--shadow); }
.tool-card p, .lib-grid p { line-height: 1.6; }
.lib-grid .archive { color: var(--copper); }
.section-top { margin-bottom: 22px; }
.library-note, .about-grid section { border-radius: 12px; padding: 26px; }
.about-grid { gap: 18px; }
.about-grid h2 { margin: 10px 0 12px; font-size: 26px; font-weight: 550; }
.about-grid p, .about-grid li { line-height: 1.75; }
.desk-nav { gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 24px; background: var(--soft); min-height: 52px; width: fit-content; }
.desk-nav a { min-height: 40px; padding: 8px 18px; border-radius: 8px; font-size: 13px; gap: 9px; }
.desk-nav a[aria-current] { background: var(--surface); box-shadow: 0 2px 5px #00000009; }
.desk-nav a[aria-current]::after { display: none; }
.project-bar { margin: 20px 0 18px; gap: 18px; }
.project-bar > div { gap: 8px 18px; }
.project-bar strong { font-size: 19px; }
.plot-zone { background: radial-gradient(ellipse at center, #44684d77, transparent 70%), url('./contours.svg') center / cover, #142e25; padding: 25px; }
.radial { width: min(100%, 340px); margin: 12px 0; }
.blip { width: 30px; height: 30px; font-size: 10px; }
.selected-readout { background: radial-gradient(ellipse at right top, #35533555, transparent 80%), #142b23; padding: clamp(28px, 3.4vw, 54px); }
.selected-readout h2 { font-weight: 520; font-size: clamp(30px, 3.1vw, 49px); line-height: 1.08; }
.selected-readout p { line-height: 1.65; margin: 18px 0 22px; }
.selected-readout .issuer { line-height: 1.5; }
.readout-foot button { min-height: 40px; }
.desk-caption, .fig-caption { margin-top: 12px; line-height: 1.65; }
.desk-section { margin: 44px 0; }
.sect-top { margin-bottom: 24px; }
.desk-filters { gap: 8px; margin-bottom: 20px; }
.desk-filters button { min-height: 38px; border-radius: 999px; padding: 8px 15px; }
.desk-filters button small { opacity: 1; }
.queue-row { min-height: 86px; padding: 20px 12px; }
.queue-row.is-past { opacity: 1; background: var(--shade); }
.countdown.urgent { color: var(--paper); }
.selected-readout .countdown.urgent { background: #f2c38b; color: #1d3025; border-color: #f2c38b; }
.qname { font-size: 17px; line-height: 1.3; }
.qname small { margin-top: 7px; line-height: 1.5; }
.desk-bottom, .partner-banner, .guide-intro, .studio-side { border-radius: 12px; padding: 26px; background: var(--surface); }
.desk-bottom p, .guide-intro p, .partner-banner p { line-height: 1.7; }
.desk-bottom + .desk-bottom { margin-top: 18px; }
.desk-work { gap: clamp(24px, 4vw, 65px); }
.studio-main { padding-top: 18px; }
.note-field { margin: 22px 0; gap: 9px; }
.note-field textarea { min-height: 110px; line-height: 1.65; }
.checklist { border-radius: 10px; padding: 16px 20px; }
.checklist label { padding: 8px 0; }
.guide-intro { padding: 30px; margin-bottom: 25px; }
.lesson summary { padding: 23px 12px; gap: 25px; }
.lesson summary strong { font-size: 23px; margin-top: 5px; }
.lesson-inner { padding: 0 48px 30px; max-width: 850px; }
.lesson-inner p { font-size: 15px; line-height: 1.8; }
.lesson-inner .exercise { margin-top: 18px; padding: 12px 18px; background: var(--soft); }
.lesson-inner .desk-ext { padding-block: 10px; }
.partner-row { padding: 20px 12px; min-height: 78px; }
.municipal-side { padding: clamp(24px, 3vw, 46px); }
.municipal-plot { background-color: #132b23; }
.filter-bar { padding: 18px; gap: 18px; border-radius: 12px; margin-top: 24px; }
.search-control, .quick-input { border-radius: 8px; background: var(--surface); }
.search-control input, .quick-input input { height: 48px; }
.select-control { gap: 6px; }
.select-control select { min-height: 28px; }
.results-head { margin-block: 28px 16px; }
.trow { padding-block: 18px; min-height: 78px; }
.big-cell { line-height: 1.4; }
.tag { border-radius: 5px; padding: 5px 8px; }
#flow { border-radius: 12px; margin-bottom: 30px; }
.flow-caption, .flow-foot { padding: 20px 24px; }
.flow-scene { padding: 24px; }
.context-banner, .compare-dock, .crossdesk { border-radius: 10px; padding: 16px 18px; }

/* Controls and reading panes. */
.outline, .desk-solid, .desk-actions .outline, .project-bar .outline,
.desk-bottom .outline, .partner-banner .outline, .desk-more, .about-cta a.solid {
  min-height: 42px;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 13px;
  line-height: 1.35;
}
.desk-form input, .desk-form select, .studio-side select, .note-field textarea,
.partner-controls select, .export-text, .desk-search { border-radius: 8px; }
dialog { border-radius: 16px; width: min(650px, calc(100% - 32px)); box-shadow: 0 30px 100px #00160c55; }
dialog.wide { width: min(790px, calc(100% - 32px)); }
dialog::backdrop { background: #09231bb8; backdrop-filter: blur(7px); }
.modal-bar { padding: 14px 18px 14px 30px; }
.modal-body { padding: 28px 30px 34px; }
.modal-body > h2 { line-height: 1.08; margin-bottom: 24px; }
.modal-body p { line-height: 1.7; }
.modal-body h3 { margin-top: 28px; }
.desk-form > .desk-sticky { position: static; box-shadow: none; justify-self: start; }
.datum { padding: 12px 0; gap: 6px; }
.datum span { line-height: 1.5; }
.source-box { border-radius: 0 8px 8px 0; padding: 18px; }
.quick-result, .net-hit { padding: 16px 6px; }
.quick-result b, .net-hit b { line-height: 1.4; }
.net-hit:hover { background: var(--soft); }
.relation-links button { border-radius: 8px; padding: 15px; }
.grant-hero { border-radius: 0 8px 8px 0; padding: 22px; }
footer { padding-top: 32px; padding-bottom: 35px; align-items: flex-start; gap: 24px; }
footer > span:not(.foot-links) { max-width: 430px; line-height: 1.7; }
.foot-links { row-gap: 10px; }

@media (max-width: 1100px) {
  .mast-inner { gap: 16px; }
  .brand-tag { display: none; }
  .net-intro > p { max-width: 260px; font-size: 14px; }
  .net-board { padding-inline: 28px; }
  .net-branch { padding: 16px; gap: 10px; grid-template-columns: 20px minmax(0, 1fr) 28px; }
  .net-origin { padding: 24px; }
  .net-origin-actions { gap: 5px 14px; }
  .net-board-foot { font-size: 8px; }
}
@media (max-width: 760px) {
  .net-intro { display: block; margin-top: 18px; margin-bottom: 26px; }
  .net-intro h1 { font-size: clamp(65px, 12.7vw, 100px); }
  .net-intro > p { max-width: 480px; margin-top: 18px; padding: 0; }
  .net-start { margin-top: 10px; }
  .net-board { --net-gap: 42px; padding-inline: 22px; }
  .net-origin { padding: 20px; }
  .net-origin h2 { font-size: 37px; }
  .net-branch { grid-template-columns: minmax(0, 1fr) 26px; padding: 16px; }
  .net-branch-number { display: none; }
  .net-branch b { font-size: 18px; }
  .net-board-register { margin-bottom: 44px; min-height: 58px; }
  .net-board-foot { margin-top: 24px; }
}
@media (max-width: 690px) {
  :root { --margin: 20px; --radius: 14px; }
  .mast-inner { gap: 0; min-height: 0; }
  .mast-inner > .brand { margin-block: 20px 16px; font-size: 27px; }
  .brand-tag { display: block; font-size: 7px; line-height: 1.6; padding-left: 12px; margin-left: 14px; }
  .mast-actions { padding-left: 0; gap: 3px; }
  .mast .icon-btn { width: 38px; height: 38px; }
  .mast-inner nav { min-height: 46px; gap: 0; }
  .mast nav a { font-size: 12px; }
  .mast nav a[aria-current]::after { bottom: 0; }
  .tools-menu summary { font-size: 12px; }
  main { padding-top: 30px; padding-bottom: 48px; }
  .page-caption { font-size: 8px; letter-spacing: 1.1px; }
  .page-hed { margin: 14px 0 26px; }
  .page-hed p { font-size: 14px; line-height: 1.65; margin-top: 16px; }
  .net-trail { font-size: 12px; gap: 9px; padding-block: 14px; }
  .net-trail > small { margin-right: 6px; font-size: 9px; }
  .net-section { margin-top: 32px; }
  .net-section label { margin-top: 18px; }
  .net-section input { width: 100%; font-size: 16px; }
  .net-note { font-size: 12px; margin-bottom: 20px; }
  .net-row { padding: 20px 0; }
  .net-to { font-size: 21px; }
  .net-row p { font-size: 12px; }
  .net-row small { font-size: 8px; }
  .net-alert { padding: 13px 16px; font-size: 12px; }
  .net-receipt { padding: 14px 16px; font-size: 12px; }
  .tool-card { padding: 18px 115px 18px 18px; }
  .thumb-art { top: 22px; }
  .metrics button { padding-block: 18px; }
  .metrics { margin: 26px 0 32px; }
  .ins-top { padding: 16px 14px 0; }
  .ins-bottom { padding: 12px 14px; }
  .desk-nav { width: 100%; gap: 2px; padding: 4px; margin-bottom: 20px; }
  .desk-nav a { padding: 8px 10px; font-size: 12px; justify-content: center; min-height: 42px; }
  .desk-nav small { display: none; }
  .project-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 16px; margin: 16px 0; }
  .project-bar > div { display: contents; }
  .project-bar .kicker { grid-column: 1 / -1; display: block; font-size: 8px; line-height: 1.65; margin-bottom: 3px; }
  .project-bar strong, .project-bar small { grid-column: 1; }
  .project-bar strong { font-size: 17px; }
  .project-bar small { font-size: 12px; }
  .project-bar button { grid-column: 2; grid-row: 2 / 4; min-height: 42px; }
  .plot-zone { padding: 14px; }
  .selected-readout { padding: 24px; }
  .selected-readout h2 { font-size: 30px; }
  .selected-readout p { font-size: 13px; line-height: 1.65; margin-block: 14px 18px; }
  .selected-readout .issuer { font-size: 12px; }
  .desk-filters { gap: 6px; margin-bottom: 18px; }
  .desk-filters button { padding: 8px 11px; font-size: 11px; }
  .queue-row { gap: 10px; padding: 18px 4px; min-height: 86px; }
  .qname { font-size: 15px; }
  .qname small { font-size: 12px; }
  .sect-top { margin-bottom: 20px; }
  .desk-bottom, .partner-banner, .guide-intro, .studio-side { padding: 22px; }
  .desk-work { gap: 18px; }
  .lesson summary { padding: 21px 3px; gap: 16px; }
  .lesson summary strong { font-size: 19px; }
  .lesson-inner { padding: 0 12px 24px 30px; }
  .lesson-inner p { font-size: 14px; }
  .municipal-side { padding: 22px; }
  .filter-bar { padding: 14px; gap: 14px; }
  .search-control input { font-size: 16px; }
  .select-control select { font-size: 12px; }
  .trow { padding: 18px 28px 18px 4px; }
  .library-note, .about-grid section { padding: 22px; }
  .about-grid h2 { font-size: 24px; }
  .modal-bar { padding: 10px 12px 10px 20px; }
  .modal-body { padding: 22px 20px 28px; }
  .modal-body > h2 { font-size: 32px; }
  .modal-body p { font-size: 14px; }
  .desk-form input, .desk-form select, .note-field textarea, .studio-side select { font-size: 16px; }
  .budget-pair { grid-template-columns: 1fr; gap: 12px; }
  footer { gap: 16px; font-size: 11px; padding-block: 28px; }
}
@media (max-width: 560px) {
  .net-board { grid-template-columns: 1fr; gap: 0; padding-inline: 18px; }
  .net-board-register { min-height: 54px; margin-bottom: 18px; font-size: 7px; letter-spacing: 1px; gap: 8px; }
  .net-origin { padding: 23px; }
  .net-origin h2 { margin-top: 16px; font-size: clamp(35px, 10vw, 48px); }
  .net-origin > small { font-size: 8px; }
  .net-origin p { font-size: 13px; }
  .net-origin-actions { margin-top: 16px; gap: 2px 16px; }
  .net-origin-actions button, .net-origin-actions a { font-size: 12px; }
  .net-origin::after { width: 1px; height: 30px; left: 17px; top: 100%; }
  .net-branches { padding-left: 30px; margin-top: 26px; }
  .net-branches > small { position: static; margin-bottom: 12px; font-size: 8px; }
  .net-branches::before { display: block; left: 17px; right: auto; top: -26px; bottom: 0; height: 57px; background: #c4d4a3bf; }
  .net-branch-slot::before { left: -13px; }
  .net-branch-slot:first-of-type::before { top: 0; }
  .net-branch { min-height: 78px; padding: 16px; border-radius: 8px; gap: 10px; }
  .net-branch small { font-size: 8px; letter-spacing: .6px; }
  .net-branch b { font-size: 19px; }
  .net-branch::before { width: 13px; }
  .net-board-foot { display: block; margin-top: 23px; padding-block: 16px; min-height: 0; font-size: 8px; }
  .net-board-foot > span { display: block; }
  .net-board-foot > span + span { margin-top: 6px; color: #a9c0ac; }
  .net-links { margin-top: 14px; gap: 4px; }
  .net-src { margin: 0; }
}
@media (max-width: 510px) {
  main { padding-top: 24px; }
  .net-intro { margin: 12px 0 20px; }
  .net-intro h1 { font-size: clamp(59px, 13.8vw, 72px); }
  .net-intro > p { font-size: 14px; margin-top: 14px; }
  .net-start { margin-top: 12px; }
  .net-origin { padding: 18px 20px; }
  .net-origin h2 { font-size: 36px; margin: 10px 0 8px; }
  .net-origin p { line-height: 1.5; }
  .net-origin-actions { margin-top: 10px; }
  .net-board-register { min-height: 46px; margin-bottom: 14px; }
  .desk-nav a { font-size: 11px; padding-inline: 8px; }
  .plot-zone { height: 254px; padding: 24px 14px; }
  .radial { width: 236px; margin: 0; }
  .blip { width: 26px; height: 26px; font-size: 9px; }
  .plot-register { font-size: 7px; top: 15px; left: 18px; right: 18px; }
  .plot-register:last-child { top: auto; bottom: 13px; }
  .selected-readout h2 { font-size: 31px; }
  .selected-readout .light-kicker { font-size: 8px; }
  .desk-section { margin-top: 34px; }
  .municipal-side { padding: 20px; }
}
@media (max-width: 370px) {
  :root { --margin: 16px; }
  .brand-tag { display: none; }
  .net-intro h1 { font-size: 56px; }
  .net-board { padding-inline: 14px; }
  .net-origin { padding: 19px; }
  .net-branch { padding: 13px; }
  .net-branch b { font-size: 17px; }
  .net-branch-arrow { width: 25px; height: 25px; font-size: 16px; }
  .net-board-register { letter-spacing: .5px; }
  .desk-nav a { padding-inline: 6px; font-size: 10px; }
}
@media (max-width: 760px) {
  .net-intro-compact h1 { font-size: clamp(32px, 6.5vw, 48px); }
  .net-intro-compact > p { margin-top: 10px; font-size: 13px; }
  .net-origin-medium h2 { font-size: 30px; }
  .net-origin-long h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .net-board, .signal, .instrument, .municipal-map { border: 1px solid CanvasText; }
  .net-board::before { display: none; }
  .net-branch, .net-origin, .net-branch-arrow { border: 1px solid CanvasText; }
  .net-origin::after, .net-branches::before, .net-branch::before, .net-branch-slot::before { background: CanvasText; forced-color-adjust: none; }
}
