/* ═══════════════════════════════════════════════════════════════════════════════════════════════════
   DESKTOP, TIER TWO (2026-10-15, panelsb): THE TEACHERS, THE GUIDE, THE SCHOOL, THE REFLECTIONS AND THE
   PERKS IN THE SIDE PANEL. desktop.css made the exchange a right-side panel over the standing world
   (clamp(520px, 34vw, 760px), the words starting 62px down under the site row). This sheet dresses the
   screens that app.js now routes through that panel when a place is standing (audit SCR-04 and the
   madrasa and perks items). Off a place nothing here applies: every rule is scoped to .place-plate.

   WHAT IT ADDS
   - A panel head (kicker + one title) where the page showed a painted stage or a banner.
   - Rows that carry a glyph or a figure beside their key badge: four grid columns, not three.
   - The step-back at the foot of a list: a ghost button that names Esc, left under the rows.
   - The madrasa's six subjects as one step strip across the panel's head (22px discs, one hairline).
   - The perks offer as one row of 236px cards, scrolled sideways, the first nine numbered.
   Measured at 1920x1080 on :1139 (scripts/_desk-panelsb-probe.mjs).
   ═══════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ---- the panel's head: who is speaking, and the one title ------------------------------------- */
.place-plate .panel-head { margin: 0 0 14px; }
/* a head that stands where the stage art stood (outside the .scene that carries the 28px gutter) takes the
   gutter itself: measured flush at x 1268 against a panel edge at 1267 before this line */
.place-plate .scene-view > .panel-head { padding: 26px 28px 0; margin: 0; }
.place-plate .scene-view > .panel-head + .scene { padding-top: 14px; }
.place-plate .panel-head .ending-kicker { margin-bottom: 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.place-plate .panel-head .scene-title { font-size: 24px; margin: 0; }
.place-plate .panel-head .bond-chip { margin-left: 8px; letter-spacing: 0.06em; text-transform: none; }
.place-plate .scene-loc-note { margin: 0 0 10px; }
/* the panel's lists run the panel's width (style.css caps .choices at 680px on the page) */
.place-plate .guide-topics, .place-plate .trainer-list { max-width: none; }

/* ---- rows with a glyph or a figure beside the key: kbd, mark, words, tag ------------------------ */
.place-plate .guide-topic { grid-template-columns: auto auto 1fr auto; }
.place-plate .guide-topic .ha-icon { margin-right: 0; display: inline-flex; }
.place-plate .trainer-row { grid-template-columns: auto auto 1fr auto; padding-top: 8px; padding-bottom: 8px; }
.place-plate .tr-fig { width: 32px; height: 42px; }
.place-plate .tr-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.place-plate .tr-stat { justify-self: end; }
.place-plate .mentor-meta { margin: 2px 0 14px; }

/* ---- the step-back at the foot of a list ----------------------------------------------------- */
.place-plate .panel-foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.place-plate .panel-foot .panel-count { font-size: 12px; letter-spacing: 0.05em; }
.place-plate .plate-back { display: inline-flex; align-items: center; gap: 2px; width: auto; min-height: 0; margin: 0; padding: 8px 14px; font-size: 14px; }
.place-plate .onward .plate-back { margin-top: 10px; }

/* ---- the madrasa: six subjects as one step strip across the head ------------------------------ */
.place-plate .curric-strip { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 0 20px; padding: 0; }
.place-plate .cs-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0 3px; text-align: center; }
/* one hairline through the discs, gold up to the subject you sit in */
.place-plate .cs-step::before { content: ""; position: absolute; top: 11px; left: 50%; right: -50%; height: 1px; background: rgba(217,184,102,0.28); }
.place-plate .cs-step:last-child::before { display: none; }
.place-plate .cs-step.done::before { background: var(--gold); }
.place-plate .cs-n { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 500 11px/1 var(--sans); color: var(--gold-dim); border: 1px solid rgba(217,184,102,0.45); background: #0d1316; }
.place-plate .cs-step.done .cs-n { color: #17120a; background: var(--gold); border-color: var(--gold); }
.place-plate .cs-step.now .cs-n { color: #f6e8bd; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,184,102,0.22); }
.place-plate .cs-name { font: 10.5px/1.3 var(--sans); letter-spacing: 0.03em; color: var(--ink-dim); max-width: 100%; }
.place-plate .cs-step.now .cs-name { color: var(--ink); }
.place-plate .cs-step.todo { opacity: 0.62; }
.place-plate .madrasa-status { margin: 0 0 14px; }
.place-plate .term-note, .place-plate .ring-note { font-size: 13.5px; }
/* a question in the hall: its kicker reads left, like the rest of the panel */
.place-plate .act-banner { text-align: left; margin-bottom: 10px; }
.place-plate .act-name::after { margin: 6px 0 0; }
.place-plate .quiz-q { font-size: 21px; }

/* ---- the perks: the offer as one row of cards, the first nine numbered ------------------------ */
.place-plate .perks-screen { max-width: none; margin: 0; }
.place-plate .perks-head { text-align: left; margin-bottom: 14px; }
.place-plate .perks-xpbar { margin: 6px 0; max-width: 320px; }
.place-plate .perk-grid { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; padding: 2px 0 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.place-plate .perk-card { flex: 0 0 236px; scroll-snap-align: start; position: relative; padding-right: 36px; }
.place-plate .perk-card kbd.hk { position: absolute; top: 10px; right: 10px; margin: 0; }
.place-plate .perk-card .perk-foot { padding-right: 0; }
.place-plate .perk-owned { font-size: 13.5px; }
.place-plate .perks-screen .center { text-align: left; }
.place-plate .perks-n { margin-left: 8px; color: var(--ink-faint); text-transform: none; letter-spacing: 0.04em; }

/* ---- within yourself ----------------------------------------------------------------------- */
.place-plate .scene.inward .ending-kicker { margin-bottom: 6px; }
.place-plate .scene.inward .scene-title { font-size: 22px; }
