:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#163030;background:#f3f6f2;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at top right,#d7ebe3 0,transparent 34rem),#f3f6f2}button,input,select,textarea{font:inherit}button{cursor:pointer;min-height:44px}button:disabled{cursor:default;opacity:.55}button:focus-visible,input:focus-visible{outline:3px solid #3c7b69;outline-offset:3px}.shell{width:min(100% - 28px,980px);margin:0 auto;padding:max(22px,env(safe-area-inset-top)) 0 56px}.app-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 20px}.app-header h1{margin:0;font-family:Georgia,serif;font-size:clamp(1.9rem,7vw,2.6rem);font-weight:600;letter-spacing:-.04em}.icon-button{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:1px solid #ccdcd3;border-radius:50%;color:#174f47;background:#fffdf8}.pulse{display:grid;place-items:center;width:58px;height:58px;color:#f9fffb;background:#dc6c4d;border-radius:18px 18px 18px 5px;font-family:Georgia,serif;font-size:1.8rem}.eyebrow{color:#46796d;font-size:.74rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.card{background:#fffdf8;border:1px solid #dce7df;border-radius:24px;padding:clamp(20px,4vw,32px);box-shadow:0 16px 48px #1630300c}.card h2{margin:6px 0 8px;font-family:Georgia,serif;font-size:clamp(1.45rem,4vw,2rem);font-weight:600}.muted{color:#6d7e7a;margin:0 0 20px}.form{display:grid;gap:16px}.form-fields{display:grid;gap:16px;margin:0;padding:0;min-width:0;border:0}.form-actions{display:flex;flex-wrap:wrap;gap:12px}.form-actions button{flex:1}.secondary{border:1px solid #ccdcd3;border-radius:14px;padding:12px 18px;color:#174f47;background:#f7faf7;font-weight:700}.form-error{margin:0;padding:14px;border-radius:12px;background:#faeae4;color:#823b2b;overflow-wrap:anywhere}.field small,.field-notice{color:#59706d;font-size:.85rem}.field-notice{margin:0}.field-notice:empty{display:none}.notification-option{display:flex;align-items:center;gap:12px;min-height:48px;cursor:pointer}.notification-option input{flex:0 0 22px;width:22px;height:22px;accent-color:#174f47}.profile-values{display:grid;gap:16px;margin:0}.profile-values dt{color:#59706d;font-size:.85rem}.profile-values dd{margin:4px 0 0;overflow-wrap:anywhere}.field{display:grid;gap:7px}.field>label{color:#516964;font-size:.82rem;font-weight:700}input,select,textarea{width:100%;min-width:0;color:#173231;background:#f7faf7;border:1px solid #ccdcd3;border-radius:13px;padding:12px 13px;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#3c7b69;box-shadow:0 0 0 3px #3c7b6918}textarea{resize:vertical}.grid-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.dashboard{display:grid;gap:16px}.dashboard-actions{display:flex;justify-content:flex-end}.compact{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;font-size:.9rem}.empty-state{color:#6d7e7a;margin:12px 0 0}.exam-status{font-size:.85rem;font-weight:600}.exam-item .exam-status{color:#516964}.status-ready,.exam-item .status-ready{color:#23674f}.status-failed,.exam-item .status-failed{color:#a34632}.exam-heading{margin-bottom:16px;overflow-wrap:anywhere}.exam-heading h2{margin:0 0 8px}.primary{border:0;border-radius:14px;padding:13px 18px;color:#fff;background:#174f47;font-weight:800;box-shadow:0 8px 18px #174f472b}.primary:disabled{opacity:.55;cursor:wait}.exam-list{align-self:start}.exam-item{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;border-top:1px solid #e7eee8;padding:16px 2px;text-align:left;color:#183835;background:transparent}.exam-item span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.exam-item small{color:#788985}.back{margin:0 0 12px;border:0;color:#315f57;background:transparent;font-weight:700}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;border-radius:15px;background:#e9f1ec}.segmented button{border:0;border-radius:11px;padding:10px;color:#60736f;background:transparent;font-weight:700}.segmented .active{color:#174f47;background:#fff;box-shadow:0 2px 8px #173d3514}.dropzone{position:relative;display:grid;place-items:center;gap:7px;min-height:150px;padding:24px;border:1.5px dashed #8db3a5;border-radius:18px;color:#315f57;background:#f1f8f4;text-align:center;overflow:hidden}.dropzone span{color:#72837f;font-size:.85rem}.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}.import-report{display:grid;gap:8px;padding:16px;border-radius:16px;background:#f6f4eb}.report-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:.9rem;overflow-wrap:anywhere}.report-line span{color:#687873}.warning{margin:4px 0 0;color:#8c5819;font-size:.85rem}.questions-preview{display:grid;gap:10px;margin-top:5px}.preview-heading{display:flex;align-items:center;justify-content:space-between}.preview-heading h3{margin:6px 0}.preview-heading span{padding:4px 9px;border-radius:20px;color:#fff;background:#dc6c4d;font-size:.78rem;font-weight:800}.question-row{display:grid;grid-template-columns:22px minmax(0,1fr) 44px;align-items:start;gap:8px}.question-row>span{padding-top:12px;color:#78908a;font-size:.82rem;text-align:right}.remove{border:0;border-radius:10px;padding:7px;color:#9b5140;background:#faeae4;font-size:1.25rem}.success{margin:0;padding:14px;border-radius:14px;color:#2c6958;background:#eaf6ee}.loading{min-height:60vh;display:grid;place-content:center;justify-items:center;gap:12px;color:#637a75}.pulse{animation:pulse 1.4s ease-in-out infinite}.error{margin-top:10vh;border-color:#ecc9bf}@keyframes pulse{50%{transform:scale(.92);opacity:.74}}@media(max-width:720px){.grid-two{grid-template-columns:minmax(0,1fr)}.card{border-radius:20px}}@media(prefers-reduced-motion:reduce){.pulse{animation:none}}.generation-panel{display:grid;gap:16px;margin-top:16px;min-width:0}.generation-answer{overflow-wrap:anywhere;min-width:0}.answer-text{white-space:pre-wrap;overflow-wrap:anywhere}.generation-answer summary{cursor:pointer;padding:12px 0;min-height:44px}.generation-panel select{width:100%;min-width:0}.study-screen{min-width:0}.study-screen .form>*,.study-screen article>*{min-width:0}.study-screen article{display:grid;gap:16px}.study-screen h3,.study-screen h4{margin:0 0 8px}.study-screen li{margin-bottom:8px}.study-screen .form-actions button{flex:1 1 120px}.self-assessment{border:1px solid #ccdcd3;border-radius:14px;padding:12px;min-width:0}.self-assessment [aria-pressed=true]{background:#174f47;color:#fff}.study-navigation{border-top:1px solid #dce7df;padding-top:16px}.study-screen select:focus-visible,.study-screen summary:focus-visible{outline:3px solid #3c7b69;outline-offset:3px}.exam-screen{display:grid;gap:16px;min-width:0}.exam-screen [hidden]{display:none}.exam-title{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.exam-title>div{min-width:0;flex:1}.exam-title h2{margin:0 0 8px;overflow-wrap:anywhere}.exam-menu{display:grid;gap:10px;margin-bottom:16px}.question-list{margin-top:16px}.question-actions{display:flex;flex-wrap:wrap;gap:12px}.stale-warning,.confirm-box{padding:14px;border:1px solid #b88c4d;border-radius:14px;background:#fff5de;color:#715020;overflow-wrap:anywhere}.file-list{padding-left:20px;margin:0}.file-list li{padding:8px 0;overflow-wrap:anywhere}.file-list span{display:block}.preparation-exam{border-top:1px solid #dce7df;padding:12px 0;overflow-wrap:anywhere}.calendar-control{position:relative;display:grid;place-items:center;min-height:44px;border:1px solid #ccdcd3;border-radius:13px;background:#f7faf7}.calendar-control input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.candidate{display:grid;gap:8px}[aria-pressed=true].secondary{background:#174f47;color:#fff}:root[data-theme=dark]{color-scheme:dark;color:#e5efea;background:#142523}:root[data-theme=dark] body{background:#142523}:root[data-theme=dark] .card{background:#203431;border-color:#3c5550}:root[data-theme=dark] :is(input,select,textarea,.secondary,.icon-button,.calendar-control){color:#e5efea;background:#29403b;border-color:#536e65}:root[data-theme=dark] :is(.exam-item,.back,.exam-item .exam-status,.exam-item small,.field small,.field-hint,.empty-state,.muted){color:#c0d1c9}:root[data-theme=dark] .segmented{background:#29403b}:root[data-theme=dark] .segmented button{color:#c0d1c9}:root[data-theme=dark] .segmented .active{background:#41685c;color:#fff}:root[data-theme=dark] :is(.stale-warning,.confirm-box,.import-report){background:#403923;color:#ffe1a1}:root[data-theme=dark] .warning{color:#ffe1a1}:root[data-theme=dark] :is(.success,.dropzone){background:#29403b;color:#c1edcf}:root[data-theme=dark] .form-error{background:#50312a;color:#ffd7c9}:root[data-theme=dark] .field>label{color:#c0d1c9}@media(max-width:420px){.form-actions button{flex:1 1 130px}.question-row{grid-template-columns:18px minmax(0,1fr) 44px;gap:5px}}.warning-mark{display:inline-flex;align-items:center;justify-content:center;width:1.2em;height:1.2em;border:1.5px solid currentColor;border-radius:50%;font-weight:800;line-height:1;vertical-align:baseline}.source-diagram{display:block;max-width:100%;height:auto;margin-top:12px}
