/* explorables.css — the shared explorable KIT (loaded site-wide).

   This is the reusable shell every interactive demo sits in: the bordered,
   corner-ticked panel, its kicker/title header, legend, controls and notes.
   Widget-specific styling (the diagrams themselves) ships with each post, in
   the post's own CSS file. */

.exp {
  position: relative; border: 1px solid var(--line-strong); background: var(--bg-elev);
  padding: clamp(20px, 3vw, 32px); margin: 8px 0;
}
.exp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.exp-kick { margin-bottom: 8px; }
.exp-title { font-family: var(--font-sans); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.01em; }
.exp-legend { display: flex; gap: 14px; flex-wrap: wrap; }
.exp-legend span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sw { width: 11px; height: 11px; display: inline-block; }

.exp-body { } /* hook for per-widget layouts */
.exp-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.exp-controls .btn:disabled { opacity: .4; cursor: not-allowed; }
.exp-flag { margin-top: 12px; font-size: 11px; }
.exp-note { color: var(--ink-dim); font-size: 14.5px; line-height: 1.55; margin: 0; }
.exp-note strong { color: var(--ink); }
.dim { color: var(--ink-faint) !important; }
