: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}}
