*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:'IBM Plex Sans Arabic',Arial,sans-serif}button{font:inherit}[hidden]{display:none!important}
/* Locally hosted IBM Plex Sans Arabic: 400, 500, 600. Source: Google Fonts. License: assets/fonts/OFL.txt. */
/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/ibm-plex-sans-arabic-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./assets/fonts/ibm-plex-sans-arabic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/ibm-plex-sans-arabic-500-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(./assets/fonts/ibm-plex-sans-arabic-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./assets/fonts/ibm-plex-sans-arabic-600-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* latin */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(./assets/fonts/ibm-plex-sans-arabic-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The wall uses a single viewing scale at 720p, 1080p and 4K. */
body.tv-active {margin:0;background:#111924}
body.tv-active .app-shell,body.tv-active .workspace {display:block;margin:0;width:100%;max-width:none;min-height:0;padding:0}
body.tv-active #sidebar,body.tv-active .app-header,body.tv-active #menu-backdrop {display:none}
body.tv-active #main {display:block;padding:0;margin:0;max-width:none;min-width:0;width:100%}
.tv-board {
  --u:min(1vw,1.77778vh);--ink:#121c2a;--panel:#1b283a;--rail:#141f2e;--line:#394658;
  --muted:#b3bcc9;--gold:#7cb2e7;--aqua:#8fadd8;--paper:#edf2f7;--on-paper:#132032;
  width:100%;height:100vh;height:100dvh;box-sizing:border-box;display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;background:var(--ink);color:#ebf0f5;
  font:400 calc(var(--u)*1.25)/1.4 'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif;
  font-variant-numeric:tabular-nums;text-align:right;isolation:isolate
}
.tv-board *,.tv-board *::before,.tv-board *::after {box-sizing:border-box}
.tv-board [hidden] {display:none!important}
.tv-board :is(h1,h2,h3,p,dl,dd,figure) {margin:0}
.tv-board :is(h1,h2,h3,strong,bdi) {letter-spacing:normal}
.tv-board :is(button,a) {font:inherit;cursor:pointer;text-decoration:none}
.tv-board :is(button,a):focus-visible {outline:3px solid #468bd0;outline-offset:2px}
.tv-board ::selection {background:#96bee6;color:#132032}
.tv-board h3 {font-size:calc(var(--u)*1.52);font-weight:600;line-height:1.25;color:inherit}
.tv-board small {font-size:calc(var(--u)*.91);font-weight:400;color:var(--muted)}
.tv-board .tv-muted {font-size:calc(var(--u)*1.14);line-height:1.45;color:var(--muted)}
/* Ministry letterhead and Kuwait clock are fixed across the sequence. */
.tv-mast {display:flex;align-items:center;justify-content:space-between;gap:2vw;padding:calc(var(--u)*.57) calc(var(--u)*2.05);background:var(--paper);color:#172436;border-bottom:calc(var(--u)*.16) solid #628fbc}
.tv-identity,.tv-datetime {display:flex;align-items:center;gap:calc(var(--u)*1.4)}
.tv-identity img {display:block;width:calc(var(--u)*11.6);height:calc(var(--u)*4.25);object-fit:contain}
.tv-dept {border-inline-start:1px solid #b5bac2;padding-inline-start:calc(var(--u)*1.45)}
.tv-board .tv-dept h1 {font-size:calc(var(--u)*1.7);line-height:1.3;font-weight:600;color:#182537}
.tv-dept p {color:#4c5767;font-size:calc(var(--u)*1.09);margin-top:.08em}
.tv-datetime>div {display:grid;text-align:center}
.tv-datetime strong {color:#1a283c;line-height:1.1;font-size:calc(var(--u)*1.35);font-weight:600}
.tv-datetime span {color:#475262;font-size:calc(var(--u)*.97)}
.tv-datetime .tv-clock {border-inline-start:1px solid #a9b0bb;padding-inline-start:calc(var(--u)*1.44)}
.tv-clock strong {font-size:calc(var(--u)*2.3)}
.tv-seal {width:calc(var(--u)*3.5);height:calc(var(--u)*3.5);object-fit:contain}
.tv-body {min-height:0;display:grid;grid-template-columns:calc(var(--u)*15.55) minmax(0,1fr);gap:calc(var(--u)*1.3);padding:calc(var(--u)*1.08) calc(var(--u)*1.95) calc(var(--u)*.95)}
.tv-stage,.tv-screen,.tv-columns,.tv-orders-column,.tv-field-column {min-width:0;min-height:0}
/* The contract index is arranged like stops along a route. */
.tv-rail {display:flex;flex-direction:column;min-height:0;padding:calc(var(--u)*.65) 0 calc(var(--u)*.25) calc(var(--u)*.85);border-inline-end:1px solid var(--line)}
.tv-rail>h2 {font-size:calc(var(--u)*1.9);font-weight:600;padding-inline-start:calc(var(--u)*.45);margin-bottom:calc(var(--u)*.8)}
.tv-rail>div {display:flex;position:relative;flex-direction:column;flex:1;min-height:0}
.tv-rail>div::before {content:"";position:absolute;width:2px;background:#46556a;top:7%;bottom:7%;right:calc(var(--u)*2.05)}
.tv-rail button {position:relative;display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:calc(var(--u)*.5);padding:0 calc(var(--u)*.24);flex:1;min-height:0;text-align:right;color:#d6dce4;background:transparent;border:0;border-radius:3px}
.tv-rail button bdi {justify-self:center;white-space:nowrap;padding-inline:.28em;background:var(--ink);border:1px solid #475568;color:#c1c9d5;text-align:center;border-radius:3px;font-size:calc(var(--u)*1.35);font-weight:500;line-height:1.48}
.tv-rail button span {font-size:calc(var(--u)*1.16);font-weight:500;line-height:1.36}
.tv-rail button[aria-current=page] {background:#26354a;color:#f1f8fe;box-shadow:inset -3px 0 var(--gold)}
.tv-rail button[aria-current=page] bdi {background:var(--gold);color:#141f2e;border-color:var(--gold);font-weight:600}
.tv-rail button:hover:not([aria-current]) {background:#222e3f}
.tv-screen {height:100%;display:flex;flex-direction:column;gap:calc(var(--u)*.9)}
/* A source photograph identifies each road alongside its contract. */
.tv-title {position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;flex:0 0 calc(var(--u)*10.1);background:#233248;border-radius:4px}
.tv-title-copy {padding:0 calc(var(--u)*1.6);width:58%;min-width:0}
.tv-contractcode {display:flex;gap:.48em;align-items:center;font-size:calc(var(--u)*1.13);color:#9ec8f2;font-weight:500}
.tv-contractcode::before {content:"";width:calc(var(--u)*1.5);height:2px;background:var(--gold)}
.tv-title h2 {font-size:calc(var(--u)*3.15);font-weight:600;line-height:1.2;color:#f2f8fe;margin:calc(var(--u)*.3) 0 calc(var(--u)*.45)}
.tv-hero-contractor {font-size:calc(var(--u)*1.07);line-height:1.32;color:#e2e7ed}
.tv-hero-contractor>span {color:#a9b5c6;margin-inline-end:.4em}
.tv-site-photo {position:absolute;left:0;inset-block:0;width:45.3%;background:#6da3d8;clip-path:polygon(0 0,100% 0,91% 100%,0 100%);z-index:-1}
.tv-site-photo img {display:block;width:calc(100% - 4px);height:100%;object-fit:cover;object-position:50% 49%;clip-path:polygon(0 0,100% 0,91% 100%,0 100%)}
.tv-site-photo figcaption {position:absolute;bottom:calc(var(--u)*.55);left:calc(var(--u)*.65);padding:calc(var(--u)*.18) calc(var(--u)*.56);color:#fff;background:rgba(10,29,34,.91);font-size:calc(var(--u)*.93);display:flex;flex-wrap:wrap;align-items:baseline;gap:.6em;max-width:85%}
.tv-site-photo figcaption small {color:#d4d8df;font-size:.89em}
.tv-cover-scope {position:absolute;left:0;inset-block:0;width:43%;padding:0 calc(var(--u)*2.1);display:flex;flex-direction:column;justify-content:center;align-items:center;background:#28384e;clip-path:polygon(0 0,100% 0,91% 100%,0 100%)}
.tv-cover-scope>div {display:flex;gap:.59em;align-items:baseline;color:#b5d4f2}
.tv-cover-scope strong {font-size:calc(var(--u)*4.1);line-height:1;font-weight:600}
.tv-cover-scope small {margin-top:.4em}
.tv-columns {flex:1;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:calc(var(--u)*1)}
.tv-orders-column,.tv-field-column {display:flex;flex-direction:column;gap:calc(var(--u)*.78)}
.tv-orders,.tv-progress,.tv-program,.tv-map {border-radius:4px;min-width:0}
.tv-orders {display:flex;flex:1;min-height:0;flex-direction:column;padding:calc(var(--u)*.94) calc(var(--u)*1.35) calc(var(--u)*.6);background:var(--paper);color:var(--on-paper)}
.tv-orders-head,.tv-order-head,.tv-order-nav,.tv-section-line,.tv-supervisor,.tv-map figcaption {display:flex;align-items:center;justify-content:space-between;gap:calc(var(--u)*.55)}
.tv-orders-head {border-bottom:1px solid #b9bfc8;padding-bottom:calc(var(--u)*.58)}
.tv-orders-head h3 {font-size:calc(var(--u)*1.67)}
.tv-order-tally {display:flex;align-items:center;gap:calc(var(--u)*.55)}
.tv-order-tally strong {font-size:calc(var(--u)*2.05);font-weight:600;line-height:1;color:#273b57}
.tv-order-tally small {color:#495463;max-width:8.7em;line-height:1.25}
.tv-order-detail {display:flex;flex:1;min-height:0;flex-direction:column;padding-top:calc(var(--u)*.65)}
.tv-order-no {color:#475467;font-size:calc(var(--u)*1.18);font-weight:500}
.tv-order-no bdi {color:#192639;font-weight:600;font-size:1.27em}
.tv-status {font-size:calc(var(--u)*.98);font-weight:500;line-height:1.45;border-radius:3px;color:#365259;background:#e2e8e4;padding:0 calc(var(--u)*.5)}
.tv-status[data-status=approved] {color:#175441;background:#d8eadd}
.tv-status[data-status=awaiting],.tv-status[data-status=amendmentAwaiting] {color:#6b4709;background:#f4e4c0}
.tv-status[data-status=cancelled] {color:#813e33;background:#f2ddd4}
.tv-order-title {font-size:calc(var(--u)*2.05);color:#152439;font-weight:600;line-height:1.25;margin-top:calc(var(--u)*.25)!important}
.tv-location {font-size:calc(var(--u)*1.25);line-height:1.42;color:#384250;margin-top:calc(var(--u)*.25)!important}
.tv-order-long {font-size:calc(var(--u)*1.59);line-height:1.23}
.tv-order-long+.tv-location {font-size:calc(var(--u)*1.14);line-height:1.32}
.tv-dates {display:grid;grid-template-columns:1fr 1fr;gap:calc(var(--u)*.7);margin-top:auto!important;padding-top:calc(var(--u)*.53)}
.tv-dates>div {border-inline-start:2px solid #b7bec7;padding-inline-start:calc(var(--u)*.53)}
.tv-dates dt {font-size:calc(var(--u)*.96);color:#515b69}
.tv-dates dd {font-size:calc(var(--u)*1.25);font-weight:600;line-height:1.3;color:var(--on-paper)}
.tv-order-nav {color:#515b69;border-top:1px solid #c7ccd2;margin-top:calc(var(--u)*.58);padding-top:calc(var(--u)*.3);font-size:calc(var(--u)*.94)}
.tv-order-nav button {border:0;padding:.1em 0;background:transparent;color:#1e3555;font-weight:500}
.tv-order-nav button span {margin-inline-start:.4em}
.tv-progress,.tv-program {background:var(--panel);border:1px solid var(--line);padding:calc(var(--u)*.85) calc(var(--u)*1.2)}
.tv-section-line small {color:#c1c8d1}
.tv-progress-figures {display:flex;gap:calc(var(--u)*2);align-items:baseline;margin:calc(var(--u)*.32) 0;color:#d0d6de;font-size:calc(var(--u)*1.08)}
.tv-progress-figures strong {color:#e9eff5;font-size:calc(var(--u)*1.62);line-height:1.2;margin-inline-end:.14em}
.tv-progress-figures span:first-child strong {font-size:calc(var(--u)*2.08);color:var(--aqua)}
.tv-progress-bottom {display:flex;gap:calc(var(--u)*.9);align-items:center}
.tv-progress-bottom>span {color:#d3d9e2;font-size:calc(var(--u)*.94);white-space:nowrap}
.tv-scale {direction:ltr;position:relative;height:calc(var(--u)*.32);background:#425167;flex:1}
.tv-scale i {height:100%;display:block;background:var(--aqua)}
.tv-scale b {position:absolute;inset-block:calc(var(--u)*-.23);width:3px;background:#d3e7fb}
.tv-program>p,.tv-progress>p {margin-top:calc(var(--u)*.35)!important}
.tv-program>p {font-size:calc(var(--u)*1.22);line-height:1.38;color:#e9edf3}
.tv-record-label {color:#afbac9;font-size:.82em;margin-inline-end:.55em}
.tv-shift {margin-top:.2em;font-size:calc(var(--u)*1.03);color:var(--muted)}
.tv-shift bdi {color:#fff;margin-inline-start:.4em}
.tv-supervisor {border-top:1px solid var(--line);margin-top:calc(var(--u)*.53);padding-top:calc(var(--u)*.49)}
.tv-supervisor span {font-size:calc(var(--u)*1.02);color:var(--muted)}
.tv-supervisor strong {font-size:calc(var(--u)*1.23);font-weight:500;color:#edf1f6}
.tv-map {display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;background:#1d2838;border:1px solid var(--line)}
.tv-map figcaption {padding:calc(var(--u)*.65) calc(var(--u)*1.15);background:#1d2838}
.tv-map figcaption span {font-size:calc(var(--u)*.9);color:#b9c1cc}
.tv-map-frame {flex:1;min-height:0;position:relative;display:flex;align-items:stretch;justify-content:center;background:#16202f}
.tv-map-frame img {display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:contain}
.tv-map-missing {padding:calc(var(--u)*1.05) calc(var(--u)*1.2)}
.tv-milestones {flex:1;display:flex;flex-direction:column;justify-content:space-evenly}
.tv-milestones>div {display:flex;align-items:center;justify-content:space-between;gap:.7em;border-bottom:1px solid var(--line);padding-block:.28em}
.tv-milestones dt {color:#c6cfdb;font-size:calc(var(--u)*1.13)}.tv-milestones dd {font-weight:500}
.tv-controls {position:relative;display:flex;align-items:center;justify-content:space-between;gap:.8em;padding:calc(var(--u)*.45) calc(var(--u)*1.95);border-top:1px solid #384455;background:#0f1824;color:#c9d0d9;font-size:calc(var(--u)*.96)}
.tv-position,.tv-utility {display:flex;align-items:center;gap:calc(var(--u)*.82)}
.tv-position [data-tv-counter] {color:var(--gold);font-size:1.18em;font-weight:600}
.tv-countdown {color:#c4cbd5}
.tv-countdown bdi {display:inline-block;min-width:1.6em;text-align:center;color:var(--gold);font-weight:600}
.tv-control,.tv-back {color:#d4dae3;background:transparent;border:1px solid #525f71;border-radius:3px;padding:.19em .67em;line-height:1.4}
.tv-control:hover,.tv-back:hover {background:#2a374a}
.tv-notice {position:absolute;bottom:110%;left:3vw;padding:.4em 1em;background:var(--paper);color:var(--on-paper)}
.tv-board:fullscreen {width:100vw;height:100vh}
@media(prefers-reduced-motion:no-preference) {
 .tv-screen:not([hidden]) .tv-title-copy {animation:tv-reveal 420ms cubic-bezier(.22,.72,.24,1) both}
 @keyframes tv-reveal {from{transform:translateX(.4em);opacity:.72}to{transform:none;opacity:1}}
}
@media(max-aspect-ratio:6/5),(max-width:720px) {
 .tv-board {--u:14px;height:auto;min-height:100dvh}
 .tv-mast {flex-wrap:wrap;padding:12px 15px;gap:9px}
 .tv-identity img {width:93px;height:auto}.tv-dept {padding-inline-start:12px}.tv-board .tv-dept h1 {font-size:19px}.tv-dept p {font-size:15px}
 .tv-datetime {width:100%;justify-content:space-between}.tv-datetime>div {display:flex;align-items:center;gap:8px}.tv-datetime .tv-clock {border:0}.tv-clock strong {font-size:24px}
 .tv-seal {width:32px;height:32px}.tv-body {display:flex;flex-direction:column;padding:12px 14px}
 .tv-rail {border:0;padding:0}.tv-rail>h2 {font-size:18px;margin-bottom:5px}.tv-rail>div {display:grid;grid-template-columns:repeat(auto-fit,minmax(6.4rem,1fr));gap:2px}.tv-rail>div::before {display:none}
 .tv-rail button {display:block;min-height:42px;text-align:center;padding:3px}.tv-rail button bdi {display:inline-block;font-size:17px;min-width:30px}.tv-rail button span {display:none}
 .tv-title {display:grid;flex-basis:auto;min-height:0}.tv-title-copy {grid-row:1;width:100%;padding:15px}.tv-title h2 {font-size:32px}.tv-site-photo,.tv-cover-scope {position:relative;width:100%;height:116px;clip-path:none;z-index:auto}.tv-site-photo img {width:100%;clip-path:none}.tv-site-photo figcaption {font-size:12px}
 .tv-cover-scope {align-items:flex-start;height:auto;padding:8px 15px}.tv-cover-scope strong {font-size:30px}
 .tv-columns {grid-template-columns:1fr}.tv-order-detail {min-height:160px}.tv-rail button[aria-current=page] {box-shadow:inset 0 -2px var(--gold)}
 .tv-map-frame {min-height:0;flex:none}.tv-map-frame img {position:static;height:auto;max-height:48vh}
 .tv-controls {flex-wrap:wrap;padding:10px 14px}.tv-countdown {order:3}.tv-utility {flex-wrap:wrap}.tv-map-missing {gap:12px}
}
/* The focus view gives the camera the larger share of a TV screen. */
.tv-aerial-toggle,.tv-week-sites button,.tv-program select {color:#e9edf3;border:1px solid #647183;background:#1a283c;border-radius:3px;font-family:inherit;font-size:calc(var(--u)*.96);cursor:pointer}
.tv-aerial-toggle {padding:.2em .7em}
.tv-a11y-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tv-map-source {min-width:0;max-width:70%;border:0;border-bottom:1px solid #6f7e94;color:#e9edf3;background:#1d2838;font:600 calc(var(--u)*1.31)/1.35 'IBM Plex Sans Arabic',Tahoma,sans-serif;cursor:pointer}
.tv-map-key {display:grid;row-gap:2px;flex:none;padding:calc(var(--u)*.36) calc(var(--u)*.83);background:#192332;border-top:1px solid var(--line)}
.tv-map-key strong {font-size:calc(var(--u)*1.03);line-height:1.3;font-weight:500}
.tv-map-key small {font-size:calc(var(--u)*.81);color:#b5bdc9;line-height:1.3}
.tv-road-overlay {position:absolute;inset:0;width:100%;height:100%;fill:none;pointer-events:none}
.tv-road-overlay polyline {stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.tv-road-outline {stroke:#232830;stroke-width:4px}
.tv-road-line {stroke:#88bef4;stroke-width:2.2px}
.tv-week-meta {font-size:calc(var(--u)*.92);color:#bbc3ce;line-height:1.3;margin-top:.22em}
.tv-week-activity {margin-top:calc(var(--u)*.25);display:flex;align-items:baseline;flex-wrap:wrap;gap:0 .55em}
.tv-week-activity strong {color:#97c2ec;font-size:calc(var(--u)*1.22)}
.tv-week-activity span {font-size:calc(var(--u)*1.04)}
.tv-supervisor.tv-week-team {margin-top:.35em;padding-top:.36em;align-items:baseline}
.tv-week-team strong {font-size:calc(var(--u)*1.01)}
.tv-week-sites {display:flex;align-items:center;gap:.35em;margin-top:.35em}
.tv-week-sites>span {font-size:calc(var(--u)*.92);color:var(--muted);margin-inline-end:.4em}
.tv-week-sites button {font-size:calc(var(--u)*.95);padding:0 .53em;line-height:1.48}
.tv-week-sites button[aria-pressed=true] {background:#7bafe3;color:#151f2e;border-color:#7bafe3}
.tv-week-sites small {margin-inline-start:auto}
.tv-program select {padding:.08em .35em;font-size:calc(var(--u)*.93);max-width:48%}
.tv-aerial-mode .tv-title {flex-basis:calc(var(--u)*5.6)}
.tv-aerial-mode .tv-title-copy {width:75%}
.tv-aerial-mode .tv-title h2 {font-size:calc(var(--u)*2.05);margin:.1em 0}
.tv-aerial-mode .tv-site-photo,.tv-aerial-mode .tv-cover-scope {width:30%}
.tv-aerial-mode .tv-site-photo figcaption {font-size:calc(var(--u)*.8)}
.tv-aerial-mode .tv-hero-contractor {font-size:calc(var(--u)*.93)}
@media(min-aspect-ratio:6/5) and (min-width:721px) {
 .tv-aerial-mode .tv-body {grid-template-columns:calc(var(--u)*8.5) minmax(0,1fr);gap:calc(var(--u)*.85)}
 .tv-aerial-mode .tv-rail>h2 {font-size:calc(var(--u)*1.48)}
 .tv-aerial-mode .tv-rail>div::before {display:none}
 .tv-aerial-mode .tv-rail button {display:flex;flex-direction:column;justify-content:center;gap:calc(var(--u)*.25);text-align:center}
 .tv-aerial-mode .tv-rail button span {font-size:calc(var(--u)*.88);line-height:1.24}
 .tv-aerial-mode .tv-columns {grid-template-columns:minmax(0,.94fr) minmax(0,1.49fr)}
 .tv-aerial-mode .tv-orders-column,.tv-aerial-mode .tv-field-column {display:contents}
 .tv-aerial-mode .tv-columns {grid-template-rows:minmax(0,1fr) auto auto;gap:calc(var(--u)*.64) calc(var(--u)*.86)}
 .tv-aerial-mode .tv-orders {grid-column:1;grid-row:1}
 .tv-aerial-mode .tv-progress {grid-column:1;grid-row:3}
 .tv-aerial-mode .tv-program {grid-column:1;grid-row:2}
 .tv-aerial-mode .tv-map {grid-column:2;grid-row:1/4}
 .tv-aerial-mode .tv-map-key {padding:calc(var(--u)*.5) calc(var(--u)*1)}
 .tv-aerial-mode .tv-map-key strong {font-size:calc(var(--u)*1.26)}
 .tv-aerial-mode .tv-map-key small {font-size:calc(var(--u)*.93)}
 .tv-aerial-mode .tv-order-title {font-size:calc(var(--u)*1.77)}
 .tv-aerial-mode .tv-location {font-size:calc(var(--u)*1.17);line-height:1.3}
 .tv-aerial-mode .tv-order-long {font-size:calc(var(--u)*1.33)}
 .tv-aerial-mode .tv-order-long+.tv-location {font-size:calc(var(--u)*1.06);line-height:1.28}
 .tv-aerial-mode .tv-order-tally small {max-width:7.8em}
 .tv-aerial-mode .tv-progress,.tv-aerial-mode .tv-program {padding:calc(var(--u)*.6) calc(var(--u)*1.05)}
}
@media(max-aspect-ratio:6/5),(max-width:720px) {
 .tv-aerial-mode .tv-title {flex-basis:auto}.tv-aerial-mode .tv-title-copy {width:100%}
 .tv-aerial-mode .tv-site-photo,.tv-aerial-mode .tv-cover-scope {width:100%}
 .tv-aerial-mode .tv-field-column {order:-1}
 .tv-aerial-toggle,.tv-week-sites button,.tv-program select {min-height:36px}
}

/* Letterboxing belongs to the stationary frame. All camera coordinates and
   translations are relative to the fitted map plate inside that frame. */
.tv-flight {
  --flight-ratio:1.77778;
  --flight-end:translate(var(--flight-dx,0%),var(--flight-dy,0%)) scale(var(--flight-zoom,1));
  container-type:size;
  position:relative;
  overflow:hidden;
  flex:1;
  min-height:0;
}
.tv-flight-plane {
  position:absolute;
  left:50%;
  top:50%;
  translate:-50% -50%;
  width:min(100cqw,calc(100cqh * var(--flight-ratio)));
  aspect-ratio:var(--flight-ratio);
  overflow:hidden;
  isolation:isolate;
}
.tv-flight-lens {position:absolute;inset:0;transform-origin:50% 50%}
.tv-flight .tv-flight-lens img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:fill;
  display:block;
}
.tv-flight[data-flight-motion=site] .tv-flight-lens::after {
  content:"";
  position:absolute;
  top:var(--flight-site-y);
  left:var(--flight-site-x);
  transform:translate(-50%,-50%) scale(calc(1 / var(--flight-zoom)));
  width:clamp(13px,1.15vw,44px);
  aspect-ratio:1;
  border-radius:50%;
  border:clamp(2px,.13vw,5px) solid #fffbed;
  box-shadow:0 0 0 2px #173a39,inset 0 0 0 2px #173a39;
  pointer-events:none;
}
@keyframes tv-flight-approach {
  0%,16% {
    transform:translate(0%,0%) scale(1) rotate(0deg);
    animation-timing-function:cubic-bezier(.46,.01,.76,.68);
  }
  55% {
    /* Extra scale keeps all corners inside the source plate while the camera banks. */
    transform:translate(calc(.43 * var(--flight-dx)),calc(.43 * var(--flight-dy)))
      scale(calc(.63 + .43 * var(--flight-zoom))) rotate(var(--flight-bank));
    animation-timing-function:cubic-bezier(.22,.31,.36,1);
  }
  100% {transform:var(--flight-end) rotate(0deg)}
}
@keyframes tv-flight-settle {
  from {transform:scale(1.025) rotate(-.22deg)}
  to {transform:scale(1) rotate(0deg)}
}
@keyframes tv-flight-site-reveal {
  0%,58% {opacity:0}
  85%,100% {opacity:1}
}
@media(prefers-reduced-motion:no-preference) {
  .tv-flight:is([data-flight-motion=site],[data-flight-motion=corridor]) .tv-flight-lens {
    animation:tv-flight-approach 7.2s cubic-bezier(.32,.04,.18,1) both;
  }
  .tv-flight[data-flight-motion=overview] .tv-flight-lens {
    animation:tv-flight-settle 2.9s cubic-bezier(.18,.55,.22,1) both;
  }
  .tv-flight[data-flight-motion=site] .tv-flight-lens::after {
    animation:tv-flight-site-reveal 7.2s linear both;
  }
  .tv-board[data-tv-rotation=paused] .tv-flight .tv-flight-lens,
  .tv-board[data-tv-rotation=paused] .tv-flight .tv-flight-lens::after {animation-play-state:paused}
}
@media(prefers-reduced-motion:reduce) {
  .tv-flight:is([data-flight-motion=site],[data-flight-motion=corridor]) .tv-flight-lens {transform:var(--flight-end)}
}
@media(prefers-reduced-motion:no-preference) {
  .tv-flight[data-week-route][data-flight-motion=corridor] .tv-flight-lens {animation-duration:5.6s}
  @keyframes tv-fly-between-roads {from{transform:var(--flight-from)}to{transform:var(--flight-end)}}
  .tv-flight[data-week-transfer][data-flight-motion] .tv-flight-lens {animation:tv-fly-between-roads 4.8s cubic-bezier(.34,.02,.18,1) both}
  .tv-board[data-tv-rotation=paused] .tv-flight[data-week-transfer] .tv-flight-lens {animation-play-state:paused}
  .tv-board[data-tv-rotation=paused] .tv-flight[data-manual-still] .tv-flight-lens {animation:none;transform:var(--flight-end)}
}
@media(max-aspect-ratio:6/5),(max-width:720px) {
  .tv-map .tv-flight {flex:none;width:100%;height:auto;aspect-ratio:var(--flight-ratio)}
}

/* An unbroken photographic stage with the Ministry's original letterhead. */
.earth-tour{
  --night:#101a29;--blue:#9dcaff;--white:#f6f9fc;--edge:clamp(16px,2.45vw,105px);
  position:relative;isolation:isolate;overflow:hidden;width:100%;height:100vh;height:100dvh;
  color:var(--white);background:#233446;text-align:right;
  font:400 clamp(16px,1.12vw,48px)/1.45 'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif;
  font-variant-numeric:tabular-nums;
}
.earth-tour *,.earth-tour *::before,.earth-tour *::after{box-sizing:border-box}
.earth-tour [hidden]{display:none!important}
.earth-tour :is(h1,h2,p){margin:0;color:inherit;letter-spacing:normal}
.earth-tour button,.earth-tour a{font:inherit;cursor:pointer;letter-spacing:normal;text-decoration:none}
.earth-tour button{min-height:0;min-width:0}
.earth-tour :is(a,button):focus-visible{outline:3px solid #72b5ff;outline-offset:3px}
.earth-tour svg{display:block;width:1.18em;height:1.18em;flex:none}
.earth-footer a{color:inherit}
.earth-empty{position:absolute;top:38%;inset-inline:0;text-align:center}
.earth-empty h2{font-size:1.75em;font-weight:500}.earth-empty a{display:inline-block;margin:.8em;color:#b6d9ff}
.earth-tour[data-empty=true] :is(.earth-bottom,.earth-foot-source,.earth-world,.earth-compass,.earth-scale){visibility:hidden}
.earth-tour[data-single=true] :is(.earth-play-meter,.earth-upnext,.earth-transport){display:none}
.earth-feed-warning{position:absolute;inset-inline-start:var(--edge);top:clamp(90px,6.5vw,270px);background:#22354bef;border-radius:.4em;padding:.4em .8em}
.earth-world,.earth-world canvas{position:absolute;inset:0;width:100%;height:100%}
.earth-world canvas{display:block}
.earth-labels{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.earth-labels span{position:absolute;left:0;top:0;direction:ltr;display:flex;align-items:center;gap:.37em;white-space:nowrap;
  font:500 clamp(13px,1.15vw,34px)/1.1 'IBM Plex Sans Arabic',sans-serif;color:#fff;text-shadow:0 1px 3px #182436,1px 0 2px #182436,-1px 0 2px #182436}
.earth-labels span::before{content:"";width:.36em;height:.36em;flex:none;background:#eef5ff;box-shadow:0 0 0 1px #263344;border-radius:50%}
.earth-world::after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(0deg,rgba(12,21,34,.98) 0%,rgba(12,21,34,.89) 12%,rgba(12,21,34,.62) 22%,rgba(12,21,34,0) 43%);}
.earth-header{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:2vw;padding:.65em var(--edge);
  color:#17293c;background:rgba(253,254,255,.96);box-shadow:0 1px 0 #1a2e4726,0 5px 26px #111b251a}
.earth-identity,.earth-head-actions,.earth-itinerary-button,.earth-meta,.earth-controls,.earth-transport,.earth-footer,.earth-foot-source,.earth-position{display:flex;align-items:center}
.earth-identity{gap:1.18em;min-width:0}
.earth-identity img{width:clamp(107px,9.7vw,410px);height:clamp(40px,3.6vw,151px);object-fit:contain;mix-blend-mode:multiply}
.earth-identity>div{border-inline-start:1px solid #bfceda;padding-inline-start:1.18em}
.earth-identity p,.earth-clock span{color:#4a6078;font-size:.8em;font-weight:500}
.earth-identity h1{font-size:clamp(18px,1.55vw,65px);line-height:1.27;font-weight:600}
.earth-head-actions{gap:.55em;flex:none}
.earth-chief{display:grid;gap:.12em;line-height:1.35}
.earth-chief strong{color:#18324d;font-size:1.16em;font-weight:600}
.earth-chief span{color:#465e74;font-size:.86em}
.earth-clock{display:grid;justify-items:center;line-height:1.18;margin-inline-end:1.25em}
.earth-clock time{font:500 1.65em/1 'IBM Plex Sans Arabic',Arial,sans-serif;letter-spacing:.035em}
.earth-clock span{margin-top:.25em}
.earth-tour .earth-button,.earth-itinerary-button{display:inline-flex;align-items:center;justify-content:center;gap:.45em;
  background:#fff;color:#23374c;border:1px solid #cbd4de;border-radius:100px}
.earth-tour .earth-button{aspect-ratio:1;width:2.35em;height:2.35em;padding:.48em}
.earth-work-description{font-size:.85em;line-height:1.5;margin-block-start:.6em}
.earth-work-description summary{cursor:pointer;color:inherit;font-weight:500}
.earth-work-description summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.earth-work-description p{margin:.45em 0 .6em;overflow-wrap:anywhere;white-space:pre-line}
.earth-tour .earth-caption h2[data-length=medium]{font-size:1.75em;line-height:1.36}
.earth-tour .earth-caption h2[data-length=long]{font-size:1.35em;line-height:1.38;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.earth-work-description[open] p{max-block-size:10em;overflow:auto}
.earth-itinerary-button{font-weight:500!important;height:2.35em;padding:0 .9em}
.earth-itinerary-button:hover,.earth-header .earth-button:hover{background:#e7f0fa}
.earth-compass{position:absolute;top:clamp(96px,7vw,295px);left:var(--edge);width:2.6em;display:flex;flex-direction:column;align-items:center;gap:0;
  filter:drop-shadow(0 1px 3px #1b283c);color:#fff}
.earth-compass b{font:600 .86em/1.4 Arial,sans-serif;letter-spacing:.09em}
.earth-compass svg{width:1.15em;height:1.4em;transform-origin:50% 60%}
.earth-bottom{position:absolute;bottom:clamp(55px,7.2vh,165px);inset-inline:var(--edge);display:flex;align-items:flex-end;justify-content:space-between;gap:4vw;
  text-shadow:0 2px 13px #0b1426a6;pointer-events:none}
.earth-caption,.earth-navigation{min-width:0;pointer-events:auto}
.earth-caption{max-width:67%;text-wrap:pretty}
.earth-meta{gap:.85em;font-weight:500;color:#e7eef9;font-size:.98em}
.earth-approach{display:none;font-size:.84em;padding-inline-start:.85em;border-inline-start:1px solid #c4d4e888}
.earth-tour[data-phase=flying] .earth-approach{display:inline-block}
.earth-contract{display:inline-flex;align-items:center;background:#d8eaff;color:#132e4c;border-radius:.36em;padding:.12em .67em .19em;font-weight:600;text-shadow:none}
.earth-caption h2{font-size:clamp(28px,3.1vw,125px);font-weight:600;line-height:1.28;margin:.18em 0 .1em;color:white}
.earth-activity{font-size:clamp(16px,1.38vw,58px);line-height:1.5;color:#edf3fa!important}
.earth-reference{font-size:.91em;color:#c6d4e4;margin:.25em 0 0}
.earth-navigation{width:clamp(230px,22vw,870px);border-inline-end:2px solid #a3c9ff91;padding-inline-end:1.2em}
.earth-upnext>span{display:flex;align-items:center;gap:.35em;color:#c9dcf4;font-size:.9em}
.earth-upnext strong{display:block;margin:.2em 0 .7em;font-size:1.15em;font-weight:500;line-height:1.35}
.earth-upnext svg{width:.8em;height:.8em}
.earth-controls{justify-content:space-between;gap:.5em}
.earth-transport{gap:.34em}
.earth-transport .earth-button{color:#f5f9ff;border-color:#c4d4e875;background:#1d2c40ab;width:2.12em;height:2.12em}
.earth-transport .earth-button:hover{background:#314966}
.earth-transport .earth-button[data-tour-action="toggle"]{background:#edf5ff;color:#20354e;border-color:#edf5ff}
.earth-position{gap:.4em;color:#bacadd;font-size:.86em}
.earth-position bdi{color:#fff;white-space:nowrap;font:500 1.1em/1.2 'IBM Plex Sans Arabic',Arial,sans-serif}
.earth-footer{position:absolute;inset:auto var(--edge) 0;min-height:2.1em;justify-content:space-between;gap:1em;
  color:#c2d0dd;font-size:clamp(11px,.79vw,32px);border-top:1px solid #c0d2e85c}
.earth-play-meter{height:3px;margin-top:.75em;border-radius:8px;background:#c2d2e83d;overflow:hidden}
.earth-play-meter i{display:block;width:100%;height:100%;background:#acd5ff;transform:scaleX(var(--tour-read,0));transform-origin:right;transition:transform .15s linear}
.earth-progress{width:clamp(210px,18vw,740px);flex:none;align-self:flex-end;padding-bottom:.25em}
.earth-progress-heading,.earth-target{display:flex;justify-content:space-between;align-items:baseline;gap:.6em}
.earth-progress-heading{font-weight:500;color:#e5edf5}
.earth-progress-heading strong{font-size:1.85em;font-weight:500;line-height:1.05;color:white}
.earth-progress-heading small{font-size:.52em;margin-left:.16em}
.earth-missing-reading{font-size:.85em;margin-top:.4em!important;color:#d7e3f3!important}
.earth-achieved-track{position:relative;background:#c3d2e047;direction:ltr;border-radius:12px;height:clamp(6px,.48vw,16px);margin:.64em 0 .55em}
.earth-achieved-track>b{position:absolute;top:-.19em;bottom:-.19em;width:2px;background:white;box-shadow:0 0 0 1px #182a403d}
.earth-achieved,.tv-scale i,.pg-track span,.pg-bullet>span{position:relative;overflow:hidden;transform-origin:left center}
.earth-achieved{display:block;height:100%;background:#91bdff;border-radius:inherit}
.earth-target{font-size:.82em;color:#d7e3f3}.earth-target bdi{margin-inline:.15em;color:#fff}
@media(min-aspect-ratio:1/1){.earth-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:clamp(18px,3.1vw,115px)}.earth-caption{max-width:100%}}
@media(prefers-reduced-motion:no-preference){
  @keyframes earth-progress-reveal{from{transform:scaleX(0)}to{transform:scaleX(1)}}
  @keyframes earth-progress-glint{0%,5%{transform:translateX(-110%)}65%,100%{transform:translateX(110%)}}
  .earth-achieved,.tv-screen:not([hidden]) .tv-scale i,.pg-track span,.pg-bullet>span{animation:earth-progress-reveal 1.7s cubic-bezier(.18,.67,.19,1) both}
  .earth-achieved::after,.tv-scale i::after,.pg-bar-line.actual .pg-track span::after{content:"";display:block;position:absolute;inset:0;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.55) 50%,transparent 75%);animation:earth-progress-glint 4.6s ease-in-out 1s infinite}
  .earth-tour[data-paused=true] .earth-achieved,.tv-board[data-tv-rotation=paused] .tv-scale i{animation:none}
  .earth-tour[data-paused=true] .earth-achieved::after,.earth-tour:has(.earth-drawer:not([hidden])) .earth-achieved::after,.tv-board[data-tv-rotation=paused] .tv-scale i::after{animation-play-state:paused}
}
.earth-foot-source{gap:.55em;white-space:nowrap}
.earth-key{display:inline-block;width:1.5em;height:3px;border-radius:99px;background:#73baff;box-shadow:0 0 0 1px #203853}
.earth-footer p{font:400 .94em/1.2 Arial,sans-serif;color:inherit;text-align:center}
.earth-scale{display:flex;align-items:center;gap:.5em}
.earth-scale bdi{white-space:nowrap}
.earth-scale i{display:block;width:var(--scale-width,60px);border:solid #c2d0dd;border-width:0 1px 2px;height:.5em}
.earth-imagery-error{position:absolute;left:50%;top:35%;transform:translateX(-50%);background:#15253bec;color:white;border-radius:.4em;padding:.6em 1em}
.earth-drawer{position:absolute;z-index:2;inset-inline-end:var(--edge);top:clamp(88px,6.75vw,285px);bottom:calc(2.8em + 1vh);width:min(24em,44vw);
  display:flex;flex-direction:column;background:#f9fbfefc;color:#172c44;border:1px solid #d1dfed;border-radius:.73em;box-shadow:0 12px 55px #0b182d66;overflow:hidden}
.earth-drawer header,.earth-drawer>a{display:flex;align-items:center;gap:.7em;padding:.74em 1em}
.earth-drawer header{justify-content:space-between;border-bottom:1px solid #dbe4ed}
.earth-drawer h2{font-size:1.25em;font-weight:600}
.earth-drawer>a{background:#e8f1fc;color:#1d4776;border-top:1px solid #c6d7e8}
.earth-picker{overflow:auto;flex:1}
.earth-picker button{background:transparent;border:none;border-bottom:1px solid #dee6ee;width:100%;color:inherit;text-align:right;display:grid;
  grid-template-columns:minmax(0,1fr);gap:.2em;padding:.65em 1em}
.earth-picker button[aria-current]{background:#d9ebff;box-shadow:inset -3px 0 #2f76c9}
.earth-picker button:hover{background:#e7f0fa}
.earth-picker button span{color:#435e7b;font-size:.8em}
.earth-picker button strong{font-size:.92em;font-weight:500}
@media(max-width:760px){
  .earth-header{padding:.7em var(--edge);gap:.8em}.earth-identity{gap:.65em}.earth-identity>div{padding-inline-start:.65em}
  .earth-identity p{font-size:.7em}.earth-clock{display:none}.earth-identity img{width:82px;height:36px}
  .earth-head-actions{gap:.35em}.earth-itinerary-button{padding:0;width:2.35em}.earth-itinerary-button span{display:none}
  .earth-drawer{width:min(25em,calc(100vw - var(--edge)*2));top:78px}.earth-bottom{gap:.7em}.earth-navigation{width:auto}
  .earth-footer p{font-size:9px;max-width:45%}.earth-footer{gap:.4em}.earth-scale i{max-width:10vw}
}
@media(max-aspect-ratio:1/1){
  .earth-world::after{background:linear-gradient(0deg,#0c1522 0%,#0c1522e8 20%,#0c152298 33%,transparent 53%)}
  .earth-header{align-items:center}.earth-identity img{width:75px}.earth-identity h1{font-size:16px}.earth-identity p{font-size:10px}
  .earth-bottom{flex-direction:column;align-items:stretch;gap:1.15em;bottom:3.15em}.earth-caption{max-width:100%}
  .earth-caption h2{font-size:clamp(26px,6.65vw,47px)}.earth-meta,.earth-reference{font-size:.82em}.earth-activity{font-size:1em}
  .earth-navigation{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1em;padding:0;border:0}
  .earth-progress{width:100%;font-size:.82em}.earth-progress-heading strong{font-size:1.35em}.earth-achieved-track{margin:.25em 0 .36em}
  .earth-navigation{position:relative;padding-bottom:.45em}.earth-play-meter{position:absolute;inset:auto 0 -.2em;margin:0}
  .earth-upnext{max-width:57%}.earth-upnext>span{font-size:.75em}.earth-upnext strong{font-size:.94em;margin:.1em 0 0}
  .earth-controls{flex-direction:column;gap:.18em}.earth-position{font-size:.7em}.earth-footer{min-height:3.35em}.earth-scale{display:none}
}
@media(prefers-reduced-motion:reduce){.earth-play-meter i{transition:none}}
@media print{.pg-page .pg-track span,.pg-page .pg-bullet>span{animation:none!important}.pg-track span::after{display:none!important}}

/* The wall keeps its paper-plan reading order: contracts, work, then map.
   Expanding the map changes the arrangement without remounting its camera. */
.earth-work-sheet{display:contents}
.earth-contract-index,.earth-shift{display:none}
.earth-map-info{padding:.7em 1em;border-block-start:1px solid #dbe4ed;font-size:.8em}
.earth-map-info summary{cursor:pointer;font-weight:500}
.earth-map-info p{margin:.5em 0;color:#435c74}
.earth-map-switch{position:absolute;top:clamp(87px,6.9vw,290px);right:var(--edge);z-index:1;border:1px solid #e4eef661;background:#172c42de;color:white;
  border-radius:8px;display:inline-flex;align-items:center;gap:.55em;padding:.35em .72em;font-size:.88em!important}
.earth-map-switch:hover{background:#233d57!important;color:#fff}
/* The flight view and the contracts board use the same camera, order data and colours. */
.earth-contract-code{direction:rtl;unicode-bidi:isolate;white-space:nowrap;word-break:normal;letter-spacing:normal}
.earth-contract{gap:.4em}
.earth-contract bdi{font-size:1.8em;line-height:1.12;font-weight:600}
.earth-contract-name{font-weight:500;line-height:1.45;overflow-wrap:anywhere}
.earth-activity{display:flex;align-items:flex-start;gap:.38em}
.earth-site-icon{display:inline-flex;flex:none;align-self:flex-start;margin-top:.25em;color:inherit;opacity:.83}
.earth-site-icon svg{width:.85em;height:.95em}
.earth-activity [data-tour-activity]{min-width:0;overflow-wrap:anywhere}
.earth-order-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1em;align-items:start}
.earth-order-stat{min-width:0;display:grid;align-content:start;justify-items:start;gap:.2em;line-height:1.32}
.earth-order-stat>strong{font-size:1.72em;line-height:1.15;font-weight:600;overflow-wrap:anywhere}
.earth-order-stat>strong[data-unassigned]{font-size:1em;line-height:1.45}
.earth-order-stat>span,.earth-order-stat>small{font-size:.85em}
.earth-order-stat+.earth-order-stat{border-inline-start:1px solid #aab8c6;padding-inline-start:1em}
:is([data-work-contract="6"],.earth-tour[data-contract="6"]){--contract-night:#ffb78c;--contract-day:#88431f;--contract-solid:#733918}
:is([data-work-contract="7"],.earth-tour[data-contract="7"]){--contract-night:#b8bdff;--contract-day:#4e49a1;--contract-solid:#4a438c}
:is([data-work-contract="8"],.earth-tour[data-contract="8"]){--contract-night:#86decd;--contract-day:#076c61;--contract-solid:#10594f}
:is([data-work-contract="9"],.earth-tour[data-contract="9"]){--contract-night:#ffadbf;--contract-day:#96395a;--contract-solid:#863551}
:is([data-work-contract="10"],.earth-tour[data-contract="10"]){--contract-night:#ebcf86;--contract-day:#806011;--contract-solid:#694e0c}
:is([data-work-contract="11"],.earth-tour[data-contract="11"]){--contract-night:#95d5ff;--contract-day:#165d92;--contract-solid:#174f7e}
:is([data-work-contract="285"],.earth-tour[data-contract="285"]){--contract-night:#d5b1f2;--contract-day:#79488a;--contract-solid:#694179}
.earth-tour[data-contract],.earth-tour [data-work-contract]{--contract-ink:var(--contract-day,#245fa1);--contract-wash:color-mix(in srgb,var(--contract-ink) 9%,var(--roster,#fff))}
.earth-tour[data-theme=graphite],.earth-tour[data-theme=graphite] [data-work-contract]{--contract-ink:var(--contract-night,#a6ccff)}
.earth-tour:not(.earth-board) .earth-work-label{display:block;margin-top:.3em;font-size:.82em;color:#c9dcd8}
@media(min-aspect-ratio:1/1){
  .earth-tour:not(.earth-board) .earth-bottom{grid-template-areas:"caption progress nav" "stats progress nav";row-gap:.65em;align-items:end}
  .earth-tour:not(.earth-board) .earth-caption{grid-area:caption}
  .earth-tour:not(.earth-board) .earth-order-stats{grid-area:stats;max-width:25em}
  .earth-tour:not(.earth-board) .earth-progress{grid-area:progress}
  .earth-tour:not(.earth-board) .earth-navigation{grid-area:nav}
}

.earth-board{
  --ink:#122a34;--deep:#0e2931;--deep-text:#f5f4ea;--deep-muted:#b7cdcc;
  --sheet:#f7f6ef;--roster:#eeeee4;--dim:#4e6264;--line:#cbd1c5;--brass:#c7ad70;
  --gutter:clamp(17px,2.25vw,100px);
  display:grid;grid-template-columns:minmax(0,37fr) minmax(0,63fr);
  grid-template-rows:auto minmax(0,1fr) auto auto;
  grid-template-areas:"mast mast" "sheet map" "sheet travel" "ledger ledger";
  gap:0;padding:0;background:var(--sheet);color:var(--ink);
  font-size:clamp(12px,min(1.16vw,2.04dvh),50px);
}
.earth-board .earth-header{
  position:relative;inset:auto;grid-area:mast;z-index:2;gap:2em;padding:0 var(--gutter);
  min-height:4.2em;color:var(--deep-text);background:var(--deep);
  box-shadow:inset 0 -1px #ffffff28;
}
.earth-board .earth-identity{gap:1.2em;align-self:stretch}
.earth-board .earth-identity img{display:block;align-self:stretch;margin-inline-start:calc(-1 * var(--gutter));
  width:11.1em;height:auto;max-height:4.55em;padding:.6em .95em .6em 1.1em;object-fit:contain;mix-blend-mode:normal;background:var(--sheet)}
.earth-board .earth-identity>div{padding:0;border:0}
.earth-board .earth-identity p{font-size:.78em;line-height:1.34;color:var(--deep-muted)}
.earth-board .earth-header h1{font-size:1.58em;line-height:1.34;font-weight:600;color:var(--deep-text)}
.earth-board .earth-chief{margin-inline-start:auto;padding-inline-start:1.15em;border-inline-start:1px solid #50636a}
.earth-board .earth-chief strong{font-size:1.03em;color:#f3eedc}
.earth-board .earth-chief span{font-size:.76em;color:var(--deep-muted)}
.earth-board .earth-clock{margin-inline:0 .95em;justify-items:start}
.earth-board .earth-clock time{font-size:1.48em;color:#fff}
.earth-board .earth-clock span{color:var(--deep-muted);font-size:.76em}
.earth-board .earth-head-actions{gap:.4em}
.earth-board .earth-header :is(.earth-itinerary-button,.earth-button){color:#e6eeea;background:transparent;border:1px solid #577075;border-radius:4px}
.earth-board .earth-header .earth-itinerary-button{height:2.13em;font-size:.85em;padding:0 .65em}
.earth-board .earth-header .earth-button{width:1.85em;height:1.85em;padding:.39em}
.earth-board .earth-header :is(.earth-itinerary-button,.earth-button):hover{background:#28434a}

.earth-board .earth-bottom{display:contents;text-shadow:none}
.earth-board .earth-world{grid-area:map;position:relative;inset:auto;width:auto;height:auto;min-height:0;min-width:0;align-self:stretch;justify-self:stretch;overflow:hidden;background:#203f45}
.earth-board .earth-world::after{z-index:1;background:linear-gradient(0deg,#0e262d8a 0%,transparent 14%)}
.earth-board :is(.earth-compass,.earth-map-switch,.earth-footer){grid-area:map;position:relative;inset:auto;z-index:1}
.earth-board .earth-compass{align-self:start;justify-self:end;margin:1.1em;width:2.4em;min-height:2.4em;padding:.27em;
  border:1px solid #f9fff499;border-radius:50%;background:#112d36c9;filter:none;pointer-events:none}
.earth-board .earth-compass b{font-size:.62em;line-height:1}
.earth-board .earth-compass svg{width:.85em;height:1.15em}
.earth-board .earth-map-switch{align-self:start;justify-self:start;margin:1.18em;border-color:#e4e9dda1;border-radius:4px;background:#112d36e6;font-size:.82em!important}
.earth-board .earth-footer{align-self:end;justify-self:stretch;justify-content:space-between;gap:1em;padding:.55em 1.2em;
  color:#fff;background:#0c232acf;border:0;min-height:0;font-size:.68em}
.earth-board .earth-footer p{max-width:none;flex:1;font-size:.91em;text-align:center}
.earth-board .earth-foot-source{font-weight:500}
.earth-board .earth-key{background:#8ae4d9;box-shadow:0 0 0 1px #10363d}
.earth-board .earth-labels span{font-size:clamp(12px,1.04vw,44px)}
.earth-board .earth-navigation{grid-area:travel;position:relative;display:flex;align-items:center;justify-content:space-between;
  min-width:0;width:auto;border:0;margin:0;gap:1.3em;padding:.62em 1.2em .75em;background:#14353d;color:#f1f4ec}
.earth-board .earth-upnext{display:flex;align-items:center;gap:.72em;max-width:71%}
.earth-board .earth-upnext>span{font-size:.78em;white-space:nowrap;color:#b9cecb}
.earth-board .earth-upnext strong{margin:0;color:#f7f7ee;font-size:.94em;line-height:1.38;font-weight:500}
.earth-board .earth-controls{flex-direction:row;gap:.8em}
.earth-board .earth-transport{gap:.23em}
.earth-board .earth-transport .earth-button{width:1.85em;height:1.85em;border:1px solid #668185;background:transparent}
.earth-board .earth-transport .earth-button:hover{background:#35545b}
.earth-board .earth-transport .earth-button[data-tour-action=toggle]{background:#f1f0de;border-color:#f1f0de;color:var(--deep)}
.earth-board .earth-position{color:#b9cecb;white-space:nowrap}
.earth-board .earth-position bdi{color:#fff}
.earth-board .earth-play-meter{position:absolute;inset:auto 0 0;margin:0;height:max(3px,.13em);border-radius:0;background:#39565a}
.earth-board .earth-play-meter i{background:var(--brass)}
.earth-board .earth-navigation:has(.earth-upnext[hidden]){justify-content:end}

.earth-board .earth-work-sheet{grid-area:sheet;display:flex;flex-direction:column;min-width:0;min-height:0;
  overflow:auto;scrollbar-width:thin;padding:1.1em var(--gutter) .95em;background:var(--sheet);color:var(--ink);pointer-events:auto}
.earth-board .earth-caption{display:flex;flex:1 0 auto;flex-direction:column;justify-content:space-between;
  gap:.92em;min-width:0;max-width:none;width:100%}
.earth-board .earth-meta{align-items:baseline;justify-content:space-between;gap:.6em;color:var(--dim);font-size:1em}
.earth-board .earth-contract{display:inline-flex;align-items:baseline;gap:.55em;padding:0;color:var(--contract-ink,#195f87);background:transparent;border-radius:0}
.earth-board .earth-contract>span{color:var(--dim);font-size:.84em}
.earth-board .earth-contract bdi{font-size:1.95em;line-height:1.2}
.earth-board .earth-approach{display:none}
.earth-board .earth-contract-name{margin:.22em 0 0;color:#354e54;font-size:1.03em;line-height:1.48}
.earth-board .earth-work-label{display:inline-flex;align-items:center;gap:.49em;line-height:1.24;
  font-size:.86em;font-weight:500;color:#435956}
.earth-board .earth-work-label::before{content:"";inline-size:1.4em;block-size:2px;background:var(--contract-ink,#195f87)}
.earth-board .earth-caption h2{font-size:2.63em;line-height:1.19;color:var(--ink);font-weight:600;margin:.13em 0 .1em;overflow-wrap:anywhere}
.earth-board .earth-activity{font-size:1.18em;line-height:1.46;font-weight:500;color:#405a60!important}
.earth-board .earth-order-stats{margin-top:1.08em;padding:.67em 0 .65em;border-block:1px solid var(--line)}
.earth-board .earth-work-sheet:has(h2[data-length=long]) .earth-caption{gap:.55em}
.earth-board .earth-work-sheet:has(h2[data-length=long]) .earth-order-stats{margin-top:.53em}
.earth-board .earth-order-stat+.earth-order-stat{border-color:var(--line);padding-inline-start:1.3em}
.earth-board .earth-order-stat>span,.earth-board .earth-order-stat>small{color:var(--dim)}
.earth-board .earth-order-stat>strong{font-size:1.89em;color:var(--ink)}
.earth-board .earth-order-stat>strong[data-unassigned]{font-size:1.1em;color:#4d6061}
.earth-board .earth-progress{width:100%;align-self:stretch;padding:.7em 0 .67em;border-bottom:1px solid var(--line);color:var(--ink)}
.earth-board .earth-progress-heading{align-items:baseline;color:var(--ink);font-size:.98em;font-weight:500}
.earth-board .earth-progress-heading strong{font-size:1.8em;color:var(--contract-ink,#195f87)}
.earth-board .earth-missing-reading,.earth-board .earth-target,.earth-board .earth-target bdi{color:var(--dim)!important}
.earth-board .earth-achieved-track{background:#d5dcd3;height:.42em;margin:.42em 0}
.earth-board .earth-achieved{background:var(--contract-ink,#195f87)}
.earth-board .earth-achieved-track>b{background:var(--ink)}
.earth-board .earth-shift{display:block;padding-top:.62em}
.earth-board .earth-shift h3{margin:0 0 .17em;font-size:1em;font-weight:500;color:var(--ink)}
.earth-board .earth-shift dl{display:grid;gap:.13em;margin:0}
.earth-board .earth-shift dl>div{display:grid;grid-template-columns:4.2em 1fr;gap:.7em;align-items:baseline}
.earth-board .earth-shift dt{font-size:.81em;color:var(--dim)}
.earth-board .earth-shift dd{margin:0;font-size:.89em;line-height:1.46;font-weight:500}

.earth-board .earth-contract-index{grid-area:ledger;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"rosterhead management" "contracts contracts";gap:.38em 1em;min-width:0;padding:.52em var(--gutter) .66em;
  color:var(--ink);background:var(--roster);border-top:1px solid #b7c3b8}
.earth-board .earth-roster-head{grid-area:rosterhead;display:flex;align-items:baseline;gap:.72em}
.earth-board .earth-roster-head h2{font-size:1.03em;font-weight:600;margin:0}
.earth-board .earth-register-summary{display:inline-block;font-size:.82em;color:var(--dim);line-height:1.3}
.earth-board .earth-register-summary bdi{font-weight:600;color:var(--ink)}
.earth-board .earth-contract-index>a{grid-area:management;display:flex;align-items:center;gap:.4em;
  padding:.1em 0;color:#475e61;font-size:.78em;align-self:center}
.earth-board .earth-contract-index>a:hover{color:#112b32;text-decoration:underline}
.earth-board [data-work-contracts]{grid-area:contracts;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.21em;align-items:stretch;min-width:0}
.earth-board [data-work-contract]{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;
  gap:.27em;min-width:0;border:0;border-radius:0;margin:0;padding:.5em .62em .55em;color:var(--ink);background:transparent;text-align:start}
.earth-board [data-work-contract]::before{content:"";position:absolute;inset:0 .62em auto;block-size:2px;background:var(--contract-ink)}
.earth-board [data-work-contract] .earth-contract-code{font-size:1.14em;font-weight:600;line-height:1.24;color:var(--contract-ink)}
.earth-board [data-work-contract] span{width:100%;font-size:.8em;line-height:1.38;color:#354b50;overflow-wrap:anywhere}
.earth-board [data-work-contract]:disabled{cursor:default;opacity:1}
.earth-board [data-work-contract]:enabled:hover{background:var(--contract-wash)}
.earth-board [data-work-contract][aria-current]{background:var(--contract-ink)}
.earth-board [data-work-contract][aria-current]::before{inset-inline:0;height:2px;background:var(--brass)}
.earth-board [data-work-contract][aria-current] :is(.earth-contract-code,span){color:#fff}
.earth-board .earth-drawer{z-index:5}
.earth-board .earth-empty{color:var(--ink)}
.earth-board .earth-empty a{color:#24588c}
.earth-board[data-empty=true] :is(.earth-work-sheet,.earth-map-switch,.earth-navigation,.earth-footer){visibility:hidden}
.earth-board .earth-feed-warning{z-index:4}
.earth-board ::selection{background:#b7d7c8;color:#0f3036}

@media (max-width:1100px) and (min-aspect-ratio:1/1){
  .earth-board{grid-template-columns:minmax(0,39fr) minmax(0,61fr)}
  .earth-board .earth-header{gap:1.25em}
}
@media (max-aspect-ratio:1/1),(max-height:550px) and (max-width:950px){
  .earth-board{font-size:16px;height:auto;min-height:100dvh;overflow:visible;grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(255px,37dvh) auto auto auto;grid-template-areas:"mast" "map" "travel" "sheet" "ledger"}
  .earth-board .earth-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity identity" "chief controls";
    column-gap:1em;row-gap:.47em;min-height:0;padding:.57em 1em .65em}
  .earth-board .earth-identity{grid-area:identity;align-items:center;gap:.65em}
  .earth-board .earth-identity img{width:7.6em;height:3.05em;margin:0;padding:.25em .5em}
  .earth-board .earth-identity p{font-size:.66em}.earth-board .earth-header h1{font-size:1.12em}
  .earth-board .earth-chief{grid-area:chief;margin:0;padding:0;border:0}
  .earth-board .earth-chief strong{font-size:.92em}.earth-board .earth-chief span{font-size:.7em}
  .earth-board .earth-head-actions{grid-area:controls;gap:.3em}
  .earth-board .earth-clock{display:grid;margin-inline:0 .45em;gap:.1em}.earth-board .earth-clock time{font-size:1.05em}.earth-board .earth-clock span{font-size:.62em}
  .earth-board .earth-header .earth-itinerary-button{width:2.1em;padding:0}.earth-board .earth-header .earth-itinerary-button span{display:none}
  .earth-board .earth-work-sheet{padding:1.15em 1.25em}.earth-board .earth-caption{gap:.95em}
  .earth-board .earth-caption h2{font-size:2.25em}
  .earth-board .earth-compass{margin:.7em}.earth-board .earth-map-switch{margin:.75em}
  .earth-board .earth-navigation{gap:.65em;padding:.6em .8em .67em}.earth-board .earth-upnext{display:block;max-width:58%}
  .earth-board .earth-upnext>span{font-size:.71em}.earth-board .earth-upnext strong{font-size:.79em}
  .earth-board .earth-controls{gap:.3em}.earth-board .earth-position{font-size:.7em;flex-direction:column;gap:0}
  .earth-board .earth-transport .earth-button{width:1.65em;height:1.65em;padding:.3em}
  .earth-board .earth-footer{font-size:9px;flex-wrap:wrap;gap:.3em .7em;padding:.5em .8em}
  .earth-board .earth-footer p{font-size:9px;min-width:12em}
  .earth-board .earth-contract-index{padding:.65em .65em 1em}
  .earth-board [data-work-contracts]{grid-template-columns:repeat(auto-fit,minmax(min(9.7em,100%),1fr))}
  .earth-board [data-work-contract]{padding:.55em .48em}
  .earth-board .earth-drawer{position:fixed;inset:70px 12px 12px;width:auto}
}

/* TV finishes. The map and the document-derived contract colours have their
   own roles, independent of the controls and surrounding display surfaces. */
.earth-tour[data-theme=graphite]{
  color-scheme:dark;
  --sheet:#1c2128;--roster:#14181e;--deep:#101419;--nav:#272d36;
  --ink:#f3f5f8;--dim:#b1bbc8;--secondary:#d3dbe5;--line:#3b444f;
  --deep-text:#f5f7fa;--deep-muted:#b9c3d0;--accent:#a9ceff;--on-accent:#13233a;
  --accent-soft:#2a3a4e;--button:#252c35;--button-hover:#353f4c;--button-edge:#586574;
  --track:#454f5d;--drawer:#20262e;--drawer-shadow:#080a0ea8;
  --map-surface:#151c25ed;--map-text:#f4f7fb;--map-edge:#7f91a4;--map-hover:#324257;
}
.earth-tour[data-theme=porcelain]{
  color-scheme:light;
  --sheet:#fcfdff;--roster:#f0f3f8;--deep:#fff;--nav:#e9eef6;
  --ink:#182131;--dim:#4b5a70;--secondary:#34445a;--line:#cbd3df;
  --deep-text:#182131;--deep-muted:#536176;--accent:#204dc1;--on-accent:#fff;
  --accent-soft:#e1eaff;--button:#fff;--button-hover:#e4ebf8;--button-edge:#8291a8;
  --track:#ced6e2;--drawer:#fff;--drawer-shadow:#18283e45;
  --map-surface:#f9fbffef;--map-text:#192b43;--map-edge:#546d8b;--map-hover:#e2ebfc;
}
.earth-tour[data-theme]{--brass:var(--accent);accent-color:var(--accent)}
.earth-tour[data-theme] ::selection{background:var(--accent);color:var(--on-accent)}
.earth-tour[data-theme] :is(a,button,input,summary):focus-visible{
  outline:3px solid var(--accent);outline-offset:2px;box-shadow:0 0 0 2px var(--deep);
}
.earth-tour[data-theme] .earth-header{background:var(--deep);color:var(--deep-text);box-shadow:inset 0 -1px var(--line)}
.earth-tour[data-theme] .earth-identity img{background:#fff;mix-blend-mode:normal}
.earth-tour[data-theme] :is(.earth-chief,.earth-identity>div){border-color:var(--line)}
.earth-tour[data-theme] :is(.earth-chief strong,.earth-clock time,.earth-header h1){color:var(--deep-text)}
.earth-tour[data-theme] :is(.earth-identity p,.earth-chief span,.earth-clock span){color:var(--deep-muted)}
.earth-tour[data-theme] :is(.earth-header,.earth-drawer header) :is(.earth-button,.earth-itinerary-button),
.earth-board[data-theme] .earth-transport .earth-button{color:var(--ink);border-color:var(--button-edge);background:var(--button)}
.earth-tour[data-theme] :is(.earth-header,.earth-drawer header) :is(.earth-button,.earth-itinerary-button):hover,
.earth-board[data-theme] .earth-transport .earth-button:hover{background:var(--button-hover)}
.earth-board[data-theme] .earth-work-sheet{box-shadow:inset -1px 0 var(--line);scrollbar-color:var(--button-edge) var(--sheet)}
.earth-board[data-theme] .earth-contract-name{color:var(--secondary)}
.earth-board[data-theme] .earth-work-label{color:var(--dim)}
.earth-board[data-theme] .earth-activity{color:var(--secondary)!important}
.earth-board[data-theme] .earth-order-stat strong[data-unassigned]{color:var(--dim)}
.earth-board[data-theme] [data-current-order]:not([data-unassigned]){color:var(--contract-ink,var(--accent))}
.earth-board[data-theme] .earth-achieved-track{background:var(--track)}
.earth-board[data-theme] .earth-achieved-track>b{box-shadow:0 0 0 1px var(--sheet)}
.earth-board[data-theme] .earth-contract-index{border-color:var(--line)}
.earth-board[data-theme] .earth-contract-index>a,.earth-board[data-theme] .earth-empty a{color:var(--accent)}
.earth-board[data-theme] [data-work-contract] span{color:var(--secondary)}
.earth-board[data-theme] [data-work-contract]:disabled span{color:var(--dim)}
.earth-board[data-theme] [data-work-contract]:enabled:hover{background:var(--contract-wash)}
.earth-board[data-theme] [data-work-contract][aria-current]{color:white;background:var(--contract-solid,var(--nav))}
.earth-board[data-theme] [data-work-contract][aria-current]::before{background:var(--contract-night,#c9dcff)}
.earth-board[data-theme] [data-work-contract][aria-current] :is(.earth-contract-code,span){color:white}
.earth-board[data-theme] .earth-navigation{background:var(--nav);color:var(--ink)}
.earth-board[data-theme] :is(.earth-upnext>span,.earth-position){color:var(--dim)}
.earth-board[data-theme] :is(.earth-upnext strong,.earth-position bdi){color:var(--ink)}
.earth-board[data-theme] .earth-transport .earth-button[data-tour-action=toggle]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.earth-board[data-theme] .earth-play-meter{background:var(--track)}
.earth-tour[data-theme] .earth-world{background:#19212b}
.earth-board[data-theme] .earth-world::after{background:linear-gradient(0deg,#0e172259,transparent 12%)}
.earth-tour[data-theme] .earth-map-switch,.earth-board[data-theme] .earth-compass,
.earth-tour[data-theme] .tour-locator,.earth-tour[data-theme] .tour-site-label span{
  color:var(--map-text);background:var(--map-surface);border-color:var(--map-edge);
}
.earth-tour[data-theme] .earth-map-switch:hover{background:var(--map-hover)!important;color:var(--map-text)}
.earth-board[data-theme] .earth-compass path:first-child{fill:var(--map-text)}
.earth-board[data-theme] .earth-compass path:last-child{fill:var(--accent)}
.earth-board[data-theme] .earth-footer{background:#111820df;color:#f9fbfe}
.earth-tour[data-theme] .earth-feed-warning,.earth-tour[data-theme] .earth-imagery-error{
  color:#fff;background:#25374cf5;box-shadow:inset 0 0 0 1px #788b9e;
}
.earth-tour[data-theme]:not(.earth-board) .earth-contract{background:var(--contract-solid,#274c75);color:white}
.earth-tour[data-theme]:not(.earth-board) .earth-work-label{color:#c9dcf3}
.earth-tour[data-theme]:not(.earth-board) .earth-achieved{background:var(--contract-night,#a9ceff)}
.earth-tour[data-theme] .earth-drawer{color:var(--ink);background:var(--drawer);border-color:var(--line);box-shadow:0 16px 50px var(--drawer-shadow)}
.earth-tour[data-theme] .earth-drawer :is(header,.earth-picker button,.earth-map-info),
.earth-tour[data-theme] .earth-drawer>a{border-color:var(--line)}
.earth-tour[data-theme] .earth-drawer>a{background:var(--accent-soft);color:var(--accent)}
.earth-tour[data-theme] .earth-picker{scrollbar-color:var(--button-edge) var(--drawer)}
.earth-tour[data-theme] :is(.earth-picker button span,.earth-map-info p){color:var(--dim)}
.earth-tour[data-theme] .earth-picker button:hover{background:var(--button-hover)}
.earth-tour[data-theme] .earth-picker button[aria-current]{color:var(--ink);background:var(--accent-soft);box-shadow:inset -3px 0 var(--accent)}
.earth-tour[data-theme] .earth-map-info summary{color:var(--ink)}
.earth-theme-options{margin:0;min-width:0;padding:.52em 1em .75em;border:0;border-block-end:1px solid var(--line);display:flex;gap:.5em}
.earth-theme-options legend{padding:0;font-size:.86em;font-weight:600;color:var(--ink)}
.earth-theme-options label{position:relative;display:inline-flex;align-items:center;gap:.42em;cursor:pointer;flex:1;
  padding:.24em .55em;border:1px solid var(--button-edge);border-radius:4px;background:var(--button);color:var(--ink);font-size:.86em}
.earth-theme-options label:hover{background:var(--button-hover)}
.earth-theme-options label:has(input:checked){background:var(--accent-soft);border-color:var(--accent);color:var(--accent);font-weight:600}
.earth-theme-options label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.earth-theme-options input{margin:0;width:1em;height:1em;flex:none;accent-color:var(--accent)}
.earth-interval{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.35em .75em;
  padding:.5em 1em;border-bottom:1px solid var(--line);font-size:.9em;color:var(--ink)}
.earth-interval label{font-weight:600}
.earth-interval-value{display:flex;gap:.5em;align-items:center;color:var(--dim)}
.earth-interval input{box-sizing:border-box;min-height:2em;width:5.2em;border:1px solid var(--button-edge);
  border-radius:4px;background:var(--button);color:var(--ink);font:inherit;font-variant-numeric:tabular-nums;padding:.17em .45em}
.earth-interval input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.earth-interval small{grid-column:1/-1;color:var(--ink)}
.earth-theme-swatch{display:inline-block;flex:none;width:1.23em;height:1.02em;border-radius:2px;border:1px solid #78879a}
.earth-theme-swatch[data-swatch=graphite]{background:linear-gradient(to top,#a9ceff 24%,#222831 24% 77%,#101419 77%)}
.earth-theme-swatch[data-swatch=porcelain]{background:linear-gradient(to top,#204dc1 24%,#fcfdff 24% 77%,#e3e8ef 77%)}

.tour-locator{
  position:absolute;z-index:2;left:1.1em;bottom:3em;
  width:clamp(125px,8.7vw,340px);margin:0;overflow:hidden;pointer-events:none;
  background:#142b33;color:#fff;border:1px solid #e3e9dfbb;border-radius:3px;box-shadow:0 3px 14px #07181f44;
}
.tour-locator-map{position:relative;line-height:0;direction:ltr}
.tour-locator-map img{display:block;width:100%;height:auto}
.tour-locator-point{
  position:absolute;left:var(--locator-x);top:var(--locator-y);transform:translate(-50%,-50%);
  width:clamp(7px,.5vw,19px);aspect-ratio:1;border-radius:50%;
  background:#fff;border:1px solid #12333a;box-shadow:0 0 0 2px #fff,0 0 0 4px #15323dc7;
}
.tour-locator figcaption{
  padding:.28em .7em .36em;text-align:start;direction:rtl;font-size:clamp(11px,.73vw,28px);font-weight:500;line-height:1.35;
}
.earth-tour[data-empty=true] .tour-locator,.earth-tour:not(.earth-board) .tour-locator{display:none}
@media(max-width:900px),(max-height:590px){.tour-locator{display:none}}

.tour-site-label{
  position:absolute;top:0;left:0;z-index:2;width:0;height:0;pointer-events:none;
  font:500 clamp(13px,1vw,40px)/1.4 'IBM Plex Sans Arabic',Tahoma,sans-serif;color:white;
}
.tour-site-label span{
  position:absolute;left:1.28em;bottom:.94em;display:block;width:max-content;max-width:17em;
  padding:.14em .56em .23em;background:#102c34;border:1px solid #c4e0da;
  border-radius:2px;text-align:start;overflow-wrap:anywhere;
}
.tour-site-label::before{
  content:"";position:absolute;left:0;bottom:0;width:1.65em;border-top:2px solid white;
  transform-origin:left bottom;transform:rotate(-37deg);filter:drop-shadow(0 1px 1px #102c34);
}
.tour-site-label::after{
  content:"";position:absolute;left:-.18em;top:-.18em;width:.36em;height:.36em;
  background:white;border-radius:50%;box-shadow:0 0 0 1px #173539;
}
.tour-site-label[data-side=left] span{left:auto;right:1.28em}
.tour-site-label[data-side=left]::before{left:auto;right:0;transform-origin:right bottom;transform:rotate(37deg)}
.earth-tour:not(.earth-board) .tour-site-label,.earth-tour[data-empty=true] .tour-site-label{display:none}
.earth-tour:not([data-phase=arrived]) .tour-site-label{opacity:0}
@media(prefers-reduced-motion:no-preference){.tour-site-label{transition:opacity .32s ease-out}}
@media(max-width:600px){.tour-site-label span{max-width:10em}}
