
:root{--ink:#0d1f38;--navy:#112a4c;--blue:#155eef;--muted:#607089;--bg:#eef3f8;--card:#fff;--line:#d7e1ec;--ok:#067647;--warn:#a15c00;--bad:#b42318;--soft:#f6f8fb}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.45}
.po-public-wrap{max-width:940px;margin:0 auto;padding:20px 14px 60px}.po-public-hero{background:linear-gradient(135deg,#102a4f,#174f8c);color:#fff;border-radius:24px;padding:25px;box-shadow:0 16px 42px rgba(15,42,79,.22);margin:10px 0 16px}
.po-public-hero h1{font-size:clamp(1.9rem,6vw,3rem);line-height:1.02;margin:0 0 10px;letter-spacing:-.045em}.po-public-hero p{margin:0;color:#e5edf7;font-weight:650;max-width:760px}
.po-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.po-step{background:#fff;border:1px solid var(--line);border-radius:15px;padding:11px 13px;font-size:13px;font-weight:850}.po-step strong{display:block;font-size:15px}.po-step.active{border-color:#8db4ff;background:#eef4ff}
.po-card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 9px 27px rgba(16,42,76,.07);margin:14px 0}.po-card h2{margin:0 0 6px;font-size:1.25rem}.po-card p{margin:0 0 14px;color:var(--muted)}
.po-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.po-full{grid-column:1/-1}.po-field label{display:block;font-size:13px;font-weight:850;color:#253b58;margin:0 0 5px}.po-field input,.po-field select,.po-field textarea{width:100%;border:1px solid #cbd7e5;border-radius:12px;padding:11px 12px;background:#fff;font:inherit;color:var(--ink)}.po-field textarea{min-height:92px;resize:vertical}.po-field input:focus,.po-field select:focus,.po-field textarea:focus{outline:3px solid rgba(21,94,239,.13);border-color:#6d9bf8}.po-hint{font-size:12px;color:var(--muted);margin-top:4px}
.po-check{display:flex;gap:10px;align-items:flex-start;margin:10px 0}.po-check input{width:auto;margin-top:4px}.po-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:18px}.po-btn{border:0;border-radius:999px;padding:11px 17px;background:#155eef;color:#fff;font-weight:900;font-size:14px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.po-btn.light{background:#e8edf4;color:#122846}.po-btn.gold{background:#e8c968;color:#162033}.po-btn:disabled{opacity:.55;cursor:not-allowed}
.po-notice{border-radius:16px;padding:13px 15px;margin:12px 0;font-weight:750}.po-notice.ok{background:#dcfae6;border:1px solid #75e0a7;color:#05603a}.po-notice.warn{background:#fff4df;border:1px solid #f7c76c;color:#7a4100}.po-notice.bad{background:#fee4e2;border:1px solid #fda29b;color:#912018}.po-linkbox{background:#f3f7ff;border:1px dashed #8db4ff;border-radius:15px;padding:14px;overflow-wrap:anywhere}.po-linkbox code{font-size:12px}.po-optional{display:inline-block;background:#eff2f6;color:#5d6c80;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:800;margin-left:5px}
.po-locked{text-align:center;padding:28px}.po-locked .icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#dcfae6;color:#067647;margin:0 auto 12px;font-size:24px;font-weight:950}
@media(max-width:700px){.po-public-wrap{padding:10px 10px 40px}.po-public-hero{border-radius:18px;padding:19px}.po-grid,.po-progress{grid-template-columns:1fr}.po-card{border-radius:17px;padding:15px}.po-actions .po-btn{width:100%}}

/* Admin-Onboarding */
.poa-admin-body{background:var(--bg)}.poa-admin-wrap{max-width:1240px;margin:28px auto 60px;padding:0 14px}.poa-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(135deg,#fff,#eef5ff);border:1px solid var(--line);border-radius:25px;padding:24px;box-shadow:0 10px 32px rgba(16,42,76,.08);margin-bottom:16px}.poa-eyebrow{font-size:12px;letter-spacing:.1em;font-weight:950;color:#48617f}.poa-hero h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.045em;line-height:1;margin:7px 0 10px}.poa-hero p{max-width:820px;color:var(--muted);font-weight:700;margin:0}.poa-hero-actions,.poa-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.poa-card{background:#fff;border:1px solid var(--line);border-radius:21px;padding:19px;box-shadow:0 8px 26px rgba(16,42,76,.06);margin:14px 0}.poa-card.compact{margin:0;min-height:135px}.poa-card.compact>span{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:900}.poa-card.compact>strong{display:block;font-size:1.25rem;margin:8px 0}.poa-card.compact>small{display:block;color:var(--muted);font-weight:650}.poa-card h2{margin:0 0 6px}.poa-card h3{margin:22px 0 10px;color:#273d5a}.poa-card-head{display:flex;justify-content:space-between;gap:15px}.poa-card-head p{margin:5px 0;color:var(--muted)}
.poa-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:999px!important;padding:10px 15px!important;background:#155eef!important;color:#fff!important;text-decoration:none!important;font-weight:900!important;font-size:13px!important;cursor:pointer!important}.poa-btn.light{background:#e8edf4!important;color:#142a47!important}.poa-btn.gold{background:#e7c766!important;color:#172136!important}.poa-btn.success{background:#087a46!important}.poa-btn.danger{background:#b42318!important}.poa-btn.small{padding:7px 11px!important;font-size:12px!important}.poa-alert{border-radius:16px;padding:14px 16px;margin:13px 0}.poa-alert.ok{background:#dcfae6;border:1px solid #75e0a7;color:#05603a}.poa-alert.warn{background:#fff4df;border:1px solid #f7c76c;color:#7a4100}.poa-alert.bad{background:#fee4e2;border:1px solid #fda29b;color:#912018}.poa-alert p{margin:7px 0 0}.poa-copy{display:flex;gap:8px;align-items:center;margin-top:10px}.poa-copy code{flex:1;background:rgba(255,255,255,.55);border-radius:9px;padding:8px;word-break:break-all}.poa-copy button{border:0;border-radius:999px;padding:8px 12px;font-weight:850;cursor:pointer}
.poa-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:15px 0}.poa-stats>div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 7px 22px rgba(16,42,76,.05)}.poa-stats span{display:block;color:var(--muted);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.poa-stats strong{display:block;font-size:1.8rem;margin-top:6px}.poa-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.poa-process{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.poa-process>div{position:relative;background:#f3f6fa;border:1px solid var(--line);border-radius:17px;padding:14px 14px 14px 50px;min-height:82px}.poa-process b{position:absolute;left:13px;top:15px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#d9e2ee}.poa-process strong,.poa-process span{display:block}.poa-process span{font-size:12px;color:var(--muted);margin-top:4px}.poa-process .active{background:#eef4ff;border-color:#9abaff}.poa-process .done{background:#e5f8ec;border-color:#9cddb6}.poa-process .done b{background:#087a46;color:#fff}
.poa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.poa-field label{display:block;font-size:13px;font-weight:850;color:#273d5a;margin-bottom:5px}.poa-field input,.poa-field select,.poa-field textarea,.poa-toolbar input,.poa-toolbar select,.poa-card textarea{width:100%;border:1px solid #cbd7e5;border-radius:11px;padding:10px 11px;background:#fff;color:var(--ink);font:inherit}.poa-field textarea,.poa-card textarea{min-height:88px;resize:vertical}.poa-field small{display:block;color:var(--muted);margin-top:4px}.poa-full{grid-column:1/-1}.poa-check{display:flex;gap:9px;align-items:flex-start;padding:9px 0;font-weight:700}.poa-check input{width:auto;margin-top:4px}.poa-form{padding-top:14px}.poa-form .poa-actions{justify-content:flex-end}.poa-invite .poa-actions{justify-content:flex-end}
.poa-toolbar form{display:grid;grid-template-columns:minmax(240px,1fr) 260px auto auto;gap:9px}.poa-table-wrap{overflow:auto;margin-top:14px}.poa-table{width:100%;border-collapse:collapse;min-width:900px}.poa-table th,.poa-table td{padding:11px 10px;text-align:left;border-bottom:1px solid #e3e9f0;vertical-align:middle}.poa-table th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#58708c;background:#f8fafc}.poa-table small{display:block;color:var(--muted);margin-top:3px}.poa-empty{text-align:center!important;padding:30px!important;color:var(--muted)}.poa-badge{display:inline-flex;border-radius:999px;background:#edf1f6;color:#3d516a;padding:4px 9px;font-size:11px;font-weight:900}.poa-badge.ok,.status-bereit_lohn,.status-uebernommen,.status-aktiv{background:#dff8e8;color:#05603a}.status-eingereicht,.status-mitarbeiter_ergaenzt{background:#e8f0ff;color:#174b9b}.status-rueckfrage,.status-arbeitgeber_pruefung{background:#fff0d7;color:#855000}.status-nicht_eingestellt,.status-ausgeschieden{background:#fce7e5;color:#9b241c}.poa-badge.muted{background:#eef1f5;color:#657489}
.poa-duplicate{border-color:#f0b65a}.poa-dup-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-top:1px solid #e8edf3}.poa-dup-row small{display:block;color:var(--muted)}.poa-decision{border:2px solid #9abaff}.poa-decision form{margin:11px 0}.poa-split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.poa-inline{display:inline-flex;margin:8px 7px 0 0}.poa-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.poa-three>div{border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:15px}.poa-three p{color:var(--muted);font-weight:650;margin-bottom:0}.poa-timeline>div{display:grid;grid-template-columns:150px minmax(180px,1fr) 2fr;gap:10px;padding:10px 0;border-bottom:1px solid #e5ebf2}.poa-timeline time,.poa-timeline span{color:var(--muted);font-size:13px}.text-ok{color:#067647}.text-warn{color:#a15c00}details.poa-card>summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;list-style:none}details.poa-card>summary::-webkit-details-marker{display:none}details.poa-card>summary span{color:var(--muted);font-size:13px;font-weight:700}
@media(max-width:1050px){.poa-stats{grid-template-columns:repeat(2,1fr)}.poa-summary-grid{grid-template-columns:repeat(2,1fr)}.poa-hero{align-items:flex-start;flex-direction:column}.poa-toolbar form{grid-template-columns:1fr 1fr}.poa-three{grid-template-columns:1fr}}
@media(max-width:720px){.poa-admin-wrap{margin-top:15px;padding:0 9px}.poa-hero,.poa-card{border-radius:17px;padding:15px}.poa-stats,.poa-summary-grid,.poa-process,.poa-grid,.poa-split{grid-template-columns:1fr}.poa-toolbar form{grid-template-columns:1fr}.poa-full{grid-column:auto}.poa-hero-actions,.poa-actions{width:100%}.poa-hero-actions .poa-btn,.poa-actions .poa-btn{flex:1}.poa-copy,.poa-dup-row{align-items:stretch;flex-direction:column}.poa-timeline>div{grid-template-columns:1fr;gap:2px}}

/* Guided payroll assistant v2 */
.poa-guide{display:flex;justify-content:space-between;gap:16px;align-items:center;background:linear-gradient(135deg,#edf5ff,#f8fbff);border:1px solid #9bbcf5;border-radius:18px;padding:16px;margin-bottom:10px}
.poa-guide p{margin:4px 0 0;color:var(--muted);font-weight:650}.poa-guide-tags{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.poa-guide-tags span{background:#fff;border:1px solid #cad9ec;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:850}
.poa-estimate{background:#f7f9fc;border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin:10px 0 18px;font-weight:750}.poa-estimate span{color:var(--muted);margin-left:5px}
.poa-info{background:#f3f7ff;border:1px solid #b9cff5;border-radius:13px;padding:12px}.poa-info strong,.poa-info span{display:block}.poa-info span{font-size:12px;color:var(--muted);margin-top:4px}
@media(max-width:720px){.poa-guide{align-items:flex-start;flex-direction:column}.poa-guide-tags{justify-content:flex-start}}
