/* The Bundle — presentation (bundle-08-20261030).
   These rules lived in a <style> element the module injected at runtime;
   the estate CSP style-src is hash-based, so the browser refused that
   sheet and every Bundle control rendered unstyled from the day the
   Bundle shipped. They now ship as a real same-origin stylesheet
   (style-src 'self'), loaded by the module with a version stamp.
   Canon form: dark ground, hairline coral border rgba(239,103,77,.24),
   coral #EF674D active, 14px control gaps, 48px targets.
   Rule set matches the surviving markup (the Studio controls and
   toggle, and the record classes the Bundle page's catalog renders
   with); the removed download rows and delivery viewer carry no
   styles here. The retired panel's rules were removed with the
   panel in bundle-11: the Bundle's home is its own page. */

/* The module mounts its controls inside the page's section head, a flex
   row built for an index number and a headline. The controls take their
   own full-width row under the head at every width, so the headline is
   never crushed beside them. */
.st-sec-head{flex-wrap:wrap}
#bundle{scroll-margin-top:20px;flex:1 1 100%;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
#bundle>div:empty{display:none}
#bundle .kbNote{max-width:60ch;margin:0}

.kbRec{border:1px solid rgba(242,237,228,.16);border-radius:12px;padding:14px 14px 10px;margin:0 0 12px}
.kbRec h3{margin:0 0 2px;font-size:17px;color:#F2EDE4}
.kbMeta{font-size:12.5px;opacity:.7;margin:0 0 8px}
.kbGate{font-size:13.5px;line-height:1.5;margin:0 0 8px}
.kbGate b{color:#EF674D}
.kbNote{font-size:12.5px;opacity:.7;line-height:1.5;margin:8px 0 2px}
.kbBtn{display:inline-block;text-decoration:none;background:#EF674D;color:#141311;border:0;border-radius:999px;padding:12px 22px;font-size:15px;font-weight:700;cursor:pointer;min-height:48px;font-family:inherit}
.kbToggle{display:inline-flex;background:#141311;border:1px solid rgba(239,103,77,.24);border-radius:999px;padding:3px;gap:3px;margin:0}
.kbToggle button{background:transparent;border:0;border-radius:999px;padding:10px 18px;font-size:14px;font-weight:600;cursor:pointer;min-height:48px;color:#F2EDE4;font-family:inherit}
.kbToggle button.on{background:#EF674D;color:#141311}
/* bundle-09 (2026-10-30): the delivery-state note reads inline in the
   section only while Delivery body is selected; hidden otherwise. The
   explicit rule guards the hidden state against any display rule the
   note's classes may gain later. */
#bundle .kbDelivNote[hidden]{display:none}

/* Delivery presentation (bundle-10, founder ruling 2026-10-30 22:26 EDT):
   while Delivery body is selected (body.kx-deliv, set by the module's
   toggle), the Studio stage presents clean — the bench readouts and
   overlays leave the stage, the frame's warm glow recedes, and the
   figure stands alone on the delivery backdrop #151714 (RGB 21, 23, 20),
   the ground #mstage already paints. The stage body stays the working
   (Body Atlas) body; the heat read itself is switched off in the page's
   own draw (the M.present flag) — these rules move only the DOM
   presentation around the canvas. Working body restores every rule
   below by removing the class, so the bench returns exactly. */
body.kx-deliv .st-stage-frame{background:#151714;box-shadow:none}
body.kx-deliv #stTags{display:none}
body.kx-deliv .kxzoom{display:none}
body.kx-deliv #mstats{display:none}
body.kx-deliv #stFocus{display:none}
body.kx-deliv .st-controls .st-hint{display:none}
body.kx-deliv .st-stage-frame + .st-hint{display:none}
