@font-face {
  font-family:Manrope;
  src:url('./assets/fonts/manrope-variable.ttf') format('truetype');
  font-weight:400 800;
  font-style:normal;
  font-display:swap
}

@font-face {
  font-family:'Space Grotesk';
  src:url('./assets/fonts/space-grotesk-variable.ttf') format('truetype');
  font-weight:400 700;
  font-style:normal;
  font-display:swap
}

:root {
  --red:#b71932;
  --red-dark:#921329;
  --ink:#1d302c;
  --muted:#52625b;
  --paper:#f5f5ef;
  --white:#fffefa;
  --line:#dce2d8;
  --green:#246b56;
  --forest:#173c31;
  --pale:#e9f0e6;
  --amber:#8f5d16;
  --soft-red:#faeeeb;
  --sans:Manrope,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --display:'Space Grotesk',Manrope,system-ui,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;
  --shadow:0 10px 32px #1d302c08
}

* {
  box-sizing:border-box
}

html {
  background:var(--paper);
  scroll-behavior:smooth
}

body {
  margin:0;
  color:var(--ink);
  font:400 1.0625rem/1.6 var(--sans);
  background:radial-gradient(ellipse at 90% 0,#e8eee3 0,transparent 37%),var(--paper)
}

button,input,select,textarea {
  font:inherit
}

button,a,input,select,summary {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

button:disabled {
  cursor:default;
  opacity:.5
}

a {
  color:inherit;
  text-underline-offset:4px
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible {
  outline:3px solid var(--red);
  outline-offset:4px
}

h1,h2,h3,h4,p {
  margin:0
}

h1,h2,h3,h4 {
  font-family:var(--display);
  font-weight:600;
  letter-spacing:-.035em;
  line-height:1.16
}

h1 {
  font-size:clamp(2rem,3.8vw,3.25rem)
}

h2 {
  font-size:clamp(1.4rem,2vw,1.75rem)
}

h3 {
  font-size:1.25rem
}

h4 {
  font-size:1.0625rem
}

p+p {
  margin-top:12px
}

ul,ol {
  padding-left:22px
}

small {
  font-size:.875rem
}

.ui-icon {
  display:inline-block;
  flex-shrink:0;
  vertical-align:middle
}

.chapter-art {
  display:block;
  width:100%;
  height:auto
}

button .ui-icon {
  pointer-events:none
}

[hidden] {
  display:none!important
}

.sr-only {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important
}

.skip-link {
  position:absolute;
  top:-100px;
  left:20px;
  z-index:100;
  background:white;
  padding:12px
}

.skip-link:focus {
  top:10px
}

/* The shared frame stays quiet while the current activity takes the foreground. */
.site-header {
  background:#fffefaed;
  border-bottom:1px solid var(--line)
}

.header-inner {
  max-width:1360px;
  margin:auto;
  padding:18px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font:600 1.3rem/1.15 var(--display);
  letter-spacing:-.045em
}

.brand small {
  display:block;
  font:500 .8125rem/1.4 var(--sans);
  letter-spacing:0;
  color:var(--muted);
  margin-top:5px
}

.brand-mark {
  width:39px;
  height:42px;
  border-radius:11px;
  background:var(--red);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:4px;
  padding:10px 8px;
  box-shadow:0 3px 0 #831028
}

.brand-mark i {
  width:5px;
  height:16px;
  background:#fffefa;
  border-radius:2px
}

.brand-mark i:nth-child(2) {
  height:11px
}

.brand-mark i:nth-child(3) {
  height:22px
}

nav {
  display:flex;
  gap:6px;
  align-items:center;
  flex-wrap:wrap
}

.nav-button {
  border:0;
  background:transparent;
  min-height:44px;
  padding:10px 13px;
  border-radius:8px;
  font-size:.9375rem;
  font-weight:650;
  color:var(--muted)
}

.nav-button:hover {
  color:var(--ink);
  background:var(--pale)
}

.nav-button.link-button {
  border:1px solid var(--line);
  background:var(--white);
  color:var(--ink)
}

#main {
  max-width:1360px;
  margin:auto;
  padding:30px 32px 64px;
  min-height:70vh;
  outline:0
}

.site-footer {
  max-width:1296px;
  margin:0 auto;
  padding:24px 0 30px;
  border-top:1px solid var(--line);
  font-size:.8125rem;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:18px
}

.eyebrow {
  display:block;
  font-size:.8125rem;
  font-weight:750;
  letter-spacing:.045em;
  line-height:1.5;
  color:var(--muted)
}

.eyebrow.red {
  color:var(--red)
}

.pill {
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid #d5dfd0;
  background:#edf3e8;
  border-radius:99px;
  padding:7px 13px;
  font-size:.875rem;
  font-weight:650;
  color:var(--green)
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:48px;
  border:1px solid var(--ink);
  border-radius:10px;
  padding:12px 18px;
  background:var(--ink);
  color:white;
  text-decoration:none;
  font-size:1rem;
  font-weight:750;
  line-height:1.45;
  transition:background .16s,transform .16s,box-shadow .16s
}

.button:hover:not(:disabled) {
  transform:translateY(-1px);
  box-shadow:0 6px 16px #173c3117
}

.button:active:not(:disabled) {
  transform:translateY(1px)
}

.button.primary {
  background:var(--red);
  border-color:var(--red);
  box-shadow:0 3px 0 #901029
}

.button.primary:hover:not(:disabled) {
  background:var(--red-dark)
}

.button.secondary {
  background:var(--white);
  border-color:#c9d3c6;
  color:var(--ink)
}

.button.secondary:hover {
  background:var(--pale)
}

.button.text {
  border:0;
  background:transparent;
  color:var(--red);
  padding:8px 0;
  box-shadow:none
}

.button.small {
  min-height:44px;
  padding:10px 13px;
  font-size:.9375rem
}

.button.wide {
  width:100%
}

.arrow {
  font-size:1.25rem;
  font-weight:400
}

.hero-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:26px
}

.live-dot,.dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green)
}

/* Opening scene and the five-shift journey. */
.hero {
  display:grid;
  grid-template-columns:1fr 1.08fr;
  gap:64px;
  align-items:center;
  padding:32px 0 62px
}

.hero h1 {
  font-size:clamp(5rem,8.2vw,7rem);
  line-height:.94;
  letter-spacing:-.075em;
  margin:26px 0
}

.hero h1 span {
  color:var(--red)
}

.hero .intro {
  font:500 clamp(1.35rem,2.2vw,1.65rem)/1.4 var(--display);
  letter-spacing:-.025em
}

.hero .subtle {
  font-size:1rem;
  line-height:1.75;
  color:var(--muted);
  max-width:440px;
  margin-top:16px
}

.hero-meta {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-top:22px;
  font-size:.875rem;
  color:var(--muted)
}

.hero-meta>span {
  display:flex;
  align-items:center;
  gap:7px
}

.floor-art {
  position:relative;
  background:var(--forest);
  border-radius:24px;
  padding:24px 24px 28px;
  color:var(--white);
  box-shadow:0 22px 50px -24px #183c3180;
  border:1px solid #335449;
  transform:rotate(1deg)
}

.floor-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}

.scene-brand {
  font:600 1.25rem var(--display);
  display:flex;
  align-items:center;
  gap:8px
}

.scene-live {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.8125rem;
  color:#d5e7c7
}

.scene-live .live-dot {
  background:#d1e5a7
}

.hero-warehouse {
  margin:25px -5px 22px;
  transform:rotate(-1deg)
}

.hero-warehouse>svg {
  display:block;
  width:100%;
  height:auto
}

.scene-bottom {
  display:flex;
  align-items:center;
  gap:14px;
  padding-right:65px
}

.scene-bottom strong {
  display:block;
  font-size:.9375rem;
  font-weight:700
}

.scene-bottom>div>span {
  display:block;
  color:#d5e0cd;
  font-size:.8125rem;
  margin-top:4px
}

.avatar-stack {
  display:flex;
  flex-shrink:0;
  padding-left:8px
}

.avatar-stack>svg {
  width:36px;
  height:36px;
  border:2px solid var(--forest);
  border-radius:50%;
  margin-left:-8px;
  background:var(--pale)
}

.scene-stamp {
  position:absolute;
  right:22px;
  bottom:-24px;
  background:#eccb8f;
  color:#4b3918;
  border:4px solid var(--paper);
  border-radius:14px;
  padding:12px 16px;
  font-size:.8125rem;
  line-height:1.5;
  transform:rotate(-6deg);
  box-shadow:0 5px 10px #173c3110
}

.scene-stamp strong {
  font-size:1rem
}

.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px
}

.section-heading h2 {
  margin-top:7px
}

.section-heading p {
  font-size:.9375rem;
  color:var(--muted)
}

.week-preview {
  padding:32px 0;
  border-top:1px solid var(--line)
}

.chapter-cards {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px
}

.chapter-card {
  padding:18px 16px 20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--white)
}

.chapter-day {
  font-size:.875rem;
  font-weight:700;
  color:var(--muted)
}

.chapter-card .chapter-art {
  width:100%;
  max-width:170px;
  margin:5px auto 10px
}

.chapter-card h3 {
  font-size:1.125rem
}

.three-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
  padding:30px 0;
  border-top:1px solid var(--line)
}

.step-card {
  display:flex;
  align-items:flex-start;
  gap:14px
}

.step-icon {
  display:grid;
  place-items:center;
  flex:0 0 46px;
  width:46px;
  height:46px;
  border-radius:14px;
  background:#e7eee1;
  color:var(--green)
}

.step-card h3 {
  font-size:1.125rem;
  margin:3px 0 7px
}

.step-card p {
  font-size:.9375rem;
  line-height:1.65;
  color:var(--muted)
}

.bottom-note {
  margin-top:15px;
  font-size:.875rem;
  line-height:1.7;
  color:var(--muted)
}

.teacher-link {
  color:var(--green);
  font-weight:650
}

/* Clear stages, without another level of numbered headings. */
.progress-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:24px
}

.week-progress,.phase-progress {
  list-style:none;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0;
  margin:0
}

.week-progress li {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:7px 12px;
  min-height:36px;
  font-size:.875rem;
  font-weight:650;
  border-radius:7px;
  color:#6b786d
}

.week-progress li.current {
  background:var(--red);
  color:white;
  box-shadow:0 2px 0 #901029
}

.week-progress li.done {
  background:#e7eee2;
  color:var(--green)
}

.phase-progress {
  gap:18px
}

.phase-progress li {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.875rem;
  color:#6b786d
}

.phase-progress li>span {
  display:grid;
  place-items:center;
  width:22px;
  height:22px;
  border:1px solid #cbd4c7;
  border-radius:50%;
  font-size:.8125rem;
  font-weight:650
}

.phase-progress li.current {
  color:var(--ink);
  font-weight:750
}

.phase-progress li.current>span {
  background:var(--forest);
  border-color:var(--forest);
  color:white
}

.phase-progress li.done>span {
  border-color:#bfd1b7;
  color:var(--green);
  background:#e3eddd
}

.page-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin:30px 0
}

.page-heading h1 {
  margin:9px 0 14px
}

.page-heading p {
  max-width:760px;
  color:var(--muted);
  font-size:1rem
}

.phase-tag {
  font-size:.8125rem;
  font-weight:700;
  background:var(--pale);
  padding:7px 10px;
  border-radius:8px
}

.chapter-heading {
  display:grid;
  grid-template-columns:minmax(0,1fr) 210px;
  gap:40px;
  align-items:center;
  margin:14px 0 30px
}

.chapter-heading h1 {
  margin:9px 0 14px
}

.chapter-heading p {
  max-width:740px;
  color:var(--muted);
  font-size:1.0625rem;
  line-height:1.7
}

.chapter-visual {
  border-radius:24px;
  background:#eaf0e2;
  padding:8px
}

.chapter-visual .chapter-art {
  max-height:155px
}

/* Planning. */
.plan-layout,.two-column {
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:24px;
  align-items:start
}

.stack {
  display:grid;
  gap:22px;
  min-width:0
}

.panel {
  min-width:0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px;
  box-shadow:var(--shadow)
}

.panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px 20px;
  flex-wrap:wrap;
  margin-bottom:22px
}

.panel-head .eyebrow {
  margin-bottom:5px
}

.panel-head h2,.panel-head h3 {
  font-size:1.4rem
}

.hint {
  font-size:1rem;
  color:var(--muted);
  line-height:1.65
}

.panel .hint {
  margin-top:10px
}

.panel.dark {
  background:var(--forest);
  border-color:var(--forest);
  color:var(--white)
}

.panel.dark .eyebrow,.panel.dark .hint {
  color:#d1dfc9
}

.decisions-panel {
  padding:28px
}

.policy-group {
  padding:0;
  border:0;
  margin:0 0 28px;
  min-width:0
}

.policy-group:last-child {
  margin-bottom:0
}

.policy-group legend {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:6px 14px;
  width:100%;
  padding:0;
  font-size:1.0625rem;
  font-weight:750;
  margin-bottom:12px
}

.theory-tag {
  font-size:.8125rem;
  line-height:1.5;
  font-weight:600;
  color:var(--green)
}

.policy-options {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:12px
}

.policy-option {
  display:block;
  min-width:0;
  cursor:pointer;
  border:1px solid #cbd6c6;
  border-radius:12px;
  padding:17px;
  transition:background .15s,box-shadow .15s,border-color .15s;
  background:#fafbf5
}

.policy-option:hover {
  border-color:#809c79
}

.policy-option:has(input:checked) {
  border-color:var(--red);
  background:var(--soft-red);
  box-shadow:inset 0 0 0 1px var(--red)
}

.option-title {
  display:flex;
  align-items:flex-start;
  gap:9px
}

.option-title input {
  flex:0 0 17px;
  width:17px;
  height:17px;
  margin:4px 0 0;
  accent-color:var(--red)
}

.policy-option strong {
  font-size:1rem;
  line-height:1.45;
  font-weight:750
}

.policy-option small {
  display:block;
  font-size:.9375rem;
  color:var(--muted);
  line-height:1.65;
  margin-top:9px
}

.goal-card {
  background:var(--forest);
  color:var(--white);
  border-radius:18px;
  padding:25px;
  position:relative;
  overflow:hidden
}

.goal-card:after {
  content:'';
  position:absolute;
  width:130px;
  height:130px;
  border:22px solid #ffffff05;
  border-radius:50%;
  top:-38px;
  right:-35px;
  pointer-events:none
}

.goal-card .eyebrow {
  color:#d6e4cb
}

.goal-number {
  font:600 4.5rem/1.1 var(--display);
  letter-spacing:-.075em;
  margin-top:15px
}

.goal-number>span {
  font-size:1.5rem;
  color:#bbcdb4;
  letter-spacing:-.04em
}

.goal-card h3 {
  font-size:1.2rem;
  margin:3px 0 20px
}

.goal-time {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.9375rem;
  font-weight:700;
  border-top:1px solid #ffffff25;
  padding-top:19px
}

.goal-card p {
  font-size:.875rem;
  line-height:1.65;
  color:#d6e1ce;
  margin-top:11px
}

.crew-row {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:18px;
  text-align:center
}

.crew-row svg {
  width:58px;
  height:58px;
  display:block;
  margin:auto auto 8px
}

.crew-row strong {
  display:block;
  font-size:.9375rem
}

.crew-row span {
  font-size:.8125rem;
  color:var(--muted)
}

.crew-intro .hint {
  font-size:.875rem;
  text-align:center
}

.status-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 20px;
  margin:17px 0
}

.status-grid>div {
  border-top:1px solid #ffffff25;
  padding-top:13px
}

.status-grid strong {
  display:block;
  font:600 1.5rem/1.25 var(--display)
}

.status-grid small {
  font:400 .8125rem/1.5 var(--sans);
  display:block;
  margin-top:7px;
  color:#d6e1ce
}

.person {
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 120px;
  align-items:center;
  gap:14px;
  padding:18px 0;
  border-bottom:1px solid var(--line)
}

.person:last-child {
  border:0
}

.crew-avatar {
  display:block;
  width:46px;
  height:46px
}

.crew-avatar>svg {
  display:block;
  width:100%;
  height:100%
}

.person strong {
  font-size:1rem
}

.skills {
  display:flex;
  gap:5px 13px;
  flex-wrap:wrap;
  margin-top:5px;
  font-size:.875rem;
  color:var(--muted)
}

.skills b {
  color:var(--green)
}

select {
  width:100%;
  min-height:46px;
  border:1px solid #b9c7b3;
  border-radius:8px;
  background:var(--white);
  padding:9px 12px;
  color:var(--ink);
  font-size:1rem
}

details summary {
  cursor:pointer;
  list-style:none
}

details summary::-webkit-details-marker {
  display:none
}

details>summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:700;
  font-size:1rem
}

details>summary:after {
  content:'+';
  font:400 1.4rem var(--display);
  color:var(--green);
  flex:0 0 auto
}

details[open]>summary:after {
  content:'−'
}

details>summary>span:first-child {
  display:flex;
  align-items:center;
  gap:10px
}

.details-action {
  font-size:.8125rem;
  color:var(--muted);
  font-weight:500;
  margin-left:auto
}

.details-body {
  padding-top:23px
}

.settings-details {
  border-top:1px solid var(--line);
  padding-top:22px;
  margin-top:24px
}

.settings-summary {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:13px 0 0
}

.settings-summary>span {
  background:#ecf0e6;
  border-radius:5px;
  padding:4px 8px;
  font-size:.8125rem;
  color:var(--muted)
}

.settings-details>summary>.settings-summary-label {
  display:block
}

.settings-summary-label>span {
  display:flex;
  align-items:center;
  gap:10px
}

.settings-snapshot {
  display:block;
  font-size:.8125rem;
  line-height:1.6;
  color:var(--muted);
  font-weight:500;
  margin-top:7px
}

.settings-details[open] .settings-snapshot {
  display:none
}

.crew-details .panel {
  padding:0;
  border:0;
  box-shadow:none;
  background:none
}

.crew-details>.details-body>.panel>.panel-head {
  display:none
}

.action-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:22px
}

.action-bar .hint {
  max-width:610px;
  font-size:.9375rem
}

.action-bar>.button {
  flex-shrink:0
}

/* One working surface. The order, stock, and packing choices carry the hierarchy. */
.shift-status {
  display:grid;
  grid-template-columns:minmax(270px,1.6fr) repeat(3,minmax(140px,1fr));
  gap:25px;
  align-items:center;
  margin:14px 0 22px
}

.shift-name h1 {
  font-size:1.5rem;
  margin:5px 0 10px;
  letter-spacing:-.035em
}

.shift-name .eyebrow {
  font-size:.8125rem
}

.order-progress {
  display:flex;
  gap:12px;
  align-items:center;
  color:var(--muted);
  font-size:.8125rem
}

.order-dots {
  display:flex;
  gap:4px
}

.order-dots>i {
  display:grid;
  place-items:center;
  width:15px;
  height:15px;
  border-radius:4px;
  background:#e4e9de;
  border:1px solid #cad4c5;
  font-style:normal
}

.order-dots>i.sent {
  background:var(--forest);
  border-color:var(--forest);
  color:white
}

.order-dots>i.next {
  background:white;
  border-color:var(--red)
}

.status-item {
  border-left:1px solid var(--line);
  padding-left:22px;
  min-width:0
}

.status-item>span {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.8125rem;
  color:var(--muted)
}

.status-item strong {
  display:block;
  font:600 1.7rem/1.25 var(--display);
  letter-spacing:-.045em;
  margin-top:6px;
  font-variant-numeric:tabular-nums
}

.status-item strong small {
  font:500 .875rem var(--sans);
  letter-spacing:0;
  color:var(--muted)
}

.status-track {
  height:4px;
  background:#e0e7d9;
  border-radius:10px;
  margin-top:9px;
  max-width:190px;
  overflow:hidden
}

.status-track i {
  height:100%;
  background:var(--green);
  display:block;
  border-radius:10px
}

.status-item.over-budget strong {
  color:var(--red)
}

.status-item.over-budget .status-track i {
  background:var(--red)
}

.status-item>.status-note {
  font-size:.8125rem;
  margin-top:5px
}

.workbench {
  padding:0;
  border:1px solid #ccd6c7;
  border-radius:18px;
  background:var(--white);
  box-shadow:0 10px 32px #173c310b;
  overflow:clip
}

.workbench-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:var(--forest);
  color:var(--white);
  padding:14px 24px;
  font-size:.875rem;
  font-weight:700
}

.workbench-top>span:first-child {
  display:flex;
  align-items:center;
  gap:9px
}

.work-live {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.8125rem;
  font-weight:500;
  color:#d4e3c8
}

.work-live .live-dot {
  background:#c1df9a
}

.order-ticket {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:22px 28px;
  background:#edf3e6;
  border-bottom:1px solid #d1dcc7;
  scroll-margin-top:18px
}

.ticket-product {
  display:flex;
  align-items:center;
  gap:17px;
  min-width:0
}

.ticket-product>svg {
  flex:0 0 72px;
  width:72px;
  height:72px
}

.ticket-product h2 {
  font-size:1.625rem;
  margin:6px 0 9px;
  letter-spacing:-.045em
}

.ticket-product .eyebrow {
  font-size:.8125rem
}

.ticket-meta {
  display:flex;
  flex-wrap:wrap;
  gap:6px
}

.ticket-chip {
  display:inline-block;
  border:1px solid #cbd8c2;
  border-radius:5px;
  background:#fffefa8c;
  padding:3px 8px;
  font-size:.8125rem;
  font-weight:600;
  color:#3d5746
}

.ticket-chip.fragile {
  background:#f8e9d1;
  border-color:#e1cba6;
  color:#77511f
}

.ticket-chip.damage {
  background:#f8ddd7;
  border-color:#dfb6a8;
  color:#902e24
}

.ticket-match {
  display:flex;
  align-items:center;
  gap:26px;
  flex-shrink:0
}

.ticket-target>span,.ticket-quantity>span {
  display:block;
  font-size:.8125rem;
  color:var(--muted);
  font-weight:650;
  margin-bottom:4px
}

.ticket-target>strong {
  font:700 2rem/1.3 var(--mono);
  letter-spacing:-.055em;
  white-space:nowrap
}

.ticket-quantity {
  border-left:1px solid #cad8be;
  padding-left:25px
}

.ticket-quantity strong {
  display:flex;
  align-items:baseline;
  gap:8px;
  font:600 2.2rem/1.2 var(--display)
}

.ticket-quantity strong small {
  font:500 .875rem var(--sans);
  color:var(--muted)
}

.work-grid {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)
}

.shelf-area {
  padding:24px 28px 28px;
  min-width:0
}

.packing-bay {
  padding:24px 28px 28px;
  border-left:1px solid var(--line);
  background:#fafbf5;
  min-width:0
}

.task-step-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-bottom:19px
}

.step-label {
  font-size:.8125rem;
  font-weight:700;
  color:var(--green);
  display:block;
  margin-bottom:5px
}

.task-step-head h3 {
  font-size:1.3rem
}

.task-step-head>.ui-icon {
  color:#719065
}

.packing-reference {
  font-size:.875rem;
  color:var(--muted);
  margin-top:6px
}

.bin-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px
}

.shelf-grid {
  padding:12px;
  background:#e4ebdd;
  border:1px solid #d1ddc7;
  border-radius:14px;
  box-shadow:inset 0 -5px 0 #c9d6bc
}

.stock-bin {
  position:relative;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  min-height:148px;
  padding:25px 9px 12px;
  background:linear-gradient(#fffefa,#f6f7ef);
  border:1px solid #c7d3bc;
  border-bottom:4px solid #b3c4a1;
  border-radius:10px;
  color:var(--ink);
  transition:background .15s,border-color .15s,transform .15s,box-shadow .15s
}

.stock-bin:hover {
  background:white;
  transform:translateY(-2px);
  box-shadow:0 5px 12px #24472c12
}

.stock-bin[aria-pressed=true] {
  background:#fbefea;
  border-color:var(--red);
  border-bottom-color:#8c172a;
  box-shadow:0 0 0 1px var(--red)
}

.stock-location {
  position:absolute;
  top:7px;
  left:9px;
  font:500 .8125rem var(--mono);
  color:#60724f
}

.stock-picture {
  display:block;
  width:56px;
  height:56px;
  margin-bottom:2px
}

.stock-picture>svg {
  width:100%;
  height:100%;
  display:block;
  transition:transform .18s
}

.stock-bin:hover .stock-picture>svg {
  transform:translateY(-2px) rotate(-4deg)
}

.stock-bin strong {
  font:700 1.125rem/1.3 var(--mono);
  letter-spacing:-.035em;
  white-space:nowrap
}

.stock-bin small {
  font-size:.875rem;
  line-height:1.4;
  text-align:center;
  color:#4b5e48
}

.selection-mark {
  display:none;
  position:absolute;
  right:7px;
  top:6px;
  background:var(--red);
  color:white;
  border-radius:50%;
  width:21px;
  height:21px;
  place-items:center
}

.stock-bin[aria-pressed=true] .selection-mark {
  display:grid
}

.shelf-area>.hint {
  font-size:.875rem;
  line-height:1.65;
  margin-top:15px
}

.keyboard-hint {
  display:block;
  margin-top:5px;
  color:#667260
}

.parcel-display {
  display:flex;
  align-items:center;
  gap:18px;
  border:1px solid #d5dfc9;
  border-radius:12px;
  background:#edf3e5;
  padding:6px 14px 6px 6px;
  margin-bottom:18px;
  min-height:100px
}

.pack-preview {
  width:120px;
  height:94px;
  flex:0 0 120px;
  display:grid;
  place-items:center
}

.pack-preview svg {
  width:100%;
  height:100%;
  display:block;
  animation:parcel-in .18s ease
}

.parcel-display>div:last-child {
  min-width:0
}

.parcel-display strong {
  display:block;
  font-size:.9375rem;
  line-height:1.45;
  margin:4px 0;
  overflow-wrap:anywhere
}

.parcel-display>div>span:last-child {
  font-size:.8125rem;
  color:var(--muted)
}

.quantity-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:17px
}

.control-label {
  font-size:.9375rem;
  font-weight:750;
  line-height:1.5
}

.quantity-buttons {
  display:flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border:1px solid #ccd6c3;
  border-radius:10px;
  background:#eef2e7
}

.quantity-buttons button {
  border:0;
  width:44px;
  height:42px;
  display:grid;
  place-items:center;
  background:transparent;
  border-radius:6px;
  color:var(--ink);
  font:600 1.0625rem var(--display)
}

.quantity-buttons button[aria-pressed=true] {
  background:var(--forest);
  color:white;
  box-shadow:0 2px 4px #183c3120
}

.packaging-group {
  margin:0 0 15px
}

.packaging-group legend {
  font-size:.9375rem;
  margin-bottom:9px
}

.pack-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}

.pack-option {
  display:flex;
  align-items:flex-start;
  gap:9px;
  cursor:pointer;
  border:1px solid #c5d1bd;
  border-radius:10px;
  padding:12px;
  background:var(--white);
  min-width:0
}

.pack-option input {
  accent-color:var(--red);
  width:18px;
  height:18px;
  flex:0 0 18px;
  margin:3px 0 0
}

.pack-option span {
  font-size:1rem;
  font-weight:700;
  line-height:1.45
}

.pack-option small {
  display:block;
  font-size:.875rem;
  font-weight:400;
  line-height:1.5;
  color:var(--muted);
  margin-top:5px
}

.pack-option:has(input:checked) {
  border-color:var(--red);
  background:var(--soft-red);
  box-shadow:inset 0 0 0 1px var(--red)
}

.check-controls {
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin:18px 0 16px
}

.check-option {
  display:flex;
  gap:11px;
  align-items:flex-start;
  padding:12px 0;
  font-size:1rem;
  font-weight:650;
  cursor:pointer;
  line-height:1.5
}

.check-option+.check-option {
  border-top:1px dashed var(--line)
}

.check-option input {
  margin-top:3px;
  width:18px;
  height:18px;
  accent-color:var(--red);
  flex:0 0 18px
}

.check-option small {
  display:block;
  font-size:.875rem;
  line-height:1.5;
  font-weight:400;
  color:var(--muted);
  margin-top:3px
}

.pace-row {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:15px
}

.pace-row select {
  font-size:.9375rem
}

.dispatch-actions {
  margin-top:21px
}

.dispatch-button {
  width:100%;
  min-height:50px
}

.dispatch-actions .hint {
  font-size:.8125rem;
  line-height:1.5;
  margin-top:11px;
  text-align:center;
  min-height:2.7em
}

.dispatch-feedback {
  display:flex;
  align-items:flex-start;
  gap:13px;
  border:1px solid #c6dbc0;
  border-radius:12px;
  background:#e8f1e2;
  padding:14px 18px;
  margin-bottom:16px;
  scroll-margin-top:16px;
  animation:receipt-in .2s ease
}

.dispatch-feedback.issue {
  background:#fae8e3;
  border-color:#e2bbae
}

.dispatch-feedback.rework {
  background:#faf0db;
  border-color:#e4d2a8
}

.feedback-mark {
  background:#ffffffa6;
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  flex:0 0 31px;
  border-radius:50%;
  color:var(--green)
}

.issue .feedback-mark {
  color:var(--red)
}

.rework .feedback-mark {
  color:var(--amber)
}

.dispatch-feedback strong {
  display:inline;
  font-size:1rem;
  font-weight:750
}

.feedback-outcome {
  font-size:.875rem;
  display:inline-block;
  color:var(--muted);
  margin-left:13px
}

.receipt-details {
  margin-top:5px
}

.receipt-details>summary {
  display:inline-flex;
  gap:8px;
  font-size:.8125rem;
  color:var(--muted);
  font-weight:500;
  text-decoration:underline;
  text-underline-offset:3px
}

.receipt-details>summary:after {
  font-size:1rem
}

.receipt-details p {
  font-size:.9375rem;
  line-height:1.6;
  margin-top:8px;
  max-width:800px
}

.feedback-time {
  display:block;
  margin-left:auto;
  flex-shrink:0;
  font:600 1.35rem/1.25 var(--display)
}

.feedback-time small {
  display:block;
  font:500 .8125rem var(--sans);
  color:var(--muted);
  text-align:right;
  margin-top:4px
}

.event-recap {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.875rem;
  color:var(--muted);
  line-height:1.65;
  margin:18px 0;
  padding:0 4px
}

.event-recap>.ui-icon {
  margin-top:4px;
  color:var(--green)
}

.event-recap strong {
  color:var(--ink)
}

.shift-notes {
  margin-top:23px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#f0f3e9;
  padding:18px 22px;
  min-width:0
}

.shift-notes summary {
  font-size:.9375rem
}

.notes-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:22px;
  align-items:start
}

.notes-grid .panel {
  padding:21px;
  border-radius:12px;
  box-shadow:none
}

.notes-grid .panel-head h3 {
  font-size:1.15rem
}

.mini-floor {
  display:grid;
  gap:8px
}

.mini-station {
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:2px 12px;
  padding:10px 0;
  border-bottom:1px solid var(--line)
}

.mini-station .eyebrow,.mini-station strong,.mini-station>span:last-child {
  grid-column:2
}

.mini-station .eyebrow {
  font-size:.8125rem
}

.station-portrait {
  grid-row:1/4;
  grid-column:1;
  width:36px;
  height:36px;
  align-self:center
}

.station-portrait svg {
  display:block;
  width:100%;
  height:100%
}

.mini-station strong {
  font-size:.9375rem
}

.mini-station>span:last-child {
  font-size:.8125rem;
  color:var(--muted)
}

.operating-note {
  font-size:.875rem;
  color:var(--muted);
  line-height:1.6;
  margin-top:13px
}

.side-note {
  font-size:.9375rem;
  color:var(--muted);
  line-height:1.65
}

.side-note strong {
  display:block;
  color:var(--ink);
  margin-bottom:6px
}

.divider {
  height:1px;
  background:var(--line);
  margin:20px 0
}

.ledger {
  padding:0;
  margin:0;
  list-style:none;
  max-height:360px;
  overflow:auto
}

.ledger li {
  display:flex;
  gap:10px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:.875rem;
  line-height:1.5
}

.ledger li:last-child {
  border:0
}

.ledger small {
  display:block;
  font-size:.8125rem;
  color:var(--muted);
  margin-top:4px
}

.log-icon {
  color:var(--green)
}

.log-icon.bad {
  color:var(--red)
}

/* Interruptions are conversations, visually distinct from the order form. */
.exception-layout {
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:26px;
  align-items:start
}

.exception-person {
  background:#e9f0e3;
  border:1px solid #d0dcc6;
  border-radius:18px;
  padding:25px;
  text-align:center
}

.exception-person>.crew-portrait {
  display:block;
  width:106px;
  height:106px;
  margin:20px auto 14px
}

.exception-person h3 {
  font-size:1.5rem
}

.exception-person>p {
  font-size:.9375rem;
  color:var(--muted);
  margin-top:4px
}

.exception-scene {
  margin:18px auto 0;
  max-width:210px
}

.message-card {
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  padding:30px;
  box-shadow:var(--shadow)
}

.message-card>.eyebrow {
  color:var(--red)
}

.message-card h2 {
  font-size:2rem;
  margin:11px 0 17px
}

.message-card .body {
  font-size:1.0625rem;
  line-height:1.75;
  color:#46564c;
  max-width:800px
}

.event-options {
  display:grid;
  gap:12px;
  margin-top:25px
}

.event-option {
  display:block;
  text-align:left;
  border:1px solid #cbd7c3;
  border-radius:12px;
  padding:18px 20px;
  background:#f7f9f1;
  color:var(--ink);
  transition:background .15s,border-color .15s,transform .15s
}

.event-option:hover {
  background:var(--soft-red);
  border-color:var(--red);
  transform:translateX(2px)
}

.event-option strong {
  display:flex;
  justify-content:space-between;
  gap:14px;
  font-size:1.0625rem;
  line-height:1.5
}

.event-option small {
  display:block;
  font-size:1rem;
  line-height:1.65;
  color:var(--muted);
  margin-top:7px
}

.route-map {
  display:flex;
  gap:7px;
  align-items:center;
  justify-content:center;
  margin-top:15px
}

.route-node {
  font-size:.8125rem;
  background:#fffefa;
  border:1px solid #c4d3b9;
  border-radius:7px;
  padding:8px;
  min-width:0;
  overflow-wrap:anywhere
}

.route-node.authorized {
  background:#d9e9d2;
  border-color:#9cba8e
}

.route-arrow {
  color:var(--green)
}

.exception-person>.hint {
  font-size:.875rem;
  text-align:left;
  margin-top:12px
}

/* Results lead with outcomes, with the underlying evidence always available. */
.report-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px
}

.report-stat {
  min-width:0;
  padding:22px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px
}

.report-stat>span {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:.875rem;
  color:var(--muted);
  font-weight:650
}

.report-stat>strong {
  display:block;
  font:600 2.2rem/1.2 var(--display);
  letter-spacing:-.045em;
  margin:13px 0 9px;
  font-variant-numeric:tabular-nums
}

.report-stat strong small {
  font:500 .9375rem var(--sans);
  color:var(--muted);
  letter-spacing:0
}

.report-stat>small,.report-stat p {
  font-size:.875rem;
  line-height:1.5;
  display:block;
  color:var(--muted)
}

.report-stat.good {
  background:#e5efdf;
  border-color:#bfd2b6
}

.report-stat.accent {
  background:var(--forest);
  border-color:var(--forest);
  color:var(--white)
}

.report-stat.accent small,.report-stat.accent>span,.report-stat.accent p {
  color:#d3e1c8
}

.report-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:22px;
  align-items:stretch
}

.order-outcomes {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px
}

.order-outcome {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:11px;
  background:#edf4e8;
  border:1px solid #c9dcbc;
  border-radius:10px;
  padding:14px 5px;
  text-align:center;
  min-width:0
}

.order-outcome>span {
  font-size:.8125rem;
  color:var(--muted)
}

.order-outcome>.ui-icon {
  color:var(--green)
}

.order-outcome strong {
  font-size:.875rem;
  line-height:1.4
}

.order-outcome small {
  font-size:.8125rem;
  line-height:1.4;
  color:var(--muted)
}

.order-outcome.late {
  background:#fbf0d9;
  border-color:#e5d3aa
}

.order-outcome.late>.ui-icon {
  color:var(--amber)
}

.order-outcome.defect {
  background:#fae8e1;
  border-color:#e3bdb0
}

.order-outcome.defect>.ui-icon {
  color:var(--red)
}

.outcome-panel>.hint {
  font-size:.875rem;
  margin:16px 0
}

.report-reasons {
  border-top:1px solid var(--line);
  padding-top:17px;
  margin-top:18px
}

.report-reasons>summary {
  font-size:.9375rem
}

.reasons {
  font-size:.9375rem;
  line-height:1.7;
  color:var(--muted);
  padding-left:20px;
  margin:15px 0
}

.reasons li+li {
  margin-top:9px
}

.reflection-card {
  border:1px solid #d6dfcd;
  border-radius:16px;
  background:#eaf0e3;
  padding:25px;
  position:relative
}

.reflection-card .chapter-art {
  max-width:140px;
  margin:2px 0 10px
}

.reflection-card h3 {
  font-size:1.25rem;
  margin:7px 0 12px
}

.reflection-card p {
  font-size:1rem;
  line-height:1.7;
  color:#40533f
}

.section-gap {
  margin-top:25px
}

.comparison-controls {
  display:grid;
  grid-template-columns:minmax(160px,1fr) minmax(200px,1.2fr) auto;
  gap:16px;
  align-items:end;
  margin:21px 0
}

.comparison-controls label {
  font-size:.875rem;
  font-weight:650
}

.comparison-controls select {
  margin-top:7px
}

.table-wrap {
  overflow:auto;
  max-width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:10px
}

table {
  border-collapse:collapse;
  width:100%;
  font-size:.9375rem;
  line-height:1.55;
  font-variant-numeric:tabular-nums
}

th,td {
  padding:13px 15px;
  border-bottom:1px solid var(--line);
  vertical-align:middle
}

th {
  font-size:.8125rem;
  font-weight:700;
  text-align:left;
  background:#eff3e8;
  color:var(--muted)
}

tbody th {
  font-size:.9375rem;
  font-weight:650;
  background:#fafbf5;
  color:var(--ink);
  min-width:155px
}

tbody tr:last-child>* {
  border-bottom:0
}

td.num,th.num {
  text-align:right;
  white-space:nowrap
}

thead th {
  min-width:95px
}

tbody tr:hover {
  background:#f3f7ed
}

.outcome-chart {
  display:grid;
  gap:15px;
  margin:24px 0
}

.outcome-row {
  display:grid;
  grid-template-columns:60px minmax(0,1fr) 85px;
  gap:14px;
  align-items:center;
  font-size:.9375rem
}

.outcome-bar {
  height:34px;
  display:flex;
  overflow:hidden;
  border-radius:6px;
  background:#e4ebdc
}

.outcome-segment {
  display:grid;
  place-items:center;
  min-width:0;
  color:white;
  font-size:.875rem;
  font-weight:700
}

.outcome-segment.ontime {
  background:#34745a
}

.outcome-segment.late {
  background:#93651f
}

.outcome-segment.defect {
  background:var(--red)
}

.outcome-total {
  font-size:.875rem;
  text-align:right;
  color:var(--muted)
}

.chart-legend {
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-size:.875rem;
  color:var(--muted)
}

.chart-legend span {
  display:flex;
  align-items:center;
  gap:7px
}

.chart-legend i {
  display:block;
  width:10px;
  height:10px;
  border-radius:3px;
  background:#34745a
}

.chart-legend i.late {
  background:#93651f
}

.chart-legend i.defect {
  background:var(--red)
}

.concept-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}

.concept-card {
  background:var(--white);
  border:1px solid var(--line);
  border-top:4px solid var(--red);
  border-radius:13px;
  padding:24px
}

.concept-card h3 {
  font-size:1.5rem;
  margin:11px 0 13px
}

.concept-card p {
  font-size:1rem;
  line-height:1.75;
  color:var(--muted)
}

.concept-card cite {
  display:block;
  font-style:normal;
  font-size:.8125rem;
  color:var(--muted);
  margin-top:15px
}

.reflection-list {
  font-size:1rem;
  line-height:1.7;
  padding-left:23px
}

.reflection-list li {
  padding:8px 0 8px 5px
}

.reflection-list strong {
  display:block;
  margin-bottom:5px
}

.source-list {
  font-size:.9375rem;
  line-height:1.75;
  padding-left:23px
}

.source-list li+li {
  margin-top:13px
}

.log-details {
  border-top:1px solid var(--line);
  padding:17px 0
}

.log-details summary {
  font-size:.9375rem
}

.log-details>div {
  padding-top:10px
}

.note-box {
  background:#eaf1e4;
  border-left:3px solid var(--green);
  padding:16px 18px;
  border-radius:0 9px 9px 0;
  font-size:.9375rem;
  line-height:1.65
}

.note-box.warning {
  background:#fbf0dc;
  border-color:var(--amber)
}

.note-box.red {
  background:var(--soft-red);
  border-color:var(--red)
}

/* Supporting tools. */
dialog {
  border:1px solid #c7d4bf;
  border-radius:18px;
  background:var(--white);
  padding:30px;
  width:calc(100% - 32px);
  max-width:760px;
  max-height:88vh;
  color:var(--ink);
  box-shadow:0 24px 80px #142b3050
}

dialog::backdrop {
  background:#162e2ab0;
  backdrop-filter:blur(4px)
}

.dialog-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  margin-bottom:22px
}

.dialog-head h2 {
  font-size:1.8rem
}

.icon-button {
  flex:0 0 38px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--paper);
  font-size:1.5rem;
  color:var(--ink)
}

#dialog-body p {
  font-size:1rem;
  line-height:1.75;
  color:var(--muted)
}

#dialog-body h3 {
  margin:20px 0 10px;
  font-size:1.25rem
}

#dialog-body .concept-grid {
  grid-template-columns:1fr
}

#dialog-body .concept-card {
  box-shadow:none
}

.trial-row {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:23px 0
}

.share-field {
  width:100%;
  min-height:110px;
  resize:vertical;
  background:var(--paper);
  border:1px solid #c6d2be;
  border-radius:9px;
  padding:14px;
  font:400 .875rem/1.6 var(--mono);
  margin:18px 0;
  color:var(--ink)
}

.toast {
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:24px;
  z-index:100;
  background:var(--forest);
  color:white;
  border-radius:11px;
  box-shadow:0 10px 30px #19362c33;
  padding:15px 22px;
  max-width:calc(100vw - 28px);
  font-size:.9375rem;
  text-align:center
}

.loading {
  padding:65px 0
}

.loading h1 {
  margin:15px 0
}

.noscript {
  position:fixed;
  bottom:0;
  padding:20px;
  background:white;
  color:black;
  width:100%
}

.print-only {
  display:none
}

@keyframes parcel-in {
  from {
    opacity:.55;
    transform:translateY(3px) scale(.97)
  }

  to {
    opacity:1;
    transform:none
  }

}

@keyframes receipt-in {
  from {
    opacity:.7;
    transform:translateY(-4px)
  }

  to {
    opacity:1;
    transform:none
  }

}

@media(min-width:1120px) {
  .plan-aside {
    position:sticky;
    top:22px
  }

}

@media(max-width:1150px) {
  .hero {
    gap:36px
  }

  .hero h1 {
    font-size:6rem
  }

  .scene-bottom {
    padding-right:0
  }

  .scene-stamp {
    bottom:-28px;
    right:16px
  }

  .plan-layout,.two-column {
    grid-template-columns:minmax(0,1fr) 290px;
    gap:20px
  }

  .decisions-panel {
    padding:22px
  }

  .policy-options {
    grid-template-columns:1fr
  }

  .shift-status {
    grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(125px,1fr));
    gap:16px
  }

  .status-item {
    padding-left:15px
  }

  .shelf-area,.packing-bay {
    padding:22px
  }

  .stock-bin {
    padding-left:5px;
    padding-right:5px
  }

  .report-layout {
    grid-template-columns:minmax(0,1fr) 280px
  }

  .order-outcomes {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

  .order-outcome {
    gap:7px
  }

  .site-footer {
    margin:0 32px
  }

  .scene-bottom strong {
    font-size:.875rem
  }

}

@media(max-width:950px) {
  .hero {
    grid-template-columns:1fr 1fr;
    gap:30px
  }

  .hero h1 {
    font-size:5.5rem
  }

  .hero .intro {
    font-size:1.4rem
  }

  .hero .pill {
    font-size:.8125rem
  }

  .scene-live {
    display:none
  }

  .floor-art {
    padding:21px 18px
  }

  .scene-bottom {
    display:block
  }

  .scene-bottom>div:last-child {
    margin-top:10px
  }

  .scene-stamp {
    bottom:-22px;
    font-size:.8125rem;
    padding:9px 12px
  }

  .chapter-cards {
    gap:10px
  }

  .chapter-card {
    padding:15px 12px
  }

  .chapter-card h3 {
    font-size:1rem
  }

  .plan-layout,.two-column {
    grid-template-columns:1fr
  }

  .plan-aside {
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:start
  }

  .plan-aside>.panel:last-child {
    grid-column:1/-1
  }

  .plan-aside .status-grid {
    grid-template-columns:repeat(4,1fr)
  }

  .policy-options {
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr))
  }

  .shift-status {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px
  }

  .shift-name {
    grid-column:1/-1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap
  }

  .shift-name .eyebrow {
    width:100%
  }

  .shift-name h1 {
    margin:0
  }

  .status-item {
    border:0;
    padding:13px 15px;
    background:#edf1e6;
    border-radius:9px
  }

  .status-item strong {
    font-size:1.5rem
  }

  .status-item>span {
    font-size:.8125rem
  }

  .order-ticket {
    padding:20px;
    gap:18px
  }

  .ticket-product>svg {
    width:60px;
    height:60px;
    flex-basis:60px
  }

  .ticket-product h2 {
    font-size:1.4rem
  }

  .ticket-match {
    gap:20px
  }

  .ticket-target>strong {
    font-size:1.75rem
  }

  .ticket-quantity {
    padding-left:20px
  }

  .work-grid {
    grid-template-columns:1fr 1fr
  }

  .shelf-area,.packing-bay {
    padding:20px
  }

  .stock-bin strong {
    font-size:1.0625rem
  }

  .stock-picture {
    width:48px;
    height:48px
  }

  .shelf-grid {
    padding:9px;
    gap:8px
  }

  .notes-grid {
    grid-template-columns:1fr 1fr
  }

  .notes-grid>.panel:last-child {
    grid-column:1/-1
  }

  .notes-grid .status-grid {
    grid-template-columns:repeat(4,1fr)
  }

  .report-layout {
    grid-template-columns:1fr
  }

  .reflection-card {
    display:grid;
    grid-template-columns:minmax(0,1fr) 150px;
    gap:8px 25px
  }

  .reflection-card .chapter-art {
    grid-column:2;
    grid-row:1/4;
    margin:0;
    align-self:center
  }

  .reflection-card .eyebrow,.reflection-card h3,.reflection-card p {
    grid-column:1
  }

  .reflection-card h3 {
    margin:0
  }

  .order-outcomes {
    grid-template-columns:repeat(6,minmax(0,1fr))
  }

  .report-stat {
    padding:18px
  }

  .report-stat>strong {
    font-size:1.9rem
  }

  .exception-layout {
    grid-template-columns:230px minmax(0,1fr);
    gap:20px
  }

  .exception-person {
    padding:20px
  }

  .message-card {
    padding:24px
  }

  .comparison-controls {
    grid-template-columns:1fr 1fr
  }

  .comparison-controls>.button {
    grid-column:1/-1;
    justify-self:start
  }

  .concept-grid {
    grid-template-columns:1fr
  }

  .three-steps {
    gap:20px
  }

  .step-card {
    display:block
  }

  .step-icon {
    margin-bottom:12px
  }

}

@media(max-width:760px) {
  .header-inner {
    padding:17px 22px;
    gap:15px
  }

  #main {
    padding:24px 22px 48px
  }

  .hero {
    grid-template-columns:1fr;
    gap:38px;
    padding:16px 0 55px
  }

  .hero-copy {
    max-width:580px
  }

  .hero h1 {
    font-size:6rem
  }

  .hero .intro {
    font-size:1.5rem
  }

  .hero .subtle {
    max-width:500px
  }

  .floor-art {
    max-width:560px;
    transform:none;
    padding:22px
  }

  .hero-warehouse {
    margin-top:22px
  }

  .scene-live {
    display:flex
  }

  .scene-bottom {
    display:flex
  }

  .scene-bottom>div:last-child {
    margin:0
  }

  .scene-stamp {
    right:18px
  }

  .section-heading {
    display:block
  }

  .section-heading p {
    margin-top:10px
  }

  .chapter-cards {
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    padding-bottom:12px
  }

  .chapter-card {
    flex:0 0 180px;
    scroll-snap-align:start;
    padding:17px
  }

  .chapter-card h3 {
    font-size:1.125rem
  }

  .chapter-card .chapter-art {
    width:145px
  }

  .week-preview {
    padding:27px 0 15px
  }

  .chapter-heading {
    grid-template-columns:minmax(0,1fr) 150px;
    gap:24px
  }

  .chapter-heading h1 {
    font-size:2.2rem
  }

  .chapter-heading p {
    font-size:1rem
  }

  .work-grid {
    grid-template-columns:minmax(0,1fr)
  }

  .shelf-area {
    padding:23px
  }

  .packing-bay {
    border-left:0;
    border-top:1px solid var(--line);
    padding:23px
  }

  .stock-bin {
    min-height:148px
  }

  .stock-bin strong {
    font-size:1.125rem
  }

  .stock-picture {
    width:56px;
    height:56px
  }

  .shelf-grid {
    padding:12px;
    gap:10px
  }

  .packing-bay .parcel-display {
    max-width:none
  }

  .packing-bay .check-controls {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px
  }

  .check-option+.check-option {
    border-top:0
  }

  .pace-row {
    grid-template-columns:120px minmax(0,1fr)
  }

  .dispatch-actions {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    align-items:center
  }

  .dispatch-actions .hint {
    margin:0;
    text-align:left;
    min-height:0
  }

  .ticket-product>svg {
    width:54px;
    height:54px;
    flex-basis:54px
  }

  .ticket-target>strong {
    font-size:1.6rem
  }

  .ticket-quantity strong {
    font-size:1.8rem
  }

  .ticket-match {
    gap:15px
  }

  .ticket-quantity {
    padding-left:15px
  }

  .report-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .report-stat>strong {
    font-size:2.2rem
  }

  .exception-layout {
    grid-template-columns:1fr
  }

  .exception-person {
    display:grid;
    grid-template-columns:60px minmax(0,1fr);
    gap:3px 17px;
    text-align:left;
    padding:18px 22px
  }

  .exception-person>.eyebrow {
    grid-column:2
  }

  .exception-person>.crew-portrait {
    width:60px;
    height:60px;
    grid-column:1;
    grid-row:1/4;
    margin:0;
    align-self:center
  }

  .exception-person h3 {
    grid-column:2;
    font-size:1.25rem
  }

  .exception-person>p {
    grid-column:2;
    margin:0
  }

  .exception-scene {
    display:none
  }

  .exception-person>.route-map,.exception-person>.hint {
    grid-column:1/-1
  }

  .exception-person>.route-map {
    justify-content:flex-start
  }

  .site-footer {
    display:block;
    margin:0 22px
  }

  .site-footer>span {
    display:block;
    margin-top:7px
  }

  .action-bar .hint {
    max-width:55%
  }

}

@media(max-width:600px) {
  .header-inner {
    padding:16px;
    flex-wrap:wrap;
    gap:15px
  }

  .brand {
    font-size:1.25rem
  }

  .brand small {
    font-size:.8125rem
  }

  .brand-mark {
    width:35px;
    height:38px
  }

  nav {
    width:100%;
    justify-content:space-between;
    gap:4px
  }

  .nav-button {
    padding:8px 11px;
    font-size:.875rem
  }

  #main {
    padding:22px 16px 42px
  }

  .hero {
    padding-top:7px
  }

  .hero h1 {
    font-size:5.1rem;
    margin:22px 0
  }

  .hero .intro {
    font-size:1.4rem
  }

  .hero .subtle {
    font-size:1rem
  }

  .hero-actions {
    gap:10px
  }

  .hero-actions .button {
    padding:12px 16px
  }

  .hero-meta {
    gap:14px;
    font-size:.8125rem
  }

  .floor-art {
    border-radius:18px;
    padding:18px 15px 22px
  }

  .scene-brand {
    font-size:1.125rem
  }

  .scene-live {
    font-size:.8125rem
  }

  .scene-bottom {
    gap:11px;
    padding-right:15px
  }

  .avatar-stack>svg {
    width:32px;
    height:32px
  }

  .scene-bottom strong {
    font-size:.875rem
  }

  .scene-bottom>div>span {
    font-size:.8125rem
  }

  .scene-stamp {
    right:11px;
    bottom:-24px;
    transform:rotate(-4deg);
    padding:7px 11px;
    font-size:.8125rem
  }

  .scene-stamp strong {
    font-size:.875rem
  }

  .hero-warehouse {
    margin:20px -4px 18px
  }

  .section-heading h2 {
    font-size:1.6rem
  }

  .three-steps {
    grid-template-columns:1fr;
    gap:22px;
    padding:26px 0
  }

  .step-card {
    display:flex;
    gap:16px
  }

  .step-icon {
    margin:0
  }

  .step-card p {
    font-size:.9375rem
  }

  .bottom-note {
    font-size:.8125rem
  }

  .progress-row {
    display:block;
    margin-bottom:24px
  }

  .week-progress {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:4px
  }

  .week-progress li {
    padding:7px 4px;
    font-size:.875rem
  }

  .phase-progress {
    justify-content:center;
    gap:23px;
    border-top:1px solid var(--line);
    padding-top:15px;
    margin-top:15px
  }

  .phase-progress li {
    font-size:.875rem
  }

  .chapter-heading {
    grid-template-columns:minmax(0,1fr) 100px;
    gap:12px;
    margin:6px 0 23px;
    align-items:start
  }

  .chapter-heading h1 {
    font-size:2rem
  }

  .chapter-heading p {
    grid-column:1/-1
  }

  .chapter-heading>div:first-child {
    display:contents
  }

  .chapter-heading>div:first-child>.eyebrow,.chapter-heading h1 {
    grid-column:1
  }

  .chapter-heading h1 {
    margin:0
  }

  .chapter-heading p {
    margin-top:1px
  }

  .chapter-visual {
    grid-column:2;
    grid-row:1/3;
    padding:0;
    border-radius:16px;
    align-self:center
  }

  .panel,.decisions-panel {
    padding:21px;
    border-radius:14px
  }

  .panel-head {
    gap:12px;
    margin-bottom:20px
  }

  .panel-head h2,.panel-head h3 {
    font-size:1.3rem
  }

  .policy-options {
    grid-template-columns:1fr
  }

  .policy-option {
    padding:17px
  }

  .policy-group legend {
    display:block;
    font-size:1.0625rem
  }

  .theory-tag {
    display:block;
    margin-top:4px
  }

  .plan-aside {
    grid-template-columns:1fr
  }

  .plan-aside>.panel:last-child {
    grid-column:auto
  }

  .plan-aside .status-grid {
    grid-template-columns:1fr 1fr
  }

  .goal-card {
    padding:24px
  }

  .plan-layout {
    display:flex;
    flex-direction:column
  }

  .plan-layout>.stack:not(.plan-aside) {
    order:0;
    width:100%
  }

  .plan-layout>.plan-aside {
    display:contents
  }

  .plan-aside>.goal-card {
    order:-1;
    width:100%
  }

  .plan-aside>.crew-intro,.plan-aside>.panel.dark {
    display:block;
    order:1;
    width:100%
  }

  .goal-card {
    display:grid;
    grid-template-columns:76px minmax(0,1fr);
    gap:4px 18px;
    align-items:center
  }

  .goal-card>.eyebrow {
    grid-column:1/-1
  }

  .goal-number {
    grid-column:1;
    grid-row:2/4;
    font-size:3rem;
    margin:0
  }

  .goal-number>span {
    font-size:1.1rem
  }

  .goal-card h3 {
    grid-column:2;
    font-size:1.1rem;
    margin:0
  }

  .goal-time {
    grid-column:2;
    border:0;
    padding:0;
    font-size:.875rem;
    gap:7px
  }

  .goal-card>p {
    grid-column:1/-1;
    font-size:.875rem;
    margin-top:10px
  }

  .person {
    grid-template-columns:42px minmax(0,1fr) 100px;
    gap:10px
  }

  .person select {
    padding:8px;
    font-size:1rem
  }

  .skills {
    font-size:.8125rem;
    gap:4px 9px
  }

  .details-action {
    display:none
  }

  .action-bar {
    flex-direction:column;
    align-items:stretch;
    gap:16px;
    margin-top:19px
  }

  .action-bar .hint {
    max-width:none;
    order:2
  }

  .action-bar>.button {
    width:100%
  }

  .shift-status {
    gap:9px;
    margin:0 0 18px
  }

  .shift-name {
    gap:6px 12px;
    margin-bottom:4px
  }

  .shift-name h1 {
    font-size:1.35rem
  }

  .shift-name .eyebrow {
    font-size:.8125rem
  }

  .order-progress {
    font-size:.8125rem;
    gap:9px;
    margin-top:5px
  }

  .status-item {
    padding:12px 10px
  }

  .status-item>span {
    font-size:.8125rem;
    line-height:1.35
  }

  .status-item>span>.ui-icon {
    display:none
  }

  .status-item strong {
    font-size:1.5rem;
    margin-top:8px
  }

  .status-item strong small {
    display:block;
    font-size:.8125rem;
    margin-top:4px;
    line-height:1.4
  }

  .status-item>.status-note {
    display:none
  }

  .status-track {
    margin-top:10px;
    height:3px
  }

  .workbench {
    border-radius:14px
  }

  .workbench-top {
    padding:12px 16px;
    font-size:.875rem
  }

  .work-live {
    font-size:.8125rem
  }

  .order-ticket {
    display:block;
    padding:16px
  }

  .ticket-product {
    gap:12px
  }

  .ticket-product>svg {
    width:52px;
    height:52px;
    flex-basis:52px
  }

  .ticket-product h2 {
    font-size:1.35rem;
    margin:5px 0 7px
  }

  .ticket-product .eyebrow {
    font-size:.8125rem
  }

  .ticket-meta {
    gap:5px
  }

  .ticket-chip {
    font-size:.8125rem;
    padding:3px 6px
  }

  .ticket-match {
    display:flex;
    justify-content:space-between;
    gap:20px;
    border-top:1px dashed #c1d0b5;
    margin-top:13px;
    padding-top:11px
  }

  .ticket-target>span,.ticket-quantity>span {
    font-size:.8125rem
  }

  .ticket-target>strong {
    font-size:1.625rem
  }

  .ticket-quantity {
    padding-left:19px
  }

  .ticket-quantity strong {
    font-size:1.8rem;
    gap:6px
  }

  .ticket-quantity strong small {
    font-size:.875rem
  }

  .shelf-area,.packing-bay {
    padding:20px 16px
  }

  .task-step-head {
    margin-bottom:16px
  }

  .task-step-head h3 {
    font-size:1.25rem
  }

  .shelf-grid {
    padding:8px;
    gap:7px;
    border-radius:10px
  }

  .stock-bin {
    min-height:150px;
    padding:25px 4px 11px;
    gap:5px;
    border-radius:7px
  }

  .stock-picture {
    width:47px;
    height:47px
  }

  .stock-bin strong {
    font-size:1.0625rem
  }

  .stock-bin small {
    font-size:.875rem;
    line-height:1.4;
    min-height:2.8em
  }

  .stock-location {
    font-size:.8125rem;
    left:6px;
    top:6px
  }

  .selection-mark {
    width:18px;
    height:18px;
    top:5px;
    right:5px
  }

  .selection-mark>.ui-icon {
    width:12px;
    height:12px
  }

  .keyboard-hint {
    display:none
  }

  .shelf-area>.hint {
    font-size:.875rem
  }

  .parcel-display {
    gap:12px;
    padding:5px 12px 5px 0
  }

  .pack-preview {
    width:104px;
    height:88px;
    flex-basis:104px
  }

  .parcel-display strong {
    font-size:.9375rem
  }

  .packing-bay .check-controls {
    grid-template-columns:1fr;
    gap:0
  }

  .check-option+.check-option {
    border-top:1px dashed var(--line)
  }

  .pack-option {
    padding:12px 10px;
    gap:8px
  }

  .pace-row {
    grid-template-columns:1fr;
    gap:7px
  }

  .pace-row select {
    font-size:1rem
  }

  .dispatch-actions {
    grid-template-columns:1fr;
    gap:10px
  }

  .dispatch-actions .hint {
    text-align:center;
    font-size:.875rem
  }

  .dispatch-feedback {
    gap:10px;
    padding:13px 12px;
    display:grid;
    grid-template-columns:30px minmax(0,1fr)
  }

  .dispatch-feedback strong {
    display:block;
    font-size:.9375rem
  }

  .feedback-outcome {
    display:block;
    margin:3px 0;
    font-size:.875rem
  }

  .feedback-time {
    grid-column:2;
    display:flex;
    align-items:center;
    gap:7px;
    margin:0;
    font-size:1.15rem
  }

  .feedback-time small {
    display:inline;
    margin:0;
    font-size:.8125rem
  }

  .event-recap {
    font-size:.875rem
  }

  .shift-notes {
    padding:16px;
    margin-top:19px
  }

  .shift-notes>summary {
    font-size:.9375rem
  }

  .notes-grid {
    grid-template-columns:1fr;
    margin-top:18px
  }

  .notes-grid>.panel:last-child {
    grid-column:auto
  }

  .notes-grid .status-grid {
    grid-template-columns:1fr 1fr
  }

  .message-card {
    padding:23px 20px
  }

  .message-card h2 {
    font-size:1.7rem
  }

  .message-card .body {
    font-size:1rem
  }

  .event-option {
    padding:17px
  }

  .event-option strong {
    font-size:1rem
  }

  .event-option small {
    font-size:1rem
  }

  .page-heading {
    margin:20px 0 25px
  }

  .page-heading h1 {
    font-size:2rem
  }

  .page-heading p {
    font-size:1rem
  }

  .report-grid {
    gap:11px
  }

  .report-stat {
    padding:17px 14px
  }

  .report-stat>span {
    font-size:.8125rem;
    gap:7px
  }

  .report-stat>span>.ui-icon {
    width:17px;
    height:17px
  }

  .report-stat>strong {
    font-size:1.85rem
  }

  .report-stat strong small {
    font-size:.875rem
  }

  .report-stat>small,.report-stat p {
    font-size:.8125rem
  }

  .order-outcomes {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px
  }

  .order-outcome {
    padding:13px 5px;
    gap:8px
  }

  .reflection-card {
    grid-template-columns:minmax(0,1fr) 95px;
    gap:7px 12px;
    padding:21px
  }

  .reflection-card .chapter-art {
    grid-row:1/3
  }

  .reflection-card p {
    grid-column:1/-1;
    margin-top:9px
  }

  .comparison-controls {
    grid-template-columns:1fr;
    gap:16px
  }

  .comparison-controls>.button {
    justify-self:stretch
  }

  .table-wrap {
    border-radius:8px
  }

  th,td {
    padding:12px 13px
  }

  .outcome-row {
    gap:9px;
    grid-template-columns:42px minmax(0,1fr) 75px
  }

  .outcome-total {
    font-size:.8125rem
  }

  .chart-legend {
    gap:10px 15px;
    font-size:.8125rem
  }

  .concept-card {
    padding:22px
  }

  .reflection-list {
    padding-left:20px
  }

  .source-list {
    font-size:.9375rem
  }

  dialog {
    padding:22px 20px;
    border-radius:14px;
    max-height:90vh
  }

  .dialog-head {
    gap:15px
  }

  .dialog-head h2 {
    font-size:1.6rem
  }

  .trial-row>.button {
    flex:1
  }

  .site-footer {
    margin:0 16px;
    font-size:.8125rem
  }

}

@media(max-width:370px) {
  .hero h1 {
    font-size:4.65rem
  }

  .hero .pill {
    font-size:.8125rem;
    padding:7px 10px
  }

  .hero-actions .button {
    width:100%
  }

  .scene-live {
    display:none
  }

  .scene-bottom>div:last-child {
    padding-bottom:14px
  }

  .avatar-stack {
    display:none
  }

  .bin-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .stock-picture {
    width:54px;
    height:54px
  }

  .stock-bin {
    min-height:160px
  }

  .status-item {
    padding:11px 8px
  }

  .status-item strong {
    font-size:1.35rem
  }

  .phase-progress {
    gap:17px
  }

  .report-stat>span>.ui-icon {
    display:none
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }

}

@media print {
  body {
    background:white;
    color:#111;
    font-family:Arial,sans-serif;
    font-size:11px
  }

  .site-header,.site-footer,.skip-link,.progress-row,.no-print,dialog,#toast,.comparison-controls,.action-bar,.workbench,.shift-status,.exception-layout,.dispatch-feedback {
    display:none!important
  }

  #main {
    padding:0;
    max-width:none;
    min-height:0
  }

  .print-only {
    display:block
  }

  .page-heading h1 {
    font-size:26px
  }

  .page-heading p,.hint,.side-note,.reasons,.source-list,.reflection-list,.concept-card p,.reflection-card p {
    font-size:11px!important;
    color:#222!important
  }

  .panel,.report-stat,.concept-card,.reflection-card,.shift-notes {
    background:white!important;
    box-shadow:none!important;
    border-color:#bbb!important;
    color:black!important;
    break-inside:avoid;
    padding:13px
  }

  .panel-head h2,.panel-head h3,h2,h3 {
    font-size:17px
  }

  .report-grid {
    grid-template-columns:repeat(4,1fr);
    gap:8px
  }

  .report-stat>strong {
    font-size:24px
  }

  .report-stat>span,.report-stat small,.report-stat p {
    font-size:10px!important;
    color:#333!important
  }

  .report-layout {
    grid-template-columns:1fr
  }

  .order-outcomes {
    grid-template-columns:repeat(6,1fr)
  }

  .order-outcome {
    padding:8px 3px
  }

  .order-outcome>span,.order-outcome strong,.order-outcome small {
    font-size:10px
  }

  .order-outcome,.outcome-bar {
    print-color-adjust:exact;
    -webkit-print-color-adjust:exact
  }

  .reflection-card .chapter-art {
    display:none
  }

  .reflection-card {
    display:block
  }

  .reflection-card p {
    margin-top:10px
  }

  .section-gap {
    margin-top:16px
  }

  .table-wrap {
    overflow:visible;
    max-width:none
  }

  table,th,td,tbody th {
    font-size:10px!important;
    min-width:0!important
  }

  th,td {
    padding:7px
  }

  details {
    break-inside:avoid
  }

  details>summary {
    font-size:12px
  }

  details>summary:after,.details-action {
    display:none
  }

  details>div {
    display:block!important
  }

  .concept-grid {
    grid-template-columns:repeat(3,1fr);
    gap:10px
  }

  .concept-card cite,.eyebrow {
    font-size:9px
  }

  .chapter-heading {
    display:block
  }

  .chapter-visual,.chapter-art {
    display:none
  }

  .status-grid {
    grid-template-columns:repeat(4,1fr)
  }

  .status-grid small {
    color:#333
  }

  .panel.dark {
    background:white!important;
    color:black!important
  }

  .panel.dark .hint,.panel.dark .eyebrow {
    color:#333!important
  }

  .notes-grid {
    display:block
  }

  a {
    text-decoration:none
  }

  .outcome-row,.chart-legend {
    font-size:10px
  }

  .outcome-total {
    font-size:10px
  }

  .outcome-chart {
    break-inside:avoid
  }

  .outcome-bar {
    height:23px
  }

  .order-outcomes>.order-outcome>.ui-icon {
    width:18px;
    height:18px
  }

}

/* Keep the frequent four-column replay readable on a phone. */
@media screen and (max-width: 600px) {
  #comparison-output table {
    table-layout: fixed;
    min-width: 280px;
  }
  #comparison-output th, #comparison-output td {
    min-width: 0;
    padding: 11px 8px;
  }
  #comparison-output th:first-child { width: 35%; }
  #comparison-output th.num {
    width: 21.666%;
    white-space: normal;
    font-size: .875rem;
  }
}
