:root {
  color-scheme: dark;
  --night: #080e1c;
  --line: #c7dcff2a;
  --text: #f1f6ff;
  --muted: #b0bfd8;
  font-family: "Avenir Next", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--text); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #b2e8ff; outline-offset: 4px; }
.top { min-height: 68px; padding: 0 clamp(22px, 5vw, 82px); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); position: relative; z-index: 2; background: #0a1222; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-mark { display: block; width: 29px; height: 29px; object-fit: contain; }
.brand strong { font-size: 15px; letter-spacing: .06em; }
.top nav { display: flex; gap: clamp(14px, 4vw, 48px); font-size: 13px; color: var(--muted); }
.top a:hover, .company a:hover { color: #a9e8ff; }
.top-contact { font-size: 13px; border-bottom: 1px solid #7493ac; padding-block: 7px; white-space: nowrap; }
/* The campus, active product and picker share the same full-bleed stage. */
.hero {
  --accent: #79e6fc;
  min-height: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto;
  background: radial-gradient(ellipse at 76% 43%, #11283b 0%, #0b1829 36%, #080e1c 74%);
}
.hero[data-mode=vox] { --accent: #b9a7ff; }
.hero[data-mode=custos] { --accent: #ffc083; }
.hero[data-mode=grid] { --accent: #b1ef93; }
.hero[data-mode=pbx] { --accent: #f6a7ce; }
.scene-stage { position: relative; isolation: isolate; display: grid; overflow: clip; }
.campus { position: absolute; inset: 0 -2% 0 38%; z-index: -2; overflow: visible; }
.campus-poster { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #080e1c 4%, #080e1ce8 24%, #080e1c25 47%, transparent 63%),
    linear-gradient(0deg, #080e1c 0%, #080e1cd4 8%, transparent 27%);
}
.stage-grid {
  min-height: clamp(460px, 66svh, 660px);
  width: min(100%, 1660px);
  margin-inline: auto;
  padding: 26px clamp(22px, 5vw, 82px) 23px;
  display: grid;
  grid-template-columns: minmax(335px, 42%) minmax(0, 1fr);
  align-items: center;
}
.lead { max-width: 490px; align-self: center; min-width: 0; }
.platform { margin: 0 0 10px; color: #c6dbec; font-size: 13px; font-weight: 650; letter-spacing: .12em; }
.platform::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin: 0 10px 2px 0; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.hero h1 { margin: 0; color: #f4f8ff; font-size: clamp(35px, 3.4vw, 59px); font-weight: 790; letter-spacing: -.07em; line-height: 1.12; text-wrap: balance; }
.hero h1 span { color: var(--accent); font-weight: 550; }
.product { margin-top: 15px; }
.product-name { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 0 0 8px; }
.product-name strong { color: var(--accent); font-size: 22px; letter-spacing: -.035em; }
.product-name span { color: #c0cde0; font-size: 13px; font-weight: 650; }
#product-headline { font-size: clamp(19px, 1.8vw, 25px); line-height: 1.3; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
#product-line { margin: 9px 0 0; font-size: 15px; line-height: 1.65; color: #bfcde0; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 19px; margin-top: 12px; }
.actions button, .actions a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; }
.actions button { padding: 0 15px; color: #091421; background: var(--accent); border: 0; font-weight: 720; }
.actions [hidden] { display: none; }
.actions button:hover { filter: brightness(1.15); }
.actions a:hover { color: var(--accent); }
/* Controls live in a dedicated row so they never cover the model. */
.scene-note { width: min(100%, 1660px); margin-inline: auto; padding: 0 clamp(22px, 5vw, 82px); background: linear-gradient(#abc8ec2b, #abc8ec2b) center top / calc(100% - 2 * clamp(22px, 5vw, 82px)) 1px no-repeat; }
.scene-note-head { min-width: 0; }
#scene-caption { margin: 0 0 4px; color: var(--accent); font-size: 12px; font-weight: 650; }
#campus-status { margin: 0; color: #eef5ff; font-size: 15px; line-height: 1.4; }
.scene-note:has(.campus-inspector:not([hidden])) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 22px;
}
.scene-note-head, .campus-inspector:not([hidden]) { padding-block: 11px; }
.campus-inspector:not([hidden]) { display: flex; flex-wrap: wrap; align-items: end; gap: 5px 14px; }
.campus-fields { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.status-room { font-weight: 700; }
.status-device { color: #b8c9de; }
.status-result { color: var(--accent); }
.campus-fields label { display: grid; gap: 4px; color: #bfcee2; font-size: 11px; }
.campus-fields select { min-height: 37px; max-width: 140px; color: #edf7ff; background: #101c2e; border: 1px solid #839dc057; border-radius: 4px; padding: 3px 7px; font: inherit; font-size: 13px; }
#campus-overview { border: 0; background: transparent; color: #d7e8f9; min-height: 37px; padding: 0; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.control-deck { width: min(100%, 1660px); margin-inline: auto; padding: 0 clamp(22px, 5vw, 82px) clamp(21px, 3vw, 43px); }
.deck-meta { display: flex; justify-content: flex-end; align-items: center; min-height: 38px; color: #aebed2; }
.deck-meta button { min-height: 36px; color: #dfeaff; background: transparent; border: 0; padding: 0 0 0 10px; font-size: 12px; }
.grid-stage-hint, #grid-overview-shortcut { display: none; }
.hero[data-mode="grid"]:has(#campus-overview[hidden]) .grid-stage-hint {
  display: block; margin: 0 auto 0 0; color: #c8d9ed; font-size: 12px;
}
.hero[data-mode="grid"]:has(#campus-overview:not([hidden])) #grid-overview-shortcut {
  display: block; margin-right: auto; padding-left: 0; color: var(--accent);
}

.product-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid #91b3dc37; background: #0b152583; }
.product-picker button { position: relative; display: grid; gap: 3px; justify-items: start; padding: 14px 15px; min-height: 66px; background: transparent; border: 0; border-right: 1px solid #91b3dc25; color: #c7d6ef; text-align: left; transition: background .22s, color .22s; }
.product-picker button:last-child { border-right: 0; }
.product-picker button strong { font-size: clamp(16px, 2vw, 23px); line-height: 1.1; letter-spacing: -.025em; }
.product-picker button span { font-size: 12px; }
.product-picker button:hover { background: #cedffd1a; color: white; }
.product-picker button[aria-pressed=true] { color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent); }
.product-picker button[aria-pressed=true]::before { content: ""; position: absolute; inset: -1px 0 auto; height: 2px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.gto-skip { position: fixed; z-index: 20; top: 8px; left: 12px; clip-path: inset(50%); padding: 10px 14px; background: #f1f6ff; color: #080e1c; }
.gto-skip:focus { clip-path: none; }
.stage-anchor { display: block; height: 0; overflow: hidden; }
.fallback-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 13px; }
.fallback-links a { text-decoration: underline; text-underline-offset: 3px; }
.company { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 23px; margin: 0 auto; padding: 32px clamp(22px, 5vw, 82px); max-width: 1660px; border-top: 1px solid var(--line); }
.company p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.company a { font-size: 13px; color: #d1ddf1; }
dialog { background: #0d182a; color: #f1f6ff; border: 1px solid #6e8aa988; padding: 0; width: min(1080px, calc(100vw - 26px)); max-height: calc(100svh - 36px); }
dialog::backdrop { background: #060a14da; }
.screen-bar { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.screen-bar h2 { font-size: 19px; margin: 0; }
.screen-bar p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.screen-bar button { min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--text); padding: 0 11px; }
dialog img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .top { min-height: 56px; gap: 10px; }
  .top nav { margin-left: auto; }
  .top-contact { display: none; }
  .hero { min-height: 0; background: radial-gradient(ellipse at 52% 57%, #11283b, #080e1c 70%); }
  .campus { inset: auto -8% 1px; height: clamp(255px, 70vw, 410px); }
  .scene-stage .scene-campus { transform: scale(1.13); }
  .hero-shade { background: linear-gradient(0deg, #080e1c 0%, #080e1cb0 3%, transparent 13%); }
  .stage-grid { min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto clamp(214px, 56vw, 320px); padding: 14px 16px 0; }
  .hero h1 { font-size: clamp(27px, 7.9vw, 37px); }
  .platform { margin-bottom: 7px; }
  .product { margin-top: 10px; }
  .product-name { margin-bottom: 4px; }
  .lead { margin-top: 0; }
  #product-line { display: none; }
  .actions { margin-top: 12px; }
  .scene-note { padding-inline: 19px; }
  .scene-note:has(.campus-inspector:not([hidden])) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scene-note-head { padding: 8px 0 1px; }
  .campus-inspector:not([hidden]) { padding: 9px 0 4px; gap: 4px 9px; }
  #campus-status { font-size: 14px; }
  .campus-fields select { min-height: 42px; }
  .control-deck { padding: 0 12px 18px; }
  .deck-meta { min-height: 28px; }
  .product-picker button { align-content: center; justify-items: center; min-height: 43px; padding: 8px 2px; text-align: center; }
  .product-picker button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .company div { flex-basis: 100%; }
}
@media (max-width: 420px) {
  .top { padding-inline: 14px; gap: 8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 24px; height: 24px; }
  .brand strong { font-size: 12px; }
  .top nav { gap: 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
  .deck-meta { min-height: 12px; }
}

.screen-bar { border-bottom: 1px solid var(--line); }
.screen-guide { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: 26px; align-items: center; padding: 20px; }
.screen-copy { min-width: 0; }
.screen-kicker { color: #9ce8ff; font-size: 12px; font-weight: 650; letter-spacing: .09em; }
.screen-copy h3 { font-size: 23px; line-height: 1.25; margin: 9px 0; }
.screen-copy p { line-height: 1.65; color: #c7d8ee; }
.screen-copy a { display: inline-block; margin-top: 8px; padding-block: 8px; color: #9ce8ff; text-decoration: underline; text-underline-offset: 3px; }
.screen-figure { margin: 0; min-width: 0; }
.screen-image { position: relative; }
.screen-focus { position: absolute; border: 2px solid #4ce0ff; border-radius: 5px; box-shadow: 0 0 0 1px #072135, 0 0 14px #4ce0ff55; pointer-events: none; }
.screen-figure figcaption { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 9px; }
@media (max-width: 760px) {
  .screen-guide { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 15px; }
  .screen-copy h3 { font-size: 20px; }
  .screen-copy p { margin: 6px 0; }
}

.stage-grid { pointer-events: none; }
.lead, .campus-inspector { pointer-events: auto; }

/* The equipment list follows the scene controls in normal page flow. */
.control-deck { padding-bottom: 0; }
.scene-note { padding-bottom: clamp(28px, 4vw, 52px); }
.device-inventory { grid-column: 1 / -1; margin-top: 1px; }
.inventory-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; margin-block: 0 10px; }
.inventory-head h2 { margin: 0; color: #eef5ff; font-size: 17px; letter-spacing: .02em; }
#inventory-summary { font-size: 12px; color: #afc0d5; }
#campus-inventory { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.inventory-device {
  width: 100%; min-height: 72px; min-width: 0; padding: 10px 12px;
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 3px 9px;
  align-items: center; text-align: left; border: 1px solid #526c8b69; border-radius: 6px;
  color: #ecf4ff; background: #101e31; transition: border-color .18s, background .18s;
}
.inventory-device svg { width: 24px; height: 24px; grid-row: 1 / span 2; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.inventory-device-name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.inventory-device-state { grid-column: 2; font-size: 12px; color: #b1c4db; }
.inventory-device-module { grid-column: 3; grid-row: 1 / span 2; font-size: 11px; color: #adc3df; align-self: center; }
.inventory-device:hover { background: #192b43; border-color: #aac6e8; }
.inventory-device[aria-pressed=true] { color: var(--accent); border-color: var(--accent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 13%, #101e31), #101e31 75%); }
@media (max-width: 820px) {
  #campus-inventory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .inventory-device { grid-template-columns: 18px minmax(0, 1fr); min-height: 74px; gap: 3px 7px; padding: 8px; }
  .inventory-device svg { width: 18px; height: 18px; }
  .inventory-device-module { grid-column: 2; grid-row: 3; }
  .inventory-device-name { font-size: 13px; }
}
.hero[data-mode=cast] .inventory-device[data-module=cast] .inventory-device-module,
.hero[data-mode=vox] .inventory-device[data-module=vox] .inventory-device-module,
.hero[data-mode=custos] .inventory-device[data-module=custos] .inventory-device-module,
.hero[data-mode=grid] .inventory-device[data-module=grid] .inventory-device-module,
.hero[data-mode=pbx] .inventory-device[data-module=pbx] .inventory-device-module { color: var(--accent); }
#space-path { list-style: none; display: flex; flex-wrap: wrap; gap: 3px 8px; padding: 0; margin: 7px 0 1px; color: #a8bbd4; font-size: 11px; }
#space-path li + li::before { content: "›"; color: #8096b1; margin-right: 8px; }
#space-path li:last-child { color: #eef5ff; }

.module-work, .device-disclosure { grid-column: 1 / -1; }
.module-work { margin-top: 11px; padding: 10px 12px; border: 1px solid #7193ba55; border-radius: 7px; background: #101c2e; }
.module-work-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.module-work-heading h2 { margin: 0; font-size: 19px; }
.pbx-call-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin: 8px 0 4px; padding: 7px 10px; border: 1px solid #d3a8c750; border-radius: 5px; background: #d3a8c70e; }
.pbx-call-progress[hidden] { display: none; }
.pbx-call-progress-label { flex: 1 1 220px; color: #f1e6f1; font-size: 12px; line-height: 1.4; }
.pbx-call-progress-steps { display: inline-flex; gap: 3px; white-space: nowrap; }
.pbx-call-progress-steps span { padding: 3px 6px; border-radius: 3px; color: #aeb9cb; font-size: 11px; }
.pbx-call-progress-steps span + span::before { content: '›'; margin-right: 6px; color: #8b9ab1; }
.pbx-call-progress-steps [data-done=true] { color: #d6bed0; }
.pbx-call-progress-steps [data-active=true] { color: #151324; background: #f6a7ce; font-weight: 760; }
#module-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(82px,1fr)); gap: 4px 8px; margin: 7px 0; }
#module-metrics div { border-left: 2px solid #7fa6cf77; padding: 5px 10px; }
#module-metrics dt { font-size: 12px; color: #b8cbe3; }
#module-metrics dd { margin: 4px 0 0; color: var(--accent); font-size: clamp(14px, 1.55vw, 19px); font-weight: 740; }
#module-metrics:has([data-metric="scope"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#module-metrics [data-metric="scope"] {
  grid-column: 1 / -1; display: flex; align-items: baseline; gap: 6px 10px;
  flex-wrap: wrap; padding-block: 4px; border-left: 0; border-top: 1px solid #7693b94d;
}
#module-metrics [data-metric="scope"] dd { margin-top: 0; font-size: 12px; }

#module-tasks { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin: 0; padding: 0; }
#module-tasks button { width:100%; height:100%; min-height: 46px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 7px; align-items:center; padding:6px 8px; text-align:left; color:#ecf5ff; background:#17273d; border:1px solid transparent; border-radius:5px; }
#module-tasks button:hover, #module-tasks button:focus-visible { border-color:var(--accent); }
#module-tasks button strong, #module-tasks button span { grid-column:1; }
#module-tasks button span { color:#c3d2e6; font-size:12px; }
#module-tasks button small { grid-column:2;grid-row:1 / span 2; color:var(--accent); font-size:11px; }
#module-tasks button[data-toggle-ac] { display:block; color:var(--accent); border-color:#759cbd66; font-weight:620; }
.device-disclosure summary { cursor:pointer; padding-block:8px; color:#c5d8f0; }
.device-disclosure .device-inventory { margin-bottom:10px; }
@media (max-width: 760px) {
  .module-work { padding: 8px 9px; }
  .module-work-heading h2 { font-size: 16px; }
  #module-metrics div { padding: 3px 5px; }
  #module-metrics dt { font-size: 10px; }
  #module-tasks button { font-size: 12px; min-height: 39px; }
  #module-tasks button span { font-size: 10px; }
  #module-tasks button small { display:none; }
}
#module-tasks [data-work-row][aria-pressed=true] { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 10%, #17273d); }

@media (min-width: 761px) and (max-width: 930px) {
  .stage-grid { padding-block-start: 14px; }
  .product-picker button { min-height: 56px; padding-block: 10px; }
  #module-tasks button { grid-template-columns: minmax(0, 1fr); gap: 2px; min-height: 43px; padding: 5px 7px; font-size: 13px; }
  #module-tasks button span { font-size: 11px; }
  #module-tasks button small { display: none; }
}
@media (max-width: 760px) {
  .stage-grid { padding-bottom: 49px; }
  .campus { bottom: 49px; }
  .hero[data-mode="grid"]:has(#campus-overview[hidden]) .campus {
    inset-inline: -4%;
    height: clamp(216px, 56vw, 320px);
  }
  .hero[data-mode="grid"]:has(#campus-overview[hidden]) .scene-campus {
    transform: scale(1.02);
  }
  .actions { position: absolute; inset: auto auto 6px 16px; margin: 0; }
  .actions button, .actions a { min-height: 39px; }
}
@media (max-width: 420px) and (max-height: 700px) {
  .stage-grid { padding-top: 9px; }
  .platform { margin-bottom: 4px; }
  .product { margin-top: 6px; }
  #module-tasks button { min-height: 35px; padding-block: 4px; }
  #module-metrics { margin-block: 5px; }
}

/* Mobile: the model gets its own clipped, in-flow slot. No scene layer can sit
   behind the information card while a building opens or the camera moves. */
@media (max-width: 760px) {
  .scene-stage {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .stage-grid, .lead { display: contents; }
  .platform, .hero h1, .product, .module-work, .actions {
    margin-inline: 14px;
  }
  .platform { order: 1; margin-top: 9px; margin-bottom: 2px; font-size: 11px; }
  .hero h1 { order: 2; font-size: clamp(23px, 6vw, 31px); line-height: 1.04; }
  .product { order: 3; margin-top: 4px; }
  .product-name { margin-bottom: 1px; gap: 4px 7px; }
  .product-name strong { font-size: 17px; }
  .product-name span { font-size: 11px; }
  #product-headline { font-size: 16px; line-height: 1.18; }
  .campus {
    order: 4;
    position: relative;
    inset: auto !important;
    z-index: auto;
    width: 100%;
    height: clamp(130px, 24svh, 212px) !important;
    flex: none;
    overflow: clip;
    pointer-events: auto;
  }
  .scene-stage .campus { overflow: hidden; contain: paint; }
  .scene-stage .campus-effects, .scene-stage .scene-campus { overflow: hidden; }
  .scene-campus { transform: none !important; }
  .hero-shade { display: none; }
  .module-work { order: 5; margin-top: 0; padding: 5px 7px; }
  .module-work-heading h2 { font-size: 13px; line-height: 1.2; }
  #module-metrics { gap: 2px 4px; margin: 3px 0 4px; }
  #module-metrics div { padding: 2px 4px; }
  #module-metrics dt { font-size: 9px; line-height: 1.2; }
  #module-metrics dd { margin-top: 1px; font-size: 12px; line-height: 1.2; }
  #module-metrics [data-metric="scope"] { padding-block: 1px; }
  #module-metrics [data-metric="scope"] dd { font-size: 10px; }
  #module-tasks { gap: 3px; }
  #module-tasks button { min-height: 44px; padding: 3px 5px; gap: 0 3px; }
  #module-tasks button strong { font-size: 12px; line-height: 1.1; }
  #module-tasks button span { font-size: 10px; line-height: 1.1; }
  .pbx-call-progress { flex-wrap: nowrap; gap: 4px; margin: 3px 0; padding: 3px 5px; }
  .pbx-call-progress-label { min-width: 0; flex: 1 1 auto; font-size: 10px; line-height: 1.15; }
  .pbx-call-progress-steps { flex: none; gap: 0; }
  .pbx-call-progress-steps span { font-size: 9px; padding: 2px 3px; }
  .pbx-call-progress-steps span + span::before { margin-right: 2px; }
  .actions {
    order: 6;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 6px;
    margin-bottom: 7px;
  }
  .actions button, .actions a { min-width: 0; min-height: 44px; justify-content: center; font-size: 12px; }
  .actions a { border: 1px solid #7698ba66; }
  .control-deck { padding-bottom: 0; }
  .deck-meta { min-height: 12px; }
  .deck-meta:empty { display: none; }
}

@media (max-width: 420px) and (max-height: 700px) {
  .platform, .hero h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .platform { margin-top: 5px; }
  .hero h1 { font-size: 22px; }
  .campus { height: 131px !important; }
  .module-work { padding-block: 4px; }
  #module-tasks button { min-height: 44px; }
  .actions button, .actions a { min-height: 44px; }
}
