:root{color:#182026;background:#f3f6f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,select,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px clamp(16px,4vw,48px);border-bottom:1px solid #dbe3de;background:#f3f6f4f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand,.topnav a{color:inherit;text-decoration:none}.brand{display:inline-flex;align-items:center;gap:10px;font-weight:750}.brand-mark{display:inline-grid;width:32px;height:32px;place-items:center;border-radius:7px;color:#fff;background:#1d6f61}.topnav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.topnav a,.topnav-button{min-height:34px;padding:7px 10px;border-radius:7px;color:#51615b}.topnav-button{border:0;background:transparent}.topnav a.router-link-active{color:#0f4f46;background:#dcefe8}.workspace{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:38px 0 56px}.workspace.narrow{width:min(820px,calc(100% - 32px))}.workspace.admin-workspace{width:min(1600px,calc(100% - 24px))}.intro-band,.result-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding:30px 0 28px}.eyebrow,.section-label{margin:0 0 8px;color:#66766f;font-size:.78rem;font-weight:750;text-transform:uppercase}h1,h2,h3,p{overflow-wrap:anywhere}h1{margin:0;font-size:clamp(2.1rem,7vw,4.6rem);line-height:.98;letter-spacing:0}h2{margin:0;font-size:1.35rem;line-height:1.25;letter-spacing:0}h3{margin:0 0 8px;font-size:1rem}.intro-copy{max-width:660px;margin:16px 0 0;color:#40534c;font-size:1.08rem;line-height:1.6}.disclaimer{max-width:320px;margin:0;color:#6b4f23;line-height:1.55}.panel,.training-surface,.review-item{border:1px solid #d9e2dd;border-radius:8px;background:#fff;box-shadow:0 12px 28px #24383014}.panel{padding:24px}.panel-heading,.training-header,.review-item header{display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-heading{margin-bottom:22px}.panel-heading p{margin:6px 0 0;color:#66766f}.panel-heading.standalone{margin-bottom:18px}.setup-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}label span,legend{display:block;margin-bottom:7px;color:#43534d;font-size:.9rem;font-weight:700}select,input[type=email],input[type=password],input[type=text]{width:100%;min-height:44px;border:1px solid #c8d3ce;border-radius:7px;padding:0 12px;color:#182026;background:#fbfcfb}.segmented{display:flex;gap:6px;align-items:end;min-width:0;margin:0;padding:0;border:0}.segmented legend{width:100%}.segmented label{flex:1}.segmented input{position:absolute;opacity:0}.segmented label span{display:grid;min-height:44px;place-items:center;margin:0;border:1px solid #c8d3ce;border-radius:7px;background:#fbfcfb}.segmented input:checked+span{border-color:#1d6f61;color:#0f4f46;background:#e1f3ed}.primary-action,.secondary-action,.danger-action{min-height:44px;border-radius:7px;padding:0 16px;border:1px solid transparent;font-weight:750}.primary-action{color:#fff;background:#1d6f61}.secondary-action{color:#1d3933;border-color:#c9d6d0;background:#fff}.danger-action{color:#fff;background:#9c2d20}.ad-slot{display:grid;min-height:80px;place-items:center;margin-top:22px;border:1px dashed #b7c7bf;border-radius:8px;color:#66766f;background:#eef4f0}.training-surface{padding:24px}.training-header h1{font-size:clamp(1.6rem,5vw,2.6rem)}.status-pill{display:inline-grid;min-width:74px;min-height:34px;place-items:center;border-radius:999px;color:#0f4f46;background:#dff2eb;font-weight:750}.status-pill.wrong{color:#7b291e;background:#fde0da}.progress-track{height:10px;margin:18px 0 24px;overflow:hidden;border-radius:999px;background:#e7eeea}.progress-track div{height:100%;border-radius:inherit;background:#1d6f61;transition:width .18s ease}.audio-zone{display:grid;gap:10px;padding:18px;border:1px solid #d9e2dd;border-radius:8px;background:#f8faf9}.audio-zone audio{width:100%}.audio-zone p,.muted{margin:0;color:#66766f}.question-zone{padding:24px 0 4px}.option-list{display:grid;gap:10px;margin-top:18px}.answer-option{display:grid;grid-template-columns:auto 34px minmax(0,1fr);gap:12px;align-items:center;min-height:56px;margin:0;padding:10px 14px;border:1px solid #d7e0db;border-radius:8px;background:#fff}.answer-option.selected{border-color:#1d6f61;background:#f0faf6}.answer-option input{width:18px;height:18px}.option-key{display:grid;width:32px;height:32px;place-items:center;margin:0;border-radius:999px;color:#fff;background:#47645b}.training-actions,.modal-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:18px;background:#121d1970}.modal{width:min(440px,100%);padding:24px;border-radius:8px;background:#fff;box-shadow:0 24px 70px #00000038}.modal p{color:#586b63}.result-summary{align-items:center;border-bottom:1px solid #d9e2dd}.result-summary h1{font-size:clamp(2.2rem,7vw,4.8rem)}.score-ring{display:grid;width:120px;height:120px;place-items:center;border-radius:999px;color:#fff;background:#1d6f61;font-size:1.7rem;font-weight:850}.result-summary dl{display:grid;grid-template-columns:repeat(3,minmax(86px,1fr));gap:12px;grid-column:1 / -1;margin:0}.result-summary dl div{padding:14px;border-radius:8px;background:#fff}dt{color:#66766f;font-size:.85rem}dd{margin:4px 0 0;font-size:1.5rem;font-weight:800}.review-list{display:grid;gap:16px;margin-top:22px}.review-item{padding:20px}.review-question{color:#26352f;font-size:1.05rem;font-weight:700}.answer-pair{display:flex;flex-wrap:wrap;gap:12px}.answer-pair p{margin:0;padding:10px 12px;border-radius:7px;background:#eef4f0}.explain-block{margin-top:16px;padding-top:14px;border-top:1px solid #e0e7e3}.review-audio audio{width:100%}.explain-block p{color:#40534c;line-height:1.65}.table-wrap{overflow-x:auto;border:1px solid #d9e2dd;border-radius:8px;background:#fff}.admin-workspace .table-wrap{overflow-x:visible}table{width:100%;border-collapse:collapse}th,td{padding:13px 14px;border-bottom:1px solid #e4ebe7;text-align:left;white-space:nowrap}.admin-workspace th,.admin-workspace td{white-space:normal;vertical-align:top}.admin-question-table th:first-child,.admin-question-table td:first-child,.admin-question-table th:nth-child(2),.admin-question-table td:nth-child(2),.admin-question-table th:nth-child(5),.admin-question-table td:nth-child(5),.admin-question-table th:nth-child(6),.admin-question-table td:nth-child(6),.admin-question-table th:nth-child(7),.admin-question-table td:nth-child(7),.admin-question-table th:nth-child(8),.admin-question-table td:nth-child(8),.admin-question-table th:nth-child(9),.admin-question-table td:nth-child(9),.admin-user-table th:nth-child(3),.admin-user-table td:nth-child(3),.admin-user-table th:nth-child(5),.admin-user-table td:nth-child(5),.admin-user-table th:nth-child(6),.admin-user-table td:nth-child(6),.admin-user-table th:nth-child(7),.admin-user-table td:nth-child(7){white-space:nowrap}.admin-question-table td:nth-child(3),.admin-question-table td:nth-child(4){max-width:300px}.admin-user-table td:first-child{min-width:220px}.admin-user-table td:nth-child(2){min-width:120px}.admin-user-table td:nth-child(8){min-width:250px}th{color:#52645c;font-size:.84rem;text-transform:uppercase}.error-text{color:#8a2e22}.success-text{color:#1d6f61}.admin-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}.admin-filter{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:18px}.admin-count{margin-bottom:12px}.admin-tabs{display:inline-flex;gap:4px;padding:4px;border:1px solid #c9d6d0;border-radius:8px;background:#fff}.admin-tabs button{min-height:34px;border:0;border-radius:6px;padding:0 12px;color:#51615b;background:transparent;font-weight:750}.admin-tabs button.active{color:#0f4f46;background:#dcefe8}.catalog-management{display:grid;gap:14px}.catalog-block{border:1px solid #d7e0dc;border-radius:8px;background:#fff;overflow:hidden}.catalog-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;min-height:52px;padding:10px 16px;border-top:1px solid #edf2ef}.catalog-row:first-child{border-top:0}.catalog-row-main{background:#f6faf8}.catalog-row-indent-1{padding-left:42px}.catalog-row-indent-2{padding-left:72px}.catalog-row-indent-3{padding-left:102px}.catalog-kind{display:inline-block;min-width:42px;margin-right:10px;color:#66766f;font-size:.78rem;font-weight:750;text-transform:uppercase}.catalog-row strong{margin-right:10px}.row-actions{display:flex;gap:6px;align-items:center}.compact-action{min-height:34px;padding:0 10px}.status-ok{color:#1d6f61;font-weight:750}.status-banned{color:#9c2d20;font-weight:750}.question-detail-modal{width:min(860px,100%);max-height:min(86vh,900px);overflow:auto}.modal-header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}.detail-meta div{padding:12px;border-radius:8px;background:#eef4f0}.detail-meta dd{font-size:1rem}.detail-block{display:grid;gap:10px;padding:16px 0;border-top:1px solid #e0e7e3}.detail-block audio{width:100%}.detail-block pre{overflow-x:auto;margin:0;padding:12px;border-radius:8px;color:#24352f;background:#f6f8f7;white-space:pre-wrap}.detail-question{display:grid;gap:8px}.detail-question ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}.detail-question li{padding:8px 10px;border-radius:8px;background:#f6f8f7}.detail-question li span{margin-left:8px;color:#1d6f61;font-weight:750}.correct-option{outline:1px solid #9bcfbd}.explanation-grid{display:grid;gap:10px}.explanation-grid div{padding:12px;border-radius:8px;background:#f6f8f7}.explanation-grid span{display:block;margin-bottom:6px;color:#52645c;font-size:.84rem;font-weight:750}.explanation-grid p,.explanation-grid ul{margin:0;color:#24352f;line-height:1.6}.explanation-grid ul{display:grid;gap:6px;padding:0;list-style:none}.empty-state{min-height:260px;display:grid;align-content:center}.empty-state.compact{min-height:120px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}.stat-grid div{padding:14px;border-radius:8px;background:#eef4f0}.section-bars{display:grid;gap:12px}.section-bars>div{display:grid;grid-template-columns:72px minmax(0,1fr) 48px;gap:12px;align-items:center}.section-bars .progress-track{margin:0}.history-list{display:grid;gap:10px}.history-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #d9e2dd;border-radius:8px;color:inherit;text-decoration:none;background:#fff}.history-item div{display:grid;gap:4px}.history-item span:not(.status-pill){color:#66766f;font-size:.9rem}.auth-panel{display:grid;gap:16px}.auth-form{display:grid;gap:14px}.auth-actions{display:flex;flex-wrap:wrap;gap:10px}@media(max-width:820px){.topbar,.intro-band,.result-summary,.panel-heading,.training-header{align-items:flex-start;flex-direction:column}.setup-grid{grid-template-columns:1fr}.training-actions{flex-direction:column}.training-actions button{width:100%}.result-summary dl,.stat-grid{grid-template-columns:1fr}.history-item{align-items:flex-start;flex-direction:column}}
