/* HILFE-NEU (Daniel 10.11.2026, Mockup „Startfenster und Hilfe“, Tafeln 4 und 5): die cadvan-Hilfe als eigenes Fenster
   760 × 540 neben dem Plan, nicht modal. Themen links (210), Kopf 52 mit Zurück/Vor, Titel, Suche (190) und ×; Seiten mit
   Überschrift 20/26, Schritte mit Nummernkreis 24, Knöpfe im Text als Chips (20 hoch), Tasten als Tastenkappen.
   Farben nur aus den gemeinsamen Tokens (hell und dunkel); Gate-Farben wie im Plan. Rahmen, Kopf, × und Seitenleiste
   kommen aus der Vorlage (cvDialog Art „window“, Stufe XL); hier stehen Lage, Höhe und der Inhalt. */
.cv-dlg.cv-help{--cv-help-h:540px;--cv-help-nav:210px;--cv-help-soft:color-mix(in srgb,var(--cv-ink) 5%,var(--cv-paper));--cv-help-rule:color-mix(in srgb,var(--cv-ink) 7%,transparent);
 z-index:60;right:16px;top:64px;width:min(var(--cv-dlg-w),calc(100vw - 32px));height:min(var(--cv-help-h),calc(100vh - 80px));max-height:none;
 border-radius:16px;box-shadow:var(--cv-e3),0 0 0 1px var(--cv-line);font:400 13px/19px Commissioner,-apple-system,BlinkMacSystemFont,sans-serif}
.cv-dlg.cv-help.is-placed{right:auto}
.cv-help.is-dragging{user-select:none}
.cv-help .cv-dlg-frame{grid-template-columns:var(--cv-help-nav) minmax(0,1fr)}
.cv-help .cv-dlg-rail{display:flex;flex-direction:column}
.cv-help .cv-dlg-body{display:flex;flex-direction:column;padding:0;overflow:hidden}
.cv-help button:where(:not(.cv-dlg-close)){min-height:0;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:default}
.cv-help button:where(:not(.cv-dlg-close)):hover{border:0;background:var(--cv-hover)}
.cv-help button:focus-visible{outline:var(--cv-focus-ring);outline-offset:-2px}
.cv-help svg{flex:none}

/* Themen */
.cv-help-nav{flex:1 0 auto;box-sizing:border-box;padding:16px 10px 14px;display:flex;flex-direction:column;gap:2px}
.cv-help-nav-item{display:flex;align-items:center;gap:8px;height:28px;flex:none;padding:0 8px!important;color:var(--cv-ink)}
.cv-help-nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cv-help-nav-icon{fill:none;stroke:var(--cv-secondary);stroke-width:1.35;stroke-linejoin:round;stroke-linecap:round}
.cv-help .cv-help-nav-item.is-current{background:var(--cv-primary-fill);color:var(--cv-primary-ink);font-weight:500}
.cv-help-nav-item.is-current .cv-help-nav-icon{stroke:var(--cv-primary-ink)}
.cv-help-nav-group{padding:12px 8px 4px;font-size:11px;line-height:14px;font-weight:600;color:var(--cv-secondary)}
.cv-help-nav-fill{flex:1 0 8px}

/* Kopf: Zurück/Vor links vom Titel, Suche rechts davon, × der Vorlage am Ende (Reihenfolge = Tab-Folge) */
.cv-help .cv-dlg-head{height:52px;box-sizing:border-box;padding:0 12px 0 16px;gap:10px;border-bottom:0;cursor:grab}
.cv-help.is-dragging .cv-dlg-head{cursor:grabbing}
.cv-help .cv-dlg-toolbar{display:contents}
.cv-help-steps{display:flex;gap:2px;order:-1}
.cv-help-step{width:28px;height:28px;display:grid!important;place-items:center;padding:0!important}
.cv-help-step svg,.cv-help-row-chevron{fill:none;stroke:var(--cv-secondary);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cv-help-step:disabled{background:transparent!important;color:inherit}
.cv-help-step:disabled svg{stroke:color-mix(in srgb,var(--cv-secondary) 45%,transparent)}
.cv-help .cv-dlg-title{font:600 13px/18px Commissioner,-apple-system,BlinkMacSystemFont,sans-serif;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cv-help-search{display:flex!important;align-items:center;gap:7px;width:190px;height:28px;box-sizing:border-box;padding:0 9px;border-radius:7px;background:var(--cv-help-soft);color:var(--cv-secondary);font-weight:400;cursor:text}
.cv-help-search svg{fill:none;stroke:var(--cv-secondary);stroke-width:1.5;stroke-linecap:round}
.cv-help .cv-help-search-field{flex:1 1 0;min-width:0;width:auto;min-height:0;height:26px;padding:0;border:0;border-radius:0;background:transparent;color:var(--cv-ink);font:400 12px/16px Commissioner,-apple-system,BlinkMacSystemFont,sans-serif;outline:none}
.cv-help .cv-help-search-field::placeholder{color:var(--cv-secondary)}
.cv-help-search:focus-within{outline:var(--cv-focus-ring);outline-offset:0}
.cv-help-search-field::-webkit-search-cancel-button{opacity:.6}

/* Seite */
.cv-help-page{flex:1 1 0;min-height:0;overflow:auto;box-sizing:border-box;padding:6px 32px 24px;display:flex;flex-direction:column}
.cv-help-page>*{flex:none}
.cv-help-page:focus{outline:none}
.cv-help-page:focus-visible{outline:var(--cv-focus-ring);outline-offset:-4px}
.cv-help-h1{margin:0;font:600 20px/26px Commissioner,-apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:-.2px;color:var(--cv-ink);text-wrap:balance}
.cv-help-h2{margin:22px 0 8px;font:600 13px/18px Commissioner,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--cv-ink)}
.cv-help-h3{margin:14px 0 6px;font:600 11px/14px Commissioner,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--cv-secondary)}
.cv-help-lead{margin:4px 0 8px;color:var(--cv-secondary)}

/* Übersicht: drei Karten */
.cv-help-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.cv-help .cv-help-card{display:flex;flex-direction:column;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px var(--cv-line)}
.cv-help .cv-help-card:hover{background:var(--cv-paper);box-shadow:0 0 0 1px color-mix(in srgb,var(--cv-ink) 22%,transparent)}
.cv-help-card-text{display:flex;flex-direction:column;gap:2px;padding:10px 12px 12px}
.cv-help-card-title{font-weight:600}
.cv-help-card-lead{font-size:12px;line-height:16px;color:var(--cv-secondary)}
.cv-help-art{position:relative;display:block;height:88px;--a-ink:#356ae6;--a-soft:#9fb5ee;--a-bar:#356ae64d;--a-edge:#c9d6f6;background:#eaf0fd}
.cv-help-art-slides{--a-ink:#a9822b;--a-soft:#e0cfa6;--a-bar:#a9822b4d;--a-edge:#e6d8b8;background:#f6f0e4}
.cv-help-art-tour{display:flex;align-items:center;justify-content:center;background:#e6f4f1}
.cv-help-art span{position:absolute;display:block;border-radius:2px}
.cv-help-art .cv-help-art-sheet{left:16px;top:22px;width:36px;height:44px;border-radius:4px;background:#fff;box-shadow:0 0 0 1px var(--a-edge)}
.cv-help-art-slides .cv-help-art-sheet{left:18px;width:50px;height:40px}
.cv-help-art .cv-help-art-line1{left:22px;top:30px;width:22px;height:3px;background:var(--a-ink)}
.cv-help-art .cv-help-art-line2{left:22px;top:38px;width:16px;height:3px;background:var(--a-soft)}
.cv-help-art-slides .cv-help-art-line1{left:24px;width:30px}
.cv-help-art-slides .cv-help-art-line2{left:24px;width:38px}
.cv-help-art .cv-help-art-line3{left:24px;top:46px;width:24px;height:3px;background:var(--a-soft)}
.cv-help-art .cv-help-art-bar{left:62px;top:42px;width:64px;height:4px;background:var(--a-bar)}
.cv-help-art-slides .cv-help-art-bar{left:102px;top:41px;width:22px}
.cv-help-art .cv-help-art-gem{left:120px;top:38px;width:11px;height:11px;background:var(--a-ink);transform:rotate(45deg)}
.cv-help-art-slides .cv-help-art-gem{top:37px}
.cv-help-art-arrow{position:absolute;left:76px;top:36px;fill:none;stroke:var(--a-ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cv-help-art .cv-help-art-play{position:static;width:40px;height:40px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px #bfe3dc;display:flex;align-items:center;justify-content:center}
.cv-help-art-play path{fill:#009280}

/* Zeilen: häufige Fragen, Themen (schmal), Suchergebnisse */
.cv-help-rows{display:flex;flex-direction:column;border-radius:10px;box-shadow:0 0 0 1px var(--cv-line);overflow:hidden}
.cv-help .cv-help-row{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 12px!important;border-radius:0}
.cv-help .cv-help-row+.cv-help-row{box-shadow:inset 0 1px 0 var(--cv-help-rule)}
.cv-help-row-text{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:1px}
.cv-help-row-lead{font-size:12px;line-height:16px;color:var(--cv-secondary)}
.cv-help-row-chevron{width:10px;height:10px;stroke:color-mix(in srgb,var(--cv-secondary) 75%,transparent)}
.cv-help-all{display:none}

/* Artikel: Schritte und Symbole */
.cv-help-steps-list,.cv-help-symbols{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.cv-help-item{display:flex;gap:14px;padding:9px 0}
.cv-help-item+.cv-help-item{box-shadow:inset 0 1px 0 var(--cv-help-rule)}
.cv-help-num{flex:none;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:12px;background:color-mix(in srgb,var(--cv-primary-fill) 12%,var(--cv-paper));color:var(--cv-link,var(--cv-primary-fill));font-size:12px;font-weight:600}
.cv-help-item-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.cv-help-item-title{font-weight:600;line-height:18px}
.cv-help-item-text{color:color-mix(in srgb,var(--cv-ink) 82%,var(--cv-paper))}
.cv-help-symbols .cv-help-item{align-items:flex-start}
.cv-help-symbol{margin-top:-1px}
.cv-help-chip,.cv-help-key{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:5px;font-size:12px;line-height:16px;font-weight:500;vertical-align:1px;white-space:nowrap}
.cv-help-chip{background:var(--cv-paper);color:var(--cv-ink);box-shadow:0 0 0 1px var(--cv-line)}
.cv-help-chip.is-primary{background:var(--cv-primary-fill);color:var(--cv-primary-ink);box-shadow:none}
.cv-help-key{margin:0;border:0;font-family:inherit;background:var(--cv-help-soft);color:var(--cv-ink);box-shadow:inset 0 -1px 0 var(--cv-line)}
.cv-help-note{margin-top:14px;padding:11px 14px;border-radius:10px;background:var(--cv-help-soft);display:flex;flex-direction:column;gap:2px}
.cv-help-note-title{font-weight:600}
.cv-help-note-text{color:var(--cv-secondary)}

/* Gate-Rauten wie im Plan (help-draft, Board) */
.cv-help-symbol{--g-paper:#fff;--g-neutral:#536176;--g-ink:#172033;--g-warn:#9C6012;--g-ok:#207B54;--g-ok-soft:#E5F3EC;--g-no:#8A2F2A;--g-glyph:#fff}
.cv-help-symbol .g-body{stroke-width:1.5;stroke-linejoin:round;fill:var(--g-paper);stroke:var(--g-neutral)}
.cv-help-symbol .g-check,.cv-help-symbol .g-cross{fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;stroke:var(--g-glyph)}
.cv-help-symbol .g-glyph{fill:var(--g-glyph)}
.cv-help-gate-due .g-body{stroke:var(--g-ink)}.cv-help-gate-due .g-mark{fill:var(--g-ink)}
.cv-help-gate-overdue .g-body{stroke:var(--g-warn)}.cv-help-gate-overdue .g-mark{fill:var(--g-warn)}
.cv-help-gate-approved .g-body{fill:var(--g-ok);stroke:var(--g-ok)}
.cv-help-gate-conditions .g-body{fill:var(--g-ok-soft);stroke:var(--g-ok)}.cv-help-gate-conditions .g-check{stroke:var(--g-ok)}
.cv-help-gate-deferred .g-body{fill:var(--g-warn);stroke:var(--g-warn)}
.cv-help-gate-stopped .g-body{fill:var(--g-no);stroke:var(--g-no)}
.cv-help-dependency{color:var(--cv-secondary)}
.cv-help-dependency .d-end,.cv-help-dependency .d-head{fill:none;stroke:currentColor;stroke-width:1.2}
.cv-help-dependency .d-line{fill:none;stroke:currentColor;stroke-width:1.2;stroke-dasharray:2 1.6}
.cv-help-update-dot .u-button{fill:none;stroke:var(--cv-secondary);stroke-width:1}
.cv-help-update-dot .u-dot{fill:#356ae6;stroke:var(--cv-paper);stroke-width:1.6}

@media(prefers-color-scheme:dark){
 .cv-dlg.cv-help{box-shadow:0 24px 70px rgb(0 0 0 / .5),0 0 0 1px var(--cv-line)}
 .cv-help-symbol{--g-paper:#22262E;--g-neutral:#BEC8D8;--g-ink:#E7EAF0;--g-warn:#F3CF8C;--g-ok:#6FCF9F;--g-ok-soft:#1D3329;--g-no:#E38B85;--g-glyph:#191C22}
 .cv-help-update-dot .u-dot{fill:#8DAFFF}
 .cv-help-art{--a-ink:#8DAFFF;--a-soft:#4b6299;--a-bar:#8DAFFF4d;--a-edge:#3a4a70;background:#1c2537}
 .cv-help-art-slides{--a-ink:#e0bf73;--a-soft:#7a6436;--a-bar:#e0bf734d;--a-edge:#5d4d2b;background:#2a2418}
 .cv-help-art-tour{background:#15302b}
 .cv-help-art .cv-help-art-sheet,.cv-help-art .cv-help-art-play{background:#262b34}
 .cv-help-art .cv-help-art-play{box-shadow:0 0 0 1px #2f5c53}
 .cv-help-art-play path{fill:#4fd1b9}
}

/* Schmal: ein Blatt über die ganze Breite, Themen als Liste in der Übersicht. */
@media(max-width:799px){
 .cv-dlg.cv-help,.cv-dlg.cv-help.is-placed{left:8px;right:8px;top:56px;bottom:8px;width:auto;height:auto}
 .cv-help .cv-dlg-frame{grid-template-columns:minmax(0,1fr)}
 .cv-help .cv-dlg-rail{display:none}
 .cv-help .cv-dlg-head{cursor:default;padding-left:10px}
 .cv-help-search{width:150px}
 .cv-help-page{padding:6px 18px 20px}
 .cv-help-cards{grid-template-columns:1fr;gap:8px}
 .cv-help .cv-help-card{flex-direction:row;align-items:center}
 .cv-help-card .cv-help-art{flex:none;width:140px;height:72px}
 .cv-help-card .cv-help-art span:not(.cv-help-art-play),.cv-help-card .cv-help-art-arrow{margin-top:-8px}
 .cv-help-all{display:block}
}
@media(max-width:479px){.cv-help .cv-dlg-titles{display:none}.cv-help-search{flex:1 1 0;width:auto}}
