/* Shared interaction contracts; each brand retains its own visual identity. */
body.workspace-active :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--accent);outline-offset:4px}
body.workspace-active .top :is(button,a):focus-visible{outline-color:var(--gold)}
body.workspace-active input,body.workspace-active select,body.workspace-active textarea{font-size:16px}
body.workspace-active .quiz-shell{max-width:860px;padding:clamp(12px,2vw,28px) 0}
body.workspace-active .quiz-top{align-items:flex-start;gap:20px}
body.workspace-active .quiz-top h2{font-size:clamp(21px,2.2vw,30px);line-height:1.5;overflow-wrap:anywhere}
body.workspace-active .quiz-card{padding:clamp(20px,3vw,40px);border-radius:18px;box-shadow:0 8px 28px #15122605}
body.workspace-active .quiz-card h2{font-size:clamp(18px,1.7vw,23px);line-height:1.7;margin:12px 0 24px;letter-spacing:normal}
body.workspace-active .choices{gap:12px;margin:18px 0}
body.workspace-active .choice{align-items:flex-start;min-height:56px;padding:18px 20px;font-size:16px;position:relative;border-radius:12px}
body.workspace-active .choice.selected{padding:17px 19px}
body.workspace-active .choice>span:first-child{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--soft);line-height:1}
body.workspace-active .choice.correct>span:first-child{background:#dcefe3;color:#17583b}
body.workspace-active .choice.wrong>span:first-child{background:#f6dfe2;color:#81252f}
body.workspace-active .answer-label{display:block;margin-top:8px;font-size:13px;font-weight:600}
body.workspace-active .feedback{padding:22px;border-left:3px solid var(--good);background:#f0f7f2;border-radius:0 12px 12px 0}
body.workspace-active .feedback.failed{background:#faf4f1;border-left-color:#a86436}
body.workspace-active .feedback p{max-width:none;font-size:16px;line-height:1.85}
body.workspace-active .feedback blockquote{border:0;border-top:1px solid var(--line);padding:16px 0 0;margin:18px 0 0;font-size:14px;line-height:1.85;white-space:pre-line}
body.workspace-active .quiz-identity{font-size:13px;color:var(--muted);border:0;padding:0 0 12px;background:none}
body.workspace-active .quiz-progress-label{font-size:13px;color:var(--muted);margin:10px 0}
body.workspace-active .quiz-time-note{font-size:13px;color:var(--muted);margin-top:18px}
body.workspace-active .connection-state{padding:18px 20px;border:1px solid #c49c60;border-radius:12px;margin:18px 0;background:#fcf7ec;color:#624719}
body.workspace-active .connection-state:empty{display:none}
body.workspace-active .connection-state button{margin-top:10px}
body.workspace-active .catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-6px 0 20px;min-height:32px}
body.workspace-active .catalog-toolbar p{font-size:13px;color:var(--muted)}
body.workspace-active .empty-state{padding:36px 24px;border:1px solid var(--line);border-radius:16px;background:var(--card);text-align:left}
body.workspace-active .empty-state h3{font-size:21px;margin-bottom:10px}
body.workspace-active .empty-state p{max-width:none;color:var(--muted)}
body.workspace-active .empty-state .actions{margin-top:18px}
body.workspace-active .case-controls{margin:24px 0;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px}
body.workspace-active .case-controls label{display:grid;gap:8px;font-size:13px;font-weight:600}
body.workspace-active .case-controls :is(input,select){min-width:0;width:100%;height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}
body.workspace-active .case-grid{gap:24px}
body.workspace-active .case-grid .case-tile{box-shadow:none;border:1px solid var(--line);border-radius:16px;overflow:hidden}
body.workspace-active .case-open{font-weight:600}
body.workspace-active .case-archive .case-grid{display:grid;grid-template-columns:1fr}
body.workspace-active .case-archive .case-tile{display:grid;grid-template-columns:150px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:20px 0}
body.workspace-active .case-archive .case-cover{grid-area:1/1/3;width:150px;height:112px;border-radius:10px}
body.workspace-active .case-archive .case-meeting{grid-area:1/2;padding:0 0 4px 24px;background:none;font-size:13px}
body.workspace-active .case-archive .case-description{grid-area:2/2;padding:0 0 0 24px}
body.workspace-active .case-archive .case-description h3{font-size:20px;margin:4px 0 8px}
body.workspace-active .case-archive .case-description p{font-size:14px}
body.workspace-active .case-archive .case-description .eyebrow{font-size:11px}
body.workspace-active .case-table{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;margin:28px 0}
body.workspace-active .case-table:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
body.workspace-active .workspace-main .native-document .case-table table{display:table;margin:0!important;min-width:580px;max-width:none;overflow:visible}
body.workspace-active .legacy-result{font-size:13px;line-height:1.7;padding:10px 14px;background:var(--soft);border-radius:8px;margin-top:12px}
body.workspace-active dialog{padding:clamp(22px,4vw,40px);border-radius:18px;scrollbar-gutter:stable;max-height:calc(100dvh - 32px)}
body.workspace-active dialog .close{width:44px;height:44px;display:grid;place-items:center;line-height:1;top:8px;right:8px;padding:0;border-radius:50%;font-size:24px}
body.workspace-active #modal-body>h2{padding-right:30px;margin-bottom:14px;line-height:1.5;font-size:clamp(21px,2.3vw,29px)}
body.workspace-active .video-confirmations{border:1px solid var(--line);border-radius:12px;padding:18px;margin:24px 0}
body.workspace-active .video-confirmations legend{padding:0 8px;font-weight:600;font-size:14px}
body.workspace-active .video-confirmations label{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:12px 0;line-height:1.7;font-size:15px}
body.workspace-active .video-confirmations input{flex:0 0 20px;width:20px;height:20px;margin:4px 0 0;accent-color:var(--accent)}
body.workspace-active .video-confirmations p{font-size:13px;color:var(--muted);margin-bottom:8px}
body.workspace-active .quiz-card [role=radiogroup]{border:0}
@media(max-width:768px){body.workspace-active .case-controls{grid-template-columns:1fr}body.workspace-active .quiz-shell{padding:0}body.workspace-active .quiz-top{gap:12px}body.workspace-active .quiz-top .timer{font-size:21px}body.workspace-active .quiz-card{padding:22px 18px}body.workspace-active .choice{padding:16px 14px;font-size:16px}body.workspace-active .choice.selected{padding:15px 13px}body.workspace-active .choice>span:first-child{flex-basis:26px;width:26px;height:26px}body.workspace-active .feedback{padding:18px}body.workspace-active .catalog-toolbar{align-items:flex-start}body.workspace-active .catalog-toolbar button{flex-shrink:0}body.workspace-active .case-archive .case-tile{grid-template-columns:86px minmax(0,1fr)}body.workspace-active .case-archive .case-cover{width:86px;height:86px}body.workspace-active .case-archive .case-description,body.workspace-active .case-archive .case-meeting{padding-left:16px}body.workspace-active .case-archive .case-description h3{font-size:17px}body.workspace-active .case-archive .case-description p{display:none}body.workspace-active .quiz-top h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){body.workspace-active *,body.workspace-active *::before,body.workspace-active *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

body.workspace-active [hidden]{display:none!important}
body.workspace-active .workspace-main .testing-help{margin:12px 0 20px}
body.workspace-active .workspace-main .testing-help>summary{min-height:44px;padding:8px 0;line-height:1.65}
body.workspace-active .workspace-main .filters{margin:0 0 14px}
body.workspace-active .workspace-main .reading-intro .lead{max-width:none;line-height:1.8}
body.workspace-active .catalog-toolbar{margin:0 0 18px}
@media(max-width:768px){body.workspace-active .workspace-main .reading-intro{margin-bottom:16px}body.workspace-active .workspace-main .reading-intro h2{margin-bottom:12px}body.workspace-active .workspace-main .testing-help{margin:4px 0 18px}body.workspace-active .case-table table{font-size:14px}}

body.workspace-active .test-retry-rules{margin:16px 0;color:var(--muted);font-size:14px}body.workspace-active .test-retry-rules summary{cursor:pointer;padding:8px 0;min-height:44px;font-weight:600;color:var(--ink)}
