.e-launch {
  margin-top:15px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#ffbaa0;
  text-decoration:none;
  font-weight:720;
  font-size:14px;
  min-height:44px;
}

.e-launch::before {
  content:'↕';
  display:grid;
  place-items:center;
  width:33px;
  height:33px;
  border:1px solid #e6ae8c80;
  border-radius:8px;
  color:#ffcfaa;
}

.e-launch:hover {
  text-decoration:underline;
}

.e-door {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:19px 20px;
  min-height:80px;
  color:#fdf4e9;
  border:1px solid #42677d;
  background:linear-gradient(100deg,#122b3e,#223649);
  border-radius:10px;
  text-decoration:none;
}

.e-door:hover {
  border-color:#cf886a;
  color:#fff;
}

.e-door strong,.e-door small {
  display:block;
}

.e-door strong {
  font-size:16px;
}

.e-door small {
  font-size:12px;
  color:#c9e1de;
  margin-top:3px;
}

.e-door>span:last-child {
  font-size:23px;
  color:#ffb699;
}

.e-door:focus-visible,.e-launch:focus-visible {
  outline:3px solid #fbb28e;
  outline-offset:4px;
}

#ascenseur {
  display:none;
}

.e-hero-actions {display:flex;align-items:center;flex-wrap:wrap;gap:4px 15px;margin-top:10px}
.e-hero-inner [data-e-continue]:not([hidden]) {display:inline-flex;min-height:44px;align-items:center;padding:8px 15px;background:#a6e8d4;color:#102c31;border:1px solid #c9f2de;border-radius:7px;font-weight:720}
.e-result .e-delivered-city {display:inline-flex;margin:9px 0 0;min-height:44px;padding:3px 9px;align-items:center;color:inherit;font-weight:700;text-underline-offset:3px}
.e-hero-inner .e-city-door {
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-height:44px;
  color:#c2f1de;
  text-underline-offset:4px;
  font-weight:700;
}
#chantiers-ascenseur {display:none}
.e-city-open #chantiers-ascenseur,#chantiers-ascenseur:target,
#ascenseur:has(#chantiers-ascenseur:target),#ascenseur:has(.v-reading:target),
#chantiers-ascenseur:has(.v-reading:target) {display:block}
.e-city-open #ascenseur>:not(#chantiers-ascenseur),
#ascenseur:has(#chantiers-ascenseur:target)>:not(#chantiers-ascenseur),
#ascenseur:has(.v-reading:target)>:not(#chantiers-ascenseur) {display:none!important}
#chantiers-ascenseur[data-loading] > :not(#v-loader) {display:none}
#v-loader {padding:20px;color:#c7dace}

.e-open #ascenseur,#ascenseur:target,#ascenseur:has(#premier-appel:target,#relais-energie:target,#la-corderie:target,#permanence-des-archives:target,#memoire-du-palier:target,#releve-du-technicien:target,#tournee-de-laube:target) {
  display:block;
}
.e-visit-reading {display:none}
.e-visit-reading:target {display:block}
.e-open .e-visit-reading {display:none}
.e-rig-open #ascenseur>:not(#e-rig-shell) {display:none!important}
.e-duty-open #ascenseur>:not(#e-duty-shell) {display:none!important}
.e-latch-open #ascenseur>:not(#e-latch-shell) {display:none!important}
.e-handover-open #ascenseur>:not(#e-handover-shell) {display:none!important}
.e-dawn-open #ascenseur>:not(#e-dawn-shell) {display:none!important}
#hv-to-dawn {display:inline-flex;align-items:center;grid-column:1/-1;min-height:44px;margin-top:8px;color:#354b40;font-weight:650;text-underline-offset:3px}
.fo-shift {display:flex;flex-wrap:wrap;gap:0 24px;margin:-8px 0 22px}.fo-shift a {display:inline-flex;align-items:center;gap:9px;min-height:44px;color:#f2d49f;text-underline-offset:4px}
.o-memory {display:inline-flex;align-items:center;min-height:44px;margin-top:6px;color:#c1e7d6;font-size:14px;text-underline-offset:3px}
#ascenseur #e-open-book {padding:8px 14px;min-height:44px;color:#ffedbd;background:#29413c;border:1px solid #ac9672;border-radius:6px;font-weight:680}
#e-notebook {scroll-margin-block-start:12px}
#e-guide {margin:12px 0 16px;padding:clamp(13px,2vw,28px);border:1px solid #ab9270;border-left:6px solid #91694c;border-radius:5px 10px 10px 5px;background:#f6edda;color:#203c35;box-shadow:inset 3px 0 #e4cfa7}
.nb-head,.nb-levels {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.nb-head {justify-content:space-between;border-bottom:1px solid #bbaa8c;padding-bottom:10px}.nb-head h3,#nb-name {font-family:Georgia,serif;letter-spacing:-.04em;line-height:1.08;font-weight:500}
#e-guide .nb-eyebrow {font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#526858;margin:0}
#e-guide .nb-head h3 {font-size:clamp(1.6rem,3vw,2.6rem);margin:3px 0;color:#223d35}#nb-memory {font-size:.78rem;color:#566456}
.nb-levels {gap:6px;margin:12px 0 6px}#e-guide .nb-levels button {min-height:44px;color:#3c5245;background:#fff9eb;border:1px solid #afa78e;padding:7px 14px}
#e-guide .nb-levels button[aria-pressed=true] {background:#285247;color:#fff2ce;border-color:#285247}
.nb-pages {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(16px,3vw,48px);align-items:start}.nb-index {min-width:0}
#nb-count {font-size:.8rem;color:#566658;font-weight:650;margin:.45em 0}
.nb-entries {display:grid}#e-guide .nb-entries button {display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:7px;align-items:center;min-height:44px;padding:6px 10px;background:transparent;color:#30483e;border:0;border-bottom:1px solid #cfbfa1;border-radius:0;text-align:left}
#e-guide .nb-entries button[aria-pressed=true] {background:#e4dbc0;box-shadow:inset 3px 0 #916746}
.nb-entries i {font:1em ui-monospace,monospace;color:#536557}.nb-entries button[data-state=recu] i {color:#2e644a}.nb-entries span {font-weight:650;font-size:.91rem}.nb-entries small {color:#536456;font-size:.74rem}
.nb-leaf {min-width:0;padding:clamp(15px,2.3vw,30px);background:#fff9e9;border:1px solid #c3ae88;border-radius:4px;box-shadow:2px 3px 0 #ddc9a5}
#e-guide #nb-name {color:#2a463c;font-size:clamp(1.5rem,2.5vw,2.2rem);margin:.22em 0 .15em}
#e-guide #nb-proof {margin:6px 0 12px;font-size:.83rem;font-weight:680;color:#70543a}
#e-guide #nb-task {color:#364d42;line-height:1.55;margin:10px 0 15px}
#e-guide :is(#nb-link,#nb-mission) {display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;box-sizing:border-box;border:1px solid #214737;border-radius:5px;background:#285342;color:#fff5d9;font-weight:700;text-decoration:none}
#e-guide #nb-next {display:block;color:#405b49;background:transparent;border:0;padding:3px 0;text-align:left;text-decoration:underline}
#e-guide [hidden] {display:none!important}#e-guide :is(a,button,h4):focus-visible {outline:3px solid #a34826;outline-offset:2px}
@media(max-width:680px){.nb-pages {grid-template-columns:1fr;gap:12px}.nb-entries small {font-size:.68rem}.nb-entries span {font-size:.85rem}#e-guide .nb-levels button {flex:1;padding:5px}.nb-entries {max-height:220px;overflow:auto;overscroll-behavior-y:contain}.nb-leaf {scroll-margin-top:9px}}

.e-open .f-main>:not(#ascenseur),.e-open #f-tutorial {
  display:none!important;
}

.e-open .f-main {
  width:min(1450px,calc(100% - 48px));
  max-width:none;
  margin:0 auto 50px;
}

.e-open .f-masthead a[href="#f-machines"],.e-open .f-masthead [data-discovery=resume] {
  display:none;
}

.f-page.e-open {
  background:#0a131f;
  color:#f9f4ee;
}

.e-workshop {
  --e-base:#0b1827;
  --e-panel:#142333;
  --e-line:#345061;
  --e-paper:#f4efe5;
  --e-ink:#142635;
  --e-light:#e6f6f6;
  --e-sub:#a7c3cd;
  --e-accent:#ffad90;
  --e-aqua:#83e8d9;
  color:var(--e-light);
  font-family:ui-sans-serif,system-ui,sans-serif;
  line-height:1.55;
}

.e-workshop [hidden] {
  display:none!important;
}
.e-play[data-visit=true]>.e-grid,.e-play[data-visit=true]>#e-analysis {display:none}
.e-first-ride {color:#f5eedc;background:#172b30;border:1px solid #68746a;border-radius:12px;overflow:hidden}
.e-first-ride>header {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:12px clamp(13px,2vw,26px);border-bottom:1px solid #60716a}
.e-first-ride>header>div:last-child {display:flex;flex-wrap:wrap;gap:5px}
.e-first-ride>header h3 {font:650 clamp(23px,3vw,36px)/1.08 Georgia,serif}
#e-first-title {scroll-margin-top:12px}

.e-workshop button,.e-workshop select {
  font-family:inherit;
  font-size:14px;
  line-height:1.3;
  min-height:44px;
  border:1px solid var(--e-line);
  border-radius:8px;
  background:#1b3145;
  color:var(--e-light);
  padding:9px 13px;
  white-space:normal;
  text-align:center;
}

.e-workshop button:not(:disabled):hover {
  border-color:var(--e-aqua);
  background:#234457;
}

.e-workshop button:disabled {
  opacity:.53;
  cursor:not-allowed;
}

.e-workshop :is(a,button,select,input,summary,[tabindex]):focus-visible {
  outline:3px solid #ffbd99;
  outline-offset:4px;
}

.e-workshop :is(h2,h3,h4,p) {
  margin:0;
}

.e-workshop progress,.e-workshop input[type=range] {
  accent-color:#73ddcc;
}

.e-hero {
  margin:0 0 19px;
  position:relative;
  isolation:isolate;
  min-height:230px;
  display:grid;
  align-items:center;
  overflow:hidden;
  border:1px solid #406073;
  border-radius:16px;
  background:#102942 linear-gradient(115deg,#0c1c30 20%,#1b3a51 68%,#623b37);
}

.e-hero::before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-2;
  background:url('aurore.webp') center 43% / cover no-repeat;
}

.e-hero::after {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,#081827f7 2%,#081827c9 37%,#07152129 77%),linear-gradient(0deg,#0a1727b0,transparent 60%);
}

.e-hero-inner {
  padding:22px clamp(24px,4vw,55px) 26px;
}

.e-back {
  display:inline-flex;
  min-height:44px;
  align-items:center;
  color:#cbebeb;
  font-size:13px;
  font-weight:650;
  text-underline-offset:4px;
  margin-bottom:8px;
}

.e-hero h2 {
  font:700 clamp(37px,5.9vw,78px)/.99 Georgia,serif;
  letter-spacing:-.065em;
  color:#fff4e9;
  margin:5px 0 12px;
}

.e-hero h2 span {
  color:var(--e-accent);
}

.e-hero-inner>h2+p {
  max-width:560px;
  font-size:clamp(14px,1.5vw,18px);
  color:#f2e4d7;
}

.e-workshop .e-overline {
  font-size:10px;
  text-transform:uppercase;
  font-weight:790;
  letter-spacing:.18em;
  color:var(--e-aqua);
}

.e-navigation {
  display:flex;
  gap:15px;
  justify-content:space-between;
  align-items:stretch;
  margin-bottom:9px;
}

.e-levels {
  display:flex;
  gap:8px;
  flex:1;
}

.e-levels button {
  flex:1 1 0;
  text-align:left;
  color:#b6d5dd;
  padding:9px 14px;
  border-color:#345164;
  font-variant-numeric:tabular-nums;
}

.e-levels button span {
  display:inline-block;
  color:#f1f7f7;
  font-weight:750;
  margin-inline:5px;
}

.e-levels button small {
  font-weight:500;
  color:#adc3ca;
}

.e-levels button[aria-pressed=true] {
  background:#173b48;
  border-color:var(--e-aqua);
  color:var(--e-aqua);
}

.e-progress {
  display:grid;
  grid-template-columns:1fr auto;
  gap:2px 12px;
  align-items:center;
  min-width:min(222px,31vw);
  padding:7px 15px;
  background:#172b3a;
  border:1px solid var(--e-line);
  border-radius:9px;
  font-size:12px;
}

.e-progress progress {
  grid-row:2;
  grid-column:1 / -1;
  width:100%;
  height:12px;
}

.e-progress span {
  color:var(--e-sub);
  font-size:10px;
}

.e-missions {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.e-missions button {
  padding:7px 10px;
  min-height:44px;
  background:#10202e;
  color:#c4dbe0;
  font-size:12px;
}

.e-missions button span {
  display:inline-block;
  font-family:monospace;
  margin-right:6px;
  color:var(--e-aqua);
}

.e-missions button[aria-current] {
  background:#244356;
  border-color:#7fd9d0;
  color:#fff;
}

.e-grid {
  display:grid;
  grid-template-columns:minmax(0,1.26fr) minmax(315px,1fr);
  gap:15px;
  align-items:start;
}

.e-theatre,.e-mission,.e-analysis,.e-notebook,.e-reference {
  min-width:0;
  border:1px solid var(--e-line);
  border-radius:13px;
  overflow:hidden;
}

.e-theatre {
  background:#0d1b2b;
}

.e-theatre-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 16px;
}

.e-theatre-head strong {
  font:700 14px/1.2 ui-monospace,monospace;
  color:#f9b493;
}

.e-theatre-head [data-e-command=sound] {
  min-height:44px;
  font-size:11px;
  padding:7px;
}

.e-theatre-head [aria-pressed=true] {
  border-color:#87e2d3;
}

.e-stage {
  scroll-margin-top:8px;
  background:#081523;
}

.e-stage svg {
  width:100%;
  max-height:460px;
  display:block;
}

.e-svg-title {
  font:600 9px ui-monospace,monospace;
  fill:#9dbfc9;
  letter-spacing:.12em;
}

.e-svg-number {
  font:750 12px ui-monospace,monospace;
  fill:#d6f1ea;
}

.e-svg-cab-count {
  font:700 14px ui-monospace,monospace;
  paint-order:stroke;
  stroke:#123044;
  stroke-width:2px;
  fill:#fff7e9;
}

.e-svg-call {
  fill:#435765;
}

.e-svg-call.active {
  fill:#fcac83;
  stroke:#ffdc9e;
  stroke-width:2px;
}

.e-floors {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:9px 12px;
  border-top:1px solid var(--e-line);
  font-size:12px;
  color:var(--e-sub);
}

.e-floors div {
  display:flex;
  gap:5px;
}

.e-floors button {
  min-width:44px;
  padding-inline:5px;
}

.e-floors button[aria-pressed=true] {
  background:#90e3d2;
  color:#101e2c;
  border-color:#90e3d2;
}

.e-instruments {
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.7fr) auto;
  gap:8px;
  align-items:center;
  padding:11px 12px;
  background:#122638;
  border-top:1px solid #315366;
}

.e-instruments div {
  padding:3px 6px;
}

.e-instruments small,.e-instruments strong {
  display:block;
}

.e-instruments small {
  color:#bad0d7;
  font-size:11px;
}

.e-instruments strong {
  color:#effafa;
  font-size:15px;
  font-variant-numeric:tabular-nums;
}

.e-instruments #e-state {
  font-size:12px;
}

.e-instruments button {
  padding-inline:8px;
  font-size:12px;
}

.e-mission {
  background:var(--e-paper);
  color:var(--e-ink);
  padding:clamp(16px,2.4vw,29px);
  border-color:#e3d8c5;
}

.e-mission .e-overline {
  color:#326255;
}

.e-mission h3 {
  font:700 clamp(28px,3.5vw,47px)/1.05 Georgia,serif;
  letter-spacing:-.045em;
  margin:4px 0 11px;
}

.e-story {
  font-size:16px;
  color:#354a52;
  line-height:1.5;
}

.e-objective {
  margin:15px 0 13px;
  padding:10px 12px;
  border-radius:7px;
  border-left:4px solid #b6684a;
  background:#eae3d4;
}

.e-objective small {
  font-size:10px;
  font-weight:840;
  letter-spacing:.15em;
  color:#7a412b;
}

.e-objective p {
  font-size:14px;
  font-weight:650;
  margin-top:2px;
  line-height:1.45;
}

.e-mission label {
  display:grid;
  gap:5px;
  color:#243b41;
  font-weight:680;
  font-size:12px;
  margin-bottom:9px;
}

.e-mission .e-fields {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 8px;
}

.e-mission .e-fields>label:only-child {
  grid-column:1/-1;
}

.e-mission select {
  color:#132b34;
  background:#fffaf0;
  border-color:#b7b6a6;
  text-align:left;
  width:100%;
  max-width:100%;
  padding-right:4px;
}

.e-mission .e-brief,.e-budget {
  font-weight:700;
  font-size:13px;
  color:#3b6057;
  margin-bottom:10px;
}

.e-primary-actions {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}

.e-mission button {
  background:#fbf5eb;
  color:#25404a;
  border-color:#b9b9ac;
  font-weight:680;
}

.e-mission button:not(:disabled):hover {
  background:#e3f2e9;
  color:#122a33;
  border-color:#52786c;
}

.e-mission .e-primary {
  background:#123b3e;
  color:#fff5eb;
  border-color:#123b3e;
  flex:1 1 155px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 14px;
}

.e-mission .e-primary:not(:disabled):hover {
  background:#18615a;
  color:#fff;
}

.e-mission .e-secondary {
  width:100%;
  text-align:left;
}

.e-mission .e-next {
  margin-top:10px;
  background:#ffcdac;
  border-color:#d2916b;
}

.e-hint,.e-result,#e-program {
  margin-top:12px;
  padding:9px 11px;
  border-radius:7px;
  background:#e9e1d4;
  color:#293c43;
  font-size:13px;
}

.e-result[data-kind=success] {
  background:#d8eedf;
  border-left:4px solid #32705c;
}

.e-result[data-kind=retry] {
  background:#f8e4d8;
  border-left:4px solid #b25139;
}

.e-result p {
  margin-top:3px;
}

.e-mission #e-program ol {
  margin:0;
  padding-left:21px;
}

.e-mission #e-program li+li {
  margin-top:8px;
}

.e-analysis,.e-notebook,.e-reference {
  margin-top:15px;
  padding:16px 19px;
  background:var(--e-panel);
}

.e-analysis-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.e-analysis h3 {
  font:700 clamp(24px,3vw,37px)/1.1 Georgia,serif;
  letter-spacing:-.04em;
}

.e-replay {
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
}

.e-replay label {
  display:flex;
  align-items:center;
  gap:5px;
  color:var(--e-sub);
  font-size:11px;
}

.e-replay select {
  padding:5px 4px;
}

.e-scrub {
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:0 10px;
  color:var(--e-sub);
  font-size:12px;
  margin-top:12px;
}

.e-scrub input {
  width:100%;
  min-height:35px;
  grid-column:1/-1;
}

.e-reports {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:13px;
}

.e-reports h4 {
  font-size:14px;
  color:#f4d7c4;
  margin-bottom:6px;
}

.e-reports>div {
  border:1px solid #345061;
  border-radius:9px;
  background:#0f1f2c;
  padding:10px 13px;
  min-height:108px;
  min-width:0;
}

.e-reports p,#e-journal {
  font-size:13px;
  color:#bfd2d8;
}

.e-reports ol {
  list-style:none;
  padding:0;
  margin:0;
}

.e-reports li {
  display:flex;
  gap:8px;
  padding:4px 0;
  border-bottom:1px solid #263b4a;
}

.e-reports li time {
  min-width:37px;
  font-variant-numeric:tabular-nums;
  color:#73ddcc;
}

.e-reports li[data-e-event=interlock] {
  color:#ffc5ae;
}

.e-table-scroll {
  overflow:auto;
}

.e-table-scroll table {
  border-collapse:collapse;
  width:100%;
  min-width:440px;
  font-size:12px;
  text-align:left;
}

.e-table-scroll th,.e-table-scroll td {
  padding:7px 6px;
  border-bottom:1px solid #3b5564;
}

.e-table-scroll thead {
  color:#aee0d7;
}

.e-notebook summary,.e-reference summary {
  min-height:44px;
  padding:10px 0;
  font-weight:700;
  cursor:pointer;
}

.e-notebook a,.e-reference a {
  color:#a0ebdb;
  text-underline-offset:3px;
}

.e-notebook ol {
  margin:7px 0;
  padding-left:20px;
}

.e-notebook li {
  padding:4px 0;
}

.e-notebook li button {
  margin-right:10px;
}

.e-reference p,.e-reference ul {
  font-size:14px;
  margin:.45rem 0;
}

.e-reference details details {
  border-top:1px solid #3b5564;
}

.e-reference h3 {
  font-size:16px;
  margin-top:12px;
}

@media(max-width:920px) {
  .e-levels button small {
    display:block;
  }
  .e-grid {
    grid-template-columns:minmax(0,1.07fr) minmax(285px,1fr);
  }
  .e-mission .e-fields {
    grid-template-columns:1fr;
  }
}

@media(max-width:759px) {
  .e-open .f-main {
    width:min(100% - 24px,600px);
    margin-bottom:25px;
  }
  .e-hero {
    min-height:178px;
    border-radius:13px;
    margin-bottom:10px;
  }
  .e-hero::before {
    background-position:68% 38%;
  }
  .e-hero::after {
    background:linear-gradient(90deg,#081827f0,#08182782 68%,#08182744);
  }
  .e-hero-inner {
    padding:11px 16px 17px;
  }
  .e-hero h2 {
    max-width:340px;
  }
  .e-grid,.e-reports {
    grid-template-columns:1fr;
  }
  .e-navigation {
    display:block;
    margin-bottom:7px;
  }
  .e-levels button {
    padding:5px 6px;
    font-size:12px;
  }
  .e-levels button span {
    margin:0 0 0 2px;
  }
  .e-progress {
    margin-top:6px;
    padding:6px 9px;
    grid-template-columns:1fr 1.5fr auto;
    min-width:0;
  }
  .e-progress progress {
    grid-column:2;
    grid-row:1;
  }
  .e-progress span {
    grid-column:3;
    grid-row:1;
  }
  .e-missions {
    flex-wrap:nowrap;
    overflow:auto;
    padding:2px 4px 4px;
    margin-inline:-4px;
  }
  .e-missions button {
    flex:none;
  }
  .e-mission .e-fields {
    grid-template-columns:1fr 1fr;
  }
  .e-mission {
    padding:15px;
  }
  .e-theatre-head {
    padding:5px 10px;
  }
  .e-theatre-head strong {
    font-size:13px;
  }
  .e-floors {
    align-items:start;
    flex-direction:column;
  }
  .e-floors div {
    width:100%;
  }
  .e-floors button {
    flex:1;
  }
  .e-analysis,.e-notebook,.e-reference {
    padding:12px;
  }
  .e-stage svg {
    max-height:360px;
  }
  .e-instruments {
    gap:3px;
    padding:7px 6px;
  }
  .e-instruments div {
    padding:3px;
  }
  .e-instruments small {
    font-size:10px;
  }
}

@media(max-width:400px) {
  .e-mission .e-fields {
    grid-template-columns:1fr;
  }
  .e-hero h2 {
    font-size:37px;
  }
  .e-levels button {
    font-size:11px;
  }
  .e-workshop .e-overline {
    letter-spacing:.13em;
  }
}

@media(prefers-reduced-motion:no-preference) {
  .e-stage [data-e-car],.e-stage [data-e-weight] {
    transition:transform .18s linear;
  }
  .e-mission .e-result {
    animation:e-result-in .22s ease both;
  }
  @keyframes e-result-in {
    from {
      opacity:.55;
      transform:translateY(4px);
    }
    to {
      opacity:1;
      transform:translateY(0);
    }
  }
}

@media(forced-colors:active) {
  .e-workshop button[aria-pressed=true],.e-missions button[aria-current] {
    border:3px solid Highlight;
  }
  .e-stage svg {
    forced-color-adjust:none;
  }
  .e-workshop :focus-visible {
    outline-color:Highlight;
  }
}

.e-feature {
  margin:0 0 8px;
}

.e-feature .e-launch {
  margin-top:0;
  padding:3px 13px 3px 5px;
  border:1px solid #8d725d;
  border-radius:11px;
  background:#172f33;
  color:#ffded0;
}

.e-compare-chart {
  margin-bottom:10px;
}

.e-compare-chart h5 {
  margin:.25rem 0;
  font-size:12px;
  color:#b4d7db;
}

.e-compare-chart label {
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  color:#cadcde;
}

.e-compare-chart label strong {
  font-variant-numeric:tabular-nums;
  color:#f7ded0;
}

.e-compare-chart meter {
  display:block;
  width:100%;
  height:12px;
  margin-bottom:5px;
}

.e-compare-chart meter::-moz-meter-bar {
  background:#72d3c0;
}

.e-compare-chart meter::-webkit-meter-optimum-value {
  background:#72d3c0;
}

.e-reports .e-measure-note {
  margin-top:7px;
  color:#a8c5ca;
  font-size:11px;
}

.e-code summary {
  display:flex;
  align-items:center;
  min-height:44px;
  cursor:pointer;
  color:#244e4c;
  font-weight:720;
  font-size:13px;
}

.e-code pre {
  background:#172a3a;
  color:#dcf4e7;
  border-radius:8px;
  padding:12px 14px;
  white-space:pre-wrap;
  font:12px/1.6 ui-monospace,monospace;
  margin:0 0 10px;
}

.e-result button {
  margin-top:9px;
}

.e-hero {
  min-height:202px;
}

.e-hero h2:focus-visible {
  outline:0;
  text-decoration:underline;
  text-decoration-color:#ffad90;
  text-decoration-thickness:2px;
  text-underline-offset:7px;
}

.e-stage svg {
  max-height:375px;
}

.e-mission .e-floors {
  border:0;
  padding:0 0 6px;
  color:#37575c;
  justify-content:start;
  gap:12px;
}

.e-mission .e-floors button[aria-pressed=true] {
  background:#184a47;
  border-color:#184a47;
  color:white;
}

.e-mission .e-floors button:disabled {
  opacity:.64;
}

@media(max-width:759px) {
  .e-hero {
    min-height:168px;
  }
  .e-mission {
    grid-row:1;
  }
  .e-stage svg {
    max-height:345px;
  }
  .e-mission .e-floors {
    gap:4px;
  }
}

.e-components {
  padding:0 13px 3px;
  border-top:1px solid var(--e-line);
}

.e-components summary {
  display:flex;
  align-items:center;
  min-height:44px;
  color:#cae5e3;
  font-size:13px;
  font-weight:650;
  cursor:pointer;
}

.e-components div {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}

.e-components button[aria-pressed=true] {
  border-color:#ffad90;
  color:#ffddc7;
}

.e-components p {
  font-size:12px;
  color:#d3e5eb;
  margin:8px 0 10px;
}

.e-part-active {
  filter:drop-shadow(0 0 3px #fba47f) drop-shadow(0 0 6px #fba47f);
}

.e-reference dt {
  font-weight:700;
  color:#a0ebdb;
}

.e-reference dd {
  margin:0 0 8px;
}

.e-hero #e-title:focus-visible {
  outline:0!important;
}

@media(max-width:920px) {
  .e-mission .e-floors {
    align-items:start;
    flex-direction:column;
    gap:5px;
  }
  .e-floors div {
    display:grid;
    width:100%;
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
  .e-floors button {
    min-width:0;
  }
}

@media(min-width:760px) and (max-width:920px) {
  .e-floors div {
    grid-template-columns:repeat(3,minmax(44px,1fr));
  }
}

@media(max-width:759px) {
  .e-missions {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    overflow:visible;
    margin-inline:0;
    padding:0;
    gap:5px;
  }
  .e-missions button {
    min-width:0;
    padding:5px;
    font-size:11px;
  }
  .e-missions button span {
    margin-right:3px;
  }
  .e-hero-inner {
    padding:7px 14px 13px;
  }
  .e-hero h2 {
    margin-top:3px;
    margin-bottom:8px;
  }
  .e-progress {
    grid-template-columns:auto 1fr auto;
  }
}

@media(max-width:349px) {
  .e-floors div {
    grid-template-columns:repeat(3,minmax(44px,1fr));
  }
}
