/* © 2026 Cromulent, Inc. All Rights Reserved. */
/* teacher - the advisor's desk: the class bar, what needs you first, the part track, the crews with presence and what needs you, the floor tools, the room's settings, the crew drawer, the class list, term end, the printed records and PIN slips */

/* The desk builds on launch.css's tokens and never redefines them: graphite, ignition orange as the one
   accent, hairline rules, Barlow Condensed for display, JetBrains Mono for anything a machine says. One
   moving thing at a time; motion runs left to right; everything holds still under reduced motion. */

.desk-page { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: 0 max(16px, 2vw); display: grid; gap: var(--space-5); }
.desk-page[hidden] { display: none; }

/* ---- the class bar: sticky, the room's four hands on one line ---------------------------------------- */
.class-bar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3) var(--space-5); align-items: end;
  grid-template-areas: "name tools" "name readouts" "controls controls";
  overflow-x: clip;   /* the release sweep runs past the bar's edge; it never widens the page */
  margin: 0 calc(-1 * max(16px, 2vw)); padding: var(--space-4) max(16px, 2vw) var(--space-3);
  background: var(--glass); -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.2); backdrop-filter: blur(var(--blur-glass)) saturate(1.2);
  border-bottom: 1px solid var(--hairline); }
.class-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent-line) 30%, var(--accent-line) 70%, transparent); opacity: .7; }
/* On a short screen the bar scrolls away rather than eat the room; the drawer then sits under the strip. */
@media (max-height: 899px) { .class-bar { position: relative; } .crew-drawer { --class-bar-height: 36px; } }
/* The strip that stays (the audit of 2026-11-15: at 768 px tall the Offline notice and Needs you scrolled away with
   the bar). Shown only where the bar is not sticky: the link's state, students on station, and Needs you. */
.room-strip { display: none; }
@media (max-height: 899px) {
  .room-strip { position: sticky; top: 0; z-index: 21; display: flex; align-items: center; gap: var(--space-3); min-height: 32px;
    margin: 0 calc(-1 * max(16px, 2vw)); padding: 0 max(16px, 2vw); background: var(--glass); border-bottom: 1px solid var(--hairline);
    -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass));
    font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); }
  .room-strip-count { margin-left: auto; }
  .room-strip-count + .room-strip-count { margin-left: 0; }
  .room-strip-count.is-lit { color: var(--accent); }
  /* Offline, said where the page is scrolled to: the strip turns solid and bright */
  .desk-page.is-offline .room-strip { background: var(--surface); border-bottom-color: var(--flare); color: var(--text); }
}
/* Where students go: big enough to read from the back of the room when the desk is on the projector. */
.student-door { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-3); margin: var(--space-1) 0 0; color: var(--text-secondary); font-size: 14px; }
.student-door-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.student-door-address { font-family: var(--font-mono); font-size: clamp(18px, 2vw, 26px); letter-spacing: .04em; color: var(--text); overflow-wrap: anywhere; }
.class-name { grid-area: name; display: grid; gap: var(--space-1); min-width: 0; }
.class-name .display-l { font-size: clamp(28px, 3vw, 38px); overflow-wrap: break-word; }
.class-name .eyebrow { color: var(--accent); }
.class-meta { min-width: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; }
.class-tools { grid-area: tools; align-self: start; display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: flex-end; align-items: center; }
/* One code, every period: the desk switches between them here (desk.py ONE CODE) */
.period-switch { display: flex; gap: var(--space-2); align-items: center; }
.period-choice { width: auto; min-width: 12ch; max-width: 28ch; min-height: 44px; font-family: var(--font-mono); font-size: 0.875rem; cursor: pointer; }
/* ---- what needs you, first (RULINGS item 28, wchesher 2026-11-17) ---------------------------------------
   The band under the class name: the needs-you strip, with the page's one lit press, and beside it the part track.
   Only the strip's press is lit. Every other press on the desk is plain: the release when it waits on the track, the
   cut, the floor tools. End the period is red and stands apart. */
.desk-page { --desk-stop: #ef5350; --desk-stop-wash: #ef53501f; --on-desk-stop: #0a0a0c; }
:root[data-theme="day"] .desk-page { --desk-stop: #b3261e; --desk-stop-wash: #b3261e14; --on-desk-stop: #ffffff; }
.needs-band { grid-area: controls; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); margin-top: var(--space-1);
  padding-top: var(--space-3); border-top: 1px solid var(--hairline); }
.needs-strip { display: grid; gap: var(--space-2); align-content: start; justify-items: start; min-width: 0; padding: var(--space-3) var(--space-4) var(--space-4);
  border: 1px solid var(--hairline); background: var(--veil-1); }
.needs-strip > .eyebrow { margin: 0; color: var(--text-muted); }
.needs-strip.is-waiting { border-color: var(--accent-line); background: radial-gradient(120% 160% at 0% 0%, var(--accent-wash), transparent 65%), var(--surface); }
.needs-strip.is-waiting > .eyebrow { color: var(--accent); }
.needs-lead { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.1; letter-spacing: .02em; color: var(--text); overflow-wrap: anywhere; }
.needs-strip:not(.is-waiting) .needs-lead { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.4; letter-spacing: 0; color: var(--text-secondary); }
.needs-who { margin: 0; font-size: 14px; color: var(--text-secondary); overflow-wrap: anywhere; }
.needs-who[hidden] { display: none; }
.needs-answer { display: grid; justify-items: start; min-width: 0; }
.needs-answer:empty { display: none; }
.needs-answer .hold-frame { gap: var(--space-1); }
.needs-answer .hold-note { font-size: 12px; }
/* The one lit press: ignition orange, the label dark on it, the fill running bright across it. */
.needs-answer .hold { min-width: 260px; min-height: 60px; background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: var(--glow-accent); }
.needs-answer .hold:hover { border-color: var(--accent); filter: brightness(1.06); }
.needs-answer .hold-fill { background: var(--text); }
.needs-answer .hold-label { color: var(--on-accent); }
.needs-answer .hold-label-lit { color: var(--ground); }
.needs-answer .hold:disabled { background: transparent; color: var(--text-muted); border-color: var(--hairline); box-shadow: none; }
.needs-answer .hold:disabled .hold-label { color: var(--text-muted); }
.needs-answer .ln-btn-primary { min-height: 52px; }
.needs-more { list-style: none; margin: var(--space-1) 0 0; padding: 0; display: grid; gap: var(--space-2); width: 100%; }
.needs-more[hidden] { display: none; }
.needs-more-item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding-top: var(--space-2); border-top: 1px solid var(--hairline);
  font-size: 14px; color: var(--text-secondary); }
.needs-more-words { flex: 1 1 24ch; min-width: 0; overflow-wrap: anywhere; }
.needs-more-where { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

/* The parts as a large track: number, name and state in words; released filled, the current lit, the next outlined. */
.part-track-panel { display: grid; gap: var(--space-2); align-content: start; min-width: 0; }
.part-track-panel > .eyebrow { margin: 0; }
.released-now { margin: 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--text); }
.released-track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.released-track .part { display: grid; grid-template-rows: auto auto 1fr; gap: 2px; min-width: 0; min-height: 76px; padding: var(--space-2) var(--space-2) 6px;
  border: 1px solid var(--hairline); color: var(--text-muted); background: transparent; }
.part-number { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.part-title { font-size: 12px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part-state { align-self: end; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; min-height: 1.2em; }
.released-track .part.is-open { background: var(--veil-2); border-color: var(--accent-line); color: var(--text-secondary); }
.released-track .part.is-open .part-number { color: var(--accent); }
/* The part the room is on reads at once without competing with the strip's lit press: an accent frame, not a lamp. */
.released-track .part.is-now { background: var(--accent-wash); border: 2px solid var(--accent); color: var(--text); }
.released-track .part.is-now :is(.part-number, .part-state) { color: var(--accent); }
.released-track .part.is-cut { background: linear-gradient(90deg, var(--accent) 50%, var(--accent-wash) 50%); border-color: var(--accent); color: var(--text); }
.released-track .part.is-next { border: 1px dashed var(--accent); color: var(--text); }
:root:not(.is-still) .released-track .part.is-next { animation: ln-breathe-box 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .released-track .part.is-next { animation: none; } }
.release-home { display: grid; justify-items: start; }
.release-home:empty { display: none; }
.part-track-panel .hold-frame { gap: var(--space-1); }
.part-track-panel .hold-note { font-size: 12px; }
.part-track-panel .cut-control { padding: var(--space-2) 0 0; border-left: 0; border-top: 1px solid var(--hairline); }
.part-track-panel .cut-control::before { display: none; }
.cut-control.is-away { display: none; }

/* ---- the room's other hands, under the class table ------------------------------------------------------ */
.desk-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tools end" "settings end"; gap: var(--space-4) var(--space-5);
  align-items: start; padding: var(--space-4) 0 0; border-top: 1px solid var(--hairline); min-width: 0; }
.floor-tools { grid-area: tools; display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-3) var(--space-5); min-width: 0; }
.floor-tools > .eyebrow { flex: 1 1 100%; margin: 0; }
.floor-tool { display: grid; gap: var(--space-1); align-content: start; justify-items: start; min-width: 0; max-width: 36ch; }
.floor-tool[hidden] { display: none; }
.floor-tool .hold-note { font-size: 12px; }
.floor-tool .ln-btn { min-height: 48px; }
.floor-tools .class-control { padding: 0; border-left: 0; flex: 0 1 auto; }
.floor-tools .class-control::before { display: none; }
.floor-tools .class-control > .eyebrow { display: none; }   /* "Launch day": the button says it */
/* End the period: set apart at the bottom right, red, held to confirm; never dressed like Release. */
.period-end { grid-area: end; align-self: end; justify-self: end; display: grid; gap: var(--space-2); justify-items: end; padding-left: var(--space-5);
  border-left: 1px solid var(--hairline); max-width: 32ch; }
.period-end > .eyebrow { margin: 0; color: var(--desk-stop); }
.period-end .hold-frame { justify-items: end; gap: var(--space-1); text-align: right; }
.period-end .hold-note { font-size: 12px; }
.period-end .hold { border-color: var(--desk-stop); color: var(--desk-stop); background: var(--desk-stop-wash); }
.period-end .hold:hover { border-color: var(--desk-stop); }
.period-end .hold-fill { background: var(--desk-stop); }
.period-end .hold-label-lit { color: var(--on-desk-stop); }
.period-end .hold.is-done, .period-end .hold.is-armed, .period-end .hold.is-tapped { border-color: var(--desk-stop); box-shadow: 0 0 0 1px var(--desk-stop), 0 0 18px var(--desk-stop-wash); }
/* The room's settings: a drawer, closed on arrival, its summary saying what is set. */
.room-settings { grid-area: settings; min-width: 0; border: 1px solid var(--hairline); }
.room-settings-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-4); min-height: 48px; padding: 0 var(--space-4); cursor: pointer; list-style: none; }
.room-settings-summary::-webkit-details-marker { display: none; }
.room-settings-summary::before { content: "+"; font-family: var(--font-mono); color: var(--text-muted); width: 1ch; }
.room-settings[open] > .room-settings-summary::before { content: "-"; }
.room-settings-summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.room-settings-summary .eyebrow { margin: 0; color: var(--text); }
.room-settings-now { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--text-muted); overflow-wrap: anywhere; min-width: 0; }
.room-settings-body { display: flex; flex-wrap: wrap; border-top: 1px solid var(--hairline); }
.class-control { position: relative; flex: 1 1 auto; display: grid; gap: var(--space-2); align-content: start; padding: var(--space-3) var(--space-4) var(--space-3);
  border-left: 1px solid var(--hairline); min-width: 0; }
.room-settings-body > .class-control:first-child { border-left: 0; }
.class-control[hidden] { display: none; }
.class-control > .eyebrow { margin: 0; min-height: 1.3em; white-space: nowrap; }
.class-control .hold-frame { gap: var(--space-1); }
.class-control .hold-note { font-size: 12px; max-width: 30ch; }
.class-control .reply { font-size: 13px; max-width: 34ch; }

/* The lit panels (panel/panel.css, on by default): their hold wears a hazard collar, right for a commit and wrong for
   a desk where everything is a hold. Here the strip's press is the one lamp, the track's and the floor's holds are
   plain keycaps like every other key, and End the period is a red-collared key. */
html.is-panels .desk-page .needs-answer .hold {
  border: 0; border-radius: 4px; color: var(--pn-lamp-ink);
  background: radial-gradient(120% 160% at 50% 40%, var(--pn-lamp-hot) 0%, var(--pn-lamp) 42%, #ae5714 88%, #672f05 100%);
  box-shadow: 0 0 0 1px #0b0b0d, 0 0 0 4px #2b2c31, 0 0 0 5px #0b0b0d, 0 4px 0 5px var(--pn-skirt), 0 0 18px 2px var(--pn-lamp-glow), inset 0 0 10px rgb(255 240 220 / 0.35); }
html.is-panels .desk-page .needs-answer .hold-label { color: var(--pn-lamp-ink); text-shadow: 0 1px 0 rgb(255 230 210 / 0.35); }
html.is-panels .desk-page .needs-answer .hold-fill { background: radial-gradient(140% 220% at 0% 50%, #fff7ee 0%, var(--pn-lamp-hot) 60%, var(--pn-lamp) 100%); }
html.is-panels .desk-page .needs-answer .hold-label-lit { color: var(--pn-lamp-ink); }
html.is-panels .desk-page :is(.part-track-panel, .floor-tools) .hold {
  border: 0; border-radius: 4px;
  background: linear-gradient(180deg, var(--pn-cap-top) 0%, var(--pn-cap-mid) 60%, var(--pn-cap-low) 100%);
  box-shadow: 0 0 0 1px #0b0b0d, 0 3px 0 var(--pn-skirt), 0 5px 7px rgb(0 0 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.12); }
html.is-panels .desk-page :is(.part-track-panel, .floor-tools) .hold:disabled { opacity: 0.42; }
html.is-panels .desk-page .period-end .hold {
  border: 3px solid transparent; border-radius: 5px;
  background: linear-gradient(180deg, var(--pn-cap-top) 0%, var(--pn-cap-mid) 60%, var(--pn-cap-low) 100%) padding-box,
    linear-gradient(var(--desk-stop), var(--desk-stop)) border-box; }
html.is-panels .desk-page .period-end .hold-label { color: var(--desk-stop); text-shadow: none; }
html.is-panels .desk-page .period-end .hold-fill { background: var(--desk-stop); }
html.is-panels .desk-page .period-end .hold-label-lit { color: var(--on-desk-stop); }
html.is-panels .desk-page .period-end :is(.hold.is-armed, .hold.is-tapped, .hold.is-done) { box-shadow: 0 0 0 1px #0b0b0d, 0 4px 0 var(--pn-skirt), 0 0 18px var(--desk-stop-wash); }

/* The room at a glance: station time, crews, students on station, the crews that need the advisor. */
.readouts { grid-area: readouts; justify-self: end; display: flex; margin: 0; border: 1px solid var(--hairline); background: var(--veil-1); }
.readout-cell { display: grid; gap: 2px; padding: var(--space-2) var(--space-3); border-left: 1px solid var(--hairline); min-width: 8ch; }
.readout-cell:first-child { border-left: 0; }
.readout-cell dt { font-family: var(--font-mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.readout-cell dd { margin: 0; font-family: var(--font-mono); font-size: 20px; line-height: 1.1; letter-spacing: .06em; color: var(--text); font-variant-numeric: tabular-nums; }
.readout-clock dd { color: var(--accent); min-width: 8ch; }
.readout-needs.is-lit { background: var(--accent-wash); box-shadow: inset 0 -2px 0 var(--accent); }
.readout-needs.is-lit dd { color: var(--accent); }
:root:not(.is-still) .readout-needs.is-lit dd { animation: ln-breathe-text 3s ease-in-out infinite; }

/* The traffic line: the room's latest move, the accent landing then cooling. */
.traffic { flex: 1 1 100%; display: flex; align-items: baseline; gap: var(--space-2); margin: 0; min-width: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; }
.traffic[hidden] { display: none; }
.traffic-tag { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); padding: 2px 5px; border: 1px solid var(--hairline); }
.traffic-line { min-width: 0; color: var(--text-secondary); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.traffic-line.is-fresh { animation: desk-land 1600ms var(--ease-machined) both; }

/* A release: one ignition sweep across the bar, left to right, then gone. */
.class-bar.is-releasing::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, transparent, var(--accent-wash) 40%, var(--accent-glow) 50%, var(--accent-wash) 60%, transparent);
  transform: translateX(-100%); }
:root:not(.is-still) .class-bar.is-releasing::before { animation: ln-scan 1400ms var(--ease-machined) both; }
.pace-choices { display: flex; border: 1px solid var(--edge); width: max-content; }
.pace-choice { min-height: 44px; min-width: 52px; padding: 0 var(--space-3); font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em;
  color: var(--text-secondary); background: transparent; border: 0; border-left: 1px solid var(--edge); cursor: pointer;
  transition: background-color var(--flow-ui, 240ms) var(--ease-machined), color var(--flow-ui, 240ms) var(--ease-machined); }
.pace-choice:first-child { border-left: 0; }
.pace-choice:hover { color: var(--text); background: var(--veil-1); }
.pace-choice[aria-checked="true"] { color: var(--text); background: var(--veil-2); box-shadow: inset 0 -2px 0 var(--accent); }
.pace-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .pace-choice { transition: none; } }
.floor-state { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); }
.floor-state.is-held { color: var(--text); }

/* ---- eyes up, as the desk shows it: the room is held -------------------------------------------------- */
.desk-page.is-eyes-up .class-bar { border-bottom-color: var(--accent-line); }
.eyes-banner { display: none; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--accent-line);
  background: radial-gradient(120% 140% at 0% 0%, var(--accent-wash), transparent 60%), var(--surface); }
.desk-page.is-eyes-up .eyes-banner { display: flex; animation: desk-enter-left var(--flow-ui, 240ms) var(--ease-machined) both; }
.eyes-banner .mark { flex: none; }
.eyes-banner p { margin: 0; font-family: var(--font-mono); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--text); }
.eyes-banner p + p { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text-secondary); }

/* ---- the room: crews on the left, the drawer on the right ---------------------------------------------- */
.desk-room { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.desk-room.has-drawer { grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); }
@media (max-width: 1080px) { .desk-room.has-drawer { grid-template-columns: minmax(0, 1fr); } }

.crew-board { width: 100%; border-collapse: collapse; font-size: 14px; }
.crew-board th { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted);
  text-align: left; padding: 0 var(--space-3) var(--space-2); white-space: nowrap; }
.crew-board td { padding: var(--space-3); border-top: 1px solid var(--hairline); vertical-align: top; color: var(--text-secondary); }
.crew-board tbody tr { cursor: pointer; transition: background-color var(--flow-ui, 240ms) var(--ease-machined); }
.crew-board tbody tr:hover td { background: var(--veil-1); }
.crew-board tbody tr[aria-selected="true"] td { background: var(--veil-2); }
.crew-board tbody tr[aria-selected="true"] td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.crew-board tbody tr:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.crew-board .crew-code { font-family: var(--font-mono); font-size: 17px; letter-spacing: .2em; color: var(--text); white-space: nowrap; }
.crew-board tbody tr.is-needs td:first-child { box-shadow: inset 2px 0 0 var(--accent-line); }
.crew-board tbody tr.is-needs .crew-code { color: var(--accent); }
.crew-board .number { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.crew-board th.number { text-align: right; }

.seat-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.seat { display: flex; align-items: center; gap: var(--space-2); white-space: nowrap; color: var(--text); }
.seat .seat-chair { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: var(--text-muted); min-width: 22px; }
.seat .seat-presence { font-size: 12px; color: var(--text-muted); }
.seat-empty { color: var(--text-muted); }

.where { display: grid; gap: 2px; }
.where .where-step { color: var(--text); }
.where .where-part { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--text-muted); }
.where .where-ending { font-size: 13px; color: var(--text-secondary); }
.where .where-pad { margin-top: var(--space-1); width: min(100%, 300px); }
.where .where-pad svg { display: block; width: 100%; height: auto; }
.where .where-pad.is-building, .where .where-pad.is-slipped { opacity: .75; }

.needs-list { display: grid; gap: 4px; justify-items: start; }
.needs-tag { display: inline-block; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); border: 1px solid var(--edge); padding: 5px 7px; }
.needs-tag.is-ruling { border-color: var(--flare); box-shadow: 0 0 10px var(--flare-glow); }
.needs-tag.is-poll { border-color: var(--flare); color: var(--text); }
.needs-tag.is-waiting { border-color: var(--accent-line); color: var(--text); }
.needs-tag.is-out_of_step { border-color: var(--accent-line); color: var(--text); }   /* a console behind the log: a reload fixes it */
.needs-tag.is-stuck { border-style: dashed; color: var(--text-secondary); }   /* L19: a quiet mark, never an alarm */
/* A student signed in and not moving (desk.py `quiet`): the one the room was missing, so it reads from across it. */
.needs-tag.is-quiet { border-color: var(--accent); color: var(--text); font-size: 12px; }
.needs-none { color: var(--text-muted); }

/* ---- the crew drawer --------------------------------------------------------------------------------- */
.crew-drawer { position: sticky; top: calc(var(--class-bar-height, 180px) + var(--space-3)); max-height: calc(100vh - var(--class-bar-height, 180px) - var(--space-5)); overflow: auto;
  display: grid; gap: var(--space-4); align-content: start; border-left: 1px solid var(--hairline); padding: 0 0 var(--space-5) var(--space-5); }
.crew-drawer[hidden] { display: none; }
.crew-drawer { scroll-margin-top: calc(var(--class-bar-height, 0px) + var(--space-3)); }
/* The long bands fold (their words, the choices, the log), so the drawer's actions are not a 4,000 px scroll away. */
.drawer-fold > summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.drawer-words { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.drawer-words li { display: grid; gap: 2px; overflow-wrap: anywhere; }
.drawer-words li.is-hint, .drawer-words li.is-caught-up { color: var(--text-secondary); }
.list-leaving { display: grid; gap: var(--space-2); margin: var(--space-3) 0; padding: var(--space-3); border: 1px solid var(--accent-line); }
.list-leaving[hidden] { display: none; }
.list-leaving ul { margin: 0; padding-left: var(--space-4); columns: 2; }
.list-leaving .field-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.crew-drawer.is-entering { animation: desk-enter-left var(--flow-ui, 240ms) var(--ease-machined) both; }
@media (max-width: 1080px) { .crew-drawer { position: static; max-height: none; border-left: 0; border-top: 1px solid var(--hairline); padding: var(--space-5) 0 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: start; gap: var(--space-3); }
.drawer-code { font-family: var(--font-mono); font-size: 40px; line-height: 1; letter-spacing: .22em; color: var(--text); margin: var(--space-1) 0 0; }
.drawer-band { display: grid; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--hairline); }
.drawer-band > .eyebrow { margin: 0; }
.member-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 32px; }
.member-row .who { display: flex; align-items: center; gap: var(--space-2); color: var(--text); }
.member-row .member-presence { font-size: 12px; color: var(--text-muted); }
.drawer-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.directive-form { display: grid; gap: var(--space-2); }
.directive-form .field-row { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.directive-form select, .directive-form textarea { font: inherit; }
.directive-form textarea { min-height: 72px; resize: vertical; }
.directive-count { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-left: auto; }
.directive-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.directive-list li { padding: var(--space-2) var(--space-3); border-left: 2px solid var(--accent-line); background: var(--veil-1); font-size: 14px; color: var(--text); }
.directive-list .meta { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }

.ruling { display: grid; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--flare); box-shadow: inset 0 0 0 1px var(--flare-glow); }
.ruling .eyebrow { color: var(--text); }
.ruling p { margin: 0; font-size: 14px; color: var(--text-secondary); max-width: 46ch; }
.stand-in { display: grid; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--accent-line); }
.stand-in .eyebrow { color: var(--text); }
.stand-in p { margin: 0; font-size: 14px; color: var(--text-secondary); max-width: 46ch; }
.stand-in-hold { display: grid; gap: var(--space-2); justify-items: start; }
.stand-in-hold .input { width: 100%; }
.ruling-choices { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.budget-move { display: grid; gap: var(--space-2); }
.budget-move input { max-width: 12ch; font-family: var(--font-mono); }
.budget-move p, .drawer-band > .body-s { margin: 0; }
.budget-move textarea, .drawer-band textarea { font: inherit; resize: vertical; width: 100%; }

/* Under the crews board: mission news (the real record) and the class's intern quips */
.desk-main { display: grid; gap: var(--space-5); min-width: 0; }
.news-list, .quip-list { margin: var(--space-3) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
/* Mission news as a dossier wall: cards side by side, each action on one baseline at the foot of its card. */
.news-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.news-item { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-1); padding: var(--space-3) var(--space-4); border-left: 2px solid var(--accent-line); background: var(--veil-1); }
.news-item > :last-child { margin-top: var(--space-2); }
.news-item.is-released { border-left-color: var(--hairline); opacity: .72; }
.news-item p { margin: 0; }
.news-item .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.news-headline { font-family: var(--font-display); font-size: 18px; letter-spacing: .02em; color: var(--text); }
.news-item .body-s { color: var(--text-secondary); max-width: 64ch; }
.quip-form { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.quip-form .field-row { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.quip-form input { flex: 1 1 24ch; min-width: 0; }
.quip-form p { margin: 0; }
.quip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--hairline); }
.quip-words { flex: 1 1 28ch; margin: 0; color: var(--text); }

.crew-log { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; font-size: 14px; }
.crew-log li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-3); padding: 6px 0; border-top: 1px solid var(--hairline); color: var(--text-secondary); }
.crew-log li:first-child { border-top: 0; }
.crew-log time { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); padding-top: 2px; font-variant-numeric: tabular-nums; }
.crew-log li.is-fresh { animation: desk-land 900ms var(--ease-machined) both; }
.log-more { justify-self: start; }

/* ---- the class list: the paste, the PINs, crews dealt and adjusted ----------------------------------------- */
.class-list-page { display: grid; gap: var(--space-5); max-width: 1080px; }
.class-list-page[hidden] { display: none; }
.class-list-page .ln-panel { display: grid; gap: var(--space-3); }
.list-load > summary { list-style: none; justify-self: start; width: max-content; }
.list-load > summary::-webkit-details-marker { display: none; }
.list-load[open] > summary { margin-bottom: var(--space-3); }
.list-paste { width: 100%; min-height: 160px; resize: vertical; font-family: var(--font-mono); font-size: 14px; }
.list-board tbody tr { cursor: default; }
.list-board tbody tr:hover td, .list-board tbody tr:hover th { background: var(--veil-1); }
.list-board th[scope="row"] { text-align: left; font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; white-space: normal;
  padding: var(--space-3); border-top: 1px solid var(--hairline); vertical-align: middle; }
.list-board td { vertical-align: middle; }
.list-board .mono { color: var(--text); letter-spacing: .08em; }
.list-name { display: block; color: var(--text); }
.list-full { display: block; font-size: 12px; color: var(--text-muted); }
.list-crew { font-family: var(--font-mono); letter-spacing: .16em; color: var(--text); }
.list-crew.is-locked::after { content: " / locked"; letter-spacing: .08em; font-size: 11px; color: var(--text-muted); }
.list-crew-select { min-height: 36px; padding: 4px 8px; font-family: var(--font-mono); font-size: 13px; }
.list-locked { display: inline-flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.list-actions { text-align: right; white-space: nowrap; }
/* The supported path's prompt record, under the student's switch: the help each answer took, by Part. */
.list-prompts { margin-top: var(--space-2); text-align: left; white-space: normal; }
.list-prompts summary { cursor: pointer; font-size: 12px; color: var(--text-secondary); }
.list-prompts-table { margin-top: var(--space-2); border-collapse: collapse; font-size: 12px; }
.list-board .list-prompts-table th, .list-board .list-prompts-table td { padding: 2px var(--space-2); font-size: 12px; line-height: 1.5;
  border-top: 1px solid var(--hairline); text-align: right; vertical-align: baseline; background: none; }
.list-board .list-prompts-table thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--text-muted); }
.list-board .list-prompts-table tbody th { text-align: left; color: var(--text-muted); font-size: 12px; }
.deal-panel { display: grid; gap: var(--space-2); padding: var(--space-4); border: 1px solid var(--accent-line); background: var(--veil-1); }
.deal-panel[hidden] { display: none; }
.deal-panel > p { margin: 0; }
.deal-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.deal-list li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: var(--space-3); color: var(--text); padding: 4px 0; border-top: 1px solid var(--hairline); }
.deal-number { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding-top: 2px; }

/* ---- term end: the export above the purge ------------------------------------------------------------- */
.term-end { display: grid; gap: var(--space-5); max-width: 880px; }
.term-end[hidden] { display: none; }
.export-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.purge-page { border-top: 1px solid var(--hairline); }
.purge-page fieldset { border: 1px solid var(--edge); padding: var(--space-3) var(--space-4); margin: 0; display: grid; gap: var(--space-2); }
.purge-page legend { padding: 0 var(--space-2); }
.purge-page label.choice { display: flex; gap: var(--space-3); align-items: center; min-height: 44px; font-size: 15px; cursor: pointer; }
.purge-page input[type="radio"] { width: 18px; height: 18px; accent-color: var(--text); }
.back-link { justify-self: start; }

.desk-footer-links { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.desk-footer-links a, .desk-footer-links button { color: var(--text-secondary); font-size: 13px; }

/* ---- narrow: the bar stacks, nothing breaks a word ------------------------------------------------------ */
@media (max-width: 1080px) {
  .class-bar { grid-template-areas: "name tools" "readouts readouts" "controls controls"; }
  .readouts { justify-self: start; }
  .needs-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .class-bar { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "readouts" "tools" "controls"; }
  .class-tools { justify-content: flex-start; }
  .readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-self: stretch; }
  .readout-cell:nth-child(odd) { border-left: 0; }
  .readout-cell:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
  .period-switch { flex: 1 1 100%; }
  .period-choice { flex: 1; max-width: none; }
  /* the track keeps its numbers and states; the part names go to the line above it */
  .released-track .part { min-height: 58px; padding: 6px 4px; }
  .part-title { display: none; }
  .part-number { font-size: 22px; }
  .part-state { font-size: 9px; letter-spacing: .06em; }
  .needs-answer, .needs-answer .hold-frame { justify-items: stretch; width: 100%; }
  .needs-answer .hold { min-width: 0; width: 100%; }
  .desk-controls { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tools" "settings" "end"; }
  .period-end { justify-self: stretch; justify-items: start; padding: var(--space-4) 0 0; border-left: 0; border-top: 1px solid var(--hairline); max-width: none; }
  .period-end .hold-frame { justify-items: start; text-align: left; }
  .room-settings-body { display: grid; }
  .room-settings-body > .class-control { border-left: 0; border-top: 1px solid var(--hairline); }
  .room-settings-body > .class-control:first-child { border-top: 0; }
}

/* ---- motion (the house's: enter from the left, the accent lands then cools) ------------------------------ */
@keyframes desk-enter-left { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes desk-land { 0% { color: var(--accent); } 100% { color: var(--text-secondary); } }
@media (prefers-reduced-motion: reduce) {
  .desk-page.is-eyes-up .eyes-banner, .crew-drawer.is-entering, .crew-log li.is-fresh { animation: none; }
  .crew-board tbody tr { transition: none; }
  .traffic-line.is-fresh { animation: none; }
}

/* ---- the draws, in the drawer: opened on request ------------------------------------------------------- */
.draws-band > summary { cursor: pointer; }
.timeline-band > summary { cursor: pointer; }
.timeline-table { width: 100%; border-collapse: collapse; margin-top: var(--space-2); font-size: 0.875rem; }
.timeline-table th, .timeline-table td { text-align: left; padding: var(--space-1) var(--space-2); border-bottom: 1px solid var(--hairline); vertical-align: top; }
.timeline-table thead th { font-weight: 600; }
.timeline-table tbody th { font-weight: 400; }
.timeline-table .number { text-align: right; font-variant-numeric: tabular-nums; }
.timeline-table tr.is-current th { font-weight: 600; }
.draws { display: grid; gap: var(--space-2); }
.draws p { margin: 0; }
.draws-seed { overflow-wrap: anywhere; }
.draws-counts { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.draws-counts li { display: grid; gap: 2px; }
.draws-counts .data { overflow-wrap: anywhere; }

/* ---- the printed records: one page per crew ----------------------------------------------------------- */
.print-records { display: none; }
@media print {
  body.is-printing > *:not(.print-records) { display: none !important; }
  body.is-printing .print-records { display: block; color: #000; background: #fff; font-family: var(--font-body); font-size: 11pt; }
  .print-record { break-after: page; padding: 0; }
  .print-record:last-child { break-after: auto; }
  .print-record h1 { font-family: var(--font-display); font-size: 22pt; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4pt; }
  .print-record h2 { font-family: var(--font-mono); font-size: 9pt; letter-spacing: .2em; text-transform: uppercase; margin: 14pt 0 4pt; border-bottom: .5pt solid #000; padding-bottom: 2pt; }
  .print-record .meta { font-family: var(--font-mono); font-size: 9pt; letter-spacing: .08em; }
  .print-record ol, .print-record ul { margin: 0; padding-left: 16pt; }
  .print-record li { margin: 2pt 0; }
  .print-record .why { display: block; font-style: italic; }
  .print-record li.is-hal { border-left: 2pt solid #000; padding-left: 4pt; }
  .print-record li.is-hal .why { font-style: normal; font-weight: 600; }
  .print-record .by { font-family: var(--font-mono); font-size: 8pt; letter-spacing: .1em; text-transform: uppercase; }
  /* PIN slips: a grid to cut apart, three across, every slip whole on its page */
  .print-slips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .print-slip { break-inside: avoid; border: .5pt dashed #000; padding: 10pt 12pt; display: grid; gap: 3pt; }
  .print-slip p { margin: 0; }
  .print-slip .slip-brand { display: flex; align-items: center; justify-content: space-between; gap: 8pt;
    font-family: var(--font-mono); font-size: 7pt; letter-spacing: .2em; text-transform: uppercase; }
  .print-slip .lockup { height: 11pt; width: auto; }
  .print-slip .lockup .orbit, .print-slip .lockup .transfer { stroke: #000; }
  .print-slip .lockup .sun, .print-slip .lockup .earth, .print-slip .lockup .wordmark { fill: #000; }
  .print-slip .lockup .mars { fill: var(--accent); }
  .print-slip .slip-name { font-family: var(--font-display); font-size: 16pt; letter-spacing: .04em; }
  .print-slip dl { margin: 2pt 0; display: grid; grid-template-columns: auto 1fr; gap: 1pt 8pt; align-items: baseline; }
  .print-slip dt { font-family: var(--font-mono); font-size: 7pt; letter-spacing: .16em; text-transform: uppercase; }
  .print-slip dd { margin: 0; font-family: var(--font-mono); font-size: 15pt; letter-spacing: .14em; }
  .print-slip .slip-address { font-family: var(--font-mono); font-size: 9pt; }
  .print-slip .slip-note { font-size: 7.5pt; }
}

/* The mission, picked when the class is made: a fieldset holding the shared segments. */
.mission-field { border: 0; margin: 0; padding: 0; min-width: 0; }

.chip.is-counter { border-style: dashed; }

/* Mission Alpha's class spread and evidence grid: alpha.css's panel, card and table, its tokens with launch's as the
   fallback. Choices, never a score (H6): the bars count crews, the grid cells are words. */
.spread-room { margin-top: var(--al-space-5, var(--space-5)); min-width: 0; }
.spread-room > .al-panel { min-width: 0; }
.spread-heading { margin: 0; font-family: var(--al-font-stencil, var(--font-display)); font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; color: var(--al-text, var(--text)); }
.spread-lede { margin: var(--al-space-2, 8px) 0 0; max-width: 72ch; font-family: var(--al-font-body, var(--font-body, inherit)); font-size: 0.875rem; color: var(--al-text-secondary, var(--text-secondary)); }
.spread-boards { display: grid; gap: var(--al-space-4, var(--space-4)); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: var(--al-space-4, var(--space-4)); }
.spread-board { display: grid; gap: var(--al-space-2, var(--space-2)); align-content: start; min-width: 0; }
.spread-title { margin: 0; font-family: var(--al-font-stencil, var(--font-display)); font-size: 1.125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--al-text, var(--text)); }
.spread-label { margin: 0; font-family: var(--al-font-mono, var(--font-mono)); font-size: 0.6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--al-text-muted, var(--text-muted)); }
.spread-bars { list-style: none; margin: var(--al-space-1, 4px) 0 0; padding: 0; display: grid; gap: var(--al-space-2, 8px); }
.spread-bar { display: grid; grid-template-columns: minmax(0, 1fr) 7ch; gap: 4px var(--al-space-2, var(--space-2)); align-items: center; }
.spread-value { grid-column: 1 / -1; font-family: var(--al-font-body, var(--font-body, inherit)); font-size: 0.875rem; color: var(--al-text, var(--text)); overflow-wrap: anywhere; }
.spread-track { height: 10px; background: var(--al-well, var(--veil-1)); }
.spread-fill { display: block; height: 100%; background: var(--al-lamp, var(--accent)); }
.spread-bar.is-hal .spread-value { font-family: var(--al-font-mono, var(--font-mono)); color: var(--al-text-secondary, var(--text-secondary)); }
.spread-bar.is-hal .spread-fill { background: transparent; box-shadow: inset 0 0 0 1px var(--al-edge, var(--edge)); }
.spread-crews { font-family: var(--al-font-mono, var(--font-mono)); font-size: 0.75rem; text-align: right; color: var(--al-text-muted, var(--text-muted)); }
.spread-shown { display: grid; gap: var(--al-space-2, 8px); justify-items: start; margin-top: var(--al-space-4, var(--space-4)); }
.spread-shown-words { margin: 0; font-family: var(--al-font-body, var(--font-body, inherit)); color: var(--al-lamp, var(--accent)); overflow-wrap: anywhere; }
.grid-table { min-width: max-content; }
.grid-table thead th:first-child, .grid-table tbody th { position: sticky; left: 0; background: var(--al-surface, var(--surface)); z-index: 1; }
.grid-idea { text-align: center; font-family: var(--al-font-mono, var(--font-mono)); }
.grid-key { columns: 2 24rem; column-gap: var(--al-space-6, var(--space-6, 24px)); margin: var(--al-space-4, var(--space-4)) 0 0; padding-left: 2.5em; color: var(--al-text-secondary, var(--text-secondary)); }
.grid-key li { break-inside: avoid; }
.grid-name { display: block; font-family: var(--al-font-body, var(--font-body, inherit)); white-space: nowrap; color: var(--al-text, var(--text)); }
.grid-crew { display: block; font-size: 0.6875rem; color: var(--al-text-muted, var(--text-muted)); }
.grid-cell { min-width: 7ch; max-width: 9ch; white-space: normal; }
.grid-cell.is-chose_why { color: var(--al-text, var(--text)); box-shadow: inset 2px 0 0 var(--al-lamp, var(--accent)); }
.grid-cell.is-short { color: var(--al-text, var(--text)); box-shadow: inset 2px 0 0 var(--al-text-muted, var(--text-muted)); }
.grid-cell.is-not_yet { color: var(--al-text-muted, var(--text-muted)); }
.grid-cell.is-showed, .grid-cell.is-helped { color: var(--al-text, var(--text)); box-shadow: inset 2px 0 0 var(--al-lamp, var(--accent)); font-weight: 600; }
.grid-cell.is-missed { color: var(--al-text, var(--text)); box-shadow: inset 2px 0 0 var(--al-text-muted, var(--text-muted)); font-style: italic; }
.drawer-choices { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.drawer-choices li { display: grid; gap: 4px; justify-items: start; }
.drawer-choice-why { font-family: var(--al-font-story, Georgia, serif); font-size: 0.875rem; overflow-wrap: anywhere; }
.drawer-case-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-2); }
.drawer-case-list li { display: grid; gap: 2px; overflow-wrap: anywhere; }
.drawer-journal summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; }

/* What to reteach (Luna), for the teacher only: one card a concept, its Glitch brief to copy */
.reteach-list { display: grid; gap: var(--al-space-4, var(--space-4)); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); margin-top: var(--al-space-4, var(--space-4)); }
.reteach-card .panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.reteach-card .is-due { color: var(--al-warn, #ffb347); font-weight: 600; }
.reteach-brief { white-space: pre-wrap; max-height: 18em; overflow: auto; margin: 6px 0 0; }
.drawer-luna-board { border-top: 1px solid var(--hairline, #2c2c31); padding: 8px 0; }
.drawer-luna-runs { margin: 4px 0 4px 1.2em; }
