:root{--bg:#fff;--surface:#fff;--surface-2:#f7f7f7;--text:#3c3c3c;--muted:#777;--border:#e5e5e5;--accent:#58cc02;--accent-strong:#46a302;--accent-shadow:#46a302;--accent-soft:#d7ffb8;--blue:#1cb0f6;--blue-strong:#1899d6;--blue-shadow:#1899d6;--blue-soft:#ddf4ff;--orange:#ff9600;--orange-shadow:#ea8b00;--purple:#ce82ff;--purple-shadow:#a568cc;--purple-soft:#f3e3ff;--red:#ff4b4b;--red-strong:#ea2b2b;--red-shadow:#ea2b2b;--red-soft:#ffe5e5;--yellow:#ffc800;--success:#58cc02;--success-soft:#d7ffb8;--danger:#ff4b4b;--danger-soft:#ffe5e5;--warning:#ff9600;--radius:16px;--radius-sm:12px;--shadow:0 2px 0 var(--border);--shadow-sm:0 2px 0 var(--border)}[data-theme=dark]{--bg:#12151b;--surface:#1b1f27;--surface-2:#242a35;--text:#e9edf3;--muted:#9aa4b4;--border:#323a47;--accent:#6ee02a;--accent-strong:#8bf054;--accent-shadow:#3d8a13;--accent-soft:#24361a;--blue:#2fb8fa;--blue-strong:#6ccfff;--blue-shadow:#16719f;--blue-soft:#13293a;--orange:#ffab33;--orange-shadow:#b86f05;--purple:#d79bff;--purple-shadow:#8b54b3;--purple-soft:#2a2136;--red:#ff6161;--red-strong:#ff9a9a;--red-shadow:#ab2a2a;--red-soft:#3a1f22;--yellow:#ffd23f;--success:#6ee02a;--success-soft:#24361a;--danger:#ff6161;--danger-soft:#3a1f22;--warning:#ffab33;--shadow:0 2px 0 var(--border);--shadow-sm:0 2px 0 var(--border)}*{box-sizing:border-box}html,body{margin:0;padding:0}html{touch-action:pan-x pan-y;scroll-padding-top:88px}body.is-sorting{cursor:grabbing;-webkit-user-select:none;user-select:none}body{min-height:100vh;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font-family:din-round,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;overflow-x:clip}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{width:min(1080px,100% - 40px);margin:0 auto;padding-bottom:48px}.site-header{z-index:90;background:var(--bg);background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-block:18px;padding-inline:calc(50vw - 50%);display:flex;position:sticky;top:0}.brand{letter-spacing:-.01em;align-items:center;gap:10px;min-width:0;font-size:1.05rem;font-weight:700;display:inline-flex}.brand-logo{object-fit:contain;width:auto;max-width:min(190px,40vw);height:40px;display:block}.site-nav{flex-wrap:nowrap;align-items:center;gap:14px;margin-left:auto;display:flex}.site-controls{align-items:center;gap:8px;display:flex}.header-help{color:var(--muted);border-radius:10px;align-items:center;gap:6px;padding:8px 10px;font-size:.8rem;font-weight:700;transition:background .15s,color .15s;display:inline-flex}.header-help:hover{color:var(--text);background:var(--surface-2)}.header-help:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.signin-btn{color:#fff}.signin-icon{flex:none;width:17px;height:17px}.control-group{border:2px solid var(--border);background:var(--surface);border-radius:12px;align-items:center;gap:6px;padding:4px;display:inline-flex}.control-group>.control-icon{color:var(--muted);margin-left:6px}.control-icon{flex:none;width:16px;height:16px}.lang-select{height:24px;color:var(--text);cursor:pointer;background:0 0;border:none;outline:none;padding:0;font-size:.72rem;font-weight:700;line-height:1.2}.lang-select option{background:var(--surface);color:var(--text)}.lang-select:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:6px}.segmented{align-items:center;gap:2px;display:inline-flex}.segmented button{color:var(--muted);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:.78rem;font-weight:700;line-height:1;transition:background .15s,color .15s;display:inline-flex}.segmented button:hover{color:var(--text)}.segmented button.is-active{background:var(--accent-soft);color:var(--accent-strong);box-shadow:0 1px 0 var(--border)}.segmented button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.control-label{white-space:nowrap}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.rich-text{overflow-wrap:anywhere;line-height:1.55}.rich-text.is-simple{white-space:pre-wrap}.rich-text p{margin:0 0 .55em}.rich-text p:last-child{margin-bottom:0}.rich-text ul,.rich-text ol{margin:.45em 0;padding-left:1.35em}.rich-text h1,.rich-text h2,.rich-text h3,.rich-text h4{margin:.4em 0;line-height:1.25}.rich-text a{color:var(--blue-strong);text-decoration:underline}.rich-text blockquote{border-left:3px solid var(--border);color:var(--muted);margin:.5em 0;padding-left:.8em}.rich-text img{border-radius:10px;max-width:100%;height:auto;margin:.5em 0;display:block}.rich-text code,.rich-text pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em}.rich-text pre{border:1px solid var(--border);background:var(--surface-2);white-space:pre;border-radius:10px;margin:.6em 0;padding:12px 14px;line-height:1.5;overflow-x:auto}.rich-text pre code{white-space:inherit;background:0 0;padding:0}.rich-text :not(pre)>code{background:var(--surface-2);border-radius:6px;padding:2px 6px}.nav-link{color:var(--muted);font-weight:500;transition:color .15s}.nav-link:hover{color:var(--text)}.site-footer{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:64px;padding-top:22px;font-size:.85rem;display:flex}.footer-main,.footer-credit{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.footer-social{border:2px solid var(--border);color:var(--text);border-radius:10px;align-items:center;gap:6px;padding:6px 10px;font-size:.78rem;font-weight:700;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.footer-social:hover{background:var(--surface-2);border-color:var(--blue);color:var(--blue-strong)}.footer-icon{flex:none;width:16px;height:16px}.footer-created{color:var(--muted);font-size:.8rem}.footer-link{color:var(--blue-strong);font-weight:700}.footer-link:hover{text-decoration:underline}.btn{border:2px solid var(--border);border-radius:var(--radius);text-transform:uppercase;letter-spacing:.03em;border-bottom-width:4px;justify-content:center;align-items:center;gap:8px;padding:12px 24px;font-family:inherit;font-size:.95rem;font-weight:700;line-height:1.2;transition:transform .1s;display:inline-flex}.btn:active:not(:disabled){border-bottom-width:2px;transform:translateY(4px)}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.btn-primary{color:#fff;background:var(--accent);border-color:var(--accent);border-bottom-color:var(--accent-shadow)}.btn-primary:hover:not(:disabled){filter:brightness(1.05)}.btn-danger{color:#fff;background:var(--danger);border-color:var(--danger);border-bottom-color:var(--red-shadow)}.btn-danger:hover:not(:disabled){filter:brightness(1.05)}.btn-ghost{color:var(--muted);background:var(--surface);border-color:var(--border);border-bottom-color:var(--border)}.btn-ghost:hover:not(:disabled){color:var(--text)}.btn-danger-ghost{color:var(--danger);background:0 0;border-color:#0000;padding-inline:12px}.btn-danger-ghost:hover{background:var(--danger-soft)}.btn-sm{border-radius:var(--radius-sm);padding:8px 16px;font-size:.85rem}.icon-btn{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:38px;height:38px;color:var(--muted);border-bottom-width:4px;flex:none;place-items:center;padding:0;transition:transform .1s;display:inline-grid}.icon-btn:hover{color:var(--text);background:var(--blue-soft);border-color:var(--blue)}.icon-btn:active{border-bottom-width:2px;transform:translateY(2px)}.icon-btn:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.icon-btn svg{width:16px;height:16px}.hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:40px;padding:34px 0 54px;display:grid}.eyebrow{color:var(--blue);letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px;font-size:.75rem;font-weight:800;display:inline-block}.hero h1{letter-spacing:-.035em;margin:0 0 16px;font-size:clamp(2.1rem,4.4vw,3.35rem);line-height:1.04}.hero p{max-width:46ch;color:var(--muted);margin:0;font-size:1.02rem;line-height:1.65}.hero-actions{flex-wrap:wrap;gap:12px;margin-top:26px;display:flex}.hero-art{min-height:360px;padding:10px;position:relative}.hero-art:before{content:"";filter:blur(6px);background:linear-gradient(135deg,#5b5bd638,#8b5cf61a);border-radius:34px;position:absolute;inset:6% 4%;transform:rotate(-5deg)}.preview-slot{will-change:top, left, transform;width:300px;transition:top .6s cubic-bezier(.22,.61,.36,1),left .6s cubic-bezier(.22,.61,.36,1),transform .6s cubic-bezier(.22,.61,.36,1);position:absolute}.preview-slot.is-main{z-index:3;top:50%;left:50%;transform:translate(-50%,-50%)}.preview-slot.is-left{z-index:1;top:0;left:0;transform:translate(0)}.preview-slot.is-right{z-index:1;top:100%;left:100%;transform:translate(-100%,-100%)}.preview-card{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);transform-origin:50%;border-bottom-width:4px;width:100%;padding:22px;transition:transform .6s cubic-bezier(.22,.61,.36,1),transform-origin .6s cubic-bezier(.22,.61,.36,1)}.preview-slot.is-main .preview-card{transform:rotate(2deg)scale(1)}.preview-slot.is-left .preview-card{transform-origin:0 0;transform:rotate(-7deg)scale(.6333)}.preview-slot.is-right .preview-card{transform-origin:100% 100%;transform:rotate(6deg)scale(.6333)}.preview-tag{background:var(--blue-soft);color:var(--blue-strong);letter-spacing:.05em;text-transform:uppercase;border-radius:999px;padding:4px 10px;font-size:.72rem;font-weight:800;display:inline-block}.preview-tag-purple{background:var(--purple);color:#fff}.preview-tag-orange{background:var(--orange);color:#fff}.preview-question{margin:14px 0 16px;font-size:1.05rem;font-weight:700;line-height:1.35}.preview-option{border:2px solid var(--border);border-radius:var(--radius-sm);color:var(--text);border-bottom-width:4px;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;padding:10px 12px;font-size:.88rem;font-weight:700;display:flex}.preview-option-correct{border-color:var(--accent);background:var(--accent-soft);color:var(--text);border-bottom-color:var(--accent-shadow)}.preview-option-correct:after{content:"✓";color:var(--accent-strong);font-weight:800}.preview-option-wrong{border-color:var(--red);background:var(--red-soft);color:var(--text);border-bottom-color:var(--red-strong)}.preview-option-wrong:after{content:"✕";color:var(--red-strong);font-weight:800}.section-head{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.section-head h2{letter-spacing:-.02em;margin:0;font-size:1.35rem}.section-head p{color:var(--muted);margin:4px 0 0;font-size:.9rem}.section-head-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.quiz-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px;display:grid}.quiz-card{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;flex-direction:column;padding:20px;transition:transform .1s;display:flex;position:relative}.quiz-card:hover{transform:translateY(-2px)}.quiz-card.is-published{border-color:var(--purple);background:var(--purple-soft)}.quiz-card-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.quiz-card-badges{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.badge-public{background:var(--accent-soft);color:var(--accent-strong)}.badge svg{width:12px;height:12px}.badge{background:var(--blue-soft);color:var(--blue-strong);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:.72rem;font-weight:800;display:inline-flex}.quiz-date{color:var(--muted);font-size:.76rem}.quiz-card h3{letter-spacing:-.015em;margin:0 0 8px;font-size:1.1rem;line-height:1.3}.quiz-desc{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.88rem;line-height:1.55;display:-webkit-box;overflow:hidden}.quiz-card-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:18px;display:flex}.quiz-card-actions-end{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.quiz-card-menu{margin-left:auto;position:relative}.quiz-more{border:2px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text);border-radius:10px}.quiz-more:hover,.quiz-more:focus-visible{border-color:var(--blue);background:var(--blue-soft)}.card-menu{z-index:20;border:2px solid var(--border);background:var(--surface);border-radius:12px;gap:2px;width:180px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 16px 38px #00000038}.card-menu-item{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:9px;padding:9px 10px;font-size:.84rem;font-weight:700;text-decoration:none;display:flex}.card-menu-item:hover,.card-menu-item:focus-visible{background:var(--surface-2)}.card-menu-item svg{width:15px;height:15px;color:var(--muted)}.quiz-remove,.quiz-published{border:2px solid var(--surface);border-radius:50%;place-items:center;width:34px;height:34px;padding:0;display:grid;position:absolute;top:-12px;box-shadow:0 2px #00000029}.quiz-remove{background:var(--red);color:#fff;box-shadow:0 2px 0 var(--red-shadow);transition:background .15s,transform .1s;right:-12px}.quiz-published{background:var(--purple);border-color:var(--purple-shadow);color:#fff;box-shadow:0 2px 0 var(--purple-shadow);left:-12px}.quiz-published svg,.quiz-remove svg{width:15px;height:15px}.quiz-remove:hover,.quiz-remove:focus-visible{background:var(--red-strong);outline:none}.quiz-remove:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.quiz-remove:active{box-shadow:none;transform:translateY(1px)}.empty-state{text-align:center;border:2px dashed var(--border);border-radius:var(--radius);background:var(--surface);place-items:center;padding:58px 24px;display:grid}.empty-icon{color:#fff;background:var(--accent);width:60px;height:60px;box-shadow:0 4px 0 var(--accent-shadow);border-radius:16px;place-items:center;margin-bottom:16px;font-size:1.6rem;font-weight:800;display:grid}.empty-state h3{margin:0 0 8px;font-size:1.2rem}.empty-state p{max-width:42ch;color:var(--muted);margin:0;font-size:.92rem;line-height:1.6}.empty-state .hero-actions{justify-content:center}.page-head{justify-content:space-between;align-items:flex-end;gap:18px;margin:16px 0 24px;display:flex}.page-head h1{letter-spacing:-.03em;margin:0;font-size:clamp(1.7rem,3vw,2.2rem)}.page-head p{color:var(--muted);margin:8px 0 0;font-size:.92rem;line-height:1.55}.panel{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;padding:24px}.builder-form{gap:18px;padding-bottom:72px;display:grid}.field{gap:8px;display:grid}.field+.field{margin-top:16px}.field label{font-size:.83rem;font-weight:650}.hint{color:var(--muted);font-weight:400}.field-label{font-size:.83rem;font-weight:650}.field-hint{color:var(--muted);margin:3px 0 0;font-size:.82rem;line-height:1.5}.editor-mode-row{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:16px;display:flex}.toggle{flex:none;width:52px;height:30px;display:inline-flex;position:relative}.toggle input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.toggle-track{border:2px solid var(--border);background:var(--surface-2);pointer-events:none;border-radius:999px;transition:background .15s,border-color .15s;position:absolute;inset:0}.toggle-track:after{content:"";background:var(--surface);border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #00000040}.toggle input:checked+.toggle-track{border-color:var(--accent);background:var(--accent)}.toggle input:checked+.toggle-track:after{transform:translate(22px)}.toggle input:focus-visible+.toggle-track{outline:2px solid var(--blue);outline-offset:2px}.segmented-mode{border:2px solid var(--border);background:var(--surface-2);border-radius:12px;padding:4px}.segmented-mode button{padding:9px 16px;font-size:.85rem}.input,.textarea{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:100%;color:var(--text);outline:none;padding:12px 14px;font-weight:500;transition:border-color .15s}.textarea{resize:vertical;min-height:80px;line-height:1.6}.input:focus,.textarea:focus{border-color:var(--blue)}.questions-head{justify-content:space-between;align-items:center;margin-top:12px;display:flex}.questions-head h2{margin:0;font-size:1.15rem}.questions-head span{color:var(--muted);font-size:.85rem}.questions-head-actions{align-items:center;gap:10px;display:flex}.question-editor{gap:4px;display:grid;position:relative}.question-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.question-remove{border:2px solid var(--surface);background:var(--red);color:#fff;width:34px;height:34px;box-shadow:0 2px 0 var(--red-shadow);border-radius:50%;place-items:center;padding:0;transition:background .15s,transform .1s;display:grid;position:absolute;top:-12px;right:-12px}.question-remove svg{width:15px;height:15px}.question-remove:hover,.question-remove:focus-visible{background:var(--red-strong);outline:none}.question-remove:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.question-remove:active{box-shadow:none;transform:translateY(1px)}.question-head-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-left:auto;display:flex}.question-answer-mode{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.question-answer-mode .segmented-mode{padding:3px}.question-answer-mode .segmented-mode button{padding:6px 10px;font-size:.78rem}.question-number{letter-spacing:.08em;text-transform:uppercase;color:var(--blue);font-size:.75rem;font-weight:800}.text-danger{color:var(--danger);background:0 0;border:none;border-radius:7px;padding:4px 6px;font-size:.8rem;font-weight:600}.text-danger:hover{background:var(--danger-soft)}.option-list{gap:10px;display:grid}.option-item{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);gap:8px;padding:10px;display:grid;position:relative}.option-item.is-correct{border-color:var(--accent);background:var(--accent-soft);border-bottom-color:var(--accent-shadow)}.option-item.is-dragging,.option-card.is-dragging{opacity:.55}.option-item.is-drop-target,.option-card.is-drop-target{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.option-row{align-items:center;gap:9px;padding-right:36px;display:flex}.option-explanation{gap:6px;padding-left:37px;display:grid}.explanation-input{min-height:54px;padding:9px 12px;font-size:.86rem}.rich-field{align-items:flex-start;gap:10px;display:flex}.rich-field-inline{flex:1;min-width:0}.rich-field .btn{flex:none}.rich-preview{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:0;min-height:44px;color:var(--text);flex:1;padding:10px 52px 10px 12px;font-size:.9rem;position:relative}.rich-preview .rich-edit-btn{width:32px;height:32px;color:var(--muted);opacity:1;background:0 0;border:2px solid #0000;transition:background .15s,border-color .15s,color .15s,transform .1s;position:absolute;top:6px;right:6px}.rich-preview .rich-edit-btn svg{width:14px;height:14px}.rich-preview .rich-edit-btn:hover,.rich-preview .rich-edit-btn:focus-visible{color:var(--text);background:var(--blue-soft);border-color:var(--blue)}.rich-preview .rich-edit-btn:active{transform:translateY(1px)}.rich-placeholder{color:var(--muted);font-weight:500}.correct-toggle{border:2px solid var(--border);background:var(--surface);color:#fff;border-bottom-width:4px;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:.75rem;font-weight:800;transition:transform .1s;display:grid}.correct-toggle:active{border-bottom-width:2px;transform:translateY(2px)}.option-row.is-correct .correct-toggle{border-color:var(--accent);background:var(--accent);border-bottom-color:var(--accent-shadow)}.order-controls{flex-direction:column;flex:none;gap:4px;display:flex}.option-item[draggable=true],.option-card[draggable=true],.layout-row[draggable=true]{cursor:grab}.option-item[draggable=true]:active,.option-card[draggable=true]:active,.layout-row[draggable=true]:active{cursor:grabbing}.order-move{border:2px solid var(--border);background:var(--surface);width:28px;height:22px;color:var(--muted);border-radius:7px;place-items:center;padding:0;transition:background .15s,border-color .15s,color .15s;display:grid}.order-move svg{width:14px;height:14px}.order-move:hover:not(:disabled){background:var(--blue-soft);border-color:var(--blue);color:var(--text)}.order-move:disabled{opacity:.35;cursor:not-allowed}.accepted-mark{background:var(--accent);color:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:.75rem;font-weight:800;display:grid}.option-row .input{padding:9px 12px;font-size:.9rem}.option-row.is-correct .input,.option-item.is-correct .rich-preview,.option-item.is-correct .explanation-input{background:var(--surface)}.remove-option{width:30px;height:30px;color:var(--danger);background:0 0;border:none;border-radius:9px;place-items:center;padding:0;display:grid;position:absolute;top:8px;right:8px}.remove-option svg{width:16px;height:16px}.remove-option:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.remove-option:disabled{opacity:.3;cursor:not-allowed}.add-option{color:var(--accent);background:0 0;border:none;border-radius:8px;justify-self:start;margin-top:10px;padding:5px 7px;font-size:.84rem;font-weight:650}.add-option:hover:not(:disabled){background:var(--accent-soft)}.add-option:disabled{color:var(--muted);opacity:.55;cursor:not-allowed;background:0 0}.add-question{border:2px dashed var(--border);border-radius:var(--radius);background:var(--surface);color:var(--blue);text-transform:uppercase;letter-spacing:.03em;border-bottom-width:4px;padding:18px;font-size:.92rem;font-weight:800;transition:transform .1s}.add-question:active{border-bottom-width:2px;transform:translateY(2px)}.add-question:hover{background:var(--blue-soft);border-color:var(--blue)}.error-box{background:var(--danger-soft);color:var(--danger);border:1px solid #c0262640;border-radius:13px;padding:14px 16px;font-size:.86rem;line-height:1.55}.error-box strong{margin-bottom:4px;display:block}.error-box ul{margin:0;padding-left:18px}.success-box{background:var(--success-soft);color:var(--accent-strong);border:1px solid #46a30247;border-radius:13px;padding:14px 16px;font-size:.86rem;line-height:1.55}.import-error{margin-bottom:18px}.builder-actions{z-index:20;background:color-mix(in srgb, var(--bg) 70%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:12px calc(50vw - 50%) 16px;position:sticky;bottom:0}.builder-actions-inner{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;justify-content:flex-end;align-items:center;gap:12px;padding:14px 18px;display:flex}.builder-actions-inner .btn-ghost{margin-right:auto}.question-layout-modal{width:min(560px,100%)}.layout-list{overscroll-behavior:contain;gap:8px;max-height:min(52vh,460px);padding:2px;display:grid;overflow-y:auto}.layout-row{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);align-items:stretch;gap:8px;padding:8px;display:flex}.layout-row.is-dragging{opacity:.55}.layout-row.is-drop-target{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.layout-row-info{cursor:pointer;text-align:left;border-style:dashed;align-items:center;width:100%}.layout-row-info:hover{border-color:var(--blue);background:var(--blue-soft)}.layout-row-main{min-width:0;color:var(--text);text-align:left;background:0 0;border:none;flex:1;align-items:center;gap:10px;padding:4px;display:flex}.layout-row-number{background:var(--surface);min-width:26px;height:26px;color:var(--blue-strong);border-radius:8px;flex:none;place-items:center;padding:0 6px;font-size:.76rem;font-weight:800;display:inline-grid}.layout-row-text{gap:2px;min-width:0;display:grid}.layout-row-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:700;overflow:hidden}.layout-row-text span{color:var(--muted);font-size:.74rem;font-weight:600}.question-editor{scroll-margin-top:96px}.run-panel{padding:28px;scroll-margin-top:24px;position:relative;overflow:hidden}.run-progress{background:var(--surface-2);height:6px;position:absolute;top:0;left:0;right:0;overflow:hidden}.run-progress span{background:linear-gradient(90deg, var(--accent), var(--accent-strong));border-radius:0 999px 999px 0;height:100%;transition:width .3s;display:block}.run-top{flex-direction:column;gap:4px;margin-bottom:18px;display:flex}.run-top-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.run-top-head .eyebrow{margin-bottom:0}.run-top-meta{align-items:center;gap:8px;margin-left:auto;display:flex}.run-top h2,.question-title{margin:4px 0 0;font-size:clamp(1.25rem,2.5vw,1.7rem);font-weight:800;line-height:1.3}.option-text{flex:1;min-width:0}.progress{background:var(--surface-2);border:2px solid var(--border);border-radius:999px;height:16px;margin-bottom:24px;overflow:hidden}.progress span{border-radius:inherit;background:var(--accent);height:100%;transition:width .25s;display:block}.page-head-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.page-head-actions .btn{margin-left:auto}.page-head-actions.no-timer{justify-content:flex-start}.page-head-actions.no-timer .btn{margin-left:0}.page-head-actions .timer-chip,.page-head-actions .btn{border-radius:999px;min-height:42px;padding:10px 16px;font-size:.85rem}.timer-chip{border:2px solid var(--border);background:var(--surface-2);color:var(--text);font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:6px;padding:7px 12px;font-size:.95rem;font-weight:800;line-height:1;transition:border-color .2s,background .2s,color .2s;display:inline-flex}.timer-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.7rem;font-weight:700}.timer-icon{width:14px;height:14px;color:var(--muted);flex:none}.timer-chip.is-medium{border-color:var(--orange);color:var(--orange)}.timer-chip.is-medium .timer-icon{color:var(--orange)}.timer-chip.is-low{border-color:var(--red);background:var(--red-soft);color:var(--red-strong);animation:1s ease-in-out infinite timer-pulse}.timer-chip.is-low .timer-icon{color:var(--red-strong)}@keyframes timer-pulse{50%{opacity:.55}}.option-cards{gap:10px;display:grid}.option-card{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;color:var(--text);text-align:left;cursor:pointer;border-bottom-width:4px;align-items:flex-start;gap:12px;padding:14px 16px;font-size:.95rem;font-weight:700;transition:transform .1s;display:flex}.option-card:active:not(.is-locked):not(.review-option){border-bottom-width:2px;transform:translateY(2px)}.option-card:hover:not(.is-locked):not(.review-option){background:var(--blue-soft);border-color:var(--blue)}.option-card:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.option-card.is-locked,.option-card.review-option{cursor:default}.option-key{background:var(--surface-2);border:2px solid var(--border);width:32px;height:32px;color:var(--text);border-radius:8px;flex:none;place-items:center;font-size:.8rem;font-weight:800;display:grid}.option-card.is-selected{border-color:var(--blue);background:var(--blue-soft);border-bottom-color:var(--blue-shadow)}.option-card.is-selected .option-key{background:var(--blue);border-color:var(--blue);color:#fff}.option-content{flex:1;gap:7px;min-width:0;display:grid}.option-tags{flex-wrap:wrap;gap:6px;display:flex}.option-tag{background:var(--surface-2);color:var(--muted);letter-spacing:.03em;text-transform:uppercase;border-radius:999px;font-size:.68rem;font-weight:800}.option-tag.is-correct{background:var(--accent-soft);color:var(--accent-strong)}.option-tag.is-wrong,.option-card.is-wrong .option-tag:not(.is-correct){background:var(--red-soft);color:var(--red-strong)}.option-inline-explanation{color:var(--text);margin-top:2px;font-size:.84rem;font-weight:500;line-height:1.55}.review-options{margin-top:12px}.option-card.is-correct{border-color:var(--accent);background:var(--accent-soft);border-bottom-color:var(--accent-shadow)}.option-card.is-correct .option-key{background:var(--accent);border-color:var(--accent);color:#fff}.option-card.is-wrong{border-color:var(--red);background:var(--red-soft);border-bottom-color:var(--red-strong)}.option-card.is-wrong .option-key{background:var(--red);border-color:var(--red);color:#fff}.option-card:disabled{cursor:default;opacity:1}.order-card{cursor:default;align-items:center}.order-card:hover{background:var(--surface);border-color:var(--border)}.order-controls-run{flex-direction:row;margin-left:auto}.order-controls-run .order-move{width:30px;height:30px}.text-answer{gap:8px;display:grid}.text-answer-input{padding:14px 16px;font-size:1rem}.text-answer-feedback{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface-2);gap:10px;padding:14px 16px;display:grid}.text-answer-feedback.is-correct{border-color:var(--accent);background:var(--accent-soft)}.text-answer-feedback.is-wrong{border-color:var(--red);background:var(--red-soft)}.text-answer-feedback .option-tag{justify-self:start;padding:4px 9px}.accepted-answers{gap:4px;display:grid}.review-answer-grid{grid-template-columns:1fr 1fr;gap:16px;margin-top:12px;display:grid}.review-subtitle{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;margin-bottom:6px;font-size:.72rem;font-weight:700;display:block}.review-order-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.review-order-list li{border:2px solid var(--border);background:var(--surface);border-radius:10px;align-items:flex-start;gap:8px;padding:9px 11px;font-size:.88rem;display:flex}.review-order-list li.is-correct{border-color:var(--accent);background:var(--accent-soft)}.review-order-list li.is-wrong{border-color:var(--red);background:var(--red-soft)}.review-order-list.is-correct li{border-color:var(--accent);background:var(--accent-soft)}.review-order-number{background:var(--surface-2);border-radius:6px;flex:none;place-items:center;width:22px;height:22px;font-size:.72rem;font-weight:800;display:grid}.review-text-answer{gap:8px;margin-top:12px;display:grid}.review-text-answer .review-line span:last-child,.review-accepted-list{flex-wrap:wrap;gap:6px;display:flex}.multiple-hint{margin:-12px 0 16px}.run-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:26px;display:flex}.result-hero{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:24px 32px;padding:28px;display:grid}.result-hero-body{justify-items:start;gap:12px;min-width:0;display:grid}.result-stats{flex-wrap:wrap;gap:10px;display:flex}.result-stat{border:2px solid var(--border);background:var(--surface-2);border-radius:12px;gap:2px;min-width:118px;padding:9px 14px;display:grid}.result-stat span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.66rem;font-weight:800}.result-stat strong{font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:800;line-height:1.15}.score-ring{border:4px solid var(--border);border-radius:50%;place-items:center;width:132px;height:132px;padding:12px;animation:.6s cubic-bezier(.22,1,.36,1) both score-ring-pop;display:grid}.score-ring-inner{background:var(--surface);text-align:center;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;height:100%;display:flex}.score-ring strong{font-size:2rem;font-weight:800;line-height:1;display:block}.score-ring span{color:var(--muted);font-size:.82rem;font-weight:700}@keyframes score-ring-pop{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.score-ring{animation:none}}.result-hero h2{margin:0;font-size:1.85rem;font-weight:800}.result-hero p{color:var(--muted);margin:0;font-size:.9rem}.result-hero .hero-actions{justify-content:flex-start;margin-top:2px}@media (max-width:640px){.result-hero{text-align:center;grid-template-columns:1fr;justify-items:center;gap:18px;padding:22px 18px}.result-hero-body{justify-items:center}.result-stats{justify-content:center}.result-hero h2{font-size:1.5rem}.result-hero .hero-actions{justify-content:center}}.review{margin-top:30px}.review h2{margin:0 0 16px;font-size:1.25rem}.review-list{gap:12px;display:grid}.review-item{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;padding:18px 20px}.review-head{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;display:flex}.review-head .badge{background:var(--accent-soft);color:var(--accent-strong)}.review-item.is-wrong .review-head .badge{background:var(--red-soft);color:var(--red-strong)}.review-index{color:var(--muted);margin-left:auto;font-size:.78rem;font-weight:600}.review-question{margin:0 0 12px;font-weight:600;line-height:1.45}.review-line{color:var(--muted);align-items:flex-start;gap:8px;margin:5px 0;font-size:.87rem;line-height:1.5;display:flex}.review-line>span:first-child{min-width:108px;color:var(--text);flex:none;font-weight:600;display:inline-block}.review-answer{flex:1;gap:4px;min-width:0;display:grid}.review-explanation{background:var(--surface-2);color:var(--text);border-radius:10px;margin:12px 0 0;padding:11px 13px;font-size:.86rem;line-height:1.55}.review-explanation-label{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;margin-bottom:5px;font-size:.72rem;font-weight:700;display:block}.loading{text-align:center;color:var(--muted);padding:60px 0;font-size:.92rem}.global-loading{z-index:120;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#f7f8fa;opacity:0;pointer-events:none;background:#0a0b0d8c;place-items:center;padding:24px;transition:opacity .18s;display:grid;position:fixed;inset:0}.global-loading.is-auth{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0a0b0d}.global-loading.is-visible{opacity:1;pointer-events:auto}.global-loading-screen{text-align:center;place-items:center;gap:18px;transition:transform .24s cubic-bezier(.22,1,.36,1);display:grid;transform:translateY(8px)}.global-loading.is-visible .global-loading-screen{transform:translateY(0)}.global-loading-logo{filter:drop-shadow(0 0 28px #58cc0280);will-change:transform, opacity;width:min(72vw,320px);height:auto;animation:1.5s ease-in-out infinite global-loading-breathe;display:block}.global-loading-message{color:#f7f8fad1;letter-spacing:.01em;margin:0;font-size:.95rem;font-weight:650;line-height:1.5}@keyframes global-loading-breathe{0%,to{opacity:.82;transform:scale(1)}50%{opacity:1;transform:scale(1.06)}}@media (prefers-reduced-motion:reduce){.global-loading,.global-loading-screen{transition:none}.global-loading-logo{animation:none}}.not-found{margin-top:40px}.error-page{place-items:center;min-height:60vh;padding:24px 0;display:grid}.error-card{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);text-align:center;border-bottom-width:4px;width:min(540px,100%);padding:36px 28px}.error-icon{color:#fff;background:var(--danger);width:60px;height:60px;box-shadow:0 4px 0 var(--red-shadow);border-radius:16px;place-items:center;margin:0 auto 16px;font-size:1.6rem;font-weight:800;display:grid}.error-card h1{letter-spacing:-.02em;margin:0 0 10px;font-size:clamp(1.5rem,4vw,2rem)}.error-card p{max-width:44ch;color:var(--muted);margin:0 auto;font-size:.95rem;line-height:1.6}.error-digest{margin-top:14px!important;font-size:.8rem!important}.error-digest code{background:var(--surface-2);border-radius:6px;padding:2px 6px}.error-card .hero-actions{justify-content:center}.account-menu{flex:none;position:relative}.account-menu-trigger{border:2px solid var(--border);background:var(--surface);border-radius:50%;place-items:center;width:44px;height:44px;padding:2px;transition:border-color .15s,transform .1s;display:grid}.account-menu-trigger:hover{border-color:var(--blue)}.account-menu-trigger:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.account-menu-trigger:active{transform:translateY(1px)}.user-avatar{color:#fff;letter-spacing:.02em;object-fit:cover;border-radius:50%;flex:none;place-items:center;font-weight:800;display:inline-grid;overflow:hidden}.user-avatar-sm{width:28px;height:28px;font-size:.65rem}.user-avatar-md{width:38px;height:38px;font-size:.8rem}.user-avatar-lg{width:84px;height:84px;font-size:1.5rem}.account-menu-panel{z-index:60;border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);border-bottom-width:4px;min-width:210px;padding:6px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 40px #0000002e}.account-menu-header{border-bottom:1px solid var(--border);gap:2px;margin-bottom:4px;padding:8px 12px 10px;display:grid}.account-menu-label{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.68rem;font-weight:700}.account-menu-alias{overflow-wrap:anywhere;font-size:.92rem}.account-menu-name{color:var(--muted);overflow-wrap:anywhere;font-size:.76rem;line-height:1.35}.account-menu-item{width:100%;color:var(--text);text-align:left;background:0 0;border:none;border-radius:9px;align-items:center;gap:9px;padding:10px 12px;font-size:.88rem;font-weight:600;display:flex}.account-menu-item:hover{background:var(--surface-2)}.account-menu-item:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.account-menu-danger{color:var(--danger)}.account-menu-danger:hover{background:var(--danger-soft)}.account-menu-icon{flex:none;width:16px;height:16px}.auth-page{place-items:center;min-height:64vh;padding:32px 0;display:grid}.auth-card{width:min(440px,100%);padding:32px 28px}.auth-card h1{letter-spacing:-.03em;margin:0 0 8px;font-size:clamp(1.6rem,4vw,2rem)}.auth-subtitle{color:var(--muted);margin:0 0 22px;font-size:.92rem;line-height:1.55}.auth-form{gap:14px;display:grid}.auth-submit{width:100%;margin-top:4px}.auth-error{margin-bottom:16px}.auth-divider{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:12px;margin:18px 0;font-size:.75rem;font-weight:700;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.auth-google{width:100%}.google-mark{background:var(--surface-2);width:22px;height:22px;color:var(--text);border-radius:50%;place-items:center;font-size:.85rem;font-weight:800;display:grid}.auth-switch{color:var(--muted);text-align:center;margin:18px 0 0;font-size:.85rem}.auth-switch a{color:var(--blue-strong);font-weight:700}.auth-message{text-align:center;justify-items:center;gap:10px;padding:8px 0;display:grid}.auth-message h2{margin:0;font-size:1.15rem}.auth-message p{max-width:40ch;color:var(--muted);margin:0;font-size:.9rem;line-height:1.6}.auth-message-icon{color:#fff;background:var(--success);width:54px;height:54px;box-shadow:0 4px 0 var(--accent-shadow);border-radius:16px;place-items:center;font-size:1.4rem;font-weight:800;display:grid}.auth-message .btn{margin-top:8px}.auth-check{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);color:var(--muted);align-items:flex-start;gap:10px;padding:12px 14px;font-size:.85rem;line-height:1.45;display:flex}.auth-check input{accent-color:var(--accent);margin:2px 0 0}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0a0c108c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;flex-direction:column;gap:14px;width:min(720px,100%);max-height:min(86vh,760px);padding:22px;display:flex;box-shadow:0 24px 60px #00000040}.modal-dialog{width:min(440px,100%)}.dialog-form{gap:14px;display:grid}.dialog-message{color:var(--muted);margin:0;font-size:.94rem;line-height:1.6}.import-guide-list{color:var(--muted);gap:6px;margin:14px 0 0;padding-left:20px;font-size:.9rem;line-height:1.65;display:grid}.modal-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.modal-head .eyebrow{margin-bottom:4px}.modal-head h2{margin:0;font-size:1.2rem}.modal-close{background:var(--surface-2);width:34px;height:34px;color:var(--muted);border:none;border-radius:9px;flex:none;font-size:1.3rem;line-height:1}.modal-close:hover{background:var(--danger-soft);color:var(--danger)}.editor-toolbar{border:2px solid var(--border);background:var(--surface-2);border-radius:10px;flex-wrap:wrap;align-items:center;gap:4px;padding:6px;display:flex}.toolbar-btn{min-width:34px;height:32px;color:var(--text);background:0 0;border:none;border-radius:7px;justify-content:center;align-items:center;padding:0 8px;font-size:.9rem;font-weight:700;display:inline-flex}.toolbar-icon{width:16px;height:16px}.toolbar-btn:hover{background:var(--blue-soft);color:var(--blue-strong)}.toolbar-divider{background:var(--border);width:1px;height:22px;margin:0 4px}.toolbar-underline{text-decoration:underline}.toolbar-strike{text-decoration:line-through}.rich-editor{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:220px;max-height:46vh;color:var(--text);outline:none;padding:14px;line-height:1.6;overflow-y:auto}.rich-editor:focus{border-color:var(--blue)}.rich-editor p{margin:0 0 .6em}.rich-editor ul,.rich-editor ol{margin:.5em 0;padding-left:1.4em}.rich-editor a{color:var(--blue-strong);text-decoration:underline}.rich-editor img{border-radius:10px;max-width:100%;height:auto;margin:.5em 0;display:block}.rich-editor pre{border:1px solid var(--border);background:var(--surface-2);white-space:pre;border-radius:10px;margin:.6em 0;padding:12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;overflow-x:auto}.rich-editor pre code{white-space:inherit;background:0 0;padding:0}.rich-editor :not(pre)>code{background:var(--surface-2);border-radius:6px;padding:2px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em}.editor-error{color:var(--danger);margin:-4px 0 0;font-size:.82rem;font-weight:600}.editor-hint{color:var(--muted);margin:-4px 0 0;font-size:.8rem}.modal-actions{justify-content:flex-end;gap:10px;display:flex}.account-card{gap:26px;max-width:720px;display:grid}.account-profile{border-bottom:1px solid var(--border);align-items:center;gap:18px;padding-bottom:22px;display:flex}.account-identity{gap:3px;min-width:0;display:grid}.account-identity h2{overflow-wrap:anywhere;margin:0;font-size:1.15rem}.account-identity p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.86rem}.account-provider{background:var(--blue-soft);color:var(--blue-strong);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;justify-self:start;margin-top:4px;padding:3px 9px;font-size:.7rem;font-weight:800;display:inline-block}.account-help{flex:none;margin-left:auto}.account-form{gap:18px;display:grid}.account-form-actions{justify-content:flex-end;display:flex}.help-layout{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:24px;display:grid}.help-toc{gap:4px;padding:18px;display:grid;position:sticky;top:18px}.help-toc nav{gap:2px;margin-top:8px;display:grid}.help-toc a{color:var(--muted);border-radius:8px;padding:7px 9px;font-size:.85rem;font-weight:600;line-height:1.35}.help-toc a:hover{color:var(--text);background:var(--surface-2)}.help-toc-faq{border-top:1px solid var(--border);margin-top:6px;padding-top:10px!important}.help-main{gap:34px;min-width:0;display:grid}.help-main h2{letter-spacing:-.02em;margin:0 0 14px;font-size:1.3rem}.help-guides{gap:14px;display:grid}.help-guides>h2{margin-bottom:0}.help-section{scroll-margin-top:18px}.help-section h3{margin:0 0 8px;font-size:1.05rem}.help-section p{color:var(--muted);margin:0;font-size:.92rem;line-height:1.6}.help-steps,.help-tips{color:var(--text);margin:14px 0 0;padding-left:22px;font-size:.9rem;line-height:1.65}.help-steps{gap:6px;display:grid}.help-tips{background:var(--surface-2);color:var(--muted);border-radius:10px;gap:5px;padding:12px 12px 12px 34px;font-size:.86rem;display:grid}.help-faq{scroll-margin-top:18px}.help-faq-list{gap:2px;padding:10px 18px;display:grid}.help-faq-list details{border-bottom:1px solid var(--border);padding:12px 0}.help-faq-list details:last-child{border-bottom:none}.help-faq-list summary{cursor:pointer;font-size:.93rem;font-weight:700;line-height:1.45}.help-faq-list summary::marker{color:var(--blue)}.help-faq-list p{color:var(--muted);margin:8px 0 0;font-size:.88rem;line-height:1.6}.help-feedback{scroll-margin-top:18px}.help-signin{justify-items:start;gap:8px;display:grid}.help-signin h3{margin:0;font-size:1.05rem}.help-signin p{color:var(--muted);margin:0;font-size:.9rem;line-height:1.6}.help-ticket-form{gap:16px;display:grid}.help-feedback-text{margin:0}.help-message{min-height:130px}.help-form-actions{justify-content:flex-end;display:flex}.help-tickets{gap:10px;margin-top:16px;display:grid}.help-tickets h3{margin:0;font-size:1rem}.help-tickets ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.ticket-item{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.ticket-main{gap:3px;min-width:0;display:grid}.ticket-main strong{overflow-wrap:anywhere;font-size:.88rem}.ticket-meta{color:var(--muted);font-size:.76rem}.ticket-status{background:var(--success-soft);color:var(--accent-strong);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;flex:none;padding:3px 9px;font-size:.68rem;font-weight:800}.ticket-status.is-closed{background:var(--surface);color:var(--muted);border:1px solid var(--border)}.pair-list{gap:10px;display:grid}.pair-item{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);gap:8px;padding:12px 48px 12px 12px;display:grid;position:relative}.pair-number{letter-spacing:.06em;text-transform:uppercase;color:var(--blue);font-size:.72rem;font-weight:800}.pair-fields{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.pair-input{resize:none;min-height:0;line-height:1.45;overflow-y:hidden}.pair-arrow{color:var(--muted);font-weight:800}.match-progress{align-items:center;gap:12px;margin-bottom:18px;display:flex}.match-progress .progress{flex:1;margin:0}.match-board{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:10px 14px;display:grid}.match-column-title{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;align-self:center;font-size:.72rem;font-weight:800}.match-item{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;color:var(--text);text-align:left;border-bottom-width:4px;padding:14px 16px;font-size:.95rem;font-weight:700;transition:background .15s,border-color .15s,transform .1s}.match-item.is-entering{animation:.45s both match-fade-in}@keyframes match-fade-in{0%{opacity:0;transform:translateY(6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.match-item:hover:not(:disabled){border-color:var(--blue);background:var(--blue-soft)}.match-item:active:not(:disabled){border-bottom-width:2px;transform:translateY(2px)}.match-item:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.match-item.is-selected{border-color:var(--blue);border-bottom-color:var(--blue-shadow);background:var(--blue-soft)}.match-item.is-matched{border-color:var(--border);border-bottom-color:var(--border);background:var(--surface-2);color:var(--muted)}.match-item.is-fading{pointer-events:none;animation:.65s forwards match-fade-out}@keyframes match-fade-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)scale(.98)}}.match-item.is-wrong{border-color:var(--red);border-bottom-color:var(--red-strong);background:var(--red-soft);color:var(--red-strong);animation:.3s match-shake}.match-item:disabled{cursor:default;opacity:1}.match-item:disabled:not(.is-matched):not(.is-wrong){cursor:not-allowed;opacity:.55}@keyframes match-shake{25%{transform:translate(-3px)}75%{transform:translate(3px)}}@media (max-width:820px){.hero{grid-template-columns:1fr;gap:50px;padding-bottom:38px}.landing-cta{flex-direction:column;align-items:flex-start}.hero-art{min-height:340px}.page-head{flex-direction:column;align-items:flex-start}.page-head-actions{width:100%}.help-layout{grid-template-columns:1fr}.help-toc{position:static}}@media (max-width:520px){.app-shell{width:min(100% - 28px,1080px)}.site-header{gap:8px;padding-block:18px}.brand-logo{max-width:42vw;height:32px}.site-nav{gap:8px}.site-controls{gap:6px}.signin-btn{padding:8px 10px}.signin-label{display:none}.site-footer{flex-direction:column;align-items:flex-start}.review-answer-grid,.pair-fields{grid-template-columns:1fr}.pair-arrow{display:none}.match-board{gap:8px}.match-item{padding:12px;font-size:.9rem}.hero-art{min-height:340px;padding:0}.preview-slot{width:min(250px,74vw)}.preview-slot.is-left .preview-card{transform:rotate(-7deg)scale(.56)}.preview-slot.is-right .preview-card{transform:rotate(6deg)scale(.56)}.header-help-label,.header-store-label,.header-help{display:none}.header-store{padding:8px;display:inline-flex}.account-profile{flex-wrap:wrap}.account-help{width:100%;margin-left:0}}.dashboard-head{margin-bottom:16px}.dashboard-head h1{font-size:clamp(1.5rem,2.2vw,1.9rem)}.dashboard-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:26px;display:flex}.dashboard-tabs{flex-wrap:wrap;gap:10px;margin-bottom:24px;display:flex}.dashboard-tab{border:2px solid var(--border);background:var(--surface);color:var(--muted);border-radius:999px;padding:9px 16px;font-size:.9rem;font-weight:700;transition:background .15s,border-color .15s,color .15s}.dashboard-tab:hover{background:var(--surface-2);color:var(--text)}.dashboard-tab.is-active{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-strong)}.landing-section{padding:18px 0 52px}.landing-section-head{max-width:620px;margin-bottom:24px}.landing-section-head h2{letter-spacing:-.03em;margin:0 0 10px;font-size:clamp(1.6rem,3vw,2.2rem)}.landing-section-head p{color:var(--muted);margin:0;line-height:1.65}.landing-features{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;display:grid}.landing-feature{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;padding:22px}.landing-feature-number{background:var(--blue-soft);width:34px;height:34px;color:var(--blue-strong);border-radius:10px;place-items:center;font-size:.78rem;font-weight:800;display:inline-grid}.landing-feature h3{letter-spacing:-.01em;margin:14px 0 8px;font-size:1.05rem}.landing-feature p{color:var(--muted);margin:0;font-size:.94rem;line-height:1.6}.landing-cta{justify-content:space-between;align-items:center;gap:26px;margin-bottom:30px;display:flex}.landing-cta h2{letter-spacing:-.02em;margin:0 0 8px;font-size:1.45rem}.landing-cta p{max-width:58ch;color:var(--muted);margin:0;line-height:1.6}.landing-cta .hero-actions{margin-top:0}@media (max-width:520px){.section-head{flex-wrap:wrap;align-items:flex-start}.section-head-actions{justify-content:flex-start}.question-head-actions{justify-content:space-between;width:100%;margin-left:0}.question-answer-mode{width:100%}.question-answer-mode .segmented{flex-wrap:wrap}.question-answer-mode .segmented button{flex:auto}.run-panel,.panel{padding:18px}.run-top{margin-bottom:14px}.question-title{font-size:1.15rem;font-weight:700;line-height:1.4}.option-card{padding:13px 14px;font-size:1rem;font-weight:500;line-height:1.45}.option-card .rich-text{line-height:1.45}.quiz-grid{grid-template-columns:1fr}.review-line{flex-direction:column;gap:2px}.review-line>span:first-child{min-width:0}.control-label{display:none}.rich-field{flex-direction:column;align-items:stretch}.rich-field .btn,.rich-field .icon-btn{align-self:flex-start}}.type-select{display:inline-flex;position:relative}.type-select-trigger{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-width:190px;color:var(--text);border-bottom-width:3px;align-items:center;gap:8px;padding:8px 10px;font-size:.85rem;font-weight:700;line-height:1;display:inline-flex}.type-select-trigger:hover{border-color:var(--blue)}.type-select-trigger:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.type-select-icon{background:var(--surface-2);width:26px;height:26px;color:var(--muted);border-radius:8px;flex:none;place-items:center;display:inline-grid}.type-select-icon svg{width:16px;height:16px}.type-select-label{text-align:left;white-space:nowrap;flex:1}.type-select-chevron{width:15px;height:15px;color:var(--muted);flex:none;transition:transform .15s}.type-select-chevron.is-open{transform:rotate(180deg)}.type-select-menu{z-index:40;border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);border-bottom-width:4px;gap:2px;min-width:220px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 24px #0000001f}.type-select-option{width:100%;color:var(--text);text-align:left;background:0 0;border:none;border-radius:9px;align-items:center;gap:10px;padding:8px 10px;font-size:.85rem;font-weight:700;display:flex}.type-select-option:hover,.type-select-option:focus-visible{background:var(--surface-2);outline:none}.type-select-option.is-active{background:var(--surface-2)}.type-single .type-select-icon{background:var(--blue-soft);color:var(--blue-strong)}.type-multiple .type-select-icon{background:color-mix(in srgb, var(--purple) 16%, transparent);color:var(--purple-shadow)}.type-ordering .type-select-icon{background:color-mix(in srgb, var(--orange) 16%, transparent);color:var(--orange-shadow)}.type-text .type-select-icon{background:var(--accent-soft);color:var(--accent-strong)}.type-matching .type-select-icon{background:var(--red-soft);color:var(--red-strong)}.question-type-badge{border:2px solid var(--border);background:var(--surface);color:var(--muted);cursor:help;border-radius:999px;align-items:center;gap:6px;padding:4px 10px 4px 4px;font-family:inherit;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex;position:relative}.question-type-badge:hover,.question-type-badge:focus-visible,.question-type-badge.is-open{border-color:var(--blue);outline:none}.question-type-badge .type-select-icon{border-radius:999px;width:22px;height:22px}.question-type-badge .type-select-icon svg{width:14px;height:14px}.question-type-badge-label{white-space:nowrap}.question-type-tooltip{z-index:50;background:var(--text);width:max-content;max-width:240px;color:var(--surface);text-align:left;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;border-radius:10px;flex-direction:column;gap:2px;padding:8px 10px;font-size:.72rem;font-weight:600;line-height:1.4;transition:opacity .15s,transform .15s,visibility .15s;display:flex;position:absolute;top:calc(100% + 8px);right:0;transform:translateY(-4px);box-shadow:0 10px 24px #0000002e}.question-type-tooltip-title{font-weight:800}.question-type-badge:hover .question-type-tooltip,.question-type-badge:focus-visible .question-type-tooltip,.question-type-badge.is-open .question-type-tooltip{opacity:1;visibility:visible;transform:translateY(0)}@media (max-width:640px){.question-type-badge{gap:0;padding:3px}.question-type-badge-label{display:none}.question-type-badge .type-select-icon{width:24px;height:24px}}.tag-input{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-height:48px;padding:8px 10px;display:flex}.tag-input:focus-within{border-color:var(--blue)}.tag-input-field{min-width:140px;color:var(--text);background:0 0;border:none;outline:none;flex:1;padding:6px 2px}.tag-chip{background:var(--blue-soft);color:var(--blue-strong);border-radius:999px;align-items:center;gap:6px;padding:5px 8px 5px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.tag-chip svg{width:13px;height:13px}.tag-chip-remove{width:18px;height:18px;color:inherit;background:0 0;border:none;border-radius:50%;place-items:center;padding:0;display:inline-grid}.tag-chip-remove:hover{background:color-mix(in srgb, var(--blue-strong) 18%, transparent)}.tag-chip-remove svg{width:10px;height:10px}.quiz-meta-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;margin-top:10px;display:flex}.quiz-meta-row .quiz-folder-badge,.quiz-meta-row .quiz-tags{margin-top:0}.quiz-meta-row .quiz-tags{justify-content:flex-end;margin-left:auto}.quiz-meta-row .quiz-tags:only-child{justify-content:flex-start;margin-left:0}.quiz-tags{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.quiz-tag{border:1px solid var(--border);background:var(--surface-2);color:var(--muted);border-radius:999px;align-items:center;gap:5px;padding:4px 9px;font-size:.72rem;font-weight:700;display:inline-flex}.quiz-tag:hover,.quiz-tag.is-active{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-strong)}.quiz-tag svg{width:12px;height:12px}.quiz-folder-badge{color:var(--muted);align-items:center;gap:6px;margin-top:10px;font-size:.78rem;font-weight:700;display:inline-flex}.quiz-folder-badge svg{width:14px;height:14px}.store-author{color:var(--muted);margin:12px 0 0;font-size:.78rem;font-weight:700}.quiz-list-controls{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.search-field{flex:1;align-items:center;min-width:220px;display:flex;position:relative}.search-icon{width:17px;height:17px;color:var(--muted);pointer-events:none;position:absolute;left:13px}.search-input{padding-left:40px;padding-right:36px}.search-clear{background:var(--surface-2);width:24px;height:24px;color:var(--muted);border:none;border-radius:50%;place-items:center;padding:0;font-size:1rem;line-height:1;display:grid;position:absolute;right:10px}.search-clear:hover{background:var(--red-soft);color:var(--red-strong)}.view-toggle{flex:none}.view-toggle button{white-space:nowrap}.view-icon{width:15px;height:15px}.search-tag-chip{flex:none}.btn-icon{width:15px;height:15px}.scroll-sentinel{color:var(--muted);text-align:center;padding:22px 0;font-size:.85rem}.folder-view-hint{margin:0 0 6px}.folder-node{gap:8px;display:grid}.folder-row{border:2px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);border-bottom-width:3px;align-items:center;gap:8px;padding:10px 12px;display:flex}.folder-root-row{border-style:dashed}.folder-toggle{width:36px;height:36px;color:var(--muted);background:0 0;border:none;border-radius:8px;flex:none;place-items:center;padding:0;display:grid}.folder-toggle:disabled{opacity:0;cursor:default}.folder-toggle svg{width:16px;height:16px}.folder-toggle-spacer{flex:none;width:36px}.folder-icon{width:18px;height:18px;color:var(--blue);flex:none}.folder-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.92rem;font-weight:800;overflow:hidden}.folder-count{background:var(--surface-2);color:var(--muted);border-radius:999px;flex:none;padding:3px 8px;font-size:.7rem;font-weight:700}.folder-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.folder-actions .icon-btn{border-width:1px 1px 2px;border-radius:8px;width:30px;height:30px;font-weight:800}.folder-actions .icon-btn svg{width:13px;height:13px}.icon-btn-danger:hover{border-color:var(--red);background:var(--red-soft);color:var(--red-strong)}.folder-body{border-left:2px dashed var(--border);gap:8px;margin-left:18px;padding-left:12px;display:grid}.folder-quiz-grid{margin:4px 0 8px}.folder-empty{margin:0;padding:4px 0 8px}.folder-menu-list{gap:6px;display:grid}.folder-menu-item{background:var(--surface-2);width:100%;color:var(--text);text-align:left;border:2px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:12px 14px;font-size:.9rem;font-weight:700;display:flex}.folder-menu-item svg{width:16px;height:16px;color:var(--muted);flex:none}.folder-menu-item:hover{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-strong)}.folder-menu-item:hover svg{color:inherit}.folder-menu-item.is-danger{color:var(--red-strong)}.folder-menu-item.is-danger svg{color:var(--red)}.folder-menu-item.is-danger:hover{border-color:var(--red);background:var(--red-soft);color:var(--red-strong)}.folder-picker{gap:4px;max-height:320px;display:grid;overflow-y:auto}.folder-picker-option{width:100%;color:var(--text);text-align:left;background:0 0;border:2px solid #0000;border-radius:10px;align-items:center;gap:9px;padding:10px 12px;font-size:.88rem;font-weight:600;display:flex}.folder-picker-option:hover{background:var(--surface-2)}.folder-picker-option.is-active{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-strong)}.folder-picker-icon{width:16px;height:16px;color:var(--muted);flex:none}.folder-picker-option.is-active .folder-picker-icon{color:inherit}.review-match-list{gap:0;margin-top:12px;display:grid}.review-match-summary{color:var(--muted);padding:2px 2px 10px;font-size:.8rem;font-weight:700}.review-match-summary.is-wrong{color:var(--red-strong)}.review-match-row{border:none;border-bottom:1px solid var(--border);background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;padding:10px 2px;font-size:.9rem;font-weight:600;display:grid}.review-match-row:last-child{border-bottom:none}.review-match-item{min-width:0}.review-match-link{place-self:center;width:40px;height:2px;position:relative}.review-match-link:before{content:"";background:var(--muted);border-radius:2px;height:2px;position:absolute;top:0;left:0;right:3px}.review-match-link:after{content:"";border-left:9px solid var(--muted);border-top:6px solid #0000;border-bottom:6px solid #0000;width:0;height:0;position:absolute;top:50%;right:0;transform:translateY(-50%)}.review-match-row.is-correct .review-match-link:before{background:var(--accent)}.review-match-row.is-correct .review-match-link:after{border-left-color:var(--accent)}.review-match-row.is-wrong .review-match-link:before{background:var(--red)}.review-match-row.is-wrong .review-match-link:after{border-left-color:var(--red)}@media (max-width:520px){.type-select,.type-select-trigger{width:100%}.type-select-menu{width:100%;left:0;right:auto}.folder-count{display:none}.folder-actions .icon-btn{width:28px;height:28px}.folder-body{margin-left:8px;padding-left:8px}.review-match-row{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:8px;padding:8px 0;font-size:.82rem}.review-match-link{width:30px}}.empty-icon svg{width:26px;height:26px}.score-fields{grid-template-columns:minmax(0,1fr);gap:12px;max-width:320px;margin-top:16px;display:grid}.result-status{border-radius:999px;margin:0;padding:8px 14px;font-size:.88rem;font-weight:800}.result-status.is-pass{background:var(--accent-soft);color:var(--accent-strong)}.result-status.is-fail{background:var(--red-soft);color:var(--red-strong)}.review-points{background:var(--surface-2);color:var(--muted);border-radius:999px;padding:3px 9px;font-size:.7rem;font-weight:800}.review-item.is-partial{border-color:var(--warning)}.review-item.is-partial .badge{background:color-mix(in srgb, var(--warning) 18%, transparent);color:var(--orange-shadow)}.folder-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:18px;display:grid}.folder-tree-panel{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;gap:10px;max-height:calc(100vh - 120px);padding:14px;display:grid;position:sticky;top:88px;overflow-y:auto}.folder-tree-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;display:flex}.folder-tree-head .btn{padding:5px 8px;font-size:.76rem}.folder-tree{gap:4px;display:grid}.folder-row{cursor:pointer;-webkit-user-select:none;user-select:none}.folder-row:hover{border-color:var(--blue);background:var(--blue-soft)}.folder-row.is-selected{border-color:var(--blue);background:var(--blue-soft);box-shadow:inset 3px 0 0 var(--blue)}.folder-row.is-selected .folder-name,.folder-row.is-selected .folder-icon{color:var(--blue-strong)}.folder-toggle{cursor:pointer;transition:background .12s,color .12s}.folder-toggle:hover{background:var(--surface-2);color:var(--text)}.folder-row-wrap{align-items:center;gap:8px;display:flex}.folder-row-wrap .folder-row{flex:1;min-width:0}.folder-root-node>.folder-row-wrap{margin-bottom:4px}.folder-children{gap:4px;display:grid}.folder-loading{padding:12px 0;font-size:.82rem}.folder-content{gap:14px;min-width:0;padding-bottom:76px;display:grid}.folder-content-head{border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);border-bottom-width:4px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.folder-content-head h3{letter-spacing:-.01em;overflow-wrap:anywhere;margin:3px 0 0;font-size:1.1rem}.folder-path{color:var(--muted);overflow-wrap:anywhere;font-size:.68rem;font-weight:700;line-height:1.4;display:block}.folder-content-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.folder-content-actions .btn{gap:6px}.folder-content-actions .btn svg{width:14px;height:14px}.folder-tree-modal{width:min(520px,100%)}.folder-tree-modal .folder-tree{max-height:min(50vh,420px);padding-right:4px;overflow-y:auto}.folder-tree-modal .modal-actions{justify-content:space-between}@media (max-width:820px){.folder-tree{--folder-indent:11px;gap:2px}.folder-node,.folder-children{gap:2px}.folder-row-wrap{gap:4px}.folder-root-node>.folder-row-wrap{margin-bottom:2px}.folder-row{border-width:1px 1px 2px;border-radius:8px;gap:6px;padding:5px 8px}.folder-toggle,.folder-toggle-spacer{width:26px;height:26px}.folder-toggle svg{width:14px;height:14px}.folder-icon{width:15px;height:15px}.folder-name{font-size:.82rem}.folder-tree-modal .folder-tree{max-height:min(62vh,520px)}}.quiz-list-area{min-width:0;padding-bottom:76px}.fab{z-index:40;color:#fff;cursor:pointer;border:2px solid;border-bottom-width:4px;border-radius:999px;align-items:center;gap:8px;padding:12px 16px;font-size:.85rem;font-weight:800;transition:filter .12s,transform .1s;display:inline-flex;position:fixed;bottom:18px;box-shadow:0 12px 26px #0003}.fab:hover{filter:brightness(1.05)}.fab:active{border-bottom-width:2px;transform:translateY(2px)}.fab svg{width:16px;height:16px}.fab-left{left:max(18px,50vw - 712px)}.fab-right{right:max(18px,50vw - 712px)}.fab-layout{border-color:var(--blue-strong);border-bottom-color:var(--blue-shadow);background:var(--blue);bottom:118px}.fab-ai{border-color:var(--accent);border-bottom-color:var(--accent-shadow);background:var(--accent);bottom:178px}.fab-folder{border-color:var(--blue-strong);background:var(--blue)}.fab-store{border-color:var(--blue-strong);border-bottom-color:var(--blue-shadow);background:var(--blue);bottom:82px}.fab-primary{border-color:var(--accent);border-bottom-color:var(--accent-shadow);background:var(--accent)}.fab-primary svg{transition:transform .15s}.fab-primary.is-open svg{transform:rotate(45deg)}.fab-menu{z-index:41;border:2px solid var(--border);background:var(--surface);border-radius:14px;gap:6px;width:min(280px,100vw - 36px);padding:8px;display:grid;position:fixed;bottom:146px;right:max(18px,50vw - 712px);box-shadow:0 18px 46px #0000003d}.fab-menu-left{bottom:182px;left:max(18px,50vw - 712px);right:auto}.fab-menu-item{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:flex-start;gap:10px;padding:11px 12px;text-decoration:none;transition:background .12s;display:flex}.fab-menu-item:hover,.fab-menu-item:focus-visible{background:var(--surface-2)}.fab-menu-item:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.fab-menu-icon{width:18px;height:18px;color:var(--accent-strong);flex:none;margin-top:2px}.fab-menu-item span{gap:2px;display:grid}.fab-menu-item strong{font-size:.9rem}.fab-menu-item small{color:var(--muted);font-size:.76rem;line-height:1.35}.ai-layout{gap:18px;display:grid}.ai-layout.has-preview{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:start}.ai-form{gap:16px;display:grid}.ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;display:grid}.ai-source-upload{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.field-error{color:var(--danger);margin:8px 0 0;font-size:.8rem;font-weight:600}.ai-type-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:8px;display:grid}.ai-type-option{border:2px solid var(--border);background:var(--surface-2);cursor:pointer;border-radius:10px;align-items:center;gap:9px;padding:10px 12px;font-size:.85rem;font-weight:700;display:flex}.ai-type-option-label{flex:1}.ai-type-option input{accent-color:var(--accent);margin-left:auto}.ai-type-option.is-checked{border-color:var(--accent);background:var(--accent-soft)}.ai-preview{align-content:start;gap:12px;display:grid;position:sticky;top:92px}.ai-preview h2,.ai-preview p{margin:0}.ai-preview-meta,.ai-preview-types>div{flex-wrap:wrap;gap:6px;display:flex}.ai-preview-types{color:var(--muted);gap:6px;font-size:.8rem;font-weight:700;display:grid}@media (max-width:900px){.ai-layout.has-preview{grid-template-columns:1fr}.ai-preview{position:static}}@media (max-width:560px){.ai-form-grid{grid-template-columns:1fr}}@media (max-width:520px){.score-fields{grid-template-columns:1fr}.folder-content-head{align-items:center}.folder-content-head>div:first-child{flex:1;min-width:0}.folder-content-actions{flex:none;justify-content:flex-end;width:auto}.import-guide-modal .modal-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.import-guide-modal .modal-actions .btn{width:100%;padding:10px 12px;font-size:.75rem}.fab{border-radius:50%;justify-content:center;width:52px;height:52px;padding:0}.fab span{display:none}}.answer-score{border-radius:999px;align-items:center;gap:6px;width:fit-content;margin-top:16px;padding:6px 12px;font-size:.82rem;font-weight:800;display:inline-flex}.answer-score.is-pass{background:var(--accent-soft);color:var(--accent-strong)}@media (max-width:768px),(hover:none) and (pointer:coarse){input,textarea,select,.input,.textarea{font-size:16px!important}}.answer-score.is-fail{background:var(--red-soft);color:var(--red-strong)}
