:root{color-scheme:light;font-family:Segoe UI,Noto Sans KR,sans-serif;line-height:1.5;color:#1d2939;background:radial-gradient(circle at top left,rgba(255,214,102,.35),transparent 30%),linear-gradient(180deg,#fff9ef,#f8fbff)}*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.app-shell{min-height:100vh}.app-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.5rem 2rem;border-bottom:1px solid rgba(15,23,42,.08);background:#ffffffbf;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-header h1,.app-header p,.page h2,.page h3{margin:0}.app-nav{display:flex;gap:1rem;flex-wrap:wrap}.app-nav a{padding:.65rem 1rem;border-radius:999px;background:#fffc}.app-nav a.active{background:#1434a4;color:#fff}.app-main{padding:2rem}.page{max-width:1100px;margin:0 auto}.page.narrow{max-width:840px}.page-description{color:#475467}.hero-card,.panel,.feature-card{border:1px solid rgba(15,23,42,.08);border-radius:24px;background:#ffffffdb;box-shadow:0 18px 50px #0f172a14}.hero-card{padding:2rem}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#1434a4;font-size:.8rem}.hero-actions,.grid,.card-actions,.editor-link-row,.editor-actions,.create-action-row{display:flex;gap:1rem;flex-wrap:wrap}.grid.two-up>*{flex:1 1 240px}.feature-card,.panel{padding:1.25rem}.quiz-grid>*{flex:1 1 280px}.quiz-list-card{display:grid;gap:1rem}.quiz-card-header{align-items:flex-start}.quiz-card-meta{margin:0;color:#475467}.page-header-row{margin-bottom:1rem}.button{display:inline-flex;align-items:center;justify-content:center;padding:.8rem 1.1rem;border-radius:14px;border:1px solid #d0d5dd;background:#fff;cursor:pointer}.button.primary{border-color:#1434a4;background:#1434a4;color:#fff}.button.danger{border-color:#b42318;color:#b42318}.button:disabled{opacity:.6;cursor:not-allowed}.button-half{flex:1 1 220px}.actions-menu{position:relative}.actions-menu summary{list-style:none}.actions-menu summary::-webkit-details-marker{display:none}.menu-trigger{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:14px;border:1px solid #d0d5dd;background:#fff;cursor:pointer;font-size:1.4rem}.menu-popover{position:absolute;top:calc(100% + .5rem);right:0;min-width:9rem;display:grid;gap:.25rem;padding:.4rem;border:1px solid rgba(15,23,42,.1);border-radius:16px;background:#fff;box-shadow:0 18px 40px #0f172a29;z-index:10}.menu-item{display:flex;width:100%;align-items:center;justify-content:flex-start;padding:.7rem .85rem;border:none;border-radius:12px;background:transparent;cursor:pointer}.menu-item:hover{background:#f8fafc}.menu-item.danger{color:#b42318}.form-panel,.quiz-stack,.quiz-editor-shell,.editor-section,.editor-list{display:grid;gap:1rem}.field{display:grid;gap:.5rem}.field input,.field textarea,.text-answer,.input-like,.editor-input{width:100%;padding:.9rem 1rem;border-radius:14px;border:1px solid #d0d5dd;background:#fff}.status{color:#344054}.status.error{color:#b42318}.status.success{color:#067647}.question-card{display:grid;gap:1rem}.question-meta,.panel-header-actions,.section-heading,.editor-row{display:flex;justify-content:space-between;gap:1rem}.panel-header-actions,.section-heading,.editor-row{align-items:flex-start}.question-meta{color:#475467;font-size:.95rem}.choice-list{display:grid;gap:.75rem}.choice-item{display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem;border-radius:16px;background:#f8fafc}.choice-order{display:inline-flex;align-items:center;justify-content:center;width:2rem;min-width:2rem;height:2rem;border-radius:999px;background:#eff4ff;color:#1434a4;font-weight:600}.question-image{max-width:100%;border-radius:18px}.feedback-panel{border-radius:18px;padding:1rem 1.1rem}.feedback-panel strong,.feedback-panel p{margin:0}.feedback-panel p+p,.feedback-panel strong+p{margin-top:.45rem}.feedback-correct{background:#ecfdf3}.feedback-wrong{background:#fef3f2}.result-list{display:grid;gap:.75rem}.result-item{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-radius:16px}.result-item.correct{background:#ecfdf3}.result-item.wrong{background:#fef3f2}.log-list,.log-card{display:grid;gap:1rem}.log-meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem 1rem}.log-meta-grid p{margin:0}.log-status{margin:.25rem 0 0;font-weight:600;text-transform:capitalize}.status-processing{color:#b54708}.status-completed{color:#067647}.status-failed{color:#b42318}.log-error-box{padding:1rem;border-radius:18px;background:#fef3f2}.log-error-box strong,.log-error-box p{margin:0}.log-error-box p{margin-top:.4rem}.editor-topbar,.editor-row{align-items:center}.editor-actions{justify-content:flex-end}.editor-actions-spread{width:100%;justify-content:space-between;align-items:center}@media(max-width:768px){.app-header,.panel-header-actions,.result-item,.section-heading,.editor-row,.editor-topbar,.editor-actions-spread{align-items:flex-start;flex-direction:column}.app-main{padding:1rem}.menu-popover{left:0;right:auto}}
