.psy-s .psy-local-notice,.psy-public .psy-local-notice{padding:16px 20px;margin:18px 0;border:1px solid #cad8e3;border-radius:12px;background:#edf4f9;color:#29485f;font-size:.85rem;line-height:1.65;overflow-wrap:anywhere}
.psy-s .psy-local-notice h1,.psy-s .psy-local-notice h2{font-size:1.2rem;margin:0 0 10px}.psy-s .psy-local-notice p+p,.psy-public .psy-local-notice p+p{margin-top:10px}.psy-s .psy-local-notice a,.psy-public .psy-local-notice a{font-weight:650;text-decoration:underline;text-underline-offset:3px}.psy-s .psy-local-notice[role="alert"]{border-color:#e2be87;background:#fff6e8;color:#75511e}
.psy-s .psy-local-notice summary{min-height:32px;padding:4px 0;font-weight:600}.psy-s .psy-local-notice details[open]>p{margin-top:8px}
.psy-local-history-list{display:grid;gap:16px;margin:24px 0}.psy-local-history-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 20px;min-width:0}.psy-local-history-item>h2,.psy-local-history-item>h3,.psy-local-history-item>p{grid-column:1}.psy-local-history-item>div{min-width:0}.psy-local-history-item h2,.psy-local-history-item h3{font-size:1.05rem;overflow-wrap:anywhere}.psy-local-history-meta{display:flex;gap:8px 16px;flex-wrap:wrap;color:var(--psy-muted,#62758a);font-size:.8rem;margin-top:0}.psy-local-history-actions{grid-column:2;grid-row:1/span 4;display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex-shrink:0}.psy-local-history-actions .psy-s-button{font-size:.8rem}
.psy-s .psy-local-danger{border-color:#cb8e8b;color:#8a2926!important;background:#fff}.psy-s .psy-local-danger:hover{border-color:#963f3b;background:#fff2f0}.psy-local-graphic{display:grid;gap:14px;max-width:100%;margin:22px 0}.psy-local-graphic img{display:block;max-width:100%;height:auto;margin:auto}.psy-local-graphic svg{display:block;max-width:100%;height:auto;max-height:400px;margin:auto}.psy-local-graphic p{overflow-wrap:anywhere}.psy-local-error{padding:16px 20px;border:1px solid #dda4a0;border-radius:12px;background:#fff1ef;color:#842b27;font-size:.9rem;margin:18px 0;overflow-wrap:anywhere}.psy-local-error a{font-weight:650;text-decoration:underline;text-underline-offset:3px}
.psy-s .psy-local-graphic .psy-s-option{min-width:0}.psy-s .psy-s-option>span:not(.psy-s-option-letter):not(.psy-s-option-check){min-width:0;overflow-wrap:anywhere}.psy-s .psy-s-option img{max-width:100%;max-height:170px;height:auto}.psy-local-empty{margin:28px 0}.psy-local-empty p{margin:12px 0 20px}.psy-local-loading{padding:24px 0}
.psy-s .psy-local-part{min-width:0;max-width:100%}.psy-s .psy-local-part p{white-space:pre-wrap;overflow-wrap:anywhere}.psy-s .psy-local-part img{display:block;max-width:100%;max-height:20rem;width:auto;height:auto;margin:16px auto}.psy-s .psy-local-part .psy-local-graphic{max-width:30rem;margin:20px auto}.psy-s .psy-local-graphic svg{width:100%;max-width:100%;height:auto}.psy-s .psy-local-part-compact .psy-local-graphic{max-width:6rem;margin:8px auto}.psy-s .psy-local-part-compact img{max-height:8rem;margin:8px auto}.psy-s .psy-local-part-compact{flex:1}
@media(max-width:760px){.psy-local-history-item{grid-template-columns:1fr;align-items:start;gap:10px}.psy-local-history-actions{width:100%;grid-column:1;grid-row:auto;margin-top:8px}.psy-local-history-actions .psy-s-button{flex:1}.psy-s .psy-local-notice,.psy-public .psy-local-notice{padding:14px 16px}.psy-local-graphic{gap:10px}}
@media print{.psy-local-history-actions,.psy-local-loading{display:none}.psy-local-history-item{break-inside:avoid}}
.psy-s .psy-s-practice-more{margin-top:36px;min-width:0}.psy-s .psy-s-continue{padding:26px;border:1px solid var(--psy-line,#d8e2eb);border-radius:16px;background:#f1f6fa;min-width:0}.psy-s .psy-s-continue h2{font-size:clamp(1.25rem,2.5vw,1.55rem);line-height:1.35;overflow-wrap:anywhere;margin:0 0 12px}.psy-s .psy-s-continue>p{font-size:.9rem;line-height:1.65;color:var(--psy-muted,#536579);max-width:70ch}.psy-s .psy-s-practice-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:22px 0 0;padding:0}.psy-s .psy-s-practice-links-other{grid-template-columns:repeat(2,minmax(0,1fr))}.psy-s .psy-s-practice-links>li{min-width:0;margin:0;padding:0}.psy-s .psy-s-practice-link{display:flex;align-items:center;min-height:64px;height:100%;padding:16px 18px;border:1px solid #bccddc;border-radius:10px;background:#fff;color:var(--psy-navy,#142c46);font-size:.9rem;font-weight:650;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}.psy-s .psy-s-practice-link:hover{background:#e7f0f7;border-color:#7d9db8}.psy-s .psy-s-practice-link:focus-visible{outline:3px solid #142c46;outline-offset:3px}
.psy-s .psy-s-correction[data-psy-editorial] .psy-s-correction-options{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.psy-s .psy-s-correction[data-psy-editorial] .psy-s-correction-options>li{min-width:0;overflow-wrap:anywhere}.psy-s .psy-s-correction[data-psy-editorial]:is([data-content-type="reading-comprehension"],[data-content-type="logical-deduction"]) .psy-s-correction-options{grid-template-columns:1fr}.psy-s .psy-s-correction[data-psy-editorial]:is([data-content-type="figure-sequence"],[data-content-type="logical-matrix"],[data-content-type="spatial-rotation"],[data-content-type="spatial-symmetry"],[data-content-type="spatial-folding"]) .psy-s-correction-options{grid-template-columns:repeat(4,minmax(0,1fr))}.psy-s .psy-s-correction[data-psy-editorial]:is([data-content-type="figure-sequence"],[data-content-type="logical-matrix"],[data-content-type="spatial-rotation"],[data-content-type="spatial-symmetry"],[data-content-type="spatial-folding"]) .psy-s-correction-options>li{display:flex;flex-direction:column;align-items:center;gap:6px}.psy-s .psy-s-correction[data-psy-editorial]:is([data-content-type="figure-sequence"],[data-content-type="logical-matrix"],[data-content-type="spatial-rotation"],[data-content-type="spatial-symmetry"],[data-content-type="spatial-folding"]) .psy-s-correction-options>li>strong{align-self:flex-start}.psy-s .psy-s-correction[data-psy-editorial]:is([data-content-type="figure-sequence"],[data-content-type="logical-matrix"],[data-content-type="spatial-rotation"],[data-content-type="spatial-symmetry"],[data-content-type="spatial-folding"]) .psy-s-correction-options>li>span{text-align:center}
@media(max-width:760px){.psy-s .psy-s-practice-more{margin-top:28px}.psy-s .psy-s-continue{padding:22px 18px}.psy-s .psy-s-practice-links,.psy-s .psy-s-practice-links-other{grid-template-columns:1fr;gap:10px}.psy-s .psy-s-practice-link{min-height:56px;padding:14px 16px}.psy-s .psy-s-correction[data-psy-editorial]:is([data-content-type="figure-sequence"],[data-content-type="logical-matrix"],[data-content-type="spatial-rotation"],[data-content-type="spatial-symmetry"],[data-content-type="spatial-folding"]) .psy-s-correction-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.psy-s .psy-s-correction[data-psy-editorial]:is([data-content-type="reading-comprehension"],[data-content-type="logical-deduction"],[data-content-type="calculation"],[data-content-type="numerical-problem"],[data-content-type="word-relation"],[data-content-type="verbal-analogy"]) .psy-s-correction-options{grid-template-columns:1fr}}
.psy-s .psy-s-correction[data-psy-editorial][data-content-type="code-comparison"] .psy-s-correction-options{grid-template-columns:1fr}.psy-s .psy-s-correction[data-psy-editorial][data-content-type="code-comparison"] .psy-s-correction-options .psy-s-code{display:inline-block;font-size:clamp(.76rem,2.3vw,1.05rem);letter-spacing:.035em}.psy-s .psy-s-correction[data-psy-editorial][data-content-type="table-lookup"] .psy-s-correction-options .psy-s-table-value{font-size:.92rem}
@media(max-width:460px){.psy-s .psy-s-correction[data-psy-editorial]:is([data-content-type="symbol-search"],[data-content-type="table-lookup"]) .psy-s-correction-options{grid-template-columns:1fr}}
.psy-s .psy-s-mixed-reference{padding:0 18px;margin:16px 0 22px;border:1px solid var(--psy-line,#d8e2eb);border-radius:12px;background:#f1f6fa;min-width:0}.psy-s .psy-s-mixed-reference>summary{min-height:44px;padding:13px 0;font-size:.85rem;font-weight:650;color:var(--psy-navy,#142c46)}.psy-s .psy-s-mixed-reference[open]{padding-bottom:14px}.psy-s .psy-s-correction[data-psy-editorial][data-content-type="spatial-folding"] .psy-s-visual-distractor{grid-template-columns:100px minmax(0,1fr)}

/* History styles stay within this page so practice and correction layouts keep their rules. */
.psy-history-page{min-width:0;max-width:100%;color:var(--psy-ink,#253b50)}
.psy-history-page :is(h1,h2,h3,p,li,label,article,section,nav,div){min-width:0}
.psy-history-page :is(h1,h2,h3,p,li,a,button,span,strong,small){overflow-wrap:anywhere}
.psy-history-page h1{font-size:clamp(1.8rem,4.6vw,2.5rem);line-height:1.15;letter-spacing:-.025em;max-width:26ch}
.psy-history-page :is(a,button,select,summary){min-height:44px}
.psy-history-page a{display:inline-flex;align-items:center}
.psy-history-page :is(a,button){touch-action:manipulation}
.psy-history-page :is(a,button,select,summary):focus-visible{outline:3px solid #c55d00;outline-offset:3px}
.psy-history-page .psy-local-notice summary{min-height:44px;padding:10px 0}
.psy-history-jump-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 24px}
.psy-history-jump-links a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 12px;border:1px solid #c3d1dc;border-radius:9px;background:#fff;color:var(--psy-navy,#142c46);font-size:.82rem;font-weight:650;line-height:1.4;text-align:center;text-decoration:none}
.psy-history-jump-links a:hover{background:#edf4f9;border-color:#8da8be}
.psy-history-section{margin-top:32px;min-width:0;scroll-margin-top:9rem}
.psy-history-section>h2{font-size:clamp(1.2rem,3vw,1.5rem);line-height:1.35;margin-bottom:10px}
.psy-history-section>p{color:var(--psy-muted,#62758a);font-size:.88rem;line-height:1.65}
.psy-history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
.psy-history-summary>*{min-width:0;padding:18px;border:1px solid var(--psy-line,#d8e2eb);border-radius:12px;background:#fff}
.psy-history-summary :is(span,small,p){display:block;color:var(--psy-muted,#62758a);font-size:.8rem;line-height:1.5}
.psy-history-summary strong{display:block;margin:7px 0 4px;color:var(--psy-navy,#142c46);font-size:clamp(1.5rem,3.2vw,2rem);font-weight:750;line-height:1.15;font-variant-numeric:tabular-nums}
.psy-history-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;margin-top:20px}
.psy-history-progress-card{min-width:0;padding:20px;border:1px solid var(--psy-line,#d8e2eb);border-radius:14px;background:#fff}
.psy-history-progress-card h3{font-size:1rem;font-weight:750;line-height:1.4;color:var(--psy-navy,#142c46);margin:0 0 12px}
.psy-history-progress-card h3 a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}
.psy-history-progress-card .psy-s-small{font-size:.76rem;line-height:1.55;margin-top:8px}
.psy-history-progress-stat{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:8px 0}
.psy-history-progress-stat>strong{color:var(--psy-navy,#142c46);font-size:1.7rem;font-weight:750;line-height:1.15;font-variant-numeric:tabular-nums}
.psy-history-progress-stat>:is(span,small,p){font-size:.76rem;line-height:1.5;color:var(--psy-muted,#62758a)}
.psy-history-progress-card progress{display:block;appearance:none;width:100%;max-width:100%;height:8px;margin:12px 0;border:0;border-radius:99px;overflow:hidden;background:#e7eef4;color:#366f63}
.psy-history-progress-card progress::-webkit-progress-bar{border-radius:99px;background:#e7eef4}
.psy-history-progress-card progress::-webkit-progress-value{border-radius:99px;background:#366f63}
.psy-history-progress-card progress::-moz-progress-bar{border-radius:99px;background:#366f63}
.psy-history-progress-note{font-size:.76rem;line-height:1.6;color:var(--psy-muted,#62758a);margin-top:9px}
.psy-history-skill-list{margin-top:14px;border-top:1px solid #e0e8ee}
.psy-history-skill-list summary{min-height:44px;padding:13px 0;color:var(--psy-navy,#142c46);font-size:.8rem;font-weight:650;line-height:1.5;cursor:pointer}
.psy-history-skill-list :is(ul,ol){list-style:none;margin:0;padding:0}
.psy-history-skill{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;padding:10px 0;border-top:1px solid #e6ecf1;min-width:0}
.psy-history-skill-title{grid-column:1;color:var(--psy-navy,#142c46);font-size:.83rem;font-weight:650;line-height:1.5;text-underline-offset:3px}
.psy-history-skill-title:is(a),.psy-history-skill-title a{display:flex;align-items:center;min-height:44px}
.psy-history-skill-stats{grid-column:1;font-size:.74rem;color:var(--psy-muted,#62758a);line-height:1.55;font-variant-numeric:tabular-nums}
.psy-history-skill-link,.psy-history-skill>a:last-child:not(.psy-history-skill-title){display:inline-flex;align-items:center;justify-content:center;grid-column:2;grid-row:1/span 2;align-self:start;min-height:44px;padding:8px 9px;border:1px solid #c3d1dc;border-radius:8px;color:var(--psy-navy,#142c46);background:#fff;font-size:.75rem;font-weight:650;line-height:1.4;text-underline-offset:3px}
.psy-history-skill-trend{grid-column:1/-1;margin-top:6px;padding:7px 0 7px 10px;border-left:2px solid #cbd9e5;font-size:.73rem;color:var(--psy-muted,#62758a);line-height:1.55;font-variant-numeric:tabular-nums}
.psy-history-skill-trend>*{display:block}
.psy-history-skill-trend>*+*{margin-top:4px}
.psy-history-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px;margin-top:18px;border:1px solid var(--psy-line,#d8e2eb);border-radius:12px;background:#f3f7fa}
.psy-history-toolbar label{display:grid;align-content:start;gap:7px;min-width:0;font-size:.8rem;font-weight:650;line-height:1.5;color:var(--psy-navy,#142c46)}
.psy-history-toolbar select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 30px 10px 10px;border:1px solid #bdcddd;border-radius:8px;background-color:#fff;color:var(--psy-ink,#253b50);font:inherit;font-weight:400;text-overflow:ellipsis}
.psy-history-list-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:22px 0 12px;min-width:0}
.psy-history-list-heading h2{font-size:1.2rem;line-height:1.4;font-weight:750;color:var(--psy-navy,#142c46)}
.psy-history-list-heading>:is(p,span){font-size:.8rem;line-height:1.5;color:var(--psy-muted,#62758a)}
.psy-history-page .psy-local-history-list{gap:12px;margin:14px 0 22px}
.psy-history-page .psy-local-history-item{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:20px;align-items:start}
.psy-history-page .psy-local-history-item>:is(h2,h3,p,div){grid-column:1;grid-row:auto}
.psy-history-page .psy-local-history-item :is(h2,h3){line-height:1.45;margin:0;font-size:1.02rem}
.psy-history-page .psy-local-history-meta{line-height:1.6;gap:5px 12px}
.psy-history-page .psy-history-practice-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;grid-column:1;grid-row:auto;width:100%;margin-top:10px}
.psy-history-practice-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:44px;line-height:1.45;font-size:.8rem;text-align:center}
.psy-history-page .psy-history-practice-actions .psy-local-danger{margin-left:auto;padding:8px 10px;border-color:transparent;background:transparent;color:#8a3f3b!important;font-size:.76rem;text-decoration:underline;text-underline-offset:3px}
.psy-history-page .psy-history-practice-actions .psy-local-danger:hover{background:#fff1ef;color:#7c2420!important}
.psy-history-resume-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.psy-history-resume-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 18px;min-width:0;padding:20px;border:1px solid #e2c097;border-radius:14px;background:#fff8ef}
.psy-history-resume-card:only-child{grid-column:1/-1}
.psy-history-resume-card>:is(h2,h3,p,div){grid-column:1;min-width:0}
.psy-history-resume-card :is(h2,h3){font-size:1.02rem;line-height:1.45;font-weight:750;color:var(--psy-navy,#142c46)}
.psy-history-resume-card p{font-size:.82rem;line-height:1.6;color:var(--psy-muted,#62758a)}
.psy-history-resume-card>a:last-child{display:inline-flex;align-items:center;justify-content:center;grid-column:2;grid-row:1/span 3;min-height:48px}
.psy-history-explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.psy-history-explore-grid a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:54px;padding:14px 16px;border:1px solid #c3d1dc;border-radius:10px;background:#fff;color:var(--psy-navy,#142c46);font-size:.85rem;font-weight:650;line-height:1.5;text-decoration:none}
.psy-history-explore-grid a:hover{border-color:#8da8be;background:#edf4f9}
.psy-history-empty{min-width:0;margin:22px 0;padding:30px 24px;border:1px dashed #b8cad8;border-radius:14px;background:#f5f8fb;text-align:center}
.psy-history-empty h2{font-size:1.25rem;color:var(--psy-navy,#142c46);line-height:1.4}
.psy-history-empty p{max-width:58ch;margin:12px auto;color:var(--psy-muted,#62758a);font-size:.88rem;line-height:1.65}
.psy-history-empty .psy-s-actions{justify-content:center;margin-top:18px}
@media(max-width:1000px){
    .psy-history-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
    .psy-history-section{margin-top:26px}
    .psy-history-summary{gap:8px;margin:18px 0}
    .psy-history-summary>*{padding:13px 10px}
    .psy-history-summary :is(span,small,p){font-size:.72rem;line-height:1.45}
    .psy-history-summary strong{font-size:clamp(1.25rem,5.3vw,1.7rem);margin:6px 0}
    .psy-history-jump-links{gap:6px;margin:16px 0 20px}
    .psy-history-jump-links a{padding:9px 7px;font-size:.76rem}
    .psy-history-progress-grid,.psy-history-resume-list,.psy-history-explore-grid{grid-template-columns:minmax(0,1fr)}
    .psy-history-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
    .psy-history-toolbar>label:first-child{grid-column:1/-1}
    .psy-history-progress-grid{gap:12px;margin-top:16px}
    .psy-history-progress-card{padding:18px}
    .psy-history-toolbar{padding:16px;gap:13px}
    .psy-history-list-heading{margin-top:20px;gap:7px 12px}
    .psy-history-page .psy-local-history-item{padding:18px}
    .psy-history-page .psy-history-practice-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .psy-history-practice-actions :is(a,button){width:100%;padding:10px 8px}
    .psy-history-page .psy-history-practice-actions .psy-local-danger{grid-column:1/-1;justify-self:end;width:auto;margin-left:0;min-width:72px}
    .psy-history-resume-card{grid-template-columns:minmax(0,1fr);padding:18px;gap:7px}
    .psy-history-resume-card>a:last-child{grid-column:1;grid-row:auto;width:100%;margin-top:8px}
    .psy-history-explore-grid{gap:8px}
    .psy-history-explore-grid a{min-height:50px;padding:12px 14px}
    .psy-history-empty{padding:25px 18px}
}
@media(max-width:460px){
    .psy-history-page .psy-local-notice{padding:13px 14px}
    .psy-history-empty .psy-s-actions>*{width:100%}
    .psy-history-page .psy-s-button{gap:7px}
}
@media print{
    .psy-history-page :is(.psy-history-jump-links,.psy-history-toolbar,.psy-history-practice-actions,.psy-history-resume-list,.psy-history-explore-grid){display:none}
    .psy-history-progress-card,.psy-history-summary>*{break-inside:avoid}
}
/* Focused practice: keep the answer choices outside the scrollable statement. */
body.psy-taking .public-navigation{display:none}
body.psy-taking :is(.seo-debug-btn,.seo-debug-panel){display:none!important}
body.psy-taking>main{padding-top:0}
body.psy-taking .psy-s-practice{padding:8px 12px 24px}
body.psy-taking .psy-s-crumbs{display:none}
body.psy-taking [data-psy-local]>.psy-s-result-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.psy-taking .psy-s-player-top{position:sticky;top:0;z-index:10;background:#f8fafc;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;margin:0;min-height:52px}
body.psy-taking .psy-s-player-top>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body.psy-taking .psy-s-player-top p{margin:0;font-size:.85rem}
body.psy-taking .psy-s-timer{padding:0;min-width:55px}
body.psy-taking .psy-s-timer :is(p,small){display:none}
body.psy-taking .psy-s-timer strong{font-size:1.2rem}
body.psy-taking .psy-s-progress{margin:0 0 8px;height:4px}
body.psy-taking .psy-s-question-card{display:flex;flex-direction:column;gap:8px;max-height:calc(100dvh - 72px);padding:16px;scroll-margin-top:60px;min-width:0;position:relative}
body.psy-taking .psy-s-question-header{margin:0;flex-shrink:0}
body.psy-taking .psy-s-question-header h2{font-size:1.05rem;margin:0}
body.psy-taking .psy-s-question-heading{flex:1;min-width:0}
body.psy-taking .psy-s-question-context{margin:2px 0 0;font-size:.75rem;line-height:1.3;color:#536579}
body.psy-taking .psy-s-save-state{font-size:.7rem}
body.psy-taking .psy-s-question-stimulus{min-height:70px;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;flex:1 1 auto;padding:2px 4px 2px 0}
body.psy-taking .psy-s-question-stimulus:focus-visible{outline:2px solid #142c46;outline-offset:-2px}
body.psy-taking .psy-s-question-stimulus>.psy-s-instruction{font-size:.88rem;margin:0 0 8px}
body.psy-taking .psy-s-question-stimulus>details{margin:4px 0}
body.psy-taking .psy-s-expand-statement{display:flex;align-items:center;min-height:44px;padding:4px 0;font-size:.8rem}
body.psy-taking .psy-s-question-reading>.psy-s-relation-badge{display:none}
body.psy-taking .psy-s-question-reading .psy-s-reading-title{font-size:.95rem;margin-bottom:8px}
body.psy-taking .psy-s-options{flex-shrink:0;margin:0;gap:6px}
body.psy-taking .psy-s-options legend{font-size:.76rem;padding-bottom:4px}
body.psy-taking .psy-s-practice .psy-s-option{padding:8px 10px;min-height:44px;font-size:.95rem;line-height:1.4;font-weight:500;gap:8px}
body.psy-taking .psy-s-option:has(input:checked){padding:7px 9px}
body.psy-taking .psy-s-question-tools{margin:0;gap:0 12px;flex-shrink:0;flex-wrap:wrap;display:flex}
body.psy-taking .psy-s-question-tools button{min-height:44px;font-size:.78rem}
body.psy-taking .psy-s-navigation{margin:0;padding:0;flex-shrink:0}
body.psy-taking .psy-s-navigation button{min-height:44px;padding:8px 14px}
body.psy-taking .psy-s-navigation{align-items:center;gap:8px}
body.psy-taking .psy-s-navigation>button{flex:0 1 auto}
body.psy-taking .psy-s-tools-menu>summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:4px 6px;font-size:1.25rem;cursor:pointer;text-align:center;border:1px solid #cad6e0;border-radius:8px}
body.psy-taking .psy-s-tools-menu[open] .psy-s-question-tools{position:absolute;bottom:64px;left:12px;right:12px;background:#fff;border:1px solid #b9c8d5;border-radius:10px;padding:12px;box-shadow:0 4px 18px #142c4620;z-index:5}
body.psy-taking .psy-s-question-tools>details{width:100%;max-height:40dvh;overflow:auto;margin:0}
body.psy-taking .psy-s-fixed-prompt{flex-shrink:0;margin:0;font-size:.95rem;line-height:1.4}
body.psy-taking .psy-s-question-card>.psy-s-fixed-prompt{margin:0}
body.psy-taking .psy-s-reading-passage{padding:12px 14px;margin:6px 0;font-size:1rem;line-height:1.5}
body.psy-taking .psy-s-reading-question{margin-top:8px;font-size:.95rem;line-height:1.4}
body.psy-taking .psy-s-question-sidebar{top:60px}
.psy-s .psy-s-content-dialog{width:min(900px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:18px;overflow:hidden}
.psy-s .psy-s-content-dialog[open]{display:flex;flex-direction:column;gap:16px}
.psy-s .psy-s-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.psy-s .psy-s-dialog-header h2{font-size:1.1rem;margin:0}
.psy-s .psy-s-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px}
.psy-s .psy-s-dialog-body>.psy-s-feedback{margin:0}
@media(max-width:460px){.psy-s .psy-s-dialog-header{align-items:flex-start;flex-direction:column;gap:8px}.psy-s .psy-s-dialog-header button{width:100%;min-height:44px}}
@media(max-width:760px){
 body.psy-taking [data-mode="learn"] .psy-s-player-top>.psy-s-small{display:none}
 body.psy-taking .psy-s-player-top>div:first-child{flex-wrap:nowrap}
 body.psy-taking .psy-s-player-top p{font-size:.75rem}
 body.psy-taking .psy-s-player-top>div:first-child{gap:6px}
 body.psy-taking .psy-s-player-top .psy-s-text-button{font-size:.75rem}
 body.psy-taking .psy-s-question-card{padding:12px;gap:6px}
 body.psy-taking .psy-s-practice .psy-s-option{font-size:.88rem;line-height:1.35;padding:7px 8px;font-weight:450}
 body.psy-taking .psy-s-practice .psy-s-option:has(input:checked){padding:6px 7px}
 body.psy-taking .psy-s-option-letter{width:22px;height:24px;font-size:.7rem;flex-shrink:0}
 body.psy-taking .psy-s-option-check{font-size:.75rem}
 body.psy-taking .psy-s-save-state{display:none}
 body.psy-taking .psy-s-question-tools{gap:0 9px}
 body.psy-taking .psy-s-question-tools button{font-size:.74rem}
 body.psy-taking .psy-s-visual-practice .psy-s-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 body.psy-taking .psy-s-visual-practice .psy-s-option{padding:5px;gap:2px}
 body.psy-taking .psy-s-visual-practice .psy-s-option:has(input:checked){padding:4px}
 body.psy-taking .psy-s-visual-practice .psy-s-option-letter{font-size:.65rem}
 body.psy-taking .psy-s-visual-practice .psy-s-option-check{right:4px;top:4px}
}
@media(max-height:700px){
 body.psy-taking .psy-s-question-stimulus{min-height:56px}
}
/* Preserve comfortable reading and touch targets at tablet widths. */
.psy-s-practice #psy-session-map{scroll-margin-top:140px}
.psy-s-practice .psy-s-player-top>div:first-child{min-width:0}
.psy-s-practice .psy-s-player-top .psy-s-text-button{display:inline-flex;align-items:center;min-height:44px}
@media(min-width:761px) and (max-width:1000px){
    .psy-s-practice .psy-s-player-grid{grid-template-columns:minmax(0,1fr) 224px}
    .psy-s-practice .psy-s-question-map{grid-template-columns:repeat(4,minmax(44px,1fr))}
    .psy-history-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
    .psy-history-toolbar>label:first-child{grid-column:1/-1}
}
@media(min-width:761px) and (max-width:900px){
    .psy-s-practice .psy-s-player-grid{grid-template-columns:minmax(0,1fr)}
    .psy-s-practice .psy-s-question-sidebar{position:static;padding:22px}
    .psy-s-practice .psy-s-question-map{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:7px}
    .psy-s-practice .psy-s-sidebar-rule{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
    .psy-s-practice .psy-s-sidebar-rule>p:first-child{flex:1;min-width:240px}
    .psy-s-practice .psy-s-sidebar-rule .psy-s-button{width:auto;margin:0}
    .psy-s-practice .psy-s-sidebar-rule>.psy-s-small{width:100%}
}
@media(min-width:761px){
    .psy-history-progress-card .psy-s-small{font-size:.82rem}
    .psy-history-skill-stats,.psy-history-skill-trend{font-size:.82rem}
    .psy-history-skill-link{font-size:.8rem}
}
@media(max-width:760px){
    .psy-s-practice .psy-s-question-map{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:7px}
}
@media(min-width:1100px){
    .psy-history-page .psy-local-history-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
    .psy-history-page .psy-local-history-item{align-content:start}
    .psy-history-page .psy-history-empty{grid-column:1/-1}
}
/* Mobile question frame: reserve room for every answer and the finish action. */
@media(max-width:760px){
 body.psy-taking .psy-s-practice{padding:8px 8px 24px}
 body.psy-taking .psy-s-question-card{height:calc(100dvh - 72px - env(safe-area-inset-bottom,0px));max-height:none;padding:10px;gap:6px}
 body.psy-taking .psy-s-question-header{flex-wrap:nowrap;gap:6px;min-height:44px}
 body.psy-taking .psy-s-question-header h2{flex:1;min-width:0;font-size:1rem;white-space:nowrap}
 body.psy-taking .psy-s-question-context{font-size:.65rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.psy-taking .psy-s-expand-statement{flex-shrink:0;padding:4px 6px;font-size:.75rem}
 body.psy-taking .psy-s-tools-menu>summary{width:44px;padding:0;font-size:1.5rem;text-decoration:none;border-radius:8px;border:1px solid #cad6e0}
 body.psy-taking .psy-s-tools-menu[open] .psy-s-question-tools{top:60px;bottom:auto;max-height:calc(100dvh - 180px);overflow:auto}
 body.psy-taking .psy-s-question-stimulus{container-type:size;min-height:0;flex:1 1 0;padding:0;scrollbar-gutter:auto}
 body.psy-taking .psy-s-navigation{display:flex;gap:8px;min-height:48px;border-top:1px solid #dbe3eb;padding-top:4px}
 body.psy-taking .psy-s-navigation>button{min-width:44px;min-height:44px;padding:8px 10px}
 body.psy-taking .psy-s-navigation [data-psy-finish]{flex:1;min-height:44px}
 body.psy-taking .psy-s-nav-label{display:none}
 body.psy-taking .psy-s-practice .psy-s-option{display:grid;grid-template-columns:22px minmax(0,1fr);gap:7px;font-size:.875rem;line-height:1.35;padding:6px 8px;min-height:44px}
 body.psy-taking .psy-s-practice .psy-s-option:has(input:checked){padding:5px 7px}
 body.psy-taking .psy-s-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;z-index:1;cursor:pointer}
 body.psy-taking .psy-s-options:disabled input{cursor:default}
 body.psy-taking .psy-s-option:has(input:focus-visible){outline:3px solid #142c46;outline-offset:2px}
 body.psy-taking .psy-s-option .psy-s-option-check{display:none}
 body.psy-taking .psy-s-option:has(input:checked) .psy-s-option-letter{background:#142c46;color:#fff}
 body.psy-taking .psy-s-practice .psy-s-visual-practice .psy-s-option{display:flex;min-height:44px;padding:5px;gap:2px}
 body.psy-taking .psy-s-practice .psy-s-visual-practice .psy-s-option:has(input:checked){padding:4px}
 body.psy-taking .psy-s-fixed-prompt{font-size:.875rem;line-height:1.35}
 body.psy-taking .psy-s-question-stimulus>:is(.psy-s-instruction,.psy-s-small){margin:0 0 4px;font-size:.8rem;line-height:1.35}
 body.psy-taking [data-content-type="verbal-analogy"] .psy-s-options,
 body.psy-taking [data-content-type="word-relation"] .psy-s-options,
 body.psy-taking [data-content-type="calculation"] .psy-s-options,
 body.psy-taking [data-content-type="numerical-problem"] .psy-s-options,
 body.psy-taking [data-content-type="code-comparison"]:not(:has(.psy-s-codes[data-task="exact-match"])) .psy-s-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-question-analogy,.psy-s-vocabulary,.psy-s-calculation,.psy-s-problem,.psy-s-codes,.psy-s-deduction){margin:0}
 body.psy-taking .psy-s-question-stimulus .psy-s-analogy-pair{gap:6px}
 body.psy-taking .psy-s-question-stimulus .psy-s-analogy-pair>strong{font-size:1rem;min-height:40px;padding:6px}
 body.psy-taking .psy-s-question-stimulus .psy-s-analogy>p{margin:4px 0!important}
 body.psy-taking .psy-s-question-stimulus .psy-s-vocabulary-term{font-size:1.5rem;margin:4px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-vocabulary-context{padding:8px;font-size:.875rem;line-height:1.4}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-calculation-expression,.psy-s-calculation-facts){padding:8px;font-size:1rem;line-height:1.4}
 body.psy-taking .psy-s-question-stimulus .psy-s-calculation-facts>li+li{margin-top:4px;padding-top:4px}
 body.psy-taking .psy-s-question-stimulus .psy-s-calculation-question{margin-top:8px;font-size:.875rem;line-height:1.35}
 body.psy-taking .psy-s-question-stimulus .psy-s-problem-statement{padding:8px;font-size:.875rem;line-height:1.4}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-codes-note,.psy-s-calculation-unit,.psy-s-problem-unit){display:none}
 body.psy-taking .psy-s-codes-practice .psy-s-question-stimulus>.psy-s-instruction{display:none}
 body.psy-taking :is(.psy-s-calculation-practice,.psy-s-problems-practice,.psy-s-deduction-practice) .psy-s-question-stimulus>.psy-s-instruction{display:none}
 body.psy-taking .psy-s-deduction-practice .psy-s-options legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
 body.psy-taking .psy-s-question-stimulus .psy-s-code{font-size:.875rem;line-height:1.3;margin:4px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-deduction-premises{gap:4px}
 body.psy-taking .psy-s-question-stimulus .psy-s-deduction-premises>li{grid-template-columns:22px minmax(0,1fr);padding:6px;gap:5px}
 body.psy-taking .psy-s-question-stimulus .psy-s-deduction-premises>li>p{font-size:.875rem;line-height:1.35}
 body.psy-taking :is(.psy-s-visual-practice,.psy-s-symbols-practice,.psy-s-tables-practice) .psy-s-question-stimulus>.psy-s-instruction{display:none}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-matrix,.psy-s-visual-sequence,.psy-s-rotation,.psy-s-symmetry,.psy-s-folding,.psy-s-symbols,.psy-s-tables){margin:0}
 body.psy-taking .psy-s-question-stimulus .psy-s-visual-legend{font-size:.75rem;line-height:1.3;margin:0 0 4px}
 body.psy-taking .psy-s-question-stimulus .psy-s-figure-caption{font-size:.6rem;min-height:18px;padding:2px;line-height:1.3}
 body.psy-taking .psy-s-question-stimulus .psy-s-matrix-grid{max-width:clamp(96px,calc(100cqh - 96px),250px);gap:4px}
 body.psy-taking .psy-s-question-stimulus .psy-s-visual-frames{grid-template-columns:repeat(var(--psy-visual-columns,5),minmax(0,1fr));gap:4px}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-task,.psy-s-symmetry-task){grid-template-columns:minmax(80px,110px) minmax(0,1fr);gap:8px;margin:0}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-turns,.psy-s-symmetry-operations){gap:4px}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-turns,.psy-s-symmetry-operations)>li{padding:5px;gap:5px;grid-template-columns:20px minmax(0,1fr)}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-turns,.psy-s-symmetry-operations)>li>span:last-child>strong{font-size:.75rem;line-height:1.3}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-turns,.psy-s-symmetry-operations)>li>span:last-child>span:last-child{font-size:.65rem;line-height:1.25}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-label,.psy-s-symmetry-label){font-size:.75rem;margin:0 0 4px}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation,.psy-s-symmetry)>.psy-s-visual-legend{display:none}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-symbol-note,.psy-s-tables-note,.psy-s-relation-badge){display:none}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models{flex-wrap:nowrap;margin:0 0 4px;gap:4px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models>li{flex:1;gap:5px;padding:2px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models>li>div>span{display:none}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models strong{font-size:.65rem}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models .psy-s-symbol-svg{width:20px;height:20px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid{margin:0;padding:0;border-spacing:0;border-collapse:collapse}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid th{font-size:.55rem;line-height:1.1;padding:0}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-cell-content{min-height:0;gap:0;padding-left:10px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid td{padding:1px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid .psy-s-symbol-svg{width:clamp(18px,calc((100cqh - 48px)/6 - 5px),30px);height:auto}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-position{position:absolute;top:0;left:0;font-size:.6rem;line-height:1.1}
 body.psy-taking .psy-s-question-stimulus .psy-s-table-grid{margin:0}
 body.psy-taking .psy-s-question-stimulus .psy-s-table-grid caption{font-size:.65rem;padding:0 0 4px;line-height:1.2}
 body.psy-taking .psy-s-question-stimulus .psy-s-table-grid :is(th,td){height:clamp(22px,calc((100cqh - 40px)/7),34px);padding:2px 1px;font-size:.75rem;line-height:1.2}
 body.psy-taking .psy-s-question-stimulus .psy-s-table-grid[data-value-kind=code] .psy-s-table-value{font-size:.75rem}
 body.psy-taking .psy-s-question-stimulus .psy-s-table-value{line-height:1.2}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-timeline{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-timeline .psy-s-folding-svg{width:min(100%,clamp(40px,calc(100cqh - 205px),80px))}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-timeline .psy-s-figure-caption{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-label{margin:0 0 4px;font-size:.7rem}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-stage-operation{font-size:.6rem;line-height:1.2;margin:4px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-punched{grid-template-columns:clamp(60px,calc(100cqh - 190px),80px) minmax(0,1fr);gap:6px;padding:3px;margin:3px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-punched>div>p{margin:4px 0;font-size:.65rem;line-height:1.3}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding :is(.psy-s-folding-layers,.psy-s-visual-legend){display:none}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-punched>div>p{display:none}
 @container(max-height:100px){
  .psy-s-question-reading .psy-s-reading-passage{margin:0;padding:6px 8px}
  .psy-s-question-reading .psy-s-reading-passage>p{display:none}
  .psy-s-question-reading .psy-s-reading-title{margin:0!important;font-size:.8rem!important}
 }
}
@media(max-width:360px) and (max-height:640px){
 body.psy-taking .psy-s-deduction-practice .psy-s-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.psy-taking .psy-s-reading-practice .psy-s-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.psy-taking .psy-s-reading-practice .psy-s-option{align-items:start;grid-template-columns:minmax(0,1fr);position:relative;padding-top:24px}
 body.psy-taking .psy-s-reading-practice .psy-s-option:has(input:checked){padding-top:23px}
 body.psy-taking .psy-s-reading-practice .psy-s-option-letter{position:absolute;left:6px;top:4px;height:18px;width:18px;font-size:.6rem}
}
/* Tablet and desktop: give the statement and answers their own reading columns. */
@media(min-width:761px){
 body.psy-taking .psy-s-question-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:12px 20px;height:calc(100dvh - 72px);max-height:none;padding:16px}
 body.psy-taking .psy-s-question-header{grid-column:1/-1;grid-row:1;flex-wrap:nowrap;gap:12px;min-height:44px}
 body.psy-taking .psy-s-question-stimulus{grid-column:1;grid-row:2/span 2;container-type:size;min-height:0;padding:0 6px 0 0;scrollbar-gutter:auto}
 body.psy-taking .psy-s-fixed-prompt{grid-column:2;grid-row:2;font-size:1rem;line-height:1.4}
 body.psy-taking .psy-s-options{grid-column:2;grid-row:3;align-self:start;align-content:start;min-width:0;gap:10px}
 body.psy-taking .psy-s-question-card:not(:has(>.psy-s-fixed-prompt)) .psy-s-options{grid-row:2/span 2}
 body.psy-taking .psy-s-navigation{grid-column:1/-1;grid-row:4;display:flex;justify-content:flex-start;gap:12px;border-top:1px solid #dbe3eb;padding-top:10px;min-height:55px}
 body.psy-taking .psy-s-navigation button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:112px;min-height:44px}
 body.psy-taking .psy-s-navigation [data-psy-finish]{margin-left:auto;min-width:150px}
 body.psy-taking .psy-s-tools-menu[open] .psy-s-question-tools{top:66px;bottom:auto;left:auto;right:16px;width:min(420px,calc(100% - 32px));max-height:calc(100dvh - 180px);overflow:auto}
 body.psy-taking .psy-s-practice .psy-s-option{font-size:.95rem;line-height:1.4;min-height:48px;padding:9px 10px}
 body.psy-taking .psy-s-practice .psy-s-option:has(input:checked){padding:8px 9px}
 body.psy-taking .psy-s-visual-practice .psy-s-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.psy-taking .psy-s-practice .psy-s-visual-practice .psy-s-option{padding:7px;gap:4px}
 body.psy-taking .psy-s-practice .psy-s-visual-practice .psy-s-option:has(input:checked){padding:6px}
 body.psy-taking .psy-s-visual-practice .psy-s-option :is(.psy-s-figure-svg,.psy-s-folding-svg){max-width:150px}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-matrix,.psy-s-visual-sequence,.psy-s-rotation,.psy-s-symmetry,.psy-s-folding,.psy-s-symbols,.psy-s-tables,.psy-s-question-analogy,.psy-s-vocabulary,.psy-s-calculation,.psy-s-problem,.psy-s-codes,.psy-s-deduction){margin:0}
 body.psy-taking .psy-s-question-stimulus .psy-s-visual-legend{font-size:.8rem;line-height:1.4;margin:8px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-figure-caption{min-height:22px;padding:3px;font-size:.7rem;line-height:1.35}
 body.psy-taking .psy-s-question-stimulus .psy-s-matrix-grid{max-width:min(100%,calc(100cqh - 140px),420px);gap:5px}
 body.psy-taking .psy-s-question-stimulus .psy-s-visual-frames{grid-template-columns:repeat(var(--psy-visual-columns,5),minmax(0,1fr));gap:5px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models{flex-wrap:nowrap;margin:8px 0;gap:6px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models>li{flex:1;padding:7px;gap:7px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models>li>div>span{font-size:.7rem;line-height:1.3}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-models .psy-s-symbol-svg{width:30px;height:30px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid{margin:8px 0;border-spacing:2px;padding:2px}
 body.psy-taking .psy-s-symbols-practice .psy-s-question-stimulus>.psy-s-instruction,
 body.psy-taking .psy-s-question-stimulus .psy-s-symbols>.psy-s-relation-badge{display:none}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid caption{padding:3px;font-size:.75rem}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-cell-content{min-height:0;gap:1px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid td{padding:2px}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-grid .psy-s-symbol-svg{width:clamp(22px,calc((100cqh - 200px)/6 - 18px),30px);height:auto}
 body.psy-taking .psy-s-question-stimulus .psy-s-symbol-position{font-size:.65rem;line-height:1.2}
 body.psy-taking .psy-s-question-stimulus .psy-s-table-grid{margin:8px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-table-grid :is(th,td){height:clamp(30px,calc((100cqh - 170px)/7),42px);padding:4px 2px;font-size:.8rem;line-height:1.3}
 body.psy-taking .psy-s-question-stimulus .psy-s-table-value{line-height:1.3}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-timeline{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-label{font-size:.8rem;margin:6px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-layers{font-size:.6rem;padding:2px}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-stage-operation{font-size:.7rem;line-height:1.3;margin:4px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-punched{grid-template-columns:minmax(80px,110px) minmax(0,1fr);gap:8px;padding:8px;margin:8px 0}
 body.psy-taking .psy-s-question-stimulus .psy-s-folding-punched>div>p{margin:6px 0;font-size:.75rem;line-height:1.4}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-task,.psy-s-symmetry-task){grid-template-columns:minmax(90px,120px) minmax(0,1fr);gap:10px;margin-bottom:8px}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-turns,.psy-s-symmetry-operations){gap:5px}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-turns,.psy-s-symmetry-operations)>li{padding:6px;gap:6px;grid-template-columns:22px minmax(0,1fr)}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-turns,.psy-s-symmetry-operations)>li>span:last-child>strong{font-size:.85rem;line-height:1.35}
 body.psy-taking .psy-s-question-stimulus :is(.psy-s-rotation-turns,.psy-s-symmetry-operations)>li>span:last-child>span:last-child{font-size:.7rem;line-height:1.35}
 body.psy-taking .psy-s-question-stimulus .psy-s-deduction-premises{gap:6px}
 body.psy-taking .psy-s-question-stimulus .psy-s-deduction-premises>li{grid-template-columns:28px minmax(0,1fr);padding:8px;gap:8px}
 body.psy-taking .psy-s-question-stimulus .psy-s-deduction-premises>li>p{font-size:.95rem;line-height:1.5}
}
@media(min-width:1200px){
 body.psy-taking .psy-s-practice{width:min(100%,1440px);max-width:1440px}
 body.psy-taking .psy-s-player-grid{grid-template-columns:minmax(0,1fr) 240px}
 body.psy-taking .psy-s-question-card{height:min(calc(100dvh - 72px),820px);padding:20px;gap:16px 24px}
 body.psy-taking .psy-s-practice .psy-s-option{font-size:1rem;line-height:1.45}
}
