/* Leitungsdashboard */
.dashboard-filter{display:grid;gap:7px;font-size:13px;color:#526f7c;min-width:180px}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.kpi{background:#fff;border:1px solid #dfe7eb;border-radius:11px;padding:20px;min-width:0}.kpi>span{color:#5d7581;font-size:13px}.kpi strong{display:block;font-size:30px;letter-spacing:-1px;margin:8px 0 5px}.kpi small{color:#677f8a;font-size:12px;line-height:1.45}.primary-kpi{background:#153d4d;color:white;border-color:#153d4d}.primary-kpi>span,.primary-kpi small{color:#c6d9e1}.warning-kpi strong{color:#a66116}.kpi-progress,.mini-progress{height:7px;border-radius:8px;background:#355868;overflow:hidden;margin:10px 0}.kpi-progress i,.mini-progress i{display:block;height:100%;background:#45d9bb;border-radius:inherit}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:22px;align-items:start}.coverage-panel .panel-head .muted,.station-panel .panel-head .muted{margin-top:5px;font-size:12px}.dashboard-bars{padding:10px 22px 20px}.bar-row{display:grid;grid-template-columns:100px minmax(150px,1fr) 170px;align-items:center;gap:15px;padding:13px 0;border-bottom:1px solid #edf1f3}.bar-row:last-child{border-bottom:0}.bar-label{display:flex;justify-content:space-between;gap:8px;font-size:12px}.bar-label strong{font-size:13px}.bar-label span{color:#637b86}.bar-track{display:flex;height:14px;background:#edf2f4;border-radius:10px;overflow:hidden}.bar-track i{display:block;height:100%}.bar-occupied{background:#138b78}.bar-missing{background:#e8ad42}.bar-values{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#68808b}.bar-values strong{color:#926119;font-weight:650}.chart-legend{display:flex;flex-wrap:wrap;gap:16px;padding:15px 22px;border-top:1px solid #e8eef0;color:#647c87;font-size:12px}.chart-legend span{display:flex;align-items:center;gap:7px}.dot{width:9px;height:9px;border-radius:50%;display:inline-block}.dot.occupied{background:#138b78}.dot.missing{background:#e8ad42}.attention-list button{width:100%;border:0;border-bottom:1px solid #e8eef0;background:white;text-align:left;padding:18px;display:grid;grid-template-columns:34px 1fr 12px;gap:12px;align-items:center;color:#244653}.attention-list button:last-child{border-bottom:0}.attention-list button:hover{background:#f7fafb}.attention-list span:nth-child(2){min-width:0}.attention-list strong,.attention-list small{display:block}.attention-list strong{font-size:14px}.attention-list small{font-size:12px;color:#687f8a;margin-top:5px;line-height:1.45}.attention-icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:750}.attention-icon.amber{background:#fff0c9;color:#825812}.attention-icon.red{background:#fbe7e3;color:#913d2c}.attention-icon.blue{background:#e5f0f5;color:#35697d}.station-panel{margin-top:22px}.station-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:0}.station-cards article{padding:22px}.station-cards article+article{border-left:1px solid #e8eef0}.station-cards article>div:first-child{display:flex;justify-content:space-between;gap:12px}.station-cards article>div:first-child strong{font-size:22px}.station-cards article p{font-size:13px;color:#627a85;margin:9px 0}.station-cards article p b{color:#8b5b16}.station-cards .mini-progress{background:#edf2f4;margin:12px 0}.station-cards .mini-progress i{background:#138b78}.calculation-note{margin-top:18px;padding:17px 20px;border-radius:9px;background:#e9f1f4;color:#486773;font-size:13px;line-height:1.6}.calculation-note strong{color:#244653}@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}@media(max-width:760px){.dashboard-heading .dashboard-filter{width:100%}.dashboard-kpis{grid-template-columns:1fr 1fr;gap:8px}.kpi{padding:15px}.kpi strong{font-size:24px}.bar-row{grid-template-columns:80px 1fr}.bar-values{grid-column:2}.station-cards{grid-template-columns:1fr}.station-cards article+article{border-left:0;border-top:1px solid #e8eef0}}@media(max-width:480px){.dashboard-kpis{grid-template-columns:1fr}.bar-row{grid-template-columns:1fr;gap:7px}.bar-values{grid-column:1}.chart-legend span:last-child{width:100%}}

.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.sickness-kpi{border-color:#edc5bd;background:#fff8f6}.sickness-kpi strong{color:#984735}.dispatch-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.dispatch-layout{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(380px,1.2fr);gap:22px;align-items:start}.dispatch-form{padding:22px}.dispatch-form label{display:grid;gap:7px;margin-bottom:17px;font-size:14px;color:#416170;font-weight:550}.dispatch-form input,.dispatch-form textarea{font:inherit;color:#234653;padding:11px 12px;border:1px solid #cbd9df;border-radius:7px;background:#fff;width:100%}.dispatch-form textarea{resize:vertical}.dispatch-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.dispatch-form .button{margin-top:6px;width:100%}.dispatch-list{padding:0 20px}.dispatch-list article{padding:20px 0;border-bottom:1px solid #e6edef;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.dispatch-list article:last-child{border-bottom:0}.dispatch-list article strong{display:block;margin:10px 0 5px}.dispatch-list article p{font-size:13px;color:#5e7783}.dispatch-list article small{display:block;margin-top:5px;color:#6b818b}.dispatch-list .dispatch-note{margin-top:10px;padding:9px 11px;background:#f4f7f8;border-radius:6px}.dispatch-list article>.button{flex-shrink:0;font-size:12px}@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(2,1fr)}.dispatch-layout{grid-template-columns:1fr}}@media(max-width:760px){.dashboard-kpis,.dispatch-kpis{grid-template-columns:1fr 1fr}.dispatch-form-grid{grid-template-columns:1fr}.dispatch-list article{flex-direction:column}}@media(max-width:480px){.dashboard-kpis,.dispatch-kpis{grid-template-columns:1fr}}

.schedule-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;padding:17px 22px;background:#f7fafb;border-bottom:1px solid #e6edef}.schedule-toolbar label{display:grid;gap:6px;font-size:12px;color:#57717d;min-width:150px}.schedule-toolbar input{font:inherit;color:#234653;padding:9px 11px;border:1px solid #cbd9df;border-radius:7px;background:#fff;min-height:42px}.employee-schedule .panel-head{align-items:flex-start}.schedule-list{padding-top:6px;padding-bottom:6px}.schedule-list .my-shift:last-child{border-bottom:0}.inline-empty{padding-left:0;padding-right:0}@media(max-width:540px){.schedule-toolbar{display:grid;grid-template-columns:1fr}.schedule-toolbar label{min-width:0}.employee-schedule .panel-head{display:grid}.employee-schedule .panel-head .badge{justify-self:start}}

.employee-module-tabs{display:flex;gap:5px;background:#e8eef1;border-radius:9px;padding:4px;width:max-content;max-width:100%;margin:-8px 0 22px}.employee-module-tabs button{border:0;background:transparent;color:#536e7a;border-radius:6px;padding:9px 14px;font-size:13px}.employee-module-tabs button.active{background:#fff;color:#173e50;box-shadow:0 1px 4px #102c3a18;font-weight:650}.worktime-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.calendar-module .panel-head{align-items:center}.month-nav{display:flex;align-items:center;gap:15px}.month-nav>.button{width:38px;padding:6px;font-size:24px}.month-nav .muted{margin-top:4px;font-size:12px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #e6edef;border-left:1px solid #e6edef}.weekday{padding:11px;text-align:center;background:#f6f9fa;border-right:1px solid #e6edef;border-bottom:1px solid #e6edef;font-size:12px;font-weight:650;color:#667f8b}.calendar-day{min-height:112px;padding:9px;border-right:1px solid #e6edef;border-bottom:1px solid #e6edef;background:#fff;min-width:0}.calendar-day.outside{background:#f8fafb}.calendar-day.has-shift{background:#f2faf8}.day-number{font-size:12px;color:#5b7480}.calendar-event{margin-top:8px;padding:8px;background:#dff2ed;border-left:3px solid #138b78;border-radius:5px;color:#245c53}.calendar-event strong,.calendar-event span{display:block;font-size:11px;line-height:1.35}.calendar-event span{margin-top:3px}.calendar-foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:14px 20px;color:#667e89;font-size:12px;background:#f8fafb}.calendar-foot span:last-child{color:#8a651f}@media(max-width:1000px){.worktime-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.calendar-module{overflow:hidden}.calendar-module .panel-head{align-items:flex-start;flex-wrap:wrap}.month-grid{overflow-x:auto;grid-template-columns:repeat(7,minmax(105px,1fr))}.calendar-day{min-height:100px}.employee-module-tabs{width:100%}.employee-module-tabs button{flex:1}.worktime-kpis{gap:8px}}@media(max-width:480px){.worktime-kpis{grid-template-columns:1fr}.employee-module-tabs{display:grid;width:100%}}

.dashboard-filter input{font:inherit;color:#234653;padding:9px 11px;border:1px solid #cbd9df;border-radius:7px;background:#fff;min-height:42px}.approval-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #dfe7eb;border-radius:11px;padding:17px 20px;margin-bottom:18px}.approval-strip>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.approval-strip small{color:#6a818c}.approval-actions{display:flex;gap:8px;flex-wrap:wrap}.planning-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.planning-layout{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(360px,1.1fr);gap:22px;align-items:start;margin-bottom:22px}.planning-form{padding:22px}.planning-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.planning-form label,.approval-form label{display:grid;gap:7px;margin-bottom:16px;font-size:13px;color:#496976;font-weight:550}.planning-form input,.approval-form textarea{font:inherit;color:#234653;padding:10px 11px;border:1px solid #cbd9df;border-radius:7px;background:#fff;width:100%}.check-list{padding:0 20px}.check-list>div:not(.success){display:grid;grid-template-columns:34px 1fr auto;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid #e7edef}.check-list>div:last-child{border-bottom:0}.check-list p{font-size:13px}.check-list .success{margin:20px}.planning-list{margin-top:0}.planning-table-wrap{overflow-x:auto}.planning-list table{width:100%;border-collapse:collapse;min-width:850px}.planning-list th{background:#f7f9fa;color:#667e89;text-align:left;font-size:12px;padding:13px 16px}.planning-list td{padding:14px 16px;border-top:1px solid #e7edef;font-size:13px}.planning-list td strong,.planning-list td small{display:block}.planning-list td small{color:#6b818b;margin-top:4px}.row-buttons{display:flex;gap:7px;justify-content:flex-end}.row-buttons .button{font-size:12px;padding:7px 10px;min-height:36px}.approval-review>.panel-head h2{margin-top:10px}.approval-summary{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #e7edef}.approval-summary>div{padding:22px;border-right:1px solid #e7edef}.approval-summary>div:last-child{border-right:0}.approval-summary span,.approval-summary strong{display:block}.approval-summary span{font-size:12px;color:#66808b}.approval-summary strong{font-size:27px;margin-top:6px}.approval-timeline{padding:8px 22px}.approval-timeline>div{display:grid;grid-template-columns:170px 1fr;gap:18px;padding:14px 0;border-bottom:1px solid #e7edef}.approval-timeline time{font-size:12px;color:#6b818b}.approval-timeline p{font-size:13px}.review-comment{margin:20px 22px 0;padding:16px;background:#fff5dc;border-radius:8px;color:#6c5213}.review-comment p{margin-top:6px;font-size:14px}.approval-form{padding:22px;border-top:1px solid #e7edef}.approval-form .actions{display:flex;justify-content:flex-end;gap:10px}.approval-note{padding:20px 22px;background:#f3f7f8;color:#526f7b;font-size:14px}@media(max-width:1100px){.planning-stats{grid-template-columns:repeat(2,1fr)}.planning-layout{grid-template-columns:1fr}}@media(max-width:760px){.approval-strip{align-items:flex-start;flex-direction:column}.approval-actions{width:100%}.approval-actions .button{flex:1}.planning-stats{gap:8px}.approval-summary{grid-template-columns:1fr 1fr}.approval-summary>div:nth-child(2){border-right:0}.approval-summary>div:nth-child(-n+2){border-bottom:1px solid #e7edef}.approval-timeline>div{grid-template-columns:1fr;gap:5px}}@media(max-width:520px){.planning-stats,.planning-form-grid{grid-template-columns:1fr}.approval-summary{grid-template-columns:1fr}.approval-summary>div{border-right:0;border-bottom:1px solid #e7edef}.approval-form .actions{display:grid}.check-list>div:not(.success){grid-template-columns:34px 1fr}.check-list .text-btn{grid-column:2;justify-self:start}}

svg{width:18px;height:18px;vertical-align:middle}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#163343;background:#f3f6f8;font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,select{min-height:42px}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #2d99d4;outline-offset:3px}a{color:#086e68}.layout{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{background:#102c3a;color:#d4e3e9;padding:32px 20px;display:flex;flex-direction:column;gap:38px}.brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:24px;font-weight:750;letter-spacing:-1px}.brand-mark{width:35px;height:35px;display:grid;place-items:center;background:#43dec0;border-radius:9px;color:#102c3a;letter-spacing:0}.sidebar small{font-size:12px;letter-spacing:1.8px;text-transform:uppercase;color:#99b3c0}.nav{display:grid;gap:8px}.nav button{border:0;background:transparent;color:#c3d5df;text-align:left;padding:13px 15px;border-radius:8px;display:flex;align-items:center;gap:12px;font-size:15px}.nav button.active{background:#284653;color:white}.nav svg{width:20px;height:20px}.sidebar-foot{margin-top:auto;font-size:13px;line-height:1.6;color:#a8c0cc}.sidebar-foot strong{display:block;color:#e0ecef}.main{min-width:0}.topbar{padding:20px 32px;background:#fff;border-bottom:1px solid #e1e8ec;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.topbar-label{font-size:14px;color:#617684}.switcher{display:flex;background:#edf2f4;padding:4px;border-radius:9px;gap:4px}.switcher button{border:0;background:transparent;padding:8px 14px;border-radius:6px;min-height:36px;font-size:14px;color:#526975}.switcher button.selected{background:#fff;color:#14394a;box-shadow:0 1px 4px #102c3a18;font-weight:650}.demo{background:#fff6dc;border-bottom:1px solid #eadba8;padding:10px 32px;font-size:13px;line-height:1.5;color:#6b5111;display:flex;align-items:center;justify-content:space-between;gap:15px}.text-btn{padding:0;border:0;background:none;color:inherit;min-height:28px;text-decoration:underline;font-size:13px}.content{padding:30px 32px 36px;max-width:1700px;margin:0 auto}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#557785;margin-bottom:8px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 9px;line-height:1.15}h2{font-size:19px;letter-spacing:-.35px;margin:0}h3{font-size:16px;margin:0 0 8px}p{margin:0;line-height:1.6}.muted{color:#637a86;font-size:14px}.button{border:1px solid #d5e0e4;background:#fff;color:#234452;border-radius:8px;padding:10px 15px;font-weight:600;font-size:14px;display:inline-flex;justify-content:center;align-items:center;gap:8px;text-decoration:none}.primary{background:#087b70;border-color:#087b70;color:white}.primary:hover{background:#05685f}.danger{color:#a34728;background:#fff7ee;border-color:#eacbab}.button svg{width:17px;height:17px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat{background:white;padding:18px 22px;border:1px solid #e0e7eb;border-radius:10px}.stat span{font-size:13px;color:#607580}.stat strong{font-size:30px;display:block;font-weight:650;margin-top:7px;letter-spacing:-1px}.stat strong em{font-size:14px;letter-spacing:0;font-style:normal;color:#637a86;font-weight:400;margin-left:7px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.panel{background:white;border:1px solid #dfe7eb;border-radius:12px;overflow:hidden}.panel-head{padding:20px 22px;border-bottom:1px solid #e8eef0;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-body{padding:22px}.week-meta{display:flex;align-items:center;gap:9px;font-size:13px;color:#627987}.calendar-scroll{overflow-x:auto}.calendar{width:100%;border-collapse:collapse;min-width:660px;table-layout:fixed}.calendar thead th{padding:16px 4px;color:#6a7e8a;font-size:12px;text-align:center;font-weight:500;border-bottom:1px solid #e7edef}.calendar thead th:first-child{width:104px;text-align:left;padding-left:18px}.calendar th b{display:block;font-size:17px;color:#2d4653;margin-top:5px}.calendar tbody th{font-size:13px;text-align:left;padding:16px 10px 16px 18px;font-weight:650}.calendar tbody th small{display:block;color:#6c8089;font-size:12px;font-weight:400;margin-top:5px}.calendar td{padding:10px 4px;border-left:1px solid #edf1f3;vertical-align:top}.calendar tbody tr+tr{border-top:1px solid #e7edef}.shift{width:100%;background:#eef6f5;border:1px solid #d6e9e5;border-radius:7px;min-height:100px;padding:10px 7px;text-align:left;color:#28574f}.shift:hover{border-color:#087b70}.shift.chosen{outline:2px solid #087b70;outline-offset:1px}.shift.open{background:#fff2d3;border-color:#ecd49b;color:#795112}.shift.confirmed{background:#dff5eb;border-color:#a3d8bc}.shift .time{font-weight:700;font-size:12px;display:block;margin-bottom:10px;white-space:nowrap}.shift .name{font-size:12px;display:block;margin:6px 0;overflow-wrap:anywhere}.shift .vacant{font-weight:700}.legend{display:flex;gap:20px;flex-wrap:wrap;padding:15px 22px;font-size:12px;color:#647c88;border-top:1px solid #e7edef}.legend span{display:flex;gap:7px;align-items:center}.swatch{width:10px;height:10px;border-radius:3px;background:#deefea}.swatch.amber{background:#f3cd70}.guide{margin-top:18px;padding:19px 22px;background:#e8f0f4;border-radius:10px;display:flex;gap:13px;align-items:flex-start}.guide svg{width:22px;height:22px;flex-shrink:0;color:#3b6b80}.guide p{font-size:14px}.badge{font-size:12px;font-weight:650;padding:5px 8px;border-radius:5px;display:inline-block;background:#edf3f5;color:#45606d}.badge.amber{background:#fff0c9;color:#825812}.badge.green{background:#dcf3e8;color:#136044}.details-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:15px}.shift-summary{background:#f5f8f9;padding:16px;border-radius:8px;margin-bottom:18px}.shift-summary strong{display:block;margin-bottom:5px;font-size:15px}.shift-summary p{font-size:14px;color:#58727e}.divider{height:1px;background:#e5ecef;margin:20px 0}.slot-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf1f3}.slot-line:last-child{border-bottom:0}.slot-line strong{font-size:14px;display:block}.slot-line span{font-size:12px;color:#69808b}.slot-line button{font-size:12px;padding:7px 9px;min-height:36px}.step{display:flex;align-items:center;gap:10px;margin:15px 0;font-size:14px;color:#617884}.step .number{display:grid;place-items:center;border:1px solid #d5e1e6;border-radius:50%;height:25px;width:25px;font-size:12px;flex-shrink:0}.step.done{color:#0a7360}.step.done .number{background:#def4e9;border-color:#def4e9}.step.current{font-weight:650;color:#173e50}.step.current .number{background:#173e50;color:white;border-color:#173e50}.candidate{border-bottom:1px solid #edf1f3;padding:14px 0;display:flex;align-items:flex-start;gap:10px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#e9eff3;color:#426171;border-radius:50%;font-weight:650;font-size:12px;flex-shrink:0}.candidate-main{flex:1;min-width:0}.candidate-main strong{font-size:14px;display:block}.candidate-main .muted{font-size:12px;margin:3px 0}.candidate .button{margin-top:8px;font-size:12px;min-height:35px;padding:7px 10px}.full{width:100%}.section-label{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#6b818b;font-weight:650;margin:20px 0 8px}.notice{font-size:13px;color:#536f7d;line-height:1.5;margin-top:12px}.success{padding:17px;background:#e6f6ee;border-radius:8px;color:#155c43;font-size:14px}.success strong{display:block;margin-bottom:5px}.activity{margin-top:22px}.activity-list{padding:0 22px;max-height:270px;overflow:auto}.activity-item{padding:14px 0;border-bottom:1px solid #edf1f3;font-size:13px;line-height:1.5;display:flex;gap:16px}.activity-item time{color:#718792;white-space:nowrap;font-size:12px}.empty{padding:22px;color:#687e89;font-size:14px;line-height:1.6}.employee-layout{display:grid;grid-template-columns:minmax(300px,520px) minmax(260px,1fr);gap:24px;align-items:start}.employee-heading{display:flex;align-items:center;gap:12px}.employee-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}select{border:1px solid #cbd9df;background:white;border-radius:7px;padding:9px 30px 9px 12px;color:#234653;max-width:100%}.employee-panel{border-top:4px solid #087b70}.request-card{border:1px solid #e2e9ec;border-radius:9px;padding:19px;margin-bottom:14px}.request-card:last-child{margin-bottom:0}.request-card h3{margin:12px 0 6px;font-size:18px}.request-card p{font-size:14px;color:#5b7581}.request-card .actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.request-card .actions .button{flex:1}.request-card .badge{margin-bottom:4px}.my-shift{padding:15px 0;display:flex;gap:17px;border-bottom:1px solid #e7edef}.date-box{width:45px;text-align:center;font-size:12px;color:#617986;flex-shrink:0}.date-box strong{font-size:23px;display:block;color:#284956}.my-shift h3{font-size:14px;margin:0 0 5px}.my-shift p{font-size:13px;color:#65808c}.person-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.person-card{padding:20px;background:white;border:1px solid #dfe7eb;border-radius:10px}.person-card .avatar{margin-bottom:12px}.person-card p{font-size:14px;color:#5d7581}.person-card small{display:block;font-size:12px;margin-top:12px;color:#6b808a}.footer-note{font-size:12px;color:#6a7e88;margin-top:22px;line-height:1.6}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(600px,calc(100% - 32px));padding:15px 22px;border-radius:10px;color:#fff;background:#183d4d;box-shadow:0 8px 35px #0b293330;font-size:14px;z-index:30}#toast.error{background:#943e2b}dialog{border:0;border-radius:14px;max-width:440px;width:calc(100% - 32px);padding:28px;color:#163343;box-shadow:0 20px 80px #102c3a30}dialog::backdrop{background:#102c3a60}dialog p{font-size:15px;margin:15px 0 24px}dialog .actions{display:flex;justify-content:flex-end;gap:10px}details{font-size:13px;color:#647d88;margin-top:16px}summary{cursor:pointer;min-height:36px;display:flex;align-items:center}details ul{padding-left:18px;line-height:1.7}.only-mobile{display:none}@media(min-width:1500px){.calendar{min-width:720px}.calendar td{padding:14px 6px}.shift{padding:12px 10px}.shift .name{font-size:13px}}@media(max-width:1200px){.layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:26px 14px}.content{padding:24px 22px}.workspace{grid-template-columns:minmax(0,1fr)}.workspace>.panel{max-width:none}.calendar{min-width:660px}.brand{font-size:22px}.topbar{padding:18px 22px}.demo{padding:10px 22px}}@media(max-width:760px){.layout{display:block}.sidebar{padding:16px 18px;gap:16px}.brand{font-size:21px}.brand-mark{width:30px;height:30px}.sidebar small,.sidebar-foot{display:none}.nav{display:flex;gap:5px}.nav button{padding:9px 11px;min-height:40px;font-size:13px}.nav svg{width:17px;height:17px}.topbar{padding:12px 18px}.topbar-label{display:none}.switcher{width:100%}.switcher button{flex:1}.demo{padding:10px 18px;align-items:flex-start}.demo>span{font-size:12px}.demo button{flex-shrink:0}.content{padding:23px 16px}.heading{flex-direction:column;gap:15px}h1{font-size:27px}.stats{gap:8px}.stat{padding:13px 10px}.stat span{font-size:12px}.stat strong{font-size:25px}.stat strong em{display:block;margin:3px 0 0;font-size:12px}.employee-layout{grid-template-columns:1fr}.panel-head{padding:17px}.panel-body{padding:17px}.week-meta{font-size:12px}.heading .employee-picker{width:100%}.calendar thead th:first-child{width:94px}.guide{padding:17px}.footer-note{font-size:12px}.employee-picker select{flex:1}.person-grid{grid-template-columns:1fr}.activity-item{gap:10px}}

/* Standortbezogene Dienstplanung */
.access-display{display:flex;align-items:center;min-height:40px;padding:9px 11px;border:1px solid #d5e1e5;border-radius:7px;background:#f2f6f7;color:#345360;font-size:13px;font-weight:650}
.planning-context{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.planning-context label{display:grid;gap:6px;color:#5d7581;font-size:12px}.planning-context select,.planning-context input,.template-palette select,.template-palette input,.template-form input,.template-form select,.slot-selects select{font:inherit;color:#244653;background:#fff;border:1px solid #cbd9df;border-radius:7px;padding:9px 10px;min-height:40px}.planning-tabs{display:flex;gap:4px;padding:4px;background:#e7edef;border-radius:9px;width:max-content;max-width:100%;margin-bottom:18px}.planning-tabs button{border:0;background:transparent;border-radius:6px;padding:10px 16px;color:#536d78;font:inherit;font-size:13px;cursor:pointer}.planning-tabs button.active{background:#fff;color:#173e50;font-weight:700;box-shadow:0 1px 5px #173e5018}.template-palette{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;margin-bottom:18px;border:1px solid #cfe1de;border-radius:10px;background:#f2faf8}.template-palette>div span{display:block;margin-top:4px;font-size:12px;color:#637b86}.template-palette form{display:flex;gap:8px;flex-wrap:wrap}.roster-matrix-panel{margin-bottom:20px}.matrix-legend{display:flex;gap:12px;flex-wrap:wrap;color:#607983;font-size:11px}.matrix-legend span{display:flex;align-items:center;gap:5px}.matrix-legend i{width:9px;height:9px;border-radius:2px}.roster-scroll{overflow:auto;max-width:100%}.roster-matrix{width:100%;min-width:1280px;border-collapse:separate;border-spacing:0}.roster-matrix th,.roster-matrix td{border-right:1px solid #e5ecef;border-bottom:1px solid #e5ecef;text-align:center;height:43px;padding:4px;min-width:35px}.roster-matrix thead th{position:sticky;top:0;z-index:2;background:#f6f9fa;color:#5a727e;font-size:11px}.roster-matrix tr>th:first-child{position:sticky;left:0;z-index:3;min-width:164px;text-align:left;padding:8px 12px;background:#f8fafb}.roster-matrix thead th:first-child{z-index:4}.roster-matrix th strong,.roster-matrix th small{display:block}.roster-matrix th small{font-size:10px;color:#71858e;margin-top:3px}.matrix-code{display:block;background:var(--code-color);color:#fff;border-radius:4px;padding:5px 2px;font-size:9px;font-weight:750;white-space:nowrap}.coverage-row td{font-size:10px;font-weight:700;color:#54717c;background:#f6f9fa}.coverage-row td.gap{background:#fff0d2;color:#9a6313}.roster-bottom{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.55fr);gap:20px;align-items:start}.roster-shifts article{display:grid;grid-template-columns:64px minmax(260px,1fr) minmax(230px,.65fr);gap:15px;align-items:center;padding:17px 20px;border-top:1px solid #e5ecef}.roster-shifts article:first-child{border-top:0}.service-code{display:inline-grid;place-items:center;min-width:56px;min-height:38px;padding:6px 9px;border-radius:6px;color:#fff;font-size:12px;font-weight:800;letter-spacing:.3px}.service-main strong,.service-main small{display:block}.service-main small{margin-top:5px;color:#687f8a;font-size:12px}.slot-selects{display:grid;grid-template-columns:1fr 1fr;gap:8px}.slot-selects label{display:grid;gap:4px;color:#607985;font-size:10px;font-weight:700}.block-bar{display:flex;min-height:34px;border-radius:6px;overflow:hidden;margin-top:11px;background:#edf2f4}.block-bar span{display:grid;place-items:center;min-width:54px;padding:5px;color:#fff;font-size:9px;line-height:1.2;text-align:center}.block-bar span b{display:block;font-size:8px;font-weight:500;opacity:.8}.block-bar .work{background:#168d79}.block-bar .break{background:#d59a35}.block-bar .standby{background:#53778a}.roster-checks{padding:7px 20px 20px}.roster-checks>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #e6edef;color:#5e7782;font-size:13px}.roster-checks strong{font-size:19px;color:#244653}.roster-checks p,.roster-checks small{display:block;color:#657d88;font-size:12px;line-height:1.55;margin-top:14px}.catalog-layout{display:grid;grid-template-columns:minmax(430px,1.25fr) minmax(370px,.75fr);gap:20px;align-items:start}.template-list article{padding:20px;border-top:1px solid #e5ecef}.template-list article:first-child{border-top:0}.template-head{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center}.template-head strong,.template-head small{display:block}.template-head small{color:#68808a;font-size:12px;margin-top:4px}.block-details{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.block-details span{background:#edf2f4;color:#55707c;border-radius:5px;padding:5px 7px;font-size:10px}.template-form{padding:20px}.template-form label{display:grid;gap:6px;margin-bottom:14px;color:#536e79;font-size:12px;font-weight:600}.section-label{margin:4px 0 10px;color:#496673;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.block-editor{padding-top:8px;border-top:1px solid #e5ecef}.block-edit-row{display:grid;grid-template-columns:1.2fr 1fr auto 1fr 40px;gap:7px;align-items:center;margin-bottom:8px}.block-edit-row>span{font-size:11px;color:#6b8089}.block-edit-row .button{min-width:0;padding:8px}.template-form .full{width:100%;margin-top:18px}@media(max-width:1100px){.catalog-layout,.roster-bottom{grid-template-columns:1fr}.roster-shifts article{grid-template-columns:64px 1fr}.slot-selects{grid-column:2}}@media(max-width:760px){.planning-context{width:100%}.planning-context label{flex:1;min-width:145px}.planning-tabs{display:grid;grid-template-columns:1fr;width:100%}.template-palette{align-items:flex-start;flex-direction:column}.template-palette form{width:100%}.template-palette form>*{flex:1}.roster-shifts article{grid-template-columns:1fr}.slot-selects{grid-column:1}.service-code{justify-self:start}.catalog-layout{display:block}.catalog-layout>section+section{margin-top:18px}}@media(max-width:520px){.slot-selects,.planning-form-grid{grid-template-columns:1fr}.block-edit-row{grid-template-columns:1fr 1fr 40px}.block-edit-row>span{display:none}.block-edit-row input:last-of-type{grid-column:2}}

/* Personalakten und Dokumentenprüfung */
.badge.red{background:#fbe7e3;color:#913d2c}.hr-toolbar{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.hr-toolbar label{display:grid;gap:7px;font-size:14px;color:#446371}.hr-toolbar .muted{margin-left:auto;padding-bottom:12px}.hr-toolbar select{min-width:210px}.hr-profile{margin-bottom:22px}.hr-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:22px}.hr-facts span{display:block;font-size:13px;color:#67808c;margin-bottom:6px}.hr-facts strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.hr-facts small{display:block;margin-top:5px;color:#67808c}.hr-table-wrap{overflow-x:auto}.hr-table{width:100%;border-collapse:collapse;min-width:820px;text-align:left}.hr-table th{font-size:13px;color:#6c808b;background:#f8fafb;font-weight:600;padding:15px 18px}.hr-table td{font-size:14px;padding:18px;border-top:1px solid #e5ecef;vertical-align:middle}.hr-table td strong{display:block;font-size:14px}.hr-table small{display:block;color:#69808b;font-size:12px;margin-top:5px}.hr-row-actions{display:flex;align-items:center;gap:12px}.hr-person-link{border:0;padding:0;background:transparent;text-align:left;color:#087b70;min-height:28px;font-size:13px}.hr-dialog{max-width:620px;max-height:90vh;overflow-y:auto}.hr-dialog label{display:grid;gap:7px;margin:16px 0;font-size:14px;font-weight:550}.hr-dialog input,.hr-dialog textarea{font:inherit;color:#234653;padding:11px 12px;border:1px solid #cbd9df;border-radius:7px;background:#fff;width:100%;min-width:0}.hr-dialog textarea{resize:vertical}.hr-dialog input:focus-visible,.hr-dialog textarea:focus-visible{outline:3px solid #2d99d4;outline-offset:2px}.hr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.hr-form-grid>*{min-width:0}.hr-dialog .actions{margin-top:24px}.hr-dialog .notice{font-size:13px;margin:14px 0}.hr-review-entry{padding:12px 0;border-top:1px solid #e5ecef;font-size:13px}.hr-review-entry p{margin:6px 0;font-size:13px;overflow-wrap:anywhere}.hr-own-doc{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e5ecef}.hr-own-doc .badge{flex-shrink:0}.hr-own-doc strong{font-size:15px}.hr-own-doc .muted{font-size:13px;margin-top:5px}.hr-error{color:#913d2c}@media(max-width:900px){.hr-facts{grid-template-columns:1fr 1fr}}@media(max-width:540px){.hr-form-grid,.hr-facts{grid-template-columns:1fr}.hr-toolbar{display:grid;grid-template-columns:1fr}.hr-toolbar .muted{margin:0}.hr-own-doc{flex-direction:column;gap:8px}.hr-profile .panel-head{align-items:flex-start;flex-wrap:wrap}.hr-dialog{padding:22px}.hr-dialog input,.hr-dialog select,.hr-dialog textarea{font-size:16px}}

/* Anmeldung und Sitzungsprofil */
.auth-loading{min-height:100dvh;display:grid;place-items:center;background:#102c3a;color:#fff}.auth-loading>div{display:flex;align-items:center;gap:14px;font-size:18px}.auth-loading .brand-mark{color:#102c3a}
.login-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr);background:#f2f6f7}.login-story{position:relative;overflow:hidden;background:linear-gradient(145deg,#0d2c39 0%,#123f4c 58%,#0b6258 130%);color:#fff;padding:clamp(32px,5vw,76px);display:flex;flex-direction:column;justify-content:space-between;gap:56px}.login-story::before,.login-story::after{content:"";position:absolute;border-radius:50%;border:1px solid #63e5ca2b}.login-story::before{width:460px;height:460px;right:-210px;top:-170px}.login-story::after{width:620px;height:620px;left:-330px;bottom:-420px}.login-brand,.login-mobile-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px;font-size:25px;font-weight:750;letter-spacing:-.7px}.login-story-copy{position:relative;z-index:1;max-width:590px}.login-kicker{display:block;color:#63e5ca;font-size:12px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;margin-bottom:17px}.login-story h1{font-size:clamp(36px,4.4vw,62px);line-height:1.04;letter-spacing:-2.4px;margin-bottom:24px}.login-story-copy>p{max-width:560px;color:#c7dbe1;font-size:17px;line-height:1.75}.login-story ul{list-style:none;padding:0;margin:36px 0 0;display:grid;gap:16px}.login-story li{display:flex;align-items:center;gap:11px;color:#e0edef;font-size:14px}.login-story li svg{width:20px;color:#63e5ca}.login-story>small{position:relative;z-index:1;color:#a9c3ca;font-size:12px}.login-panel{display:grid;place-items:center;padding:38px}.login-card{width:min(100%,520px);background:#fff;border:1px solid #dce6e9;border-radius:18px;box-shadow:0 22px 70px #163e4b18;padding:clamp(28px,4vw,48px)}.login-mobile-brand{display:none;color:#123947;margin-bottom:28px}.login-card>.badge{margin-bottom:17px}.login-card h2{font-size:30px;letter-spacing:-.8px}.login-intro{color:#657b85;margin:10px 0 27px}.login-card form>label{display:grid;gap:8px;margin:15px 0;color:#355461;font-size:13px;font-weight:650}.login-card input[type=email],.login-card input[type=password]{width:100%;min-height:48px;border:1px solid #c8d7dc;border-radius:9px;padding:11px 13px;font:inherit;font-size:16px;color:#173d4b;background:#fff}.login-card input:focus{outline:3px solid #4ad9bd3b;border-color:#15957f}.login-row{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:17px 0 20px}.remember{display:flex!important;align-items:center;grid-template-columns:auto 1fr!important;gap:8px!important;margin:0!important;font-weight:500!important}.remember input{width:17px;height:17px;accent-color:#087b70}.login-link{border:0;background:transparent;color:#087b70;font:inherit;font-size:13px;font-weight:650;padding:7px 0}.login-submit{width:100%;min-height:49px}.login-submit svg,.demo-accounts button svg{width:18px;height:18px}.login-divider{display:flex;align-items:center;gap:12px;color:#7b8e96;font-size:12px;margin:23px 0}.login-divider::before,.login-divider::after{content:"";height:1px;background:#e0e7ea;flex:1}.microsoft-button{width:100%;min-height:49px}.microsoft-mark{display:grid;grid-template-columns:8px 8px;gap:2px}.microsoft-mark i{width:8px;height:8px;background:#f25022}.microsoft-mark i:nth-child(2){background:#7fba00}.microsoft-mark i:nth-child(3){background:#00a4ef}.microsoft-mark i:nth-child(4){background:#ffb900}.login-error{background:#fff0ed;border:1px solid #efc7bf;color:#8f3827;border-radius:8px;padding:11px 13px;font-size:13px;line-height:1.45;margin-top:13px}.demo-accounts{border-top:1px solid #e2e9ec;margin-top:27px;padding-top:18px}.demo-accounts summary{font-weight:700;color:#294b59}.demo-accounts>p{font-size:12px;color:#647d87;margin:7px 0 12px}.demo-accounts>button{width:100%;border:0;border-top:1px solid #e8edef;background:#fff;padding:12px 4px;display:grid;grid-template-columns:36px 1fr 18px;align-items:center;gap:11px;text-align:left;color:#234653}.demo-accounts>button:hover{background:#f6faf9}.demo-accounts>button strong,.demo-accounts>button small{display:block}.demo-accounts>button strong{font-size:13px}.demo-accounts>button small{font-size:11px;color:#6e818a;margin-top:3px;overflow-wrap:anywhere}.login-privacy{font-size:11px;color:#768991;line-height:1.55;margin-top:22px}.user-menu{display:flex;align-items:center;gap:10px}.user-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#d9f3ec;color:#126653;font-size:12px;font-weight:750;flex-shrink:0}.user-copy strong,.user-copy small{display:block}.user-copy strong{font-size:13px}.user-copy small{font-size:11px;color:#6b7f87;margin-top:2px}.logout-button{min-height:36px;padding:7px 11px;margin-left:7px;font-size:12px}

/* Mobile Navigation und Touch-Optimierung */
@media(max-width:900px){.login-shell{grid-template-columns:minmax(300px,.75fr) minmax(430px,1.25fr)}.login-story{padding:38px}.login-story h1{font-size:40px}.login-story-copy>p{font-size:15px}}
@media(max-width:760px){body{min-width:0}.login-shell{display:block;background:#fff}.login-story{display:none}.login-panel{min-height:100dvh;padding:22px 16px;align-items:start}.login-card{border:0;box-shadow:none;padding:18px 4px 30px}.login-mobile-brand{display:flex}.login-card h2{font-size:27px}.layout{display:block}.sidebar{position:sticky;top:0;z-index:20;padding:11px 14px 0;gap:10px;box-shadow:0 4px 18px #102c3a24}.sidebar>.brand{padding-bottom:2px}.sidebar>div:nth-child(2){min-width:0}.nav{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:10px;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav button{flex:0 0 auto;scroll-snap-align:start;white-space:nowrap}.topbar{padding:10px 15px}.user-menu{width:100%}.user-copy{min-width:0;flex:1}.user-copy strong,.user-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-button{margin-left:auto}.demo{padding:9px 15px;flex-wrap:wrap}.demo>span{flex:1 1 220px}.content{padding:19px 12px 30px}.panel{border-radius:10px}.stats{grid-template-columns:1fr}.stat{min-width:0}.calendar-scroll,.roster-scroll,.hr-table-wrap{-webkit-overflow-scrolling:touch}.calendar-scroll::after,.roster-scroll::after,.hr-table-wrap::after{content:"Seitlich wischen für weitere Inhalte";display:block;position:sticky;left:0;padding:8px 12px;background:#edf4f5;color:#5a737e;font-size:10px;text-align:center}.heading{margin-bottom:18px}.heading h1{font-size:25px}.button,.nav button,select,input,textarea{touch-action:manipulation}.panel-head{align-items:flex-start}.activity-list{padding:0 16px}.slot-line{align-items:flex-start;flex-direction:column}.slot-line button{width:100%}dialog .actions{flex-direction:column-reverse}dialog .actions .button{width:100%}}
@media(max-width:480px){.login-panel{padding-top:14px}.login-card{width:100%}.login-row{align-items:flex-start;flex-direction:column}.login-link{padding:0}.demo-accounts>button{grid-template-columns:34px 1fr 16px}.sidebar .brand{font-size:19px}.sidebar .brand-mark{width:29px;height:29px}.nav button{padding:8px 10px;font-size:12px}.user-avatar{width:33px;height:33px}.logout-button{padding:7px 9px}.demo button{margin-left:auto}.content{padding-inline:10px}.panel-head,.panel-body{padding:15px}.dashboard-bars{padding-inline:14px}.chart-legend{padding-inline:14px}.request-card{padding:15px}.request-card .actions{display:grid}.planning-context label{min-width:100%;flex-basis:100%}.template-palette{padding:14px}.template-palette form{display:grid;grid-template-columns:1fr}.template-palette form>*{width:100%}.hr-table th,.hr-table td{padding:13px}.date-box{width:38px}.my-shift{gap:11px}}

/* Configurable access administration */
.access-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.access-principles article{background:linear-gradient(135deg,#eff8f6,#fff);border:1px solid #d9e7e4;border-radius:16px;padding:18px;display:grid;gap:5px}.access-principles strong{color:#0b625c}.access-principles span{color:#61706f;font-size:13px;line-height:1.45}.access-section{margin-bottom:22px}.access-group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px;padding:20px}.access-group-grid>article{border:1px solid #dfe8e6;border-radius:15px;padding:17px;background:#fff;display:grid;gap:12px}.access-group-grid>article>div:first-child{display:flex;align-items:center;gap:9px}.access-group-grid i{width:11px;height:11px;border-radius:50%;background:var(--group-color)}.access-group-grid h3,.access-group-grid p{margin:0}.access-group-grid p{color:#687573;font-size:13px;min-height:38px}.permission-chips{display:flex;flex-wrap:wrap;gap:6px}.permission-chips span{background:#edf4f3;border-radius:999px;padding:5px 8px;font-size:11px;color:#375b58}.employee-site-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;padding:20px}.employee-site-grid article{border:1px solid #dfe8e6;border-radius:13px;padding:15px;display:grid;gap:9px}.employee-site-grid article>div{display:grid}.employee-site-grid small,.employee-site-grid p{color:#6a7775;font-size:12px;margin:0}.permission-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:45vh;overflow:auto;margin:14px 0}.permission-matrix fieldset,.assignment-card{border:1px solid #dce6e4;border-radius:12px;padding:12px}.permission-matrix legend{font-weight:700;text-transform:capitalize;padding:0 5px}.permission-matrix label,.assignment-head{display:flex;gap:9px;align-items:flex-start;padding:7px 2px}.permission-matrix label span,.assignment-head span{display:grid}.permission-matrix small,.assignment-head small{color:#71807e;font-weight:400}.assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:43vh;overflow:auto}.assignment-card{display:grid;gap:8px}.assignment-head{font-weight:400}.site-checks,.site-assignment-list{display:flex;flex-wrap:wrap;gap:8px 14px}.site-checks label,.site-assignment-list label{font-weight:500}.access-dialog{width:min(850px,calc(100vw - 28px))}
@media(max-width:760px){.access-principles,.permission-matrix,.assignment-grid{grid-template-columns:1fr}.access-group-grid,.employee-site-grid{grid-template-columns:1fr;padding:14px}.access-principles{gap:8px}}

/* Amburion product shell */
:root{--ink:#142b2a;--muted:#667977;--line:#e3ebe9;--surface:#fff;--canvas:#f5f8f7;--brand:#087b70;--brand-dark:#075f58;--brand-soft:#e9f5f2;--shadow:0 12px 36px rgba(26,55,52,.08)}
body{background:var(--canvas);color:var(--ink)}
.modern-shell{grid-template-columns:272px minmax(0,1fr);min-height:100vh}
.modern-shell .sidebar{background:#102c2a;color:#fff;padding:22px 18px 18px;display:flex;flex-direction:column;gap:20px;border:0;box-shadow:none}
.modern-shell .brand{font-size:22px;display:flex;align-items:center;gap:10px;padding:0 8px}
.modern-shell .brand>span:last-child{display:grid;line-height:1.05}.modern-shell .brand small{font-size:8px;letter-spacing:.2em;color:#83aaa5;margin-top:5px}
.modern-shell .brand-mark{width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#22b39f,#087b70);box-shadow:0 7px 18px rgba(0,0,0,.18)}
.workspace-switch{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055);border-radius:14px}
.workspace-switch .workspace-logo{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fff;color:#087b70;font-size:12px;font-weight:800}.workspace-switch>span:nth-child(2){display:grid;min-width:0}.workspace-switch small{font-size:10px;color:#8fb2ae}.workspace-switch strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-switch b{color:#81aaa5;font-weight:500}
.modern-shell .nav{display:flex;flex-direction:column;gap:7px;overflow-y:auto;padding-right:2px}.nav-group{border-radius:12px}.nav-group summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:9px 10px 6px;color:#82aaa5;text-transform:uppercase;letter-spacing:.11em;font-size:9px;font-weight:800}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary span{font-size:14px;transition:transform .2s}.nav-group[open] summary span{transform:rotate(180deg)}.nav-group>div{display:grid;gap:3px;padding-bottom:5px}.modern-shell .nav button{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#c8d9d6;border-radius:10px;padding:10px 11px;text-align:left;font:inherit;font-size:13px;cursor:pointer}.modern-shell .nav button svg{width:18px;height:18px;color:#86aaa6}.modern-shell .nav button:hover{background:rgba(255,255,255,.07);color:#fff}.modern-shell .nav button.active{background:#fff;color:#143a36;font-weight:750;box-shadow:0 7px 18px rgba(0,0,0,.14)}.modern-shell .nav button.active svg{color:#087b70}
.modern-shell .sidebar-foot{margin-top:auto;border:0;border-top:1px solid rgba(255,255,255,.1);padding:15px 7px 0;display:flex;gap:9px;align-items:center;color:#d2e1df}.modern-shell .sidebar-foot>div{display:grid}.modern-shell .sidebar-foot small{font-size:10px;color:#779d99}.environment-dot{width:9px;height:9px;background:#41d29f;border-radius:50%;box-shadow:0 0 0 4px rgba(65,210,159,.12)}
.modern-shell .main{min-width:0}.modern-shell .topbar{height:70px;padding:0 30px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.93);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:15}.modern-shell .topbar>div,.top-actions{display:flex;align-items:center;gap:10px}.topbar-label{font-weight:750;color:#243d3b}.top-icon,.logout-compact,.mobile-menu{border:1px solid var(--line);background:#fff;border-radius:10px;width:38px;height:38px;cursor:pointer;color:#4a6260}.logout-compact{width:32px;height:32px}.mobile-menu{display:none}.modern-shell .user-menu{border-left:1px solid var(--line);padding-left:14px;margin-left:3px}.modern-shell .user-copy{display:grid;min-width:125px}.modern-shell .user-copy small{font-size:10px;color:var(--muted);max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.modern-shell .demo{border:0;border-bottom:1px solid #cfe2de;background:#edf7f5;color:#4c6966;padding:8px 30px;font-size:11px}.modern-shell .demo strong{background:#087b70;color:#fff;padding:2px 6px;border-radius:5px;margin-right:6px}.modern-shell .content{padding:30px;max-width:1540px;margin:0 auto}.modern-shell .panel{border:1px solid var(--line);border-radius:16px;box-shadow:0 3px 14px rgba(25,56,52,.035);overflow:hidden}.modern-shell .button{border-radius:9px;min-height:38px}.modern-shell .button.primary{background:var(--brand);border-color:var(--brand)}.modern-shell .button.primary:hover{background:var(--brand-dark)}
.admin-hero{background:linear-gradient(118deg,#113f3a,#0a7166 68%,#159183);color:#fff;border-radius:22px;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 18px 45px rgba(7,95,88,.18);position:relative;overflow:hidden}.admin-hero:after{content:"";position:absolute;width:260px;height:260px;border:55px solid rgba(255,255,255,.06);border-radius:50%;right:-60px;top:-120px}.admin-hero h1{font-size:31px;margin:6px 0}.admin-hero p{color:#c6e2de;margin:0}.admin-hero .eyebrow{color:#7fe1d5}.admin-hero-metric{position:relative;z-index:1;display:grid;text-align:right}.admin-hero-metric strong{font-size:38px}.admin-hero-metric span{font-size:12px;color:#c6e2de}
.admin-tabs{display:flex;gap:4px;margin:22px 0;border-bottom:1px solid var(--line);overflow-x:auto}.admin-tabs button{white-space:nowrap;border:0;background:transparent;color:#6c7e7c;padding:12px 15px;border-bottom:2px solid transparent;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.admin-tabs button.active{color:var(--brand);border-color:var(--brand)}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:26px 0 16px}.section-heading h2{font-size:23px;margin:4px 0}.section-heading p{margin:0;color:var(--muted);max-width:690px}.section-heading .eyebrow,.profile-hero .eyebrow{color:var(--brand)}
.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.module-card{display:flex;flex-direction:column;min-height:260px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--module-accent);border-radius:16px;padding:18px;box-shadow:0 5px 18px rgba(25,56,52,.04)}.module-card.inactive{background:#f8faf9;filter:saturate(.65)}.module-card-top,.module-card-foot{display:flex;justify-content:space-between;align-items:center;gap:12px}.module-symbol{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:color-mix(in srgb,var(--module-accent) 12%,white);color:var(--module-accent);font-size:21px;font-weight:800}.module-state{font-size:10px;font-weight:800;padding:5px 8px;border-radius:20px;background:#edf1f0;color:#758582}.module-state.on{background:#e4f6ed;color:#13704c}.module-type{display:block;margin-top:18px;text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:800;color:var(--module-accent)}.module-card h3{font-size:17px;margin:5px 0 8px}.module-card p{font-size:13px;color:var(--muted);line-height:1.5;margin:0}.module-card-foot{border-top:1px solid var(--line);margin-top:auto;padding-top:14px}.module-card-foot>span{font-size:10px;color:var(--muted);max-width:130px}.module-note{display:flex;gap:14px;align-items:center;background:#eef7f5;border:1px solid #d9ebe7;border-radius:13px;padding:15px 18px;margin-top:15px}.module-note strong{white-space:nowrap;color:#096b62}.module-note span{font-size:12px;color:#54706c}
.team-toolbar{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:14px 14px 0 0;padding:13px 15px}.search-shell{display:flex;align-items:center;gap:8px;background:#f4f7f6;border:1px solid #e5ecea;border-radius:9px;padding:0 10px;color:#70827f}.search-shell input{border:0;background:transparent;outline:0;min-width:280px;padding:9px 0}.team-list{background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px}.team-row{display:grid;grid-template-columns:minmax(240px,1.2fr) 2fr auto;align-items:center;gap:20px;padding:15px 18px;border-bottom:1px solid var(--line)}.team-row:last-child{border:0}.team-person{display:flex;align-items:center;gap:12px;min-width:0}.avatar-lg{width:42px;height:42px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:800;flex:0 0 auto}.team-person>div{display:grid;min-width:0}.team-person span,.team-person small{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.team-meta>span{font-size:12px}.team-meta small,.profile-facts small{display:block;color:#84918f;font-size:9px;text-transform:uppercase;letter-spacing:.07em;margin-bottom:3px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9aa7a5}.status-dot.online{background:#20a56f}.icon-button{border:1px solid var(--line);background:#fff;border-radius:9px;min-width:36px;height:36px;cursor:pointer}.danger-text{color:#b64c40}
.access-group-grid.modern{padding:0;background:transparent;grid-template-columns:repeat(3,minmax(0,1fr))}.access-group-grid.modern article{padding:18px;border-radius:15px;box-shadow:0 4px 16px rgba(25,56,52,.04)}.group-head{display:flex;gap:11px;align-items:center}.group-head>i{width:11px;height:42px;border-radius:8px;background:var(--group-color)}.group-head>div{display:grid}.group-head h3{margin:0}.group-head span{font-size:10px;color:var(--muted)}.card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:15px}
.selfservice-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.selfservice-settings{padding-bottom:4px}.setting-row{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;border-top:1px solid var(--line);cursor:pointer}.setting-row>span{display:grid}.setting-row small{color:var(--muted);font-weight:400;margin-top:3px}.switch-input{position:absolute;opacity:0}.switch{width:42px;height:24px;border-radius:20px;background:#c8d3d1;position:relative;transition:.2s}.switch:after{content:"";position:absolute;width:18px;height:18px;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.2);border-radius:50%;left:3px;top:3px;transition:.2s}.switch-input:checked+.switch{background:var(--brand)}.switch-input:checked+.switch:after{transform:translateX(18px)}.phone-preview{background:#143330;color:#fff;border:7px solid #203f3c;border-radius:30px;padding:22px 18px 20px;box-shadow:0 18px 40px rgba(22,55,51,.2)}.phone-bar{height:5px;width:68px;border-radius:5px;background:#52716d;margin:-9px auto 20px}.phone-preview .eyebrow{color:#6ed4c6}.phone-preview h3{font-size:24px;margin:5px 0 18px}.preview-profile{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.07);border-radius:13px;padding:11px;margin-bottom:13px}.preview-profile>div{display:grid}.preview-profile small{color:#9db8b4}.preview-link{display:flex;justify-content:space-between;padding:12px 3px;border-bottom:1px solid rgba(255,255,255,.1);font-size:12px}.preview-link b{color:#69d0c2;font-size:18px}
.location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.location-grid article{display:grid;grid-template-columns:54px 1fr;gap:14px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px}.location-grid .card-actions{grid-column:1/-1;border-top:1px solid var(--line)}.location-code{width:50px;height:50px;border-radius:13px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:850}.location-grid h3{margin:4px 0}.location-grid p{margin:0;color:var(--muted);font-size:12px}.location-stations{display:flex;gap:9px;margin-top:10px}
.access-dialog{width:min(900px,calc(100vw - 28px));max-height:90vh}.access-dialog form{display:grid;gap:15px}.dialog-head h2{margin:3px 0}.form-section{border-top:1px solid var(--line);padding-top:12px}.form-section h3{margin:0 0 10px}
.profile-hero{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:25px 28px;background:linear-gradient(115deg,#fff,#edf7f5);border:1px solid #dceae7;border-radius:20px;margin-bottom:20px}.profile-avatar{width:70px;height:70px;border-radius:20px;display:grid;place-items:center;background:#0b776d;color:#fff;font-size:24px;font-weight:850;box-shadow:0 11px 25px rgba(8,123,112,.2)}.profile-hero h1{margin:3px 0;font-size:27px}.profile-hero p{margin:0;color:var(--muted)}.self-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:18px}.self-history{grid-column:1/-1}.profile-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;padding:18px}.profile-facts>span{font-size:13px}.self-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:16px}.self-action-grid button{display:grid;grid-template-columns:38px 1fr;gap:1px 10px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px;cursor:pointer}.self-action-grid button:hover{border-color:#8fc8c0;background:#f7fbfa}.self-action-grid button>span{grid-row:1/3;width:36px;height:36px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:18px}.self-action-grid small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.self-history article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px 17px;border-top:1px solid var(--line)}.self-history article>div{display:grid}.self-history article small{color:var(--muted)}.request-icon{width:34px;height:34px;border-radius:9px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}.recruiting-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.recruiting-board section{background:#eef3f2;border-radius:14px;padding:12px}.recruiting-board section>div{display:flex;justify-content:space-between;align-items:center;font-weight:750}.recruiting-board section>div strong{background:#fff;border-radius:15px;padding:3px 8px}.recruiting-board article{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px;margin:12px 0;display:grid;gap:5px}.recruiting-board article small{color:var(--muted)}.recruiting-board section>button{width:100%;border:1px dashed #aabbb8;background:transparent;border-radius:9px;padding:9px;color:#506a67;cursor:pointer}
@media(max-width:1100px){.module-grid,.access-group-grid.modern{grid-template-columns:repeat(2,minmax(0,1fr))}.team-row{grid-template-columns:1fr auto}.team-meta{grid-column:1/-1;grid-row:2}.recruiting-board{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.modern-shell{display:block}.modern-shell .sidebar{position:relative;width:auto;min-height:auto;padding:15px}.workspace-switch,.modern-shell .sidebar-foot{display:none}.modern-shell .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.nav-group summary{padding-left:5px}.modern-shell .topbar{height:62px;padding:0 16px}.mobile-menu{display:none}.top-icon{display:none}.modern-shell .user-copy{display:none}.modern-shell .content{padding:18px}.modern-shell .demo{padding:7px 16px}.admin-hero{padding:22px}.admin-hero-metric{display:none}.module-grid,.access-group-grid.modern,.location-grid,.self-grid{grid-template-columns:1fr}.self-history{grid-column:auto}.selfservice-layout{grid-template-columns:1fr}.phone-preview{display:none}.team-meta{grid-template-columns:1fr}.team-row{gap:10px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading>.button{width:100%}.recruiting-board{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.modern-shell .nav{grid-template-columns:1fr}.modern-shell .sidebar{gap:10px}.admin-hero h1{font-size:24px}.admin-tabs{margin-top:14px}.module-grid,.access-group-grid.modern,.recruiting-board{grid-template-columns:1fr}.team-toolbar{align-items:stretch;gap:10px;flex-direction:column}.search-shell input{min-width:0;width:100%}.team-row{grid-template-columns:1fr auto}.team-meta{display:none}.profile-hero{grid-template-columns:auto 1fr;padding:18px}.profile-hero>.badge{grid-column:1/-1;width:max-content}.profile-facts,.self-action-grid{grid-template-columns:1fr}.topbar-label{font-size:12px}.modern-shell .content{padding:14px}.admin-hero{border-radius:16px}.module-note{align-items:flex-start;flex-direction:column}.module-note strong{white-space:normal}}

/* Account security and invitation workflows */
.account-action{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:14px 16px;border:1px solid #dce7e5;border-radius:12px;background:#f7faf9}.account-action span{display:grid;gap:3px}.account-action small{color:var(--muted)}.invitation-dialog{width:min(720px,calc(100vw - 28px))}.invitation-dialog>p{color:var(--muted);line-height:1.55}.invitation-dialog>label{display:grid;gap:8px;margin-top:20px;font-weight:650}.copy-field{display:flex;gap:8px}.copy-field input{min-width:0;flex:1;font:inherit;color:#35545e;padding:10px 12px;border:1px solid #cbd9df;border-radius:8px;background:#f7faf9}.security-dialog{width:min(760px,calc(100vw - 28px))}.security-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0 24px}.security-cards>article{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:18px;border:1px solid #dce7e5;border-radius:14px;background:linear-gradient(145deg,#f4faf8,#fff)}.security-cards h3,.security-cards p{margin:0}.security-cards p{min-height:43px;color:var(--muted);font-size:13px;line-height:1.55}.security-cards .button{margin-top:auto}.security-sessions{display:grid;border:1px solid #dce7e5;border-radius:13px;overflow:hidden}.security-session{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-top:1px solid #e5ecea}.security-session:first-child{border-top:0}.security-session>div{display:grid;gap:3px;min-width:0}.security-session span,.security-session small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.security-session span{font-size:13px}.security-session small{font-size:11px}.security-dialog form{display:grid;gap:13px;margin-top:18px}.security-dialog form>label{display:grid;gap:7px;color:#486772;font-size:13px;font-weight:650}.security-dialog form input{font:inherit;color:#234653;padding:10px 11px;border:1px solid #cbd9df;border-radius:8px;background:#fff;width:100%}.totp-secret{display:block;padding:14px;border-radius:10px;background:#102c3a;color:#6ce2ca;font-size:17px;font-weight:700;letter-spacing:2px;text-align:center;overflow-wrap:anywhere}.security-dialog details code{display:block;margin-top:8px;padding:10px;background:#f1f5f4;border-radius:8px;font-size:11px;overflow-wrap:anywhere}.login-card>form>label{display:grid;gap:8px}.login-card input[inputmode="numeric"]{letter-spacing:8px;font-size:22px;text-align:center}.login-card .success{display:grid;gap:7px;margin-top:16px}.login-card .success a{color:var(--brand);font-weight:700;overflow-wrap:anywhere}
@media(max-width:700px){.security-cards{grid-template-columns:1fr}.account-action,.copy-field{align-items:stretch;flex-direction:column}.security-session{align-items:flex-start}.security-session .button{flex:none}.invitation-dialog,.security-dialog{width:calc(100vw - 20px)}}
