.am-root.gatecs-root{--am-accent:#1d6466;--am-accent-soft:#e3f0ef}.am-root.gatecs-root [data-pass-card]{--pc-blue:var(--am-accent);--pc-blue-edge:#6e3a1a}.gatecs-passage{background:var(--am-surface);border:1px solid var(--am-hair);border-left:3px solid var(--am-accent);border-radius:var(--am-radius);margin:0 0 12px;padding:16px 18px}.gatecs-passage h3{color:var(--am-muted);margin:0 0 8px;font-size:14px;font-weight:600}.gatecs-passage p{color:var(--am-ink);white-space:pre-line;margin:0 0 10px;font-size:16px;line-height:1.6}.gatecs-passage p:last-child{margin-bottom:0}.gatecs-figure{max-width:640px;margin:4px 0 14px}.gatecs-stem{color:var(--am-ink);margin:0 0 14px;font-size:17px;line-height:1.55}.gatecs-options{gap:8px;display:grid}.gatecs-options .gr-option{text-align:left;justify-content:flex-start}.gatecs-how{color:var(--am-ink);margin:0 0 10px;font-size:15px;font-weight:600}.gatecs-format{color:var(--am-muted);font-size:13px}.gatecs-options .gatecs-box{border-radius:4px;font-size:15px}.gatecs-options .gatecs-multi[aria-checked=true] .gatecs-box{background:var(--am-accent);color:#fff;border-color:var(--am-accent)}.gatecs-number{gap:6px;max-width:280px;display:grid}.gatecs-number label{font-size:15px;font-weight:600}.gatecs-number input{min-height:48px;font:inherit;font-variant-numeric:tabular-nums;border:2px solid var(--am-line);background:var(--am-surface);color:var(--am-ink);border-radius:12px;padding:10px 14px;font-size:18px}.gatecs-number input:focus-visible{outline:3px solid var(--am-accent-soft);border-color:var(--am-accent)}.gatecs-number input[data-state=right]{border-color:var(--correct,#2f5be8);background:var(--correct-tint,#e7edff)}.gatecs-number input[data-state=wrong]{border-color:var(--wrong,#d2352b);background:var(--wrong-tint,#fdebe9)}.gatecs-card{gap:10px;display:grid}.gatecs-card,.gatecs-group,.gatecs-options{grid-template-columns:minmax(0,1fr)}.gatecs-item,.gatecs-stem,.gatecs-card>*{min-width:0}.gatecs-stem .lx-code,.gr-option .lx-code{max-width:100%;overflow-x:auto}.gatecs-check{margin:0}.gatecs-group{gap:14px;display:grid}.gatecs-group+.gatecs-group{margin-top:28px}.gatecs-run{max-width:820px}.gatecs-strip{flex-wrap:wrap;gap:6px;margin:0 0 16px;display:flex}.gatecs-chip{width:36px;height:36px;font:inherit;border:1px solid var(--am-line);background:var(--am-surface);color:var(--am-ink);cursor:pointer;border-radius:8px;font-size:13px;font-weight:600}.gatecs-chip[data-done=true]{background:var(--am-accent-soft);border-color:var(--am-accent)}.gatecs-chip[data-flag=true]{box-shadow:inset 0 -3px 0 var(--retry-solid,#c47a00)}.gatecs-chip[aria-current=step]{outline:2px solid var(--am-accent);outline-offset:1px}.gatecs-flag{min-height:36px;font:inherit;border:1px solid var(--am-line);background:var(--am-surface);color:var(--am-ink);cursor:pointer;border-radius:999px;padding:4px 12px;font-size:13px;font-weight:600}.gatecs-flag[aria-pressed=true]{border-color:var(--retry-solid,#c47a00);background:var(--retry-tint,#fff4dc)}.gatecs-run-actions{justify-content:space-between}.gatecs-run .gr-item-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.gatecs-weak{border-radius:var(--am-radius);background:var(--am-accent-soft);margin:26px 0;padding:20px}.gatecs-weak h2{margin:0 0 6px;font-size:22px}.gatecs-weak p{margin:0 0 14px;line-height:1.55}.gatecs-sections{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.gatecs-section{border:1px solid var(--am-hair);border-radius:var(--am-radius);background:var(--am-surface);padding:18px}.gatecs-section h3{margin:0 0 4px;font-size:18px}.gatecs-section p{color:var(--am-ink);margin:0;font-size:15px;line-height:1.5}.gatecs-section .gatecs-pace{color:var(--am-muted);margin-top:10px;font-size:14px}@media (max-width:1080px){.gatecs-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:520px){.gatecs-sections{grid-template-columns:1fr}.gatecs-chip{width:32px;height:32px}}.gatecs-rule{border-radius:var(--am-radius);background:var(--am-accent-soft);color:var(--am-ink);max-width:780px;margin:0 0 18px;padding:14px 16px;line-height:1.55}.gatecs-root .gr-unit-links{white-space:normal}.gatecs-root .gr-unit-links a{text-align:right}@media (max-width:640px){.gatecs-root .gr-unit-links{flex-wrap:wrap;gap:8px 14px}.gatecs-root .gr-unit-links a{text-align:left}}.gatecs-compare-wrap{max-width:880px;margin-top:18px}.gatecs-compare{border-collapse:separate;border-spacing:0;border:1px solid var(--am-hair);border-radius:var(--am-radius);background:var(--am-surface);width:100%;font-size:15px;line-height:1.5;overflow:hidden}.gatecs-compare caption{caption-side:top;text-align:left;color:var(--am-ink);padding:0 0 10px;font-size:17px;font-weight:600}.gatecs-compare th,.gatecs-compare td{text-align:left;border-bottom:1px solid var(--am-hair);vertical-align:top;padding:11px 12px}.gatecs-compare thead th{color:var(--am-ink);background:var(--am-accent-soft);font-size:14px;font-weight:600}.gatecs-compare tbody th{color:var(--am-ink);background:var(--am-bg);width:30%;font-weight:600}.gatecs-compare tbody tr:last-child th,.gatecs-compare tbody tr:last-child td{border-bottom:0}.gatecs-early{margin-top:16px}.gatecs-related{margin:16px 0 0;padding-left:20px;line-height:1.8}@media (max-width:640px){.gatecs-compare,.gatecs-compare tbody,.gatecs-compare tr,.gatecs-compare th,.gatecs-compare td{width:auto;display:block}.gatecs-compare{background:0 0;border:0;overflow:visible}.gatecs-compare tbody{border:1px solid var(--am-hair);border-radius:var(--am-radius);background:var(--am-surface);overflow:hidden}.gatecs-compare thead{display:none}.gatecs-compare caption{display:block}.gatecs-compare tbody th{background:var(--am-bg);width:auto;padding-bottom:8px}.gatecs-compare tbody tr{border-bottom:1px solid var(--am-hair)}.gatecs-compare tbody tr:last-child,.gatecs-compare tbody th{border-bottom:0}.gatecs-compare td{border-bottom:0;padding-top:8px;padding-bottom:4px}.gatecs-compare td:last-child{padding-bottom:14px}.gatecs-compare td:before{content:attr(data-label);color:var(--am-accent);font-size:13px;font-weight:600;display:block}}.gatecs-test-head{color:var(--am-accent);margin:26px 0 0;font-size:15px;font-weight:600}.gatecs-test-head+.gatecs-sections{margin-top:10px}.gatecs-syllabus-note{color:var(--am-muted,#555);margin-top:16px}.gatecs-areas tr[data-weak=true] th,.gatecs-areas tr[data-weak=true] td{font-weight:700}.gatecs-taxline{text-align:center;color:var(--am-muted,#5b6170);margin:0;padding:10px 16px 24px;font-size:13px;line-height:1.5}
