:root{font-family:'Avenir Next','Segoe UI',Arial,sans-serif;color:#243d37;background:#f7f8f2;--green:#24654f;--muted:#788677;--line:#dfe6da}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #4b997e;outline-offset:4px}input,textarea,select{width:100%;border:1px solid #d4decf;background:#fffefa;border-radius:8px;padding:11px 12px;font-size:13px}input:focus,textarea:focus,select:focus{outline:2px solid #94b69b;outline-offset:1px}textarea{resize:vertical;line-height:1.6}input:disabled{background:#edf0e8;color:#82917c}.topbar{height:85px;padding:0 5%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#fcfcf7}.logo{font-size:29px;font-weight:750;letter-spacing:-1.4px;text-decoration:none;display:flex;align-items:center}.logo>span{color:var(--green)}.logo small{font-size:8px;letter-spacing:2px;border-left:1px solid #cfdacd;padding-left:15px;margin-left:18px;font-weight:600;color:#788d73}nav{display:flex;gap:24px;font-size:11px}nav a{text-decoration:none}nav a:hover{text-decoration:underline}main{max-width:1420px;margin:0 auto;padding:45px 5% 65px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#78916f}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-1px}h1{font-size:44px;margin:14px 0}h2{font-size:27px;margin:0 0 14px}h3{font-size:16px;font-weight:600;margin:0}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:34px}.heading p{font-size:13px;color:var(--muted);margin:0}.account{font-size:11px;color:#58734f;display:flex;align-items:center;gap:8px}.dot{height:7px;width:7px;background:#4c8e5b;border-radius:50%}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:12px 17px;font-size:12px;font-weight:600;text-decoration:none;border:1px solid transparent}.primary{background:var(--green);color:white}.primary:hover{background:#164e3d}.secondary{background:#f8faf2;border-color:#ccd9c5;color:#59724e}.secondary:hover{background:#eaf0e2}.studio-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:25px;align-items:start}.catalog-panel,.editor-panel{background:white;border:1px solid var(--line);border-radius:15px}.catalog-panel{padding:22px 18px;position:sticky;top:20px}.catalog-top h2{font-family:inherit;font-size:14px;font-weight:650;letter-spacing:0;display:flex;align-items:center;gap:7px}.catalog-top h2 span{background:#edf2e6;color:#67865b;padding:4px 7px;font-size:10px;border-radius:5px}.catalog-top .primary{width:100%;margin:0 0 18px}#admin-search,#status-filter{font-size:12px;margin-bottom:10px;padding:10px}.quiz-list{margin:5px -8px 0;max-height:46vh;overflow:auto}.quiz-item{width:100%;text-align:left;border:0;background:none;border-radius:8px;padding:13px 10px;display:block;cursor:pointer}.quiz-item:hover{background:#f6f8f1}.quiz-item.selected{background:#eaf1e2}.quiz-item strong{font-size:12px;line-height:1.5;display:block;font-weight:600}.quiz-item small{display:flex;align-items:center;gap:7px;font-size:9px;color:#89947f;margin-top:7px}.badge{display:inline-block;font-size:9px;border-radius:5px;padding:5px 7px;background:#f0f2eb;color:#7b8b72;white-space:nowrap}.badge.published{background:#e4f1df;color:#3b7948}.badge.archived{background:#f4eadd;color:#987542}.backup-tools{border-top:1px solid var(--line);padding-top:18px;margin-top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}.backup-tools p{font-size:10px;line-height:1.6;color:#8b9684;margin:0}.text-button{background:none;border:0;padding:0;font-size:11px;color:#68875a;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.danger{color:#a16c53}.file-label{font-weight:400!important;margin:0!important}.editor-panel{padding:32px}.empty-editor{min-height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;color:#7b8b71}.empty-editor>span{font-size:47px;color:#a0b086}.empty-editor h2{font-size:30px;color:#506847;margin:15px 0 0}.empty-editor p{font-size:12px;line-height:1.8;margin:0}.muted{font-size:10px;color:#899680;line-height:1.7}.editor-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.editor-heading h2{font-size:28px;margin:10px 0 0}.save-state{font-size:11px;line-height:1.6;min-height:35px;color:#7e9073;margin:14px 0 20px}.save-state.dirty{color:#a07b43}.save-state.error{color:#a35d47}.save-state.success{color:#397a4d}label{display:block;font-size:12px;font-weight:600;margin:20px 0 9px}label span{color:#a2ad98}label small{font-weight:400}small{font-size:9px;color:#939e8c;line-height:1.6;display:block;margin-top:6px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:17px}.answers-heading{margin:31px 0 10px;display:flex;justify-content:space-between;align-items:center;gap:20px}.answers-heading h3 span{font-size:11px;color:#819975;margin-left:5px}.answers-heading p{font-size:10px;color:#839278;line-height:1.6;margin:8px 0 0}.answers-heading .secondary{padding:9px 12px;white-space:nowrap}.answer-row{display:flex;align-items:flex-start;gap:12px;border:1px solid #e1e8da;border-radius:10px;padding:12px;margin-top:12px;background:#fcfdf8}.answer-number{font-family:Georgia,serif;font-size:20px;color:#97aa87;padding-top:28px;min-width:20px;text-align:center}.answer-fields{flex:1;min-width:0}.answer-main{display:grid;grid-template-columns:1fr 1.15fr;gap:10px}.answer-row label{font-size:9px;color:#7e9272;margin:3px 0 6px}.answer-row label input{display:block;margin-top:7px;font-size:12px;padding:9px 10px;background:white}.answer-extra{margin-top:8px}.answer-extra summary{font-size:9px;color:#9aa58f;cursor:pointer}.answer-extra .two-cols{gap:10px}.row-controls{display:flex;flex-direction:column;gap:3px;margin-top:18px}.row-controls button{width:24px;height:24px;display:grid;place-items:center;border:0;background:#edf2e5;border-radius:5px;color:#81976e;font-size:15px}.row-controls button:hover{background:#dfe9d4}.bulk-tools,.sources{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.bulk-tools summary,.sources summary{font-size:11px;color:#789367;cursor:pointer}.bulk-tools button{margin-top:10px}.editor-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);margin-top:30px;padding-top:23px}.other-actions{display:flex;gap:22px;margin-top:22px;flex-wrap:wrap}.gate{max-width:650px;padding:65px 30px;margin:auto;text-align:center}.gate h1{font-size:50px;line-height:1.15;margin:25px 0}.gate>p:not(.muted){color:#6b8060;font-size:14px;line-height:1.8}.gate .primary,.gate .secondary{margin:15px 4px}.gate .muted{max-width:390px;margin:20px auto}.global-message{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:10;max-width:calc(100vw - 30px);width:max-content;background:#284e38;color:white;border-radius:9px;box-shadow:0 5px 25px #23473725;font-size:12px;padding:13px 20px;display:none}.global-message.show{display:block}dialog{max-width:480px;width:calc(100vw - 36px);border:1px solid var(--line);border-radius:16px;padding:30px;color:#314b36;background:#fffff8}dialog::backdrop{background:#233c355e;backdrop-filter:blur(3px)}dialog h2{font-size:29px}dialog p{font-size:13px;line-height:1.8;color:#7f8d74}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1050px){main{padding:30px 25px 50px}.studio-layout{grid-template-columns:235px minmax(0,1fr);gap:17px}.editor-panel{padding:24px}.answer-main{grid-template-columns:1fr}.answer-number{padding-top:24px}.heading h1{font-size:38px}.account{font-size:10px}}@media(max-width:700px){.topbar{height:75px;padding:0 20px}.logo{font-size:25px}.logo small{font-size:7px;margin-left:12px;padding-left:12px}nav{font-size:10px;gap:14px}main{padding:28px 16px 70px}.heading{display:block;margin-bottom:25px}.heading h1{font-size:36px}.account{margin-top:18px}.studio-layout{display:flex;flex-direction:column}.catalog-panel{position:static;width:100%;padding:20px}.quiz-list{max-height:220px}.catalog-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.catalog-top h2{margin:0}.catalog-top .primary{width:auto;margin:0}.backup-tools{display:block}.backup-tools>.text-button{display:inline-block;margin:0 15px 14px 0}.editor-panel{width:100%;padding:23px 16px}.empty-editor{min-height:280px}.editor-heading h2{font-size:25px}.two-cols{grid-template-columns:1fr;gap:0}.answer-row{padding:10px 8px;gap:7px}.answer-row input{font-size:16px!important}.answer-main{grid-template-columns:1fr}.answer-number{font-size:17px;min-width:15px}.row-controls button{width:27px;height:27px}.editor-actions{justify-content:stretch}.editor-actions button{flex:1;padding:12px 10px;font-size:11px}.editor-actions .primary{flex-basis:100%}input,textarea,select{font-size:16px}.answers-heading{gap:12px}.answers-heading p{max-width:220px}.gate{padding:50px 5px}.gate h1{font-size:39px}.gate p{font-size:12px}.gate .muted{font-size:10px}.dialog-actions{flex-direction:column}.dialog-actions button{width:100%}.other-actions{gap:18px}}
