:root{font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,Arial,sans-serif;color:#102033;background:#1f6fc8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--blue-900: #0b376d;--blue-800: #15569d;--blue-700: #1f6fc8;--blue-600: #2f83df;--paper: #f7fbff;--card: #ffffff;--surface: #fbfdf9;--surface-soft: #eef4ef;--surface-strong: #e4eee5;--ink: #102033;--muted: #5f748c;--line: #c7dbef;--orange: #f0a037;--orange-strong: #d98218;--green: #40a66b;--green-strong: #2f7650;--rose: #d7617a;--red: #c93434;--shadow: 0 20px 54px rgba(3, 29, 64, .24);--soft-shadow: 0 18px 46px rgba(17, 47, 34, .12);--focus: 0 0 0 3px rgba(47, 131, 223, .2)}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-width:0;min-height:100vh;background:var(--surface-soft)}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed}.login-page,.exam-app,.admin-page{min-height:100vh;background:linear-gradient(180deg,#fff3,#fff0 210px),linear-gradient(135deg,#286fa8,#1f6f61 56%,#183f52)}.login-page{display:grid;place-items:center;padding:40px}.login-card{width:min(980px,calc(100vw - 96px));min-height:520px;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;border:1px solid rgba(255,255,255,.48);border-radius:8px;background:#fffffff7;box-shadow:var(--soft-shadow)}.login-copy{min-width:0;padding:72px;color:#fff;background:linear-gradient(160deg,#104969f0,#267158eb),repeating-linear-gradient(0deg,rgba(255,255,255,.1) 0 1px,transparent 1px 48px);display:flex;flex-direction:column;justify-content:flex-end}.login-copy span,.exam-header span,.stage-label{display:inline-flex;color:#ffffffc7;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.login-copy h1{margin:14px 0 16px;font-size:58px;line-height:1.05;letter-spacing:0}.login-copy p{width:460px;max-width:100%;margin:0;color:#ffffffdb;font-size:18px;line-height:1.75}.login-form{min-width:0;padding:70px 54px;display:flex;flex-direction:column;justify-content:center;gap:14px}.login-form label{font-weight:800;color:var(--ink)}.login-form input{width:100%;height:54px;border:1px solid var(--line);border-radius:6px;padding:0 16px;color:var(--ink);background:#fff;outline:none;text-transform:uppercase}.login-form input:focus{border-color:var(--blue-600);box-shadow:var(--focus)}.primary-action,.secondary-action,.ghost-button,.icon-button,.report-ready-button{border:0;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;white-space:nowrap;transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease,transform .14s ease}.primary-action{color:#fff;background:var(--green-strong);padding:0 18px;font-weight:800;box-shadow:0 10px 22px #2f76502e}.primary-action:hover{background:#286845;transform:translateY(-1px)}.primary-action:disabled,.secondary-action:disabled,.option-grid button:disabled,.choice-grid button:disabled,.stroop-key-grid button:disabled{opacity:.48;filter:grayscale(.24);cursor:not-allowed}.secondary-action{color:#244a38;background:var(--surface-strong);padding:0 18px;font-weight:700;border:1px solid rgba(47,118,80,.16)}.secondary-action:hover{background:#d9e8db}.ghost-button{color:#fff;background:#ffffff29;border:1px solid rgba(255,255,255,.28);padding:0 16px;font-weight:700}.icon-button{width:44px;height:44px;color:#fff;background:#ffffff24;border:1px solid rgba(255,255,255,.26)}.primary-action:focus-visible,.secondary-action:focus-visible,.ghost-button:focus-visible,.icon-button:focus-visible,.report-ready-button:focus-visible,button:focus-visible,input:focus-visible{outline:none;box-shadow:var(--focus)}.status-line{margin:2px 0 0;color:var(--muted);min-height:22px}.error-line{margin:0;color:var(--red);line-height:1.45}.exam-app{color:#fff;display:flex;flex-direction:column}.exam-header{min-height:76px;padding:0 28px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,auto) minmax(160px,auto);align-items:center;gap:18px;background:#0a2f3ac7;border-bottom:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.exam-header div:first-child{display:flex;flex-direction:column;gap:4px}.exam-header strong{font-size:18px}.header-status{color:#ffffffc7;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}.header-actions{display:flex;justify-content:flex-end;gap:10px}.admin-page{color:#fff;display:flex;flex-direction:column}.admin-topbar{min-height:72px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#07346bc7;border-bottom:1px solid rgba(255,255,255,.2)}.admin-topbar>div:first-child{display:flex;flex-direction:column;gap:4px}.admin-topbar span{color:#ffffffbd;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.admin-topbar strong{font-size:20px}.admin-topbar-actions{display:flex;align-items:center;gap:10px}.admin-logout{color:#fff}.admin-shell{width:min(1280px,calc(100vw - 72px));margin:0 auto;padding:46px 0 64px;display:grid;grid-template-columns:minmax(420px,.88fr) minmax(520px,1.12fr);gap:22px;align-items:start}.admin-panel{color:var(--ink);background:#fffffff7;border:1px solid rgba(255,255,255,.7);border-radius:8px;box-shadow:var(--shadow);padding:26px}.admin-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.admin-section-heading svg{color:var(--blue-700)}.admin-section-heading h1,.admin-section-heading h2{margin:0;color:var(--blue-900);font-size:27px;line-height:1.2}.admin-section-heading p{margin:4px 0 0;color:var(--muted)}.admin-login-box,.admin-create-box{display:grid;gap:16px}.admin-login-box label,.admin-form-grid label{display:grid;gap:8px;color:var(--ink);font-weight:800}.admin-inline-input{display:grid;grid-template-columns:1fr auto;gap:10px}.admin-inline-input input,.admin-form-grid input,.admin-form-grid select{width:100%;height:48px;border:1px solid #cddfed;border-radius:6px;padding:0 14px;color:var(--ink);background:#fff;outline:none}.admin-inline-input input:focus,.admin-form-grid input:focus,.admin-form-grid select:focus{border-color:var(--blue-600);box-shadow:0 0 0 3px #2f83df29}.admin-current-user{min-height:38px;border:1px solid #cfe4d7;border-radius:6px;color:#24653f;background:#eef9f2;display:inline-flex;align-items:center;gap:8px;padding:0 12px;font-weight:800;justify-self:start}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.admin-form-grid span{color:var(--ink)}.admin-create-button{min-width:148px;justify-self:start}.admin-error{min-height:38px;border-radius:6px;margin:18px 0 0;padding:8px 10px;color:var(--red);background:#fff1f1;display:flex;align-items:center;gap:8px}.generated-panel{min-height:430px}.generated-account-table{display:grid;border:1px solid #d8e6f2;border-radius:8px;overflow:hidden}.generated-account-row{min-height:54px;display:grid;grid-template-columns:minmax(160px,1.1fr) minmax(84px,.64fr) minmax(140px,.95fr) minmax(64px,.46fr) minmax(110px,.8fr) 48px;align-items:center;gap:10px;padding:0 14px;color:var(--ink);background:#fff;border-bottom:1px solid #e0edf8}.generated-account-row:last-child{border-bottom:0}.generated-account-row.header{min-height:42px;color:var(--muted);background:#f1f7fc;font-size:13px;font-weight:900}.generated-account-row strong{color:var(--blue-900);font-size:16px;font-variant-numeric:tabular-nums}.generated-account-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.generated-account-row .account-school{line-height:1.35;white-space:normal}.icon-button.light{width:36px;height:36px;color:var(--blue-900);background:#e8f3fc;border-color:#d3e6f6}.admin-empty-state{min-height:290px;border:1px dashed #bfd7eb;border-radius:8px;color:var(--muted);background:#f6faff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;font-weight:800}.exam-error{margin:16px 28px 0;min-height:42px;display:flex;align-items:center;gap:10px;padding:10px 14px;color:#ffe6e6;background:#8c181861;border:1px solid rgba(255,210,210,.38);border-radius:6px}.submit-name-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:32px;background:#05162a94}.submit-name-dialog{width:min(460px,calc(100vw - 64px));color:var(--ink);background:#fff;border:1px solid #d8e6f2;border-radius:8px;box-shadow:var(--shadow)}.submit-name-form{display:grid;gap:12px;padding:28px}.submit-name-form h2{margin:0 0 2px;color:var(--blue-900);font-size:25px;line-height:1.2}.submit-name-form label{color:var(--ink);font-weight:800}.submit-name-form input{width:100%;height:50px;border:1px solid #cddfed;border-radius:6px;padding:0 14px;color:var(--ink);background:#fff;outline:none}.submit-name-form input:focus{border-color:var(--blue-600);box-shadow:0 0 0 3px #2f83df29}.submit-name-hint,.submit-name-error{margin:0;min-height:20px;line-height:1.45;font-size:14px}.submit-name-hint{color:var(--muted)}.submit-name-error{color:var(--red)}.submit-name-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.privacy-consent-row{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:9px;color:var(--muted);font-size:13px;line-height:1.6}.privacy-consent-row input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--blue-700)}.privacy-consent-copy{min-width:0;font-weight:500;overflow-wrap:anywhere}.privacy-consent-row button{min-height:40px;border:0;padding:0 3px;color:var(--blue-700);background:transparent;font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:3px}.legal-dialog{width:min(620px,calc(100vw - 48px));max-height:min(720px,calc(100vh - 48px));overflow:auto;padding:30px;color:var(--ink);background:#fff;border:1px solid #d8e6f2;border-radius:8px;box-shadow:var(--shadow);outline:none}.legal-dialog h2{margin:0 0 16px;color:var(--blue-900);font-size:26px}.legal-dialog-content{display:grid;gap:12px;margin-bottom:22px;color:var(--muted);line-height:1.75}.legal-dialog-content p{margin:0}.legal-updated-at{font-size:13px}.legal-section{display:grid;gap:7px}.legal-section h3{margin:4px 0 0;color:var(--ink);font-size:16px}.module-page,.test-page,.report-page{width:min(1280px,calc(100vw - 72px));margin:0 auto}.module-page{flex:1;padding:54px 0 64px}.module-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:26px}.module-hero h1,.test-title h1{margin:0;color:#fff;font-size:46px;line-height:1.08;letter-spacing:0}.module-hero p,.test-title p{margin:10px 0 0;color:#ffffffc7;font-size:17px;line-height:1.65}.report-ready-button{min-width:156px;color:#fff;background:var(--green-strong);padding:0 18px;font-weight:800;box-shadow:0 10px 22px #2f76502e}.report-ready-button.disabled{opacity:1;color:#ffffffb8;background:#ffffff2e;box-shadow:none}.module-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.module-card{position:relative;min-height:224px;padding:24px;overflow:hidden;color:var(--ink);text-align:left;background:#fffffff7;border:1px solid rgba(255,255,255,.74);border-radius:8px;box-shadow:var(--soft-shadow);display:flex;flex-direction:column;justify-content:space-between;transition:transform .14s ease,box-shadow .14s ease}.module-card:hover{transform:translateY(-2px);box-shadow:0 24px 48px #112f222e}.module-card h2{margin:20px 0 10px;font-size:38px;line-height:1.1;letter-spacing:0}.module-card p{margin:0 0 8px;color:var(--muted);font-size:17px}.module-card span{color:#7b8da2}.module-card>strong{position:absolute;right:24px;bottom:22px;font-size:32px;color:var(--blue-900)}.module-time{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.module-mark{position:absolute;right:28px;top:54px;width:62px;height:62px;border-radius:50%;opacity:.18;background:var(--blue-700)}.tone-orange .module-mark{background:var(--orange)}.tone-blue .module-mark{background:var(--blue-700)}.tone-green .module-mark{background:var(--green)}.tone-rose .module-mark{background:var(--rose)}.complete-stamp{position:absolute;top:20px;right:20px;color:#fff;background:var(--green-strong);border-radius:999px;padding:6px 12px;font-weight:800;font-size:13px}.test-page{flex:1;padding:28px 0 44px}.test-title{display:grid;grid-template-columns:160px 1fr 160px;align-items:center;margin-bottom:18px}.test-title>div{text-align:center}.test-title h1{font-size:38px}.part-tabs,.task-strip{display:flex;gap:10px;margin-bottom:18px;overflow-x:auto;padding-bottom:2px}.part-tab{min-height:44px;border:1px solid rgba(255,255,255,.28);border-radius:8px;color:#fff;background:#ffffff24;display:inline-flex;align-items:center;overflow:hidden;white-space:nowrap;flex:0 0 auto}.part-tab.active{color:var(--blue-900);background:#fff}.part-select{min-height:44px;border:0;color:inherit;background:transparent;display:inline-flex;align-items:center;font-weight:700;white-space:nowrap}.part-select{gap:10px;padding:0 12px 0 14px}.part-select small{color:inherit;opacity:.72;font-size:13px}.external-task-strip{justify-content:center;gap:12px;margin:2px 0 28px}.task-tile{min-width:116px;min-height:106px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#ffffffb8;flex:0 0 auto}.task-select{min-width:116px;min-height:82px;border:0;color:inherit;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:8px 10px}.task-tile.active{color:#f2d289}.task-number{color:currentColor;opacity:.32;font-size:46px;line-height:.9;font-weight:900}.task-name{display:flex;flex-direction:column;align-items:center;gap:2px;color:inherit}.task-name strong{color:inherit;font-size:13px;line-height:1.1}.task-name small{color:inherit;opacity:.84;font-size:11px;line-height:1.1}.question-frame,.potential-card,.report-card{color:var(--ink);background:#fffffffa;border:1px solid rgba(214,226,216,.92);border-radius:8px;box-shadow:var(--soft-shadow)}.question-frame{min-height:470px;padding:34px 40px 32px;position:relative}.question-text{min-height:96px;padding:6px 0 22px;color:var(--ink);font-size:clamp(24px,2.1vw,34px);line-height:1.5;font-weight:800}.scale-answer-list{display:grid;gap:12px;width:min(760px,100%)}.scale-answer{min-height:58px;border:1px solid #d9e5dc;border-radius:6px;padding:0 18px;display:flex;align-items:center;gap:14px;color:var(--ink);background:#f8fbf7;text-align:left;font-size:18px}.scale-answer:hover,.scale-answer.selected{color:#fff;background:var(--green-strong);border-color:var(--green-strong)}.scale-answer i{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-weight:800;background:#1020331a}.scale-answer.selected i,.scale-answer:hover i{background:#ffffff38}.question-counter{position:absolute;right:36px;bottom:30px;display:flex;align-items:baseline;gap:6px;color:var(--muted)}.question-counter strong{color:var(--blue-900);font-size:46px;line-height:1}.test-footer{min-height:56px;display:flex;align-items:center;justify-content:space-between;color:#fffc}.potential-card{min-height:490px;padding:34px 40px}.guide-card{width:min(1100px,100%);margin:0 auto;min-height:520px;color:#e8f7ec;background:#07363d6b;border:1px solid rgba(242,210,137,.58);box-shadow:none;position:relative}.guide-card:before,.guide-card:after{content:"";position:absolute;width:28px;height:28px;border-color:#f2d289;border-style:solid;pointer-events:none}.guide-card:before{left:-2px;top:-2px;border-width:4px 0 0 4px}.guide-card:after{right:-2px;bottom:-2px;border-width:0 4px 4px 0}.potential-card .stage-label{color:var(--blue-700)}.guide-card .stage-label{color:#f2d289}.potential-card h2{margin:10px 0 16px;color:var(--ink);font-size:34px;line-height:1.18;letter-spacing:0}.potential-card p{margin:0 0 22px;color:var(--muted);font-size:18px;line-height:1.75}.guide-card h2{color:#fff}.guide-card p{max-width:860px;color:#e8f4ffe6}.intro-card,.feedback-card,.confirm-card,.complete-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.stage-grid{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:8px 0 26px}.stage-grid div{min-height:96px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;padding:18px;display:flex;flex-direction:column;justify-content:center}.stage-grid strong{color:var(--blue-900);font-size:30px}.stage-grid span{color:var(--muted)}.guide-card .stage-grid div{border-color:#f2d2894d;background:#ffffff14}.guide-card .stage-grid strong{color:#fff}.guide-card .stage-grid span{color:#e8f4ffb8}.potential-actions{display:flex;justify-content:center;gap:130px;width:100%}.guide-card .secondary-action{min-width:148px;color:#f2d289;background:transparent;border:1px solid rgba(242,210,137,.72)}.guide-card .primary-action{min-width:188px;color:#fff;background:var(--green-strong)}.practice-feedback-list{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 22px}.practice-feedback-list div{min-height:48px;border-radius:6px;padding:8px 12px;display:flex;align-items:center;gap:10px;background:#ffffff14;border:1px solid rgba(242,210,137,.28)}.practice-feedback-list div.wrong{border-color:#f0a037b8}.practice-feedback-list span{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#244a38;background:#f2d289;font-weight:900}.practice-feedback-list strong{color:#fff;font-size:14px}.practice-feedback-list small{margin-left:auto;color:#e8f4ffb8}.trial-card{display:flex;flex-direction:column}.trial-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:14px}.trial-topline strong{color:var(--blue-900)}.trial-timer{margin-left:auto;color:var(--muted);display:flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}.trial-timer b{min-width:64px;min-height:42px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#8493ad;font-size:22px}.trial-timer.danger b{background:var(--red)}.thin-progress{height:8px;border-radius:999px;background:#dcecf8;overflow:hidden;margin-bottom:22px}.thin-progress i{display:block;height:100%;background:var(--orange)}.task-engine{flex:1;display:flex;flex-direction:column;justify-content:center;gap:18px}.task-engine p{margin:0;color:var(--muted);font-size:18px;line-height:1.6}.rule-engine{justify-content:center}.stroop-mapping{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.stroop-mapping span{min-height:32px;border-radius:999px;padding:0 12px;display:inline-flex;align-items:center;gap:6px;color:var(--muted);background:#edf5fd;font-size:14px;font-weight:700}.stroop-mapping b{color:var(--blue-900)}.stroop-stimulus,.memory-stimulus,.math-stimulus,.rule-number,.language-prompt,.image-placeholder{min-height:138px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;color:var(--blue-900);display:flex;align-items:center;justify-content:center;padding:22px;text-align:center;font-size:clamp(34px,4vw,66px);font-weight:900;letter-spacing:0}.stroop-stimulus.fixation{color:var(--blue-900);background:#eef6fd;font-size:72px}.color-engine .stroop-stimulus,.color-engine .stroop-stimulus.fixation,.memory-engine .memory-stimulus:not(.recall){border-color:#184f77;background:#04070b;box-shadow:inset 0 0 0 5px #075d8f}.color-engine .stroop-stimulus.fixation{color:#f7fbff}.memory-engine .memory-stimulus:not(.recall){color:#f7fbff}.memory-stimulus.recall{color:var(--muted);font-size:30px;font-weight:800}.buffer-note{min-height:42px;border:1px solid #dbe8f5;border-radius:6px;color:var(--muted);background:#f5f9fd;display:flex;align-items:center;justify-content:center;font-weight:800}.rule-number.blank-phase{background:#102033;border-color:#102033}.language-prompt{font-size:28px;line-height:1.55}.rule-cue{align-self:flex-start;color:#fff;background:var(--blue-700);border-radius:999px;padding:8px 14px;font-weight:800}.rule-stage{min-height:340px;border:1px solid #184f77;border-radius:6px;background:#04070b;color:#f7fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:32px;box-shadow:inset 0 0 0 5px #075d8f}.rule-stage-blank{color:transparent}.rule-cue-large,.rule-digit{min-width:104px;min-height:78px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:38px;font-weight:900}.rule-digit{font-size:54px}.rule-cue-copy{color:#f7fbffc7;font-size:15px;font-weight:700}.rule-key-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rule-key-grid button{min-height:70px;border:1px solid #caddec;border-radius:6px;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 16px;font-weight:800}.rule-key-grid button:hover:not(:disabled){color:#fff;background:var(--blue-700);border-color:var(--blue-700)}.rule-key-grid button:disabled{cursor:not-allowed;opacity:.45}.rule-key-grid kbd{min-width:58px;height:42px;border:0;border-radius:4px;background:#e7f1fa;color:var(--blue-900);display:inline-flex;align-items:center;justify-content:center;font-size:18px;font-weight:900}.rule-key-grid button:hover:not(:disabled) kbd{background:#ffffffdb}.rule-key-grid span{min-width:72px;font-size:17px}.input-row{display:flex;gap:12px}.input-row input{flex:1;min-height:48px;border:1px solid #cddfed;border-radius:6px;padding:0 14px;font-size:22px;outline:none}.option-grid,.language-options,.choice-grid,.stroop-key-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.option-grid button,.language-options button,.choice-grid button,.stroop-key-grid button,.direction-pad button,.attention-grid button{min-height:56px;border:1px solid #d9e5dc;border-radius:6px;background:#f8fbf7;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;font-weight:700}.option-grid button:hover,.language-options button:hover,.choice-grid button:hover,.choice-grid button.selected,.stroop-key-grid button:hover,.attention-grid button.selected{color:#fff;background:var(--green-strong);border-color:var(--green-strong)}.option-grid kbd,.stroop-key-grid kbd{min-width:28px;height:28px;border:0;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;color:var(--blue-900);background:#d8eafa;font-weight:900}.stroop-key-grid button{min-height:72px;color:var(--ink);background:#fff}.stroop-key-grid kbd{width:54px;height:54px;font-size:26px}.stroop-key-grid span{color:var(--ink);font-size:18px}.option-grid i{width:24px;height:24px;border-radius:50%;border:1px solid rgba(0,0,0,.1)}.spatial-board{position:relative;height:260px;border:1px solid #dbe8f5;border-radius:6px;overflow:hidden;background:repeating-linear-gradient(0deg,#e8f3fc 0 1px,transparent 1px 32px),repeating-linear-gradient(90deg,#e8f3fc 0 1px,transparent 1px 32px),#f7fbff}.spatial-board strong{position:absolute;right:16px;top:14px;color:var(--blue-900);font-size:22px}.target-dot,.moving-dot{position:absolute;width:22px;height:22px;border-radius:50%;transform:translate(-50%,-50%)}.target-dot{left:50%;top:50%;background:var(--orange);box-shadow:0 0 0 10px #f0a0372e}.moving-dot{background:var(--blue-700)}.dot-a{background:#d84a3a}.dot-b{background:#2178d8}.direction-pad{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.spatial-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;color:var(--muted);font-variant-numeric:tabular-nums}.spatial-stats span{min-height:38px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;display:inline-flex;align-items:center;justify-content:center;font-weight:800}.source-image{max-width:100%;max-height:230px;object-fit:contain;border:1px solid #dbe8f5;border-radius:6px;background:#f7fbff}.source-image-wrap{position:relative;display:flex;justify-content:center}.source-image-wrap.compact .source-image{max-height:160px}.source-image-state{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #cddfed;border-radius:6px;background:#f7fbfff0;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;font-weight:800}.source-image-state strong{color:var(--blue-900)}.source-image-state.error strong{color:#b3261e}.math-compare-stimulus{min-height:138px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;color:var(--blue-900);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:24px;padding:22px;text-align:center;font-size:34px;font-weight:900}.math-compare-stimulus span{overflow-wrap:anywhere}.math-compare-stimulus b{color:var(--muted);letter-spacing:0}.math-sequence-stimulus{min-height:138px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;color:var(--blue-900);display:flex;align-items:center;justify-content:center;gap:12px;padding:22px;flex-wrap:wrap}.math-sequence-stimulus span{min-width:54px;min-height:54px;border:1px solid #cddfed;border-radius:6px;background:#fff;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;font-size:30px;font-weight:900}.math-sequence-stimulus span.blank{color:var(--orange);border-color:#f0b36b;background:#fff7ed}.visual-search-engine{justify-content:flex-start}.visual-search-target-row{min-height:58px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;display:flex;align-items:center;gap:16px;padding:8px 14px;color:var(--blue-900)}.visual-target-symbols{display:flex;align-items:center;gap:10px}.visual-search-scroll{overflow:auto;max-height:330px;border:1px solid #dbe8f5;border-radius:6px;background:#f7fbff;padding:8px}.visual-search-grid{display:grid;gap:4px;width:max-content}.visual-cell{position:relative;width:44px;height:44px;border:1px solid #d4e3f1;border-radius:4px;background:#fff}.visual-cell.selected{border-color:var(--blue-700);background:#e5f1fc}.visual-check{position:absolute;right:2px;top:1px;color:var(--green);font-size:13px;font-weight:900}.attention-ring-symbol{position:relative;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center}.attention-ring{position:absolute;border:2px solid #183a5d;border-radius:50%;background:transparent}.attention-ring.outer{top:3px;right:3px;bottom:3px;left:3px}.attention-ring.inner{top:10px;right:10px;bottom:10px;left:10px}.attention-ring:after{content:"";position:absolute;background:#fff}.visual-cell.selected .attention-ring:after{background:#e5f1fc}.gap-up:after{width:11px;height:7px;left:50%;top:-4px;transform:translate(-50%)}.gap-down:after{width:11px;height:7px;left:50%;bottom:-4px;transform:translate(-50%)}.gap-left:after{width:7px;height:11px;left:-4px;top:50%;transform:translateY(-50%)}.gap-right:after{width:7px;height:11px;right:-4px;top:50%;transform:translateY(-50%)}.circle-count-symbol{position:relative;width:34px;height:34px;display:inline-block}.circle-count-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:#111827}.circle-count-dot:nth-child(1){left:8px;top:8px}.circle-count-dot:nth-child(2){right:8px;top:8px}.circle-count-dot:nth-child(3){left:8px;bottom:8px}.circle-count-dot:nth-child(4){right:8px;bottom:8px}.attention-placeholder{min-height:160px;border:1px solid #dbe8f5;border-radius:6px;background:#f7fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.attention-placeholder strong{color:var(--blue-900);font-size:42px;font-variant-numeric:tabular-nums}.attention-placeholder span{color:var(--muted);font-weight:800}.arithmetic-engine{justify-content:flex-start}.arithmetic-status{min-height:46px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;display:flex;align-items:center;gap:14px;padding:0 14px;color:var(--muted);font-weight:800}.arithmetic-status strong{margin-left:auto;min-width:72px;text-align:right;color:var(--blue-900);font-size:24px;font-variant-numeric:tabular-nums}.arithmetic-row-tabs{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}.arithmetic-row-tabs button{min-height:52px;border:1px solid #d4e3f1;border-radius:6px;background:#fff;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:900}.arithmetic-row-tabs button.active{color:#fff;border-color:var(--blue-700);background:var(--blue-700)}.arithmetic-row-tabs small{color:inherit;opacity:.78;font-size:11px;font-variant-numeric:tabular-nums}.arithmetic-row-panel{border:1px solid #dbe8f5;border-radius:6px;background:#f7fbff}.arithmetic-row-heading{min-height:48px;border-bottom:1px solid #dbe8f5;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:var(--blue-900)}.arithmetic-row-heading span{color:var(--muted);font-weight:800;font-variant-numeric:tabular-nums}.arithmetic-strip{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:18px}.arithmetic-segment{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto}.arithmetic-digit{width:36px;height:42px;border:1px solid #d4e3f1;border-radius:6px;background:#fff;color:var(--blue-900);display:inline-flex;align-items:center;justify-content:center;font-size:22px;font-variant-numeric:tabular-nums}.arithmetic-input-wrap{width:58px;display:inline-flex;align-items:center}.arithmetic-input-wrap input{width:100%;height:42px;border:1px solid #bfd2e3;border-radius:6px;background:#fff;color:var(--ink);text-align:center;font-size:20px;font-weight:800;outline:none;font-variant-numeric:tabular-nums}.arithmetic-input-wrap input:focus{border-color:var(--blue-600);box-shadow:0 0 0 3px #2f83df29}.arithmetic-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.arithmetic-actions button{min-height:42px;border:1px solid #d4e3f1;border-radius:6px;background:#fff;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 14px;font-weight:800}.arithmetic-actions button:disabled{opacity:.48;cursor:not-allowed}.arithmetic-actions .primary-action{margin-left:auto;border:0;color:#fff;background:var(--green-strong)}.inline-error{min-height:38px;border:1px solid rgba(207,54,54,.32);border-radius:6px;background:#fff5f5;color:var(--red);display:flex;align-items:center;padding:0 12px;font-weight:800}.tracking-source{width:100%;max-height:260px}.tracking-status-row{min-height:44px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;display:flex;align-items:center;justify-content:space-between;padding:0 14px;color:var(--muted);font-weight:800}.tracking-status-row strong{color:var(--blue-900);font-size:24px;font-variant-numeric:tabular-nums}.tracking-board-web{position:relative;overflow:hidden;max-width:100%;border:1px solid #dbe8f5;border-radius:6px;background:#f7fbff}.tracking-image-web{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill}.tracking-answer-input{position:absolute;z-index:2;border:1px solid rgba(31,111,200,.46);background:#ffffffb8;color:var(--blue-900);font-size:13px;font-weight:900;padding:0;text-align:center;outline:none;border-radius:0;font-variant-numeric:tabular-nums}.tracking-answer-input.active,.tracking-answer-input:focus{background:#ffffffe6;border-color:var(--orange);box-shadow:inset 0 0 0 1px #f0a037b8}.tracking-answer-input:disabled{color:transparent;cursor:wait}.complete-card{align-items:center;text-align:center}.complete-card svg{color:var(--green)}.complete-actions,.report-actions{display:flex;gap:12px;flex-wrap:wrap}.report-page{flex:1;padding:58px 0;display:grid;align-items:center}.report-card{width:min(760px,100%);justify-self:center;padding:42px}.report-card .stage-label{color:var(--blue-700)}.report-card h2{margin:10px 0 14px;font-size:34px}.report-card p{color:var(--muted);font-size:17px;line-height:1.7}.status-badge{display:inline-flex;min-height:34px;align-items:center;padding:0 12px;border-radius:999px;color:#fff;background:var(--blue-700);font-weight:800}.status-ready{background:var(--green)}.status-failed{background:var(--red)}.status-running,.status-queued{background:var(--orange)}.report-grid{display:grid;grid-template-columns:1.25fr .75fr 1fr;gap:12px;margin:22px 0}.report-grid div{min-height:92px;border:1px solid #dbe8f5;border-radius:6px;background:#f5f9fd;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:8px}.report-grid span{color:var(--muted);font-size:13px}.report-grid strong{color:var(--ink);overflow-wrap:anywhere}@media(max-width:1180px){.module-page,.test-page,.report-page{width:min(1160px,calc(100vw - 48px))}.module-card h2{font-size:32px}.question-frame,.potential-card{padding:28px}}@media(max-width:900px){.login-page{align-items:stretch;padding:18px}.login-card{width:100%;min-height:auto;grid-template-columns:1fr}.login-copy{min-height:260px;padding:34px 28px}.login-copy h1{font-size:42px}.login-copy p{font-size:16px}.login-form{padding:30px 28px 34px}.admin-shell{width:min(760px,calc(100vw - 36px));grid-template-columns:1fr;padding:34px 0 50px}.exam-header{grid-template-columns:1fr auto;min-height:92px;padding:14px 18px}.header-status{grid-column:1 / -1;grid-row:2;text-align:left}.header-actions{grid-column:2;grid-row:1}.module-page,.test-page,.report-page{width:min(100%,calc(100vw - 28px))}.module-page{padding:30px 0 42px}.module-hero{align-items:stretch;flex-direction:column;gap:18px}.module-hero h1,.test-title h1{font-size:34px}.module-cards{grid-template-columns:1fr}.test-title{grid-template-columns:1fr;gap:12px}.test-title>div{text-align:left}.part-tabs,.task-strip{justify-content:flex-start;margin-left:-2px;padding:0 2px 6px}.question-frame,.potential-card{min-height:auto;padding:22px}.question-text{min-height:auto;font-size:24px}.question-counter{position:static;justify-content:flex-end;margin-top:22px}.scale-answer-list,.option-grid,.language-options,.choice-grid,.stroop-key-grid,.rule-key-grid,.direction-pad,.spatial-stats,.stage-grid,.practice-feedback-list,.report-grid{grid-template-columns:1fr}.potential-actions,.test-footer,.report-actions{align-items:stretch;flex-direction:column;gap:10px}.arithmetic-actions .primary-action{margin-left:0}.report-page{padding:28px 0 42px}.report-card{padding:28px}}@media(max-width:560px){.login-page,.exam-app,.admin-page{background:linear-gradient(180deg,#ffffff29,#fff0 180px),linear-gradient(135deg,#286fa8,#1f6f61 70%,#183f52)}.login-page{padding:12px}.admin-topbar{padding:14px;align-items:flex-start;flex-direction:column}.admin-topbar-actions{width:100%;flex-wrap:wrap}.admin-shell{width:calc(100vw - 28px);padding:22px 0 38px}.admin-panel{padding:20px}.admin-form-grid,.admin-inline-input{grid-template-columns:1fr}.generated-account-table{border:0;gap:10px}.generated-account-row.header{display:none}.generated-account-row{min-height:0;grid-template-columns:1fr auto;align-items:start;gap:8px 10px;border:1px solid #d8e6f2;border-radius:8px;padding:12px}.generated-account-row strong{min-width:0;font-size:15px;overflow-wrap:anywhere}.generated-account-row span{grid-column:1 / -1;white-space:normal}.generated-account-row .icon-button{grid-column:2;grid-row:1}.login-copy{padding:28px 22px}.login-copy h1{font-size:36px}.login-form{padding:24px 22px 28px}.exam-header{grid-template-columns:1fr}.header-actions{grid-column:1;grid-row:3;justify-content:flex-start}.module-card{min-height:190px;padding:22px}.module-card h2{font-size:30px}.task-tile,.task-select{min-width:104px}.task-number{font-size:36px}.scale-answer{align-items:flex-start;min-height:62px;padding:14px}.math-compare-stimulus{grid-template-columns:1fr;gap:10px;font-size:28px}.arithmetic-row-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}}
