/* ABC content only. Shared exam shell/controls remain owned by oa_shared. */
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) [hidden] { display:none !important; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .aabc-workspace { flex:1; width:min(100%,900px); box-sizing:border-box; margin:0 auto; padding:18px 16px 24px; gap:14px; }
.aabc-workspace h2 { font-family:inherit; font-size:clamp(18px,1.65vw,24px); line-height:1.45; font-weight:500; text-align:center; margin:0; }
.aabc-workspace form { width:100%; min-width:0; }
.aabc-layout { display:grid; grid-template-columns:minmax(180px,240px) minmax(0,1fr); align-items:start; gap:28px; margin:18px auto 0; max-width:760px; }
.aabc-grid { border-collapse:collapse; width:100%; background:var(--oa-paper); font-size:15px; text-align:center; font-variant-numeric:tabular-nums; }
.aabc-grid caption { padding:0 0 8px; color:var(--oa-muted); font-size:12px; text-align:left; }
.aabc-grid th,.aabc-grid td { padding:5px 10px; border:1px solid var(--oa-line); line-height:1.3; }
.aabc-grid thead th { background:var(--oa-surface); font-size:11px; font-weight:500; }
.aabc-grid tbody th { width:34%; font-size:12px; font-weight:500; color:var(--oa-muted); }
.aabc-grid td { font-weight:600; }
.aabc-grid tr[data-ineligible] { background:#f3f5f9; }
.aabc-grid tr[data-ineligible] td { color:#657087; }
.aabc-grid small { font-size:10px; font-weight:400; }
.aabc-rule { font-size:14px; line-height:1.65; margin:0 0 14px; color:var(--oa-muted); }
.aabc-rule p { margin:0 0 8px; }
.aabc-choice-copy { display:flex; align-items:center; justify-content:space-between; gap:10px; flex:1; min-width:0; }
.aabc-choice-positions { font-size:12px; line-height:1.5; color:var(--oa-muted); font-weight:400; text-align:right; }
.aabc-support { font-size:14px; line-height:1.55; margin:0 0 12px; overflow-wrap:anywhere; }
.aabc-update { font-size:13px; line-height:1.6; border-left:3px solid var(--oa-accent); padding:4px 0 4px 12px; margin:0 0 14px; }
.aabc-choices { display:grid; grid-template-columns:1fr; gap:10px; }
.aabc-choices .oa-exam-answer { text-align:left; display:flex; align-items:center; gap:14px; min-height:54px; }
.aabc-choice-number { color:var(--oa-muted); font-size:12px; width:16px; flex-shrink:0; }
.aabc-actions { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px; margin-top:16px; }
.aabc-clear { min-height:44px; border:0; background:transparent; color:#485b78; font:inherit; font-size:13px; cursor:pointer; }
.aabc-clear:disabled { opacity:.5; }
.aabc-notice { min-height:1.5em; color:#8b3346; text-align:center; font-size:13px; margin:8px 0 0; }
.aabc-workspace .oa-exam-keyboard { margin:12px 0 0; text-align:center; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) button { touch-action:manipulation; }
@media(max-width:620px) {
 :is(.aabc-app, [data-oa-funnel="akuna_abc"]) .aabc-workspace { padding:10px 4px 16px; }
 .aabc-layout { grid-template-columns:minmax(0,1fr); gap:18px; max-width:440px; }
 .aabc-grid { max-width:280px; margin:auto; }
 .aabc-grid th,.aabc-grid td { padding:4px 10px; }
 .aabc-choices .oa-exam-answer { min-height:54px; }
}
@media(prefers-reduced-motion:reduce) { :is(.aabc-app, [data-oa-funnel="akuna_abc"]) * { scroll-behavior:auto !important; } }
/* Pinned Orderbooks shell details, scoped to this assessment. */
.oa-app:is(.aabc-app, [data-oa-funnel="akuna_abc"]) { min-height:calc(100dvh - var(--oa-header-height,78px)); }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .oa-scoring .aabc-purple { color:#8b35d1; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .oa-scoring .aabc-amber { color:#b96800; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .oa-scoring .aabc-green { color:#078958; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .aabc-exam { background:transparent; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .oa-information-benchmarks { width:100%; max-width:none; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .oa-table-scroll { overflow-x:auto; max-width:100%; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .oa-previous-metrics > span { white-space:nowrap; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) [data-aabc-results] { width:100%; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .aabc-exam:has([data-aabc-starting]:not([hidden])) .aabc-workspace,
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .aabc-exam:has([data-aabc-starting]:not([hidden])) footer { visibility:hidden; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]).oa-results-preparing .aabc-workspace,
:is(.aabc-app, [data-oa-funnel="akuna_abc"]).oa-results-preparing .oa-exam-bottom { visibility:hidden; }
:is(.aabc-app, [data-oa-funnel="akuna_abc"]) .aabc-review-grid { display:grid; grid-template-columns:minmax(170px,240px) minmax(0,1fr); gap:18px; align-items:start; }
@media(max-width:720px) { :is(.aabc-app, [data-oa-funnel="akuna_abc"]) .aabc-review-grid { grid-template-columns:minmax(0,1fr); } :is(.aabc-app, [data-oa-funnel="akuna_abc"]) .aabc-review-grid .aabc-grid { max-width:280px; } }

/* Rules stay available without taking space beside the answer choices. */
.aabc-question-heading { position:relative; display:flex; align-items:flex-start; justify-content:center; gap:10px; width:100%; z-index:2; }
.aabc-question-heading h2 { padding-block:3px; }
.aabc-help { flex:0 0 32px; }
.aabc-help-button { display:grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid #9aabd0; border-radius:50%; background:#fff; color:#526b9a; font:500 19px/1 Georgia,serif; cursor:help; }
.aabc-help-button:hover,.aabc-help-button[aria-expanded="true"] { border-color:var(--oa-accent); color:var(--oa-accent); }
.aabc-help-panel { position:absolute; top:100%; right:0; width:min(420px,100%); max-height:min(440px,60dvh); overflow-y:auto; box-sizing:border-box; padding:18px; border:1px solid var(--oa-line); border-radius:12px; background:#fff; box-shadow:0 10px 32px #20304724; color:var(--oa-ink); text-align:left; }
.aabc-help-panel .aabc-rule,.aabc-help-panel .aabc-rule p:last-child { margin-bottom:0; }

/* Fit the complete desktop attempt below the navigation, including both exit controls. */
@media (min-width:900px) {
 .aabc-app .aabc-exam { padding:12px 24px; gap:10px; }
 .aabc-app .aabc-workspace { padding:0 16px; gap:8px; }
 .aabc-app .aabc-layout { margin-top:8px; }
 .aabc-app .aabc-grid th,.aabc-app .aabc-grid td { padding:2px 10px; line-height:1.2; }
 .aabc-app .aabc-grid { font-size:14px; }
 .aabc-app .aabc-grid caption { padding:4px 0 0; }
 .aabc-app .aabc-actions { margin-top:6px; }
 .aabc-app .aabc-notice:empty { display:none; }
 .aabc-app .oa-exam-bottom { gap:6px; padding:0; }
 .aabc-app.oa-standard .oa-exam-header h1 { font-size:24px; margin-bottom:6px; }
 .aabc-app .oa-exam-count { margin-bottom:6px; }
 .aabc-app .oa-exam-timer { margin:6px 0 0; }
 .aabc-app .aabc-choices { gap:8px; }
 .aabc-app .aabc-choices .oa-exam-answer { min-height:48px; padding:8px 14px; }
 .aabc-app .aabc-workspace .oa-exam-keyboard { margin-top:6px; }
}
@media (min-width:900px) and (max-height:820px) {
 .aabc-app .aabc-exam { padding-block:8px; gap:6px; }
 .aabc-app.oa-standard .oa-exam-header h1 { font-size:20px; line-height:1.1; }
 .aabc-app .aabc-grid th,.aabc-app .aabc-grid td { padding:1px 10px; line-height:1.1; }
 .aabc-app .aabc-question-heading h2 { font-size:20px; }
 .aabc-app .oa-exam-action { min-height:40px; padding:8px 16px; }
}
