/* Abrechnung, IV-Stellen, Rückmeldungen und Protokoll im «Leselicht».
 * Betreiberauftrag 01.11.2026: ruhig und professionell, ein Register je Aufgabe, Details
 * erst bei Bedarf. Keine Hochzähl-, Aufstiegs- oder Wechselanimationen. */


/* ---------- Register: auf schmalen Bildschirmen seitlich verschiebbar ---------- */
html .lx-main .access-tabs{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html .lx-main .access-tabs::-webkit-scrollbar{display:none}
html .lx-main .access-tabs a{position:relative;white-space:nowrap;transition:color .18s}
html .lx-main .access-tabs a[aria-current=page]::after{content:"";position:absolute;inset:auto 0 -2px;height:2px;border-radius:2px;background:var(--brand);transform-origin:left}

/* ---------- Zeitraum und Filter ---------- */
html .lx-main .nu-filter{display:flex;align-items:flex-end;justify-content:space-between;gap:14px 18px;flex-wrap:wrap;margin:0 0 20px}
html .lx-main .nu-picks{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
html .lx-main .nu-pick{display:grid;gap:4px;font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--quiet)}
html .lx-main .content .nu-pick :is(select,input){min-height:40px;margin:0;min-width:150px}
html .lx-main .nu-seg{display:inline-flex;gap:4px;margin:0;padding:4px;border:0;border-radius:var(--r-pill);background:var(--brand-100);box-shadow:inset 0 1px 2px rgb(81 67 148/10%);min-inline-size:0}
html .lx-main .nu-seg label{position:relative;display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border-radius:var(--r-pill);color:var(--quiet);font-size:13.5px;font-weight:600;cursor:pointer;transition:background .18s,color .18s;white-space:nowrap}
html .lx-main .nu-seg input{position:absolute;opacity:0;pointer-events:none}
html .lx-main .nu-seg label:hover{background:rgb(255 255 255/55%);color:var(--ink)}
html .lx-main .nu-seg label:has(input:checked){background:var(--paper);color:var(--ink);box-shadow:var(--sh-1)}
html .lx-main .nu-seg label:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}
html .lx-main .nu-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px;font-size:13.5px;font-weight:600;color:var(--ink-2);cursor:pointer}
html .lx-main .nu-toggle input{width:18px;height:18px;accent-color:var(--brand)}
html .lx-main .content a.nu-export{min-height:40px}

/* ---------- Kennzahlen ---------- */
html .lx-main .nu-kpis .nu-kpi strong{font-size:30px;letter-spacing:-.025em}
html .lx-main .nu-kpis .nu-kpi{position:relative;overflow:hidden}
html .lx-main .nu-kpis .nu-kpi::after{display:none;content:"";position:absolute;inset:auto 18px 0;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--brand-300),transparent);opacity:.6;transform-origin:left}
html .lx-main .nu-kpis .nu-kpi[data-tone=signal]::after{background:linear-gradient(90deg,var(--signal),transparent)}

/* ---------- Kosten und Ertrag: Einnahmen − Kosten = Ergebnis ---------- */
html .lx-main .nu-margin-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;gap:10px;padding:8px;border:1px solid var(--hairline);border-radius:var(--r-md);background:var(--paper);box-shadow:var(--sh-1)}
html .lx-main .nu-margin-cell{display:grid;align-content:center;gap:3px;min-width:0;padding:14px 16px;border-radius:var(--r-md)}
html .lx-main .nu-margin-cell span{font-size:13.5px;font-weight:600;color:var(--quiet)}
html .lx-main .nu-margin-cell strong{font-size:22px;font-weight:600;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
html .lx-main .nu-margin-cell small{font-size:12px;line-height:1.4;color:var(--quiet)}
html .lx-main .nu-op{align-self:center;font-size:22px;font-weight:400;color:var(--brand-300)}
html .lx-main .nu-result{background:var(--brand-50)}
html .lx-main .nu-result.plus{background:var(--light-good-bg)}
html .lx-main .nu-result.plus strong{color:var(--good)}
html .lx-main .nu-result.minus{background:var(--bad-50)}
html .lx-main .nu-result.minus strong{color:var(--bad)}

/* ---------- Abschnitte und Tabellen ---------- */
html .lx-main .nu-section{margin:26px 0 8px}
html .lx-main .nu-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 14px}
html .lx-main .nu-head h2{display:flex;align-items:center;margin:0;font-size:22px;font-weight:600;letter-spacing:-.015em;color:var(--ink)}
html .lx-main .nu-head p{margin:6px 0 0;font-size:15px}
:is(html .lx-main .content,dialog) .nu-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
:is(html .lx-main .content,dialog) .nu-table .num{text-align:right;white-space:nowrap}
:is(html .lx-main .content,dialog) .nu-table td small{display:block;margin-top:2px;font-size:12px;color:var(--quiet)}
:is(html .lx-main .content,dialog) .nu-table tfoot :is(td,th){padding-top:14px;padding-bottom:14px;border-top:1px solid var(--hairline);background:var(--brand-50);font-weight:600;color:var(--ink);text-transform:none;letter-spacing:0;font-size:15px}
html .lx-main .content .nu-table td.nu-row-actions{text-align:right;white-space:nowrap}
html .lx-main .content .nu-table td.nu-row-actions button+button{margin-left:6px}
html .lx-main .content .nu-table tr.nu-row-bad td:first-child{box-shadow:inset 3px 0 0 var(--bad)}
.nu-id{display:inline-block;padding:2px 9px;border-radius:var(--r-xs);background:var(--brand-50);box-shadow:inset 0 0 0 1px rgb(81 67 148/12%);color:var(--brand-ink);font-weight:600;font-size:13.5px;letter-spacing:.03em;white-space:nowrap;font-variant-numeric:tabular-nums}
.nu-chip{display:inline-flex;align-items:center;gap:6px;margin-left:4px;padding:2px 9px;border-radius:var(--r-pill);background:var(--signal-50);color:var(--signal-ink);font-size:12px;font-weight:600;white-space:nowrap}
.nu-feedback{display:inline-flex;align-items:center;padding:2px 10px;border-radius:var(--r-pill);font-size:12px;font-weight:600}
.nu-feedback.yes{background:var(--light-good-bg);color:var(--good)}
.nu-feedback.no{background:var(--bad-50);color:var(--bad)}
.nu-sr,.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- Leere, ladende und fehlerhafte Zustände ---------- */
html .lx-main .nu-empty{display:flex;align-items:center;gap:16px;padding:22px 24px;border:1px dashed var(--brand-200);border-radius:var(--r-md);background:var(--paper)}
html .lx-main .nu-empty .lx-icon{flex:none;width:22px;height:22px;color:var(--brand)}
html .lx-main .nu-empty strong{display:block;font-size:15px;color:var(--ink)}
html .lx-main .nu-empty p{margin:4px 0 0;color:var(--quiet);font-size:15px}
html .lx-main .nu-empty.nu-error{border-color:rgb(163 49 59/30%);background:var(--bad-50)}
html .lx-main .nu-empty.nu-error .lx-icon{color:var(--bad)}
.nu-note{margin:14px 0 0;font-size:13.5px;line-height:1.5;color:var(--quiet)}
.nu-note.nu-error{display:flex;align-items:center;gap:8px;color:var(--bad)}
.nu-note .lx-icon{width:16px;height:16px}
html .lx-main .nu-body[aria-busy=true]{opacity:.55;transition:opacity .2s}

/* ---------- Tarif ---------- */
html .lx-main .nu-tariff-now{display:flex;align-items:baseline;gap:10px 16px;flex-wrap:wrap;padding:20px 24px;margin:0 0 12px;border:1px solid var(--hairline);border-radius:var(--r-md);background:var(--paper);box-shadow:var(--sh-1)}
html .lx-main .nu-tariff-now strong{font-family:var(--font-editorial);font-style:italic;font-weight:500;font-size:30px;letter-spacing:-.01em;color:var(--brand-ink)}
html .lx-main .nu-tariff-now span:not(.nu-chip){color:var(--quiet);font-size:13.5px}
.nu-history{display:grid;gap:8px;margin:12px 0 4px;padding:0;list-style:none}
.nu-history li{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;padding:8px 0;border-top:1px solid var(--hairline);font-size:13.5px;color:var(--ink-2)}
.nu-history li:first-child{border-top:0}
.nu-history li span{color:var(--quiet)}
html .lx-main details.vw-tech{margin:12px 0;padding:0 20px}
html .lx-main details.vw-tech>summary{min-height:52px;font-weight:600;color:var(--ink)}
html .lx-main details.vw-tech>:not(summary){padding-bottom:14px}

/* ---------- Dialoge: Auszug und Einzelvorgang ---------- */
.nu-dl{display:grid;grid-template-columns:minmax(150px,max-content) 1fr;gap:8px 18px;margin:4px 0 16px;font-size:15px}
.nu-dl dt{color:var(--quiet);font-weight:600}
.nu-dl dd{margin:0;color:var(--ink)}
.nu-dl dd small{display:block;color:var(--quiet);font-size:12px}
.nu-dl-grid{grid-template-columns:repeat(2,minmax(110px,max-content) minmax(0,1fr))}
dialog .nu-table :is(th,td){padding:10px 12px;border-bottom:1px solid var(--hairline);text-align:left;font-size:13.5px}
dialog .nu-table th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--quiet)}
dialog h3{margin:20px 0 8px;font-size:16px;font-weight:600;color:var(--ink)}
dialog :is(.nu-detail,.nu-statement) :is(button,a.button){display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 14px;border:1px solid var(--hairline);border-radius:var(--r-pill);background:var(--paper);box-shadow:var(--sh-1);color:var(--ink-2);font:600 13.5px/1 var(--font-ui);text-decoration:none;cursor:pointer;transition:background .16s,border-color .16s,transform .22s var(--e-pop)}
dialog :is(.nu-detail,.nu-statement) :is(button,a.button):hover{background:var(--brand-50);border-color:rgb(81 67 148/24%);color:var(--ink)}
dialog :is(.nu-detail,.nu-statement) :is(button,a.button):active{transform:scale(.97)}
dialog :is(.nu-detail,.nu-statement) button.primary{background:var(--ink);border-color:var(--ink);color:#fff}
dialog :is(.nu-detail,.nu-statement) button.primary:hover{background:var(--brand);border-color:var(--brand);color:#fff}
dialog :is(.nu-detail,.nu-statement) .lx-icon{width:15px;height:15px}
dialog :is(.nu-detail,.nu-statement) .form-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
dialog :is(.nu-detail,.nu-statement) details.vw-tech{margin-top:18px;border-top:1px solid var(--hairline)}
dialog :is(.nu-detail,.nu-statement) details.vw-tech>summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;cursor:pointer;font-weight:600;color:var(--ink-2)}
dialog :is(.nu-detail,.nu-statement) details.vw-tech>summary::-webkit-details-marker{display:none}
dialog :is(.nu-detail,.nu-statement) details.vw-tech>summary::before{content:"";width:14px;height:14px;background:currentColor;opacity:.55;-webkit-mask:url('/assets/icons/svg/chevron-right.svg') center/contain no-repeat;mask:url('/assets/icons/svg/chevron-right.svg') center/contain no-repeat;transition:transform .24s var(--e-out)}
dialog :is(.nu-detail,.nu-statement) details.vw-tech[open]>summary::before{transform:rotate(90deg)}
dialog .nu-table td small{display:block;margin-top:2px;font-size:12px;color:var(--quiet)}
.nu-question{margin:0;padding:14px 18px;border-left:3px solid var(--brand);border-radius:0 var(--r-sm) var(--r-sm) 0;background:var(--brand-50);font-size:15px;line-height:1.5;color:var(--ink)}
.nu-cards{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.nu-cards li{display:flex;gap:12px;padding:12px 14px;border:1px solid var(--hairline);border-radius:var(--r-md);background:var(--paper)}
.nu-cards strong{display:block;font-size:15px;color:var(--ink)}
.nu-cards small{display:block;margin:2px 0 6px;color:var(--quiet);font-size:12px}
.nu-cards p{margin:4px 0 0;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.nu-pos{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand-100);color:var(--brand-ink);font-size:12px;font-weight:600}
.nu-feedback-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 0;border-top:1px solid var(--hairline);font-size:13.5px}
.nu-feedback-row blockquote{flex-basis:100%;margin:2px 0;padding:8px 12px;border-radius:var(--r-sm);background:var(--canvas)}
.nu-feedback-row small{color:var(--quiet)}
.nu-pre{max-height:220px;overflow:auto;padding:12px;border-radius:var(--r-sm);background:var(--canvas);font-size:12px}
html .lx-main .content details.nu-steps{margin:4px 0 0;padding:0;border:0;background:none;box-shadow:none}
.nu-steps>summary{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--brand-ink);font-weight:600;cursor:pointer}
.nu-steps>summary::before{content:"";width:12px;height:12px;background:currentColor;opacity:.6;-webkit-mask:url('/assets/icons/svg/chevron-right.svg') center/contain no-repeat;mask:url('/assets/icons/svg/chevron-right.svg') center/contain no-repeat;transition:transform .24s var(--e-out)}
.nu-steps[open]>summary::before{transform:rotate(90deg)}
.nu-steps ul{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:4px;font-size:12px;color:var(--ink-2)}
.nu-steps li span{display:inline-block;min-width:118px;color:var(--quiet);font-variant-numeric:tabular-nums}

@media (max-width:760px){
 html .lx-main .nu-filter{align-items:stretch}
 html .lx-main .nu-seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;border-radius:var(--r-md)}
 html .lx-main .nu-seg label{justify-content:center;padding:0 10px;border-radius:calc(var(--r-md) - 4px);white-space:normal;text-align:center;line-height:1.15}
 html .lx-main .vw-kpis.nu-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html .lx-main .nu-kpis .nu-kpi{padding:14px}
 html .lx-main .nu-kpis .nu-kpi strong{font-size:22px}
 html .lx-main .nu-tariff-now strong{font-size:22px}
 html .lx-main .content .nu-pick :is(select,input){min-width:0;width:100%}
 html .lx-main .nu-picks{width:100%}
 html .lx-main .nu-pick{flex:1 1 140px}
 .nu-dl,.nu-dl-grid{grid-template-columns:1fr}
 html .lx-main .nu-margin-row{grid-template-columns:1fr}
 html .lx-main .nu-op{justify-self:center;line-height:1}
}
/* Verwaltungsseiten erscheinen ohne gestaffelten Aufstieg (verwaltung.css vw-rise). */
html .lx-main .content>*,html .lx-main .vw-kpis>*,html .lx-main .vw-grid>*{animation:none}

/* ---------- Verwaltung 01.11.2026: IV-Stellen, Rückmeldungen, Einstellungen ---------- */
html .lx-main .lx-back{margin:0 0 6px;font-size:13.5px}
html .lx-main .lx-back a{color:var(--quiet);text-decoration:none}
html .lx-main .lx-back a::before{content:"‹ ";}
html .lx-main .lx-back a:hover{color:var(--brand-ink)}
html .lx-main :is(.access-table,.nu-linked) a.title-cell{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}
html .lx-main :is(.access-table,.nu-linked) a.title-cell span:last-child{display:grid;gap:2px}
html .lx-main :is(.access-table,.nu-linked) a.title-cell small{color:var(--quiet);font-size:13.5px}
html .lx-main :is(.access-table,.nu-linked) a.title-cell:hover strong{color:var(--brand-ink)}
html .lx-main :is(.access-table,.nu-linked) tbody tr:hover{background:var(--brand-50)}
html .lx-main .access-table td.num,html .lx-main .access-table th.num{text-align:right;font-variant-numeric:tabular-nums}
.nu-reasons{display:grid;gap:0;margin:0;padding:0;list-style:none;max-width:520px}
.nu-reasons li{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--hairline);font-size:15px;color:var(--ink-2)}
.nu-reasons li strong{font-variant-numeric:tabular-nums;color:var(--ink)}
.nu-fb-list{display:grid;margin:0;padding:0;list-style:none;border-top:1px solid var(--hairline)}
.nu-fb-item{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 20px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--hairline)}
.nu-fb-main{display:flex;gap:14px;align-items:flex-start;min-width:0;flex:1 1 360px}
.nu-fb-main>div{display:grid;gap:6px;min-width:0}
.nu-fb-meta{margin:0;font-size:13.5px;color:var(--quiet)}
.nu-fb-reasons{margin:0;font-size:15px;color:var(--ink)}
.nu-fb-item blockquote{margin:0;padding:8px 12px;border-left:2px solid var(--hairline);color:var(--ink-2);font-size:15px;line-height:1.5}
.nu-fb-item small{color:var(--quiet);font-size:12px}
html .lx-main .lx-setting-form{display:grid;gap:12px;max-width:520px}
html .lx-main .lx-setting-form label:not(.checkline){display:grid;gap:6px;font-size:13.5px;font-weight:600;color:var(--ink-2)}
html .lx-main .lx-setting-form .actions{display:flex;flex-wrap:wrap;gap:10px}
html .lx-main .lx-setting-state{display:flex;gap:8px;align-items:baseline;margin:0;font-size:13.5px;line-height:1.5;color:var(--quiet)}
html .lx-main .lx-setting-state::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--muted);transform:translateY(-1px)}
html .lx-main .lx-setting-state.ok::before{background:var(--good)}
html .lx-main .lx-setting-state.bad{color:var(--bad)}
html .lx-main .lx-setting-state.bad::before{background:var(--bad)}
html .lx-main .lx-setting-state code{font-size:13.5px}
html .lx-main .lx-model-block{display:grid;gap:8px;margin-top:8px;padding-top:16px;border-top:1px solid var(--hairline)}
html .lx-main .lx-model-block h3{margin:0;font-size:15px;font-weight:600;color:var(--ink)}
html .lx-main .lx-model-block p{margin:0;font-size:13.5px;color:var(--ink-2)}
html .lx-main .lx-models{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0;padding:0;list-style:none}
html .lx-main .lx-models li{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid var(--hairline);border-radius:var(--r-pill);font-size:13.5px;color:var(--ink-2)}
html .lx-main .lx-models li.active{border-color:var(--brand-200);background:var(--brand-50);color:var(--brand-ink)}
html .lx-main .lx-models small{font-size:11px;font-weight:600;color:var(--quiet)}
html .lx-main .lx-models small.new{color:var(--signal-ink)}

/* IV-Verwaltung: klare Papierflächen und nachvollziehbare Zugangserfassung. */
html .lx-main .iv-panel,html .lx-main .iv-billing .nu-section{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);padding:24px;box-shadow:none;min-width:0}
html .lx-main .iv-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
html .lx-main .iv-overview .nu-section{margin:0}
html .lx-main .iv-directory{padding:0;overflow:hidden}
.iv-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--hairline)}
.iv-search{display:grid;gap:7px;flex:0 1 440px;font-size:14px;font-weight:600}
.iv-search input{width:100%}
#iv-search-count{padding-bottom:10px;color:var(--quiet);font-size:14px;white-space:nowrap}
.iv-no-results{padding:20px 24px;color:var(--ink-2)}
.iv-help{margin:0 0 20px;color:var(--ink-2);line-height:1.6;max-width:70ch}
html .lx-main .iv-panel .access-user{padding:20px 0}
html .lx-main .iv-panel .access-user:last-child{border-bottom:0}
html .lx-main .iv-danger{color:var(--bad)}
html .lx-main .iv-billing .nu-filter{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);padding:18px;gap:16px}
html .lx-main .iv-billing .nu-kpis{margin-top:20px}
html .lx-main .iv-billing .nu-section .table-wrap{border:0;box-shadow:none}
html dialog:has(.iv-form-intro,.iv-credentials,.lx-access){width:min(680px,calc(100vw - 32px));border:0;border-radius:var(--r-md);padding:0;color:var(--ink)}
html dialog:has(.iv-form-intro,.iv-credentials,.lx-access) .dialog-head{padding:24px 28px;border-bottom:1px solid var(--line);background:var(--brand-50)}
html dialog:has(.iv-form-intro,.iv-credentials,.lx-access) .dialog-body{padding:24px 28px}
.iv-form-intro p{margin:0;color:var(--ink-2);line-height:1.6}
.iv-form-section{min-width:0;margin:8px 0 0;padding:18px 0 0;border:0;border-top:1px solid var(--line)}
.iv-form-section legend{padding:0 12px 0 0;font-size:16px;font-weight:600;color:var(--brand-ink)}
.iv-form-section small{font-size:13px;font-weight:400;line-height:1.5;color:var(--quiet)}
.iv-form-section input,.iv-form-section select{width:100%;min-width:0}
.iv-onboarding h3{font-size:18px;margin:8px 0 18px}
.iv-onboarding ol{margin:0;padding-left:24px;display:grid;gap:18px}
.iv-onboarding li{padding-left:6px;color:var(--brand-ink)}
.iv-onboarding li strong,.iv-onboarding li span{display:block}
.iv-onboarding li span{margin-top:4px;color:var(--ink-2);line-height:1.5}
.iv-onboarding p{margin:24px 0 0;padding-top:16px;border-top:1px solid var(--line);color:var(--quiet);line-height:1.5}
.iv-credentials{display:grid;gap:18px}
.iv-credentials p{margin:0;line-height:1.6;color:var(--ink-2)}
.iv-credentials label{display:grid;gap:8px;font-weight:600}
.iv-credentials input{width:100%;font-family:var(--font-mono);background:var(--brand-50)}
@media(max-width:800px){html .lx-main .iv-overview{grid-template-columns:1fr}html .lx-main .iv-panel .access-user{grid-template-columns:minmax(0,1fr) auto}html .lx-main .iv-panel .access-user>.actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:600px){html .lx-main .iv-panel,html .lx-main .iv-billing .nu-section{padding:18px}html .lx-main .iv-directory{padding:0}.iv-toolbar{align-items:stretch;flex-direction:column;gap:8px;padding:18px}.iv-search{flex:auto}#iv-search-count{padding:0}html dialog:has(.iv-form-intro,.iv-credentials,.lx-access) :is(.dialog-head,.dialog-body){padding:20px}.iv-form-section .form-grid{grid-template-columns:1fr}}

html .lx-main .iv-overview .nu-dl-grid{grid-template-columns:minmax(110px,1fr) minmax(0,1.4fr);gap:14px 18px}
html .lx-main .iv-overview .nu-dl-grid dd{min-width:0;overflow-wrap:anywhere}
html .lx-main .iv-panel .iv-danger{color:var(--bad)}

/* Kleine Betreiberhilfen ohne zusätzliche Register oder Datenfelder. */
html .lx-main .iv-admin-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 20px;padding:18px 24px;border-radius:var(--r-md);background:var(--brand-100);color:var(--brand-ink)}
.iv-admin-hint p{margin:5px 0 0;max-width:65ch;font-size:14px;line-height:1.5}
.iv-billing-contact{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;margin:0 0 20px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.iv-billing-contact strong{overflow-wrap:anywhere}
.iv-staff-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 20px}
#iv-staff-count{padding-bottom:10px;font-size:14px;color:var(--quiet);white-space:nowrap}
html .lx-main .access-user[hidden]{display:none}
@media(max-width:600px){.iv-staff-toolbar{align-items:stretch;flex-direction:column;gap:8px}#iv-staff-count{padding:0}html .lx-main .iv-admin-hint{padding:18px}}

/* Abrechnung: dieselben ruhigen Flächen wie bei den IV-Stellen. */
html .lx-main .nu-billing-shell .nu-section{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);padding:24px;box-shadow:none;min-width:0}
html .lx-main .nu-billing-shell .nu-filter{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);padding:18px}
html .lx-main .nu-billing-shell .nu-tariff-now,html .lx-main .nu-billing-shell .nu-margin-row{border:0;box-shadow:none;padding:0}
.nu-billing-stages{margin:20px 0;color:var(--ink-2)}
.nu-billing-stages dl{display:flex;flex-wrap:wrap;gap:16px 32px;margin:0}
.nu-billing-stages dl>div{display:grid;gap:4px}
.nu-billing-stages dt{font-size:14px;color:var(--quiet)}
.nu-billing-stages dd{margin:0;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.nu-billing-stages p,.nu-area-notes{font-size:13.5px;line-height:1.6;color:var(--quiet)}
.nu-area-notes p{max-width:75ch}
.nu-area-notes summary{font-weight:600;cursor:pointer}
html .lx-main :is(.nu-areas,.nu-tariff) tbody th{background:none;text-transform:none;letter-spacing:0;font-weight:600;color:var(--ink);font-size:15px;text-align:left}
.nu-areas tbody th small{display:block;margin-top:4px;font-size:12px;font-weight:400;color:var(--quiet)}
html .lx-main .nu-areas td small{white-space:normal;max-width:180px;margin-left:auto}
html .lx-main .nu-document-costs .nu-table{table-layout:fixed;min-width:820px}
html .lx-main .nu-document-costs .nu-table th:first-child{width:30%;white-space:normal;overflow-wrap:anywhere}
html .lx-main .content .nu-document-costs .nu-table thead th{white-space:normal;overflow-wrap:anywhere}
html .lx-main .nu-document-costs .table-wrap{overflow:auto}
.nu-cost-open{font-size:13px;color:var(--signal-ink)}
.nu-statement-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;margin-bottom:20px}
.nu-statement-tools label{display:grid;gap:6px;font-size:14px;font-weight:600;min-width:0}
.nu-statement-tools label:first-child{flex:1 1 280px}
.nu-statement-tools input{width:100%;min-width:0}
#nu-statement-count{font-size:13px;color:var(--quiet);padding-bottom:10px}
html .lx-main tr[data-statement-search][hidden]{display:none}
html dialog:has(.nu-statement,.nu-preview,.nu-form-intro,.nu-detail){width:min(760px,calc(100vw - 32px));border:0;border-radius:var(--r-md);padding:0}
html dialog:has(.nu-statement,.nu-preview,.nu-form-intro,.nu-detail) .dialog-head{padding:24px 28px;background:var(--brand-50);border-bottom:1px solid var(--line)}
html dialog:has(.nu-statement,.nu-preview,.nu-form-intro,.nu-detail) .dialog-body{padding:24px 28px}
.nu-form-intro{margin:0;color:var(--ink-2);line-height:1.6}
.nu-preview{padding:20px;background:var(--brand-50);border-radius:var(--r-sm);min-width:0}
.nu-preview p{margin:0;font-size:14px;line-height:1.5}
.nu-preview dd{min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){html .lx-main .nu-billing-shell .nu-section{padding:18px}.nu-statement-tools{align-items:stretch}.nu-statement-tools label{flex:1 1 100%}html dialog:has(.nu-statement,.nu-preview,.nu-form-intro,.nu-detail) :is(.dialog-head,.dialog-body){padding:18px}.nu-preview{padding:14px}.nu-preview .nu-dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.nu-areas .table-wrap{overflow:auto}}

html .lx-main :is(.nu-billing-shell,.iv-billing) .nu-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
html .lx-main :is(.nu-billing-shell,.iv-billing) .nu-section>.table-wrap{box-shadow:none;border:0;border-radius:0}
.nu-billing-stages{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);padding:20px 24px}
.nu-billing-stages dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.nu-billing-stages p{margin:12px 0 0}
@media(max-width:600px){
 .nu-billing-stages{padding:18px}.nu-billing-stages dl{grid-template-columns:1fr}.nu-billing-stages dl>div{display:flex;justify-content:space-between;gap:12px}
 html .lx-main .nu-areas :is(table,tbody){display:block;width:100%}
 :is(.nu-areas,.nu-tariff) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 html .lx-main :is(.nu-areas,.nu-tariff) tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}
 html .lx-main :is(.nu-areas,.nu-tariff) tbody tr:last-child{border-bottom:0}
 html .lx-main :is(.nu-areas,.nu-tariff) tbody :is(th,td){padding:0;border:0;white-space:normal;min-width:0;text-align:left}
 html .lx-main :is(.nu-areas,.nu-tariff) tbody th{grid-column:1/-1}
 :is(.nu-areas,.nu-tariff) td::before{content:attr(data-label);display:block;font-size:12px;color:var(--quiet);margin-bottom:4px}
 html .lx-main :is(.nu-areas,.nu-tariff) td small{margin-left:0}
 html .lx-main .nu-tariff :is(table,tbody){display:block;width:100%}
 html .lx-main .nu-tariff tbody tr{row-gap:8px}
 html .lx-main .nu-tariff tbody .nu-no-planned{display:none}
 html .lx-main .nu-tariff tbody .nu-row-actions{grid-column:2;grid-row:2;align-self:center;text-align:right}

}

.nu-feedback-filters{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.nu-feedback-filters label{display:grid;gap:6px;font-size:14px;font-weight:600;flex:1 1 200px;min-width:0}
.nu-feedback-filters select{width:100%;min-width:0}
html .lx-main .nu-feedback-shell .nu-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
html .lx-main .nu-feedback-shell .nu-fb-list{padding:0;list-style:none}
html .lx-main .nu-feedback-shell .nu-fb-item{background:transparent;border-radius:0;box-shadow:none;border:0;border-bottom:1px solid var(--line);padding:20px 0}
.nu-feedback-shell .nu-fb-item:last-child{border-bottom:0}.nu-feedback-shell blockquote{overflow-wrap:anywhere}
@media(max-width:600px){html .lx-main .nu-feedback-shell .nu-kpis{grid-template-columns:1fr}.nu-feedback-shell .nu-fb-item{display:block}.nu-feedback-shell .nu-row-actions{margin-top:16px;justify-content:flex-start;flex-wrap:wrap}}

.nu-feedback-shell .nu-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

/* Ein gemeinsamer Filtercontainer; vollständige Listen schrittweise laden. */
.nu-feedback-panel{padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);margin-bottom:20px}
html .lx-main .nu-feedback-shell .nu-feedback-panel .nu-filter{border:0;border-radius:0;box-shadow:none;padding:0;background:transparent}
html .lx-main .nu-feedback-shell .nu-feedback-panel .nu-feedback-filters{margin:0;padding-top:18px;border-top:1px solid var(--line)}
.nu-feedback-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--quiet)}
#fb-more-error:empty{display:none}#fb-more-error{flex-basis:100%;color:var(--signal-ink)}
@media(max-width:600px){.nu-feedback-panel{padding:18px}}
/* Mein Konto und Einstellungen (Betreiberauftrag 08.11.2026): dieselben Karten wie IV-Stellen und Abrechnung. */
html .lx-main .lx-settings-panel{display:flex;flex-direction:column;gap:14px}
html .lx-main .lx-settings-panel>.nu-head{margin:0}
html .lx-main .lx-settings-panel>.iv-help{margin:-4px 0 4px;font-size:15px}
html .lx-main .lx-settings-panel .lx-setting-form{max-width:none}
html .lx-main .lx-settings-panel .lx-setting-form select{min-height:44px}
html .lx-main .lx-settings-panel .checkline{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;color:var(--ink-2)}
html .lx-main .lx-settings-panel .lx-setting-form .actions{margin-top:4px}
html .lx-main .lx-settings-panel .lx-model-block{gap:10px;margin-top:4px}
html .lx-main .lx-model-line,html .lx-main .lx-account-dl{margin:0}
html .lx-main .lx-model-line dd.mono,html .lx-main .lx-account-dl .mono{font-family:var(--font-mono);font-size:14px;color:var(--ink)}
html .lx-main .lx-models-more{border:0;padding:0}
html .lx-main .lx-models-more summary{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--brand);cursor:pointer}
html .lx-main .lx-models-more summary .heading-count{margin-left:2px}
html .lx-main .lx-models-more summary small.new{font-size:11px;font-weight:600;color:var(--signal-ink)}
html .lx-main .lx-models-more>.lx-models{margin-top:12px}
html .lx-main .lx-models-more>p{margin:8px 0 0;font-size:13.5px}
html .lx-main .lx-account-dl{grid-template-columns:minmax(150px,max-content) minmax(0,1fr);gap:12px 20px}
html .lx-main .lx-account-dl dd{overflow-wrap:anywhere}
html .lx-main .lx-account-sessions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:6px;padding-top:16px;border-top:1px solid var(--hairline)}
html .lx-main .lx-settings-panel .access-users{margin:0}
html .lx-main .lx-setting-state[hidden]{display:none}

/* Drilldown (Betreiberauftrag 08.11.2026): eine Zeile mit Zusammenfassung und Zustand, Details auf Wunsch. */
html .lx-main .lx-drills{display:grid;gap:12px;max-width:880px}
html .lx-main .lx-drills>.iv-panel{margin:0}
html .lx-main details.lx-drill{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);padding:0;transition:border-color .18s}
html .lx-main details.lx-drill:hover,html .lx-main details.lx-drill[open]{border-color:var(--brand-200)}
html .lx-main details.lx-drill>summary{display:flex;align-items:center;gap:12px;min-height:64px;padding:14px 20px 14px 22px;border-radius:var(--r-md)}
html .lx-main details.lx-drill>summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
html .lx-main details.lx-drill>summary::after{content:"";flex:none;width:16px;height:16px;margin-left:4px;background:var(--quiet);-webkit-mask:url('/assets/icons/svg/chevron-right.svg') center/contain no-repeat;mask:url('/assets/icons/svg/chevron-right.svg') center/contain no-repeat;transition:transform .26s var(--e-out,ease)}
html .lx-main details.lx-drill[open]>summary::after{transform:rotate(90deg)}
html .lx-main .lx-drill-head{display:grid;gap:2px;flex:1;min-width:0}
html .lx-main .lx-drill-head strong{font-size:17px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
html .lx-main .lx-drill-head small{font-size:14px;color:var(--quiet);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html .lx-main .lx-drill-head small .mono{font-family:var(--font-mono);font-size:13px}
html .lx-main details.lx-drill>summary>.badge{flex:none}
html .lx-main .lx-drill-body{display:flex;flex-direction:column;gap:14px;padding:4px 22px 22px;border-top:1px solid var(--hairline);margin:0;padding-top:18px}
html .lx-main .lx-drill-body>.iv-help{margin:0;font-size:15px}
html .lx-main .lx-drill-body .lx-setting-form{max-width:520px}
html .lx-main .lx-drill-body .lx-setting-form select{min-height:44px}
html .lx-main .lx-drill-body .checkline{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;color:var(--ink-2)}
html .lx-main .lx-drill-body .lx-model-block{gap:10px;margin-top:0}
html .lx-main .lx-drill-body .lx-account-sessions{margin-top:0}
html .lx-main .nu-log-drill{margin:0 0 20px}
html .lx-main .nu-log-drill .nu-filter{margin:0}
/* Zeilenmenü «Verwalten»: Aktionen eines Zugangs als kleines Aufklappmenü. */
html .lx-main .access-user{align-items:center}
html .lx-main details.lx-row-menu{position:relative;justify-self:end}
html .lx-main details.lx-row-menu>summary{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px 0 14px;border:1px solid var(--hairline);border-radius:var(--r-pill);background:var(--paper);font-size:13.5px;font-weight:600;color:var(--ink-2)}
html .lx-main details.lx-row-menu>summary:hover,html .lx-main details.lx-row-menu[open]>summary{background:var(--brand-50);border-color:var(--brand-200)}
html .lx-main details.lx-row-menu>summary .lx-icon{width:14px;height:14px;transition:transform .2s}
html .lx-main details.lx-row-menu[open]>summary .lx-icon{transform:rotate(180deg)}
html .lx-main .lx-row-menu-list{position:absolute;right:0;top:calc(100% + 6px);z-index:30;display:grid;min-width:220px;padding:6px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-sm);box-shadow:var(--sh-2)}
html .lx-main details[open]>.lx-row-menu-list{animation:none}
html .lx-main .content .lx-row-menu-list button{justify-content:flex-start;width:100%;min-height:40px;padding:0 12px;border:0;border-radius:var(--r-xs);background:transparent;box-shadow:none;font-weight:500;color:var(--ink)}
html .lx-main .content .lx-row-menu-list button:hover:not(:disabled){background:var(--brand-50);box-shadow:none}
html .lx-main .content .lx-row-menu-list button.iv-danger{color:var(--bad)}
@media(max-width:600px){
 html .lx-main details.lx-drill>summary{min-height:58px;padding:12px 12px 12px 16px;gap:8px}
 html .lx-main details.lx-drill>summary>.badge{max-width:42%;overflow:hidden;text-overflow:ellipsis}
 html .lx-main .lx-drill-head strong{font-size:16px}
 html .lx-main .lx-drill-head small{white-space:normal}
 html .lx-main .lx-drill-body{padding:14px 16px 18px}
 html .lx-main .access-user{grid-template-columns:minmax(0,1fr) auto}
 html .lx-main .access-user>.badge{grid-column:1;justify-self:start}
 html .lx-main .access-user>details.lx-row-menu{grid-column:2;grid-row:1/span 2;align-self:center}
}
html .lx-main details.lx-row-menu{border:0;padding:0}
html .lx-main .content .lx-row-menu .lx-row-menu-list button.small{justify-content:flex-start;width:100%;min-height:40px;padding:0 12px;border:0;border-radius:var(--r-xs);background:transparent;box-shadow:none;font-weight:500;color:var(--ink);transform:none}
html .lx-main .content .lx-row-menu .lx-row-menu-list button.small:hover:not(:disabled){background:var(--brand-50);box-shadow:none}
html .lx-main .content .lx-row-menu .lx-row-menu-list button.small.iv-danger{color:var(--bad)}
html .lx-main .lx-drill-head small .mono{white-space:nowrap}
/* Protokoll auf kleinen Geräten: Karten statt seitlich scrollender Tabelle. */
@media(max-width:600px){
 html .lx-main .table-wrap:has(>table.nu-log){overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
 html .lx-main table.nu-log{display:block;white-space:normal}
 html .lx-main table.nu-log thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 html .lx-main table.nu-log tbody{display:grid;gap:10px}
 html .lx-main table.nu-log tr{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:"act act act state" "time office id id" "op op op op";gap:6px 10px;padding:14px 16px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md)}
 html .lx-main table.nu-log tr:hover{background:var(--paper)}
 html .lx-main table.nu-log td{display:block;min-width:0;padding:0;border:0;font-size:13.5px}
 html .lx-main table.nu-log td:nth-child(1){grid-area:time;color:var(--quiet)}
 html .lx-main table.nu-log td:nth-child(2){grid-area:office;color:var(--quiet)}
 html .lx-main table.nu-log td:nth-child(3){grid-area:id;justify-self:start}
 html .lx-main table.nu-log td:nth-child(4){grid-area:act;overflow-wrap:anywhere}
 html .lx-main table.nu-log td:nth-child(4) small{max-width:none;white-space:normal}
 html .lx-main table.nu-log td:nth-child(5){grid-area:state;justify-self:end}
 html .lx-main table.nu-log td.nu-row-actions{grid-area:op}
 html .lx-main table.nu-log td.nu-row-actions:empty{display:none}
 html .lx-main .content table.nu-log tr.nu-row-bad{box-shadow:inset 3px 0 0 var(--bad)}
 html .lx-main .content table.nu-log tr.nu-row-bad td:first-child{box-shadow:none}
}

/* ==========================================================================
 * Einheitliches Betriebsmuster (Betreiberauftrag 09.11.2026)
 * Eine Karte, ein Kartenkopf, eine Liste ohne zweiten Rahmen, gleiche Abstände.
 * Wer eine Liste füllt («… erfassen»), steht im Kopf der Karte dieser Liste;
 * der Seitenkopf trägt nur Aktionen für die ganze Seite.
 * ========================================================================== */
html .lx-main{--card-gap:20px}
html{scrollbar-gutter:stable}

/* Karte: Papier, 1 px Linie, 14 px Radius, 24 px Innenabstand, kein Schatten. */
html .lx-main :is(.iv-panel,.nu-billing-shell .nu-section,.iv-billing .nu-section,.nu-billing-shell .nu-filter,.iv-billing .nu-filter,.nu-feedback-panel,.nu-billing-stages,.iv-billing-contact){background:var(--paper);border:1px solid var(--line);border-radius:var(--r-md);padding:24px;box-shadow:none;min-width:0}
html .lx-main :is(.nu-billing-shell,.iv-billing) :is(.nu-section,.nu-filter,.nu-feedback-panel,.nu-billing-stages,.nu-kpis){margin:0 0 var(--card-gap)}
html .lx-main .nu-feedback-shell .nu-feedback-panel .nu-filter{padding:0;border:0;margin:0}
html .lx-main .iv-overview{gap:var(--card-gap)}
html .lx-main .access-section{margin:0 0 var(--card-gap)}

/* Kennzahlen: dieselbe Karte, kein Schatten, kein Anheben. */
html .lx-main :is(.nu-kpis,.vw-kpis) .vw-kpi{border-color:var(--line);box-shadow:none;padding:20px 24px}
html .lx-main :is(.nu-kpis,.vw-kpis) .vw-kpi:hover{box-shadow:none;transform:none}
html .lx-main .nu-kpis{gap:var(--card-gap)}
html .lx-main .nu-kpi-copy{display:grid;gap:2px;min-width:0}
html .lx-main .content .nu-kpis button.nu-kpi{display:flex;justify-content:flex-start;align-items:flex-start;border-color:var(--line);border-radius:var(--r-md);padding:20px 24px;background:var(--paper);box-shadow:none;text-align:start;white-space:normal;font:inherit;cursor:pointer;transition:background .18s,border-color .18s}
html .lx-main .content .nu-kpis button.nu-kpi:hover{background:var(--brand-50);border-color:var(--brand-200);box-shadow:none;transform:none}
html .lx-main .content .nu-kpis button.nu-kpi:active{background:var(--brand-100);transform:none}
html .lx-main .content .nu-kpis button.nu-kpi:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
html .lx-main .nu-feedback-area{position:relative}
html .lx-main .content .nu-feedback-area button.nu-feedback-area-trigger{display:inline;padding:0;min-height:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font:inherit;text-align:start;white-space:normal;cursor:pointer;transform:none}
html .lx-main .content .nu-feedback-area button.nu-feedback-area-trigger:is(:hover,:active){background:none;border-color:transparent;box-shadow:none;color:inherit;transform:none}
html .lx-main .content .nu-feedback-area-trigger::after{content:"";position:absolute;inset:0}
html .lx-main .content .nu-feedback-area:hover{background:var(--brand-50)}
html .lx-main .content .nu-feedback-area-trigger:focus-visible{outline:none}
html .lx-main .content .nu-feedback-area-trigger:focus-visible::after{outline:2px solid var(--brand);outline-offset:-2px}

/* Kartenkopf: Titel 22 px mit Zähler, Aktionen rechts, mittig ausgerichtet, 16 px Abstand. */
html .lx-main :is(.iv-panel,.nu-section,.lx-settings-panel)>.nu-head{align-items:center;min-height:36px;margin:0 0 16px}
html .lx-main .nu-head>.actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
html .lx-main .lx-settings-panel>.nu-head{margin:0}

/* Suche + Liste: Werkzeugzeile ohne Trennlinie, Tabelle ohne eigenen Rahmen. */
html .lx-main .iv-directory{padding:24px;overflow:visible}
html .lx-main .iv-directory .iv-toolbar{padding:0;margin:0 0 16px;border:0}
html .lx-main :is(.iv-panel,.nu-section,.nu-billing-stages) .table-wrap{margin:0;border:0;border-radius:0;box-shadow:none;background:transparent}
html .lx-main .iv-directory .table-wrap{margin:0 -24px -24px;border-top:1px solid var(--hairline);border-radius:0 0 var(--r-md) var(--r-md);overflow:hidden}
html .lx-main .iv-directory .access-table :is(th,td):first-child{padding-left:24px}
html .lx-main .iv-directory .access-table :is(th,td):last-child{padding-right:24px}
html .lx-main .iv-directory .access-table tbody tr:last-child td{border-bottom:0}
html .lx-main .iv-directory .empty,html .lx-main .iv-panel>.empty{margin:0}
html .lx-main :is(.iv-search,.nu-statement-tools label,.nu-feedback-filters label){font-size:14px;font-weight:600;color:var(--ink)}
html .lx-main :is(#iv-search-count,#iv-staff-count,#nu-statement-count){padding-bottom:12px;font-size:14px;color:var(--quiet);white-space:nowrap}
html .lx-main .iv-no-results{margin:16px 0 0;padding:0;color:var(--ink-2)}
html .lx-main .iv-directory .iv-no-results{padding:0 0 4px}

/* Hilfetext: ein Stil (15 px, ink-2). Notizen unter Karten mit festem Abstand. */
html .lx-main .iv-help{margin:0 0 20px;font-size:15px;color:var(--ink-2);line-height:1.6;max-width:70ch}
html .lx-main .nu-log-intro{margin:0 0 16px}
html .lx-main .nu-feedback-shell #nu-freshness{margin:0 0 12px}

/* Felder: Suche, Auswahl und Datum einheitlich 44 px, Beschriftung 14 px. */
html .lx-main .content :is(.nu-pick select,.nu-pick input,.iv-search input,.nu-statement-tools input,.nu-statement-tools select,.nu-feedback-filters select){min-height:44px;margin:0}
html .lx-main .nu-pick{gap:6px;font-size:14px;font-weight:600;letter-spacing:0;color:var(--ink)}
html .lx-main .content a.nu-export,html .lx-main .nu-toggle{min-height:44px}
html dialog :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px}

/* Zeilen: einheitliches Polster; eine einzelne Aktion steht direkt in der Zeile. */
html .lx-main .iv-panel .access-user{padding:16px 0}
html .lx-main .access-user strong{font-weight:600}
html .lx-main .lx-row-single{justify-self:end}
html .lx-main :is(.nu-areas,.nu-tariff) tbody th{padding:16px 20px;border-bottom:1px solid var(--hairline)}
html .lx-main :is(.nu-areas,.nu-tariff,.nu-table) tbody tr:last-child :is(th,td){border-bottom:0}

/* Hinweisband: Karte mit Akzentkante statt dritter Flächenart. */
html .lx-main .iv-admin-hint{margin:0 0 var(--card-gap);padding:18px 24px;border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:var(--r-md);background:var(--paper);color:var(--ink)}
html .lx-main .iv-admin-hint p{color:var(--ink-2)}

/* Rechnungskontakt der IV-Stelle als kompakte Karte. */
html .lx-main .iv-billing-contact{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;padding:18px 24px;font-size:14px}
html .lx-main .iv-billing-contact .nu-dl{display:flex;gap:10px;margin:0}
html .lx-main .iv-billing-contact dt{color:var(--quiet)}
html .lx-main .iv-billing-contact dd{margin:0;font-weight:600;overflow-wrap:anywhere}
html .lx-main .iv-billing-contact p{margin:0;color:var(--quiet)}
html .lx-main .nu-dl dd small{margin-left:6px;color:var(--quiet);font-size:13.5px}

/* Leerzustand: ein Baustein, links ausgerichtet mit gestrichelter Linie (wie Abrechnung). */
html .lx-main .content .empty{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:22px 24px;border:1px dashed var(--brand-200);border-radius:var(--r-md);background:var(--paper);text-align:left;color:var(--ink-2)}
html .lx-main .content .empty>.lx-icon{flex:none;width:22px;height:22px;color:var(--brand)}
html .lx-main .content .empty strong{display:block;font-size:15px;font-weight:600;color:var(--ink)}
html .lx-main .content .empty p{flex:1 1 280px;margin:0;font-size:15px;color:var(--quiet);max-width:none}

/* Einstellungen und Konto: volle Inhaltsbreite wie alle Betriebsseiten, ein Titelmass. */
html .lx-main .lx-drills{max-width:none;gap:12px}
html .lx-main .lx-drill-head strong,html .lx-main .lx-account .nu-head h2{font-size:18px;letter-spacing:-.01em}
html .lx-main .lx-account>.iv-panel{padding:20px 22px}
html .lx-main .lx-account>.iv-panel>.nu-head{min-height:0;margin:0 0 14px}

/* Bestätigungsdialoge ohne leeres Formularraster. */
html dialog .confirm-form .form-grid{display:block;margin:0;padding:0;border:0}
html dialog .confirm-form .form-grid>p{margin:0;line-height:1.6;color:var(--ink-2)}
html dialog{border-radius:var(--r-md)}

/* Seitenkopf: unter 600 px stehen Aktionen linksbündig unter dem Titel. */
@media(max-width:600px){
 html .lx-main .page-head .actions{width:100%;justify-content:flex-start}
 html .lx-main :is(.iv-panel,.nu-billing-shell .nu-section,.iv-billing .nu-section,.nu-billing-shell .nu-filter,.iv-billing .nu-filter,.nu-feedback-panel,.nu-billing-stages){padding:18px}
 html .lx-main .iv-directory{padding:18px}
 html .lx-main .iv-directory .iv-toolbar{padding:0}
 html .lx-main .iv-directory .table-wrap{margin:0 -18px -18px}
 html .lx-main .nu-head>.actions{width:100%;margin-left:0}
 html .lx-main .nu-head>.actions>button{flex:1 1 auto;justify-content:center}
 html .lx-main :is(#iv-search-count,#iv-staff-count,#nu-statement-count){padding-bottom:0}
 /* IV-Stellen als Zeilenliste statt seitlich scrollender Tabelle. */
 html .lx-main .iv-table{display:block}
 html .lx-main .iv-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 html .lx-main .iv-table tbody{display:block}
 html .lx-main .iv-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:14px 18px;border-bottom:1px solid var(--hairline)}
 html .lx-main .iv-table tr:last-child{border-bottom:0}
 html .lx-main .iv-directory .access-table.iv-table :is(td,td:first-child,td:last-child){display:block;padding:0;border:0;min-width:0;white-space:normal}
 html .lx-main .iv-table td:first-child{grid-column:1/-1}
 html .lx-main .iv-table td.num{text-align:left;font-size:13.5px;color:var(--quiet)}
 html .lx-main .iv-table td.num::before{content:attr(data-label) " "}
 html .lx-main .iv-table td:last-child{justify-self:end}
 html .lx-main .iv-table .title-cell small{overflow-wrap:anywhere}
 html .lx-main .lx-account-dl{grid-template-columns:1fr;gap:2px}
 html .lx-main .lx-account-dl dd{margin:0 0 10px}
 html .lx-main details.lx-drill>summary{flex-wrap:wrap}
 html .lx-main .lx-drill-head strong{font-size:16px}
 html .lx-main table.nu-log td.nu-empty-cell{display:none}
}
/* Schmale Abrechnungstabellen (IV-Stellen, Kennungen) auf dem Handy als Zeilenkarten. */
@media(max-width:600px){
 html .lx-main .table-wrap:has(>.nu-rows){overflow:visible}
 html .lx-main .nu-rows{display:block;width:100%}
 html .lx-main .nu-rows thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 html .lx-main .nu-rows :is(tbody,tfoot){display:block}
 html .lx-main .nu-rows tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px;padding:14px 0;border-bottom:1px solid var(--hairline)}
 html .lx-main .nu-rows tbody tr:last-child{border-bottom:0}
 html .lx-main .nu-rows tfoot tr{border-top:1px solid var(--line);border-bottom:0}
 html .lx-main .nu-rows :is(td,th){display:block;padding:0;border:0;min-width:0;text-align:left;white-space:normal}
 html .lx-main .nu-rows :is(td,th):first-child{grid-column:1/-1}
 html .lx-main .nu-rows td.num::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:12px;color:var(--quiet)}
}
/* Vorgänge: Spalten dürfen umbrechen, damit die Tabelle bei 1280 px ohne seitliches Scrollen passt. */
html .lx-main .content .nu-table.nu-ops{white-space:normal}
html .lx-main .content .nu-table.nu-ops :is(th,td){padding:14px 10px;white-space:normal}
html .lx-main .content .nu-table.nu-ops :is(th,td):first-child{padding-left:0}
html .lx-main .content .nu-table.nu-ops :is(th,td):last-child{padding-right:0}
html .lx-main .content .nu-table.nu-ops td.nu-row-actions{white-space:nowrap}

/* Zugangsdaten: ruhige Karte im Dialog (9. November 2026) */
html dialog:has(.lx-access){width:min(560px,calc(100vw - 32px))}
.lx-access{display:grid;gap:20px}
.lx-access-hero{display:flex;align-items:center;gap:16px}
.lx-access-hero img{flex:none;width:44px;height:44px;border-radius:12px}
.lx-access-who{margin:0 0 2px;font-size:13px;font-weight:600;letter-spacing:.01em;color:var(--brand)}
.lx-access .lx-access-lead{margin:0;max-width:none;line-height:1.5;color:var(--ink-2)}
.lx-access-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface,#fff);overflow:hidden}
.lx-access-list li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 12px 14px 16px}
.lx-access-list li+li{border-top:1px solid var(--line)}
.lx-access-n{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--brand-50);color:var(--brand-ink);font-size:13px;font-weight:600}
.lx-access-field{display:grid;gap:2px;min-width:0}
.lx-access-label{font-size:13px;color:var(--quiet)}
.lx-access-value{font-size:16px;color:var(--ink);overflow-wrap:anywhere;user-select:all}
.lx-access-value.mono{font-family:var(--font-mono);font-size:16px;letter-spacing:.02em}
.lx-access-field small{font-size:12.5px;color:var(--quiet)}
html .lx-access .lx-access-copy{width:36px;height:36px;padding:0;display:grid;place-items:center}
.lx-access .lx-access-note{margin:0;max-width:none;padding:12px 14px;border-radius:var(--r-sm,10px);background:var(--brand-50);line-height:1.5;color:var(--ink-2);font-size:14px}
.lx-access-mail{display:grid;gap:8px;padding-top:18px;border-top:1px solid var(--line)}
.lx-access-mail label{font-weight:600;color:var(--brand-ink)}
.lx-access-mail-row{display:flex;gap:8px}
.lx-access-mail-row input{flex:1;min-width:0}
.lx-access-mail-row input{min-height:42px}
html .lx-access .lx-access-mail-row button{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:0 16px;border:1px solid var(--line);background:var(--surface)}
html .lx-access .lx-access-mail-row button:hover{border-color:var(--brand-300);background:var(--brand-50)}
.lx-access-mail-state{margin:0;min-height:1.4em;font-size:14px;color:var(--quiet);line-height:1.5}
.lx-access-mail-state:empty{display:none}
.lx-access-mail-state.ok{color:var(--good)}
.lx-access-mail-state.bad{color:var(--bad)}
.lx-access-mail-state a{color:var(--brand);font-weight:600}
html .lx-access .lx-access-actions{margin:0;padding-top:0;border-top:0;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
@media(max-width:600px){.lx-access-mail-row{flex-direction:column}html .lx-access .lx-access-actions>button{flex:1 1 auto}html .lx-access .lx-access-actions>.primary{flex-basis:100%}}
#lx-print-access{display:none}
@media print{
 @page{size:A4;margin:22mm 20mm}
 html.lx-printing-access body>*:not(#lx-print-access),html.lx-printing-access dialog{display:none!important}
 html.lx-printing-access,html.lx-printing-access body{background:#fff!important;margin:0;padding:0}
 html.lx-printing-access #lx-print-access{display:block;color:#242431;font-family:var(--font-ui,'Source Sans 3',sans-serif);font-size:11pt;line-height:1.45}
 #lx-print-access .lx-sheet-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:7mm;border-bottom:.3mm solid #d9d5e2}
 #lx-print-access .lx-sheet-head img{height:12mm;width:auto}
 #lx-print-access .lx-sheet-head span{font-size:10pt;letter-spacing:.06em;text-transform:uppercase;color:#6b6680}
 #lx-print-access h1{margin:14mm 0 2mm;font-size:24pt;font-weight:600;color:#3b2f78;letter-spacing:-.01em}
 #lx-print-access .lx-sheet-lead{margin:0;font-size:13pt;color:#4a4560}
 #lx-print-access .lx-sheet-who{margin:2mm 0 0;font-size:10.5pt;color:#514394;font-weight:600}
 #lx-print-access .lx-sheet-steps{list-style:none;margin:11mm 0 0;padding:0;border:.3mm solid #d9d5e2;border-radius:4mm}
 #lx-print-access .lx-sheet-steps li{display:flex;gap:6mm;align-items:flex-start;padding:6mm 7mm;break-inside:avoid}
 #lx-print-access .lx-sheet-steps li+li{border-top:.3mm solid #d9d5e2}
 #lx-print-access .lx-sheet-n{flex:none;width:8mm;height:8mm;border-radius:50%;background:#f6f4fc;color:#3b2f78;font-weight:600;display:flex;align-items:center;justify-content:center;font-size:11pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 #lx-print-access .lx-sheet-steps strong{display:block;font-weight:600;font-size:12pt}
 #lx-print-access .lx-sheet-steps li>div>span{display:block;margin-top:1mm;font-size:13pt;color:#242431;overflow-wrap:anywhere}
 #lx-print-access .lx-sheet-steps .mono{font-family:var(--font-mono,'Source Code Pro',monospace);font-size:14pt;letter-spacing:.03em}
 #lx-print-access .lx-sheet-note{margin:8mm 0 0;padding:4mm 5mm;background:#f6f4fc;border-radius:3mm;color:#4a4560;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 #lx-print-access .lx-sheet-foot{display:flex;justify-content:space-between;gap:6mm;margin-top:16mm;padding-top:4mm;border-top:.3mm solid #d9d5e2;font-size:9pt;color:#6b6680}
}

html .lx-main .content .nu-table.nu-ops th.nu-time{padding-block:0}
html .lx-main .content .nu-table.nu-ops .nu-time{min-width:88px;text-align:right}
html .lx-main .content .nu-table.nu-ops td.nu-time{white-space:nowrap}
html .lx-main .content .nu-table.nu-ops td.nu-time-empty{color:var(--quiet);font-size:12px;white-space:normal}
html .lx-main .content .nu-table.nu-ops button.nu-time-sort{display:inline-flex;justify-content:flex-end;gap:4px;min-height:44px;padding:6px 0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font:inherit;letter-spacing:inherit;text-align:inherit;text-transform:inherit;transform:none;cursor:pointer}
html .lx-main .content .nu-table.nu-ops :is(button.nu-time-sort:hover,[aria-sort] button.nu-time-sort){color:var(--brand-ink)}
html .lx-main .content .nu-table.nu-ops button.nu-time-sort:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.nu-time-sort span{margin-left:2px}
.nu-time-detail dd{font-variant-numeric:tabular-nums}
@media(max-width:600px){
 html .lx-main .content .nu-table.nu-ops :is(th,td):nth-child(-n+3){padding-inline:6px}
 html .lx-main .content .nu-table.nu-ops :is(th,td):first-child{padding-left:0}
 html .lx-main .content .nu-table.nu-ops th.nu-time{min-width:80px}
 html .lx-main .content .nu-table.nu-ops th.nu-time button{max-width:112px;white-space:normal}
}

/* Detailseiten dürfen Tabellenbreiten nicht an den Seitencontainer weitergeben. */
html .lx-main .content .nu-billing-shell>:is(.nu-detail,.nu-statement){min-width:0;max-width:100%}
html .lx-main .content :is(.nu-detail,.nu-statement) .table-wrap{min-width:0;max-width:100%;overflow-x:auto}
html .lx-main .content :is(.nu-detail,.nu-statement) .nu-dl{min-width:0;grid-template-columns:minmax(0,40%) minmax(0,1fr)}
html .lx-main .content :is(.nu-detail,.nu-statement) .nu-dl :is(dt,dd){min-width:0;overflow-wrap:anywhere}
html .lx-main .content :is(.nu-detail,.nu-statement) .nu-dl dd .badge{max-width:100%;white-space:normal}
html .lx-main .content :is(.nu-detail,.nu-statement) .form-actions{flex-wrap:wrap}
@media(max-width:600px){
 html .lx-main .content .nu-detail .nu-bookings{display:block;white-space:normal}
 html .lx-main .content .nu-detail .nu-bookings thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html .lx-main .content .nu-detail .nu-bookings tbody{display:block}
 html .lx-main .content .nu-detail .nu-bookings tr{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:14px 12px;border-bottom:1px solid var(--line)}
 html .lx-main .content .nu-detail .nu-bookings tr:last-child{border-bottom:0}
 html .lx-main .content .nu-detail .nu-bookings td{display:block;min-width:0;padding:0;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
 html .lx-main .content .nu-detail .nu-bookings td::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:12px;font-weight:600;color:var(--quiet)}
}
