/* Shared drill-down drawer + the look of a clickable figure (v11.666.0; see js/drill_drawer.js). */
[data-drill] { cursor: pointer; }
button[data-drill] { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: inherit; }
[data-drill]:hover { text-decoration: underline dotted; text-underline-offset: 3px; }
[data-drill]:focus-visible { outline: 2px solid var(--g-acc, #6366f1); outline-offset: 2px; border-radius: 4px; }
.dd-back { position: fixed; inset: 0; background: rgba(15,23,42,.35); z-index: 1290; display: none; } .dd-back.open { display: block; }
.dd-drawer { position: fixed; top: 0; right: 0; height: 100vh; width: min(820px, 100vw); background: #fff; color: #0f172a; z-index: 1300; box-shadow: -12px 0 40px rgba(15,23,42,.25);
    transform: translateX(105%); transition: transform .2s; display: flex; flex-direction: column; border-radius: 18px 0 0 18px; }
.dd-drawer.open { transform: none; }
.dd-h { padding: 14px 18px; border-bottom: 1px solid #e2e8f0; display: flex; gap: 10px; } .dd-h h4 { margin: 0; font-size: 1.05rem; font-weight: 700; flex: 1; }
.dd-h button { border: 0; background: none; font-size: 1.3rem; color: inherit; }
.dd-b { padding: 12px 18px; overflow: auto; flex: 1; } .dd-note { font-size: .8rem; color: #64748b; margin: 0 0 8px; }
.dd-tbl { width: 100%; border-collapse: collapse; font-size: .84rem; }
.dd-tbl th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #64748b; padding: 7px 8px; border-bottom: 2px solid #e2e8f0; position: sticky; top: 0; background: inherit; }
.dd-tbl td { padding: 7px 8px; border-bottom: 1px solid #f1f5f9; vertical-align: top; } .dd-none { color: #94a3b8; text-align: center; padding: 24px; }
body.dark-mode .dd-drawer { background: #0f172a; color: #e2e8f0; } body.dark-mode .dd-h, body.dark-mode .dd-tbl th { border-color: #334155; } body.dark-mode .dd-tbl td { border-color: #1f2937; }
body.dark-mode .dd-note, body.dark-mode .dd-tbl th { color: #94a3b8; } body.dark-mode .dd-drawer a { color: var(--g-acc-l, #a5b4fc); }
@media print { .dd-drawer, .dd-back { display: none !important; } }
.dd-next { background: none; border: 0; padding: 0; font: inherit; color: var(--g-acc-d, #4f46e5); cursor: pointer; text-align: left; font-weight: 600; } .dd-next:hover { text-decoration: underline; } .dd-next i { font-size: .7em; opacity: .7; }
.dd-backbtn[hidden] { display: none; }
body.dark-mode .dd-next { color: var(--g-acc-l, #a5b4fc); }

/* >>> glass-map — v11.1040.19, GLASS step 4: the hard-coded light / dark panels of this stylesheet mapped to the shared tokens (generated from the rules above). Light rules are `:where(body.theme-glass) …` and dark ones `body.dark-mode:where(.theme-glass) …`: ZERO added specificity, so a more specific semantic variant (.x.bad, .x.on) keeps winning over the base panel; Classic is untouched. */
:where(body.theme-glass) .dd-drawer { background-color: var(--gl-fill-strong); color: var(--gl-fg); }
:where(body.theme-glass) .dd-h { border-bottom-color: var(--gl-line); }
:where(body.theme-glass) .dd-note { color: var(--gl-fg2); }
:where(body.theme-glass) .dd-tbl th { color: var(--gl-fg2); border-bottom-color: var(--gl-line); }
:where(body.theme-glass) .dd-tbl td { border-bottom-color: var(--gl-line); }
:where(body.theme-glass) .dd-none { color: var(--gl-fg3); }
body.dark-mode:where(.theme-glass) .dd-drawer { background-color: var(--gl-fill-strong); color: var(--gl-fg); }
body.dark-mode:where(.theme-glass) .dd-h, body.dark-mode:where(.theme-glass) .dd-tbl th { border-color: var(--gl-line); }
body.dark-mode:where(.theme-glass) .dd-tbl td { border-color: var(--gl-line); }
body.dark-mode:where(.theme-glass) .dd-note, body.dark-mode:where(.theme-glass) .dd-tbl th { color: var(--gl-fg2); }
/* <<< glass-map */
