:root{--teal:#087c8e;--teal-dark:#056978;--teal-soft:#b6dce2;--ink:#1f2b37;--muted:#62717f;--line:#d8dde2;--paper:#fff;--stage:#e6e6e6;--panel:#f8fafb;--focus:#0b8294;--danger:#b42318;color:var(--ink);background:var(--stage);font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{background:var(--stage);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}.top-chrome{background:var(--teal);color:#fff;border-top:2px solid #e5f3f5;grid-template-columns:minmax(240px,1fr) auto minmax(240px,1fr);align-items:center;gap:20px;height:60px;padding:0 8px;display:grid}.top-chrome h1{letter-spacing:0;white-space:nowrap;margin:0;font-size:27px;font-weight:700;line-height:1}.candidate-block{align-items:center;gap:12px;min-width:0;display:flex}.candidate-kicker{font-size:13px;font-weight:700;line-height:1.1}.candidate-id{font-size:20px;font-weight:700;line-height:1.05}.logo-mark{border:7px solid #fff;border-radius:50%;flex:none;width:38px;height:38px;position:relative}.logo-mark span{background:var(--teal);display:block;position:absolute}.logo-mark span:first-child{width:30px;height:12px;top:6px;left:-8px;transform:rotate(20deg)}.logo-mark span:nth-child(2){width:14px;height:30px;bottom:-9px;right:0;transform:rotate(-42deg)}.logo-mark span:nth-child(3){width:16px;height:8px;bottom:-4px;left:-7px;transform:rotate(16deg)}.top-actions{justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.summary-pill,.timer{white-space:nowrap;align-items:center;gap:8px;min-height:36px;font-size:18px;font-weight:700;display:inline-flex}.timer.expired{color:#ffe5e1}.timer.practice-mode{color:#eaf7fa}.top-icon{color:#fff;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:36px;height:36px;font-size:19px;font-weight:800;display:inline-flex}.top-icon:hover{background:#ffffff29}.top-icon.accent-a{color:#ff9e18}.top-icon.large-a{font-size:23px}.top-select{color:#111;background:#fff;border:2px solid #dce8eb;border-radius:5px;min-width:140px;height:38px;padding:0 34px 0 12px;font-weight:600}.end-button{color:#111;background:#fff;border:0;border-radius:5px;height:38px;padding:0 13px;font-size:18px;font-weight:700}.hub-view{background:#eef2f4;min-height:100vh}.hub-grid{grid-template-columns:256px minmax(430px,1fr) 360px;gap:16px;height:calc(100vh - 60px);min-height:680px;padding:18px;display:grid}.filter-rail,.exam-list-panel,.detail-panel{border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 1px 2px #17222d0d}.filter-rail{padding:16px;overflow:auto}.rail-title{align-items:center;gap:8px;margin-bottom:18px;font-weight:800;display:flex}.field-label{color:#314151;gap:7px;margin-bottom:15px;font-size:13px;font-weight:800;display:grid}.field-label input,.field-label select{width:100%;height:38px;color:var(--ink);background:#fff;border:1px solid #cfd7df;border-radius:6px;padding:0 10px;font-size:14px;font-weight:600}.search-field{border:1px solid #cfd7df;border-radius:6px;align-items:center;gap:7px;height:38px;padding:0 10px;display:flex}.search-field input{border:0;outline:none;height:auto;padding:0}.stat-stack{border-top:1px solid var(--line);margin-top:20px;padding-top:13px}.stat-line{justify-content:space-between;align-items:center;padding:9px 0;font-size:14px;display:flex}.stat-line strong{font-size:18px}.exam-list-panel{grid-template-rows:auto 1fr;min-width:0;padding:0;display:grid;overflow:hidden}.section-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.section-head h2,.detail-panel h2,.material-head h2{margin:0;font-size:21px;line-height:1.2}.section-head p,.material-head p{color:var(--muted);margin:4px 0 0;font-size:13px;font-weight:700}.quiet-button{color:#2a3a48;background:#fff;border:1px solid #cad4dc;border-radius:6px;align-items:center;gap:7px;height:36px;padding:0 11px;font-size:14px;font-weight:800;display:inline-flex}.exam-list{align-content:start;gap:8px;padding:12px;display:grid;overflow:auto}.exam-row{width:100%;color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #d7dee5;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;display:grid}.exam-row:hover,.exam-row.selected,.exam-row:focus-visible{border-color:var(--focus);box-shadow:inset 4px 0 0 var(--focus);outline:none}.exam-row-main{align-items:center;gap:12px;min-width:0;display:flex}.exam-id{min-width:54px;height:32px;color:var(--teal-dark);background:#e8f4f6;border-radius:6px;justify-content:center;align-items:center;padding:0 8px;font-weight:900;display:inline-flex}.exam-id.large{min-width:70px;height:38px;font-size:17px}.exam-row h3{letter-spacing:0;margin:0;font-size:16px;line-height:1.25}.exam-row p{color:var(--muted);margin:4px 0 0;font-size:13px;line-height:1.25}.row-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.area-chip,.doc-count,.status-chip,.detail-tags span{white-space:nowrap;border-radius:6px;align-items:center;min-height:28px;padding:0 9px;font-size:12px;font-weight:900;display:inline-flex}.tone-blue{color:#264d85;background:#e7f0ff}.tone-green{color:#1c6b3a;background:#e8f5ec}.tone-orange{color:#8a4b09;background:#fff1df}.tone-slate,.doc-count,.detail-tags span{color:#3d4a56;background:#edf1f4}.status-chip.offen{color:#53616f;background:#f1f4f7}.status-chip.mitBearbeitung{color:#07606f;background:#e0f4f7}.start-inline{background:var(--teal);color:#fff;border:0;border-radius:6px;align-items:center;gap:5px;height:30px;padding:0 10px;font-size:13px;font-weight:900;display:inline-flex}.detail-panel{padding:18px;overflow:auto}.detail-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;display:flex}.detail-tags{flex-wrap:wrap;gap:7px;margin:13px 0;display:flex}.legal-line{color:#4d5d6c;min-height:42px;font-size:14px;line-height:1.45}.primary-button{background:var(--teal);color:#fff;border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;width:100%;height:44px;margin:8px 0 15px;font-size:16px;font-weight:900;display:inline-flex}.primary-button.compact{width:auto;min-width:210px;margin:0;padding:0 16px}.secondary-button{width:100%;height:42px;color:var(--teal-dark);background:#e8f4f6;border:1px solid #b9d4da;border-radius:7px;justify-content:center;align-items:center;gap:8px;margin:0 0 15px;font-size:15px;font-weight:900;display:inline-flex}.session-facts{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px;display:grid}.session-facts div{border:1px solid var(--line);background:var(--panel);border-radius:7px;padding:10px}.session-facts span{color:var(--muted);font-size:12px;font-weight:800;display:block}.session-facts strong{margin-top:5px;font-size:14px;display:block}.document-block h3{margin:0 0 10px;font-size:16px}.simulation-block,.logbook{margin-bottom:18px}.simulation-block h3,.logbook h3,.panel-log h3{align-items:center;gap:7px;margin:0 0 10px;font-size:16px;display:flex}.simulation-list,.log-list{gap:8px;display:grid}.simulation-item{border:1px solid var(--line);color:#243440;text-align:left;background:#fff;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:10px;display:grid}.simulation-item:hover{border-color:var(--focus)}.simulation-item strong,.simulation-item span{min-width:0;display:block}.simulation-item strong{font-size:14px}.simulation-item span{color:var(--muted);margin-top:4px;font-size:12px;font-weight:800;line-height:1.3}.log-entry,.panel-log-entry{border-left:3px solid var(--teal-soft);background:#f7fafb;gap:3px;padding:9px 10px;display:grid}.log-entry time,.panel-log-entry time{color:var(--muted);font-size:11px;font-weight:900}.log-entry strong,.panel-log-entry strong{font-size:13px}.log-entry span{color:#53616f;font-size:12px;font-weight:700}.empty-note{color:var(--muted);border:1px dashed #cad4dc;border-radius:7px;margin:0;padding:10px;font-size:13px;font-weight:800}.document-link{border:1px solid var(--line);color:#1f3443;border-radius:7px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:40px;margin-bottom:8px;padding:8px 9px;text-decoration:none;display:grid}.document-link:hover{border-color:var(--focus)}.document-link small{color:var(--muted);font-size:12px;font-weight:800}.exam-screen{background:var(--stage);height:100vh;overflow:hidden}.editor-toolbar{background:#fff;border-bottom:1px solid #d5d5d5;align-items:center;gap:0;height:86px;padding:0 14px;display:flex;overflow-x:auto;box-shadow:0 2px 6px #00000014}.toolbar-group{border-right:1px solid #cfd3d7;flex:none;align-items:center;gap:8px;height:58px;padding:0 14px;display:inline-flex}.toolbar-group:first-child{padding-left:0}.icon-button{color:#24313d;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.icon-button:hover,.icon-button.active{background:var(--teal-soft)}.icon-button.saved{color:var(--teal)}.format-select{color:#252f38;background:#fff;border:0;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;min-width:170px;height:40px;padding:0 10px;display:inline-flex}.format-select select{appearance:none;width:100%;color:inherit;background:0 0;border:0;outline:0;font-weight:600}.color-tool{color:#24313d;border-radius:4px;justify-content:center;align-items:center;width:42px;height:38px;display:inline-flex;position:relative}.color-tool.text-color{gap:6px;width:auto;padding:0 8px}.color-tool-text{font-size:18px;font-weight:700;line-height:1}.color-tool:hover{background:#eef3f5}.color-tool input{opacity:0;position:absolute;inset:0}.color-tool select{color:inherit;background:0 0;border:0;outline:0;font-size:12px;font-weight:600}.exam-workspace{grid-template-columns:minmax(0,1fr) 0;height:calc(100vh - 146px);transition:grid-template-columns .18s;display:grid}.exam-screen.with-material .exam-workspace{grid-template-columns:minmax(0,1fr) 380px}.paper-stage{background:var(--stage);min-width:0;padding:10px 14px 70px;overflow:auto}.status-strip{color:#5d6874;justify-content:space-between;gap:12px;width:min(994px,100vw - 56px);margin:0 auto 10px;font-size:12px;font-weight:800;display:flex}.status-strong{color:var(--danger)}.answer-page{background:var(--paper);color:#050505;outline:none;width:min(994px,100vw - 56px);min-height:1320px;margin:0 auto;padding:66px 72px;font-size:20px;line-height:1.45;box-shadow:0 0 0 1px #00000005}.answer-page.compact{font-size:17px}.answer-page.large{font-size:23px}.answer-page:empty:before{content:attr(data-placeholder);color:#8a929a}.answer-page h1,.answer-page h2,.answer-page p{margin:0 0 18px}.answer-page h1{font-size:28px}.answer-page h2{font-size:28px;font-weight:800;line-height:1.25}.answer-page blockquote{border-left:3px solid #cdd4da;margin:0 0 18px 24px;padding-left:16px}.answer-page table{border-collapse:collapse;width:100%;margin:18px 0}.answer-page td,.answer-page th{border:1px solid #aeb8c1;min-width:90px;padding:8px 10px}.material-panel{background:#fff;border-left:1px solid #cbd2d8;min-width:0;transition:transform .18s;overflow:hidden;transform:translate(100%)}.material-panel.open{transform:translate(0)}.material-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:76px;padding:16px;display:flex}.close-panel{color:#263540;background:#edf2f5;border:0;border-radius:5px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.material-list{gap:9px;padding:14px;display:grid}.material-item{border:1px solid var(--line);color:#243440;border-radius:7px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:11px;text-decoration:none;display:grid}.material-item:hover{border-color:var(--focus)}.material-icon{width:34px;height:34px;color:var(--teal);background:#e8f4f6;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.material-item strong,.material-item span{min-width:0;display:block}.material-item strong{font-size:14px}.material-item span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin-top:3px;font-size:12px;font-weight:700;overflow:hidden}.material-item small{color:#7a8590;font-size:12px;font-weight:800}.completion-note{color:#3d4a55;background:#f2f6f7;border-radius:7px;align-items:center;gap:8px;margin:2px 14px;padding:12px;font-size:13px;font-weight:800;display:flex}.panel-log{border-top:1px solid var(--line);margin:14px;padding-top:13px}.panel-log-entry{margin-bottom:8px}.modal-backdrop{z-index:20;background:#151f2a6b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.simulation-dialog{background:#fff;border:1px solid #d5dde3;border-radius:8px;width:min(620px,100vw - 36px);padding:18px;box-shadow:0 24px 70px #0000003d}.dialog-head{grid-template-columns:minmax(0,1fr) auto;gap:14px;margin-bottom:16px;display:grid}.dialog-head h2{margin:0;font-size:22px}.dialog-head p{color:#4d5d6c;margin:7px 0 0;font-size:14px;line-height:1.45}.duration-grid{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px;display:grid}.duration-option{color:#293845;background:#fff;border:1px solid #cbd5dc;border-radius:7px;height:42px;font-size:14px;font-weight:900}.duration-option.selected{border-color:var(--teal);color:var(--teal-dark);background:#e2f3f6}.custom-duration{margin-bottom:16px}.dialog-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;padding-top:14px;display:flex}@media (width<=1200px){.hub-grid{grid-template-columns:240px minmax(380px,1fr)}.detail-panel{grid-column:1/-1}.top-chrome{grid-template-columns:auto 1fr auto}.top-chrome h1{text-overflow:ellipsis;justify-self:center;max-width:42vw;overflow:hidden}}@media (width<=820px){.top-chrome{grid-template-columns:1fr;height:auto;min-height:60px;padding:8px}.top-chrome h1{justify-self:start;max-width:100%;font-size:22px}.top-actions{flex-wrap:wrap;justify-content:flex-start}.hub-grid{grid-template-columns:1fr;height:auto;min-height:0;padding:10px}.duration-grid{grid-template-columns:1fr 1fr}.dialog-actions{flex-direction:column-reverse}.dialog-actions .primary-button,.dialog-actions .quiet-button{width:100%}.exam-row{grid-template-columns:1fr}.row-meta{justify-content:flex-start}.editor-toolbar{height:74px}.exam-workspace{height:calc(100vh - 134px)}.exam-screen.with-material .exam-workspace{grid-template-columns:1fr}.material-panel{z-index:5;width:min(92vw,380px);position:fixed;top:134px;bottom:0;right:0;box-shadow:-8px 0 22px #00000024}.answer-page,.status-strip{width:calc(100vw - 24px)}.answer-page{min-height:1100px;padding:42px 28px}}@media print{.top-chrome,.editor-toolbar,.material-panel,.status-strip{display:none!important}.exam-screen,.exam-workspace,.paper-stage{background:#fff;height:auto;overflow:visible}.answer-page{width:auto;min-height:auto;box-shadow:none;padding:0}}.top-link{color:#fff;background:0 0;border:1px solid #ffffffa6;border-radius:6px;height:34px;padding:0 10px;font-weight:700}.auth-shell{place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{background:#fff;border:1px solid #d8dde2;border-radius:8px;gap:12px;width:min(520px,100%);padding:20px;display:grid}.auth-card label{gap:6px;font-weight:700;display:grid}.auth-card input,.auth-card select{border:1px solid #cfd7df;border-radius:6px;height:38px;padding:0 10px}.auth-card button{background:var(--teal);color:#fff;border:0;border-radius:6px;height:38px;font-weight:700}.auth-error{color:var(--danger);font-weight:700}.auth-info{color:var(--teal-dark);font-weight:700}.auth-actions{gap:8px;display:flex}
