.engineering-docs {
  --ed-ground: #071827;
  --ed-field: #0b2335;
  --ed-bright: #13c8d3;
  --ed-ice: #99eff0;
  --ed-type: #eff7fa;
  --ed-muted: #c1d6df;
  --ed-line: #305061;
  color: var(--ed-type);
}
.engineering-docs main {background: var(--ed-ground)}
.ed-hero {
  background: radial-gradient(ellipse at 78% 54%, #113a48 0%, #0c293a 25%, #0a2133 52%, #081c2c 84%);
  border-bottom: 1px solid var(--ed-line);
}
.ed-crumb {padding-top: clamp(16px, 1.8vw, 26px)}
.ed-crumb ol {padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; color: #d6e6ed; font-size: .84rem; line-height: 1.45}
.ed-crumb a {display: inline-flex; align-items: center; min-height: 32px}
.ed-crumb li + li {display: inline-flex; align-items: center; gap: 12px}
.ed-crumb li + li::before {content: ""; width: 13px; height: 1px; background: #759ba9}
.ed-crumb li[aria-current] {color: #e4f9fb}
.ed-crumb a:hover, .ed-backlinks a:hover {color: var(--ed-ice); text-decoration: underline; text-underline-offset: .25em}
.ed-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, .82fr);
  gap: clamp(32px, 6.4vw, 108px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 60px) 0 clamp(42px, 5.2vw, 85px);
}
.ed-opening h1, .ed-directory h2, .ed-article h2, .ed-related-label {font-weight: 550; color: var(--ed-bright); letter-spacing: -.05em; line-height: 1.08}
.engineering-index h1 {font-size: clamp(3.05rem, 5.8vw, 6rem); letter-spacing: -.074em}
.engineering-index h1 span {display: block; color: var(--ed-ice); font-weight: 460}
.ed-lead {max-width: 64ch; line-height: 1.66; font-size: clamp(1rem, 1.22vw, 1.16rem); margin-top: clamp(15px, 1.7vw, 28px); color: var(--ed-type)}
.ed-index-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 23px;
  padding: 10px 17px; background: #13c8d3; border: 1px solid #55dce1; border-radius: 5px;
  color: #06202a; font-size: .92rem; line-height: 1.35; font-weight: 610; transition: background .18s, box-shadow .18s;
}
.ed-index-link:hover {background: #74e8eb; box-shadow: 0 0 0 4px #22c1cb17}
.ed-figure {
  min-width: 0; overflow: hidden; isolation: isolate; position: relative; padding: clamp(12px, 1.8vw, 27px);
  border: 1px solid #396072; border-radius: 7px;
  background: radial-gradient(ellipse at 56% 32%,#10415280,transparent 69%),#0a2031;
  box-shadow: 0 16px 43px #03131e4d;
}
.ed-illustration {
  position: relative;
  background-image: linear-gradient(#59cdd217 1px, transparent 1px),linear-gradient(90deg,#59cdd217 1px, transparent 1px);
  background-size: 29px 29px;
  background-position: center;
}
.ed-illustration img {position: relative; display: block; width: 100%; height: auto; aspect-ratio: 2 / 1}
.ed-figure figcaption {
  display: flex; flex-wrap: wrap; gap: 0 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid #345665; margin-top: 7px; padding-top: 4px;
  font-size: .84rem; line-height: 1.4; color: var(--ed-muted);
}
.ed-figure figcaption > span {font-weight: 560}
.ed-figure figcaption a, .ed-backlinks a, .ed-inline {
  text-decoration: underline; text-underline-offset: .22em; text-decoration-color: #6996a8;
}
.ed-figure figcaption a {display: inline-flex; align-items: center; min-height: 36px; color: #d5f6f7}
.ed-figure figcaption a:hover, .ed-inline:hover {color: var(--ed-ice); text-decoration-color: currentColor}
.ed-directory {padding-block: clamp(36px, 4.7vw, 72px) clamp(48px, 6vw, 90px)}
.ed-directory > h2, .ed-article h2, .ed-related-label {font-size: clamp(1.75rem, 2.55vw, 2.7rem)}
.ed-entries {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(30px, 5.2vw, 87px);
  list-style: none; padding: 0; margin: clamp(21px, 2.5vw, 37px) 0 0;
}
.ed-entries li {border-top: 1px solid var(--ed-line)}
.ed-entry {
  height: 100%; display: grid; grid-template-columns: minmax(0,1fr) 27px; align-items: start; gap: 7px 15px;
  padding: clamp(17px, 1.7vw, 26px) 4px clamp(18px, 2vw, 30px) 1px;
  border-radius: 2px; transition: background-color .18s;
}
.ed-entry:hover {background-color: #102f408a}
.ed-entry h3 {font-size: clamp(1.35rem, 1.9vw, 2rem); line-height: 1.13; letter-spacing: -.045em; color: var(--ed-bright); font-weight: 570}
.ed-entry p {grid-column: 1; font-size: 1rem; line-height: 1.55; color: #e3eff4; max-width: 57ch}
.ed-book {
  justify-self: end; grid-row: 1; grid-column: 2; position: relative; width: 17px; height: 20px; margin: 2px 2px 0 0;
  border: 1px solid #719eaa; border-left: 3px double #77adbb; border-radius: 2px 3px 3px 2px; transition: border-color .18s;
}
.ed-book::after {content: ""; position: absolute; top: 5px; right: 3px; left: 3px; height: 1px; background: #77adbb; box-shadow: 0 4px #77adbb}
.ed-entry:hover .ed-book {border-color: var(--ed-bright)}
.ed-discipline {color: #b4dce5; font-family: var(--mono); font-size: .85rem; line-height: 1.5; margin-bottom: 13px}
.engineering-guide .ed-hero-grid {grid-template-columns: minmax(0,1.4fr) minmax(230px,.65fr); gap: clamp(28px, 4.5vw, 78px)}
.engineering-guide h1 {font-size: clamp(2.15rem, 3.6vw, 3.95rem); letter-spacing: -.056em; line-height: 1.095}
.ed-term {color: var(--ed-ice)}
.ed-visual {min-width: 0}
.ed-visual > summary {display: none}
.engineering-guide .ed-figure {padding: clamp(11px, 1.1vw, 19px)}
.engineering-guide .ed-figure figcaption {font-size: .81rem; gap: 0 8px}
.ed-reader {
  display: grid; grid-template-columns: minmax(196px, .36fr) minmax(0, 1fr); gap: clamp(34px, 6.6vw, 110px);
  align-items: start; padding-block: clamp(40px, 4.8vw, 77px) clamp(46px, 5.3vw, 84px);
}
.ed-rail {position: sticky; top: calc(var(--mast) + 22px); align-self: start}
.ed-toc {border-block: 1px solid var(--ed-line); padding: 2px 0 7px}
.ed-toc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 45px; font-size: .94rem; color: #d5edf0; font-weight: 650;
}
.ed-chevron {width: 9px; height: 9px; border: solid #7eb5c0; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-right: 5px}
.ed-toc[open] .ed-chevron {transform: rotate(225deg)}
.ed-toc ol {list-style: none; padding: 0; margin: 4px 0 8px}
.ed-toc a {
  display: block; text-wrap: pretty; line-height: 1.43; padding: 8px 8px 8px 12px;
  border-left: 2px solid #355463; font-size: .91rem; color: #d1e1e9;
}
.ed-toc a:hover, .ed-toc a[aria-current=location] {background: #0c2a3b; color: var(--ed-ice); border-left-color: var(--ed-bright)}
.ed-article {width: 100%; max-width: 76ch; min-width: 0}
.ed-article p, .ed-chapter li {font-size: clamp(1.025rem, 1.18vw, 1.13rem); line-height: 1.72; color: var(--ed-type)}
.ed-chapter h2, .ed-qas > h2 {margin-bottom: 17px}
.ed-chapter p + p {margin-top: 12px}
.ed-chapter ul {margin: 18px 0 0; padding-left: 1.35em}
.ed-chapter li {padding-left: .15em; margin: 5px 0}
.ed-chapter li::marker {color: var(--ed-bright); font-size: .85em}
.ed-chapter + .ed-chapter, .ed-qas {margin-top: clamp(27px, 3.3vw, 51px); padding-top: clamp(26px, 3.15vw, 49px); border-top: 1px solid var(--ed-line)}
.ed-inline {color: #b9f1f2}
.ed-qas {background: linear-gradient(135deg,#103246,#0a2234 78%); border: 1px solid #305668; border-radius: 7px; padding: clamp(19px, 2.35vw, 35px)}
.ed-qas > h2 {font-size: clamp(1.5rem, 2.12vw, 2.25rem)}
.ed-answer {padding: 15px 0 0}
.ed-answer + .ed-answer {margin-top: 18px; border-top: 1px solid var(--ed-line)}
.ed-answer h3 {font-size: clamp(1.1rem, 1.43vw, 1.45rem); line-height: 1.32; letter-spacing: -.025em; color: var(--ed-ice); font-weight: 585}
.ed-answer p {margin-top: 7px}
.ed-related {padding: clamp(29px, 3.9vw, 63px) 0; border-top: 1px solid var(--ed-line); background: var(--ed-field)}
.ed-related ul {display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 2.9vw, 47px); list-style: none; padding: 0; margin: 22px 0 13px}
.ed-related li {border-top: 1px solid #4b7182}
.ed-related li a {display: block; padding: 13px 1px; line-height: 1.5}
.ed-related li strong, .ed-related li span {display: block}
.ed-related li strong {color: var(--ed-ice); font-weight: 610; margin-bottom: 2px}
.ed-related li a:hover strong {text-decoration: underline; text-underline-offset: 3px}
.ed-backlinks {display: flex; flex-wrap: wrap; gap: 0 25px}
.ed-backlinks a {display: inline-flex; align-items: center; min-height: 44px; color: #e0eff3; font-size: .93rem}
@media (max-width: 900px) {
  .engineering-guide .ed-hero-grid {grid-template-columns: minmax(0,1.4fr) minmax(210px,.65fr); gap: 27px}
  .ed-hero-grid {gap: 24px}
  .ed-reader {column-gap: 34px}
}
@media (max-width: 760px) {
  .ed-hero-grid, .engineering-guide .ed-hero-grid, .ed-reader, .ed-entries, .ed-related ul {grid-template-columns: minmax(0, 1fr)}
  .ed-hero-grid {padding: 21px 0 25px; gap: 22px}
  .engineering-guide .ed-hero-grid {gap: 22px}
  .ed-crumb {padding-top: 10px}
  .ed-crumb ol, .ed-crumb li + li {gap: 3px 8px}
  .ed-crumb li + li::before {width: 7px}
  .engineering-index h1 {font-size: clamp(2.4rem, 9.2vw, 3.8rem)}
  .engineering-guide h1 {font-size: clamp(1.95rem, 6.3vw, 3rem)}
  .ed-lead {margin-top: 14px}
  .ed-index-link {margin-top: 16px}
  .ed-figure {padding: 11px 15px}
  .ed-illustration img {max-height: 165px; object-fit: contain}
  .ed-figure figcaption {margin-top: 4px}
  .engineering-guide .ed-figure {padding: 7px 12px}
  .engineering-guide .ed-illustration img {max-height: 190px}
  .ed-visual > summary {display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; border-block: 1px solid #335668; font-size: .9rem; color: #d5edf0}
  .ed-visual[open] > summary .ed-chevron {transform: rotate(225deg)}
  .ed-visual[open] .ed-figure {margin-top: 11px}
  .ed-reader {padding-top: 23px; row-gap: 25px}
  .ed-rail {position: static}
  .ed-toc summary {min-height: 44px}
  .ed-toc a {padding-block: 11px}
  .ed-related ul {gap: 0}
}
@media (max-width: 370px) {
  .ed-crumb ol {font-size: .81rem}
  .ed-qas {padding: 16px}
}
@media (prefers-reduced-motion: reduce) {
  .engineering-docs *, .engineering-docs *::before, .engineering-docs *::after {animation: none !important; transition: none !important}
}
@media print {
  .engineering-docs main {padding-top: 0}
  .engineering-docs .masthead, .engineering-docs .site-footer, .ed-rail, .ed-related, .ed-index-link, .ed-figure figcaption a {display: none}
  .ed-hero-grid, .ed-reader {display: block}
  .ed-figure {max-width: 230px; margin-top: 20px}
  .ed-article {max-width: none}
  .ed-chapter h2, .ed-answer h3 {break-after: avoid}
}
.ed-chapter:focus-visible, .ed-qas:focus-visible, .ed-directory:focus-visible {
  outline: 2px solid var(--ed-ice); outline-offset: 6px
}
@media (min-width: 761px) and (max-height: 640px) {
  .ed-rail {max-height: calc(100dvh - var(--mast) - 35px); overflow: auto; padding: 4px}
}

/* Pilier V2. Le hero et les dessins utilisent les mêmes matières que les fiches. */
.ed-jumps,.ed-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 21px}
.ed-mast-title{font-weight:550;color:var(--ed-bright);font-size:clamp(2.85rem,5.1vw,5.2rem);line-height:.99;letter-spacing:-.071em;margin-bottom:clamp(18px,2vw,29px)}
.ed-mast-title span{display:block;color:var(--ed-ice);font-weight:460}
.engineering-index h1{color:var(--ed-ice);font-size:clamp(1.6rem,2.2vw,2.5rem);line-height:1.18;letter-spacing:-.045em;max-width:33ch}
.engineering-index .ed-hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(260px,.88fr);gap:clamp(28px,5vw,85px)}
.ed-opening .ed-lead+.ed-lead{margin-top:.7em}
.ed-jumps{margin-top:21px}
.ed-jumps .ed-index-link{margin:0}
.ed-jump-map,.ed-actions a,.ed-domain-link{display:inline-flex;align-items:center;min-height:44px;font-size:.95rem;font-weight:580;color:var(--ed-ice);text-decoration:underline;text-underline-offset:.24em;text-decoration-color:#5e969f}
.ed-pillar{padding-block:clamp(28px,4vw,62px) clamp(50px,6vw,94px)}
.ed-hub-toc{max-width:81ch;margin:0 auto 28px}
.ed-hub-toc[open] ol{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}
.ed-article.ed-pillar-body{max-width:none;width:100%}
.ed-pillar-body>.ed-chapter:not(.ed-domain-section),.ed-pillar-body>.ed-qas{max-width:81ch;margin-inline:auto}
.ed-article .ed-chapter>p+p{margin-top:1em}
.ed-chapter,.relation-map,.ed-related{scroll-margin-top:calc(var(--mast) + 18px)}
.ed-old-anchor{display:block;height:0;scroll-margin-top:calc(var(--mast) + 20px)}
.ed-article .ed-domain-section{padding-block:clamp(24px,4vw,64px)}
.ed-article .ed-domains{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0;margin:25px 0 0;gap:16px 22px}
.ed-article .ed-domain{min-width:0;display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(130deg,#0f2d3d,#0a2032 70%);padding:clamp(20px,2.5vw,34px);border:1px solid #345566;border-radius:8px;transition:border-color .18s}
.ed-domain:focus-within,.ed-domain:hover{border-color:#60a9ad}
.ed-article .ed-domain h3{font-size:clamp(1.24rem,1.6vw,1.55rem);font-weight:550;line-height:1.27;color:#b3edee;letter-spacing:-.035em}
.ed-domain h3 span{color:#58dce1;font-weight:640}
.ed-article .ed-domain p{line-height:1.6;margin-top:12px}
.ed-article .ed-notions{display:flex;flex-wrap:wrap;padding:0;list-style:none;margin:18px 0 10px;gap:5px 7px}
.ed-article .ed-notions li{font-size:.85rem;line-height:1.32;background:#153747;border:1px solid #355e6c;border-radius:3px;color:#d9f4f5;padding:4px 8px;margin:0}
.ed-article .ed-domains>li::before,.ed-article .ed-notions li::before{content:none}
.ed-domain-link{margin-top:auto}
.ed-actions{margin-top:19px}
.ed-context{color:var(--ed-muted);font-size:1rem;margin:1.3rem 0}
.ed-related ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px 30px}
.ed-related li a{font-size:1.05rem;line-height:1.4;font-weight:600;color:var(--ed-ice);text-decoration:underline;text-underline-offset:.23em;text-decoration-color:#668d99;min-height:44px}
.ed-related li p{font-size:1rem;color:var(--ed-muted);line-height:1.6}
.ed-backlinks{margin-top:22px}
.ed-rail{max-height:calc(100dvh - var(--mast) - 34px);overflow:auto;scrollbar-width:thin;scrollbar-color:#426577 transparent}
.ed-answer,.ed-domain{scroll-margin-top:calc(var(--mast) + 28px)}

/* Carte relationnelle. Les courbes vectorielles relient les contrôles HTML natifs. */
.ed-map-wrap{padding:10px 0 clamp(42px,5vw,80px)}
.relation-map{min-width:0;color:var(--ed-type);margin:clamp(32px,4vw,68px) 0;position:relative}
.ed-map-wrap>.relation-map{margin:0}
.relation-map figcaption{margin-bottom:18px}
.relation-map figcaption h2,.ed-article .relation-map h2{font-size:clamp(1.65rem,2.7vw,2.75rem);line-height:1.14;font-weight:560;letter-spacing:-.046em;color:var(--ed-bright)}
.relation-map .map-note{margin:.6em 0 0;color:var(--ed-muted);font-size:1rem;line-height:1.55}
.map-studio{border:1px solid #365f71;border-radius:11px;overflow:hidden;background:#0b2334}
.map-plot{position:relative;isolation:isolate;container-type:inline-size;background-color:#0a2030;background-image:radial-gradient(ellipse at 48% 44%,#1a637540,transparent 65%),linear-gradient(0deg,#72d6e00b 1px,transparent 1px),linear-gradient(90deg,#72d6e00b 1px,transparent 1px);background-size:100% 100%,26px 26px,26px 26px;min-width:0}
.map-field{position:absolute;pointer-events:none;width:100%;height:100%;inset:0;overflow:visible}
.map-orbits{fill:none;stroke:#426976;stroke-width:.8;stroke-dasharray:2 7;opacity:.68}
.map-edge{stroke:#548493;fill:none;stroke-width:2}
.map-edge[data-lit]{stroke:#67dce1;stroke-width:2.5}
.map-edge .map-pulse{stroke:none}
.map-edge[data-lit] .map-pulse{stroke:#c0ffff;stroke-width:3;stroke-dasharray:6 94;animation:relation-signal 1.1s ease-out 1;opacity:0}
@keyframes relation-signal{0%{stroke-dashoffset:100;opacity:0}25%{opacity:1}95%{opacity:.75}100%{stroke-dashoffset:0;opacity:0}}
.map-controls{position:relative;min-height:290px;height:clamp(300px,34vw,418px)}
.map-pin{position:absolute;left:var(--mx);top:var(--my);transform:translate(-50%,-50%);z-index:1;display:flex;min-height:52px;align-items:center;justify-content:flex-start;gap:9px;width:max-content;max-width:23%;padding:10px 13px;border:1px solid #426474;border-radius:6px;background:linear-gradient(130deg,#163f50,#102d3e);font-size:clamp(.90rem,1.1vw,1.08rem);font-weight:560;line-height:1.22;color:#e8f7fa;transition:border-color .18s,background .18s,box-shadow .18s}
.map-pin>span:last-child{min-width:0;overflow-wrap:anywhere}
.map-pin:hover,.map-pin:focus-visible{border-color:#9deaf0}
.map-pin[aria-selected=true]{background:linear-gradient(120deg,#1a5360,#123749);border-color:#81eff2;box-shadow:0 0 0 4px #5de2e312,0 0 25px #2fc7d323}
.map-glyph{color:#84e8eb;flex:0 0 21px;height:21px;display:block}
.map-glyph svg{width:100%;height:100%}
.map-radial .map-pin:first-child,.map-entities .map-pin:first-child{border-radius:10px;border-color:#67a9b0}
.map-readings{border-top:1px solid #406272;background:linear-gradient(120deg,#123649,#0b2538)}
.map-panel{padding:clamp(18px,2vw,30px);scroll-margin-top:calc(var(--mast) + 14px)}
.map-panel+.map-panel{border-top:1px solid #496779}
.map-ready .map-panel{border-top:none}
.map-panel[hidden],.map-tip[hidden]{display:none}
.relation-map .map-caption{font-size:clamp(1.21rem,1.6vw,1.55rem);font-weight:600;line-height:1.2;letter-spacing:-.03em;color:#9aedef;margin:0}
.relation-map .map-quote{font-size:1rem;line-height:1.58;max-width:73ch;margin:.6em 0 0;color:#eff8fa}
.relation-map .map-refs{list-style:none;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0;margin:12px 0 0}
.relation-map .map-refs li{padding:0;margin:0}
.relation-map .map-refs li::before{content:none}
.map-refs a{display:inline-block;min-height:26px;padding:5px 0;color:#c9e9ef;font-size:.88rem;line-height:1.4;text-decoration:underline;text-decoration-color:#648f9d;text-underline-offset:3px}
.map-refs strong{color:#96e7e8}
.map-tip{position:absolute;z-index:3;max-width:min(340px,90%);max-height:calc(100% - 12px);overflow:auto;pointer-events:auto;padding:10px 13px;border:1px solid #75b3be;background:#112d3c;box-shadow:0 6px 14px #0005;color:#f2fcff;border-radius:5px;font-size:.87rem;line-height:1.43}
.relation-map :focus-visible,.ed-related:focus-visible,.ed-domain:focus-visible,.relation-map:focus-visible{outline:2px solid #a2eff0;outline-offset:3px}
@media(min-width:1060px){
  .map-studio{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.83fr)}
  .map-readings{border-top:0;border-left:1px solid #406272;align-content:center}
  .map-ready .map-controls{height:100%;min-height:330px}
}
@media(max-width:760px){
  .engineering-index .ed-hero-grid{grid-template-columns:minmax(0,1fr)}
  .ed-mast-title{font-size:clamp(2.35rem,8vw,3.3rem);margin-bottom:15px}
  .engineering-index h1{font-size:clamp(1.4rem,5.2vw,1.85rem)}
  .ed-hub-toc[open] ol,.ed-article .ed-domains{grid-template-columns:minmax(0,1fr)}
  .ed-rail{max-height:none;overflow:visible}
  .ed-article .ed-domains{gap:13px}
  .ed-related ul{grid-template-columns:minmax(0,1fr)}
  .ed-map-wrap{padding-inline:0}
}
@container (max-width:570px){
  .map-field{display:none}
  .map-controls{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;padding:17px 20px 17px 34px;height:auto;min-height:0}
  .map-controls::before{content:"";position:absolute;top:39px;bottom:39px;left:19px;width:1px;background:#519da7}
  .map-pin{position:relative;left:auto;top:auto;transform:none;max-width:none;width:100%;min-height:44px;font-size:.95rem;padding:9px 11px}
  .map-pin::before{content:"";position:absolute;right:100%;width:16px;top:50%;height:1px;background:#66a9b3}
}
@media(min-width:571px) and (max-width:760px){.map-pin{flex-direction:column;text-align:center}}
@media(hover:none){.map-tip{display:none}}
@media print{
  .map-controls,.map-field,.ed-hub-toc,.map-tip{display:none}
  .map-studio,.map-readings,.map-panel[hidden]{display:block!important}
  .map-panel{break-inside:avoid}
  .map-plot{min-height:0}
}
.map-compact{display:none}
@container (max-width:570px){
  .map-controls{grid-auto-rows:1fr;padding-inline:53px 14px}
  .map-controls::before,.map-pin::before{display:none}
  .map-compact{position:absolute;display:block;left:8px;top:17px;bottom:17px;height:calc(100% - 34px);width:45px;overflow:visible;pointer-events:none}
  .map-compact .map-edge,.map-terminal{vector-effect:non-scaling-stroke;stroke-width:1.25;fill:none}
  .map-compact .map-edge[data-lit]{stroke-width:2}
  .map-terminal{stroke:#76b4bf}
}
