*{box-sizing:border-box}body{margin:0;background:#f4f6f3;color:#171b16;font:16px/1.5 system-ui,sans-serif}header{background:#fff;border-bottom:3px solid #377a00;display:flex;align-items:center;gap:20px;padding:12px 5%;min-height:84px}header img{width:125px;height:66px;object-fit:contain}header strong{font-size:23px}header small{margin-left:auto;color:#666}main{max-width:950px;margin:32px auto;padding:24px;background:white;border-radius:12px;border:1px solid #e0e5df}h1{font-size:28px;margin-top:0}h2{font-size:20px;margin-top:32px}form{max-width:480px;margin:16px 0}label{display:block;font-weight:600;margin:12px 0}input{display:block;width:100%;padding:11px;border:1px solid #aeb8ac;border-radius:6px;margin-top:5px;font:inherit}button{background:#377a00;color:white;border:0;border-radius:6px;padding:11px 20px;font:inherit;font-weight:600;cursor:pointer}a{color:#2f6a00}footer{color:#636b60;text-align:center;padding:20px;font-size:13px}.note,.error,.ok{padding:14px;border:1px solid #d5dacd;border-radius:6px;background:#f0f3ed}.error{background:#fff2ee;color:#8b241a}.ok{background:#edf5e6;color:#285d00}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}article{border:1px solid #dfe5dc;padding:16px;border-radius:8px;font-weight:600}article small{display:block;font-weight:400;color:#666}table{border-collapse:collapse;width:100%}td,th{text-align:left;padding:8px;border-bottom:1px solid #ddd}td form{margin:0}@media(max-width:600px){main{margin:12px;padding:16px}header{gap:10px}header img{width:80px}header strong{font-size:18px}td,th{font-size:13px}}

select{display:block;width:100%;padding:11px;border:1px solid #aeb8ac;border-radius:6px;margin-top:5px;font:inherit;background:white}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}.scroll{overflow-x:auto}h3{margin-top:24px}td form input{min-width:120px}article+article{margin-top:8px}
.shell{max-width:1550px;margin:24px auto;display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px;padding:0 24px;align-items:start}.shell main{margin:0;max-width:none;min-width:0}.shell nav{position:sticky;top:15px;background:#fff;border:1px solid #e0e5df;border-radius:12px;padding:10px;display:grid;gap:4px}.navtitle{font-size:11px;letter-spacing:1px;color:#666;margin:7px 10px}.shell nav a{padding:10px 12px;border-radius:6px;color:#263121;text-decoration:none;font-size:14px}.shell nav a:hover,.shell nav a[aria-current=page]{background:#e8f0df;color:#2f6a00;font-weight:650}.shell .who{color:#626a60;margin-top:0}.metrics{margin-top:20px}.metrics article strong{font-size:26px;color:#377a00;display:block;margin-top:8px}.shell form:has(.fields),.shell form.filters{max-width:none}.fields,.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;align-items:end}.filters button{justify-self:start;margin-bottom:12px}.fields label{margin:8px 0}.shell table{font-size:14px}.shell main>form:last-child{margin-top:32px}.shell main>form:last-child button{background:#626b60}.shell article+article{margin-top:0}@media(max-width:850px){.shell{grid-template-columns:1fr;padding:0 12px;margin:12px auto}.shell nav{position:static;display:flex;flex-wrap:wrap;gap:4px}.shell nav a{padding:8px}.navtitle{width:100%}.fields,.filters{grid-template-columns:1fr}} 

/* Version 5: compact verification workspace */
.enrollment{max-width:100%;min-width:0}.enrollment h2{margin:0 0 12px}.enrollment h3{font-size:15px;margin:0 0 6px}.en-test,.en-muted{color:#626b60;font-size:14px}.en-name small{font-weight:400;color:#626b60}.en-jump{display:flex;flex-wrap:wrap;gap:8px;position:sticky;top:0;z-index:2;background:#fff;padding:10px 0;border-bottom:1px solid #dfe5dc}.en-jump a{padding:7px 12px;border:1px solid #c9d6c3;border-radius:6px;text-decoration:none;font-size:14px}.en-section{border:1px solid #dfe5dc;border-radius:9px;padding:18px;margin:14px 0;scroll-margin-top:68px}.en-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;justify-content:space-between}.en-tag{font-size:13px;color:#377a00}.en-summary,.en-docgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.en-summary>div,.en-doc{background:#f7f9f6;border:1px solid #dfe5dc;border-radius:7px;padding:12px;min-width:0}.en-summary small,.en-summary strong{display:block}.en-summary small{color:#626b60}.en-summary strong{margin-top:3px}.enrollment p{margin:7px 0}.en-terms summary,.en-reject summary{color:#2f6a00;cursor:pointer;font-weight:600}.en-terms div{margin-top:10px;font-size:14px;line-height:1.45}.en-terms div p{margin:4px 0}.enrollment form{max-width:none;margin:10px 0}.enrollment .check{align-items:flex-start;max-width:none;font-weight:500;gap:10px}.enrollment .check input{flex:0 0 auto;margin-top:5px}.enrollment input[type=file]{min-width:0;max-width:100%;font-size:14px}.en-done{color:#286300;font-weight:600}.en-done span{display:inline-block;margin-right:4px}.en-state{color:#626b60}.en-radio{border:0;padding:0;margin:10px 0}.en-radio legend{font-weight:600}.en-radio label{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #dfe5dc;border-radius:6px;margin:5px 0;font-weight:400}.en-radio input{width:auto;margin:0;flex:0 0 auto}.en-radio label:has(input:checked){background:#e8f0df;border-color:#377a00}.en-radio label:has(input:disabled){opacity:.55}.en-reject{margin:10px 0}.en-reject summary{font-size:14px}.en-reject button{background:#8b241a}.enrollment button{white-space:normal;text-align:center;max-width:100%}.en-section:target{border-color:#9bb78c}@media(max-width:600px){.en-summary,.en-docgrid{grid-template-columns:1fr}.en-section{padding:12px;scroll-margin-top:105px}.en-jump a{font-size:13px;padding:6px 8px}.enrollment button{width:100%}.en-heading{display:block}.enrollment .check{line-height:1.4}.enrollment h2{font-size:18px}.enrollment .fields{display:block}}

/* Version 6: home link and document preview */
.brand{display:flex;align-items:center;gap:20px;text-decoration:none;color:inherit;min-width:0}.brand:focus-visible{outline:2px solid #377a00;outline-offset:4px}.preview-dialog{width:min(96vw,1100px);max-width:96vw;max-height:92vh;padding:18px;border:1px solid #aeb8ac;border-radius:12px;background:white;color:#171b16}.preview-dialog::backdrop{background:rgba(0,0,0,.65)}.preview-dialog h2{margin:0 0 12px}.preview-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.preview-toolbar button,.preview-open{padding:8px 12px;font-size:14px}.preview-toolbar button:last-child{background:#626b60}.preview-viewport{height:min(68vh,750px);overflow:auto;background:#e8ede7;display:block;padding:12px}.preview-image{display:block;width:90%;height:auto;margin:0 auto;transform-origin:center;rotate:var(--turn,0deg)}.rot1{--turn:90deg}.rot2{--turn:180deg}.rot3{--turn:270deg}.preview-image.rot1,.preview-image.rot3{margin-block:20%}.preview-image.zoom1{width:125%;max-width:none}.preview-image.zoom2{width:175%;max-width:none}.preview-image.zoom3{width:225%;max-width:none}.preview-image.zoom4{width:300%;max-width:none}@media(max-width:600px){.brand{gap:10px}.preview-dialog{padding:10px}.preview-toolbar button{flex:1 1 40%;font-size:13px}.preview-viewport{height:55vh}}

.preview-canvas{display:block;margin:auto;max-width:none;max-height:none}.preview-dialog [role=status]{font-size:13px;color:#626b60;margin:6px 0}
.big-amount{display:block;font-size:2rem;color:#377a00;margin:.35rem 0 1rem;font-weight:700}.quick-check{border:1px solid #d5dfcc;padding:1.2rem;border-radius:12px;margin:1.25rem 0}.quick-check article{margin:.75rem 0}.inline-review{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:1rem;align-items:start}.inline-viewport{width:100%;height:310px;overflow:auto;background:#edf0eb;border:1px solid #ccd4c7;padding:5px}.inline-viewport canvas{display:block;max-width:none}.inline-preview{min-width:0}.review-data{overflow-wrap:anywhere}.en-docgrid:has(.inline-review){grid-template-columns:1fr}.preview-toolbar button{min-width:0}.copy-value{font-size:.85rem;padding:.45rem .7rem}.inline-review .preview-toolbar{margin-bottom:.4rem}@media(max-width:650px){.inline-review{grid-template-columns:1fr}.inline-viewport{height:250px}}
.archive-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;max-width:900px}.archive-fields label{max-width:none;margin:0}.archive-fields input,.archive-fields select{width:100%;max-width:none}#archive-filter>button{margin-top:12px}@media(max-width:600px){.archive-fields{grid-template-columns:1fr}}

/* Version 11 */
.header-account{display:flex;align-items:center;justify-content:flex-end;gap:24px;margin-left:auto;min-width:0}.header-account small{margin:0;white-space:nowrap}.header-user{font-size:18px;font-weight:650;overflow-wrap:anywhere;text-align:right}.archive-fields{align-items:end}.archive-fields input,.archive-fields select{height:48px;box-sizing:border-box;margin-top:5px}.archive-live .archive-submit{display:none}#archive-filter{max-width:900px}#aenderungen,#verlaengerung{scroll-margin-top:24px}.stat-table td:not(:first-child),.stat-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.stat-group{margin-bottom:20px}@media(max-width:600px){header{flex-wrap:wrap}.header-account{gap:12px;flex-wrap:wrap}.header-user{font-size:15px}.header-account small{font-size:11px}}
.header-logout{margin:0;max-width:none}.header-logout button{padding:7px 12px;background:#fff;color:#2f6a00;border:1px solid #c9d6c3;font-size:14px;white-space:nowrap}.header-logout button:hover{background:#e8f0df}.kb-body{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}.kb-entry{margin:12px 0!important}.kb-entry h3{margin:8px 0}.kb-archived{opacity:.7}.kb-entry details,.proof-box{margin:12px 0}.proof-box{border:1px solid #dfe5dc;padding:14px;border-radius:8px;background:#f7f9f6}textarea{display:block;width:100%;margin-top:5px;padding:11px;border:1px solid #aeb8ac;border-radius:6px;font:inherit;resize:vertical}.header-account{gap:16px}@media(max-width:600px){.header-account{gap:8px}.header-logout button{font-size:12px;padding:5px 8px}}

.next-step{border:1px solid #cbd9c4;border-radius:8px;padding:1rem;margin:0 0 1.25rem;background:#f5f8f2}.next-step h2{margin-top:0}.partner-steps{padding-left:1.6rem;line-height:1.7}.step-done{color:#52634a}.step-current{font-weight:700;color:#254d0c}.next-link{font-weight:700}.upload-status{font-weight:600;color:#254d0c}button[aria-disabled=true]{opacity:.65;cursor:wait}

/* v38: grouped navigation, compact settings and side-by-side ID review. */
.subnav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;padding-bottom:12px;border-bottom:1px solid #dfe5dc}.subnav a{padding:8px 13px;border:1px solid #dfe5dc;border-radius:6px;text-decoration:none;color:#263121}.subnav a[aria-current=page]{background:#e8f0df;color:#2f6a00;border-color:#aec6a0;font-weight:650}.subnav-back{margin-top:0}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.settings-grid article a{display:block;text-decoration:none}.settings-grid article span{display:block;color:#626b60;font-size:14px;margin-top:8px}.en-docgrid:has(.inline-review){grid-template-columns:repeat(2,minmax(0,1fr))}.en-docgrid .inline-review{grid-template-columns:minmax(0,1fr)}.en-docgrid .inline-viewport{height:310px}.en-docgrid .review-data{font-size:14px}.en-docgrid .preview-toolbar{display:flex;flex-wrap:wrap;gap:5px}.en-docgrid .preview-toolbar button{padding:6px 9px;font-size:13px}@media(max-width:1050px){.en-docgrid:has(.inline-review){grid-template-columns:1fr}}
.global-search{display:flex;gap:8px;max-width:none;margin:0 0 24px;padding-bottom:16px;border-bottom:1px solid #dfe5dc}.global-search input{margin:0;min-width:0;flex:1}.global-search button{flex:none}.dashboard-quick h2{margin-top:0}.dashboard-shortcut,.dashboard-task,.search-result{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #dfe5dc;border-radius:8px;text-decoration:none;background:#fff}.dashboard-shortcut{font-weight:650;justify-content:space-between}.dashboard-task,.search-result{margin:8px 0}.dashboard-task strong{min-width:32px;color:#377a00}.dashboard-task span:last-child,.search-result span:last-child{margin-left:auto}.search-result{flex-wrap:wrap}.search-result small{color:#626a60;overflow-wrap:anywhere}.dashboard-shortcut:hover,.dashboard-task:hover,.search-result:hover{background:#edf5e6}.metric-link{text-decoration:none;display:block}.global-search input:focus-visible,.dashboard-task:focus-visible,.search-result:focus-visible{outline:2px solid #377a00;outline-offset:3px}#v39-sale,#v39-open-vouchers{scroll-margin-top:20px}@media(max-width:600px){.global-search button{padding:10px}.dashboard-task{flex-wrap:wrap}.search-result small{flex-basis:100%}}

.pro-status{display:inline-block;font-size:.86rem;font-weight:650;padding:.28rem .65rem;border-radius:.45rem;background:#edf0f2;color:#344054;line-height:1.35}.pro-status-green{background:#e2f1e0;color:#215c18}.pro-status-amber{background:#fff1cf;color:#795000}.pro-status-red{background:#fde6e6;color:#9e2525}.pro-status-blue{background:#e4edf9;color:#204e82}

.file-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.file-nav{margin:1rem 0}.file-nav .dashboard-shortcut{font-size:.92rem}.file-overview section,section[id^=akte-],#preise,#kalkulation,#wissen{scroll-margin-top:90px}#pro-cost{padding:1rem;border:1px solid #dfe5df;border-radius:12px;margin-bottom:1.5rem}

.work-tabs{position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:8px;margin:0 0 1.2rem;padding:0!important;background:transparent!important;width:auto!important;box-shadow:none!important;border:0!important}.work-tabs a{display:inline-block;color:#31412b!important;background:#f2f5ef!important;border:1px solid #dfe6da;border-radius:8px;padding:.65rem .9rem;text-decoration:none}.work-tabs a[aria-current=page]{background:#377a00!important;color:#fff!important;border-color:#377a00;font-weight:650}.pro-status{white-space:normal}.grid.metrics article .pro-status{margin-bottom:8px}.file-nav a{min-width:0}.scroll{max-width:100%;overflow-x:auto}@media(max-width:700px){.work-tabs a{padding:.5rem .65rem;font-size:.86rem}.file-overview .dashboard-shortcut{width:100%}}

/* v45 – Beratung */
.v45-topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px;align-items:start}.v45-topic,.v45-knowledge{border:1px solid #dfe5dc;border-radius:10px;padding:14px;background:#fff}.v45-topic summary,.v45-knowledge summary{cursor:pointer;color:#285d0b}.v45-topic summary small{display:block;color:#596657;margin:5px 0 0 17px;font-weight:400}.v45-topic .kb-body{margin-top:12px;line-height:1.55}.v45-topic[hidden],#c45-be[hidden]{display:none!important}#pro45-cost{border:1px solid #dfe5dc;border-radius:12px;padding:16px}#c45-lines td:last-child{text-align:right}#c45-details{font-weight:500}.v45-knowledge{margin-top:16px}

.v47-external{border:1px solid #dfe5dc;border-radius:10px;padding:14px;margin:1rem 0;background:#fff}.v47-external summary{font-weight:600;cursor:pointer;color:#285d0b}.v47-cost-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin:1rem 0}.v47-cost-summary>div{border:1px solid #dfe5dc;border-radius:10px;padding:14px}.v47-cost-summary .big-amount{margin:.4rem 0 0}.v47-external [role=status]{min-height:1.5em}

/* V55: internal checklists, no permanent student records. */
.v55-checklist{margin:.75rem 0;padding:1rem;border:1px solid #d5dad3;border-radius:.65rem;background:var(--card,#fff)}
.v55-checklist summary{cursor:pointer}.v55-checklist h2{margin-top:1rem}.v55-checklist .v55-check-row{display:flex;align-items:flex-start;gap:.7rem;margin:.75rem 0;font-weight:normal}.v55-check-row input[type=checkbox]{width:1.15rem;height:1.15rem;flex:none;margin:.15rem 0 0}.v55-checklist button{margin-top:.75rem}.v55-check-note{font-size:.875rem}
@media print{body.v55-printing{background:white!important;color:black!important}body.v55-printing>header,body.v55-printing>footer,body.v55-printing .shell>nav,body.v55-printing main>:not(.v55-checklists),body.v55-printing .v55-checklists>:not(.v55-print-selected),body.v55-printing .v55-print-selected summary,body.v55-printing .v55-print-selected button{display:none!important}body.v55-printing .shell,body.v55-printing .shell main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:white!important}body.v55-printing .v55-print-selected{display:block!important;margin:0!important;padding:0!important;border:0!important;background:white!important;color:black!important}body.v55-printing .v55-check-row{break-inside:avoid}body.v55-printing .v55-check-row span{color:black!important}}

/* V60: keep main navigation dimensions, text size and active colors. */
.shell nav[aria-label="Hauptnavigation"] a{display:flex;align-items:center;gap:7px;padding-inline:8px;min-width:0}
.shell nav[aria-label="Hauptnavigation"] .nav-icon{width:1.12em;height:1.12em;flex:0 0 1.12em;color:inherit}
.shell nav[aria-label="Hauptnavigation"] .nav-label{min-width:0}

/* V69 – partner activity and archive */
.v69-inbox{border:1px solid #d5e0cf;border-radius:12px;padding:16px;margin:0 0 20px;background:#f8faf6}.v69-inbox h2{margin:0 0 10px}.v69-message{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dfe5dc;border-radius:8px;padding:10px 12px;background:white;margin:8px 0}.v69-message small{display:block;color:#596657}.v69-message a{font-weight:650;overflow-wrap:anywhere}.v69-message form{margin:0;flex:none}.v69-message button{padding:7px 12px;font-size:14px}.v69-archive{margin-top:24px;padding:14px;border:1px solid #dfe5dc;border-radius:10px;background:#f7f9f6;scroll-margin-top:24px}.v69-archive summary{cursor:pointer;font-weight:650;color:#31412b}.v69-archive .scroll{margin-top:12px}#v69-review{scroll-margin-top:24px}@media(max-width:600px){.v69-inbox{padding:12px}.v69-message{align-items:flex-start;flex-wrap:wrap}.v69-message form{margin:0}}

/* V70: explicit destructive action, separate from review. */
.v70-delete{border:1px solid #dfe5dc;border-radius:10px;padding:14px;margin:16px 0;background:#fff}.v70-delete h3{margin-top:0}.v70-delete summary{cursor:pointer;color:#932d20;font-weight:650}.v70-danger{background:#932d20!important}.v70-danger:hover{background:#702217!important}

/* V78: primary action at the top of a pending partner file. */
.v78-review{margin:16px 0;padding:16px;border:1px solid #c9dbbc;background:#f4f9ef;border-radius:10px}.v78-review p{margin:6px 0 12px}.v78-primary{display:inline-block;background:#377a00;color:#fff;text-decoration:none;padding:10px 14px;border-radius:7px;font-weight:650}.v78-primary:hover{background:#2f6a00}.v78-dispatch{font-size:13px;color:#626a60}.v78-dispatch form[hidden]{display:none!important}.v78-test-delete{margin-top:12px}

/* V82: secondary partner operations after normal case data. */
.v82-partner-actions{margin-top:32px;padding-top:12px;border-top:1px solid #dfe5dc}.v82-partner-actions>h2{margin-top:8px}
