/* G8 2.5.12: 2 consecutive stylesheets, source order preserved. */

/* BEGIN Daten-Importer/style.css */
:root{--bg:#f3f5f7;--card:#fff;--text:#172033;--muted:#667085;--border:#d9e0e8;--blue:#2457a7;--soft:#eaf1fb;--danger:#b42318;--ok:#137a55;--ok-soft:#eaf8f1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.shell{width:min(1100px,100%);margin:auto;padding:26px 18px 56px}.top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}.top h1{margin:8px 0 6px}.top p,.card p{color:var(--muted);line-height:1.55}.back{color:var(--blue);text-decoration:none;font-weight:700}.pill{display:inline-flex;align-items:center;background:var(--soft);color:var(--blue);border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800;white-space:nowrap}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.overview-grid{margin-bottom:16px}.card{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:22px;box-shadow:0 10px 28px rgba(30,50,80,.07);margin-bottom:16px}.action{display:flex;gap:16px;color:inherit;text-decoration:none}.action:hover{border-color:#9fb9df}.action h2,.card h2{margin:0 0 7px}.action strong{color:var(--blue)}.icon{font-size:30px}.head,.previewHead,.save{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.form-grid label{display:grid;gap:7px;font-size:13px;font-weight:750;color:#344054}.form-grid input,.form-grid select,textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:11px 12px;background:#fafbfc;color:var(--text);font:inherit}.form-grid input[readonly]{background:#f2f4f7;color:#667085}.replace-field{align-content:start}.checkline{display:flex;align-items:flex-start;gap:8px;min-height:42px;padding:9px 10px;border:1px solid var(--border);border-radius:12px;background:#fafbfc;font-weight:600;line-height:1.35}.checkline input{width:auto;margin-top:2px}.replace-field small{color:var(--muted);font-weight:500;line-height:1.35}.notice{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:var(--soft);color:#24446f;line-height:1.45}.notice.error{background:#fee2e2;color:#991b1b}.small{font-size:12px;color:var(--muted)}.group-preview{border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-top:10px}.group-preview-title{padding:9px 12px;background:#f8fafc;font-size:12px;font-weight:800;color:var(--muted)}.group-preview-row{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:8px 12px;border-top:1px solid var(--border);font-size:12px}.group-preview-row.active{background:var(--soft)}.paste-card textarea{min-height:210px;margin-top:16px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;line-height:1.45}.aliases{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.aliases span,.summary-badges span{padding:6px 9px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px}.aliases b{color:var(--text)}.btn{border:1px solid var(--border);border-radius:11px;padding:11px 14px;font:inherit;font-weight:750;cursor:pointer}.btn:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.secondary{background:#fff;color:var(--text)}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.left-actions{justify-content:flex-start}.summary-badges{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.table{overflow:auto;margin-top:12px;border:1px solid var(--border);border-radius:12px;max-height:520px}table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--border);font-size:13px;white-space:nowrap}th{position:sticky;top:0;background:#f8fafc;z-index:1}tr.entry td{background:var(--ok-soft)}tr.error td{background:#fff0f0;color:#991b1b}.preview-hint{font-weight:650}.save{margin-top:14px;align-items:center}.save p{margin:0;max-width:700px}.muted{margin-top:16px}.dialog{width:min(590px,calc(100vw - 32px));padding:22px}.dialog h2{margin-top:0}.check{display:flex;gap:10px;padding:12px;background:var(--soft);border-radius:10px}.check input{margin-top:3px}dialog{border:0;border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.25)}dialog::backdrop{background:rgba(15,23,42,.45)}@media(max-width:900px){.form-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.grid,.form-grid{grid-template-columns:1fr}.top,.head,.previewHead,.save{align-items:stretch;flex-direction:column}.pill{align-self:flex-start}.group-preview-row{grid-template-columns:75px 1fr}.actions{flex-wrap:wrap}.btn{width:100%}}

/* SETO 1.0.52 – H-02 Mobile/Responsive */
@media(max-width:560px){
  .shell{padding:18px 10px 42px}
  .card{padding:16px;border-radius:16px}
  .top h1{font-size:1.65rem}
  .action{gap:10px}
  .icon{font-size:24px}
  .group-preview-row{grid-template-columns:1fr;gap:4px}
  .table{max-width:100%;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .dialog{width:calc(100vw - 20px);padding:16px}
  .paste-card textarea{min-height:160px;font-size:16px}
  .form-grid input,.form-grid select,textarea{font-size:16px}
}

/* SETO 1.0.56 – VDN-Importer: direkte Dateirückmeldung */
.status-pills{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.parser-ok{background:#eaf8f1;color:#116a49}
.parser-warn{background:#fff4d6;color:#7a5400}
.parser-bad{background:#fee2e2;color:#991b1b}
.notice.ok{background:#eaf8f1;color:#116a49}
.notice.warning{background:#fff4d6;color:#7a5400}
.notice.working{background:#eef4ff;color:#24446f}
.file-feedback{margin-top:12px;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff}
.file-feedback-head{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:11px 13px;background:#f8fafc;border-bottom:1px solid var(--border)}
.file-feedback-head progress{width:min(260px,45%);height:9px}
.file-feedback-rows{display:grid}
.file-feedback-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:11px 13px;border-top:1px solid #edf0f4;align-items:start}
.file-feedback-row:first-child{border-top:0}
.file-feedback-row>div{display:grid;gap:2px;min-width:0}
.file-feedback-row strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-feedback-row span{font-size:12px;font-weight:750;color:#475467}
.file-feedback-row small{font-size:12px;color:var(--muted);line-height:1.35;overflow-wrap:anywhere}
.file-feedback-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#f2f4f7;color:#475467;font-weight:900}
.file-feedback-row.working .file-feedback-icon{background:#eaf1fb;color:var(--blue)}
.file-feedback-row.ok .file-feedback-icon{background:#eaf8f1;color:#137a55}
.file-feedback-row.warning .file-feedback-icon{background:#fff4d6;color:#7a5400}
.file-feedback-row.error .file-feedback-icon{background:#fee2e2;color:#991b1b}
@media(max-width:760px){.status-pills{justify-content:flex-start}.file-feedback-head{align-items:stretch;flex-direction:column}.file-feedback-head progress{width:100%}}

/* SETO 1.0.57 – Urlaubsimport: direkte Rückmeldung und Konfliktschutz */
.vacation-live{margin:14px 0 0;padding:13px 14px;border:1px solid var(--border);border-radius:14px;background:#f8fafc}
.vacation-live-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.vacation-live p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
tr.protected td{background:#fff8e7;color:#7a5400}
@media(max-width:760px){.vacation-live-head{align-items:flex-start;flex-direction:column}}

/* SETO 1.0.58 – Feedback: vollständige Lesbarkeit im Dunkelmodus */
:root[data-theme="dark"] body.seto-import-page{
  --blue:#cfe6fa;--soft:#152c45;--ok-soft:#183b27;--danger:#ff9a92;--ok:#7de2a4;
}
:root[data-theme="dark"] body.seto-import-page .form-grid label,
:root[data-theme="dark"] body.seto-import-page .file-feedback-row span{color:var(--seto-text)!important}
:root[data-theme="dark"] body.seto-import-page .form-grid input,
:root[data-theme="dark"] body.seto-import-page .form-grid select,
:root[data-theme="dark"] body.seto-import-page textarea,
:root[data-theme="dark"] body.seto-import-page .checkline,
:root[data-theme="dark"] body.seto-import-page .group-preview-title,
:root[data-theme="dark"] body.seto-import-page .aliases span,
:root[data-theme="dark"] body.seto-import-page .summary-badges span,
:root[data-theme="dark"] body.seto-import-page .secondary,
:root[data-theme="dark"] body.seto-import-page th,
:root[data-theme="dark"] body.seto-import-page .file-feedback,
:root[data-theme="dark"] body.seto-import-page .file-feedback-head,
:root[data-theme="dark"] body.seto-import-page .vacation-live,
:root[data-theme="dark"] body.seto-import-page dialog{
  background:var(--seto-card-2)!important;color:var(--seto-text)!important;border-color:var(--seto-border)!important;
}
:root[data-theme="dark"] body.seto-import-page .form-grid input[readonly]{background:#252b38!important;color:var(--seto-muted)!important}
:root[data-theme="dark"] body.seto-import-page .group-preview-row,
:root[data-theme="dark"] body.seto-import-page th,
:root[data-theme="dark"] body.seto-import-page td{border-color:var(--seto-border)!important}
:root[data-theme="dark"] body.seto-import-page .file-feedback-icon{background:#303746;color:#d7dae2}
:root[data-theme="dark"] body.seto-import-page .parser-ok,
:root[data-theme="dark"] body.seto-import-page .notice.ok,
:root[data-theme="dark"] body.seto-import-page .file-feedback-row.ok .file-feedback-icon{background:#183b27!important;color:#8ce5aa!important}
:root[data-theme="dark"] body.seto-import-page .parser-warn,
:root[data-theme="dark"] body.seto-import-page .notice.warning,
:root[data-theme="dark"] body.seto-import-page .file-feedback-row.warning .file-feedback-icon{background:#453819!important;color:#f2cf79!important}
:root[data-theme="dark"] body.seto-import-page .parser-bad,
:root[data-theme="dark"] body.seto-import-page .notice.error,
:root[data-theme="dark"] body.seto-import-page .file-feedback-row.error .file-feedback-icon{background:#4a2423!important;color:#ffaaa4!important}
:root[data-theme="dark"] body.seto-import-page .notice.working{background:#17324f!important;color:#b9d9ff!important}
:root[data-theme="dark"] body.seto-import-page tr.protected td{background:#453819!important;color:#f2cf79!important}
:root[data-theme="dark"] body.seto-import-page tr.error td{background:#4a2423!important;color:#ffaaa4!important}

/* SETO 1.0.59 – VDN PDF/JSON Import: Drag & Drop, Ordner und Auto-Import */
body.seto-import-page .compact-privacy,
body.seto-import-page .vdn-section-head,
body.seto-import-page #localCard .section-head{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
body.seto-import-page .compact-privacy h2,
body.seto-import-page .vdn-section-head h2{margin-bottom:4px}
body.seto-import-page .compact-privacy p,
body.seto-import-page .vdn-section-head p{margin:0}
body.seto-import-page .auto-start-badge{
  flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#eaf8f1;color:#116a49;font-size:12px;font-weight:850;white-space:nowrap;
}
body.seto-import-page .vdn-drop-zone{
  margin-top:16px;min-height:245px;border:2px dashed #aebbd0;border-radius:20px;background:linear-gradient(180deg,#fbfdff,#f6f9fd);display:grid;place-items:center;align-content:center;text-align:center;padding:28px 22px;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
}
body.seto-import-page .vdn-drop-zone.is-dragging{
  border-color:var(--blue);background:#eef4ff;box-shadow:0 0 0 5px rgba(36,87,167,.09);transform:translateY(-1px);
}
body.seto-import-page .vdn-drop-icon{
  display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--soft);color:var(--blue);font-size:32px;font-weight:900;margin-bottom:12px;
}
body.seto-import-page .vdn-drop-copy{display:grid;gap:5px;max-width:580px}
body.seto-import-page .vdn-drop-copy strong{font-size:1.22rem}
body.seto-import-page .vdn-drop-copy span{color:var(--muted);font-size:14px;line-height:1.45}
body.seto-import-page .vdn-drop-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
body.seto-import-page .vdn-import-options{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:14px;margin-top:14px;
}
body.seto-import-page .password-field,
body.seto-import-page .json-option{
  border:1px solid var(--border);border-radius:14px;background:#fafbfc;padding:13px 14px;
}
body.seto-import-page .password-field label{display:block;font-size:13px;font-weight:800;color:#344054;margin-bottom:7px}
body.seto-import-page .password-field label span{font-weight:600;color:var(--muted)}
body.seto-import-page .password-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
body.seto-import-page .password-actions input{
  min-width:0;width:100%;border:1px solid var(--border);border-radius:11px;padding:10px 11px;background:#fff;color:var(--text);font:inherit;
}
body.seto-import-page .password-field small{display:block;margin-top:6px;color:var(--muted);line-height:1.35}
body.seto-import-page .json-option{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
body.seto-import-page .json-option input{width:18px;height:18px;flex:0 0 auto;margin-top:2px}
body.seto-import-page .json-option span{display:grid;gap:3px}
body.seto-import-page .json-option strong{font-size:13px}
body.seto-import-page .json-option small{font-size:12px;color:var(--muted);line-height:1.35}
body.seto-import-page .local-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.seto-import-page .save-box{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid var(--border);
}
body.seto-import-page .save-box>div{margin-right:auto;min-width:min(100%,320px)}
body.seto-import-page .save-box p{margin:3px 0 0}
body.seto-import-page .linkbtn{text-decoration:none}
body.seto-import-page .danger-ghost{background:#fff;color:#991b1b;border-color:#f1b6b1}
body.seto-import-page .dialog-card{padding:22px;min-width:min(520px,calc(100vw - 48px))}
body.seto-import-page .dialog-card h2{margin-top:0}
body.seto-import-page .confirm-check{display:flex;gap:10px;padding:12px;border-radius:12px;background:var(--soft);margin:14px 0}
body.seto-import-page .confirm-check input{margin-top:3px}
body.seto-import-page .dialog-actions{display:flex;justify-content:flex-end;gap:8px}
body.seto-import-page .table-wrap{overflow:auto;-webkit-overflow-scrolling:touch}

:root[data-theme="dark"] body.seto-import-page .vdn-drop-zone{
  background:linear-gradient(180deg,#202632,#1b212c);border-color:#505b6e;color:var(--seto-text);
}
:root[data-theme="dark"] body.seto-import-page .vdn-drop-zone.is-dragging{
  background:#202f47;border-color:#9bbcff;box-shadow:0 0 0 5px rgba(155,188,255,.08);
}
:root[data-theme="dark"] body.seto-import-page .password-field,
:root[data-theme="dark"] body.seto-import-page .json-option,
:root[data-theme="dark"] body.seto-import-page .password-actions input{
  background:var(--seto-card-2)!important;color:var(--seto-text)!important;border-color:var(--seto-border)!important;
}
:root[data-theme="dark"] body.seto-import-page .password-field label{color:var(--seto-text)!important}
:root[data-theme="dark"] body.seto-import-page .danger-ghost{background:var(--seto-card-2)!important;color:#ffaaa4!important;border-color:#74413f!important}
:root[data-theme="dark"] body.seto-import-page .auto-start-badge{background:#183b27;color:#8ce5aa}

@media(max-width:760px){
  body.seto-import-page .compact-privacy,
  body.seto-import-page .vdn-section-head,
  body.seto-import-page #localCard .section-head{align-items:stretch;flex-direction:column}
  body.seto-import-page .auto-start-badge{align-self:flex-start}
  body.seto-import-page .vdn-import-options{grid-template-columns:1fr}
  body.seto-import-page .vdn-drop-zone{min-height:220px;padding:24px 14px}
  body.seto-import-page .vdn-drop-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  body.seto-import-page .vdn-drop-actions .btn{width:100%}
  body.seto-import-page .local-actions{justify-content:flex-start}
  body.seto-import-page .save-box{align-items:stretch;flex-direction:column}
  body.seto-import-page .save-box>div{margin-right:0}
  body.seto-import-page .save-box .btn{width:100%}
}
@media(max-width:520px){
  body.seto-import-page .vdn-drop-actions{grid-template-columns:1fr}
  body.seto-import-page .password-actions{grid-template-columns:1fr}
  body.seto-import-page .password-actions .btn{width:100%}
}

body.seto-import-page .stored-vdn-card .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
body.seto-import-page .stored-vdn-card .local-actions{display:flex;gap:10px;flex-wrap:wrap}
body.seto-import-page .stored-vdn-note{margin:.6rem 0 0;color:var(--muted,#667085);font-size:.92rem}


/* SETO 1.0.69 – anonymisierte Parserhilfe */
.parser-help-card{margin-top:14px;padding:18px;border:1px solid color-mix(in srgb,var(--blue) 25%,var(--border));border-radius:14px;background:color-mix(in srgb,var(--blue) 3%,#fff)}
.parser-help-card h3{margin:0 0 5px}.parser-help-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.parser-help-preview{max-height:300px;overflow:auto;margin:12px 0;padding:12px;border:1px solid var(--border);border-radius:10px;background:#f8fafc;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}
:root[data-theme="dark"] .parser-help-card,:root[data-theme="dark"] .parser-help-preview{background:var(--seto-card);color:var(--seto-text)}

/* SETO 1.0.70 – geführter Einrichtungsassistent */
.setup-shell{max-width:1120px}.setup-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:0 0 16px}.setup-progress button{appearance:none;border:1px solid var(--border);background:var(--card);color:var(--muted);border-radius:12px;padding:9px 8px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:700;cursor:default}.setup-progress button span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--muted);font-size:12px}.setup-progress button.active{border-color:var(--accent);color:var(--text);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,transparent)}.setup-progress button.active span,.setup-progress button.done span{background:var(--accent);color:#fff}.setup-progress button.done{color:var(--text)}
.setup-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.setup-choice{position:relative;display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:3px;align-items:start;border:1px solid var(--border);border-radius:14px;padding:16px;background:var(--card);cursor:pointer;min-height:116px}.setup-choice:hover{border-color:color-mix(in srgb,var(--accent) 50%,var(--border))}.setup-choice:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,transparent);background:color-mix(in srgb,var(--accent) 4%,var(--card))}.setup-choice input{position:absolute;right:14px;top:14px}.setup-choice .choice-icon{grid-row:1/3;font-size:26px}.setup-choice strong{font-size:16px;padding-right:30px}.setup-choice small{color:var(--muted);line-height:1.45}.setup-choice.recommended::after{content:"empfohlen";position:absolute;right:13px;bottom:11px;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--accent);font-weight:800}
.setup-actions-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:18px}.setup-subcard{border:1px solid var(--border);border-radius:12px;padding:14px;margin-top:12px;background:var(--soft)}.setup-subcard>strong{display:block;margin-bottom:8px}.local-storage-state{display:flex;align-items:center;justify-content:space-between;gap:16px}.local-storage-state p{margin:4px 0 0;color:var(--muted);font-size:12px}.mini-note{color:var(--muted);font-size:12px;line-height:1.5;margin:7px 0}.required-note{margin-top:-4px}.setup-vdn-panel{margin-bottom:18px}.compact-drop{min-height:150px}.setup-password{max-width:430px;margin-top:12px}.setup-password label{display:block;font-weight:700;margin-bottom:6px}.setup-password label span{font-weight:500;color:var(--muted)}.setup-password input{width:100%}.setup-fields h3{margin:18px 0 4px}.setup-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-personal-details{margin-top:20px;border-top:1px solid var(--border);padding-top:14px}.setup-personal-details summary{font-weight:800;cursor:pointer}.setup-personal-details[open] summary{margin-bottom:4px}
.setup-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.setup-review-card{border:1px solid var(--border);border-radius:13px;padding:14px;background:var(--card)}.setup-review-card h3{margin:0 0 10px}.setup-review-card dl{display:grid;grid-template-columns:auto 1fr;gap:6px 10px;margin:0;font-size:12px}.setup-review-card dt{color:var(--muted)}.setup-review-card dd{margin:0;font-weight:700;text-align:right}.setup-review-card p{font-size:12px;line-height:1.55;color:var(--muted)}.storage-badge{display:inline-flex;border:1px solid var(--border);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.setup-learning-card{border:1px solid var(--border);border-radius:14px;padding:15px;margin-top:16px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 4%,var(--card)),var(--card))}.setup-learning-card h3{margin:0 0 5px}.setup-learning-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.setup-finished{text-align:center;padding:34px}.finished-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#e7f7ee;color:#16803c;font-size:30px;font-weight:900}.setup-finished h2{margin-bottom:7px}.setup-finished>p{color:var(--muted);max-width:700px;margin:0 auto 18px}.setup-finished-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:20px}.setup-finished-facts span{border:1px solid var(--border);border-radius:999px;padding:7px 10px;background:var(--soft);font-size:12px}.setup-finish-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
@media(max-width:820px){.setup-progress{grid-template-columns:repeat(5,44px);justify-content:space-between}.setup-progress button{font-size:0;padding:7px}.setup-progress button span{font-size:12px}.setup-choice-grid,.setup-review-grid{grid-template-columns:1fr}.setup-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.local-storage-state{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.setup-form-grid{grid-template-columns:1fr}.setup-actions-row{align-items:stretch}.setup-actions-row .btn{flex:1}.setup-progress{gap:4px}}


/* SETO 1.0.88 – VDN Excel-/JSON-Exporter */
.export-shell{max-width:1180px}.export-privacy-card{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.export-privacy-card h2{margin-top:0}.export-privacy-card p{margin-bottom:0;line-height:1.55}.export-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}.export-source-card{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start}.export-source-card>.icon{font-size:30px}.export-source-card h2{margin:0 0 5px}.export-source-card p{margin:0 0 14px;color:var(--muted);line-height:1.45}.export-file-row{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}.export-password{min-width:min(100%,360px);display:grid;gap:6px;font-weight:700}.export-password span{font-weight:500;color:var(--muted)}.export-password input{width:100%;border:1px solid var(--border);border-radius:11px;padding:10px 11px;background:#fff;color:var(--text);font:inherit}.export-selected-files{margin-top:12px;padding:10px 12px;border:1px dashed var(--border);border-radius:11px;background:var(--soft);color:var(--muted);font-size:12px;overflow-wrap:anywhere}.export-result-card .table-wrap{max-height:520px}.export-sheet-info{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.export-sheet-info strong{margin-right:4px}.export-sheet-info span{border:1px solid var(--border);border-radius:999px;padding:5px 9px;background:var(--soft);font-size:11px;font-weight:700}.export-result-card .summary-badges{margin:12px 0}.export-result-card .summary-badges span{display:inline-flex;margin:0 6px 6px 0;border:1px solid var(--border);border-radius:999px;padding:5px 9px;background:var(--soft);font-size:11px;font-weight:700}
:root[data-theme="dark"] .export-password input{background:var(--seto-card-2)!important;color:var(--seto-text)!important;border-color:var(--seto-border)!important}
@media(max-width:760px){.export-source-grid{grid-template-columns:1fr}.export-privacy-card{flex-direction:column}.export-result-card .section-head{align-items:stretch;flex-direction:column}.export-result-card .local-actions{justify-content:flex-start}.export-result-card .local-actions .btn{flex:1}.export-file-row{align-items:stretch;flex-direction:column}.export-file-row .local-actions{width:100%}.export-file-row .local-actions .btn{flex:1}}

/* SETO 1.1.09 – öffentlicher VDN→Excel-Konverter und echter Datenexport */
.export-public-hero,.export-account-card .section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}.export-public-hero h2,.export-account-card h2{margin:.25rem 0 .4rem}.export-public-hero p,.export-account-card p{margin:0;color:var(--muted);line-height:1.5}.export-kicker{display:inline-block;font-size:11px;letter-spacing:.08em;font-weight:900;color:#2f75b5}.export-consent-check{display:flex;gap:11px;align-items:flex-start;min-width:min(100%,360px);padding:13px 14px;border:1px solid var(--border);border-radius:13px;background:var(--soft);cursor:pointer}.export-consent-check input,.export-check-option input{width:19px;height:19px;flex:0 0 auto;margin-top:2px}.export-consent-check span,.export-check-option span{display:grid;gap:3px}.export-consent-check small,.export-check-option small{color:var(--muted);line-height:1.35}.export-converter-actions{display:grid;grid-template-columns:auto minmax(260px,1fr);gap:14px;align-items:end}.export-converter-actions .btn{align-self:end}.export-options-grid{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(300px,1.2fr);gap:14px;margin:14px 0}.export-options-grid>label:not(.export-check-option){display:grid;gap:7px;font-weight:750}.export-options-grid select,.export-year-row input{width:100%;border:1px solid var(--border);border-radius:11px;padding:10px 11px;background:#fff;color:var(--text);font:inherit}.export-check-option{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border:1px solid var(--border);border-radius:11px;background:var(--soft);cursor:pointer}.export-local-buttons{justify-content:flex-start;margin-top:8px}.export-file-names{margin-top:5px;color:var(--muted);line-height:1.45}.export-file-list{display:grid;gap:7px}.export-file-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:#fff}.export-file-item>div{display:grid;gap:3px;min-width:0}.export-file-item strong,.export-file-item small{overflow-wrap:anywhere}.export-file-item small{color:var(--muted)}.export-file-item>span{flex:0 0 auto;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:var(--soft)}.export-file-item.match>span{background:#e9f8ef;color:#166534}.export-file-item.warning>span{background:#fff7df;color:#92400e}.export-file-item.conflict>span,.export-file-item.error>span{background:#feeceb;color:#991b1b}.export-selection-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.export-selection-grid fieldset{border:1px solid var(--border);border-radius:13px;padding:14px;margin:0;background:var(--soft)}.export-selection-grid legend{font-weight:850;padding:0 6px}.export-selection-grid fieldset>label{display:flex;gap:8px;align-items:flex-start;margin:8px 0}.export-selection-grid fieldset>label input[type="checkbox"]{margin-top:2px}.export-year-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.export-year-row label{display:grid;gap:6px;font-size:12px;font-weight:750}.export-seto-actions{justify-content:flex-start;margin-top:14px}
:root[data-theme="dark"] .export-options-grid select,:root[data-theme="dark"] .export-year-row input,:root[data-theme="dark"] .export-file-item{background:var(--seto-card-2)!important;color:var(--seto-text)!important;border-color:var(--seto-border)!important}
@media(max-width:760px){.export-converter-actions,.export-options-grid,.export-selection-grid{grid-template-columns:1fr}.export-year-row{grid-template-columns:1fr 1fr}.export-public-hero{flex-direction:column}.export-consent-check{min-width:0;width:100%}.export-file-item{flex-direction:column}.export-file-item>span{align-self:flex-start}}
@media(max-width:460px){.export-year-row{grid-template-columns:1fr}}

/* VDN→Excel GUI refresh – klare 4-Schritt-Führung, Funktionslogik unverändert */
.export-page-head{margin-bottom:14px}.export-page-head .export-kicker{margin-top:13px}.export-page-head h1{margin:4px 0 6px}.export-workflow-card{padding:20px 22px 22px;border-color:#cfd8e6}.export-workflow-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.export-workflow-head h2{margin:0 0 4px}.export-workflow-head p{margin:0}.export-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 14px}.export-step{display:flex;align-items:center;gap:9px;padding:10px 11px;border:1px solid var(--border);border-radius:12px;background:#f8fafc;color:var(--muted);min-width:0}.export-step>span{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:50%;background:#e7ebf1;color:#475467;font-weight:900;font-size:12px}.export-step>div{display:grid;gap:1px;min-width:0}.export-step strong{font-size:12px;color:inherit}.export-step small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.export-step.is-current{border-color:#8eadd6;background:#edf4ff;color:#2457a7}.export-step.is-current>span{background:#2457a7;color:#fff}.export-step.is-done{border-color:#a9d8c3;background:#effaf4;color:#137a55}.export-step.is-done>span{background:#137a55;color:#fff}.export-workflow-main{display:grid;gap:10px}.export-workflow-block{border:1px solid var(--border);border-radius:14px;padding:14px 15px;background:#fff}.workflow-block-title{display:flex;align-items:flex-start;gap:10px;margin-bottom:11px}.workflow-block-title>div{display:grid;gap:2px}.workflow-block-title strong{font-size:14px}.workflow-block-title small{color:var(--muted);line-height:1.35}.workflow-number{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:50%;background:var(--blue);color:#fff;font-size:12px;font-weight:900}.export-consent-compact{min-width:0;width:100%;background:#f7faff}.export-consent-compact:has(input:checked){border-color:#9fd2ba;background:#f0faf5}.export-privacy-details{margin-top:8px;color:var(--muted);font-size:12px}.export-privacy-details summary,.export-advanced-options summary,.export-preview-details summary{cursor:pointer;font-weight:750;color:#475467}.export-privacy-details p{margin:8px 0 5px;font-size:12px}.export-primary-choice{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.export-choice-btn{min-height:46px;padding:12px 18px}.export-choice-or{font-size:12px;color:var(--muted);font-weight:700}.export-selection-count{margin-left:auto}.export-selected-files-main{max-height:160px;overflow:auto;margin-top:10px;background:#f8fafc}.export-main-action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.export-main-action{min-height:50px;padding:13px 22px;font-size:15px;box-shadow:0 6px 16px rgba(36,87,167,.18)}.export-clear-action{margin-left:auto}.export-advanced-options{margin-top:12px;border:1px solid var(--border);border-radius:13px;padding:11px 13px;background:#f8fafc}.export-advanced-options[open]{padding-bottom:14px}.export-options-help{margin:8px 0 0!important;font-size:12px}.export-options-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0}.export-raw-option{grid-column:1/-1}.export-top-status{margin-top:12px}.export-ready-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.export-ready-head h2{margin:3px 0 4px}.export-ready-head p{margin:0}.export-download-btn{min-height:52px;padding:14px 24px;font-size:16px;white-space:nowrap;box-shadow:0 8px 20px rgba(36,87,167,.22)}.export-preview-details{margin-top:12px;border-top:1px solid var(--border);padding-top:12px}.export-preview-details .table-wrap{margin-top:12px}.export-secondary-area{padding:0;overflow:hidden;box-shadow:none;background:transparent}.export-secondary-area>details{background:var(--card)}.export-secondary-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;cursor:pointer;list-style:none}.export-secondary-summary::-webkit-details-marker{display:none}.export-secondary-summary>span:first-child{display:grid;gap:2px}.export-secondary-summary small{color:var(--muted);font-weight:500}.export-secondary-content{border-top:1px solid var(--border);padding:20px}.export-secondary-content .section-head{margin-bottom:4px}
:root[data-theme="dark"] .export-step,:root[data-theme="dark"] .export-workflow-block,:root[data-theme="dark"] .export-selected-files-main,:root[data-theme="dark"] .export-advanced-options{background:var(--seto-card-2)!important;border-color:var(--seto-border)!important}:root[data-theme="dark"] .export-step.is-current{background:#17324f!important}:root[data-theme="dark"] .export-step.is-done{background:#17372c!important}
@media(max-width:820px){.export-stepper{grid-template-columns:1fr 1fr}.export-ready-head{align-items:stretch;flex-direction:column}.export-download-btn{width:100%}.export-selection-count{margin-left:0}.export-options-grid-clean{grid-template-columns:1fr}.export-raw-option{grid-column:auto}}
@media(max-width:560px){.export-stepper{grid-template-columns:1fr}.export-primary-choice{align-items:stretch;flex-direction:column}.export-choice-btn{width:100%}.export-choice-or{align-self:center}.export-selection-count{align-self:flex-start}.export-main-action-row{align-items:stretch;flex-direction:column}.export-main-action,.export-clear-action{width:100%;margin-left:0}.export-secondary-summary{align-items:flex-start;flex-direction:column}.export-workflow-card{padding:16px}.export-workflow-head{align-items:stretch;flex-direction:column}}

/* VDN→Excel GUI – Dropzone, Sperrgrund und automatische Prüfung */
.export-selection-gate{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px;padding:10px 12px;border:1px solid #f1cf86;border-radius:11px;background:#fff8e6;color:#7c4a03;font-size:12px;line-height:1.4}.export-selection-gate[hidden]{display:none}.export-selection-gate strong{white-space:nowrap}.export-selection-gate span{color:inherit}.export-drop-zone{display:grid;place-items:center;gap:9px;padding:22px 18px;border:2px dashed #9fb4d2;border-radius:16px;background:#f7faff;text-align:center;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease,opacity .16s ease}.export-drop-zone:hover:not(.is-locked),.export-drop-zone:focus-visible:not(.is-locked){border-color:#4f78b5;background:#eef5ff;outline:none}.export-drop-zone.is-dragover{border-color:#2457a7;background:#e9f2ff;transform:translateY(-1px)}.export-drop-zone.is-locked{cursor:not-allowed;opacity:.62;background:#f5f6f8;border-color:#cbd2dc}.export-drop-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e8f0fb;color:#2457a7;font-size:26px;font-weight:800;line-height:1}.export-drop-zone.is-locked .export-drop-icon{background:#e8eaee;color:#526174}.export-drop-copy{display:grid;gap:4px;max-width:680px}.export-drop-copy strong{font-size:16px}.export-drop-copy span{font-size:12px;color:var(--muted);line-height:1.45}.export-drop-zone .export-primary-choice{justify-content:center}.export-auto-note{color:#2457a7;font-weight:750}.export-selection-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.export-auto-parse-block{transition:border-color .16s ease,background .16s ease}.export-auto-parse-state{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:750;color:var(--muted)}.export-auto-dot{width:10px;height:10px;border-radius:50%;background:#a7b0bd;flex:0 0 auto}.export-auto-parse-block.is-running{border-color:#9bbbe6;background:#f2f7ff}.export-auto-parse-block.is-running .export-auto-dot{background:#2457a7;box-shadow:0 0 0 5px rgba(36,87,167,.12);animation:setoAutoPulse 1s ease-in-out infinite}.export-auto-parse-block.is-ready{border-color:#a9d8c3;background:#f0faf5}.export-auto-parse-block.is-ready .export-auto-dot{background:#137a55}@keyframes setoAutoPulse{50%{transform:scale(.75);opacity:.65}}
:root[data-theme="dark"] .export-selection-gate{background:#3a2c12;color:#ffd88a;border-color:#725724}:root[data-theme="dark"] .export-drop-zone{background:var(--seto-card-2)!important;border-color:#52657e}:root[data-theme="dark"] .export-drop-zone:hover:not(.is-locked),:root[data-theme="dark"] .export-drop-zone.is-dragover{background:#17324f!important;border-color:#6f9bd2}:root[data-theme="dark"] .export-drop-zone.is-locked{background:#20242d!important;border-color:#444b57}:root[data-theme="dark"] .export-auto-parse-block.is-running{background:#17324f!important}:root[data-theme="dark"] .export-auto-parse-block.is-ready{background:#17372c!important}
@media(max-width:560px){.export-selection-meta{align-items:stretch;flex-direction:column}.export-selection-meta .export-clear-action{width:100%}.export-drop-zone{padding:18px 13px}.export-drop-zone .export-primary-choice{width:100%}}

/* SETO 1.1.45 – Feedback #54: klarer Import-Flow */
.import-flow-intro{display:flex;align-items:center;justify-content:space-between;gap:16px}
.advanced-panel{overflow:hidden}
.advanced-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0;font-weight:800}
.advanced-panel>summary::-webkit-details-marker{display:none}
.advanced-panel>summary span:first-child{display:grid;gap:3px}
.advanced-panel>summary small{font-weight:500;color:var(--muted,#6b7280)}
.advanced-chevron{font-size:20px;transition:transform .18s ease}
.advanced-panel[open] .advanced-chevron{transform:rotate(180deg)}
.advanced-content{padding-top:16px}
.import-options-panel{margin-top:12px;padding:12px 14px;border:1px solid var(--border,#d9dde5);border-radius:14px;background:var(--surface,#fff)}
.vdn-import-card .vdn-section-head{margin-bottom:12px}
.vdn-drop-zone{min-height:210px}
.vdn-drop-copy strong{font-size:1.1rem}
@media(max-width:700px){.import-flow-intro{align-items:flex-start;flex-direction:column}.vdn-drop-actions{width:100%}.vdn-drop-actions .btn{flex:1}}


/* SETO 1.1.93 – Daten-Importer im Analyse-Design */
:root{--import-navy:#17365d;--import-blue:#2f75b5;--import-bg:#f0f2f5;--import-card:#fff;--import-text:#1f2733;--import-muted:#6b7785;--import-border:#dfe5ec;--import-sidebar:238px}
.seto-import-page{background:var(--import-bg);color:var(--import-text)}
.import-layout{width:min(1480px,100%);margin:0 auto;display:grid;grid-template-columns:var(--import-sidebar) minmax(0,1fr);min-height:100vh}
.import-sidebar{padding:22px 14px 26px;position:sticky;top:0;align-self:start;height:100vh;border-right:1px solid var(--import-border);background:rgba(255,255,255,.84);backdrop-filter:blur(18px);z-index:20;overflow:auto}
.import-brand{display:block;margin:0 8px 20px;text-decoration:none;color:var(--import-text)}.import-brand small{display:block;color:var(--import-muted);font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.import-brand strong{display:block;font-size:1.08rem;margin-top:2px}
.import-nav-group{margin:18px 0 0}.import-nav-title{padding:0 10px 6px;color:var(--import-muted);font-size:.65rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.import-sidebar nav{display:grid;gap:4px}.import-sidebar nav a{display:flex;align-items:center;padding:10px 11px;border-radius:11px;text-decoration:none;color:var(--import-text);font-size:.81rem;font-weight:720;border:1px solid transparent}.import-sidebar nav a:hover{background:#f4f7fb}.import-sidebar nav a.active{background:linear-gradient(135deg,#17365d,#2f75b5);color:#fff;box-shadow:0 7px 20px rgba(23,54,93,.16)}.import-sidebar nav a.subtle{color:var(--import-muted);font-weight:650}
.import-content{min-width:0;width:100%;overflow:hidden}.import-content .shell{max-width:1120px;margin:0 auto;padding:24px 22px 56px}.import-mobile-nav{display:none}
.import-hero{margin:0 0 20px;padding:22px 24px;border:1px solid var(--import-border);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(247,249,252,.9));box-shadow:0 12px 32px rgba(23,54,93,.07)}.import-hero h1{font-size:clamp(1.75rem,2.6vw,2.45rem);letter-spacing:-.035em}.import-hero p{max-width:760px;margin-bottom:0}.import-kicker{display:inline-block;color:var(--import-blue);font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.09em}
.import-section-intro{margin:22px 2px 11px}.import-section-intro h2{margin:0;color:var(--import-navy);font-size:1rem}.import-section-intro p{margin:4px 0 0;color:var(--import-muted);font-size:.8rem}
.import-dashboard-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}.import-dashboard-grid>.action{grid-column:span 6;min-width:0;min-height:158px;align-items:flex-start;position:relative;overflow:hidden;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.import-dashboard-grid>.action:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(23,54,93,.11)}.import-dashboard-grid>.import-primary-card{grid-column:span 12;min-height:172px;background:linear-gradient(135deg,#17365d,#2f75b5);color:#fff;border-color:transparent}.import-dashboard-grid>.import-primary-card p,.import-dashboard-grid>.import-primary-card strong{color:rgba(255,255,255,.88)}.import-dashboard-grid>.import-primary-card .icon{background:rgba(255,255,255,.14);color:#fff}.import-dashboard-grid .icon{display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;border-radius:15px;background:#edf4ff;font-size:25px}.import-dashboard-grid .action h2{font-size:1.04rem}.import-dashboard-grid .action p{font-size:.82rem;margin:.35rem 0 .65rem}.import-dashboard-grid .action strong{font-size:.78rem}
.import-work-card{border-radius:18px;box-shadow:0 8px 24px rgba(23,54,93,.055)}.import-work-card>.head h2,.import-work-card .previewHead h2{font-size:1rem;color:var(--import-navy)}.import-work-card>.head p{font-size:.79rem;margin:.25rem 0 0}.import-help-card{padding:0;overflow:hidden}.import-help-card>summary{cursor:pointer;list-style:none;padding:17px 20px;font-weight:800}.import-help-card>summary::-webkit-details-marker{display:none}.import-help-card>summary:after{content:'⌄';float:right;color:var(--import-muted)}.import-help-card[open]>summary:after{transform:rotate(180deg)}.import-help-body{border-top:1px solid var(--import-border);padding:18px 20px}.import-help-body h2{font-size:.95rem}
/* Einrichtung wie Analyse: Intro + ruhige Arbeitskarten */
.setup-welcome-card{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 14px;padding:17px 19px;border:1px solid var(--import-border);border-radius:17px;background:var(--import-card)}.setup-welcome-card strong{font-size:.93rem}.setup-welcome-card p{margin:3px 0 0;color:var(--import-muted);font-size:.78rem;line-height:1.45}.setup-welcome-badge{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#edf4ff;color:#2457a7;font-size:.7rem;font-weight:850}.setup-progress{margin-bottom:14px!important;padding:8px!important;border:1px solid var(--import-border);border-radius:16px;background:var(--import-card);box-shadow:none!important}.setup-progress button{border-radius:11px!important;min-width:0}.setup-progress button.active{background:linear-gradient(135deg,#17365d,#2f75b5)!important;color:#fff!important}.setup-work-card{border-radius:18px!important;box-shadow:0 8px 24px rgba(23,54,93,.055)!important}.setup-step .section-head h2{color:var(--import-navy);font-size:1.05rem}.setup-choice-grid{gap:12px!important}.setup-choice{min-height:152px;border-radius:15px!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.setup-choice:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(23,54,93,.08)}.setup-choice.recommended{border-color:#9bbbe6!important}.setup-choice.recommended:after{content:'Empfohlen';position:absolute;right:12px;top:11px;padding:4px 7px;border-radius:999px;background:#edf4ff;color:#2457a7;font-size:.62rem;font-weight:850}.setup-choice{position:relative}.setup-subcard,.setup-personal-details,.setup-learning-card{border-radius:15px!important}.compact-drop{min-height:190px!important;border-radius:16px!important}.setup-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.setup-actions-row{position:sticky;bottom:10px;z-index:5;margin-top:18px;padding:10px;border:1px solid var(--import-border);border-radius:14px;background:rgba(255,255,255,.88);backdrop-filter:blur(16px)}
@media(max-width:1100px){.import-layout{grid-template-columns:205px minmax(0,1fr)}.setup-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){.import-layout{display:block;min-height:0}.import-sidebar{display:none}.import-mobile-nav{display:block;position:sticky;top:0;z-index:30;padding:8px 12px;background:rgba(240,242,245,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--import-border)}.import-mobile-nav details{max-width:1120px;margin:0 auto}.import-mobile-nav summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid var(--import-border);border-radius:12px;background:var(--import-card);font-size:.82rem;font-weight:800}.import-mobile-nav summary::-webkit-details-marker{display:none}.import-mobile-links{display:grid;gap:5px;margin-top:7px;padding:8px;border:1px solid var(--import-border);border-radius:14px;background:var(--import-card);box-shadow:0 14px 36px rgba(15,23,42,.13)}.import-mobile-links a{text-decoration:none;color:var(--import-text);padding:9px 10px;border-radius:9px;font-size:.8rem;font-weight:700}.import-mobile-links a.active{background:#17365d;color:#fff}.import-content .shell{padding:12px 12px 46px}.import-hero{border-radius:0 0 22px 22px;margin-left:-12px;margin-right:-12px}.import-dashboard-grid>.action,.import-dashboard-grid>.import-primary-card{grid-column:span 12}.setup-welcome-card{align-items:flex-start;flex-direction:column}.setup-progress{overflow:auto;grid-template-columns:repeat(5,minmax(112px,1fr))!important}.setup-actions-row{bottom:8px}}
@media(max-width:560px){.setup-form-grid{grid-template-columns:1fr!important}.import-dashboard-grid>.action{min-height:0}.import-dashboard-grid>.action,.import-dashboard-grid>.import-primary-card{padding:17px}.import-dashboard-grid .icon{width:44px;height:44px;flex-basis:44px;font-size:21px}.import-hero{padding:19px 16px}.setup-choice{min-height:0}.setup-actions-row{align-items:stretch;flex-direction:column}.setup-actions-row>span:empty{display:none}}
:root[data-theme="dark"]{--import-bg:#0f1117;--import-card:#1b202b;--import-text:#f3f6fa;--import-muted:#b7c0cc;--import-border:#303845;--import-navy:#dcecff}.seto-import-page{background:var(--import-bg)!important;color:var(--import-text)!important}:root[data-theme="dark"] .import-sidebar{background:rgba(20,25,34,.89)}:root[data-theme="dark"] .import-sidebar nav a:hover{background:#222936}:root[data-theme="dark"] .import-mobile-nav{background:rgba(15,17,23,.95)}:root[data-theme="dark"] .import-hero{background:linear-gradient(145deg,#1d2430,#171c25);border-color:var(--import-border)}:root[data-theme="dark"] .setup-welcome-card,:root[data-theme="dark"] .setup-progress,:root[data-theme="dark"] .setup-actions-row{background:rgba(27,32,43,.94);border-color:var(--import-border)}:root[data-theme="dark"] .import-dashboard-grid>.action:not(.import-primary-card),:root[data-theme="dark"] .import-work-card,:root[data-theme="dark"] .import-help-card,:root[data-theme="dark"] .setup-work-card{background:#1b202b!important;border-color:#303845!important}:root[data-theme="dark"] .import-dashboard-grid .icon{background:#263246}:root[data-theme="dark"] .setup-welcome-badge,:root[data-theme="dark"] .setup-choice.recommended:after{background:#17324f;color:#b9d8ff}:root[data-theme="dark"] .import-help-body{border-color:#303845}
@media(prefers-color-scheme:dark){html:not([data-theme="light"]){--import-bg:#0f1117;--import-card:#1b202b;--import-text:#f3f6fa;--import-muted:#b7c0cc;--import-border:#303845;--import-navy:#dcecff}}

/* SETO 1.1.126 – freiwillige VDN-Lernfreigabe */
.learning-offer-card{border-color:color-mix(in srgb,var(--accent) 22%,var(--border));background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 4%,var(--card)),var(--card))}.learning-offer-card .section-head{margin-bottom:12px}.learning-dialog{width:min(760px,calc(100vw - 24px));max-height:min(90vh,900px);padding:0;border:0;border-radius:20px;background:transparent}.learning-dialog::backdrop{background:rgba(8,18,32,.48);backdrop-filter:blur(4px)}.learning-dialog-card{width:100%;max-height:90vh;overflow:auto;margin:0;padding:22px;border:1px solid var(--border);border-radius:20px;background:var(--card);color:var(--text);box-shadow:0 28px 80px rgba(10,25,50,.28)}.learning-dialog-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.learning-dialog-head h2{margin:4px 0 7px}.learning-dialog-head p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.5}.dialog-x{appearance:none;border:0;background:var(--soft);color:var(--text);border-radius:10px;width:34px;height:34px;font-size:22px;cursor:pointer}.learning-levels{display:grid;gap:9px;margin:18px 0}.learning-level{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:flex-start;padding:13px 14px;border:1px solid var(--border);border-radius:14px;background:var(--card);cursor:pointer}.learning-level:has(input:checked){border-color:#7ea7db;background:#f3f7fd}.learning-level input{margin-top:3px}.learning-level span{display:grid;gap:4px}.learning-level strong{font-size:.85rem}.learning-level strong small{margin-left:5px;padding:3px 6px;border-radius:999px;background:#e7f0ff;color:#2457a7;font-size:.61rem}.learning-level em{font-style:normal;color:var(--muted);font-size:.73rem;line-height:1.45}.learning-level.disabled{opacity:.58;cursor:not-allowed}.learning-level.none{background:var(--soft)}.learning-summary{display:grid;gap:7px;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--soft);font-size:.78rem}.learning-summary strong{color:var(--text)}.learning-excluded{font-size:.73rem;line-height:1.5;color:var(--muted)}.learning-detail{margin:12px 0;border:1px solid var(--border);border-radius:13px;overflow:hidden}.learning-detail summary{cursor:pointer;padding:11px 13px;font-weight:800;font-size:.78rem}.learning-detail .parser-help-preview{margin:0;border:0;border-top:1px solid var(--border);border-radius:0;max-height:320px}.learning-preference{display:grid;gap:6px;margin:12px 0;color:var(--muted);font-size:.72rem}.learning-preference select{width:100%;padding:9px 10px;border:1px solid var(--border);border-radius:10px;background:var(--card);color:var(--text)}
@media(max-width:620px){.learning-dialog-card{padding:17px;border-radius:16px}.learning-dialog{width:calc(100vw - 12px)}.learning-level{padding:11px}.learning-dialog-head p{font-size:.78rem}}
.setup-learning-levels{grid-template-columns:1fr 1fr}.inline-learning-preference{min-width:220px}.inline-learning-preference small{display:block;margin-top:4px}@media(max-width:700px){.setup-learning-levels{grid-template-columns:1fr}}


/* SETO 1.1.151 – Daten & Import im Login-/Dashboard-Design */
:root{--import-navy:#153454;--import-blue:#2f75b5;--import-bg:#edf1f5;--import-border:#dce3ea;--import-muted:#6d7886}
.seto-import-page{
  background:radial-gradient(720px 340px at 72% -8%,rgba(47,117,181,.10),transparent 62%),linear-gradient(180deg,#f5f7fa,var(--import-bg));
}
.import-sidebar{background:rgba(255,255,255,.91);border-right-color:var(--import-border);box-shadow:8px 0 26px rgba(25,49,72,.035)}
.import-brand{padding:10px 9px 13px;border-bottom:1px solid #e8edf2}
.import-brand small{color:#526174;letter-spacing:.12em}.import-brand strong{color:var(--import-navy);font-size:1.02rem}
.import-sidebar nav a{border-radius:9px;padding:9px 10px}.import-sidebar nav a.active{background:linear-gradient(135deg,#153454,#2f75b5);box-shadow:0 6px 16px rgba(21,52,84,.16)}
.import-content .shell{max-width:1080px;padding-top:18px}
.import-hero{
  position:relative;overflow:hidden;margin-bottom:18px;padding:24px 25px;border:0;border-radius:22px;
  background:radial-gradient(420px 180px at 88% -15%,rgba(255,255,255,.17),transparent 68%),linear-gradient(135deg,#102d4a,#1f527f 56%,#3278b4);
  color:#fff;box-shadow:0 15px 36px rgba(17,50,82,.17);
}
.import-hero h1{margin:8px 0 6px;color:#fff;font-size:clamp(1.7rem,2.5vw,2.25rem)}
.import-hero p{color:rgba(255,255,255,.72)!important;max-width:720px}
.import-hero .back,.import-hero .import-kicker{color:rgba(255,255,255,.78)}
.import-hero .pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.17);color:#fff}
.import-section-intro{margin:22px 3px 10px}.import-section-intro h2{font-size:.96rem}.import-section-intro p{font-size:.76rem}
.import-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}
.import-dashboard-grid>.action,
.import-dashboard-grid>.import-primary-card{
  grid-column:auto;min-height:178px;margin:0;padding:18px;border:1px solid var(--import-border);border-radius:16px;background:#fff;color:var(--import-text);
  box-shadow:0 7px 22px rgba(24,54,83,.055);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.import-dashboard-grid>.action:hover{transform:translateY(-2px);border-color:#abc5df;box-shadow:0 12px 28px rgba(24,54,83,.09)}
.import-dashboard-grid>.import-primary-card{border-top:3px solid #2f75b5;background:linear-gradient(145deg,#fff,#f6faff)}
.import-dashboard-grid>.import-primary-card p,.import-dashboard-grid>.import-primary-card strong{color:inherit}
.import-dashboard-grid>.action>div{display:flex;min-width:0;height:100%;flex-direction:column;align-items:flex-start}
.import-dashboard-grid .icon{
  width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eaf3fb;color:#245d8d;font-size:12px;font-weight:900;letter-spacing:.06em;
}
.import-dashboard-grid>.import-primary-card .icon{background:#1f5f94;color:#fff}
.import-card-badge{display:inline-flex;align-items:center;min-height:22px;margin-bottom:7px;padding:0 8px;border-radius:999px;background:#f0f4f8;color:#526174;font-size:.62rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.import-dashboard-grid>.import-primary-card .import-card-badge{background:#e7f1fb;color:#245d8d}
.import-dashboard-grid .action h2{margin:0;color:var(--import-navy);font-size:1rem;letter-spacing:-.015em}
.import-dashboard-grid .action p{margin:.35rem 0 .8rem;color:var(--import-muted);font-size:.78rem;line-height:1.48}
.import-dashboard-grid .action strong{margin-top:auto;color:#2b6598;font-size:.73rem}
.card,.import-work-card,.setup-work-card,.stored-vdn-card,.learning-offer-card{border-color:var(--import-border);box-shadow:0 6px 20px rgba(24,54,83,.045)}
.import-flow-intro{border-radius:15px;background:#fff}
.vdn-import-card{border-top:3px solid #d8e7f4}
.vdn-drop-zone{border-radius:16px!important;background:linear-gradient(145deg,#f9fbfd,#eef5fb)!important;border-color:#bed2e5!important}
.vdn-drop-icon{background:#1f5f94!important;color:#fff!important;box-shadow:0 7px 18px rgba(31,95,148,.18)}
.advanced-panel>summary{border-radius:14px}
.setup-welcome-card{box-shadow:0 6px 20px rgba(24,54,83,.045)}
.setup-choice{border-color:var(--import-border)!important;background:#fff!important;box-shadow:none}
.setup-choice:has(input:checked){border-color:#8fb6d9!important;background:linear-gradient(145deg,#fff,#f2f8fd)!important;box-shadow:0 7px 18px rgba(47,117,181,.07)}
.setup-choice .choice-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf3fb}
.btn.primary,.primary{background:linear-gradient(135deg,#1d5688,#2f75b5);border-color:#286aa3;box-shadow:0 5px 12px rgba(47,117,181,.14)}
.btn.secondary,.secondary{background:#fff;border-color:var(--import-border)}
@media(max-width:820px){
  .import-dashboard-grid{grid-template-columns:1fr 1fr}
  .import-dashboard-grid>.action,.import-dashboard-grid>.import-primary-card{grid-column:auto}
  .import-hero{margin-left:-12px;margin-right:-12px;border-radius:0 0 22px 22px}
}
@media(max-width:620px){
  .import-dashboard-grid{grid-template-columns:1fr}
  .import-dashboard-grid>.action,.import-dashboard-grid>.import-primary-card{min-height:0;padding:15px}
  .import-dashboard-grid .icon{width:38px;height:38px;flex-basis:38px;border-radius:10px}
  .import-card-badge{margin-bottom:5px}
}
:root[data-theme="dark"] .import-dashboard-grid>.action,
:root[data-theme="dark"] .import-dashboard-grid>.import-primary-card,
:root[data-theme="dark"] .import-flow-intro,
:root[data-theme="dark"] .setup-choice{background:#1b202b!important;border-color:#303845!important;color:#f3f6fa!important}
:root[data-theme="dark"] .import-dashboard-grid .action h2{color:#dcecff}
:root[data-theme="dark"] .import-dashboard-grid .action p{color:#aeb8c5}
:root[data-theme="dark"] .import-card-badge{background:#273140;color:#b8c7d8}


/* SETO 1.1.155 – ereignisgesteuerte Lernabfrage im Setup */
.setup-learning-dialog{
  width:min(620px,calc(100vw - 28px));
  max-height:min(82vh,760px);
  padding:0;
  border:0;
  border-radius:20px;
  background:transparent;
  color:var(--text);
  overflow:visible;
}
.setup-learning-dialog::backdrop{background:rgba(10,24,44,.46);backdrop-filter:blur(3px)}
.setup-learning-dialog-card{
  margin:0;
  padding:20px;
  overflow:auto;
  max-height:min(82vh,760px);
  border:1px solid var(--import-border,var(--border));
  border-radius:20px;
  background:var(--import-card,var(--card));
  box-shadow:0 24px 70px rgba(10,24,44,.24);
}
.setup-learning-dialog-card .section-head{margin-bottom:14px}
.setup-learning-dialog-card .section-head h3{margin:0 0 5px;font-size:1.02rem}
.setup-learning-dialog-card .section-head p{margin:0;color:var(--import-muted,var(--muted));font-size:.79rem;line-height:1.5}
.setup-learning-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.setup-learning-dialog-actions .btn{justify-content:center;min-height:42px}
@media(max-width:560px){.setup-learning-dialog-card{padding:16px}.setup-learning-dialog-actions{grid-template-columns:1fr}}

/* SETO 1.1.157 – sichtbarer Fortschritt für gebündelten VDN-Massimport */
body.seto-import-page .save-progress-box{margin:14px 0;padding:13px 14px;border:1px solid var(--border);border-radius:14px;background:#f8fafc;display:grid;gap:9px}
body.seto-import-page .save-progress-box[hidden]{display:none}
body.seto-import-page .save-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}
body.seto-import-page .save-progress-head span{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
body.seto-import-page .save-progress-box progress{width:100%;height:10px}
:root[data-theme="dark"] body.seto-import-page .save-progress-box{background:var(--seto-card-2)!important;border-color:var(--seto-border)!important;color:var(--seto-text)!important}
@media(max-width:620px){body.seto-import-page .save-progress-head{align-items:flex-start;flex-direction:column;gap:4px}}

/* SETO 2.1.006: VDN -> Kalender Vollständigkeitsführung */
.calendar-followup{margin-top:16px;padding:18px;border:1px solid rgba(37,99,235,.22);border-radius:18px;background:rgba(239,246,255,.92);display:flex;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.calendar-followup[hidden]{display:none!important}
.calendar-followup h3{margin:3px 0 7px;color:#17365d}
.calendar-followup p{margin:0;max-width:760px;color:#334155}
.calendar-followup-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.calendar-return{margin:0 0 18px}
.calendar-return a{font-weight:750}
html[data-theme="dark"] .calendar-followup,body.dark .calendar-followup{background:rgba(15,35,58,.94);border-color:rgba(125,183,255,.28)}
html[data-theme="dark"] .calendar-followup h3,body.dark .calendar-followup h3{color:#f3f8ff}
html[data-theme="dark"] .calendar-followup p,body.dark .calendar-followup p{color:#d6e4f5}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .calendar-followup{background:rgba(15,35,58,.94);border-color:rgba(125,183,255,.28)}html:not([data-theme="light"]) .calendar-followup h3{color:#f3f8ff}html:not([data-theme="light"]) .calendar-followup p{color:#d6e4f5}}

/* SETO 2.1.020 – Privacy by Default in der Ersteinrichtung */
.privacy-default-card{display:grid;gap:14px}
.privacy-default-card .section-head.compact{margin:0}
.setup-inline-actions{justify-content:flex-start}
.setup-recovery-code{display:grid;gap:10px;padding:13px 14px;border:1px dashed var(--import-border,var(--border));border-radius:14px;background:rgba(23,54,93,.04)}
.setup-recovery-code[hidden]{display:none}
.setup-recovery-code code{display:block;overflow-wrap:anywhere;font-size:1.02rem;font-weight:800;letter-spacing:.07em;user-select:all}
.setup-warning-confirm{padding:12px 13px;border:1px solid rgba(180,83,9,.28);border-radius:14px;background:rgba(255,247,237,.92)}
:root[data-theme="dark"] .setup-recovery-code{background:rgba(125,183,255,.06)}
:root[data-theme="dark"] .setup-warning-confirm{background:rgba(120,53,15,.2);border-color:rgba(251,146,60,.3)}

/* SETO 2.1.020 – Smart Setup */
.smart-setup-page .smart-progress{grid-template-columns:repeat(3,1fr)!important}
.smart-vdn-panel{margin-top:8px}
.setup-optional-control{margin-top:12px;border:1px solid var(--import-border);border-radius:13px;background:var(--import-card);padding:0 13px}
.setup-optional-control summary{cursor:pointer;padding:11px 0;font-weight:750;color:var(--import-muted)}
.setup-optional-control[open] summary{color:var(--import-text)}
.smart-detected-summary{margin-top:12px;padding:13px 14px;border:1px solid #b8d7bd;border-radius:13px;background:#f4fbf5}
.smart-detected-summary strong{display:block;margin-bottom:7px}
.smart-detected-summary>div{display:flex;flex-wrap:wrap;gap:6px}
.smart-detected-summary span{padding:5px 8px;border-radius:999px;background:#fff;border:1px solid #d6ead9;font-size:.72rem}
.smart-source-actions{position:static!important;background:transparent!important;border:0!important;padding:0!important;backdrop-filter:none!important}
.smart-setup-summary{margin:8px 0 16px;padding:14px 15px;border:1px solid var(--import-border);border-radius:15px;background:var(--import-card)}
.smart-summary-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.smart-summary-head strong{font-size:.95rem}
.smart-summary-head>span{font-size:.75rem;color:var(--import-muted)}
.smart-chip-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.smart-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid var(--import-border);border-radius:999px;background:#fff;font-size:.72rem}
.smart-chip.ok{border-color:#cfe2d2;background:#f5fbf6}
.smart-chip small{color:var(--import-muted);font-size:.62rem}
.text-btn{margin-top:9px;padding:0!important;border:0!important;background:transparent!important;color:#2f75b5!important;box-shadow:none!important;font-size:.74rem!important}
.smart-required-fields label[hidden]{display:none!important}
.smart-required-fields label small{display:block;margin-top:4px;color:var(--import-muted);font-size:.68rem;line-height:1.35}
.smart-details{margin-top:14px!important;padding-top:12px!important}
.smart-details summary{display:flex;align-items:center;gap:8px}
.smart-details.has-detected summary::after{content:'Werte vorhanden';padding:3px 7px;border-radius:999px;background:#edf7ef;color:#26713a;font-size:.58rem;font-weight:800}
.smart-privacy-card{margin-top:18px!important;background:linear-gradient(145deg,#f9fbfd,#f3f7fb)!important}
.smart-privacy-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.smart-privacy-head strong{font-size:.92rem}
.smart-recovery-block{margin-top:12px}
.smart-recovery-block label{display:block;margin-top:10px;font-weight:700}
.smart-recovery-block input[type=password]{width:100%;max-width:430px;margin-top:6px}
.smart-storage-details{margin-top:12px;border-top:1px solid var(--import-border);padding-top:10px}
.smart-storage-details>summary{cursor:pointer;color:#2f75b5;font-size:.76rem;font-weight:800}
.smart-storage-grid{margin-top:10px!important}
.smart-storage-grid .setup-choice{min-height:112px!important}
.smart-setup-page .setup-actions-row:not(.smart-source-actions){position:sticky;bottom:8px}
@media(max-width:820px){.smart-setup-page .smart-progress{grid-template-columns:repeat(3,minmax(90px,1fr))!important;overflow:visible}.smart-summary-head{align-items:flex-start;flex-direction:column}.smart-source-actions{display:grid!important;grid-template-columns:1fr 1fr}.smart-privacy-head{flex-direction:column}}
@media(max-width:560px){.smart-source-actions{grid-template-columns:1fr}.smart-chip{border-radius:10px}.smart-setup-page .smart-progress button{font-size:.72rem!important}.smart-setup-page .smart-progress button span{font-size:.7rem!important}}
:root[data-theme="dark"] .smart-detected-summary{background:#17251a;border-color:#35563b}
:root[data-theme="dark"] .smart-detected-summary span,:root[data-theme="dark"] .smart-chip{background:#1b202b}
:root[data-theme="dark"] .smart-chip.ok{background:#17251a;border-color:#35563b}
:root[data-theme="dark"] .smart-privacy-card{background:#181e27!important}

/* SETO 2.1.032 – Urlaubsimport: Local-Only Fast-Save + expliziter Kontrast */
:root:not([data-theme="dark"]) body.seto-import-page #confirmDialog,
:root:not([data-theme="dark"]) body.seto-import-page #confirmDialog .dialog{
  background:#fff!important;
  color:#172033!important;
}
:root:not([data-theme="dark"]) body.seto-import-page #confirmDialog h2,
:root:not([data-theme="dark"]) body.seto-import-page #confirmDialog .check,
:root:not([data-theme="dark"]) body.seto-import-page #confirmDialog .check span,
:root:not([data-theme="dark"]) body.seto-import-page #previewHint,
:root:not([data-theme="dark"]) body.seto-import-page #preview .save{
  color:#172033!important;
}
:root:not([data-theme="dark"]) body.seto-import-page #confirmDialog p,
:root:not([data-theme="dark"]) body.seto-import-page #preview .save p{
  color:#475467!important;
}
:root:not([data-theme="dark"]) body.seto-import-page #confirmDialog .check{
  background:#eaf1fb!important;
  border:1px solid #cbd9ea;
}
:root:not([data-theme="dark"]) body.seto-import-page #confirmDialog .secondary{
  background:#fff!important;
  color:#172033!important;
  border-color:#d9e0e8!important;
}
:root[data-theme="dark"] body.seto-import-page #confirmDialog,
:root[data-theme="dark"] body.seto-import-page #confirmDialog .dialog{
  background:#1b202b!important;
  color:#f3f6fa!important;
  border-color:#303845!important;
}
:root[data-theme="dark"] body.seto-import-page #confirmDialog h2,
:root[data-theme="dark"] body.seto-import-page #confirmDialog .check,
:root[data-theme="dark"] body.seto-import-page #confirmDialog .check span,
:root[data-theme="dark"] body.seto-import-page #previewHint,
:root[data-theme="dark"] body.seto-import-page #preview .save{
  color:#f3f6fa!important;
}
:root[data-theme="dark"] body.seto-import-page #confirmDialog p,
:root[data-theme="dark"] body.seto-import-page #preview .save p{
  color:#b7c0cc!important;
}
:root[data-theme="dark"] body.seto-import-page #confirmDialog .check{
  background:#252d3a!important;
  border:1px solid #3b4657;
}

/* 2.1.066 – U09: gemeinsame, aufgabenorientierte Datenverwaltung */
.data-management-hub{margin-bottom:18px}
.data-management-hub .section-head{margin-bottom:14px}
.data-management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.data-management-card{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border:1px solid var(--border,#d8e0ea);border-radius:14px;background:var(--card,#fff)}
.data-management-card.is-primary{border-width:2px}
.data-management-card h3{margin:0 0 5px;font-size:16px}
.data-management-card p{margin:0;color:var(--muted,#637083);font-size:13px;line-height:1.45}
.data-management-number{display:grid;place-items:center;width:26px;height:26px;border-radius:999px;background:var(--blue-soft,#e8f1fb);color:var(--blue,#245f96);font-weight:900;font-size:12px}
.data-management-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.data-management-card>.btn{margin-top:auto;align-self:flex-start}
.data-management-note{margin:14px 0 0;padding:10px 12px;border-radius:10px;background:var(--bg,#f5f7fa);color:var(--muted,#637083);font-size:12px}
@media(max-width:820px){.data-management-grid{grid-template-columns:1fr}.data-management-card{padding:14px}}

/* SETO 2.1.078 – Vorsorge-Datenexport */
.retirement-export-card{display:grid;gap:16px}
.retirement-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.retirement-summary-grid article{padding:13px;border:1px solid var(--border,var(--seto-line));border-radius:13px;background:var(--card,var(--seto-surface-solid));display:grid;gap:4px}
.retirement-summary-grid span{font-size:.78rem;color:var(--muted,var(--seto-muted))}
.retirement-summary-grid strong{font-size:1.18rem;color:var(--text,var(--seto-ink))}
.retirement-actions{display:flex;gap:10px;flex-wrap:wrap}
.retirement-details{border:1px solid var(--border,var(--seto-line));border-radius:13px;padding:11px 13px;background:var(--card,var(--seto-surface-solid))}
.retirement-details>summary{cursor:pointer;font-weight:800;color:var(--text,var(--seto-ink))}
.retirement-details>summary:focus-visible{outline:3px solid var(--seto-readable-link,#245f96);outline-offset:3px}
.retirement-inclusion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.retirement-inclusion-grid>div{padding:10px 12px;border-radius:10px;background:var(--soft,var(--seto-surface-soft));display:grid;gap:3px}
.retirement-inclusion-grid span,.retirement-details p{color:var(--muted,var(--seto-muted));line-height:1.48}
.retirement-warning-list{display:grid;gap:8px;margin-top:12px}
.retirement-warning{padding:10px 12px;border:1px solid var(--border,var(--seto-line));border-radius:10px;background:var(--soft,var(--seto-surface-soft))}
.retirement-warning strong,.retirement-warning span{display:block}.retirement-warning span{margin-top:3px;color:var(--muted,var(--seto-muted))}
@media(max-width:760px){.retirement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.retirement-inclusion-grid{grid-template-columns:1fr}}
@media(max-width:520px){.retirement-summary-grid{grid-template-columns:1fr}.retirement-actions{display:grid}.retirement-actions>*{width:100%;text-align:center}}

/* SETO 2.1.108 – reduzierter Importflow */
.import-complete-card{border-color:rgba(31,95,148,.22)!important}
.import-next-actions{margin-top:14px}
.import-result-details{margin-top:14px}
.import-more-tools{margin-top:12px}
.vacation-alias-details{margin:12px 0}
.smart-detected-summary#setupFileSummary{background:#f7f9fc;border-color:#d7e0ea}
@media(max-width:700px){.import-next-actions{display:grid!important}.import-next-actions .btn{width:100%}}

/* SETO 2.1.118 – konsolidierte Daten-Seite */
.data-hub-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.data-hub-jump a{padding:9px 13px;border:1px solid var(--import-border);border-radius:999px;background:var(--import-card);color:var(--import-text);text-decoration:none;font-size:.78rem;font-weight:800}.data-hub-jump a:hover{border-color:#8baedb;background:#edf4ff}.data-hub-section{margin-top:18px}.data-hub-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.data-hub-pane{padding:16px;border:1px solid var(--import-border);border-radius:15px;background:var(--import-card)}.data-hub-pane h3{margin:0 0 6px;color:var(--import-navy);font-size:1rem}.data-hub-pane>p{margin:0 0 14px;color:var(--import-muted);font-size:.78rem;line-height:1.5}.data-hub-export-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.data-hub-export-card{appearance:none;display:grid;gap:6px;text-align:left;padding:17px;border:1px solid var(--import-border);border-radius:15px;background:var(--import-card);color:var(--import-text);text-decoration:none;cursor:pointer;font:inherit}.data-hub-export-card:hover{border-color:#8baedb;box-shadow:0 9px 22px rgba(23,54,93,.07)}.data-hub-export-card strong{font-size:.9rem}.data-hub-export-card span{color:var(--import-muted);font-size:.75rem;line-height:1.45}.data-hub-export-card em{font-style:normal;color:#2f75b5;font-size:.74rem;font-weight:850}.data-hub-advanced-grid{display:flex;flex-wrap:wrap;gap:8px}.data-hub-advanced{margin-top:18px}.data-hub-section .notice{margin-top:12px}:root[data-theme="dark"] .data-hub-jump a:hover{background:#17324f}:root[data-theme="dark"] .data-hub-pane,:root[data-theme="dark"] .data-hub-export-card{background:#1b202b;border-color:#303845}@media(max-width:760px){.data-hub-two,.data-hub-export-grid{grid-template-columns:1fr}.data-hub-jump{position:sticky;top:6px;z-index:6;padding:7px;border-radius:14px;background:color-mix(in srgb,var(--import-bg) 88%,transparent);backdrop-filter:blur(12px)}}

/* SETO 2.1.124 – aufgabenorientierter Import/Export-Flow */
.data-hub-view[hidden]{display:none!important}
.data-hub-jump{position:sticky;top:8px;z-index:12;padding:7px;border:1px solid color-mix(in srgb,var(--import-border) 72%,transparent);border-radius:16px;background:color-mix(in srgb,var(--import-bg) 90%,transparent);backdrop-filter:blur(14px)}
.data-hub-jump a.active{border-color:#2f75b5;background:#17365d;color:#fff;box-shadow:0 5px 14px rgba(23,54,93,.16)}
.data-hub-overview{display:grid;gap:12px}
.data-hub-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.data-hub-task-card{display:flex;gap:13px;min-height:170px;padding:18px;border:1px solid var(--import-border);border-radius:17px;background:var(--import-card);color:var(--import-text);text-decoration:none;box-shadow:0 6px 18px rgba(23,54,93,.035);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.data-hub-task-card:hover{transform:translateY(-2px);border-color:#9fbddd;box-shadow:0 12px 26px rgba(23,54,93,.08)}
.data-hub-task-card.primary{border-top:3px solid #2f75b5;background:linear-gradient(145deg,var(--import-card),color-mix(in srgb,#eaf3ff 48%,var(--import-card)))}
.data-hub-task-number{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#eaf2fb;color:#245f96;font-size:.72rem;font-weight:900}
.data-hub-task-card>div{display:grid;align-content:start;gap:7px}.data-hub-task-card strong{font-size:1rem}.data-hub-task-card span:not(.data-hub-task-number){color:var(--import-muted);font-size:.76rem;line-height:1.5}.data-hub-task-card em{margin-top:auto;color:#2f75b5;font-size:.76rem;font-style:normal;font-weight:850}
.data-hub-advanced-link{margin:2px 2px 0}.data-hub-advanced-link a,.data-hub-back-link{color:#2f75b5;font-size:.76rem;font-weight:800;text-decoration:none}.data-hub-back-link{display:inline-block;margin:0 0 9px}
.data-hub-view[data-hub-view="vdn"],.data-hub-view[data-hub-view="vacation"]{scroll-margin-top:76px}
#sicherung,#auswertung,#erweitert{scroll-margin-top:76px}
.data-hub-advanced>.advanced-content>.stored-vdn-card{flex:1 1 100%;width:100%;margin-top:10px}
:root[data-theme="dark"] .data-hub-task-card.primary{background:linear-gradient(145deg,#1b202b,#17263a)}
:root[data-theme="dark"] .data-hub-task-number{background:#17324f;color:#b9d8ff}
@media(max-width:880px){.data-hub-task-grid{grid-template-columns:1fr}.data-hub-task-card{min-height:0}.data-hub-jump{top:6px}}
@media(max-width:560px){.data-hub-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.data-hub-jump a{text-align:center}.data-hub-task-card{padding:15px}}
.vacation-user-field{display:none!important}
.export-purpose-note{margin-bottom:16px}.export-purpose-note a{font-weight:800}

/* SETO 2.1.231 – vier primäre Datenaufgaben statt gemischter Profil-/Datenwege. */
.data-hub-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:880px){.data-hub-task-grid{grid-template-columns:1fr}}

/* END Daten-Importer/style.css */

/* BEGIN shared/seto-ui.css */
html.seto-auth-pending body{visibility:hidden!important}
/* SETO 1.0.15 – gemeinsames Designsystem. Fachliche Kalenderfarben bleiben unangetastet. */
:root {
  --seto-bg:#F4F5F8; --seto-card:#FFFFFF; --seto-card-2:#FAFBFC;
  --seto-text:#1B1D24; --seto-muted:#475467; --seto-border:#D9DEE7;
  --seto-primary:#2f75b5; --seto-primary-hover:#17365d; --seto-link:#17365d; --seto-focus:#5b9bd5;
  --seto-good:#16834b; --seto-warn:#A45F00; --seto-danger:#c23939;
  --seto-radius:16px; --seto-control-radius:12px; --seto-shadow:0 6px 22px rgba(24,32,45,.07);
  --seto-global-h:58px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --seto-bg:#0F1117; --seto-card:#191D27; --seto-card-2:#222836;
  --seto-text:#F3F4F8; --seto-muted:#A7AFC0; --seto-border:#343B49;
  --seto-primary:#5b9bd5; --seto-primary-hover:#5b9bd5; --seto-link:#cfe6fa; --seto-focus:#8fc3ef;
  --seto-good:#69d794; --seto-warn:#f0b65b; --seto-danger:#ff8d85;
  --seto-shadow:0 8px 28px rgba(0,0,0,.25);
  color-scheme: dark;
}
html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.seto-ui { padding-top:var(--seto-global-h) !important; }
body.seto-ui.seto-calendar-page { padding-top:calc(var(--seto-global-h) + var(--header-h, 56px)) !important; }
body.seto-ui.seto-login-page { padding-top:var(--seto-global-h) !important; }

.seto-global-header { position:fixed; inset:0 0 auto 0; z-index:10000; height:var(--seto-global-h); border-bottom:1px solid var(--seto-border); background:color-mix(in srgb,var(--seto-card) 95%,transparent); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); color:var(--seto-text); }
.seto-global-inner { width:min(1320px,calc(100% - 28px)); height:100%; margin:auto; display:flex; align-items:center; gap:18px; }
.seto-wordmark { display:flex; align-items:center; gap:9px; text-decoration:none; color:var(--seto-text); white-space:nowrap; }
.seto-mark { width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:var(--seto-primary); color:#fff; font-weight:900; letter-spacing:.03em; }
.seto-wordmark-text strong,.seto-wordmark-text small { display:block; }
.seto-wordmark-text strong { font-size:14px; line-height:1.05; }
.seto-wordmark-text small { margin-top:3px; font-size:10px; color:var(--seto-muted); }
.seto-main-nav { display:flex; height:100%; align-items:stretch; gap:2px; }
.seto-main-nav a { display:flex; align-items:center; padding:0 12px; border-bottom:3px solid transparent; color:var(--seto-muted); text-decoration:none; font-size:13px; font-weight:720; }
.seto-main-nav a:hover { color:var(--seto-text); background:var(--seto-card-2); }
.seto-main-nav a.active { color:var(--seto-primary); border-bottom-color:var(--seto-primary); }
.seto-global-actions { margin-left:auto; display:flex; align-items:center; gap:7px; }
.seto-service-link { min-height:36px; display:inline-flex; align-items:center; justify-content:center; padding:7px 11px; border:1px solid var(--seto-border); border-radius:var(--seto-control-radius); background:var(--seto-card); color:var(--seto-text); text-decoration:none; font-size:12px; font-weight:780; }
.seto-service-link:hover,.seto-service-link.active { border-color:var(--seto-primary); color:var(--seto-primary); background:var(--seto-card-2); }
.seto-help-link { width:36px; padding:0; font-size:16px; }
.seto-theme-btn { min-width:40px; min-height:36px; padding:7px 10px; border:1px solid var(--seto-border); border-radius:var(--seto-control-radius); background:var(--seto-card); color:var(--seto-text); font:inherit; font-size:12px; font-weight:750; cursor:pointer; }
.seto-theme-btn:hover { border-color:var(--seto-primary); color:var(--seto-primary); }

/* Gemeinsame Token auf bestehende Module abbilden */
body.seto-ui:not(.seto-payroll-page) { background:var(--seto-bg); color:var(--seto-text); }
body.seto-ui:not(.seto-payroll-page) a { text-decoration-thickness:1px; text-underline-offset:2px; }
:root[data-theme="light"] body.seto-ui:not(.seto-payroll-page),
:root:not([data-theme="dark"]) body.seto-ui:not(.seto-payroll-page) { --bg:var(--seto-bg); --card:var(--seto-card); --surface:var(--seto-card); --surface-2:var(--seto-card-2); --text:var(--seto-text); --ink:var(--seto-text); --muted:var(--seto-muted); --border:var(--seto-border); --line:var(--seto-border); --primary:var(--seto-primary); --primary2:var(--seto-primary-hover); --purple:#2f75b5; --purple-2:#5b9bd5; --purple-text:#17365d; --purple-soft:#e9f1fa; --soft:#e9f1fa; }
:root[data-theme="dark"] body.seto-ui:not(.seto-payroll-page) { --bg:var(--seto-bg); --card:var(--seto-card); --surface:var(--seto-card); --surface-2:var(--seto-card-2); --text:var(--seto-text); --text-2:#D7DAE2; --ink:var(--seto-text); --muted:var(--seto-muted); --border:var(--seto-border); --line:var(--seto-border); --primary:var(--seto-primary); --primary2:var(--seto-focus); --purple:#5b9bd5; --purple-2:#5b9bd5; --purple-text:#cfe6fa; --purple-soft:#152c45; --soft:#252B38; }

/* Abrechnung: Hellansicht bewusst weitgehend unverändert, nur gemeinsame Kopf-/Akzentlogik. */
body.seto-payroll-page { --accent:var(--seto-primary); --accent-dark:var(--seto-primary-hover); --accent-soft:#e9f1fa; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
:root[data-theme="dark"] body.seto-payroll-page { --page-bg:var(--seto-bg); --surface:var(--seto-card); --surface-2:var(--seto-card-2); --ink:var(--seto-text); --muted:var(--seto-muted); --line:var(--seto-border); --line-strong:#505868; --accent:var(--seto-primary); --accent-dark:#cfe6fa; --accent-soft:#152c45; --good:#69d794; --warn:#f0b65b; --danger:#ff8d85; --shadow:var(--seto-shadow); }
:root[data-theme="dark"] body.seto-payroll-page .app-header,
:root[data-theme="dark"] body.seto-payroll-page .icon-action,
:root[data-theme="dark"] body.seto-payroll-page .secondary-button,
:root[data-theme="dark"] body.seto-payroll-page .text-button,
:root[data-theme="dark"] body.seto-payroll-page .period-arrow { background:var(--surface); color:var(--ink); border-color:var(--line); }
:root[data-theme="dark"] body.seto-payroll-page .app-nav-link:hover { background:var(--surface-2); }

/* Zweite, modulspezifische Kopfzeile liegt unter der SETO-Leiste. */
body.seto-ui .app-header { top:var(--seto-global-h) !important; }
body.seto-ui .topbar:not(.seto-global-header) { top:var(--seto-global-h) !important; }
body.seto-ui .app-header-inner { min-height:58px; }
body.seto-ui .app-nav-link, body.seto-ui .mainnav a { border-radius:10px 10px 0 0; }
body.seto-ui button, body.seto-ui input, body.seto-ui select, body.seto-ui textarea { font-family:inherit; }

/* Einheitliche Formensprache ohne fachliche Statusfarben zu überschreiben */
body.seto-ui .btn, body.seto-ui .button, body.seto-ui .ghost, body.seto-ui .icon-action,
body.seto-ui .primary-button, body.seto-ui .secondary-button, body.seto-ui .text-button { border-radius:var(--seto-control-radius); }
body.seto-ui .panel, body.seto-ui .card, body.seto-ui .summary-card, body.seto-ui .app-card,
body.seto-ui .quick-card, body.seto-ui .profile-card, body.seto-ui .feedback-card, body.seto-ui .admin-card { border-radius:var(--seto-radius); }

@media (max-width:860px) {
  .seto-global-inner { width:calc(100% - 18px); gap:8px; }
  .seto-wordmark-text small { display:none; }
  .seto-main-nav { flex:1; overflow-x:auto; scrollbar-width:none; }
  .seto-main-nav::-webkit-scrollbar { display:none; }
  .seto-main-nav a { padding:0 10px; font-size:12px; }
  .seto-main-nav a:nth-child(n+5) { display:none; }
}
@media (max-width:560px) {
  .seto-wordmark-text { display:none; }
  .seto-mark { width:32px; height:32px; }
  .seto-main-nav a { padding:0 8px; font-size:11px; }
  .seto-theme-btn { min-width:36px; padding:7px; font-size:0; }
  .seto-theme-btn::after { content:attr(data-icon); font-size:15px; }
}
@media print { .seto-global-header { display:none !important; } body.seto-ui, body.seto-ui.seto-calendar-page { padding-top:0 !important; } :root { color-scheme:light !important; } }

/* Module mit bislang fest codierten Hellfarben: Darkmode-Nachrüstung */
:root[data-theme="dark"] body.seto-analyse-page,
:root[data-theme="dark"] body.seto-import-page,
:root[data-theme="dark"] body.seto-hilfe-page,
:root[data-theme="dark"] body.seto-start-page,
:root[data-theme="dark"] body.seto-profil-page {
  background:var(--seto-bg) !important; color:var(--seto-text) !important;
}
:root[data-theme="dark"] body.seto-analyse-page .card,
:root[data-theme="dark"] body.seto-analyse-page .kpi,
:root[data-theme="dark"] body.seto-import-page .card,
:root[data-theme="dark"] body.seto-import-page .panel,
:root[data-theme="dark"] body.seto-hilfe-page .hero,
:root[data-theme="dark"] body.seto-hilfe-page .card,
:root[data-theme="dark"] body.seto-hilfe-page .mini {
  background:var(--seto-card) !important; color:var(--seto-text) !important; border-color:var(--seto-border) !important; box-shadow:var(--seto-shadow) !important;
}
:root[data-theme="dark"] body.seto-analyse-page .compare-row,
:root[data-theme="dark"] body.seto-analyse-page .flow-node,
:root[data-theme="dark"] body.seto-analyse-page .muted,
:root[data-theme="dark"] body.seto-import-page .soft,
:root[data-theme="dark"] body.seto-hilfe-page .formula,
:root[data-theme="dark"] body.seto-hilfe-page .full-help blockquote {
  background:var(--seto-card-2) !important; color:var(--seto-text) !important; border-color:var(--seto-border) !important;
}
:root[data-theme="dark"] body.seto-analyse-page .bar-track,
:root[data-theme="dark"] body.seto-analyse-page .rank-meter { background:#303746 !important; }
:root[data-theme="dark"] body.seto-analyse-page select,
:root[data-theme="dark"] body.seto-import-page input,
:root[data-theme="dark"] body.seto-import-page select,
:root[data-theme="dark"] body.seto-import-page textarea {
  background:var(--seto-card) !important; color:var(--seto-text) !important; border-color:var(--seto-border) !important;
}
:root[data-theme="dark"] body.seto-analyse-page th,
:root[data-theme="dark"] body.seto-analyse-page td,
:root[data-theme="dark"] body.seto-hilfe-page th,
:root[data-theme="dark"] body.seto-hilfe-page td { border-color:var(--seto-border) !important; }
:root[data-theme="dark"] body.seto-analyse-page .sub,
:root[data-theme="dark"] body.seto-analyse-page .card p,
:root[data-theme="dark"] body.seto-analyse-page .bar-label,
:root[data-theme="dark"] body.seto-analyse-page .rank-row span,
:root[data-theme="dark"] body.seto-hilfe-page .lead,
:root[data-theme="dark"] body.seto-hilfe-page .small { color:var(--seto-muted) !important; }

/* Gemeinsame Markenakzente in Verwaltungsmodulen */
body.seto-analyse-page .primary, body.seto-import-page .primary,
body.seto-start-page .btn-primary, body.seto-profil-page .button:not(.secondary) {
  background:var(--seto-primary) !important; border-color:var(--seto-primary) !important; color:#fff !important;
}
body.seto-analyse-page .back, body.seto-hilfe-page .eyebrow,
body.seto-hilfe-page .nav a { color:var(--seto-link) !important; }
body.seto-hilfe-page .nav a { background:color-mix(in srgb,var(--seto-primary) 10%,var(--seto-card)) !important; }


/* SETO 1.0.15 – reduzierte globale Navigation */
@media (max-width: 760px) {
  .seto-global-inner { width:min(100% - 16px,1320px); gap:8px; }
  .seto-wordmark-text small { display:none; }
  .seto-wordmark-text strong { font-size:13px; }
  .seto-main-nav { flex:1; min-width:0; overflow-x:auto; scrollbar-width:none; }
  .seto-main-nav::-webkit-scrollbar { display:none; }
  .seto-main-nav a { padding:0 8px; font-size:12px; white-space:nowrap; }
  .seto-profile-link { font-size:0; width:36px; padding:0; }
  .seto-profile-link::before { content:'👤'; font-size:15px; }
  .seto-theme-btn { font-size:0; width:36px; min-width:36px; padding:0; }
  .seto-theme-btn::before { content:attr(data-icon); font-size:15px; }
}
@media (max-width: 520px) {
  .seto-wordmark-text { display:none; }
  .seto-main-nav a { padding:0 7px; font-size:11px; }
  .seto-global-actions { gap:4px; }
  .seto-help-link,.seto-profile-link,.seto-theme-btn { width:32px; min-width:32px; min-height:34px; }
}


/* SETO 1.0.45 – gleiche Höhe und Form für globale Service-Buttons */
:root{--seto-control-h:38px}
.seto-global-actions{gap:6px;flex-wrap:nowrap}
.seto-service-link,.seto-theme-btn{height:var(--seto-control-h);min-height:var(--seto-control-h);border-radius:10px;padding:0 12px;box-shadow:none}
.seto-help-link{width:38px;min-width:38px;padding:0}
.seto-theme-btn{min-width:86px}
.seto-profile-link{min-width:64px}
@media(max-width:760px){
  .seto-help-link,.seto-profile-link,.seto-theme-btn{height:36px;min-height:36px;border-radius:9px}
  .seto-theme-btn,.seto-profile-link{min-width:36px}
}

/* SETO 1.0.52 – H-02 Mobile/Responsive */
@media(max-width:560px){
  .seto-global-inner{width:calc(100% - 10px);gap:5px}
  .seto-main-nav{min-width:0;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  .seto-main-nav a{min-height:40px;display:flex;align-items:center}
  .seto-global-actions{flex:0 0 auto}
  .seto-help-link,.seto-profile-link,.seto-theme-btn{min-height:40px;height:40px}
}
@media(max-height:500px) and (orientation:landscape){
  :root{--seto-global-h:46px}
  .seto-global-header{min-height:46px}
  .seto-global-inner{min-height:46px}
  .seto-main-nav a{min-height:36px}
  .seto-help-link,.seto-profile-link,.seto-theme-btn{min-height:36px;height:36px}
}


/* SETO 1.0.53 – H-03 Barrierefreiheit */
.seto-skip-link{
  position:fixed;left:12px;top:8px;z-index:20000;
  padding:10px 14px;border-radius:10px;background:var(--seto-text);color:var(--seto-card);
  font-weight:800;text-decoration:none;transform:translateY(-160%);transition:transform .12s ease;
}
.seto-skip-link:focus{transform:translateY(0)}
.seto-sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
body.seto-ui :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--seto-focus)!important;outline-offset:3px!important;
}
body.seto-ui :where(input,select,textarea)[aria-invalid="true"]{
  border-color:var(--seto-danger)!important;box-shadow:0 0 0 1px var(--seto-danger);
}
body.seto-ui summary{cursor:pointer}
body.seto-ui [aria-current="page"]{text-decoration-thickness:2px}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
@media print{.seto-skip-link{display:none!important}}

/* SETO 1.0.58 – Feedback: feste Hellflächen der Abrechnung im Darkmode beseitigen */
:root[data-theme="dark"] body.seto-payroll-page .panel,
:root[data-theme="dark"] body.seto-payroll-page .status-line,
:root[data-theme="dark"] body.seto-payroll-page .period-strip,
:root[data-theme="dark"] body.seto-payroll-page .year-total-grid>div,
:root[data-theme="dark"] body.seto-payroll-page .review-bar,
:root[data-theme="dark"] body.seto-payroll-page .review-panel,
:root[data-theme="dark"] body.seto-payroll-page .readiness-box,
:root[data-theme="dark"] body.seto-payroll-page .profile-status-card,
:root[data-theme="dark"] body.seto-payroll-page .profile-tariff-card,
:root[data-theme="dark"] body.seto-payroll-page .soll-export-dialog{
  background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important;
}
:root[data-theme="dark"] body.seto-payroll-page .app-nav,
:root[data-theme="dark"] body.seto-payroll-page .user-chip,
:root[data-theme="dark"] body.seto-payroll-page .vdnpi-summary,
:root[data-theme="dark"] body.seto-payroll-page .profile-overview-facts span,
:root[data-theme="dark"] body.seto-payroll-page .vdn-local-badge,
:root[data-theme="dark"] body.seto-payroll-page .privacy-note{
  background:var(--surface-2)!important;color:var(--muted)!important;border-color:var(--line)!important;
}
:root[data-theme="dark"] body.seto-payroll-page .app-nav-link{color:var(--muted)!important}
:root[data-theme="dark"] body.seto-payroll-page .app-nav-link:hover,
:root[data-theme="dark"] body.seto-payroll-page .app-nav-link.active{background:var(--surface)!important;color:var(--accent-dark)!important}
:root[data-theme="dark"] body.seto-payroll-page input,
:root[data-theme="dark"] body.seto-payroll-page select,
:root[data-theme="dark"] body.seto-payroll-page textarea,
:root[data-theme="dark"] body.seto-payroll-page .wage-ref-input{
  background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important;
}
:root[data-theme="dark"] body.seto-payroll-page input[readonly],
:root[data-theme="dark"] body.seto-payroll-page select:disabled{background:var(--surface-2)!important;color:var(--muted)!important}
:root[data-theme="dark"] body.seto-payroll-page th,
:root[data-theme="dark"] body.seto-payroll-page td{border-color:var(--line)!important}
:root[data-theme="dark"] body.seto-payroll-page .firebase-state.used,
:root[data-theme="dark"] body.seto-payroll-page .vdnpi-state.ok{background:#183b27!important;color:#8ce5aa!important;border-color:#2e6d45!important}
:root[data-theme="dark"] body.seto-payroll-page .firebase-state.loaded,
:root[data-theme="dark"] body.seto-payroll-page .vdnpi-state.warn{background:#453819!important;color:#f2cf79!important;border-color:#705b29!important}
:root[data-theme="dark"] body.seto-payroll-page .reconcile-status.match{color:#8ce5aa!important}
:root[data-theme="dark"] body.seto-payroll-page .reconcile-status.difference{color:#ffaaa4!important}
:root[data-theme="dark"] body.seto-payroll-page .reconcile-status.calendar-only,
:root[data-theme="dark"] body.seto-payroll-page .reconcile-status.vdn-only,
:root[data-theme="dark"] body.seto-payroll-page .reconcile-status.not-verifiable{color:#f2cf79!important}


/* SETO 1.0.67 – Branding und zusammengefasste Kopfzeilen */
.seto-logo-wrap{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:11px;overflow:hidden;background:var(--seto-card)}
.seto-logo{width:100%;height:100%;object-fit:contain;display:block;transition:filter .18s ease}
:root[data-theme="dark"] .seto-logo{filter:drop-shadow(0 0 10px rgba(6,182,212,.35))}
:root[data-theme="light"] .seto-logo{filter:drop-shadow(0 2px 6px rgba(0,0,0,.12))}
.seto-wordmark{gap:7px}
.seto-wordmark-text{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:7px;line-height:1.05}
.seto-wordmark-text strong{font-size:15px;letter-spacing:.035em}
.seto-wordmark-text small{display:block!important;grid-column:1 / -1;margin-top:3px;font-size:9px;color:var(--seto-muted);letter-spacing:.015em;white-space:nowrap}
.seto-wordmark-text em{font-style:normal;font-size:9px;color:var(--seto-muted);font-weight:700}
.seto-top-action{height:var(--seto-control-h,38px);min-height:var(--seto-control-h,38px);display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--seto-border);border-radius:10px;background:var(--seto-card);color:var(--seto-text);font:inherit;font-size:12px;font-weight:780;cursor:pointer}
.seto-top-action:hover{border-color:var(--seto-primary);color:var(--seto-primary);background:var(--seto-card-2)}
.seto-print-link{height:var(--seto-control-h,38px);min-height:var(--seto-control-h,38px)}

/* Kalender: lokale Zeile ist vollständig in die SETO-Topbar integriert. */
body.seto-ui.seto-calendar-page{padding-top:var(--seto-global-h)!important}
body.seto-calendar-page .calendar-app-header{display:none!important}

/* Abrechnung: lokale Zeile entfällt, die fachliche Unter-Navigation bleibt in der Topbar erhalten. */
body.seto-payroll-page .app-header{display:none!important}
.seto-module-nav{display:flex;align-items:center;gap:2px;height:40px;padding-left:8px;margin-left:2px;border-left:1px solid var(--seto-border)}
.seto-module-nav .app-nav-link{height:34px;display:flex;align-items:center;padding:0 9px!important;border:0!important;border-radius:9px!important;color:var(--seto-muted)!important;font-size:11px!important;font-weight:750!important;white-space:nowrap;text-decoration:none}
.seto-module-nav .app-nav-link:hover{background:var(--seto-card-2)!important;color:var(--seto-text)!important}
.seto-module-nav .app-nav-link.active{background:color-mix(in srgb,var(--seto-primary) 11%,var(--seto-card))!important;color:var(--seto-primary)!important}
@media(max-width:1180px){.seto-module-nav{max-width:390px;overflow-x:auto;scrollbar-width:none}.seto-module-nav::-webkit-scrollbar{display:none}}
@media(max-width:900px){.seto-module-nav{display:none}}
@media(max-width:620px){
  .seto-wordmark-text{display:none}
  .seto-logo-wrap{width:40px;height:40px;flex-basis:40px}
  .seto-print-link,.seto-print-action,.seto-logout-action{font-size:0;width:38px;padding:0}
  .seto-print-link::before,.seto-print-action::before{content:'▤';font-size:16px}
  .seto-logout-action::before,.seto-start-logout::before{content:'↪';font-size:16px}
}


/* SETO 1.0.73 – Navigation: genau eine globale und eine modulbezogene Ebene */
:root{--seto-module-h:48px}

/* Kalender: alte lokale Kopfzeilen nicht mehr als zweite fixe Kopfzeile verwenden. */
body.seto-calendar-nav-page .app-header{display:none!important}
body.seto-calendar-page .seto-print-link{display:none!important}

/* Desktop/Tablet: vorhandene Kalender-Navigation als zweite Zeile direkt unter SETO. */
@media(min-width:761px){
  body.seto-ui.seto-calendar-page.seto-calendar-nav-page{
    padding-top:calc(var(--seto-global-h) + var(--seto-module-h))!important;
    padding-bottom:18px!important;
  }
  body.seto-calendar-nav-page .bottom-nav{
    top:var(--seto-global-h);bottom:auto;height:var(--seto-module-h);
    justify-content:center;gap:4px;padding:5px max(14px,calc((100vw - 1280px)/2));
    border-top:0;border-bottom:1px solid var(--seto-border);z-index:9000;
    background:color-mix(in srgb,var(--seto-card) 97%,transparent);
  }
  body.seto-calendar-nav-page .bn-item{
    flex:0 0 auto;min-width:132px;height:38px;flex-direction:row;gap:7px;
    padding:0 13px;border-radius:9px;font-size:12px;font-weight:760;
  }
  body.seto-calendar-nav-page .bn-item.active{
    background:color-mix(in srgb,var(--seto-primary) 11%,var(--seto-card));
    color:var(--seto-primary);
  }
  body.seto-calendar-nav-page .bn-item.active::before{display:none}
  body.seto-calendar-nav-page .bn-ico{font-size:16px}
  body.seto-calendar-nav-page #editor{bottom:0;border-radius:16px 16px 0 0}
  body.seto-calendar-nav-page:has(#editor:not(.hidden)) .cal-wrap{padding-bottom:145px}
}

/* Smartphone: Kalender-Navigation bleibt als gut erreichbare Bottom-Bar. */
@media(max-width:760px){
  body.seto-calendar-nav-page{
    padding-top:var(--seto-global-h)!important;
    padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px))!important;
  }
  body.seto-calendar-nav-page .bottom-nav{
    top:auto;bottom:0;height:var(--nav-h);border-top:1px solid var(--border);border-bottom:0;
  }
  body.seto-calendar-nav-page #editor{bottom:var(--nav-h);border-radius:16px 16px 0 0}
  body.seto-calendar-nav-page:has(#editor:not(.hidden)) .cal-wrap{padding-bottom:155px}
}

/* Kalender-Hilfsseiten ohne Hauptnavigation (z. B. Export): Kopf wird normaler Seitenkopf statt Overlay. */
body.seto-calendar-utility-page{padding-top:var(--seto-global-h)!important;padding-bottom:24px!important}
body.seto-calendar-utility-page .app-header{
  position:static!important;top:auto!important;left:auto!important;right:auto!important;
  width:min(1200px,calc(100% - 28px));height:auto;min-height:54px;margin:12px auto 0;
  border:1px solid var(--seto-border);border-radius:14px;background:var(--seto-card);
  box-shadow:var(--seto-shadow);backdrop-filter:none;-webkit-backdrop-filter:none;z-index:auto;
}

/* Abrechnung: Unterbereiche nicht mehr in der globalen Zeile quetschen. */
body.seto-payroll-page{padding-top:calc(var(--seto-global-h) + var(--seto-module-h))!important}
body.seto-payroll-page .seto-module-nav{
  display:flex!important;position:fixed;top:var(--seto-global-h);left:0;right:0;z-index:9000;
  width:100%;max-width:none!important;height:var(--seto-module-h);margin:0;padding:5px max(14px,calc((100vw - 1280px)/2));
  gap:4px;border-left:0;border-bottom:1px solid var(--seto-border);
  background:color-mix(in srgb,var(--seto-card) 97%,transparent);overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
}
body.seto-payroll-page .seto-module-nav::-webkit-scrollbar{display:none}
body.seto-payroll-page .seto-module-nav .app-nav-link{
  flex:0 0 auto;height:38px;min-height:38px;padding:0 13px!important;font-size:12px!important;
}
@media(max-width:760px){
  body.seto-payroll-page .seto-module-nav{padding-left:8px;padding-right:8px}
  body.seto-payroll-page .seto-module-nav .app-nav-link{min-height:38px;height:38px;padding:0 11px!important}
}

/* Profil: alte zweite Hauptnavigation entfernen; Profil-Tabs bleiben die einzige Modulebene. */
body.seto-profil-page > .topbar{display:none!important}
body.seto-profil-page .shell{padding-top:24px}

/* Hilfe mobil: Suche scrollt mit dem Inhalt weg; nur die Kategorien bleiben unter SETO sticky. */
@media(max-width:900px){
  body.seto-hilfe-page .docs-toolbar{position:relative!important;top:auto!important;z-index:auto!important}
  body.seto-hilfe-page .sidebar{top:var(--seto-global-h)!important;z-index:25!important}
}

/* Globale Leiste auf kleinen Displays: Aktionen kompakt halten. */
@media(max-width:560px){
  .seto-global-inner{gap:4px}
  .seto-main-nav a{padding-inline:7px}
  .seto-global-actions{gap:3px}
  .seto-top-action{width:34px;min-width:34px;padding:0;font-size:0}
  .seto-logout-action::before,.seto-start-logout::before{content:'↪';font-size:16px}
  .seto-print-action::before{content:'▤';font-size:16px}
}


/* SETO 1.1.00 – Mobile Topbar: Systemaktionen sichtbar, Module im kompakten Bereichsmenü */
.seto-mobile-modules{display:none;position:relative}
.seto-mobile-modules-btn{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--seto-border);border-radius:10px;background:var(--seto-card);color:var(--seto-text);font:inherit;font-size:17px;font-weight:850;cursor:pointer}
.seto-mobile-modules-menu{display:none}
@media(max-width:760px){
  .seto-global-inner{width:calc(100% - 12px);gap:5px}
  .seto-wordmark{flex:0 0 auto}
  .seto-logo-wrap{width:38px;height:38px;flex-basis:38px;border-radius:9px}
  .seto-wordmark-text{display:none!important}
  .seto-main-nav{display:none!important}
  .seto-mobile-modules{display:block;flex:0 0 auto}
  .seto-mobile-modules[hidden]{display:none!important}
  .seto-mobile-modules-menu{
    position:fixed;top:calc(var(--seto-global-h) + 7px);left:8px;right:8px;z-index:12000;
    grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px;
    border:1px solid var(--seto-border);border-radius:15px;background:var(--seto-card);box-shadow:0 16px 38px rgba(15,17,23,.2)
  }
  .seto-mobile-modules.open .seto-mobile-modules-menu{display:grid}
  .seto-mobile-modules-menu a{min-width:0;min-height:54px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:6px;border-radius:10px;color:var(--seto-muted);text-decoration:none;font-size:10px}
  .seto-mobile-modules-menu a span{font-size:17px;line-height:1}
  .seto-mobile-modules-menu a b{font-size:10px;white-space:nowrap}
  .seto-mobile-modules-menu a.active{background:color-mix(in srgb,var(--seto-primary) 11%,var(--seto-card));color:var(--seto-primary)}
  .seto-mobile-modules-btn[aria-expanded="true"]{border-color:var(--seto-primary);color:var(--seto-primary);background:var(--seto-card-2)}
  .seto-global-actions{margin-left:auto;gap:4px;flex:0 0 auto}
  .seto-help-link,.seto-profile-link,.seto-theme-btn,.seto-top-action{width:36px!important;min-width:36px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:9px}
  .seto-help-link{font-size:15px}
  .seto-profile-link{font-size:0!important}
  .seto-profile-link::before{content:'●';font-size:15px}
  .seto-theme-btn{font-size:0!important}
  .seto-theme-btn::before{content:attr(data-icon);font-size:15px}
  .seto-logout-action,.seto-start-logout{font-size:0!important}
  .seto-logout-action::before,.seto-start-logout::before{content:'↪';font-size:17px}
}
@media(max-width:360px){
  .seto-global-inner{gap:3px}
  .seto-help-link,.seto-profile-link,.seto-theme-btn,.seto-top-action,.seto-mobile-modules-btn{width:34px!important;min-width:34px!important}
}


/* SETO 1.1.00 – Mobile Direktnavigation: Start, Kalender, Abrechnung immer sichtbar. */
.seto-mobile-primary-nav{display:none}
.seto-mobile-primary-nav[hidden],.seto-mobile-modules[hidden]{display:none!important}
@media(max-width:760px){
  .seto-global-inner{width:calc(100% - 10px);gap:4px}
  .seto-wordmark{flex:0 0 auto}
  .seto-logo-wrap{width:36px!important;height:36px!important;flex-basis:36px!important;border-radius:9px}
  .seto-mobile-primary-nav{display:flex;align-items:center;gap:3px;flex:0 0 auto}
  .seto-mobile-primary-nav a{
    width:36px;min-width:36px;height:38px;min-height:38px;display:grid;place-items:center;
    border:1px solid var(--seto-border);border-radius:9px;background:var(--seto-card);color:var(--seto-muted);
    text-decoration:none;font-weight:900;font-size:17px;line-height:1
  }
  .seto-mobile-primary-nav a.active{border-color:color-mix(in srgb,var(--seto-primary) 48%,var(--seto-border));background:color-mix(in srgb,var(--seto-primary) 11%,var(--seto-card));color:var(--seto-primary)}
  .seto-mobile-modules{display:block!important;flex:0 0 auto}
  .seto-mobile-modules-btn{width:36px!important;min-width:36px!important;height:38px!important;font-size:21px!important;line-height:1;padding-bottom:5px}
  .seto-mobile-modules-menu{grid-template-columns:repeat(3,minmax(0,1fr))}

  /* Auf Unterseiten zählt Platz für die Navigation. Hilfe/Theme/Logout bleiben auf der Startseite. */
  body:not(.seto-start-page) .seto-global-actions{display:none!important}
  body.seto-start-page .seto-global-actions{display:flex!important;margin-left:auto;gap:3px}
  body.seto-start-page .seto-profile-link{display:none!important}
  body.seto-start-page .seto-help-link,
  body.seto-start-page .seto-theme-btn,
  body.seto-start-page .seto-start-logout{width:34px!important;min-width:34px!important;height:38px!important;min-height:38px!important}
}
@media(max-width:390px){
  .seto-global-inner{gap:2px}
  .seto-logo-wrap{width:34px!important;height:34px!important;flex-basis:34px!important}
  .seto-mobile-primary-nav{gap:2px}
  .seto-mobile-primary-nav a,.seto-mobile-modules-btn{width:34px!important;min-width:34px!important}
  body.seto-start-page .seto-global-actions{gap:2px}
  body.seto-start-page .seto-help-link,
  body.seto-start-page .seto-theme-btn,
  body.seto-start-page .seto-start-logout{width:32px!important;min-width:32px!important}
}

/* SETO 1.1.00 – Mobile Header: zwei ruhige Ebenen statt gequetschter Ein-Zeilen-Navigation. */
@media(max-width:760px){
  :root{--seto-global-h:96px}
  .seto-global-header{height:var(--seto-global-h);min-height:var(--seto-global-h)}
  .seto-global-inner{
    width:calc(100% - 20px);height:100%;min-height:0;padding:5px 0 6px;
    display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:40px 40px;
    align-items:center;column-gap:8px;row-gap:5px;
  }
  .seto-wordmark{grid-column:1;grid-row:1;min-width:0;gap:7px}
  .seto-logo-wrap{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:9px}
  .seto-wordmark-text{display:none!important}
  .seto-wordmark::after{content:'Start';font-size:11px;font-weight:850;color:var(--seto-text);letter-spacing:.01em}

  .seto-mobile-primary-nav{
    grid-column:1 / 3;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;width:100%;min-width:0;
  }
  .seto-mobile-primary-nav a{
    width:auto!important;min-width:0!important;height:40px;min-height:40px;padding:0 10px;
    display:flex;align-items:center;justify-content:center;gap:7px;
    border:1px solid var(--seto-border);border-radius:11px;background:var(--seto-card);color:var(--seto-muted);
    text-decoration:none;font-weight:800;font-size:11px;line-height:1;
  }
  .seto-mobile-primary-nav a b{font-size:11px;font-weight:820;white-space:nowrap}
  .seto-mobile-nav-icon{width:20px;height:20px;display:grid;place-items:center;font-size:16px;font-weight:900;line-height:1}
  .seto-mobile-nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .seto-mobile-primary-nav a.active{border-color:color-mix(in srgb,var(--seto-primary) 48%,var(--seto-border));background:color-mix(in srgb,var(--seto-primary) 11%,var(--seto-card));color:var(--seto-primary)}

  .seto-mobile-modules{grid-column:3;grid-row:2;display:block!important;align-self:stretch}
  .seto-mobile-modules-btn{
    width:72px!important;min-width:72px!important;height:40px!important;min-height:40px!important;padding:0 7px!important;
    display:flex!important;align-items:center;justify-content:center;gap:5px;border-radius:11px!important;font-size:12px!important;line-height:1!important;
  }
  .seto-mobile-modules-btn span{font-size:13px;letter-spacing:-1px;transform:translateY(-1px)}
  .seto-mobile-modules-btn b{font-size:10.5px;font-weight:820}
  .seto-mobile-modules-menu{top:calc(var(--seto-global-h) + 7px);left:10px;right:10px}

  body:not(.seto-start-page) .seto-global-actions{display:none!important}
  body.seto-start-page .seto-global-actions{
    grid-column:3;grid-row:1;display:flex!important;margin:0;justify-self:end;gap:6px;align-items:center;
  }
  body.seto-start-page .seto-profile-link{display:none!important}
  body.seto-start-page .seto-help-link,
  body.seto-start-page .seto-theme-btn{width:34px!important;min-width:34px!important;height:36px!important;min-height:36px!important;border-radius:9px}
  body.seto-start-page .seto-start-logout{
    width:auto!important;min-width:86px!important;height:36px!important;min-height:36px!important;padding:0 10px!important;
    display:inline-flex!important;gap:6px;font-size:10.5px!important;white-space:nowrap;border-radius:9px!important;
  }
  body.seto-start-page .seto-start-logout::before{content:'⎋';font-size:15px;line-height:1}
  .seto-logout-action::before{content:'⎋';font-size:16px}
}
@media(max-width:370px){
  .seto-global-inner{width:calc(100% - 14px);column-gap:5px}
  .seto-mobile-primary-nav{gap:5px}
  .seto-mobile-primary-nav a{padding:0 7px;gap:5px}
  .seto-mobile-modules-btn{width:62px!important;min-width:62px!important}
  body.seto-start-page .seto-global-actions{gap:4px}
  body.seto-start-page .seto-help-link,
  body.seto-start-page .seto-theme-btn{width:32px!important;min-width:32px!important}
  body.seto-start-page .seto-start-logout{min-width:78px!important;padding:0 7px!important;font-size:10px!important}
}
@media(max-height:500px) and (orientation:landscape) and (max-width:760px){
  :root{--seto-global-h:86px}
  .seto-global-inner{grid-template-rows:35px 36px;padding-top:4px;padding-bottom:5px}
  .seto-mobile-primary-nav a,.seto-mobile-modules-btn{height:36px!important;min-height:36px!important}
}

/* SETO 1.1.00 – Mobile Navigation einzeilig: Logo=Start, Kalender, Abrechnung, Theme, Mehr. */
@media(max-width:760px){
  :root{--seto-global-h:58px}
  .seto-global-header{height:var(--seto-global-h);min-height:var(--seto-global-h)}
  .seto-global-inner{
    width:calc(100% - 16px);height:100%;padding:6px 0;display:flex;align-items:center;gap:5px;
  }
  .seto-wordmark{display:flex;flex:0 0 38px;width:38px;min-width:38px;gap:0}
  .seto-logo-wrap{width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:10px}
  .seto-wordmark-text,.seto-wordmark::after{display:none!important;content:none!important}

  .seto-mobile-primary-nav{
    display:grid!important;grid-template-columns:minmax(68px,1fr) minmax(82px,1.12fr);gap:5px;
    flex:1 1 auto;width:auto;min-width:0;
  }
  .seto-mobile-primary-nav[hidden]{display:none!important}
  .seto-mobile-primary-nav a{
    width:auto!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:0 7px!important;
    display:flex!important;align-items:center;justify-content:center;gap:5px;border-radius:10px!important;
  }
  .seto-mobile-primary-nav a b{font-size:10.5px!important;white-space:nowrap}
  .seto-mobile-nav-icon{width:18px;height:18px;font-size:15px}
  .seto-mobile-nav-icon svg{width:18px;height:18px}

  .seto-global-actions{display:flex!important;flex:0 0 40px;margin:0!important;gap:0!important}
  .seto-global-actions>*{display:none!important}
  .seto-global-actions .seto-theme-btn{display:grid!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;border-radius:10px!important}

  .seto-mobile-modules{display:block!important;flex:0 0 40px;align-self:auto!important}
  .seto-mobile-modules[hidden]{display:none!important}
  .seto-mobile-modules-btn{
    width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;
    display:grid!important;place-items:center!important;border-radius:10px!important;line-height:1!important;
  }
  .seto-mobile-modules-btn span{font-size:17px!important;letter-spacing:-1px!important;transform:none!important}
  .seto-mobile-modules-btn b{display:none!important}
  .seto-mobile-modules-menu{
    top:calc(var(--seto-global-h) + 6px)!important;left:8px!important;right:8px!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .seto-mobile-modules-menu a,.seto-mobile-modules-menu button{
    min-width:0;min-height:58px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;
    padding:7px 5px;border:0;border-radius:10px;background:transparent;color:var(--seto-muted);text-decoration:none;
    font:inherit;font-size:10px;cursor:pointer;
  }
  .seto-mobile-modules-menu a span,.seto-mobile-modules-menu button span{font-size:18px;line-height:1}
  .seto-mobile-modules-menu a b,.seto-mobile-modules-menu button b{font-size:10px;white-space:nowrap}
  .seto-mobile-menu-logout{color:var(--seto-danger,#b42318)!important}

  body.seto-start-page .seto-global-actions{display:flex!important;margin:0!important;gap:0!important}
  body.seto-start-page .seto-help-link,
  body.seto-start-page .seto-profile-link,
  body.seto-start-page .seto-start-logout{display:none!important}
}
@media(max-width:350px){
  .seto-global-inner{width:calc(100% - 10px);gap:3px}
  .seto-wordmark{flex-basis:34px;width:34px;min-width:34px}
  .seto-logo-wrap{width:34px!important;height:34px!important;flex-basis:34px!important}
  .seto-mobile-primary-nav{grid-template-columns:minmax(62px,1fr) minmax(75px,1.08fr);gap:3px}
  .seto-mobile-primary-nav a{padding:0 4px!important;gap:3px}
  .seto-mobile-primary-nav a b{font-size:9.5px!important}
  .seto-global-actions{flex-basis:36px}
  .seto-global-actions .seto-theme-btn,.seto-mobile-modules,.seto-mobile-modules-btn{width:36px!important;min-width:36px!important}
}


/* SETO 1.1.54 – iOS Safe Area: globale Kopfzeile bleibt unter Notch/Dynamic Island bedienbar. */
:root{
  --seto-safe-top:env(safe-area-inset-top,0px);
  --seto-safe-left:env(safe-area-inset-left,0px);
  --seto-safe-right:env(safe-area-inset-right,0px);
  --seto-global-bar-h:58px;
  --seto-global-h:calc(var(--seto-global-bar-h) + var(--seto-safe-top));
}
.seto-global-header{
  height:var(--seto-global-h)!important;
  min-height:var(--seto-global-h)!important;
  padding-top:var(--seto-safe-top);
  padding-left:var(--seto-safe-left);
  padding-right:var(--seto-safe-right);
  box-sizing:border-box;
}
.seto-global-inner{
  height:var(--seto-global-bar-h)!important;
  min-height:var(--seto-global-bar-h);
}
body.seto-ui{padding-top:var(--seto-global-h)!important}
body.seto-ui.seto-calendar-page{padding-top:var(--seto-global-h)!important}
.seto-mobile-modules-menu{top:calc(var(--seto-global-h) + 6px)!important}
@media(max-width:760px){
  :root{--seto-global-bar-h:58px;--seto-global-h:calc(var(--seto-global-bar-h) + var(--seto-safe-top))}
  .seto-global-header{height:var(--seto-global-h)!important;min-height:var(--seto-global-h)!important}
  .seto-global-inner{height:var(--seto-global-bar-h)!important;min-height:var(--seto-global-bar-h)!important}
}
@media(max-height:500px) and (orientation:landscape) and (max-width:760px){
  :root{--seto-global-bar-h:58px;--seto-global-h:calc(var(--seto-global-bar-h) + var(--seto-safe-top))}
}
@media print{
  :root{--seto-safe-top:0px;--seto-safe-left:0px;--seto-safe-right:0px}
  .seto-global-header{padding:0!important}
}


/* SETO 1.1.91 – Abrechnungsblatt im Dark Mode: ruhige Grauabstufung statt Weiß/Schwarz */
:root[data-theme="dark"] body.seto-payroll-page .vdn-sheet{background:#D1D4D8!important;color:#20242A!important;border-color:#777E87!important;box-shadow:0 12px 34px rgba(0,0,0,.34)!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-head{border-bottom-color:#666D75!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-company p,:root[data-theme="dark"] body.seto-payroll-page .vdn-kicker,:root[data-theme="dark"] body.seto-payroll-page .vdn-label,:root[data-theme="dark"] body.seto-payroll-page .vdn-period-box span,:root[data-theme="dark"] body.seto-payroll-page .vdn-block-title small,:root[data-theme="dark"] body.seto-payroll-page .vdn-mini-block dt,:root[data-theme="dark"] body.seto-payroll-page .deduction-grid span,:root[data-theme="dark"] body.seto-payroll-page .vdn-net span,:root[data-theme="dark"] body.seto-payroll-page .vdn-footer{color:#2F3740!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-period-box,:root[data-theme="dark"] body.seto-payroll-page .vdn-person,:root[data-theme="dark"] body.seto-payroll-page .vdn-mini-block,:root[data-theme="dark"] body.seto-payroll-page .deduction-grid{border-color:#858B92!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-person>div,:root[data-theme="dark"] body.seto-payroll-page .vdn-net>div{border-color:#9BA0A6!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-block-title{background:#BFC3C8!important;border-bottom-color:#737980!important;color:#22272D!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-table th{color:#303842!important;border-bottom-color:#868C93!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-table td,:root[data-theme="dark"] body.seto-payroll-page .vdn-mini-block dt,:root[data-theme="dark"] body.seto-payroll-page .vdn-mini-block dd{border-color:#B0B4B9!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-table tfoot td{border-top-color:#666D75!important}
:root[data-theme="dark"] body.seto-payroll-page .deduction-grid>div{background:#C8CCD0!important;border-color:#A5AAB0!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-mini-block{background:#C8CCD0!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-net{background:#C4C8CC!important;border-color:#6F767E!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-net .payout{background:#B7BEC8!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-net .payout strong{color:#253F67!important}
:root[data-theme="dark"] body.seto-payroll-page .vdn-empty{color:#37414C!important}
:root[data-theme="dark"] body.seto-payroll-page .shortcut-card,:root[data-theme="dark"] body.seto-payroll-page .workbench-card{background:#2A303B!important;color:#F0F2F6!important;border-color:#424A58!important;box-shadow:0 6px 18px rgba(0,0,0,.18)!important}
:root[data-theme="dark"] body.seto-payroll-page .shortcut-card:hover,:root[data-theme="dark"] body.seto-payroll-page .workbench-card:hover{background:#303744!important;border-color:#666F80!important}
:root[data-theme="dark"] body.seto-payroll-page .shortcut-card small,:root[data-theme="dark"] body.seto-payroll-page .workbench-card small,:root[data-theme="dark"] body.seto-payroll-page .workbench-card>b{color:#AEB6C5!important}
:root[data-theme="dark"] body.seto-payroll-page .shortcut-icon,:root[data-theme="dark"] body.seto-payroll-page .workbench-icon{background:#3A3449!important;color:#D7C8FF!important}

/* SETO 1.1.92 – seitenweiter Dark-Mode-Audit: feste Hellflächen harmonisieren */
:root[data-theme="dark"] body.seto-start-page :is(.hero-copy,.profile-card,.setup-card,.app-card,.quick-card,.dashboard-card,.home-card),
:root[data-theme="dark"] body.seto-profil-page :is(.card,.panel,.profile-card,.section-card,.summary-card),
:root[data-theme="dark"] body.seto-import-page :is(.file-feedback,.vacation-live,.parser-help-preview,.group-preview,.export-source-card,.export-result-card),
:root[data-theme="dark"] body.seto-hilfe-page :is(.section,.help-card,.topic-card),
:root[data-theme="dark"] body.seto-analyse-page :is(.advanced-panel,.result-card,.year-box,.assumption-columns>article,.cost-grid article) {
  background:var(--seto-card)!important;
  color:var(--seto-text)!important;
  border-color:var(--seto-border)!important;
  box-shadow:none!important;
}

:root[data-theme="dark"] body.seto-start-page :is(.dashboard-subcard,.metric-card,.info-card,.stat-card),
:root[data-theme="dark"] body.seto-profil-page :is(.soft,.summary,.profile-meta,.profile-fact),
:root[data-theme="dark"] body.seto-import-page :is(.group-preview-title,.file-feedback-head,.checkline,.aliases span,.summary-badges span,.export-selected-files,.export-sheet-info span),
:root[data-theme="dark"] body.seto-analyse-page :is(.compare-form .head,.compare-form .label,.compare-form>div:nth-child(3n+1),.warning-box) {
  background:var(--seto-card-2)!important;
  color:var(--seto-text)!important;
  border-color:var(--seto-border)!important;
}

:root[data-theme="dark"] body.seto-import-page :is(.form-grid input,.form-grid select,textarea,.secondary,.export-password input,.export-consent-check),
:root[data-theme="dark"] body.seto-profil-page :is(input,select,textarea),
:root[data-theme="dark"] body.seto-analyse-page :is(input,select,textarea,.month-toolbar select) {
  background:var(--seto-card)!important;
  color:var(--seto-text)!important;
  border-color:var(--seto-border)!important;
}
:root[data-theme="dark"] body.seto-import-page :is(.form-grid input[readonly],input:disabled,select:disabled),
:root[data-theme="dark"] body.seto-profil-page :is(input[readonly],input:disabled,select:disabled),
:root[data-theme="dark"] body.seto-analyse-page :is(input[disabled],select:disabled) {
  background:var(--seto-card-2)!important;
  color:var(--seto-muted)!important;
}

:root[data-theme="dark"] body.seto-import-page :is(th,.table th,.group-preview-title),
:root[data-theme="dark"] body.seto-analyse-page :is(th,.table-wrap th:first-child) {
  background:#242B38!important;
  color:#C7CFDA!important;
  border-color:var(--seto-border)!important;
}
:root[data-theme="dark"] body.seto-import-page :is(td,.table td),
:root[data-theme="dark"] body.seto-analyse-page :is(td,.table-wrap td:first-child) {
  border-color:var(--seto-border)!important;
}

/* Statusflächen bleiben semantisch farbig, aber ohne helle Papieroptik. */
:root[data-theme="dark"] body.seto-import-page :is(.parser-warn,.notice.warning,.file-feedback-row.warning .file-feedback-icon,tr.protected td) {
  background:#3F351C!important;color:#F5D780!important;border-color:#6E5B2A!important;
}
:root[data-theme="dark"] body.seto-import-page :is(.parser-bad,.notice.error,.file-feedback-row.error .file-feedback-icon,tr.error td),
:root[data-theme="dark"] body.seto-start-page :is(.error,.btn-danger) {
  background:#452426!important;color:#FFB4AF!important;border-color:#704044!important;
}
:root[data-theme="dark"] body.seto-import-page tr.entry td {
  background:#18382B!important;color:#B6E8CC!important;
}

/* Abrechnung: zusätzliche Spezial- und Auditflächen aus alten Hellstyles. */
:root[data-theme="dark"] body.seto-payroll-page :is(.calendar-basis-grid>div,.calendar-trace,.vdnpi-unknown,.audit-summary-card,.audit-card,.detail-card,.calculation-card,.st-card,.rr-card) {
  background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important;
}
:root[data-theme="dark"] body.seto-payroll-page :is(.profile-overview-facts span,.vdn-local-badge,.vdnpi-summary,.reconcile-summary>div,.calendar-basis-grid>div,.app-nav,.user-chip,.privacy-note) {
  background:var(--surface-2)!important;color:var(--muted)!important;border-color:var(--line)!important;
}
:root[data-theme="dark"] body.seto-payroll-page .audit-summary-card.audit-warn {
  background:#452426!important;color:#FFB4AF!important;border-color:#704044!important;
}

/* Kalender: nur neutrale Bedien-/Infoflächen abdunkeln; fachliche Schicht-, U-, FS- und Feiertagsfarben bleiben unverändert. */
:root[data-theme="dark"] body.seto-calendar-page :is(.card,.panel,.sheet,.modal-content,.dialog-content,.info-box,.settings-card,.legend-panel,.toolbar-panel) {
  background:var(--seto-card)!important;color:var(--seto-text)!important;border-color:var(--seto-border)!important;
}
:root[data-theme="dark"] body.seto-calendar-page :is(input,select,textarea,.formula) {
  background:var(--seto-card-2)!important;color:var(--seto-text)!important;border-color:var(--seto-border)!important;
}

/* Sekundärtext auf allen nachgerüsteten grauen Flächen. */
:root[data-theme="dark"] body.seto-ui :is(.sub,.small,.muted,.hint,.helper-text,.card-note,.field-help) {
  color:var(--seto-muted)!important;
}

/* Druck- und Export-Papieransichten bleiben absichtlich hell. */
@media print {
  :root[data-theme="dark"] body.seto-ui { color-scheme:light!important; }
}

/* SETO 1.1.118 – appweites iOS/Glass Designsystem */
:root{
  --seto-bg:#eef3f8;
  --seto-card:rgba(255,255,255,.72);
  --seto-card-2:rgba(255,255,255,.52);
  --seto-text:#17283d;
  --seto-muted:#4f5f73;
  --seto-border:rgba(255,255,255,.78);
  --seto-primary:#2f75b5;
  --seto-primary-hover:#245f96;
  --seto-link:#286aa6;
  --seto-focus:#5c9bd3;
  --seto-radius:24px;
  --seto-control-radius:14px;
  --seto-shadow:0 18px 50px rgba(23,54,93,.085);
  --seto-shadow-soft:0 8px 26px rgba(23,54,93,.065);
  --seto-glass:rgba(255,255,255,.70);
  --seto-glass-strong:rgba(255,255,255,.84);
  --seto-blue-deep:#17365d;
  --seto-global-h:60px;
}
:root[data-theme="dark"]{
  --seto-bg:#0f1722;
  --seto-card:rgba(24,34,48,.78);
  --seto-card-2:rgba(31,43,59,.68);
  --seto-text:#f3f6fa;
  --seto-muted:#9ba8b9;
  --seto-border:rgba(148,163,184,.18);
  --seto-primary:#5b9bd5;
  --seto-primary-hover:#72afe3;
  --seto-link:#82bae8;
  --seto-focus:#8fc3ee;
  --seto-shadow:0 18px 54px rgba(0,0,0,.25);
  --seto-shadow-soft:0 8px 28px rgba(0,0,0,.18);
  --seto-glass:rgba(24,34,48,.72);
  --seto-glass-strong:rgba(27,39,54,.88);
  --seto-blue-deep:#a9d1f1;
}
body.seto-ui:not(.seto-start-page):not(.seto-login-page){
  background:
    radial-gradient(900px 440px at -8% -12%,rgba(47,117,181,.14),transparent 62%),
    radial-gradient(760px 420px at 108% 3%,rgba(91,155,213,.10),transparent 60%),
    linear-gradient(180deg,#f8fafc 0%,var(--seto-bg) 100%) !important;
  color:var(--seto-text);
  min-height:100svh;
}
:root[data-theme="dark"] body.seto-ui:not(.seto-start-page):not(.seto-login-page){
  background:
    radial-gradient(900px 440px at -8% -12%,rgba(47,117,181,.13),transparent 62%),
    radial-gradient(760px 420px at 108% 3%,rgba(91,155,213,.07),transparent 60%),
    var(--seto-bg) !important;
}

/* Global navigation: iOS floating glass bar */
.seto-global-header{
  top:8px;left:10px;right:10px;width:auto;height:52px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  box-shadow:0 10px 34px rgba(23,54,93,.09);
  backdrop-filter:blur(24px) saturate(150%);
  -webkit-backdrop-filter:blur(24px) saturate(150%);
}
:root[data-theme="dark"] .seto-global-header{background:rgba(18,28,41,.76);border-color:rgba(148,163,184,.18)}
.seto-global-inner{width:min(1360px,calc(100% - 16px));gap:12px}
.seto-logo-wrap,.seto-mark{border-radius:12px}
.seto-main-nav{height:auto;align-items:center;gap:3px}
.seto-main-nav a{
  height:34px;padding:0 12px;border:0!important;border-radius:11px!important;
  font-size:12px;font-weight:760;color:var(--seto-muted);
}
.seto-main-nav a:hover{background:rgba(47,117,181,.08);color:var(--seto-blue-deep)}
.seto-main-nav a.active{background:rgba(47,117,181,.12);color:var(--seto-primary)}
.seto-service-link,.seto-theme-btn{
  min-height:34px;border-color:rgba(255,255,255,.78);border-radius:12px;
  background:rgba(255,255,255,.60);box-shadow:inset 0 1px 0 rgba(255,255,255,.58)
}
:root[data-theme="dark"] .seto-service-link,:root[data-theme="dark"] .seto-theme-btn{background:rgba(31,43,59,.7);border-color:rgba(148,163,184,.18)}
body.seto-ui{padding-top:70px!important}
body.seto-ui.seto-calendar-page{padding-top:calc(70px + var(--header-h,56px))!important}
body.seto-ui .app-header,body.seto-ui .topbar:not(.seto-global-header){top:70px!important}

/* Shared page width and rhythm */
body.seto-ui:not(.seto-start-page) :is(.shell,.container,.app-page,.cal-wrap,.admin-shell,.analysis-content,.import-content){
  width:min(1180px,calc(100% - 28px));
  margin-left:auto;margin-right:auto;
}
body.seto-ui :is(h1,h2,h3,.title){letter-spacing:-.025em}
body.seto-ui :is(.muted,.subtle,.hint,.sub,.source,.field-source,small){color:var(--seto-muted)}

/* Glass surfaces across modules */
body.seto-ui:not(.seto-start-page) :is(
  .panel,.card,.summary-card,.profile-card,.backup-card,.security-card,.info-box,
  .admin-panel,.admin-hero,.shortcut-card,.status-line,.period-strip,.setup-notice,
  .vdn-sheet,.vdn-mini-block,.detail-card,.chart-box,.kpi,.salary-card,.mini,
  .setup-work-card,.setup-choice,.notice,.import-hero,.layout-card,.menu-link
){
  border:1px solid var(--seto-border)!important;
  border-radius:var(--seto-radius)!important;
  background:var(--seto-glass)!important;
  box-shadow:var(--seto-shadow-soft)!important;
  backdrop-filter:blur(22px) saturate(145%);
  -webkit-backdrop-filter:blur(22px) saturate(145%);
}
body.seto-ui:not(.seto-start-page) :is(.panel,.card,.admin-panel,.shortcut-card,.kpi,.setup-work-card,.layout-card){overflow:hidden}

/* Module headers */
body.seto-ui .app-header:not(.seto-global-header),
body.seto-ui .topbar:not(.seto-global-header){
  border-bottom:0!important;background:transparent!important;box-shadow:none!important;
}
body.seto-ui .app-header-inner,
body.seto-ui .topbar:not(.seto-global-header) > :is(.inner,.wrap,.container){
  border:1px solid var(--seto-border);border-radius:18px;background:var(--seto-glass);
  box-shadow:var(--seto-shadow-soft);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)
}

/* Inputs and buttons */
body.seto-ui :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  min-height:42px;border:1px solid rgba(23,54,93,.13)!important;border-radius:13px!important;
  background:rgba(255,255,255,.70)!important;color:var(--seto-text)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65)!important;outline:none;
}
:root[data-theme="dark"] body.seto-ui :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:rgba(19,29,42,.74)!important;border-color:rgba(148,163,184,.2)!important}
body.seto-ui :is(input,select,textarea):focus{border-color:rgba(47,117,181,.55)!important;box-shadow:0 0 0 4px rgba(47,117,181,.10)!important}
body.seto-ui :is(button,.btn,.button,.primary-button,.secondary-button,.text-button,.linkbtn,.admin-btn){
  border-radius:13px!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;
}
body.seto-ui :is(button,.btn,.button,.primary-button,.secondary-button,.text-button,.linkbtn,.admin-btn):active{transform:scale(.98)}
body.seto-ui :is(.primary,.primary-button,.btn.primary,.button.primary,.admin-btn.primary){
  background:var(--seto-primary)!important;border-color:var(--seto-primary)!important;color:#fff!important;
  box-shadow:0 8px 20px rgba(47,117,181,.18)!important;
}
body.seto-ui :is(.secondary,.secondary-button,.ghost,.btn.secondary,.button.secondary,.text-button,.linkbtn){
  background:rgba(255,255,255,.58)!important;border-color:var(--seto-border)!important;color:var(--seto-blue-deep)!important;
}
:root[data-theme="dark"] body.seto-ui :is(.secondary,.secondary-button,.ghost,.btn.secondary,.button.secondary,.text-button,.linkbtn){background:rgba(31,43,59,.68)!important;color:var(--seto-text)!important}

/* Pills, tabs, badges */
body.seto-ui :is(.tab,.pill,.badge,.source-badge,.count-badge,.user-chip){border-radius:999px!important}
body.seto-ui :is(.tab.active,.pill.active,.app-nav-link.active,.bn-item.active){color:var(--seto-primary)!important}
body.seto-ui .app-nav-link{border-radius:11px!important;border:0!important}
body.seto-ui .app-nav-link.active{background:rgba(47,117,181,.10)!important}

/* Tables */
body.seto-ui :is(.table-scroll,.table-wrap,.vdn-table-wrap){border-radius:16px;overflow:auto;border:1px solid rgba(23,54,93,.08)}
body.seto-ui table{border-collapse:separate;border-spacing:0}
body.seto-ui table thead th{background:rgba(47,117,181,.055);color:var(--seto-blue-deep);font-size:11px;letter-spacing:.02em}
body.seto-ui table tbody tr:hover td{background:rgba(47,117,181,.035)}

/* Profile */
body.seto-profil-page .hero{border-radius:28px!important;padding:22px!important;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,255,255,.55))!important;border:1px solid var(--seto-border)!important;box-shadow:var(--seto-shadow)!important}
body.seto-profil-page .tabs{gap:5px;padding:5px;border-radius:16px;background:rgba(255,255,255,.48);border:1px solid var(--seto-border)}
body.seto-profil-page .tab{padding:8px 12px!important}
body.seto-profil-page .tab.active{background:rgba(47,117,181,.12)!important}
body.seto-profil-page .form-grid{gap:12px}
body.seto-profil-page .panel{padding:18px!important}

/* Payroll */
body.seto-payroll-page{--accent:var(--seto-primary)!important;--accent-dark:var(--seto-blue-deep)!important;--accent-soft:rgba(47,117,181,.10)!important}
body.seto-payroll-page .app-page{padding-top:14px!important}
body.seto-payroll-page .period-strip{padding:10px 12px!important}
body.seto-payroll-page .status-line{padding:10px 14px!important}
body.seto-payroll-page .vdn-sheet{background:rgba(255,255,255,.80)!important;border-radius:26px!important}
body.seto-payroll-page .vdn-head{background:linear-gradient(135deg,rgba(47,117,181,.11),rgba(255,255,255,.12))!important}
body.seto-payroll-page .vdn-block-title{color:var(--seto-blue-deep)!important}
body.seto-payroll-page .vdn-person{background:rgba(47,117,181,.04)!important}

/* Analysis */
body.seto-analyse-page .analysis-layout{gap:14px!important}
body.seto-analyse-page .analysis-sidebar{border-radius:22px!important;border:1px solid var(--seto-border)!important;background:var(--seto-glass)!important;box-shadow:var(--seto-shadow-soft)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.seto-analyse-page .analysis-nav-group{border-radius:14px!important}
body.seto-analyse-page .analysis-nav-group.active,body.seto-analyse-page .analysis-nav-group:hover{background:rgba(47,117,181,.08)!important}
body.seto-analyse-page .kpi{padding:14px!important}
body.seto-analyse-page .section-head{margin-bottom:12px!important}
body.seto-analyse-page .card{padding:17px!important}

/* Importer */
body.seto-import-page .import-layout{gap:14px!important}
body.seto-import-page .import-sidebar{border-radius:22px!important;border:1px solid var(--seto-border)!important;background:var(--seto-glass)!important;box-shadow:var(--seto-shadow-soft)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.seto-import-page .import-nav-group{border-radius:14px!important}
body.seto-import-page .import-nav-group.active,body.seto-import-page .import-nav-group:hover{background:rgba(47,117,181,.08)!important}
body.seto-import-page .card{padding:17px!important}
body.seto-import-page .setup-choice{padding:14px!important}

/* Admin */
body.seto-admin-page .admin-shell{padding-top:14px}
body.seto-admin-page .admin-hero{padding:20px!important}
body.seto-admin-page .admin-tabs{padding:5px;border-radius:16px;background:rgba(255,255,255,.48);border:1px solid var(--seto-border)}
body.seto-admin-page .admin-tabs button.active{background:rgba(47,117,181,.12)!important;color:var(--seto-primary)!important}
body.seto-admin-page .admin-panel{padding:17px!important}

/* Calendar – preserve semantic day colors, rest gets glass */
body.seto-calendar-page .calendar-app-header{background:transparent!important}
body.seto-calendar-page .cal-top{border-radius:20px!important;border:1px solid var(--seto-border)!important;background:var(--seto-glass)!important;box-shadow:var(--seto-shadow-soft)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.seto-calendar-page .bottom-nav{border:1px solid var(--seto-border)!important;border-radius:18px!important;background:var(--seto-glass-strong)!important;box-shadow:0 12px 34px rgba(23,54,93,.11)!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body.seto-calendar-page .bn-item{border-radius:12px!important}
body.seto-calendar-page .bn-item.active{background:rgba(47,117,181,.10)!important}
body.seto-calendar-page #editor{border-radius:22px 22px 0 0!important;background:var(--seto-glass-strong)!important;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 -12px 36px rgba(23,54,93,.12)!important}
body.seto-calendar-page .entry-buttons{gap:6px!important}
body.seto-calendar-page .btn-type{border-radius:12px!important}

@media(max-width:860px){
  .seto-global-header{top:6px;left:7px;right:7px;border-radius:16px}
  body.seto-ui{padding-top:66px!important}
  body.seto-ui.seto-calendar-page{padding-top:calc(66px + var(--header-h,56px))!important}
  body.seto-ui .app-header,body.seto-ui .topbar:not(.seto-global-header){top:66px!important}
  body.seto-ui:not(.seto-start-page) :is(.shell,.container,.app-page,.cal-wrap,.admin-shell,.analysis-content,.import-content){width:min(100% - 18px,1180px)}
  body.seto-ui:not(.seto-start-page) :is(.panel,.card,.summary-card,.profile-card,.admin-panel,.vdn-sheet,.chart-box,.kpi,.setup-work-card,.layout-card){border-radius:20px!important}
  body.seto-profil-page .panel,body.seto-analyse-page .card,body.seto-import-page .card,body.seto-admin-page .admin-panel{padding:14px!important}
}
@media(max-width:600px){
  body.seto-ui:not(.seto-start-page) :is(.shell,.container,.app-page,.cal-wrap,.admin-shell,.analysis-content,.import-content){width:calc(100% - 14px)}
  .seto-service-link,.seto-theme-btn{border-radius:11px}
  body.seto-ui :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){min-height:40px;border-radius:12px!important}
  body.seto-payroll-page .vdn-sheet{border-radius:20px!important}
  body.seto-calendar-page .bottom-nav{left:7px!important;right:7px!important;bottom:max(7px,env(safe-area-inset-bottom))!important}
}
@media print{
  body.seto-ui:not(.seto-start-page):not(.seto-login-page){background:#fff!important}
  body.seto-ui :is(.panel,.card,.vdn-sheet,.admin-panel,.layout-card){box-shadow:none!important;backdrop-filter:none!important;background:#fff!important;border-color:#ddd!important}
}


/* SETO 1.1.166 – Navigation & Aktionshierarchie */
.seto-mobile-menu-theme{
  width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--seto-text);
  padding:10px 12px;border-radius:10px;font:inherit;text-align:left;cursor:pointer;
}
.seto-mobile-menu-theme:hover{background:var(--seto-card-2)}
.seto-mobile-menu-theme span{width:22px;text-align:center}
.seto-mobile-menu-theme b{font-size:12px}

.seto-diagnostic-fold{margin-top:18px;border:1px solid var(--seto-border);border-radius:14px;background:var(--seto-card)}
.seto-diagnostic-fold>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px}
.seto-diagnostic-fold>summary::-webkit-details-marker{display:none}
.seto-diagnostic-fold>summary span:first-child{display:grid;gap:3px}
.seto-diagnostic-fold>summary small{color:var(--seto-muted);font-size:11px;font-weight:600}
.seto-diagnostic-actions{padding:0 16px 16px;display:flex;gap:8px;flex-wrap:wrap}
.seto-inline-diagnostic{display:inline-block;vertical-align:middle}
.seto-inline-diagnostic>summary{list-style:none;cursor:pointer;border:1px solid var(--seto-border);border-radius:10px;padding:9px 12px;color:var(--seto-muted);font-size:12px;font-weight:750;background:var(--seto-card)}
.seto-inline-diagnostic>summary::-webkit-details-marker{display:none}
.seto-inline-diagnostic[open]>summary{color:var(--seto-primary);border-color:var(--seto-primary)}
.seto-inline-diagnostic>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}

/* Profil besitzt keine zweite globale Modulnavigation mehr. */
body.seto-profil-page>.topbar{display:none!important}

@media(max-width:760px){
  /* Mobile Hauptführung: Start · Kalender · Abrechnung · Mehr. */
  .seto-global-inner{width:100%;padding:0 8px;gap:4px;justify-content:center}
  .seto-wordmark{display:none!important}
  .seto-main-nav{display:none!important}
  .seto-global-actions{display:none!important}
  .seto-mobile-primary-nav{display:flex!important;flex:1;align-items:stretch;justify-content:space-evenly;min-width:0;height:100%;gap:2px}
  .seto-mobile-primary-nav>a{flex:1;min-width:0;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 2px;color:var(--seto-muted);text-decoration:none;border-radius:10px;font-size:10px;font-weight:760}
  .seto-mobile-primary-nav>a.active{color:var(--seto-primary);background:color-mix(in srgb,var(--seto-primary) 10%,transparent)}
  .seto-mobile-nav-icon{height:19px;min-width:19px;display:grid;place-items:center;font-size:17px;line-height:1}
  .seto-mobile-nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
  .seto-mobile-primary-nav b{font-size:9.5px;line-height:1.1;white-space:nowrap}
  .seto-mobile-modules{display:block!important;position:relative;flex:0 0 54px;height:100%}
  .seto-mobile-modules-btn{width:100%;height:100%;border:0;background:transparent;color:var(--seto-muted);display:flex;align-items:center;justify-content:center;font-weight:900;cursor:pointer}
  .seto-mobile-modules-btn::after{content:'Mehr';position:absolute;bottom:7px;left:0;right:0;font-size:9.5px;font-weight:760}
  .seto-mobile-modules-btn span{font-size:18px;transform:translateY(-6px)}
}

/* SETO 1.1.167 – Mobile Navigation: Safe Area, Sticky-Ebenen und Bedienbarkeit */
:root{
  --seto-safe-bottom:env(safe-area-inset-bottom,0px);
  --seto-layer-module-nav:700;
  --seto-layer-global-nav:900;
  --seto-layer-menu:1000;
}

/* UI2 hatte auf schmalen Displays die Safe-Area-Geometrie wieder auf feste 66 px reduziert.
   Bis 860 px gilt deshalb nur noch die zentrale SETO-Höhe. */
@media(max-width:860px){
  :root{
    --seto-global-bar-h:60px;
    --seto-global-h:calc(var(--seto-global-bar-h) + var(--seto-safe-top));
  }
  .seto-global-header{
    top:0!important;
    left:0!important;
    right:0!important;
    height:var(--seto-global-h)!important;
    min-height:var(--seto-global-h)!important;
    padding-top:var(--seto-safe-top)!important;
    border-radius:0 0 16px 16px!important;
    z-index:var(--seto-layer-global-nav)!important;
  }
  .seto-global-inner{
    height:var(--seto-global-bar-h)!important;
    min-height:var(--seto-global-bar-h)!important;
  }
  body.seto-ui,
  body.seto-ui.seto-calendar-page{
    padding-top:var(--seto-global-h)!important;
  }
  body.seto-ui .app-header,
  body.seto-ui .topbar:not(.seto-global-header){
    top:var(--seto-global-h)!important;
  }
  body.seto-payroll-page{
    padding-top:var(--seto-global-h)!important;
  }
  body.seto-payroll-page .seto-module-nav{
    top:var(--seto-global-h)!important;
    z-index:var(--seto-layer-module-nav)!important;
  }
}

/* Analyse und Importer besitzen auf Tablet/Phone eine lokale Sticky-Navigation.
   Sie klebt unter der globalen SETO-Leiste und nicht mehr bei top:0. */
@media(max-width:820px){
  body.seto-analyse-page .analysis-mobile-nav,
  body.seto-import-page .import-mobile-nav,
  body.seto-payroll-page .payroll-mobile-nav{
    top:var(--seto-global-h)!important;
    z-index:var(--seto-layer-module-nav)!important;
  }
  body.seto-analyse-page .analysis-mobile-links,
  body.seto-import-page .import-mobile-links,
  body.seto-payroll-page .payroll-mobile-links{
    max-height:calc(100vh - var(--seto-global-h) - 92px);
    max-height:calc(100dvh - var(--seto-global-h) - 92px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
}

@media(max-width:760px){
  :root{
    --seto-global-bar-h:58px;
    --seto-global-h:calc(var(--seto-global-bar-h) + var(--seto-safe-top));
    --seto-calendar-nav-total-h:calc(var(--nav-h,64px) + var(--seto-safe-bottom));
  }

  /* Eine einzige mobile Hauptzeile: Start · Kalender · Abrechnung · Mehr. */
  .seto-global-inner{
    width:100%!important;
    height:var(--seto-global-bar-h)!important;
    min-height:var(--seto-global-bar-h)!important;
    padding:0 max(8px,var(--seto-safe-left)) 0 max(8px,var(--seto-safe-right))!important;
    display:flex!important;
    align-items:stretch!important;
    gap:4px!important;
  }
  .seto-wordmark,
  .seto-main-nav,
  .seto-global-actions{
    display:none!important;
  }
  .seto-mobile-primary-nav{
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    height:100%!important;
    align-items:stretch!important;
    gap:2px!important;
  }
  .seto-mobile-primary-nav>a{
    min-width:0!important;
    min-height:44px!important;
    height:100%!important;
  }
  .seto-mobile-modules{
    display:block!important;
    position:relative!important;
    flex:0 0 54px!important;
    height:100%!important;
  }
  .seto-mobile-modules-btn{
    min-width:44px!important;
    min-height:44px!important;
  }
  .seto-mobile-modules-menu{
    top:calc(var(--seto-global-h) + 6px)!important;
    left:max(8px,var(--seto-safe-left))!important;
    right:max(8px,var(--seto-safe-right))!important;
    max-height:calc(100vh - var(--seto-global-h) - 14px);
    max-height:calc(100dvh - var(--seto-global-h) - 14px);
    overflow-y:auto!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    z-index:var(--seto-layer-menu)!important;
  }

  /* Abrechnung: die zweite Zeile reserviert zuverlässig ihren eigenen Platz. */
  body.seto-payroll-page{
    padding-top:var(--seto-global-h)!important;
  }
  body.seto-payroll-page .seto-module-nav{
    top:var(--seto-global-h)!important;
    z-index:var(--seto-layer-module-nav)!important;
    min-height:var(--seto-module-h)!important;
    scroll-padding-inline:8px;
  }
  body.seto-payroll-page .seto-module-nav .app-nav-link{
    min-height:40px!important;
  }

  /* Kalender: Bottom-Bar, Editor und Toast verwenden dieselbe Safe-Area-Geometrie. */
  body.seto-calendar-nav-page{
    padding-top:var(--seto-global-h)!important;
    padding-bottom:calc(var(--seto-calendar-nav-total-h) + 10px)!important;
  }
  body.seto-calendar-nav-page .bottom-nav{
    top:auto!important;
    bottom:0!important;
    left:7px!important;
    right:7px!important;
    height:var(--seto-calendar-nav-total-h)!important;
    padding-bottom:var(--seto-safe-bottom)!important;
    border-radius:18px 18px 0 0!important;
    z-index:var(--seto-layer-module-nav)!important;
  }
  body.seto-calendar-nav-page #editor{
    bottom:var(--seto-calendar-nav-total-h)!important;
    max-height:calc(100vh - var(--seto-global-h) - var(--seto-calendar-nav-total-h) - 10px);
    max-height:calc(100dvh - var(--seto-global-h) - var(--seto-calendar-nav-total-h) - 10px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    z-index:calc(var(--seto-layer-module-nav) - 100)!important;
  }
  body.seto-calendar-nav-page .app-toast{
    bottom:calc(var(--seto-calendar-nav-total-h) + 14px)!important;
  }

  /* Admin: keine dritte feste Kopfzeile. Tabs bleiben direkt unter SETO sticky. */
  body.seto-admin-page .admin-topbar{
    position:relative!important;
    top:auto!important;
    height:auto!important;
    min-height:62px;
    z-index:auto!important;
  }
  body.seto-admin-page .admin-tabs{
    top:calc(var(--seto-global-h) + 6px)!important;
    z-index:var(--seto-layer-module-nav)!important;
  }
}

@media print{
  :root{--seto-safe-bottom:0px}
}

/* Failed validation never reveals protected contents. Only recovery UI is shown. */
html.seto-auth-failed body > :not(#seto-start-error){display:none!important}
html.seto-auth-failed body{visibility:visible!important}
#seto-start-error{box-sizing:border-box;max-width:640px;margin:10vh auto;padding:28px;background:#fff;color:#24364b;border:1px solid #ccd5df;border-radius:16px;font:16px/1.6 system-ui}
#seto-start-error h1{color:#17365d;font-size:24px}
#seto-start-error button,#seto-start-error a{display:inline-block;margin:8px;padding:12px 16px;border:1px solid #17365d;border-radius:8px;background:#17365d;color:#fff;cursor:pointer;font:inherit}
#seto-start-error :focus-visible{outline:3px solid #b45309;outline-offset:3px}

/* Feedback 107/108 – Desktop: Start/Kalender/Abrechnung/Analyse/Mehr statt verteilter Servicemenüs. */
.seto-desktop-more{position:relative;height:100%;display:flex;align-items:center}.seto-desktop-more>summary{list-style:none;cursor:pointer;height:100%;display:flex;align-items:center;padding:0 12px;border-bottom:3px solid transparent;color:var(--seto-muted);font-size:13px;font-weight:720}.seto-desktop-more>summary::-webkit-details-marker{display:none}.seto-desktop-more>summary:hover,.seto-desktop-more[open]>summary{color:var(--seto-text);background:var(--seto-card-2)}.seto-desktop-more>nav{position:absolute;z-index:100;right:0;top:calc(100% + 5px);min-width:220px;display:grid;gap:3px;padding:7px;border:1px solid var(--seto-border);border-radius:12px;background:var(--seto-card);box-shadow:0 14px 36px rgba(16,24,40,.18)}.seto-main-nav .seto-desktop-more>nav a{min-height:38px;padding:8px 10px;border:0;border-radius:8px;font-size:12px;white-space:nowrap}.seto-main-nav .seto-desktop-more>nav a.active{border:0;background:var(--seto-card-2);color:var(--seto-primary)}
@media(max-width:760px){.seto-desktop-more{display:none!important}}

/* END shared/seto-ui.css */
