/* A station journal in signal amber, enamel and letterpress ivory. */
:is(#theater #stage[data-scene=civic],html.cf-edition[data-ver-cursor=pulse]) {
  --cap-ink:#112621;--cap-enamel:#24433d;--cap-brass:#d3b580;--cap-paper:#f1ead9;
  & [data-service=north], & .fde-stations[data-line=north] {--token-art:url('token-north.svg')}
  & [data-service=river], & .fde-stations[data-line=river] {--token-art:url('token-river.svg')}
  & [data-service=east], & .fde-stations[data-line=east] {--token-art:url('token-east.svg')}
  & :is(.tt-choices button,.cf-city-index a,.tt-chart-symbol) .tt-token {display:inline-block!important;width:42px;height:36px;clip-path:none;border:0;border-radius:0;box-shadow:none;color:transparent!important;font-size:0!important;background:var(--token-art) center/contain no-repeat!important;}
  & .fde-stations header>b {border:0;background:var(--token-art) center/contain no-repeat;width:49px;height:39px;box-shadow:none;border-radius:0;color:transparent;font-size:0}
}

html.cf-edition[data-ver-cursor=pulse] .tt-journal {
  & .top .brand img {height:43px;width:auto;object-fit:contain}
  & .hero.cf-front {position:relative;isolation:isolate;min-height:clamp(395px,35vw,590px);overflow:hidden;display:grid;align-items:center;background:#16271f}
  & .hero.cf-front>.cf-print {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:64% 56%;filter:none;opacity:1;mask:none!important}
  & .hero.cf-front::after {content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,#0a1817eb,#10211dc1 24%,#10211d69 41%,transparent 65%),linear-gradient(0deg,#10211caa,transparent 16%)}
  & .hero.cf-front .network-hero {z-index:1;position:relative;display:block;margin:0;width:100%;padding:clamp(25px,4.2vw,72px) clamp(20px,6vw,95px);background:none}
  & .hero.cf-front .network-intro {width:min(480px,47%);text-align:left;background:none;color:#f4edd5;padding:0}
  & .hero.cf-front h1 {color:#f3e9c9;font:600 clamp(67px,8.1vw,123px)/.87 Georgia,serif;letter-spacing:-.085em;margin:17px 0 19px}
  & .hero.cf-front h1 i {color:#e7c893;font-weight:400}
  & .hero.cf-front .network-intro p {color:#e2ddcd;max-width:37ch}
  & .hero.cf-front .network-intro .eyebrow {color:#f6dca6}
  & .cf-city-index {padding:8px clamp(7px,4vw,60px);gap:5px;border:0;background:#163128}
  & .cf-city-index a,& .cf-city-index a[aria-current=true] {min-height:52px;gap:8px;padding:7px 11px!important;border:1px solid #8f9a855c;border-radius:4px;box-shadow:none}
  & .tt-atlas {background:#e9e4d2;color:#243c33}
  & .tt-atlas .network-board {border-radius:7px 16px 4px 4px;overflow:hidden;border:1px solid #8d967c;background:#ebe8d7;box-shadow:0 4px 15px #162d2430}
  & .tt-atlas .network-board-top {background:linear-gradient(105deg,#223d33,#29473b);padding:14px 18px;color:#e9e5cf}
  & .tt-atlas .network-board-top :is(h2,span) {color:#efe9ce}
  & #explore .toolbar {padding:clamp(12px,1.8vw,24px);border-radius:6px;background:linear-gradient(125deg,#273d35,#172e29);color:#f1ebd6;border:1px solid #81927880}
  & #explore .toolbar :is(label,span){color:#e8e6d2}
  & #explore .toolbar label[for=span]::before {content:"";display:inline-block;width:24px;height:20px;vertical-align:middle;margin-right:5px;background:url('period.svg') center/contain no-repeat}
  & #explore .toolbar select {min-height:44px;color:#1e362c;background-color:#e3dfcd;border-radius:3px;border-color:#96997c;font-weight:650}
  & #explore .metric {position:relative;overflow:hidden;min-height:110px;background:linear-gradient(135deg,#213a31,#152c25);border:1px solid #89967b8c;color:#eee4c7;border-radius:5px;box-shadow:inset 0 1px #c8d2b422}
  & #explore .metric span {display:flex;align-items:center;gap:6px;color:#e1d9bd}
  & #explore .metric strong {color:#f2ead3}
  & #explore .metric small {color:#c5cfb8}
  & #explore .metric[aria-pressed=true] {background:linear-gradient(135deg,#3a5243,#213e30);border-color:#c1b990;box-shadow:inset 0 -3px #c3a667}
  & #explore .metric span::before {content:"";display:inline-block;width:29px;height:25px;flex:none;background:var(--metric-art) center/contain no-repeat}
  & #explore .metric[data-m=trips] {--metric-art:url('boardings.svg')}
  & #explore .metric[data-m=on] {--metric-art:url('on-time.svg')}
  & #explore .metric[data-m=delay] {--metric-art:url('delay.svg')}
  & #explore .chart-panel {border-radius:8px;border:1px solid #77867486}
  & #export {display:inline-flex;align-items:center;gap:5px;min-height:42px;background:#29443a;color:#f1ead1;border-radius:4px;border:1px solid #718375}
  & #export::before {content:"";width:28px;height:24px;background:url('export.svg') center/contain no-repeat}
  & #data-notes .notes-flow {border-radius:7px;background:linear-gradient(125deg,#243b32,#142b25);padding:clamp(20px,4vw,56px);color:#eee5ce}
  & #data-notes .notes-flow :is(h2,p,summary) {color:#eee5ce}
}
@media(max-width:760px){

  html.cf-edition[data-ver-cursor=pulse] .tt-journal {
    & .hero.cf-front {min-height:0;display:grid;grid-template:"photo" auto "words" auto/minmax(0,1fr);background:#142a23}
    & .hero.cf-front::after {display:none}
    & .hero.cf-front .cf-print {position:static;grid-area:photo;height:clamp(190px,46vw,320px);object-position:75% center;mask-image:linear-gradient(#000 87%,transparent)!important}
    & .hero.cf-front .network-hero {grid-area:words;padding:6px 5vw 20px}
    & .hero.cf-front .network-intro {width:100%}
    & .hero.cf-front h1 {font-size:clamp(54px,12vw,82px);line-height:.94;margin:10px 0 11px}
    & .hero.cf-front h1 i {margin-left:.1em}
    & .cf-city-index {gap:3px;padding:5px}
    & .cf-city-index a {padding:5px!important;gap:3px;font-size:12px;flex-wrap:wrap}
    & .cf-city-index .tt-token {width:25px;height:23px}
    & #explore .metric {min-height:90px}
    & #explore .metric span {gap:3px;font-size:12px}
    & #explore .metric span::before {width:21px;height:19px}
  }
}

html.cf-edition[data-ver-cursor=pulse] body.tt-journal {
  & .hero.cf-front {grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto;min-height:clamp(375px,35vw,580px)!important;background:#173126!important}
  & .hero.cf-front .network-hero {grid-column:1/-1;min-height:inherit;align-content:center;background:linear-gradient(90deg,#0e201cf5 1%,#11251de6 22%,#12251ebd 31%,#14261e52 48%,transparent 69%)!important}
  & .hero.cf-front .network-intro {width:min(460px,47vw);max-width:none}
  & .hero.cf-front .network-intro p:not(.eyebrow) {width:auto;max-width:37ch;color:#f0ead8!important;text-shadow:0 1px 5px #091811}
  & .hero.cf-front .network-intro .eyebrow {color:#efd4a0!important}
  & .tt-atlas {background:linear-gradient(160deg,#172e28,#233b31 60%,#162c27)!important}
  & .cf-city-index {
    & [data-route=north] {--rail-diagram:url('line-north.svg')}
    & [data-route=river] {--rail-diagram:url('line-river.svg')}
    & [data-route=east] {--rail-diagram:url('line-east.svg')}
    & a[data-route],& a[data-route][aria-current=true] {background:#233b32!important;display:flex;align-items:center;justify-content:center;gap:10px}
    & a[data-route] span {color:#eee4c7!important}
    & a[data-route][aria-current=true] {box-shadow:inset 0 -3px #c9aa73;background:#304b3b!important}
    & a[data-route]::after {content:"";display:block;width:clamp(35px,5.6vw,87px);height:32px;background:var(--rail-diagram) center/contain no-repeat}
  }
  & #explore #data-table summary::before {content:"";width:29px;height:24px;display:inline-block;vertical-align:middle;margin-right:7px;background:url('ledger.svg') center/contain no-repeat}
  & #data-notes .notes-flow .cpe-workshop {width:100%;max-width:340px;aspect-ratio:2.05;height:auto;object-fit:cover;object-position:60% 47%;box-shadow:0 0 0 1px #9da48b82;border-radius:4px;margin-top:13px}
}
html.cf-edition[data-ver-cursor=pulse] body.tt-journal .fde-stations {
  display:grid!important;grid-template:"title stations" auto "desc stations" 1fr / minmax(105px,.58fr) minmax(0,1.55fr);gap:8px clamp(12px,1.3vw,24px);
  padding:clamp(14px,1.8vw,28px)!important;background:linear-gradient(130deg,#2b4338,#182f29);border:1px solid #83927c70;border-radius:5px;color:#ece4ca;
  & header {grid-area:title;display:flex;align-items:center;justify-content:flex-start;flex-direction:row-reverse;gap:5px;border:0}
  & header>b {width:36px!important;height:31px!important;flex:none;margin:0}
  & header span {color:#b8c4ad;font-size:10px;letter-spacing:.09em}
  & header h3 {color:#f0e6ca;margin:3px 0;font:600 clamp(17px,2vw,31px)/1.1 Georgia,serif}
  & .fde-platform {grid-area:stations;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:clamp(4px,.7vw,10px);align-items:stretch}
  & .fde-platform::before {content:none}
  & .fde-platform button {display:grid;grid-template-rows:auto auto;align-content:start;justify-items:stretch;text-align:left;gap:0;min-width:0;min-height:0;border:1px solid #8e9b82a6;border-radius:4px;overflow:hidden;box-shadow:0 2px 5px #0c211a42;background:#24382f;padding:0!important}
  & .fde-platform button img {display:block;width:100%;height:auto;aspect-ratio:1.82;object-fit:cover;object-position:center 48%;opacity:1;max-width:none}
  & .fde-platform button i {display:none}
  & .fde-platform button span {padding:6px clamp(4px,.6vw,10px);font:600 clamp(11px,.98vw,15px)/1.25 Georgia,serif;color:#e6e7d2}
  & .fde-platform button[aria-pressed=true] {border-color:#e4cb93;background:#dfd5b9}
  & .fde-platform button[aria-pressed=true] span {color:#263b2f}
  & p.fde-platform-note {grid-area:desc;align-self:start;max-width:36ch;border:0;color:#d7ddc9;font:14px/1.45 Arial,sans-serif;padding:0;margin:0}
}
html.cf-edition[data-ver-cursor=pulse] body.tt-journal .tt-atlas .fde-stations {width:100%;margin:clamp(12px,1.4vw,20px) 0 0}
@media(max-width:760px) {
  html.cf-edition[data-ver-cursor=pulse] body.tt-journal {
    & .hero.cf-front {min-height:0!important;grid-template:"photo" auto "words" auto / minmax(0,1fr)!important}
    & .hero.cf-front .network-hero {background:#173126!important}
    & .hero.cf-front .network-intro {width:auto}
    & .hero.cf-front .network-intro h1 i {margin:0}
    & .cf-city-index a[data-route] {gap:3px}
    & .cf-city-index a[data-route]::after {display:none}
  }
  html.cf-edition[data-ver-cursor=pulse] body.tt-journal .fde-stations {
    grid-template:"title" auto "stations" auto "desc" auto / minmax(0,1fr);gap:8px;padding:11px!important;
    & header {justify-content:flex-end}
    & header>b {width:30px!important;height:25px!important}
    & header h3 {display:inline-block;margin:0 0 0 7px}
    & .fde-platform button img {aspect-ratio:1.93}
    & p.fde-platform-note {max-width:none;font-size:12px}
  }
}

/* The terminal photograph, station directory and service ledger share the gold train's palette. */
#theater.studio-theater[data-project=civic] {
  --join-head:#1a1b19;
  --join-foot:#191a18;
  --join-nav:#151614;
}

#theater #stage[data-scene=civic] > .tt-edition.cpe-service-board {
  --cp-enamel:#222321;
  --cp-panel:#282925;
  --cp-paper:#f3ead3;
  --cp-muted:#c5bcaa;
  --cp-brass:#e5b66b;
  --cp-edge:#55534a;
  --cp-panel-radius:clamp(10px,1vw,16px);
  --cp-padding:clamp(14px,1.5vw,23px);
  --cp-trace-height:clamp(62px,calc(18vw - 118px),148px);
  display:grid;
  grid-template:"terminal dispatch" minmax(clamp(255px,24vw,370px),1fr) "stations dispatch" auto
    / minmax(0,1fr) minmax(0,1.05fr);
  gap:0 clamp(14px,1.8vw,27px);
  align-items:stretch;
  padding:clamp(12px,1.8vw,28px);
  color:var(--cp-paper);
  background:linear-gradient(180deg,var(--join-head),#21211d 45%,var(--join-foot));

  & .cpe-terminal {
    grid-area:terminal;display:grid;grid-template: "print" minmax(0,1fr) / minmax(0,1fr);
    overflow:hidden;isolation:isolate;min-width:0;border:1px solid #514e43;
    border-radius:var(--cp-panel-radius);background:#191a17;
  }
  & .tt-image {
    grid-area:print;align-self:stretch;min-height:0;margin:0;border:0;border-radius:0;background:transparent;
  }
  & .tt-image img.cf-print {
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:66% 52%;mask:none;filter:none;
  }
  & .tt-image::after {
    content:"";display:block;position:absolute;inset:0;width:auto;height:auto;pointer-events:none;
    background:linear-gradient(0deg,#151611eb 0%,#1415108c 15%,transparent 42%);box-shadow:none;
  }
  & .tt-title {
    grid-area:print;align-self:end;z-index:1;display:grid;grid-template-columns:auto minmax(0,1fr);
    align-items:end;gap:4px 11px;position:relative;margin:0;padding:var(--cp-padding);
    background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;
  }
  & .tt-title::before,& .tt-title::after {content:none}
  & .tt-title .cpe-crest {grid-column:1;grid-row:1/3;align-self:center;width:auto;height:clamp(31px,3.2vw,47px)}
  & .tt-title h2 {grid-column:2;grid-row:2;margin:0;color:#fff6df;font:500 clamp(33px,3.55vw,59px)/.95 Georgia,serif;letter-spacing:-.055em}
  & .tt-title p {grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;gap:3px 9px;margin:0;text-align:left;color:#f5dfaf;font:600 10px/1.3 Consolas,monospace;letter-spacing:.10em}
  & .tt-title p span {padding-left:9px;border-left:1px solid #b4a890;color:#e4dece}
  & .fde-stations {grid-area:stations}

  & .cpe-dispatch {
    grid-area:dispatch;display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #cabc9e;
    border-radius:var(--cp-panel-radius);background:#eee5d1;color:#29271f;
    box-shadow:inset 0 1px #fff3d7,0 6px 18px #13140f40;
  }
  & .cpe-line-label,& .cpe-service-day > span,& .tt-number > span,& .tt-supp dt,& .fw-week-caption {
    margin:0;font:600 11px/1.25 Consolas,monospace;text-transform:uppercase;letter-spacing:.085em;
  }
  & .cpe-line-label {margin:var(--cp-padding) var(--cp-padding) 8px;color:#5b5343}
  & .tt-choices {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-self:stretch;
    width:auto;margin:0 var(--cp-padding);padding:0;background:none;border:0;border-radius:0;box-shadow:none;
  }
  & .tt-choices button,& .tt-choices button[aria-pressed=true] {
    display:flex;align-items:center;justify-content:flex-start;gap:7px;min-width:0;min-height:46px;
    margin:0;padding:6px 8px;box-sizing:border-box;background:#e4dac4;color:#332e23;border:1px solid #b5aa92;
    border-radius:4px;box-shadow:none;font:650 clamp(12px,.98vw,15px)/1.18 Arial,sans-serif;text-align:left;
  }
  & .tt-choices button .tt-token {width:29px;height:29px;flex:none}
  & .tt-choices button[aria-pressed=true] {background:#292a25;color:#fff2d7;border-color:#30312a;box-shadow:inset 0 -3px #c6954e}
  & .tt-choices button:not([aria-pressed=true]):hover {color:#27231a;background:#f6eedb;border-color:#84765a}
  & .tt-choices button span {min-width:0;text-align:inherit}
  & .tt-daily {
    flex:1;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;
    gap:13px;margin:0;padding:clamp(16px,1.7vw,26px) var(--cp-padding) var(--cp-padding);
    color:#28271f;background:transparent;border:0;border-radius:0;box-shadow:none;
  }
  & .tt-line {margin:0;color:#29281f;font:500 clamp(31px,3vw,50px)/1.04 Georgia,serif;letter-spacing:-.045em}
  & .tt-date {
    display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;
    container:none;width:100%;margin:0;padding:0 0 10px;border:0;border-bottom:1px solid #c4baa4;
  }
  & .cpe-service-day {grid-row:1;grid-column:1;display:grid;justify-items:start;gap:3px;min-width:0}
  & .cpe-service-day > span {color:#625948;font-size:10px}
  & .tt-date time {grid-area:auto;justify-self:start;color:#282924;font:650 clamp(16px,1.5vw,22px)/1.1 Arial,sans-serif;text-align:left}
  & .tt-date button {
    grid-row:1;display:flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;
    padding:5px 8px;border:1px solid #b2a48b;border-radius:4px;background:#e5dac1;color:#342e22;
    box-shadow:none;font:650 12px/1.1 Arial,sans-serif;text-decoration:none;
  }
  & .tt-date button:first-child {grid-column:2;flex-direction:row}
  & .tt-date button:last-child {grid-column:3;flex-direction:row-reverse}
  & .tt-date button::before {
    content:"";flex:none;display:block;width:7px;height:7px;box-sizing:border-box;background:none;
    border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(135deg);
  }
  & .tt-date button:last-child::before {transform:rotate(-45deg)}
  & .tt-date button:enabled:hover {background:#f8f0dc;border-color:#7b6d53}
  & .tt-date button:disabled {background:transparent;border-color:#c9c1ae;color:#7f786b;box-shadow:none;opacity:1}

  & .cpe-metrics {
    display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);
    align-items:start;gap:clamp(7px,1vw,16px);padding:3px 0 6px;
  }
  & .tt-number,& .tt-supp > div {min-width:0;display:flex;flex-direction:column;align-items:start;gap:6px;margin:0;padding:0;border:0}
  & .tt-number > span,& .tt-supp dt {display:block;order:-1;color:#625948;font-size:11px;letter-spacing:.045em}
  & .tt-number > span::before,& .tt-supp dt::before {content:none}
  & .tt-supp {display:contents}
  & .tt-supp dd {margin:1px 0 0;color:#27261f;font:600 clamp(21px,2.25vw,37px)/1.15 Georgia,serif;font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.045em;white-space:nowrap}
  & .tt-number .cpe-spoken-count {position:absolute!important;clip-path:inset(50%);width:1px!important;height:1px!important;overflow:hidden;margin:-1px}
  & .cpe-counter {display:flex;align-items:center;gap:1px;width:max-content;padding:2px 3px;border-radius:4px;background:#292b26;box-shadow:inset 0 1px 1px #0c110c}
  & .cpe-counter img {display:block;width:clamp(20px,2.3vw,36px);height:auto;flex:none;filter:grayscale(.78) sepia(.12)}
  & .cpe-counter .cpe-thousands {margin-left:1px}

  & .cpe-week-panel {min-width:0;margin-top:auto;padding:12px clamp(8px,1vw,15px) 5px;border:1px solid #38392f;border-radius:5px;background:#242621;color:#f3ead3}
  & .fw-week-caption {color:#e4d7bb;margin:0 0 8px;font-size:11px}
  & .fde-service-scroll {margin:0;background:none}
  & .fde-service-plot canvas {height:var(--cp-trace-height)}
  & .fde-service-plot :is(.tt-week,.tt-week button) {height:calc(var(--cp-trace-height) + 24px);min-height:0}
  & .tt-week button,& .tt-week button[aria-pressed=true] {border:0;color:#e1d9c9;font:500 12px/1.15 Consolas,monospace}
  & .tt-week button[aria-pressed=true] {background:#ffffff0d;color:#ffe5aa;box-shadow:inset 0 -2px #e5b66b}
  & .tt-week button:hover {background:#ffffff13}
  & button:focus-visible {outline:2px solid #8a5420;outline-offset:2px}
  & .cpe-week-panel button:focus-visible {outline-color:#ffe3a8;outline-offset:-3px}
}

@media(max-width:900px) {
  #theater #stage[data-scene=civic] > .tt-edition.cpe-service-board {
    --cp-trace-height:62px;
    grid-template:"terminal" clamp(210px,48vw,360px) "dispatch" auto "stations" auto / minmax(0,1fr);
    gap:10px;padding:clamp(8px,2vw,17px);
    & .tt-image img.cf-print {object-position:65% 52%}
    & .tt-daily {gap:12px}
  }
}
@media(max-width:500px) {
  #theater #stage[data-scene=civic] > .tt-edition.cpe-service-board {
    --cp-padding:12px;
    --cp-trace-height:48px;
    & .cpe-counter img {width:clamp(17px,5vw,23px)}
    & .tt-number > span,& .tt-supp dt {font-size:10px}
    & .tt-choices {gap:4px}
    & .tt-choices button,& .tt-choices button[aria-pressed=true] {flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px 7px;text-align:center;font-size:12px}
    & .tt-choices button .tt-token {width:26px;height:24px}
    & .cpe-metrics {grid-template-columns:minmax(0,1.34fr) minmax(0,.85fr) minmax(0,1fr);gap:5px}
    & .tt-supp dd {font-size:clamp(19px,5.2vw,25px)}
  }
}

/* Station posters and the note for the selected stop, beneath the terminal photograph. */
#theater #stage[data-scene=civic] .tt-edition .fde-stations {
  display: grid;
  grid-template: "title" auto "stations" auto "desc" auto / minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 9px;
  margin: 0;
  padding: clamp(12px, 1.2vw, 19px) !important;
  border: 0;
  border-radius: var(--cp-panel-radius);
  background: var(--cp-enamel, #222321);
  color: var(--cp-paper, #f3ead3);

  & header {
    display: block;
    margin: 0;
    padding: 0;
  }
  & header span {
    display: block;
    color: var(--cp-muted, #c5bcaa);
    font: 600 11px/1.2 Consolas, monospace;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  & header :is(h3, b) {display: none}

  & .fde-platform {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 6px;
  }
  & .fde-platform button {
    display: grid;
    grid-template: "print print" auto "marker name" 1fr / 9px minmax(0, 1fr);
    column-gap: 6px;
    align-items: center;
    align-content: stretch;
    min-height: 44px;
    text-align: left;
    border: 1px solid var(--cp-edge, #55534a);
    border-radius: 4px;
    background: #1a1b19;
    color: var(--cp-paper, #f3ead3);
    box-shadow: none;
    overflow: hidden;
  }
  & .fde-platform button img {
    grid-area: print;
    width: 100%;
    height: clamp(48px, 5.5vw, 78px);
    object-fit: cover;
    object-position: 50% 48%;
  }
  & .fde-platform button i {
    grid-area: marker;
    justify-self: start;
    display: block;
    width: 6px;
    height: 6px;
    box-sizing: border-box;
    margin-left: 5px;
    border: 1px solid #a29b8e;
    border-radius: 50%;
    outline: 0;
    background: transparent;
  }
  & .fde-platform button span {
    grid-area: name;
    padding: 6px 5px 6px 0;
    color: inherit;
    font: 600 clamp(12px, .96vw, 15px)/1.22 Arial, sans-serif;
  }
  & .fde-platform button[aria-pressed=true] {
    background: #39352c;
    border-color: var(--cp-brass, #e5b66b);
    color: #fff4df;
  }
  & .fde-platform button[aria-pressed=true] i {
    border-color: var(--cp-brass, #e5b66b);
    background: var(--cp-brass, #e5b66b);
    outline: 0;
  }
  & .fde-platform button:focus-visible {
    outline: 2px solid var(--cp-paper, #f3ead3);
    outline-offset: 2px;
  }
  & p.fde-platform-note {
    margin: 0;
    padding: 0;
    border: 0;
    max-width: none;
    min-height: 0;
    color: var(--cp-muted, #c5bcaa);
    font: 400 clamp(13px, .97vw, 15px)/1.45 Arial, sans-serif;
  }
}
@media (hover: hover) {
  #theater #stage[data-scene=civic] .tt-edition .fde-platform button:hover {
    border-color: var(--cp-paper, #f3ead3);
  }
}

/* Boarding totals at the upper and lower rulings of the seven-day plot. */
#theater #stage[data-scene=civic] .tt-edition .fde-service-scroll:has(.cpe-week-scale) {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
#theater #stage[data-scene=civic] .tt-edition .cpe-week-scale {
  position: relative;
  flex: none;
  width: 6ch;
  height: var(--cp-trace-height, 48px);
  padding-right: 6px;
  box-sizing: content-box;
  font: 500 11px/1 Consolas, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--cp-muted, #c5bcaa);
}
#theater #stage[data-scene=civic] .tt-edition .cpe-week-scale span {
  position: absolute;
  right: 6px;
  top: 13px;
  transform: translateY(-50%);
}
#theater #stage[data-scene=civic] .tt-edition .cpe-week-scale span + span {top: calc(100% - 11px)}
#theater #stage[data-scene=civic] .tt-edition .cpe-week-scale + .fde-service-plot {
  flex: 1 0 0;
  min-width: 196px;
}
