@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#f4f6fb;--surface:#fff;--surface-2:#f8f9fd;--text:#101838;--muted:#5b6b85;--border:#e5e7f4;--accent:#4f46e5;--accent-dark:#4338ca;--accent-soft:#eceafe;--accent-ring:#d5d0fa;--accent-2:#0e7490;--accent-2-dark:#0b5c73;--accent-2-soft:#e6f4f8;--highlight:#ff8a3d;--neutral-bg:#f1f3f9;--neutral-fg:#2a3550;--draft-bg:#fff8e1;--draft-fg:#8a5a00;--ok-soft:#dcfce7;--ok-fg:#15803d;--ok:#16a34a;--error:#dc2626;--shadow-card:0 24px 60px -30px #1018384d, 0 8px 20px -12px #1018381f;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter Variable,Inter,system-ui,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--bg);color:var(--text);margin:0}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}h1,h2,h3{color:var(--text);letter-spacing:-.02em}p{margin:0}.app-shell{flex-direction:column;min-height:100vh;display:flex}.container{width:min(1120px,100% - 48px);margin:0 auto}.site-header{z-index:10;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0}.header-inner{align-items:center;gap:24px;min-height:68px;display:flex}.brand{color:var(--text);white-space:nowrap;align-items:center;gap:10px;font-weight:700;text-decoration:none;display:flex}.brand:hover{text-decoration:none}.brand-mark{background:var(--accent-soft);width:38px;height:38px;color:var(--accent);border-radius:11px;place-items:center;display:grid}.main-nav{flex:1;align-items:center;gap:6px;display:flex}.menu-toggle{border:1px solid var(--border);background:var(--surface);width:42px;height:42px;color:var(--text);cursor:pointer;border-radius:10px;place-items:center;padding:0;display:none}.nav-link{color:var(--muted);white-space:nowrap;border-radius:9px;align-items:center;gap:6px;padding:8px 12px;font-size:14px;font-weight:500;text-decoration:none;display:inline-flex}.nav-link:hover{background:var(--accent-2-soft);color:var(--accent-2-dark);text-decoration:none}.nav-link.active,.nav-link.active:hover{background:var(--accent-soft);color:var(--accent)}.header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.user-chip{border:1px solid var(--border);background:var(--surface-2);border-radius:999px;align-items:center;gap:8px;padding:5px 10px;font-size:14px;display:flex}.page{flex:1;padding:40px 0 64px}.hero{grid-template-columns:minmax(0,1fr) minmax(0,500px);align-items:center;gap:56px;padding:44px 0 56px;display:grid}.eyebrow{background:var(--accent-soft);color:var(--accent);letter-spacing:.01em;border-radius:999px;align-items:center;gap:8px;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.eyebrow:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.hero h1{letter-spacing:-.032em;margin:20px 0 18px;font-size:clamp(32px,4.2vw,54px);font-weight:800;line-height:1.08}.hero .hl{background:linear-gradient(#0000 64%,#ff8a3d57 64%);padding:0 2px}.hero p{max-width:520px;color:var(--muted);font-size:17.5px;line-height:1.62}.hero-actions{flex-wrap:wrap;gap:12px;margin-top:30px;display:flex}.hero-actions .btn{border-radius:12px;padding:14px 22px;font-size:15px}.hero-feats{color:var(--muted);flex-wrap:wrap;gap:10px 24px;margin:26px 0 0;padding:0;font-size:13.5px;list-style:none;display:flex}.hero-feats li{align-items:center;gap:8px;display:inline-flex}.hero-feats svg{color:var(--accent);flex:none}.hero-visual{flex-direction:column;align-items:flex-end;padding-top:4px;display:flex;position:relative}.hero-blob{background:var(--accent-soft);border-radius:50%;width:370px;height:370px;position:absolute;top:10px;right:-30px}.quiz-preview{z-index:1;background:var(--surface);border:1px solid var(--border);width:100%;max-width:460px;box-shadow:var(--shadow-card);border-radius:24px;margin-left:auto;padding:24px;position:relative}.quiz-preview-head{justify-content:space-between;align-items:center;display:flex}.quiz-chip{background:var(--accent-soft);color:var(--accent);border-radius:999px;padding:6px 11px;font-size:12px;font-weight:700}.quiz-time{color:var(--muted);align-items:center;gap:6px;font-size:12.5px;font-weight:600;display:inline-flex}.quiz-progress{background:var(--surface-2);border-radius:999px;height:8px;margin:14px 0 20px;overflow:hidden}.quiz-progress i{border-radius:inherit;background:var(--accent);width:40%;height:100%;display:block}.quiz-question{letter-spacing:-.02em;margin-bottom:18px;font-size:19px;font-weight:700;line-height:1.3}.quiz-option{border:1.5px solid var(--border);border-radius:12px;align-items:center;gap:12px;margin-bottom:9px;padding:12px 14px;font-size:14.5px;font-weight:500;display:flex}.quiz-option-key{background:var(--surface-2);width:24px;height:24px;color:var(--muted);border-radius:7px;flex:none;place-items:center;font-size:11.5px;font-weight:700;display:grid}.quiz-option.is-selected{border-color:var(--accent);background:var(--accent-soft)}.quiz-option.is-selected .quiz-option-key{background:var(--accent);color:#fff}.quiz-option-tick{background:var(--accent);color:#fff;border-radius:50%;flex:none;place-items:center;width:19px;height:19px;margin-left:auto;display:grid}.quiz-preview-foot{color:var(--muted);justify-content:space-between;align-items:center;margin-top:14px;font-size:13.5px;font-weight:600;display:flex}.quiz-next{background:var(--accent);color:#fff;border-radius:10px;padding:10px 18px;font-size:13.5px;font-weight:600}.stat-preview{z-index:2;background:var(--surface);border:1px solid var(--border);width:236px;box-shadow:var(--shadow-card);border-radius:18px;align-self:flex-start;margin:-18px 0 0 8px;padding:18px;position:relative}.stat-preview-cap{color:var(--muted);font-size:12px;font-weight:600}.stat-preview-score{align-items:baseline;gap:5px;margin-top:6px;display:flex}.stat-preview-score b{letter-spacing:-.03em;font-size:30px;font-weight:800}.stat-preview-score span{color:var(--muted);font-size:14px;font-weight:600}.stat-preview-badge{color:#15803d;background:#dcfce7;border-radius:999px;align-items:center;gap:6px;margin-top:10px;padding:4px 10px;font-size:11.5px;font-weight:700;display:inline-flex}.stat-preview-bars{align-items:flex-end;gap:6px;height:44px;margin-top:14px;display:flex}.stat-preview-bars i{background:var(--accent);opacity:.22;border-radius:4px 4px 2px 2px;flex:1}.stat-preview-bars i:first-child{height:34%}.stat-preview-bars i:nth-child(2){height:52%}.stat-preview-bars i:nth-child(3){height:44%}.stat-preview-bars i:nth-child(4){opacity:1;height:78%}.stat-preview-bars i:nth-child(5){height:64%}.stat-preview-bars i:nth-child(6){height:88%}.btn{cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:600;line-height:1.2;text-decoration:none;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.btn:hover{text-decoration:none}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-dark)}.btn-secondary{background:var(--neutral-bg);color:var(--neutral-fg);border-color:#0000}.btn-secondary:hover:not(:disabled){background:#e7ebf5}.btn-accent-2{background:var(--accent-2);color:#fff}.btn-accent-2:hover:not(:disabled){background:var(--accent-2-dark)}.btn-accent-2-soft{background:var(--accent-2-soft);color:var(--accent-2-dark);border-color:#bfe0e8}.btn-accent-2-soft:hover:not(:disabled){background:var(--accent-2);border-color:var(--accent-2);color:#fff}.btn-compact{padding:6px 12px;font-size:13px}.btn-ghost{color:var(--neutral-fg);background:0 0;font-weight:700}.btn-ghost:hover:not(:disabled){background:var(--neutral-bg);color:var(--neutral-fg)}.btn-block{width:100%}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 1px 2px #1018280a}.welcome-card{margin-top:12px}.welcome-head{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.welcome-head h2{margin:0 0 2px;font-size:22px}.welcome-head p{font-size:14px}.welcome-head .role-badge{margin-left:auto}.avatar{background:var(--accent-soft);width:42px;height:42px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.avatar-small{width:30px;height:30px;font-size:12px}.action-row{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.feature-list{gap:12px;margin:18px 0 0;padding:0;list-style:none;display:grid}.feature-list li{color:var(--muted);align-items:flex-start;gap:10px;display:flex}.feature-list svg{color:var(--ok);flex:none;margin-top:2px}.muted{color:var(--muted)}.hint{color:var(--muted);margin-top:12px;font-size:13px}code{background:var(--surface-2);border-radius:5px;padding:2px 5px;font-family:ui-monospace,Consolas,monospace;font-size:.9em}.auth-page{justify-content:center;padding:16px 0;display:flex}.auth-card{width:min(440px,100%)}.auth-card h1{margin:12px 0 6px;font-size:30px}.form{gap:16px;margin-top:20px;display:grid}.field{gap:6px;display:grid}.label{font-size:14px;font-weight:600}.input{border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:10px;outline:none;padding:11px 12px}.input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #4f46e51f}.select{appearance:auto}.role-select{min-width:160px;padding:8px 10px}.alert{border-radius:10px;padding:10px 12px;font-size:14px}.alert-error{color:#b42318;background:#fef2f2;border:1px solid #fecdca}.alert-success{color:#067647;background:#ecfdf3;border:1px solid #abefc6}.auth-switch{color:var(--muted);text-align:center;margin-top:18px;font-size:14px}.role-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:3px 8px;font-size:12px;font-weight:600;display:inline-flex}.role-super{color:#5925dc;background:#f4f3ff}.role-admin{background:var(--accent-soft);color:#3538cd}.role-creator{color:#067647;background:#ecfdf3}.role-trial{color:#4338ca;background:#eef2ff}.role-user{color:#475467;background:#f2f4f7}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px;display:flex}.page-header h1{margin:8px 0 6px;font-size:34px}.test-title-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.test-title-row h1{margin-right:4px}.table-card{padding:0;overflow:hidden}.table-wrap{overflow-x:auto}.users-table{border-collapse:collapse;width:100%;min-width:720px}.users-table th,.users-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;padding:14px 16px}.users-table th{background:var(--surface-2);color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px}.users-table tr:last-child td{border-bottom:none}.user-cell{align-items:center;gap:10px;display:flex}.mono{font-family:ui-monospace,Consolas,monospace;font-size:13px}.empty-state{color:var(--muted);text-align:center;place-items:center;gap:8px;padding:56px 24px;display:grid}.empty-state h1,.empty-state h2{color:var(--text);margin:0}.empty-state p{max-width:540px}.page-loading{color:var(--muted);text-align:center;padding:48px}.status-line{color:var(--muted);align-items:center;gap:8px;margin-top:20px;font-size:14px;display:inline-flex}.dot{background:#98a2b3;border-radius:50%;width:9px;height:9px}.dot-ok{background:var(--ok)}.dot-error{background:var(--error)}.site-footer{border-top:1px solid var(--border);background:var(--surface)}.footer-inner{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:12px;padding:18px 0;font-size:13px;display:flex}.test-form{margin-bottom:24px}.test-form h2{margin:0 0 4px}.test-form>p{margin-bottom:4px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.form-span-2{grid-column:1/-1}.textarea{resize:vertical;min-height:84px}.scale-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.scale-item{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:flex}.scale-item .input{padding:8px}.checkbox-row{flex-wrap:wrap;gap:18px;margin-top:18px;display:flex}.checkbox{color:var(--muted);cursor:pointer;align-items:center;gap:8px;font-size:14px;display:inline-flex}.checkbox input{width:16px;height:16px;accent-color:var(--accent)}.form-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.test-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;display:grid}.test-card{display:block;position:relative}.test-card>.test-badges,.test-card>.test-meta-grid,.test-card>.test-actions-stack{margin-top:14px}.test-card-actions{float:right;grid-template-columns:repeat(2,34px);gap:2px;width:70px;margin:0 0 6px 12px;display:grid}.test-icon-btn{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;text-decoration:none;display:grid}.test-icon-btn:hover{background:var(--surface-2);color:var(--text)}.test-icon-btn:disabled{opacity:.4;cursor:default}.test-icon-btn-danger:hover{color:#b42318;background:#fee4e2}.test-card-head{display:block}.test-card-head>div{width:100%;min-width:0}.test-card-head p{clear:both}.test-card-head h2{margin:0 0 4px;font-size:19px}.test-card-head p{font-size:14px}.test-icon{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:12px;flex:none;place-items:center;display:grid}.test-badges{clear:both;flex-wrap:wrap;gap:6px;display:flex}.test-badge{border-radius:999px;align-items:center;padding:3px 8px;font-size:12px;font-weight:600;display:inline-flex}.mode-graded{background:var(--accent-soft);color:var(--accent)}.mode-ungraded{background:var(--ok-soft);color:var(--ok-fg)}.status-draft{background:var(--draft-bg);color:var(--draft-fg)}.status-published{background:var(--ok-soft);color:var(--ok-fg)}.test-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:13px;display:flex}.test-meta code{font-size:12px}.test-actions{flex-wrap:wrap;gap:8px;margin-top:auto;display:flex}.test-actions-stack{gap:8px;margin-top:auto;display:grid}.test-actions-stack .test-actions{margin-top:0}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:24px;display:grid}.stats-card{flex-direction:column;gap:4px;display:flex}.stats-card-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px}.stats-card-value{letter-spacing:-.03em;font-size:36px;font-weight:800;line-height:1.1}.stats-card-hint{color:var(--muted);font-size:13px}.stats-grades-card{min-width:220px}.grade-distribution{gap:6px;margin-top:6px;display:grid}.grade-row{grid-template-columns:18px 1fr 28px;align-items:center;gap:8px;font-size:13px;display:grid}.grade-label{font-weight:700}.grade-track{background:#eef0f3;border-radius:999px;height:8px;overflow:hidden}.grade-fill{background:var(--accent);border-radius:999px;height:100%}.grade-count{color:var(--muted);text-align:right}.stats-section{margin-top:26px}.stats-section-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px;display:flex}.stats-section-head h2{margin:0;font-size:22px}.question-stats-list{gap:10px;display:grid}.question-stat{flex-direction:column;gap:8px;display:flex}.question-stat-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.question-stat-head h3{margin:2px 0 0;font-size:17px}.question-stat-head strong{color:var(--accent);font-size:20px}.question-stat-track{background:#eef0f3;border-radius:999px;height:8px;overflow:hidden}.question-stat-fill{background:var(--accent);border-radius:999px;height:100%}.question-stat-meta{color:var(--muted);justify-content:space-between;gap:8px;font-size:12px;display:flex}.attempt-summary-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:12px 0 6px;display:grid}.attempt-summary-grid>div{flex-direction:column;gap:2px;display:flex}.attempt-summary-grid strong{font-size:15px}.editor-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.back-link{color:var(--accent-2-dark);border-radius:10px;align-items:center;gap:6px;margin-left:-10px;padding:6px 10px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.back-link:hover{background:var(--accent-2-soft);color:var(--accent-2-dark);text-decoration:none}.meta-badge{background:var(--neutral-bg);color:var(--muted)}.question-list{gap:16px;display:grid}.question-card{flex-direction:column;gap:14px;display:flex}.question-card-head{align-items:flex-start;gap:12px;display:flex}.question-number{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.question-title-block{flex:1;min-width:0}.question-title-block h2{margin:2px 0 6px;font-size:18px}.question-title-block p{font-size:14px}.question-type{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:6px;font-size:12px;display:inline-flex}.type-card{border:1.5px solid var(--border);background:var(--surface);color:var(--text);text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:9px;padding:12px 13px;font-size:12.5px;font-weight:600;line-height:1.25;transition:background .15s,border-color .15s,color .15s;display:flex}.type-card svg{color:var(--accent);flex:none}.type-card:hover:not(:disabled){background:var(--neutral-bg)}.type-card.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dark)}.type-card:disabled{cursor:default}.type-card:disabled:not(.active){background:var(--surface-2);color:var(--muted)}.type-card:disabled:not(.active) svg{color:var(--muted)}@media (width<=900px){.type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.type-grid{grid-template-columns:1fr}}.question-actions{flex-wrap:wrap;gap:4px;display:flex}.question-options{gap:6px;margin:0;padding:0;list-style:none;display:grid}.option-line{border:1px solid var(--border);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:14px;display:flex}.option-line.correct{background:#ecfdf3;border-color:#abefc6}.option-check{color:#fff;background:#e4e7ec;border-radius:50%;flex:none;place-items:center;width:18px;height:18px;display:grid}.option-line.correct .option-check{background:var(--ok)}.question-form{margin-bottom:24px}.options-field{margin-top:16px}.option-editor-list{gap:8px;margin-top:8px;display:grid}.option-row{grid-template-columns:24px minmax(0,1fr) 38px;align-items:center;gap:8px;display:grid}.option-correct-toggle{place-items:center;display:grid}.option-correct-toggle input{width:16px;height:16px;accent-color:var(--ok)}.option-remove{color:var(--muted);padding:8px}.option-add{margin-top:8px}.order-number{background:var(--accent-soft);width:26px;height:26px;color:var(--accent);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;display:inline-grid}.order-number.small{width:22px;height:22px;font-size:12px}.ordering-edit-list{gap:8px;margin-top:8px;display:grid}.ordering-edit-row{grid-template-columns:26px minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.ordering-edit-row>.order-number{margin-top:6px}.ordering-edit-main{gap:8px;min-width:0;display:grid}.ordering-edit-controls{gap:2px;display:flex}.ordering-edit-controls .btn{padding:8px}.ordering-item-tools{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.ordering-upload{justify-self:start}.ordering-image-preview{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ordering-image-preview img{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:8px;width:160px;height:auto}.ordering-thumb{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:8px;flex:none;width:120px;height:auto}.ordering-preview-item{align-items:center}.ordering-preview-body{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.move-picker{border:1px dashed var(--border);color:var(--muted);background:#f9fafb;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 10px;font-size:13px;display:flex}.move-chip{border:1px solid var(--border);min-width:30px;height:30px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;padding:0 8px;font-weight:600}.move-chip:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.move-chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.move-chip:disabled{opacity:.6;cursor:not-allowed}.question-move-picker{margin:-4px 0 12px}.matching-edit-list{gap:8px;margin-top:8px;display:grid}.matching-edit-row{grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.matching-edit-fields{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:8px;display:grid}.matching-edit-side{gap:6px;min-width:0;display:grid}.matching-edit-arrow,.matching-preview-arrow{color:var(--muted);font-weight:600}.matching-preview-row{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex}.matching-preview-side{flex-direction:column;flex:1 1 0;align-items:flex-start;gap:4px;min-width:0;display:flex}.matching-thumb{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:8px;width:96px;height:auto}.matching-preview-row{align-items:center}.matching-preview-side .matching-thumb{object-fit:contain;object-position:center;align-self:center;width:100%;max-width:220px;max-height:160px}.matching-edit-side .ordering-image-preview{width:100%}.matching-edit-side .ordering-image-preview img{aspect-ratio:auto;object-fit:contain;object-position:center;width:100%;max-height:220px}.matching-player{gap:12px;margin-top:8px;display:grid}.matching-player>.muted{margin:0}.matching-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.matching-column{align-content:start;gap:8px;min-width:0;display:grid}.matching-item{border:1px solid var(--border);width:100%;color:var(--text);text-align:left;cursor:pointer;background:#fff;border-radius:12px;gap:4px;padding:12px 14px;transition:border-color .15s,background .15s;display:grid}.matching-item:hover{border-color:var(--accent-ring);background:#f8faff}.matching-item.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.matching-item.matched{border-color:var(--accent-ring);background:#f8faff}.matching-item.match-correct{background:#d1fadf;border-color:#12b76a;box-shadow:inset 0 0 0 2px #12b76a}.matching-item.match-wrong{background:#fee4e2;border-color:#f04438;box-shadow:inset 0 0 0 2px #f04438}.matching-image{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:8px;width:100%;height:auto}.matching-item-text{overflow-wrap:anywhere;font-size:14px;line-height:1.35}.matching-assigned{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.3}.matching-progress{margin:0}.matching-board{border:1px solid var(--border);-webkit-user-select:none;user-select:none;background-color:#fbfcfe;background-image:radial-gradient(#e4e7ec 1px,#0000 1px);background-size:22px 22px;border-radius:16px;width:100%;height:clamp(520px,100vh - 300px,900px);position:relative;overflow:hidden}.matching-board>.matching-box{z-index:1;cursor:grab;touch-action:none;position:absolute}.matching-box{border:1px solid var(--border);background:#fff;border-radius:12px;gap:6px;width:250px;max-width:100%;padding:8px;display:grid;box-shadow:0 4px 14px #0f172a1f}.matching-box-left{border-color:var(--accent-ring)}.matching-box-right{border-color:#fed7aa}.matching-box-tag{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:600}.matching-box-grip{color:#98a2b3;cursor:grab;touch-action:none;justify-content:center;align-items:center;margin:-2px 0 0;display:flex}.matching-image-wrap{place-items:center;width:100%;display:grid;position:relative}.matching-box .matching-image{object-fit:contain;object-position:center;cursor:grab;width:100%}.matching-zoom-btn{border:1px solid var(--border);color:var(--text);font:inherit;cursor:zoom-in;background:#fffffff0;border-radius:8px;align-items:center;gap:4px;padding:4px 8px;font-size:11px;font-weight:600;display:inline-flex;position:absolute;bottom:6px;right:6px;box-shadow:0 2px 8px #0f172a29}.matching-zoom-btn:hover{border-color:var(--accent);color:var(--accent)}.matching-box.dragging,.matching-group.dragging{z-index:60;cursor:grabbing;box-shadow:0 18px 40px #0f172a47}.matching-group{z-index:2;cursor:grab;touch-action:none;width:250px;display:grid;position:absolute}.matching-group .matching-box{width:250px;max-width:100%;box-shadow:none;border-radius:0}.matching-group .matching-box-left{border-radius:12px 12px 0 0}.matching-group .matching-box-right{border-radius:0 0 12px 12px}.matching-group .matching-image{cursor:grab}.matching-pair-line{background:var(--accent);width:100%;height:4px}.matching-group.match-correct .matching-pair-line{background:#067647}.matching-group.match-wrong .matching-pair-line{background:#b42318}.matching-group.match-correct .matching-box{background:#d1fadf;border-color:#12b76a;box-shadow:inset 0 0 0 2px #12b76a}.matching-group.match-wrong .matching-box{background:#fee4e2;border-color:#f04438;box-shadow:inset 0 0 0 2px #f04438}.matching-unlink{z-index:3;border:1px solid var(--border);width:24px;height:24px;color:var(--muted);cursor:pointer;background:#fff;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:-10px;right:-10px}.matching-unlink:hover{color:#b42318;border-color:#fecdca}.player-shell:fullscreen .matching-board{height:calc(100vh - 210px)}.matching-result-row{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex}.matching-result-side{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.sorting-columns-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.sorting-column-edit{border:1px solid var(--border);background:#fff;border-radius:10px;gap:8px;padding:10px;display:grid}.sorting-column-head{grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.sorting-items-editor{gap:8px;margin-top:8px;display:grid}.sorting-item-edit{grid-template-columns:26px minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.sorting-item-edit>.order-number{margin-top:6px}.sorting-item-main{grid-template-columns:minmax(0,1fr) 190px;align-items:start;gap:8px;min-width:0;display:grid}.sorting-item-main>.ordering-upload,.sorting-item-main>.ordering-image-preview{grid-column:1/-1}.sorting-preview{gap:10px;display:grid}.sorting-preview-columns{flex-wrap:wrap;gap:8px;display:flex}.sorting-preview-column{border:1px solid var(--border);border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:13px;display:inline-flex}.sorting-preview-column .matching-thumb{width:40px}.sorting-preview-item{align-items:center}.sorting-preview-target{color:var(--muted);margin-left:auto;font-size:12px}.fill-blanks-list{gap:8px;margin-top:10px;display:grid}.fill-blank-edit{border:1px solid var(--border);background:#fff;border-radius:10px;gap:6px;padding:10px;display:grid}.fill-blank-head{align-items:center;gap:8px;display:flex}.fill-blank-head strong{font-size:13px}.fill-blank-head .icon-btn{margin-left:auto}.fill-blanks-preview{gap:6px;display:grid}.fill-blanks-preview p{white-space:pre-wrap;margin:0}.fill-blanks-player{gap:8px;margin-top:8px;display:grid}.fill-blanks-player>.muted{margin:0}.fill-media-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.fill-media-box{border:1px solid var(--border);background:#f9fafb;border-radius:12px;gap:10px;padding:12px;display:grid}.fill-media-box .hint{margin:0}.fill-audio-player{width:100%}.fill-video-url{max-width:520px}.fill-video-preview{justify-items:start;gap:8px;display:grid}.fill-media-actions{flex-wrap:wrap;gap:8px;display:flex}.fill-video-preview video{background:#000;border-radius:10px;width:100%;max-height:360px}.fill-media-player{background:#000;border-radius:10px;width:100%;max-height:420px}audio.fill-media-player{background:0 0;max-height:none}.fill-text{white-space:pre-wrap;line-height:2.2}.fill-input{width:140px;margin:0 4px;padding:6px 8px;display:inline-block}.fill-blank{width:auto;min-width:130px;margin:0 4px;display:inline-block}.fill-correct{background:#ecfdf3;border-color:#abefc6;box-shadow:inset 0 0 0 1px #abefc6}.fill-wrong{background:#fef2f2;border-color:#fecdca;box-shadow:inset 0 0 0 1px #fecdca}.fill-result-row{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.fill-result-index{color:var(--muted);font-size:12px}.fill-result-user{font-weight:600}.fill-result-correct{color:#067647;margin-left:auto;font-size:12px}.hotspot-upload-preview{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hotspot-upload-preview img{aspect-ratio:4/3;border:1px solid var(--border);object-fit:contain;background:#f2f4f7;border-radius:10px;width:220px;max-width:100%}.hotspot-canvas{-webkit-user-select:none;user-select:none;cursor:crosshair;width:min(720px,100%);margin:10px auto 0;position:relative}.hotspot-canvas img{border:1px solid var(--border);background:#f2f4f7;border-radius:12px;width:100%;display:block}.hotspot-pin{background:var(--accent);color:#fff;cursor:grab;touch-action:none;z-index:2;border:2px solid #fff;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;font-size:17px;font-weight:700;line-height:1;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:0 4px 12px #0f172a4d}.hotspot-pin.selected{outline:3px solid var(--accent-ring);background:#4338ca}.hotspot-pin-wrap{z-index:2;width:0;height:0;position:absolute}.hotspot-pin-wrap .hotspot-pin{top:0;left:0}.hotspot-answer-label{border:1px solid var(--border);max-width:170px;color:var(--text);pointer-events:none;white-space:normal;background:#fff;border-radius:8px;padding:4px 8px;font-size:18px;line-height:1.25;position:absolute;top:50%;left:22px;transform:translateY(-50%);box-shadow:0 2px 8px #0f172a29}.hotspot-answer-label.label-left{text-align:right;left:auto;right:22px}.hotspot-answer-label.correct{color:#05603a;background:#d1fadf;border-color:#12b76a}.hotspot-answer-label.wrong{color:#912018;background:#fee4e2;border-color:#f04438}.hotspot-points-list{gap:10px;margin-top:12px;display:grid}.hotspot-point-edit{border:1px solid var(--border);background:#fff;border-radius:10px;gap:8px;padding:10px;display:grid}.hotspot-point-edit.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.hotspot-point-head{align-items:center;gap:8px;display:flex}.hotspot-point-head .icon-btn{margin-left:auto}.hotspot-preview-canvas{cursor:default;max-width:420px}.hotspot-preview-canvas .hotspot-pin{cursor:default;width:28px;height:28px;font-size:11px}.hotspot-player{gap:8px;margin-top:8px;display:grid}.hotspot-player>.muted{margin:0}.hotspot-player-canvas{cursor:default}.hotspot-pin.answered{background:#2563eb}.hotspot-pin.hotspot-correct{background:#067647}.hotspot-pin.hotspot-wrong{background:#b42318}.hotspot-modal-backdrop{z-index:90;background:#0f172a99;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.hotspot-modal{background:#fff;border-radius:16px;width:min(520px,100%);max-height:82vh;padding:18px;overflow:auto;box-shadow:0 24px 70px #0f172a59}.hotspot-modal h3{margin:8px 0 12px}.hotspot-modal-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.hotspot-result-row{align-items:flex-start;gap:8px;display:flex}.hotspot-result-main{gap:3px;min-width:0;display:grid}.timeline-events-editor{gap:8px;margin-top:8px;display:grid}.timeline-event-edit{border:1px solid var(--border);background:#fff;border-radius:10px;gap:6px;padding:10px;display:grid}.timeline-value-input{gap:4px;display:grid}.timeline-value-input .label{font-size:12px}.timeline-event-head{align-items:center;gap:8px;display:flex}.timeline-event-controls{gap:2px;margin-left:auto;display:flex}.timeline-preview-item{align-items:center}.timeline-player-new{gap:10px;margin-top:8px;display:grid}.timeline-player-new>.muted{margin:0}.timeline-board{border:1px solid var(--border);-webkit-user-select:none;user-select:none;background-color:#fbfcfe;background-image:radial-gradient(#e4e7ec 1px,#0000 1px);background-size:22px 22px;border-radius:16px;width:100%;height:clamp(520px,100vh - 300px,900px);position:relative;overflow:hidden}.timeline-canvas{width:100%;height:100%;position:relative}.timeline-board-mobile{border-left:0;border-right:0;border-radius:0;width:100vw;max-width:100vw;height:auto;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);overflow:visible}.timeline-line{z-index:1;background:var(--accent-ring);border-radius:999px;width:auto;height:3px;position:absolute;inset:32px 8% auto}.timeline-board-mobile .timeline-line{width:3px;height:auto;inset:90px 34px 90px auto}.timeline-connector{z-index:2;pointer-events:none;position:absolute}.timeline-connector.left{background:var(--accent);width:28px;height:3px;right:50%;transform:translateY(-50%)}.timeline-connector.right{background:var(--accent);width:28px;height:3px;left:50%;transform:translateY(-50%)}.timeline-connector.above{background:var(--accent);width:3px;height:28px;left:50%;transform:translate(-50%,-100%)}.timeline-connector.below{background:var(--accent);width:3px;height:28px;left:50%;transform:translate(-50%)}.timeline-marker{z-index:4;background:var(--accent);color:#fff;border:3px solid #fff;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 5px;display:grid;position:absolute;top:32px;right:auto;transform:translate(-50%)}.timeline-board-mobile .timeline-marker{top:auto;right:22px;transform:translateY(-50%)}.timeline-marker-number{line-height:1}.timeline-links{z-index:2;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.timeline-links line{stroke:var(--accent);stroke-width:1.2px;stroke-linecap:round;opacity:.45}.timeline-canvas>.timeline-box{z-index:3;cursor:grab;touch-action:none;position:absolute}.timeline-box-active,.timeline-canvas>.timeline-box.timeline-box-active{z-index:20}.timeline-canvas>.timeline-box.dragging{z-index:60}.timeline-box-assigned{border-color:var(--accent-ring)}.timeline-unlink{z-index:6;width:24px;height:24px;color:var(--error);cursor:pointer;background:#fff5f5;border:1px solid #fecdca;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:6px;right:6px}.timeline-unlink:hover{background:#fee4e2}.timeline-box-caption{color:var(--muted);font-size:12px;font-weight:600}.timeline-box-correct{background:#d1fadf;border-color:#12b76a;box-shadow:0 4px 14px #12b76a47,inset 0 0 0 2px #12b76a}.timeline-box-wrong{background:#fee4e2;border-color:#f04438;box-shadow:0 4px 14px #f044383d,inset 0 0 0 2px #f04438}.player-shell:fullscreen .timeline-board{height:calc(100vh - 210px)}.timeline-player{gap:8px;margin-top:8px;display:grid}.timeline-player>.muted{margin:0}.timeline-track{scroll-snap-type:x proximity;gap:10px;padding-bottom:6px;display:flex;overflow-x:auto}.timeline-card{border:1px solid var(--border);scroll-snap-align:start;background:#fff;border-radius:12px;flex-direction:column;flex:0 0 220px;gap:8px;padding:10px;display:flex}.timeline-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.timeline-caption{color:var(--muted);font-size:12px;font-weight:600}.timeline-image{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:8px;width:100%;height:auto}.timeline-card p{margin:0;font-size:14px;line-height:1.35}.timeline-card-actions{flex-wrap:wrap;gap:4px;margin-top:auto;display:flex}.timeline-card.timeline-correct{background:#ecfdf3;border-color:#abefc6;box-shadow:inset 0 0 0 1px #abefc6}.timeline-card.timeline-wrong{background:#fef2f2;border-color:#fecdca;box-shadow:inset 0 0 0 1px #fecdca}@media (width<=600px){.timeline-card{flex-basis:82%}}@media (width<=520px){.fill-input{width:110px}}@media (width<=700px){.sorting-columns-editor,.sorting-item-main{grid-template-columns:minmax(0,1fr)}}.sorting-player{gap:12px;margin-top:8px;display:grid}.sorting-player>.muted{margin:0}.sorting-pool{border:1px dashed var(--border);background:#f9fafb;border-radius:12px;flex-wrap:wrap;gap:8px;min-height:60px;padding:10px;display:flex}.sorting-pool-item{border:1px solid var(--border);width:150px;color:var(--text);text-align:left;cursor:pointer;background:#fff;border-radius:10px;flex-direction:column;gap:4px;padding:8px;display:flex}.sorting-pool-item.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.sorting-image{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:6px;width:100%;height:auto}.sorting-pool-empty{align-self:center;margin:0}.sorting-columns-player{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;display:grid}.sorting-column-player{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:12px;flex-direction:column;gap:8px;min-height:140px;padding:10px;display:flex}.sorting-column-player.ready{border-color:var(--accent-ring);background:#f8faff}.sorting-column-title{flex-direction:column;align-items:stretch;gap:8px;font-size:14px;font-weight:600;display:flex}.sorting-pool-item .matching-image-wrap,.sorting-placed .matching-image-wrap,.sorting-column-title .matching-image-wrap{width:100%}.sorting-pool-item .matching-image,.sorting-placed .matching-image,.sorting-column-title .matching-image{object-fit:contain;object-position:center;border:1px solid var(--border);background:#f2f4f7;border-radius:6px;width:100%;max-height:200px}.sorting-column-edit .ordering-image-preview,.sorting-item-edit .ordering-image-preview{width:100%}.sorting-column-edit .ordering-image-preview img,.sorting-item-edit .ordering-image-preview img{aspect-ratio:auto;object-fit:contain;object-position:center;width:100%;max-height:220px}.sorting-preview .matching-thumb{object-fit:contain;object-position:center;width:100%;max-width:220px;max-height:160px}.sorting-column-image{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:6px;flex:none;width:48px;height:auto}.sorting-column-body{flex-direction:column;gap:6px;min-height:60px;display:flex}.sorting-placed{border:1px solid var(--border);color:var(--text);text-align:left;cursor:pointer;background:#fff;border-radius:8px;gap:6px;padding:6px;display:grid}.sorting-placed.sorting-correct{background:#ecfdf3;border-color:#abefc6;box-shadow:inset 0 0 0 1px #abefc6}.sorting-placed.sorting-wrong{background:#fef2f2;border-color:#fecdca;box-shadow:inset 0 0 0 1px #fecdca}.sorting-progress{margin:0}.sorting-result-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sorting-result-item{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.sorting-result-arrow{color:var(--muted);font-weight:600}.sorting-result-column{font-weight:600}.sorting-result-correct{color:#067647;margin-left:auto;font-size:12px}@media (width<=520px){.matching-edit-fields{grid-template-columns:minmax(0,1fr)}.matching-edit-arrow{display:none}.matching-columns{gap:8px}.matching-item{padding:10px}}.ordering-preview{margin-top:8px}.ordering-board{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-top:8px;display:grid}.ordering-board .ordering-hint{grid-column:1/-1;margin:0}.order-box{border:1px solid var(--border);cursor:grab;background:#fff;border-radius:12px;flex-direction:column;gap:8px;padding:10px;transition:border-color .15s,box-shadow .15s,opacity .15s;display:flex}.order-box:active{cursor:grabbing}.order-box.dragging{opacity:.45}.order-box.drag-over{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-ring)}.order-box-head{justify-content:space-between;align-items:center;display:flex}.drag-handle{color:var(--muted);letter-spacing:1px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;font-size:16px}.order-image-button{cursor:zoom-in;background:0 0;border:0;width:100%;padding:0;display:block}.order-caption{overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.35}.order-box-actions{justify-content:flex-end;margin-top:auto;display:flex}.order-box .order-move-btn{width:100%}.order-box.order-correct{background:#ecfdf3;border-color:#abefc6;box-shadow:inset 0 0 0 1px #abefc6}.order-box.order-wrong{background:#fef2f2;border-color:#fecdca;box-shadow:inset 0 0 0 1px #fecdca}.ordering-hint{margin:0}.lightbox{z-index:100;cursor:zoom-out;background:#0f172ac7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.confirm-check{z-index:1000;background:#0f172a8c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-check-dialog{background:#fff;border-radius:16px;gap:12px;width:min(440px,100%);padding:22px;display:grid;box-shadow:0 24px 70px #0f172a59}.confirm-check-dialog h3{margin:0}.confirm-check-dialog p{color:var(--muted);margin:0;line-height:1.5}.confirm-check-dialog .form-actions{margin-top:4px}.lightbox img{cursor:default;background:#fff;border-radius:12px;max-width:min(920px,100%);max-height:82vh;box-shadow:0 20px 60px #00000059}.lightbox-close{color:#101828;cursor:pointer;background:#ffffffeb;border:0;border-radius:50%;place-items:center;width:42px;height:42px;display:grid;position:fixed;top:18px;right:18px}.order-item{border:1px solid var(--border);background:#fff;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.order-text{flex:1;min-width:0}.order-controls{flex-direction:column;align-items:stretch;gap:4px;display:flex}.order-row{gap:6px;display:grid}.order-body{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.order-image{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:8px;width:100%;height:auto}.order-item.order-correct{background:#ecfdf3;border-color:#abefc6;box-shadow:inset 0 0 0 1px #abefc6}.order-item.order-wrong{background:#fef2f2;border-color:#fecdca;box-shadow:inset 0 0 0 1px #fecdca}.order-move-btn{white-space:nowrap;padding:4px 6px;font-size:12px}.icon-btn.danger{color:#b42318;border-color:#fecdca}.icon-btn{border:1px solid var(--border);width:30px;height:26px;color:var(--muted);cursor:pointer;background:#fff;border-radius:8px;place-items:center;padding:0;display:grid}.icon-btn:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.icon-btn:disabled{opacity:.4;cursor:not-allowed}@media (width<=600px){.ordering-edit-row{grid-template-columns:26px minmax(0,1fr)}.ordering-edit-controls{grid-column:2;justify-content:flex-end}.order-item{align-items:flex-start}.order-controls{flex-flow:wrap;justify-content:flex-end}.order-move-btn{width:100%}}.selection-row{flex-wrap:wrap;gap:8px;display:flex}.selection-option{border:1px solid var(--border);color:var(--muted);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:8px 10px;font-size:14px;display:inline-flex}.selection-option.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.selection-option input{accent-color:var(--accent)}.btn-ghost.danger{color:#b42318}.btn-ghost.danger:hover:not(:disabled){color:#912018;background:#fef2f2}.editor-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.player-shell{width:min(860px,100%);margin:0 auto}.player-shell-wide{width:min(1200px,100%)}.player-shell:fullscreen{background:var(--bg);width:100%;max-width:none;height:100%;margin:0;padding:20px 24px;overflow-y:auto}:is(.player-shell:fullscreen .question-block,.player-shell:fullscreen .player-top,.player-shell:fullscreen .player-progress,.player-shell:fullscreen .question-nav,.player-shell:fullscreen .player-nav){width:100%;max-width:none}.player-intro{flex-direction:column;gap:10px;display:flex}.player-intro h1{margin:4px 0 0;font-size:clamp(28px,4vw,30px)}.player-lock{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.player-lock svg{color:var(--accent)}.player-lock h2{margin:8px 0 6px}.player-name{max-width:420px;margin-top:18px}.player-user{color:var(--muted);margin-top:18px}.player-back{margin-top:12px}.player-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.player-top-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.fullscreen-btn{padding:6px 10px;font-size:13px}.player-progress{margin-bottom:18px}.progress-label{color:var(--muted);justify-content:space-between;margin-bottom:6px;font-size:13px;display:flex}.progress-track{background:#e4e7ec;border-radius:999px;height:8px;overflow:hidden}.progress-bar{background:var(--accent);border-radius:999px;height:100%;transition:width .2s}.question-nav{flex-wrap:wrap;gap:6px;margin:-4px 0 14px;display:flex}.question-nav-btn{border:1px solid var(--border);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:#fff;border-radius:8px;padding:0 8px;font-size:13px;font-weight:600}.question-nav-btn:hover{border-color:var(--accent);color:var(--accent)}.question-nav-btn.fixed{color:#15803d;background:#f0fdf4;border-color:#86efac}.question-nav-btn.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.question-nav-btn.correct{color:#05603a;background:#d1fadf;border-color:#12b76a}.question-nav-btn.wrong{color:#912018;background:#fee4e2;border-color:#f04438}.question-block{flex-direction:column;gap:12px;display:flex}.question-block h1{margin:0;font-size:24px;line-height:1.35}.answer-list{gap:10px;margin-top:8px;display:grid}.answer-option{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:12px;align-items:center;gap:10px;padding:14px 16px;transition:border-color .15s,background .15s;display:flex}.answer-option:hover{border-color:var(--accent-ring);background:#f8faff}.answer-option.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.answer-option.answer-correct{background:#d1fadf;border-color:#12b76a;box-shadow:inset 0 0 0 2px #12b76a}.answer-option.answer-wrong{background:#fee4e2;border-color:#f04438;box-shadow:inset 0 0 0 2px #f04438}.answer-option input{width:18px;height:18px;accent-color:var(--accent);flex:none}.check-row{flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px;display:flex}.check-next-btn{margin-left:auto}.feedback{align-items:center;gap:6px;font-size:14px;font-weight:600;display:inline-flex}.feedback-correct{color:var(--ok)}.feedback-wrong{color:var(--error)}.player-nav{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:4px;padding-top:12px;display:flex}.result-hero{flex-direction:column;gap:10px;display:flex}.result-hero h1{margin:4px 0 8px;font-size:clamp(26px,4vw,38px)}.result-score-row{flex-wrap:wrap;align-items:center;gap:22px;margin:10px 0;display:flex}.grade-ring{background:var(--accent-soft);width:110px;height:110px;color:var(--accent);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;display:flex}.grade-ring span{font-size:44px;font-weight:800;line-height:1}.grade-ring small{letter-spacing:.05em;text-transform:uppercase;font-size:12px}.result-percent{letter-spacing:-.03em;font-size:34px;font-weight:800}.result-count{color:var(--accent);font-size:44px;font-weight:800;line-height:1}.result-count span{color:var(--muted);font-size:20px;font-weight:600}.result-message{font-size:20px;font-weight:600}.result-list{gap:14px;margin-top:18px;display:grid}.result-question{flex-direction:column;gap:14px;display:flex}.result-question-head{align-items:flex-start;gap:12px;display:flex}.result-question-head h3{margin:2px 0 0;font-size:18px}.result-icon{border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid}.result-icon.correct{color:var(--ok);background:#ecfdf3}.result-icon.wrong{color:var(--error);background:#fef2f2}.result-answer-block{gap:6px;display:grid}.result-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px}.result-options{gap:6px;margin:0;padding:0;list-style:none;display:grid}.result-option{border:1px solid var(--border);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:14px;display:flex}.result-option.correct{color:#05603a;background:#d1fadf;border-color:#12b76a;box-shadow:inset 0 0 0 1px #12b76a}.result-option.wrong{color:#912018;background:#fee4e2;border-color:#f04438;box-shadow:inset 0 0 0 1px #f04438}.result-order-body{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.result-order-image{aspect-ratio:4/3;border:1px solid var(--border);object-fit:cover;background:#f2f4f7;border-radius:6px;width:96px;height:auto}.result-order-caption{color:var(--muted);font-size:12px}.catalog-section{margin:8px 0 28px}.catalog-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:14px;display:flex}.catalog-head h2{margin:6px 0 4px;font-size:28px}.catalog-controls{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:10px;margin-bottom:12px;display:grid}.catalog-controls>*{width:100%;min-width:0}.catalog-search-right{margin-left:0}.catalog-search-wrap{align-items:center;display:flex;position:relative}.catalog-search-wrap svg{color:var(--muted);pointer-events:none;position:absolute;left:12px}.catalog-search{width:100%;min-width:0;padding-left:36px}.catalog-sort{width:100%;min-width:0}.category-chips{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.category-chip{border:1px solid var(--border);color:var(--muted);cursor:pointer;background:#fff;border-radius:999px;padding:7px 12px;font-size:13px}.category-chip:hover{border-color:var(--accent-ring);color:var(--text)}.category-chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:600}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin-top:18px;display:flex}.pagination-info{width:100%;color:var(--muted);text-align:center;margin-bottom:4px;font-size:13px}.pagination-page{border:1px solid var(--border);min-width:36px;height:36px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;padding:0 8px;font-weight:600}.pagination-page:hover{border-color:var(--accent);color:var(--accent)}.pagination-page.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.catalog-card{flex-direction:column;gap:2px;display:flex}.catalog-card-top{flex-wrap:wrap;gap:6px;display:flex}.catalog-card h3{letter-spacing:-.02em;margin:2px 0 0;font-size:18px}.catalog-card p{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:14px;display:-webkit-box;overflow:hidden}.catalog-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:auto;font-size:13px;display:flex}.test-meta-grid{border-top:1px solid var(--border);color:var(--muted);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px 16px;padding-top:10px;font-size:13px;display:grid}.catalog-card .test-meta-grid{margin-top:auto}.test-meta-cell{gap:2px;min-width:0;display:grid}.test-meta-label{letter-spacing:.05em;text-transform:uppercase;font-size:11px}.test-meta-author{color:var(--text);overflow-wrap:anywhere;font-weight:600}.test-meta-right{text-align:right;white-space:nowrap;justify-items:end}.test-copy-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.catalog-card .btn{margin-top:4px}.category-create{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:18px;display:flex}.category-create-field{flex:1;min-width:240px}.category-list{padding:8px 20px}.category-row{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.category-row:last-child{border-bottom:none}.category-name{font-weight:600}.category-actions{flex-wrap:wrap;gap:6px;display:flex}.category-edit-input{max-width:320px}.category-editor{align-items:center;gap:8px;margin-top:14px;display:flex}.category-editor .label{white-space:nowrap;margin:0}.category-editor .select{max-width:260px}@media (width<=860px){.header-inner{flex-wrap:wrap;gap:10px 12px;padding:10px 0}.menu-toggle{flex:none;order:3;display:grid}.main-nav{border-top:1px solid var(--border);flex-direction:column;order:4;align-items:stretch;gap:4px;width:100%;padding-top:8px;display:none;overflow:visible}.main-nav.menu-open{display:flex}.main-nav .nav-link{width:100%;padding:10px 12px}.header-actions{order:2;margin-left:auto}}@media (width<=520px){.user-chip>span:not(.role-badge){display:none}}@media (width<=600px){.container{width:min(100% - 32px,1120px)}.page{padding-top:24px}.hero{padding-top:16px}.hero p{font-size:16px}.card{padding:18px}.user-chip span:not(.role-badge){display:none}.welcome-head .role-badge{margin-left:0}.page-header h1{font-size:28px}.form-grid{grid-template-columns:1fr}.form-span-2{grid-column:auto}.scale-row,.test-grid{grid-template-columns:1fr}.question-card-head{flex-wrap:wrap}.question-actions{width:100%}.grade-ring{width:92px;height:92px}.grade-ring span{font-size:36px}.result-score-row{gap:16px}.catalog-controls{grid-template-columns:minmax(0,1fr);width:100%}.catalog-search{width:100%;min-width:0}.catalog-sort{width:100%}.catalog-grid{grid-template-columns:1fr}.category-editor{flex-wrap:wrap}.category-editor .select{width:100%;max-width:none}.category-actions{width:100%}.stats-grid{grid-template-columns:1fr}.stats-card-value{font-size:30px}.attempt-summary-grid{grid-template-columns:1fr}}.crossword-words-editor{gap:10px;display:grid}.crossword-word-edit{border:1px solid var(--border);background:#fff;border-radius:12px;gap:8px;padding:10px;display:grid}.crossword-word-head{align-items:center;gap:8px;display:flex}.crossword-word-head .muted{flex:1;font-size:13px}.crossword-answer{text-transform:uppercase;letter-spacing:.14em;font-weight:600}.crossword-editor .option-add{margin-top:10px}.crossword-preview{gap:14px;display:grid}.crossword-preview-grid{max-width:100%;display:inline-block;overflow-x:auto}.crossword-row{display:flex}.crossword-cell{flex:0 0 var(--crossword-cell,34px);width:var(--crossword-cell,34px);height:var(--crossword-cell,34px);border:1px solid var(--border);background:#fff;position:relative}.crossword-cell.blank{background:0 0;border-color:#0000}.crossword-cell.correct{background:#ecfdf3;border-color:#abefc6}.crossword-cell.wrong{background:#fef3f2;border-color:#fecdca}.crossword-cell-number{color:#667085;pointer-events:none;font-size:10px;line-height:1;position:absolute;top:1px;left:3px}.crossword-input{width:100%;height:100%;color:var(--text);font:inherit;text-align:center;text-transform:uppercase;background:0 0;border:0;outline:none;padding:0;font-weight:600}.crossword-input:focus{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.crossword-preview-grid .crossword-cell{--crossword-cell:26px;justify-content:center;align-items:center;font-size:12px;font-weight:600;display:flex}.crossword-preview-grid .crossword-cell-number{font-size:8px}.crossword-player{--crossword-cell:34px;gap:14px;margin-top:8px;display:grid}.crossword-player>.muted{margin:0}.crossword-grid{max-width:100%;display:inline-block;overflow-x:auto}.crossword-clues{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.crossword-clues h4{margin:0 0 6px}.crossword-clue-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.crossword-clue-list li{align-items:baseline;gap:8px;display:flex}.crossword-result-row{gap:2px;display:grid}@media (width<=520px){.crossword-player{--crossword-cell:28px}}.tests-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0;display:flex}.scope-tabs{border:1px solid var(--border);background:#f9fafb;border-radius:12px;padding:4px;display:inline-flex}.scope-tab{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:8px 14px;font-weight:600}.scope-tab.active{color:var(--text);background:#fff;box-shadow:0 1px 3px #1018281f}.tests-toolbar-left,.tests-toolbar-right{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tests-toolbar-right{flex:none;justify-content:flex-end;margin-left:auto}.status-tabs{border:1px solid var(--border);background:#f9fafb;border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:inline-flex}.status-tab{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px 11px;font-size:13px;font-weight:600}.status-tab.active{color:var(--text);background:#fff;box-shadow:0 1px 3px #1018281f}.tests-subject{min-width:190px}.tests-search{flex:1;min-width:260px;max-width:430px}.password-wrap{align-items:center;display:flex;position:relative}.password-wrap .input{width:100%;padding-right:42px}.password-toggle{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid;position:absolute;right:6px}.password-toggle:hover{color:var(--text);background:#f2f4f7}.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:8px 0 18px;display:grid}.price-card{align-content:start;gap:10px;padding:24px;display:grid}.price-period{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:14px;font-weight:600}.price-value{font-size:40px;font-weight:700;line-height:1}.price-card p{margin:0}.subscription-note{color:var(--muted);margin-top:4px;font-size:12px}.role-editor{gap:6px;min-width:210px;display:grid}.role-date{gap:4px;display:grid}.role-date .label{font-size:12px}.btn-sm{padding:6px 10px;font-size:13px}@media (width<=760px){.pricing-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=600px){.player-shell:fullscreen{padding:12px}}.tests-search .input,.users-search .input{width:100%;padding-left:36px}.test-author{color:var(--muted);margin:0;font-size:13px}.copy-link-btn{color:var(--muted);padding:4px 9px;font-size:13px}.copy-link-btn:hover{color:var(--text)}.users-search-row{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.users-search{width:min(430px,100%)}@media (width<=640px){.tests-toolbar{align-items:stretch}.tests-toolbar-left,.tests-toolbar-right{width:100%;margin-left:0}.tests-toolbar-right{justify-content:stretch}.tests-search{width:100%;min-width:0;max-width:none}.tests-subject{width:100%;min-width:0}.scope-tabs,.status-tabs{width:100%}.scope-tab,.status-tab{flex:1}}.brand-name{flex-direction:column;line-height:1.05;display:flex}.brand-name strong{letter-spacing:.01em;font-size:17px}.brand-name small{color:var(--muted);letter-spacing:.08em;margin-top:2px;font-size:10px;font-weight:600}.brand-mark svg{display:block}.user-menu-wrap{position:relative}.user-menu-trigger{cursor:pointer;font:inherit}.user-chip-name{text-overflow:ellipsis;white-space:nowrap;max-width:190px;overflow:hidden}.user-menu{z-index:30;border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:230px;padding:6px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 36px #10182829}.user-menu-head{border-bottom:1px solid var(--border);gap:2px;margin-bottom:4px;padding:9px 10px 10px;display:grid}.user-menu-head strong{font-size:14px}.user-menu-head span{color:var(--muted);text-overflow:ellipsis;font-size:12px;overflow:hidden}.user-menu-expired{color:#9a4f00;background:#fff4e5;border-radius:8px;margin:0 4px 4px;padding:6px 8px;font-size:12px;font-weight:600}.user-menu a,.user-menu button{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:9px 10px;font-size:14px;text-decoration:none;display:flex}.user-menu a:hover,.user-menu button:hover{background:var(--surface-2);text-decoration:none}.site-footer{margin-top:28px}.footer-inner{grid-template-columns:1.1fr .9fr 1fr;align-items:start;gap:28px;padding:26px 0;display:grid}.footer-brand,.footer-contacts,.footer-legal{color:var(--muted);flex-direction:column;align-items:flex-start;gap:7px;display:flex}.footer-brand .brand{margin-bottom:3px}.footer-contacts strong,.footer-legal strong{color:var(--text);font-size:14px}.footer-contacts a,.footer-legal-links a{color:var(--muted);text-decoration:none}.footer-contacts a:hover,.footer-legal-links a:hover{color:var(--text);text-decoration:underline}.footer-legal-links{flex-wrap:wrap;gap:10px 14px;margin-top:3px;display:flex}.eyebrow{display:none!important}.hero .eyebrow{display:inline-flex!important}@media (width<=760px){.footer-inner{grid-template-columns:1fr;gap:20px}.user-chip-name{max-width:110px}}.consent-check{color:var(--muted);align-items:flex-start;gap:9px;margin-top:14px;font-size:13px;line-height:1.45;display:flex}.consent-check input{width:17px;height:17px;accent-color:var(--accent);flex:none;margin-top:2px}.consent-check a{color:var(--accent)}.rights-check{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;padding:12px}.settings-page{gap:16px;max-width:760px;display:grid}.settings-card{gap:14px;display:grid}.settings-card h2{margin:0}.settings-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.settings-grid>div{gap:3px;min-width:0;display:grid}.settings-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.contacts-grid{grid-template-columns:.8fr 1.2fr;align-items:start;gap:16px;display:grid}.contact-info{gap:8px;display:grid}.contact-info h2{margin:0 0 4px}.contact-info a{color:var(--text);align-items:center;gap:7px;display:inline-flex}.legal-page{gap:7px;max-width:900px;line-height:1.6;display:grid}.legal-page h1{margin:0 0 4px}.legal-page h2{margin:16px 0 0;font-size:19px}.legal-page p{margin:0}.cookie-banner{z-index:40;border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:14px;width:min(760px,100% - 28px);padding:14px 16px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #10182829}.cookie-banner p{flex:1;font-size:13px}.cookie-actions{flex:none;gap:8px;display:flex}.cookie-block{z-index:60;background:#0f172a8c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.cookie-card{gap:10px;width:min(560px,100%);display:grid}.subscription-expired-alert{margin-bottom:16px}.subscription-expired-alert a{color:inherit;font-weight:700}@media (width<=760px){.settings-grid,.contacts-grid{grid-template-columns:1fr}.cookie-banner{flex-direction:column;align-items:stretch}.cookie-actions{justify-content:flex-end}}.report-hint{margin-top:10px}.report-link{color:var(--muted);font-size:13px;text-decoration:underline}.report-link:hover{color:var(--text)}.report-page{gap:14px;max-width:820px;margin:0 auto;display:grid}.report-success{gap:14px;max-width:620px;margin:40px auto;display:grid}.report-images{flex-wrap:wrap;gap:9px;display:flex}.report-image{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;width:118px;height:88px;position:relative;overflow:hidden}.report-image img{object-fit:cover;width:100%;height:100%}.report-image button{color:#fff;cursor:pointer;background:#0f172ab3;border:0;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;top:4px;right:4px}.report-upload{width:118px;height:88px;color:var(--muted);cursor:pointer;border:1px dashed #b8c2cc;border-radius:8px;place-items:center;gap:4px;font-size:12px;display:grid}.report-upload input{display:none}.report-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0;display:grid}.report-detail-grid>div{gap:3px;display:grid}.report-reason{background:var(--surface-2);white-space:pre-wrap;border-radius:10px;padding:14px}.notification-list,.admin-report-list{gap:10px;display:grid}.notification-item{color:var(--text);align-items:flex-start;gap:10px;padding:14px 16px;text-decoration:none;display:flex}.notification-item:hover{border-color:var(--accent-ring);text-decoration:none}.notification-item.read{opacity:.72}.notification-dot{background:var(--accent);border-radius:50%;flex:none;width:8px;height:8px;margin-top:7px}.notification-dot.read{background:#cbd5e1}.notification-main{gap:3px;min-width:0;display:grid}.notification-main span{color:var(--muted);font-size:14px}.notification-main small{color:var(--muted);font-size:12px}.notification-count{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:18px;height:18px;margin-left:auto;padding:0 5px;font-size:11px;font-weight:700;display:inline-grid}.notification-toast{z-index:45;border:1px solid var(--accent-ring);background:var(--accent-soft);max-width:380px;color:var(--text);border-radius:12px;align-items:flex-start;gap:9px;padding:12px 14px;text-decoration:none;display:flex;position:fixed;top:82px;right:20px;box-shadow:0 12px 30px #10182829}.notification-toast span{gap:2px;display:grid}.notification-toast strong{font-size:14px}.notification-toast span span{color:var(--muted);font-size:13px}.admin-report{gap:10px;display:grid}.admin-report-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-report-head p{margin:3px 0 0}.report-status{border-radius:999px;flex:none;padding:3px 8px;font-size:12px;font-weight:700}.report-status-new{color:#9a4f00;background:#fff4e5}.report-status-reviewed{color:#067647;background:#ecfdf3}.report-status-rejected{color:#475467;background:#f2f4f7}@media (width<=760px){.report-detail-grid{grid-template-columns:1fr}.notification-toast{max-width:none;top:72px;left:14px;right:14px}}.question-block.answer-locked .answer-list,.question-block.answer-locked .ordering-board,.question-block.answer-locked .matching-player,.question-block.answer-locked .sorting-player,.question-block.answer-locked .fill-blanks-player,.question-block.answer-locked .hotspot-player,.question-block.answer-locked .timeline-player-new,.question-block.answer-locked .crossword-player{pointer-events:none}.question-block.answer-locked .answer-option,.question-block.answer-locked .order-box,.question-block.answer-locked .matching-box,.question-block.answer-locked .sorting-item,.question-block.answer-locked .crossword-input{cursor:default}.answer-locked-note{color:var(--muted);font-size:13px;font-style:italic}@media (width<=980px){.hero{grid-template-columns:1fr;gap:32px;padding:32px 0 44px}.hero p{max-width:640px}.hero-visual{align-items:center}.hero-blob{display:none}.quiz-preview{max-width:520px}.stat-preview{align-self:flex-start;margin:-18px auto 0 0}}@media (width<=600px){.hero{padding-top:20px}.hero h1{font-size:clamp(30px,8.4vw,40px)}.hero-actions .btn{padding:13px 18px;font-size:14.5px}.quiz-preview{border-radius:20px;padding:18px}.quiz-question{font-size:17px}.stat-preview{width:210px;margin-left:0}}.player-timer{background:var(--accent-soft);color:var(--accent);font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:13px;font-weight:700;display:inline-flex}.player-timer-warning{color:var(--error);background:#fef2f2}.crossword-cell.fixed{background:#ecfdf3;border-color:#86efac}.crossword-cell.fixed .crossword-input{color:#15803d;font-weight:700}.crossword-clue{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:baseline;gap:8px;padding:5px 6px;font-size:14px;display:flex}.crossword-clue:hover,.crossword-clue.active{background:var(--accent-soft);color:var(--accent)}.stats-attempt-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.attempt-select-cell{text-align:center;width:38px}.attempt-select-cell input{width:16px;height:16px;accent-color:var(--accent)}.attempt-actions-cell{align-items:center;gap:8px;display:flex}.icon-btn.danger{color:var(--error)}.icon-btn.danger:hover{background:#fef2f2}.timeline-box-node{z-index:4;background:var(--surface-2);min-width:22px;color:var(--muted);text-align:center;border-radius:999px;padding:2px 6px;font-size:11px;font-weight:700;position:absolute;top:6px;left:8px}.timeline-box-node.near{background:var(--accent);color:#fff}.timeline-box-near{border-color:var(--accent-ring)}.question-type-icons{flex-wrap:wrap;gap:6px;margin:2px 0 4px;display:flex}.question-type-icon{border:1px solid var(--border);background:var(--surface-2);width:40px;height:40px;color:var(--accent);border-radius:8px;place-items:center;display:grid}.player-shell-immersive{z-index:900;background:var(--bg);width:100%;max-width:none;height:100%;margin:0;padding:20px 24px;position:fixed;inset:0;overflow-y:auto}.player-shell-immersive .question-block,.player-shell-immersive .player-top,.player-shell-immersive .player-progress,.player-shell-immersive .question-nav,.player-shell-immersive .player-nav{width:100%;max-width:none}p.expandable-text{-webkit-line-clamp:unset;display:block;overflow:visible}.text-expand{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px}.text-expand:hover{text-decoration:underline}.report-hint{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.report-hint .question-type-icons{flex:0 0 100%;margin:0}.player-description{white-space:pre-wrap;overflow-wrap:anywhere}.player-owner-actions{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.player-owner-actions .test-icon-btn{border:1px solid var(--border);width:100%;height:auto;min-height:40px;color:var(--text);text-align:center;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 10px;font-size:13px;font-weight:600;display:flex}.player-owner-actions .test-icon-btn:hover{border-color:var(--accent-ring);background:var(--surface-2)}@media (width<=600px){.player-owner-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.matching-box{text-align:center}.matching-box .matching-item-text{text-align:center;font-size:20px}.hotspot-modal .answer-option{font-size:22px}.home-page{gap:54px;display:grid}.hero-kicker{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.early-badge{color:#05603a;background:#dcfce7;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.hero-real{align-items:stretch}.hero-shot-frame{z-index:1;border:1px solid var(--border);background:#fff;border-radius:18px;width:100%;margin:0 auto;padding:8px;position:relative;box-shadow:0 18px 50px #0f172a24}.hero-shot-bar{color:var(--muted);align-items:center;gap:5px;padding:0 4px 8px;font-size:11px;display:flex}.hero-shot-bar span{background:#d0d5dd;border-radius:50%;width:7px;height:7px}.hero-shot-bar small{margin-left:auto}.hero-shot-frame img{border:1px solid var(--border);border-radius:10px;width:100%;height:auto;display:block}.hero-result-note{z-index:2;color:#067647;background:#ecfdf3;border-radius:999px;align-self:flex-end;align-items:center;gap:6px;margin:-12px 22px 0 0;padding:7px 12px;font-size:12px;font-weight:700;display:inline-flex;position:relative;box-shadow:0 6px 18px #0f172a1f}.home-section{gap:18px;display:grid}.section-head{gap:6px;max-width:760px;display:grid}.section-head h2{letter-spacing:-.02em;margin:0;font-size:clamp(24px,3vw,32px);line-height:1.15}.section-head p{margin:0;font-size:15px}.type-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.home-type-card{align-items:center;gap:12px;padding:16px;display:flex}.home-type-card:hover{background:var(--surface)}.home-type-card h3{margin:0 0 3px;font-size:15px}.home-type-card p{margin:0;font-size:12.5px;line-height:1.35}.home-type-text{min-width:0}.type-visual{width:56px;height:56px;color:var(--accent);background:linear-gradient(135deg,#eceafe,#f7f5ff);border:1px solid #ddd8ff;border-radius:16px;place-items:center;display:grid}.demo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.demo-card{flex-direction:column;gap:10px;padding:20px;display:flex}.demo-card h3{margin:0;font-size:18px}.demo-card p{flex:1;margin:0;font-size:14px;line-height:1.45}.demo-types{flex-wrap:wrap;gap:4px;display:flex}.demo-type{background:var(--surface-2);width:30px;height:30px;color:var(--accent);border-radius:8px;place-items:center;display:grid}.demo-foot{color:var(--muted);justify-content:space-between;font-size:12px;font-weight:600;display:flex}.case-card{background:linear-gradient(120deg,#fff 0%,#f3f1ff 100%);justify-content:space-between;align-items:center;gap:28px;padding:28px;display:flex}.case-card h2{max-width:760px;margin:8px 0 10px;font-size:clamp(22px,3vw,30px);line-height:1.15}.case-card p{max-width:720px;margin:0}.case-chart{border-radius:18px;flex:none;width:min(360px,100%);height:auto}.home-pricing{align-items:stretch}.price-card{flex-direction:column;gap:8px;padding:22px;display:flex;position:relative}.price-card .price-value{font-size:34px}.price-highlight{border-color:#7f72f4;box-shadow:0 12px 34px #6d5ee82e}.price-ribbon{color:#4f46e5;background:#efeaff;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800;position:absolute;top:12px;right:12px}.price-features{gap:7px;margin:8px 0 16px;padding:0;font-size:13px;list-style:none;display:grid}.price-features li{align-items:flex-start;gap:7px;display:flex}.price-features svg{color:#12b76a;flex:none;margin-top:2px}.price-action{margin-top:auto}.pricing-note{margin:0;font-size:13px}.steps-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.step-card{padding:20px}.step-card b{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.step-card h3{margin:10px 0 6px;font-size:17px}.step-card p{margin:0;font-size:14px}.faq-list{gap:10px;display:grid}.faq-item{padding:16px 18px}.faq-item summary{cursor:pointer;font-weight:700}.faq-item p{margin:10px 0 0;font-size:14px}.home-account{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;padding:22px;display:flex}.home-account h2{margin:0 0 4px;font-size:20px}.home-account p{margin:0}.final-cta{text-align:center;border:1px solid var(--border);background:var(--surface);color:var(--text);box-shadow:var(--shadow-card);border-radius:22px;padding:30px 20px 34px}.final-cta h2{max-width:720px;margin:0 auto 8px;font-size:clamp(22px,2.6vw,30px)}.final-cta p{max-width:620px;color:var(--muted);margin:0 auto 18px}@media (width<=980px){.type-grid,.demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-card{flex-direction:column;align-items:flex-start}.case-chart{align-self:center}}@media (width<=760px){.home-page{gap:40px}.type-grid,.demo-grid,.steps-grid,.home-pricing{grid-template-columns:1fr}.hero-actions{display:grid}.hero-actions .btn{width:100%}.hero-shot-frame img{object-fit:cover;object-position:top left;min-height:220px}.home-account{flex-direction:column;align-items:flex-start}}.brand-name{gap:2px;display:grid}.brand-sub{background:var(--accent-soft);width:fit-content;color:var(--accent);letter-spacing:.04em;text-transform:none;border-radius:999px;padding:2px 7px;font-size:8px;font-weight:700;line-height:1.2;display:inline-flex}.auth-oauth{gap:8px;margin-top:14px;display:grid}.auth-oauth .btn{width:100%}.stats-chart-select{width:180px}.stats-chart{padding:18px}.stats-bars{align-items:flex-end;gap:10px;height:240px;padding:12px 8px 0;display:flex}.stats-bar-item{min-width:0;height:100%;color:var(--muted);flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:6px;font-size:11px;display:flex}.stats-bar-track{background:var(--surface-2);border-radius:7px 7px 0 0;align-items:flex-end;width:100%;max-width:42px;height:100%;display:flex;overflow:hidden}.stats-bar-fill{background:linear-gradient(#7f72f4,#4f46e5);border-radius:7px 7px 0 0;width:100%;min-height:2px}.stats-line{width:100%;height:240px;display:block}.stats-pie-wrap{flex-wrap:wrap;justify-content:center;align-items:center;gap:28px;padding:10px 0;display:flex}.stats-pie{background:#e8e5ff;border-radius:50%;width:190px;height:190px;box-shadow:inset 0 0 0 24px #fff}.stats-pie-legend{gap:8px;font-size:14px;display:grid}.stats-pie-legend span{align-items:center;gap:8px;display:flex}.stats-pie-legend i{border-radius:3px;width:11px;height:11px}.pie-5{background:#12b76a}.pie-4{background:#7f72f4}.pie-3{background:#e8e5ff}.pie-2{background:#fee4e2}@media (width<=600px){.stats-chart-select{width:100%}.stats-chart-head{flex-direction:column;align-items:stretch}}.fill-media-frame{aspect-ratio:16/9;border:1px solid var(--border);background:#000;border-radius:12px;width:100%;display:block}.catalog-card{position:relative}.catalog-type-info{width:26px;height:26px;color:var(--muted);background:var(--surface-2);cursor:help;z-index:2;border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:10px;right:10px}.catalog-type-info:hover,.catalog-type-info:focus-visible{color:var(--accent);background:var(--accent-soft);outline:none}.catalog-type-tooltip{color:#fff;opacity:0;visibility:hidden;z-index:5;pointer-events:none;background:#1f2333;border-radius:8px;width:max-content;max-width:240px;padding:8px 10px;font-size:12px;line-height:1.45;transition:all .15s;position:absolute;top:calc(100% + 6px);right:0;transform:translateY(-4px)}.catalog-type-info:hover .catalog-type-tooltip,.catalog-type-info:focus-visible .catalog-type-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.category-select{display:none}@media (width<=760px){.category-chips{display:none}.category-select{width:100%;display:block}}.question-title-row{align-items:flex-start;gap:10px;display:flex}.question-title-row h1{flex:1;min-width:0}.question-help{width:28px;height:28px;color:var(--muted);background:var(--surface-2);cursor:help;border-radius:50%;flex:none;justify-content:center;align-items:center;margin-top:4px;display:inline-flex;position:relative}.question-help:hover,.question-help:focus-visible{color:var(--accent);background:var(--accent-soft);outline:none}.question-help-tooltip{color:#fff;opacity:0;visibility:hidden;z-index:20;pointer-events:none;background:#1f2333;border-radius:9px;width:max-content;max-width:280px;padding:9px 12px;font-size:13px;font-weight:400;line-height:1.45;transition:all .15s;position:absolute;top:calc(100% + 8px);right:0;transform:translateY(-4px)}.question-help:hover .question-help-tooltip,.question-help:focus-visible .question-help-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.hero-slider{aspect-ratio:1232/866;border:1px solid var(--border);background:#f4f5fb;border-radius:10px;width:100%;position:relative;overflow:hidden}.hero-slider .hero-slide{object-fit:cover;object-position:top center;opacity:0;border:0;border-radius:0;width:100%;height:100%;transition:opacity .55s;position:absolute;inset:0}.hero-slider .hero-slide.active{opacity:1}.hero-slider-dots{z-index:2;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#11182759;border-radius:999px;gap:6px;padding:6px 8px;display:flex;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.hero-slider-dot{cursor:pointer;background:#ffffffa6;border:0;border-radius:50%;width:7px;height:7px;padding:0;transition:all .2s}.hero-slider-dot.active{background:#fff;border-radius:999px;width:18px}.section-title-center{text-align:center;letter-spacing:-.02em;margin:0;font-size:clamp(24px,3vw,32px);line-height:1.15}.demos-section{gap:22px}.demo-grid-plain{gap:18px}.demo-card-plain{min-height:154px;color:var(--text);flex-direction:column;gap:12px;padding:18px;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex;position:relative}.demo-card-plain:hover{border-color:var(--accent);box-shadow:var(--shadow-card);transform:translateY(-2px)}.demo-card-plain h3{margin:0;padding-right:34px;font-size:17px;line-height:1.3}.demo-arrow{background:var(--accent-soft);width:30px;height:30px;color:var(--accent);border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:absolute;bottom:16px;right:16px}.author-stats{gap:22px}.author-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.author-stat-card{flex-direction:column;align-items:center;gap:12px;min-height:240px;padding:18px;display:flex}.author-stat-title{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;align-self:flex-start;font-size:12px;font-weight:700}.author-stat-pie{border-radius:50%;place-items:center;width:150px;height:150px;margin:4px auto 0;display:grid}.author-stat-pie-center{background:#fff;border-radius:50%;align-content:center;place-items:center;width:92px;height:92px;font-size:26px;font-weight:800;line-height:1;display:grid;box-shadow:0 2px 8px #0f172a14}.author-stat-pie-center small{color:var(--muted);letter-spacing:0;text-transform:none;margin-top:3px;font-size:10px;font-weight:600}.author-stat-legend{flex-wrap:wrap;justify-content:center;gap:8px 14px;font-size:13px;display:flex}.author-stat-legend span{align-items:center;gap:6px;display:inline-flex}.author-stat-legend i{border-radius:3px;width:9px;height:9px}.legend-green{background:#12b76a}.legend-violet{background:#7f72f4}.legend-orange{background:#ff8a3d}.author-stat-big{color:var(--accent);margin-top:2px;font-size:38px;font-weight:800;line-height:1}.author-stat-line{width:100%;height:auto;margin-top:auto}.author-stat-bars{justify-content:center;align-items:flex-end;gap:18px;width:100%;min-height:150px;margin-top:auto;padding-top:8px;display:flex}.author-stat-bar-item{height:150px;color:var(--muted);flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;font-size:12px;display:flex}.author-stat-bar-value{color:var(--text);font-weight:700}.author-stat-bar-track{background:var(--surface-2);border-radius:7px 7px 0 0;align-items:flex-end;width:38px;height:108px;display:flex;overflow:hidden}.author-stat-bar-fill{border-radius:7px 7px 0 0;width:100%}.author-stat-bar-fill.grade-5{background:#12b76a}.author-stat-bar-fill.grade-4{background:#7f72f4}.author-stat-bar-fill.grade-3{background:#ff8a3d}.author-stat-bar-label{color:var(--text);font-weight:700}.author-stats-action{justify-content:center;display:flex}.auth-page-register{align-items:flex-start}.auth-register-grid{grid-template-columns:minmax(0,440px) minmax(0,380px);align-items:start;gap:24px;width:min(844px,100%);display:grid}.auth-register-grid .auth-card{width:100%}.auth-info{background:linear-gradient(160deg,#f4f1ff 0%,#fff 70%);gap:10px;padding:26px;display:grid}.auth-info h2{margin:0;font-size:24px;line-height:1.15}.auth-info p{color:var(--muted);margin:0;line-height:1.55}@media (width<=900px){.auth-register-grid{grid-template-columns:1fr;width:min(520px,100%)}}@media (width<=980px){.author-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.author-stat-card:last-child{grid-column:1/-1}}@media (width<=760px){.author-stats-grid{grid-template-columns:1fr}.author-stat-card:last-child{grid-column:auto}}.hero-feats+.hero-actions{margin-top:18px}.demo-catalog-card .demo-catalog-types{margin-left:auto}.demo-catalog-card .demo-type{width:26px;height:26px}
