/* Quelle: assets/innovations/02-vorbereitung.css */
.prep-workbench{margin:36px 0;padding:28px;border-radius:20px;background:#e0efe8;color:#164f49}.prep-workbench h2{margin-top:0!important}.prep-workbench>p{font-size:1rem;line-height:1.6}.prep-filters{border:0;padding:0;margin:24px 0}.prep-filters legend{font-weight:600;margin-bottom:12px}.prep-filters{display:flex;gap:8px;flex-wrap:wrap}.prep-filters>label{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 12px;border:1px solid #a4c3b8;border-radius:12px;background:#f6faf9;font-size:.875rem}.prep-workbench input{width:20px;height:20px;flex-shrink:0;accent-color:#164f49}.prep-count{padding:16px 0;border-block:1px solid #a4c3b8;font-weight:600}.prep-groups>section{margin-top:24px}.prep-groups h3{font-size:1.125rem;margin:0 0 10px}.prep-groups label{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:10px 0;line-height:1.5;border-bottom:1px solid #b8d3c9}.prep-groups label:has(input:checked){text-decoration:line-through;color:#496a5e}.prep-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.prep-actions button{min-height:46px;padding:10px 18px;border-radius:999px;border:1px solid #164f49;background:transparent;color:#164f49;font:inherit;font-size:.875rem}.prep-actions button:first-child{background:#164f49;color:white}.prep-note{font-size:.8125rem!important;margin-top:20px}@media(max-width:759px){.prep-workbench{padding:20px;margin-inline:-4px}.prep-filters>label{flex-grow:1}}
@media print{body>.nav,body>.site-tree,footer,.article-breadcrumb,.article-return,article>*:not(.prep-workbench){display:none!important}.reading-shell{padding:0!important;background:white!important;box-shadow:none!important;border:0!important}.prep-workbench{padding:0;background:white}.prep-filters,.prep-actions,.prep-note{display:none!important}.prep-groups section{break-inside:avoid}}

/* Runde Checkboxen; Semantik und Mehrfachauswahl bleiben erhalten. */
.prep-workbench input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-grid;
  place-content: center;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 1.5px solid #496a5e;
  border-radius: 50%;
  background: #f6faf9;
  cursor: pointer;
}
.prep-workbench input[type="checkbox"]:checked { background: #164f49; border-color: #164f49; }
.prep-workbench input[type="checkbox"]:checked::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #f6faf9;
  border-bottom: 2px solid #f6faf9;
  transform: translateY(-1px) rotate(-45deg);
}
.prep-workbench input[type="checkbox"]:focus-visible { outline: 3px solid #164f49; outline-offset: 3px; }
@media (forced-colors: active) {
  .prep-workbench input[type="checkbox"] { appearance: auto; }
  .prep-workbench input[type="checkbox"]::before { content: none; }
}

/* Quelle: assets/innovations/03-lesen.css */
@media(min-width:1100px){#cvm-design-preview .reading-shell{max-width:1180px;width:calc(100% - 48px);display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px 48px;padding:44px}#cvm-design-preview .article-breadcrumb{grid-column:1/-1}#cvm-design-preview .reading-shell>article{grid-column:2;grid-row:2;min-width:0}#cvm-design-preview .article-return{grid-column:2}.reading-map{grid-column:1;grid-row:2;position:sticky;top:120px;align-self:start;max-height:calc(100dvh - 150px);overflow:auto}}
.reading-map{font-size:.875rem;color:#164f49}.reading-map summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:600;cursor:pointer}.reading-map summary:after{content:'+'}.reading-map details[open] summary:after{content:'−'}.reading-map nav{display:flex;flex-direction:column;gap:4px;margin:8px 0 16px}.reading-map a{display:block;min-height:44px;padding:10px 12px;box-sizing:border-box;line-height:1.45;border-radius:10px;color:#48515b;text-decoration:none}.reading-map a[aria-current]{background:#dcede6;color:#164f49}.reading-progress{padding-top:16px;border-top:1px solid #bacfc7}.reading-progress label{display:block;font-size:.75rem;margin-bottom:8px}.reading-progress progress{display:block;width:100%;height:6px;accent-color:#164f49;border:0}.reading-progress progress::-webkit-progress-bar{background:#dcede6;border-radius:3px}.reading-progress progress::-webkit-progress-value{background:#164f49;border-radius:3px}article h2{scroll-margin-top:120px}@media(max-width:1099px){.reading-map{margin:12px 0 28px;border-block:1px solid #bacfc7}.reading-progress{display:none}.reading-map nav{max-height:50vh;overflow:auto}}@media print{.reading-map{display:none!important}}

/* Quelle: assets/innovations/20-abschluss.css */
footer.shared-footer,#cvm-design-preview footer.shared-footer{background:#164f49;color:#f6faf9;padding:52px 24px 28px;margin-top:32px;border-top:0}.shared-footer-inner{max-width:1180px;margin:auto}.shared-footer-main{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:44px}.shared-footer-brand{font-size:2rem!important;font-weight:800;letter-spacing:-.03em;min-height:44px}.shared-footer-brand span{color:#b9dace}.shared-footer-main address{font-style:normal;font-size:.9375rem;line-height:1.7;color:#d9ebe4;margin:20px 0 12px}.shared-footer-main a,.shared-footer-bottom a{display:flex;align-items:center;min-height:44px;color:#f6faf9!important;text-decoration:none;font-size:.9375rem}.shared-footer-main h2{font-size:1rem;line-height:1.4;color:#d9ebe4;margin:8px 0 16px;font-weight:600}.shared-footer-main a:hover,.shared-footer-bottom a:hover{text-decoration:underline;text-underline-offset:4px}.shared-footer-main a:focus-visible,.shared-footer-bottom a:focus-visible{outline-color:#f6faf9}.shared-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:36px;padding-top:20px;border-top:1px solid #4d7d6e;font-size:.8125rem;color:#d9ebe4}.shared-footer-bottom nav{display:flex;gap:24px}.shared-footer-bottom a{font-size:.8125rem}@media(max-width:759px){footer.shared-footer,#cvm-design-preview footer.shared-footer{padding:36px 22px 24px}.shared-footer-main{grid-template-columns:1fr;gap:24px}.shared-footer-main>nav{padding-top:20px;border-top:1px solid #4d7d6e}.shared-footer-main h2{margin-top:0}.shared-footer-bottom{flex-direction:column;align-items:flex-start;gap:10px;margin-top:24px}.shared-footer-bottom nav{gap:20px}}

/* Sichtbare Worttrennung auch innerhalb des Flex-Links. */
.shared-footer-main a.shared-footer-brand { column-gap: .24em; white-space: nowrap; }

/* Gemeinsamer Footer behaelt seine Startseitenflaeche auch im Artikel-Layout. */
#cvm-design-preview[data-palette][data-background] body.reading-page > footer#footer.shared-footer {
  background: #164f49 !important;
  border-top: 0 !important;
}

/* Quelle: assets/quality/02-position.css */
#site-tree a[aria-current],
.navlinks a[aria-current] {
  background: #dcede6;
  color: #164f49;
  border-radius: 10px;
  text-decoration: none;
}

.navlinks a[aria-current]::after {
  content: none;
}

.navlinks:has(> a[aria-current]) > .premium-nav-indicator {
  visibility: hidden;
}

/* Quelle: assets/quality/03-menuehoehe.css */
.site-tree{box-sizing:border-box;max-height:calc(100dvh - var(--nav-menu-top, 100px) - 16px);overflow-y:auto;overscroll-behavior:contain;}
/* Quelle: assets/quality/15-gruppenfortschritt.css */
.prep-groups h3{display:flex;justify-content:space-between;gap:12px;align-items:center}.prep-group-count{font-size:.8125rem;font-weight:500;white-space:nowrap}.prep-groups section[data-complete="true"] h3{color:#164f49;text-decoration:underline;text-underline-offset:5px;}
/* Quelle: assets/quality/16-checklistendruck.css */
@media print {
  @page { size: A4 portrait; margin: 14mm; }

  html#cvm-design-preview,
  html#cvm-design-preview[data-palette][data-background] body.reading-page[data-page] {
    display: block !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    color: #111 !important;
  }

  html#cvm-design-preview::before,
  html#cvm-design-preview::after,
  html#cvm-design-preview body.reading-page::before,
  html#cvm-design-preview body.reading-page::after,
  body.reading-page > :not(#article-main),
  .reading-page .article-breadcrumb,
  .reading-page .reading-map,
  .reading-page article > :not(.prep-workbench),
  .prep-workbench .prep-filters,
  .prep-workbench .prep-actions,
  .prep-workbench .prep-note {
    display: none !important;
    content: none !important;
  }

  html#cvm-design-preview body.reading-page #article-main,
  html#cvm-design-preview body.reading-page #article-main .reading-shell,
  html#cvm-design-preview body.reading-page #article-main article,
  html#cvm-design-preview body.reading-page .prep-workbench {
    display: block !important;
    position: static !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    break-inside: auto;
  }

  .prep-workbench::before {
    content: "CVM TAX · Unterlagen-Checkliste";
    display: block;
    margin-bottom: 8pt;
    color: #164f49;
    font-size: 9pt;
    font-weight: 700;
  }

  #cvm-design-preview .prep-workbench h2 {
    margin: 0 0 8pt !important;
    font-size: 18pt;
    line-height: 1.2;
  }
  #cvm-design-preview .prep-workbench > p {
    margin: 0 0 8pt;
    font-size: 10pt;
    line-height: 1.4;
    color: #111;
  }
  #cvm-design-preview .prep-workbench .prep-count {
    margin: 8pt 0;
    padding: 6pt 0;
    color: #111;
    border-color: #999;
  }
  #cvm-design-preview .prep-groups > section {
    margin-top: 12pt;
    break-inside: avoid;
  }
  #cvm-design-preview .prep-groups > section[hidden],
  #cvm-design-preview .prep-groups label[hidden] { display: none !important; }
  #cvm-design-preview .prep-groups h3 {
    margin: 0 0 5pt;
    color: #111;
    font-size: 11pt;
    line-height: 1.3;
    break-after: avoid;
  }
  #cvm-design-preview .prep-groups label {
    min-height: 0;
    padding: 4pt 0;
    gap: 7pt;
    color: #111;
    font-size: 10pt;
    line-height: 1.4;
    border-color: #bbb;
    break-inside: avoid;
  }
  .prep-workbench input[type="checkbox"] {
    width: 11pt;
    height: 11pt;
    border: 1pt solid #111;
    background: transparent !important;
  }
  .prep-workbench input[type="checkbox"]:checked::before { border-color: #111; }
  .prep-group-count { color: #111; }
}

/* Quelle: assets/quality/17-offenepunkte.css */
.prep-groups label[hidden]{display:none!important}.prep-actions button[aria-pressed="true"]{background:#164f49;color:#f6faf9;}@media print{.prep-groups label[hidden]{display:flex!important}}
/* Quelle: assets/quality/18-kapitelzahl.css */
.reading-chapter-count{font-size:.75rem;font-weight:500;color:#496a5e;margin-left:auto;white-space:nowrap}
/* Quelle: assets/quality/19-lesemass.css */
#cvm-design-preview .reading-shell>article :is(p,ul,ol){max-width:68ch;line-height:1.7!important}.reading-shell>article p{overflow-wrap:break-word}.reading-shell>article .prep-workbench p{max-width:65ch}
/* Quelle: assets/quality/20-artikeldruck.css */
@media print{body.reading-page{background:#fff!important;color:#111!important}.reading-page :is(header.nav,#site-tree,footer,.article-breadcrumb,.article-return,.reading-map,article .actions){display:none!important}#cvm-design-preview .reading-page .reading-shell{display:block;width:100%;max-width:none;padding:0;margin:0;box-shadow:none!important;border:0!important;background:#fff!important}article :is(h1,h2,h3){break-after:avoid}article :is(p,li){orphans:3;widows:3}article a[href^="http"]::after{content:" (" attr(href) ")";font-size:.8em;overflow-wrap:anywhere}article a{color:#164f49;text-decoration:underline}article .prep-workbench{break-before:auto}}
/* Quelle: assets/quality/21-quellen.css */
.source-external{display:inline-block;width:.8em;height:.8em;margin-left:.3em;fill:none;stroke:currentColor;stroke-width:1.7;vertical-align:baseline;flex-shrink:0}@media print{.source-external{display:none}}
