/* Open questions (open.js): the questions stay on the left, one expansion at a
   time on the right. */

#mc-open { --oq1: var(--accent); --oq2: #3A6EA5; --oq-a: #9B6BBE; }
:root[data-theme="dark"] #mc-open { --oq2: #8CA3D0; --oq-a: #C49BD6; }

/* the questions */
.oq-list { position: absolute; left: 130px; top: 230px; width: 560px; margin: 0; padding: 0; list-style: none; counter-reset: oq; }
.oq-q { counter-increment: oq; font-size: 40px; line-height: 1.2; margin-bottom: 48px; padding-left: 62px; position: relative;
        opacity: 0; transform: translateY(10px); transition: opacity 0.6s, transform 0.6s, color 0.6s; color: var(--muted); }
.oq-q::before { content: counter(oq, lower-roman) "."; position: absolute; left: 0; color: var(--accent); }
#mc-open .oq-q1, #mc-open.oq-on2 .oq-q2, #mc-open.oq-on4 .oq-q3, #mc-open.oq-on6 .oq-q4 { opacity: 1; transform: none; }
/* the question being discussed in ink, the others muted */
#mc-open:not(.oq-on2) .oq-q1, #mc-open.oq-on2:not(.oq-on4) .oq-q2, #mc-open.oq-on4:not(.oq-on6) .oq-q3, #mc-open.oq-on6 .oq-q4 { color: var(--ink); }

/* the expansions */
.oq-x { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.6s; }
#mc-open.oq-x1on .oq-x1, #mc-open.oq-x2on .oq-x2, #mc-open.oq-x3on .oq-x3, #mc-open.oq-x4on .oq-x4, #mc-open.oq-x5on .oq-x5 { opacity: 1; pointer-events: auto; }
.oq-x svg { position: absolute; inset: 0; width: 1920px; height: 1080px; }
.oq-cite { position: absolute; left: 780px; top: 930px; width: 1060px; font-size: 21px; }

/* Q1: two light rings */
.oq-lr { position: absolute; }
.oq-hole { fill: var(--ink); }
.oq-ring { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 6 8; }
.oq-blob1 { fill: var(--oq1); filter: drop-shadow(0 0 8px var(--oq1)); } .oq-blob2 { fill: var(--oq2); filter: drop-shadow(0 0 8px var(--oq2)); }
.oq-plab { fill: var(--muted); font: italic 28px ETbb, Georgia, serif; text-anchor: middle; }
.oq-eqs { position: absolute; left: 820px; top: 735px; width: 1060px; }
.oq-eq { font-size: 34px; margin-bottom: 18px; }
.oq-e1 { color: var(--oq1); } .oq-e2 { color: var(--oq2); }
.oq-R { display: inline-block; padding: 0 12px 4px; border-radius: 10px; color: var(--ink);
        background: color-mix(in srgb, var(--oq2) 18%, transparent); box-shadow: 0 0 0 2.5px var(--oq2); }

/* Q2 and Q3: jry frames */
.oq-box { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.oq-tk { stroke: var(--ink); stroke-width: 2; }
.oq-num { fill: var(--ink); font: 24px ETbb, Georgia, serif; font-variant-numeric: lining-nums; text-anchor: middle; }
.oq-end { text-anchor: end; }
.oq-lab { fill: var(--ink); font: italic 28px ETbb, Georgia, serif; text-anchor: middle; }
.oq-data { fill: var(--muted); opacity: 0.55; }
.oq-floor { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 10 8; }
.oq-res { fill: none; stroke: var(--oq1); stroke-width: 3; stroke-linejoin: round; }
.oq-t0 { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 6; }
.oq-small { fill: var(--muted); font: 22px ETbb, Georgia, serif; }

/* the ladder table */
.oq-row text { font: 24px ETbb, Georgia, serif; fill: var(--muted); transition: fill 0.3s; font-variant-numeric: lining-nums tabular-nums; }
.oq-row.on text { fill: var(--ink); }
.oq-row.cur text { font-weight: 600; }
.oq-row.warn .oq-a221 { fill: var(--accent); font-weight: 600; }
.oq-row { opacity: 0; transition: opacity 0.4s; }
.oq-row.on { opacity: 1; }
.oq-head { font: italic 24px ETbb, Georgia, serif; fill: var(--muted); }

/* Q3 */
.oq-pdf { stroke-width: 2.5; }
.oq-p0 { fill: color-mix(in srgb, var(--oq-a) 25%, transparent); stroke: var(--oq-a); }
.oq-p1 { fill: color-mix(in srgb, var(--oq2) 35%, transparent); stroke: var(--oq2); }
.oq-gr { stroke: var(--ink); stroke-width: 3; }
.oq-grlab { fill: var(--ink); font: 26px ETbb, Georgia, serif; }
.oq-plabel { font: 26px ETbb, Georgia, serif; }
.oq-free { position: absolute; left: 1000px; top: 190px; font-size: 32px; }
.oq-x3 .oq-cite { left: 1000px; width: 840px; }

/* Q4: near-extremal ladders */
.oq-eqs4 { top: 705px; }
.oq-zd1 { fill: var(--oq2); } .oq-zd2 { fill: var(--oq1); }
.oq-sum { stroke: var(--oq-a); stroke-width: 4; stroke-linecap: round; }
.oq-axis { stroke: var(--ink); stroke-width: 2; }
.oq-albl { fill: var(--muted); font: 24px ETbb, Georgia, serif; font-variant-numeric: lining-nums; }
.oq-lad { font: 26px ETbb, Georgia, serif; text-anchor: middle; }
.oq-lad1 { fill: var(--oq2); } .oq-lad2 { fill: var(--oq1); } .oq-lad3 { fill: var(--oq-a); }

/* Q4b: our Kerr-Newman couplings */
.oq-kn1 { position: absolute; left: 820px; top: 745px; width: 1060px; text-align: center; font-size: 34px; }
.oq-kn2 { position: absolute; left: 820px; top: 800px; width: 1060px; text-align: center; font-size: 28px; color: var(--muted); }
.oq-kfr { fill: none; stroke: var(--ink); stroke-width: 2; }
.oq-ktk { stroke: var(--ink); stroke-width: 1.5; }
.oq-kgrid { stroke: var(--hair); stroke-width: 1; }
.oq-kl { fill: none; stroke-width: 3.5; stroke-linejoin: round; }
.oq-kbad { fill: none; stroke: var(--muted); stroke-width: 2; }
.oq-kfail { stroke: var(--oq-a); stroke-width: 2; stroke-dasharray: 8 7; }
.oq-ktx { font: 26px ETbb, Georgia, serif; fill: var(--ink); font-variant-numeric: lining-nums; }
.oq-ktx.oq-mut { fill: var(--muted); font-style: italic; }
