.hr-toolbar{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.hr-toolbar input{flex:1;min-width:180px}.hr-list{display:grid;gap:12px}.hr-person-card{width:100%;display:flex;align-items:center;gap:14px;padding:18px;background:white;border:1px solid var(--line);border-radius:12px;text-align:left;color:var(--ink)}.hr-person-card>span:nth-child(2){flex:1;min-width:0}.hr-person-card strong,.hr-person-card small{display:block;overflow-wrap:anywhere}.hr-person-card small{margin-top:6px;color:#627a88;font-size:12px}.hr-avatar{background:#e8eef1;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;flex-shrink:0}.hr-next{display:block;color:#826b40;font-size:12px;margin-top:9px}.hr-current{background:#eef3f5;border-radius:12px;padding:18px;margin-bottom:18px}.hr-current small{letter-spacing:.12em;color:#627a88}.hr-current h3{margin:10px 0}.hr-current p{margin:5px 0}.hr-actions{display:grid;gap:8px}.hr-period-summary{padding:13px 0;border-bottom:1px solid var(--line)}.hr-period-summary small{display:block;margin-top:5px;color:#627a88}.hr-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hr-two label{min-width:0}.hr-block{border:1px solid var(--line);border-radius:10px;padding:12px;margin:16px 0}.hr-block summary{font-weight:600;cursor:pointer;line-height:1.5}.hr-period{padding:12px;margin-top:12px;border-radius:8px;background:#f2f5f6}.hr-period .text-button{font-size:12px}.hr-config-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.hr-definition{display:block;width:100%;padding:12px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.hr-definition strong,.hr-definition small{display:block}.hr-definition small{margin:5px 0;color:#627a88}.hr-config-grid .secondary{margin-top:15px}.hr-config-grid details{margin-top:18px}.plan-home{margin-top:24px;max-width:650px}.plan-controls{background:white;border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:16px}.plan-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:#edf1f3;border-radius:9px;padding:4px}.plan-tabs button{border:0;background:transparent;border-radius:6px;padding:10px;color:#526b7c}.plan-tabs button.selected{background:#183646;color:white}.plan-navigation{display:flex;align-items:center;justify-content:space-between;margin:14px 0;gap:8px}.plan-navigation strong{text-align:center;font-size:17px}.plan-navigation .icon-button{font-size:27px}.plan-filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}.plan-filter label{margin:0;min-width:0;font-size:12px}.plan-filter input,.plan-filter select{margin-top:5px;width:100%;min-width:0}.plan-note{background:#f5efe3;color:#665735;border:1px solid #e7dcc4;padding:14px;border-radius:9px;line-height:1.6;font-size:13px}.plan-legend{font-size:11px;color:#647e8c;display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:18px 0}.plan-legend small{flex-basis:100%;font-size:11px}.plan-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0;background:#8c9aa1}.plan-dot.ok{background:#7e9b97}.plan-dot.low{background:#b27c72}.plan-day-actions{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.plan-day-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:14px}.plan-shift{background:white;border:1px solid var(--line);border-radius:13px;padding:17px;min-width:0}.plan-shift.needs-attention{border-left:3px solid #b98b80}.plan-shift-heading{display:flex;align-items:center;gap:12px}.plan-shift-heading>div{flex:1}.plan-shift-heading h2{font-size:16px;margin:0 0 5px}.plan-shift-heading p{font-size:12px;margin:0;color:#6d818c}.plan-code{display:grid;place-items:center;width:35px;height:35px;background:#eaf0f3;border-radius:8px;font-weight:700}.plan-strength{display:flex;align-items:center;gap:18px;margin:20px 0 12px}.plan-strength>strong{font-size:33px;white-space:nowrap}.plan-strength strong small{font-size:16px;color:#8a9da7;font-weight:400}.plan-strength>span{font-size:12px;color:#697f8c;line-height:1.6}.plan-shortfalls{background:#f7efed;border-radius:6px;padding:8px;color:#87635e;margin-bottom:15px}.plan-shortfalls small{display:block;line-height:1.8;font-size:11px}.plan-shift details{border-top:1px solid var(--line);padding-top:13px;font-size:12px}.plan-shift summary{cursor:pointer}.plan-roster{padding:12px 0;display:flex;gap:8px;justify-content:space-between;border-bottom:1px solid var(--line)}.plan-roster strong,.plan-roster small{display:block;overflow-wrap:anywhere}.plan-roster small{font-size:10px;color:#728995;margin-top:4px}.plan-events{margin-top:24px}.plan-event{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.plan-event>div{min-width:0}.plan-event span,.plan-event small{display:block;font-size:12px;margin-top:5px;overflow-wrap:anywhere}.plan-event small{color:#7b8f9a}.plan-event p{font-size:12px;overflow-wrap:anywhere}.plan-month{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.plan-month-row{display:flex;align-items:center;gap:15px;width:100%;padding:12px 15px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.plan-calendar-day{min-width:29px;text-align:center}.plan-calendar-day strong{display:block;font-size:20px}.plan-calendar-day small{font-size:10px;color:#7b8f9a}.plan-month-copy{flex:1;min-width:0}.plan-month-copy>small{display:block;font-size:10px;color:#8b7350;margin-top:5px}.plan-mini-shift{display:inline-block;font-size:11px;color:#798b97;margin-right:14px}.plan-mini-shift strong{font-size:15px;color:#254354;margin-left:3px}.plan-year{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:14px}.plan-year-month{border:1px solid var(--line);border-radius:12px;padding:12px;background:white;min-width:0}.plan-month-title{background:transparent;border:0;font-size:17px;padding:6px 0 14px;font-weight:600;width:100%;text-align:left}.plan-year-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.plan-year-days>small{font-size:10px;color:#80939d;padding-bottom:7px}.plan-year-days button{border:0;border-radius:5px;min-height:39px;background:#edf3f2;font-size:12px;padding:3px 0}.plan-year-days button.low{background:#f4eae7}.plan-year-days button.jump{outline:1px solid #ad8c54}.plan-year-days button small{display:block;font-size:9px;color:#6e808a}.plan-holiday{color:#887046;font-size:13px}@media(max-width:600px){.plan-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-filter>.secondary{grid-column:1/-1;min-height:35px}.hr-two{grid-template-columns:1fr}.plan-day-grid,.plan-year,.hr-config-grid{grid-template-columns:minmax(0,1fr)}.plan-controls{padding:12px}.plan-event{align-items:flex-start;flex-direction:column}.plan-event .secondary{font-size:12px;padding:7px 12px;min-height:32px}.hr-person-card{padding:14px;gap:10px}.hr-avatar{width:34px;height:34px}.hr-toolbar>*{width:100%}.plan-day-actions>*{flex:1}.plan-mini-shift{margin-right:10px}}

/* One application card system for all modules. */
.application-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.application-card{min-width:0;background:white;border:1px solid var(--line);border-radius:15px;padding:24px;display:flex;flex-direction:column;align-items:flex-start}.application-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#edf2f4;color:#304f60;margin-bottom:16px}.application-icon svg{width:25px;height:25px}.application-card h2{font-size:22px;margin:0 0 10px;overflow-wrap:anywhere}.application-card>p:not(.eyebrow){font-size:14px;line-height:1.6;color:#6a7f8b;flex:1;margin:0 0 22px}.application-card>.secondary{width:100%;display:flex;justify-content:space-between;align-items:center}.hr-swipe .hr-person-card{border:0;border-radius:0;flex:1;min-width:0}.hr-swipe .case-drawer{grid-template-rows:1fr}.matrix-help{font-size:12px;color:#687e8b;line-height:1.6}.matrix-scroll{width:100%;max-width:100%;max-height:72vh;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;border:1px solid var(--line);border-radius:12px;background:white;position:relative;isolation:isolate;-webkit-overflow-scrolling:touch}.matrix-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;color:var(--ink);font-size:12px}.matrix-table th,.matrix-table td{padding:0;border-right:1px solid #e1e8eb;border-bottom:1px solid #e1e8eb;box-sizing:border-box;text-align:center;min-width:74px;width:74px;max-width:74px;background:#fff}.matrix-table .matrix-name{position:sticky;left:0;min-width:164px;width:164px;max-width:164px;text-align:left;z-index:2;padding:10px 12px;box-shadow:2px 0 4px #1533420a}.matrix-name strong,.matrix-name>small{display:block;overflow-wrap:anywhere}.matrix-name strong{font-size:13px;font-weight:600}.matrix-name small{font-size:11px;font-weight:400;color:#657c89;margin-top:3px}.matrix-table thead th{position:sticky;top:0;z-index:3;background:#f5f8f9;vertical-align:top}.matrix-table thead .matrix-corner{z-index:4;vertical-align:top;padding-top:16px}.matrix-header-label{display:block;margin-top:34px;font-size:10px;line-height:1.7;color:#637d8a;font-weight:400}.matrix-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:60px;border:0;background:transparent;padding:7px 0;color:var(--ink);position:relative}.matrix-date small{font-size:10px;font-weight:400}.matrix-date strong{font-size:17px;margin-top:3px}.matrix-special{position:absolute;top:7px;right:9px;color:#967d4c}.matrix-counts{display:grid;gap:3px;padding:0 4px 7px}.matrix-counts button{border:0;border-radius:4px;background:#e7efed;color:#45655e;padding:4px 1px;line-height:1.2;min-height:32px}.matrix-counts button span{display:block;font-size:10px;font-weight:600}.matrix-counts button small{display:block;font-size:9px;margin-top:2px}.matrix-counts button.low{background:#f1e5e1;color:#8b5d52}.matrix-table .matrix-group th,.matrix-table .matrix-group td{background:#e7eef1;height:42px}.matrix-group button{display:block;width:100%;font-size:12px;font-weight:600;border:0;background:transparent;padding:0;text-align:left;color:#2b4c5f;white-space:normal}.matrix-group small{margin-left:3px}.matrix-cell{width:100%;min-height:62px;border:0;background:transparent;padding:8px 2px;color:#355464;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12px}.matrix-duty{white-space:nowrap}.matrix-duty.covered{text-decoration:line-through;color:#87979f;font-size:10px}.matrix-event-codes{font-size:10px;line-height:1.4;background:#eee4d2;color:#715a31;border-radius:4px;padding:2px 4px;max-width:100%;overflow-wrap:anywhere}.matrix-table .matrix-outside{color:#b6c1c7;}.matrix-inactive .matrix-duty{color:#9caab1}.matrix-key{display:flex;gap:7px 14px;flex-wrap:wrap;margin:15px 0;font-size:11px;color:#627985;line-height:1.6}.matrix-detail-event{padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:12px}.matrix-detail-event p{font-size:13px;line-height:1.6}.matrix-detail-event button{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.application-grid{grid-template-columns:minmax(0,1fr)}.application-card{padding:20px}.application-card h2{font-size:21px}.matrix-table .matrix-name{min-width:132px;width:132px;max-width:132px;padding:9px}.matrix-name strong{font-size:12px}.matrix-name small{font-size:10px}.matrix-table th,.matrix-table td{min-width:66px;width:66px;max-width:66px}.matrix-group button{font-size:11px}.matrix-scroll{max-height:70vh}.matrix-duty{font-size:11px}.matrix-help{font-size:11px}}
.plan-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-control-footer{display:flex;justify-content:space-between;align-items:center;margin-top:5px}.plan-control-footer .text-button{min-height:32px;padding:6px 0}.plan-note summary{cursor:pointer}.plan-note p{margin:8px 0 0}.matrix-counts button{min-height:27px;padding:3px 1px}.matrix-date{min-height:49px}@media(max-width:600px){#content:has(.matrix-scroll) .page-heading{margin-bottom:18px}#content:has(.matrix-scroll) .page-heading .eyebrow{margin-bottom:8px}#content:has(.matrix-scroll) h1{font-size:25px;margin-bottom:5px}#content:has(.matrix-scroll) .plan-note{padding:9px 12px;font-size:12px;margin:10px 0}#content:has(.matrix-scroll) .plan-legend{margin:10px 0}#content:has(.matrix-scroll) .matrix-help{margin-bottom:8px}.plan-filter select{font-size:13px}.plan-navigation{margin:8px 0}}

/* Each calendar day presents early, late and night side by side. */
.matrix-table th,.matrix-table td{min-width:216px;width:216px;max-width:216px}.matrix-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:0 4px 8px}.matrix-counts button{min-height:59px;padding:5px 1px}.matrix-counts button strong{display:block;font-size:10px;margin-bottom:5px;white-space:nowrap}.matrix-counts button span{font-size:12px}.matrix-header-label{margin-top:14px}.matrix-table .matrix-name{min-width:164px;width:164px;max-width:164px}.matrix-cell{min-height:64px}.demo-person-tag{display:inline-block;font-size:10px;padding:2px 5px;background:#f1ebdc;color:#7b6544;border-radius:4px;margin-left:5px}@media(max-width:600px){.matrix-table .matrix-name{min-width:132px;width:132px;max-width:132px}.matrix-table th,.matrix-table td{min-width:204px;width:204px;max-width:204px}.matrix-table .matrix-name{min-width:132px;width:132px;max-width:132px}.matrix-counts button strong{font-size:10px}}

/* 0.4.3 – kompakter Dienstplan, Tagesdienst, Tauschbörse und Gerichtsverhandlungen */
.planning-nav-label{margin-top:14px}.plan-event-code,.hr-code{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:3px 7px;border-radius:6px;background:#e8edf0;color:#294a5d;font-size:10px;font-weight:750;letter-spacing:.35px}.plan-period-block{padding:14px 14px 2px;background:#f4f7f8;border-radius:10px;margin-bottom:18px}.plan-period-block h3{margin:0 0 12px;font-size:13px}.plan-td{border-left:3px solid #738d9c}.plan-td-meta{display:flex;align-items:center;gap:16px;margin:20px 0}.plan-td-meta strong{font-size:31px}.plan-td-meta span,.plan-td-off{font-size:12px;color:#687f8b;line-height:1.6}.plan-shortfalls .text-button{margin-top:5px;min-height:28px;color:#815b54}.hr-config-wide{grid-column:1/-1}.hr-event-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0 18px}.hr-event-types .hr-definition{display:flex;align-items:center;gap:12px}.hr-event-types .hr-definition>span:last-child{min-width:0}.hr-code{flex-shrink:0;min-width:46px}.hr-definition:hover{background:#f7f9fa}

/* Ein Tag bleibt bewusst schmal: Früh/Spät/Nacht stehen in eigenen Kopfzeilen. */
.matrix-table th,.matrix-table td{min-width:176px;width:176px;max-width:176px}.matrix-table .matrix-name{min-width:154px;width:154px;max-width:154px}.matrix-date{min-height:47px;padding:6px 0 4px}.matrix-shift-labels,.matrix-shift-groups,.matrix-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding-left:4px;padding-right:4px}.matrix-shift-labels{font-size:9px;color:#627985;text-transform:uppercase;letter-spacing:.35px}.matrix-shift-groups{margin-top:2px;font-size:10px;color:#294a5d}.matrix-shift-groups strong{font-weight:700}.matrix-counts{padding-top:5px;padding-bottom:7px}.matrix-counts button,.matrix-td-slot{min-height:35px;padding:4px 1px}.matrix-counts button span,.matrix-td-slot span{display:block;font-size:11px;font-weight:600}.matrix-counts button small,.matrix-td-slot small{display:block;font-size:8px;margin-top:2px}.matrix-td-slot{border-radius:4px;background:#edf1f3;color:#677d89;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.2}.matrix-header-label{margin-top:44px;font-size:10px;font-weight:650}.matrix-cell{min-height:54px;padding:6px 3px}.matrix-empty{display:block;width:100%;height:10px}.matrix-event-codes{font-size:10px;font-weight:750;letter-spacing:.25px;background:#eee7d8;color:#715c36}.matrix-absence .matrix-event-codes{background:#f2e7e4;color:#815a51}.matrix-key b{color:#294a5d}.matrix-key span{white-space:nowrap}

.exchange-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.exchange-summary section{background:white;border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;align-items:baseline;gap:10px}.exchange-summary strong{font-size:28px}.exchange-summary span{font-size:12px;color:#6b818d}.exchange-list{display:grid;gap:14px}.exchange-card{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.exchange-card.covered{opacity:.72}.exchange-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.exchange-head h2{font-size:18px;margin:5px 0}.exchange-head p{font-size:12px;color:#657d89;margin:0}.exchange-kicker{font-size:9px;letter-spacing:1.2px;color:#8b734c;font-weight:750}.exchange-badge{font-size:10px;border-radius:999px;padding:5px 9px;background:#f1e8e4;color:#8a5c52;white-space:nowrap}.exchange-card.covered .exchange-badge{background:#e8efec;color:#547267}.exchange-strength{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.exchange-strength>div{background:#f4f7f8;border-radius:9px;padding:12px}.exchange-strength strong,.exchange-strength small{display:block}.exchange-strength strong{font-size:20px}.exchange-strength small{margin-top:5px;font-size:10px}.exchange-alert{font-size:11px;background:#f7efed;color:#815c54;padding:9px 10px;border-radius:7px}.exchange-own{font-size:12px;color:#526b78}.exchange-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.exchange-apps{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.exchange-apps summary{cursor:pointer;font-size:12px;font-weight:650}.exchange-applicant{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.exchange-applicant strong,.exchange-applicant small{display:block}.exchange-applicant small{margin-top:3px}.exchange-history{margin-top:20px}.exchange-history>summary{cursor:pointer;color:#607984;font-size:12px;margin-bottom:12px}

.court-list{display:grid;gap:12px}.court-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;background:white;border:1px solid var(--line);border-radius:13px;padding:17px}.court-date{width:70px;padding:10px;border-radius:10px;background:#edf2f4;text-align:center}.court-date strong,.court-date span{display:block}.court-date strong{font-size:18px}.court-date span{font-size:10px;color:#6c818d;margin-top:4px}.court-copy{min-width:0}.court-copy h2{font-size:16px;margin:5px 0}.court-copy p{font-size:12px;margin:0 0 5px;color:#607884}.court-copy small{display:block;overflow-wrap:anywhere}

@media(max-width:600px){.matrix-table th,.matrix-table td{min-width:164px;width:164px;max-width:164px}.matrix-table .matrix-name{min-width:126px;width:126px;max-width:126px}.matrix-shift-labels{font-size:8px}.matrix-shift-groups{font-size:9px}.matrix-counts button span,.matrix-td-slot span{font-size:10px}.matrix-header-label{margin-top:42px}.exchange-summary{grid-template-columns:1fr 1fr}.exchange-card{padding:15px}.exchange-strength{grid-template-columns:repeat(3,1fr)}.exchange-strength>div{padding:9px}.exchange-strength strong{font-size:17px}.exchange-actions>*{width:100%}.court-card{grid-template-columns:auto minmax(0,1fr);padding:14px}.court-card>.secondary{grid-column:1/-1;width:100%}.court-date{width:60px}.hr-event-types{grid-template-columns:1fr}.plan-td{grid-column:1/-1}}

/* 0.4.5 – echte Einzelfelder je Dienst (F/S/N/TD) */
.matrix-table th.matrix-day-group{min-width:176px;width:176px;max-width:none;height:48px;top:0;padding:0;background:#f5f8f9}.matrix-table th.matrix-slot-head,.matrix-table td.matrix-slot-cell{min-width:44px;width:44px;max-width:44px;}.matrix-table thead th.matrix-slot-head{top:48px;z-index:3;padding:4px 2px 6px;background:#f5f8f9;vertical-align:top}.matrix-table thead .matrix-corner{top:0;z-index:5;min-width:154px;width:154px;max-width:154px}.matrix-slot-title{display:block;font-size:8px;line-height:1.2;text-transform:uppercase;letter-spacing:.35px;color:#687e8a}.matrix-slot-group{display:block;min-height:13px;margin:2px 0 3px;font-size:10px;color:#294a5d}.matrix-count-mini{width:100%;min-height:32px;border:0;border-radius:4px;background:#e7efed;color:#45655e;padding:3px 1px;line-height:1.1}.matrix-count-mini.low{background:#f1e5e1;color:#8b5d52}.matrix-count-mini span{display:block;font-size:10px;font-weight:700}.matrix-count-mini small{display:block;font-size:7px;margin-top:2px}.matrix-slot-head .matrix-td-slot{min-height:32px;padding:3px 1px}.matrix-slot-cell{height:54px;}.matrix-slot-cell .matrix-cell{min-height:53px;padding:5px 1px}.matrix-slot-off .matrix-cell{opacity:.58}.matrix-slot-off .matrix-cell:hover{opacity:.9;background:#f0f4f5}.matrix-group td{min-width:auto!important;width:auto!important;max-width:none!important}.matrix-group .matrix-name{min-width:154px!important;width:154px!important;max-width:154px!important}.matrix-event-codes{padding:2px 3px;font-size:9px;line-height:1.2}.matrix-empty{height:8px}.matrix-header-label{margin-top:20px}
@media(max-width:600px){.matrix-table th.matrix-day-group{min-width:160px;width:160px}.matrix-table th.matrix-slot-head,.matrix-table td.matrix-slot-cell{min-width:40px;width:40px;max-width:40px;}.matrix-table thead .matrix-corner,.matrix-group .matrix-name{min-width:126px!important;width:126px!important;max-width:126px!important}.matrix-slot-title{font-size:7px}.matrix-slot-group{font-size:9px}.matrix-count-mini span{font-size:9px}.matrix-count-mini small{font-size:6.5px}.matrix-slot-cell .matrix-cell{min-height:50px}.matrix-event-codes{font-size:8px}}

/* 0.4.6 – Schnellwahl, klare Tagestrennung, keine Doppellinien */
.hr-availability-rules{margin:8px 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#f6f8f9}.hr-availability-rules>strong{display:block;font-size:12px;margin-bottom:4px}.hr-availability-rules .check-row{margin:0;padding:7px 0}
.matrix-day-group,.matrix-slot-header-row>.matrix-slot-head:nth-child(4n),.matrix-person-row>td.matrix-slot-cell:nth-child(4n/**/+1){border-right:2px solid #b8c5cc!important;}.matrix-person-row>td.matrix-slot-cell:nth-child(4n/**/+1).matrix-today{}.matrix-slot-header-row>.matrix-slot-head:nth-child(4n).matrix-today,.matrix-day-group.matrix-today{}
.matrix-quick{position:fixed;z-index:80;background:#fff;border:1px solid #cfd9de;border-radius:12px;box-shadow:0 14px 42px #1732442e;padding:10px;max-height:min(520px,calc(100dvh - 20px));overflow:auto}.matrix-quick-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:3px 3px 9px;border-bottom:1px solid #e5ebee}.matrix-quick-head strong,.matrix-quick-head small{display:block}.matrix-quick-head strong{font-size:13px}.matrix-quick-head small{margin-top:3px;font-size:10px;color:#6d818c}.matrix-quick-head>button{border:0;background:#edf1f3;color:#5f7682;border-radius:50%;width:27px;height:27px;font-size:19px;line-height:1;padding:0}.matrix-quick-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px 0}.matrix-quick-codes>button{border:1px solid #d9e2e6;background:#f8fafb;border-radius:8px;min-height:66px;padding:8px 6px;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.matrix-quick-codes>button:hover,.matrix-quick-codes>button:focus{background:#eaf0f3;border-color:#aebfc8;outline:none}.matrix-quick-codes b{font-size:12px;color:#294a5d}.matrix-quick-codes span{font-size:11px;line-height:1.3;color:#6b7f8a;text-align:center;max-width:100%;white-space:normal;overflow-wrap:anywhere;hyphens:auto}.matrix-quick-codes p{grid-column:1/-1;margin:5px 3px;font-size:11px;color:#72858f}.matrix-quick-existing{padding:9px 0 2px;border-bottom:1px solid #e5ebee}.matrix-quick-existing>small{display:block;margin:0 3px 5px;font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:#7a8d97}.matrix-quick-existing>button{width:100%;border:0;background:transparent;border-radius:7px;padding:7px 6px;display:flex;align-items:center;gap:8px;text-align:left}.matrix-quick-existing>button:hover{background:#f1f5f6}.matrix-quick-existing b{display:inline-flex;min-width:35px;justify-content:center;background:#eee7d8;color:#715c36;border-radius:5px;padding:3px 5px;font-size:10px}.matrix-quick-existing span{font-size:10px;color:#546c79}.matrix-quick-foot{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding-top:3px}.matrix-quick-foot button{border:0;background:#eef2f4;color:#3d5968;border-radius:7px;padding:8px 5px;font-size:9px;font-weight:600}.matrix-cell:focus-visible{outline:2px solid #7995a4;outline-offset:-2px}
@media(max-width:600px){.matrix-quick{border-radius:11px}.matrix-quick-codes{grid-template-columns:repeat(2,minmax(0,1fr))}.matrix-quick-codes>button{min-height:66px}}


/* 0.4.7 – Toggle-Kürzel, stille Aktualisierung und Dienstgruppen-Rhythmus */
.matrix-slot-cell.matrix-regular{transition:background-color .12s ease;}









.matrix-quick-codes>button.is-active{animation:matrix-quick-active-pulse 2.6s ease-in-out infinite;background:#e4ecef;border-color:#8fa8b4;box-shadow:inset 0 0 0 1px #8fa8b4}
.matrix-quick-codes>button.is-active b{color:#1f4658}
.matrix-quick-codes>button.is-active span{font-weight:650;color:#3f6070}
.hr-order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hr-order-list{display:grid}.hr-order-row{display:flex;align-items:center;gap:12px;min-height:54px;padding:9px 0;border-bottom:1px solid var(--line)}.hr-order-row:last-child{border-bottom:0}.hr-order-row>span:first-child{flex:1;min-width:0}.hr-order-row strong,.hr-order-row small{display:block;overflow-wrap:anywhere}.hr-order-row strong{font-size:13px}.hr-order-row small{margin-top:4px;font-size:10px;color:#6c818d}.hr-order-actions{display:flex;gap:5px;flex-shrink:0}.hr-order-actions button{width:34px;height:34px;padding:0;border:1px solid #d4dee3;border-radius:8px;background:#f5f8f9;color:#385768;font-size:17px;line-height:1}.hr-order-actions button:disabled{opacity:.25}.hr-order-actions button:not(:disabled):hover{background:#eaf0f3}@media(max-width:700px){.hr-order-grid{grid-template-columns:1fr}.hr-order-row{min-height:50px}}

/* 0.4.8 – ruhige Monatsmatrix, ausgeschriebener Tag, Stärkezeilen und KDD-Zeiträume */
.matrix-table{--matrix-date-h:60px;--matrix-service-h:40px;--matrix-strength-h:23px}
.matrix-table th,.matrix-table td{border-right:1px solid #dfe6ea!important;border-bottom:1px solid #dfe6ea!important}
.matrix-day-group,.matrix-person-row>td.matrix-slot-cell,.matrix-group td{border-right:1px solid #dfe6ea!important;}

.matrix-table thead th{top:0}
.matrix-table thead .matrix-corner{top:0;z-index:5;padding:0!important;vertical-align:top;background:#f5f8f9;min-width:154px;width:154px;max-width:154px}
.matrix-corner-top{height:var(--matrix-date-h);box-sizing:border-box;padding:11px 12px 8px;border-bottom:1px solid #dfe6ea;display:flex;flex-direction:column;justify-content:center}
.matrix-corner-top strong{font-size:13px}.matrix-corner-top small{font-size:10px;color:#657c89;margin-top:4px}
.matrix-corner-service{height:var(--matrix-service-h);box-sizing:border-box;padding:0 12px;border-bottom:1px solid #dfe6ea;display:flex;align-items:center;font-size:10px;font-weight:650;color:#607985}
.matrix-strength-labels{display:grid;grid-template-rows:repeat(5,var(--matrix-strength-h));font-size:8.5px;color:#607985;font-weight:600}
.matrix-strength-labels span{display:flex;align-items:center;padding:0 12px;border-bottom:1px solid #dfe6ea;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.matrix-strength-labels span:last-child{border-bottom:0;color:#294a5d;font-weight:750}
.matrix-table th.matrix-day-group{min-width:176px;width:176px;max-width:none;height:auto;padding:0;background:#f5f8f9;vertical-align:top}
.matrix-date{height:var(--matrix-date-h);min-height:var(--matrix-date-h);padding:5px 2px;border-bottom:1px solid #dfe6ea;gap:1px}
.matrix-date .matrix-day-flag{height:11px;line-height:11px;font-size:7.5px;letter-spacing:.45px;text-transform:uppercase;color:#8a6b42;font-weight:700}
.matrix-date .matrix-weekday{font-size:13px;line-height:17px;margin:0;font-weight:700;color:#193748}
.matrix-date .matrix-full-date{font-size:9.5px;line-height:13px;color:#647c88}
.matrix-service-grid{height:var(--matrix-service-h);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #dfe6ea}
.matrix-service-head{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #dfe6ea;line-height:1.1}
.matrix-service-head:last-child{border-right:0}.matrix-service-head span{font-size:7.5px;text-transform:uppercase;letter-spacing:.4px;color:#687e8a}.matrix-service-head strong{font-size:10px;color:#294a5d;margin-top:4px;min-height:11px}
.matrix-strength-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(5,var(--matrix-strength-h))}
.matrix-strength-number{box-sizing:border-box;width:100%;height:var(--matrix-strength-h);min-height:var(--matrix-strength-h);border:0;border-right:1px solid #dfe6ea;border-bottom:1px solid #dfe6ea;border-radius:0;background:transparent;color:#385968;font-size:10px;font-weight:650;padding:0;display:flex;align-items:center;justify-content:center}
.matrix-strength-number:nth-child(4n){border-right:0}.matrix-strength-number:nth-last-child(-n/**/+4){border-bottom:0}.matrix-strength-number:not(.td):hover,.matrix-strength-number:not(.td):focus-visible{background:#eaf0f3;outline:none}.matrix-strength-number.low{background:#f3e7e4;color:#8a5d54;font-weight:800}.matrix-strength-number.td{color:#687f8a;font-weight:600}




.matrix-slot-cell.matrix-inactive{color:#9dabb2;}.matrix-slot-cell.matrix-inactive .matrix-cell{opacity:.4;cursor:not-allowed}.matrix-slot-cell.matrix-inactive .matrix-cell:hover{background:transparent}

.matrix-person-row .matrix-name{min-height:54px}.matrix-role{font-size:9px!important;line-height:1.25;color:#577180!important}.matrix-period{font-size:8.5px!important;line-height:1.3;color:#8a6a45!important;font-weight:600!important;margin-top:5px!important}
.plan-personnel-changes{margin-top:18px}.plan-personnel-changes h2{margin-top:0}.plan-personnel-change{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.plan-personnel-change:last-child{border-bottom:0}.plan-personnel-change>time{font-size:11px;color:#6c818d;font-weight:650}.plan-personnel-change strong,.plan-personnel-change small{display:block}.plan-personnel-change small{font-size:10px;color:#6c818d;margin-top:3px}
@media(max-width:600px){
 .matrix-table{--matrix-date-h:58px;--matrix-service-h:38px;--matrix-strength-h:22px}
 .matrix-table th.matrix-day-group{min-width:160px;width:160px}
 .matrix-table thead .matrix-corner{min-width:126px;width:126px;max-width:126px}
 .matrix-corner-top{padding:9px}.matrix-corner-service{padding:0 9px}.matrix-strength-labels span{padding:0 9px;font-size:7.7px}
 .matrix-date .matrix-weekday{font-size:12px}.matrix-date .matrix-full-date{font-size:9px}.matrix-service-head span{font-size:7px}.matrix-service-head strong{font-size:9px}.matrix-strength-number{font-size:9px}
 .matrix-role{font-size:8.5px!important}.matrix-period{font-size:8px!important}
 .plan-personnel-change{grid-template-columns:76px minmax(0,1fr);gap:8px}
}
.matrix-person-row>td.matrix-slot-cell:nth-child(4n/**/+1){border-right:1px solid #dfe6ea!important;}

/* 0.4.9 – kompakte Namen, dynamische Funktionsstärken und Wunschstatus */
.matrix-table thead .matrix-corner,.matrix-group .matrix-name,.matrix-table .matrix-name{min-width:180px;width:180px;max-width:180px}
.matrix-person-row .matrix-name>strong{white-space:nowrap;overflow:hidden;text-overflow:clip;font-size:12px;letter-spacing:-.1px}
.matrix-event-codes{display:flex;flex-direction:column;align-items:center;gap:2px;background:transparent!important;padding:0;line-height:1.05}
.matrix-event-codes>span{display:block;min-width:24px;max-width:38px;padding:2px 3px;border-radius:4px;background:#eee7d8;color:#715c36;font-size:9px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.matrix-absence .matrix-event-codes>span{background:#f2e7e4;color:#815a51}

.matrix-wish .matrix-event-codes>span{background:#f3dfae!important;color:#745b25!important}
.matrix-strength-toggle{width:100%;height:var(--matrix-strength-h);border:0;border-bottom:0;background:transparent;color:#294a5d;font:inherit;font-weight:750;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:6px;white-space:nowrap}
.matrix-strength-toggle:hover,.matrix-strength-toggle:focus-visible{background:#eaf0f3;outline:none}
.matrix-strength-toggle span{font-size:11px;color:#647c88}
.matrix-quick-warning{margin:8px 0 2px;padding:9px 10px;border:1px solid #e2c989;border-radius:8px;background:#fbf2df;color:#6f5827}
.matrix-quick-warning strong,.matrix-quick-warning span{display:block}.matrix-quick-warning strong{font-size:10px}.matrix-quick-warning span{margin-top:3px;font-size:9px;line-height:1.35}
.matrix-quick-codes>button.has-wish:not(.is-active){background:#fff8e9;border-color:#dfc37f}
.matrix-quick-codes>button.has-wish:not(.is-active) b{color:#745b25}
@media(max-width:600px){
 .matrix-table thead .matrix-corner,.matrix-group .matrix-name,.matrix-table .matrix-name{min-width:150px!important;width:150px!important;max-width:150px!important}
 .matrix-person-row .matrix-name>strong{font-size:11px}
 .matrix-event-codes>span{font-size:8px;max-width:34px}
}
/* 0.4.9 – dynamische Stärkezeilen und kompakte Wunschmarkierung */
.matrix-strength-labels,.matrix-strength-grid{grid-template-rows:none}
.matrix-wish-mark{display:block;font-style:normal;font-size:7px;line-height:1;color:#8a6924;font-weight:800;margin-top:1px}

/* 0.4.10 – ruhige Steuerung, einheitliche Chevrons und Sonderdienstplanung */
.plan-filter{align-items:start}
.plan-filter label{display:grid;grid-template-rows:16px 44px;gap:5px;align-content:start;margin:0;line-height:16px}
.plan-filter input,.plan-filter select{height:44px;min-height:44px;margin:0!important;padding-top:0;padding-bottom:0}


.matrix-chevron{width:13px;height:13px;flex:0 0 13px;color:#607985;transition:transform .16s ease;transform:rotate(0deg)}
.matrix-chevron.open{transform:rotate(90deg)}
.matrix-group button{display:flex;align-items:center;gap:7px;width:100%;min-height:30px;padding:0;text-align:left}
.matrix-group button>span{flex:0 1 auto;min-width:0}
.matrix-group button>small{margin-left:0}
.matrix-strength-toggle{justify-content:flex-start!important;gap:6px!important;padding:0 10px!important}
.matrix-strength-toggle>span{font-size:inherit!important;color:inherit!important;overflow:hidden;text-overflow:ellipsis}
.matrix-special-service{width:100%;height:var(--matrix-strength-h);min-height:var(--matrix-strength-h);border:0;border-right:1px solid #dfe6ea;border-bottom:1px solid #dfe6ea;background:#f7f4ec;color:#6e5c37;font-size:8px;font-weight:650;padding:0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.matrix-special-service:nth-child(4n){border-right:0}
button.matrix-special-service:hover,button.matrix-special-service:focus-visible{background:#efe8d8;outline:none}
.matrix-special-service.is-empty{display:flex;align-items:center;justify-content:center;background:transparent;color:#9aabb3;font-weight:400}
.plan-special-day{border:1px solid var(--line);border-radius:12px;background:#fff;margin:0 0 16px;padding:12px}
.plan-special-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.plan-special-title strong{font-size:13px}.plan-special-title .text-button{font-size:11px;min-height:28px;padding:3px 0}
.plan-special-chip{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;width:100%;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;padding:10px 2px;color:var(--ink)}
.plan-special-chip:first-of-type{border-top:0}.plan-special-chip b{grid-row:1/3;align-self:center;background:#eee7d8;color:#725d38;border-radius:5px;padding:4px 6px;font-size:10px}.plan-special-chip span{font-size:12px;font-weight:650}.plan-special-chip small{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.special-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.special-list{display:grid;gap:12px}.special-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.special-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.special-card-head h2{font-size:17px;margin:4px 0}.special-card-head p{font-size:11px;color:var(--muted);margin:0}.special-kind{font-size:9px;font-weight:800;letter-spacing:.8px;color:#8a744e}.special-card>strong{display:block;margin-top:14px;font-size:14px}.special-card>small{display:block;margin-top:5px}.special-card>p{font-size:12px;margin:10px 0 0}.special-people{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.special-people span{font-size:10px;background:#eef2f4;border-radius:999px;padding:5px 8px;color:#536d7c}.special-participants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:18px}.special-person{display:flex;align-items:center;gap:9px;margin:0;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.special-person input{flex:0 0 auto}.special-person span{min-width:0}.special-person strong,.special-person small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.special-person strong{font-size:12px}.special-person small{font-size:9px;margin-top:3px}.special-person.unavailable{opacity:.5;background:#f4f6f7}.special-delete-wrap{margin-top:8px}.special-delete-wrap .danger{width:100%}
@media(max-width:600px){.special-participants{grid-template-columns:1fr}.special-card{padding:14px}.special-card-head{align-items:center}.special-actions>*{flex:1}.matrix-chevron{width:12px;height:12px;flex-basis:12px}}

/* 0.4.11 – exakt ausgerichtete Steuerung und klare Heute-Markierung */
.plan-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.plan-filter-field{display:flex!important;flex-direction:column;gap:6px;min-width:0;width:100%;margin:0!important;line-height:1}
.plan-filter-label{display:block;height:16px;line-height:16px;font-size:12px;font-weight:600;color:#526977}
.plan-control-box{display:block;width:100%;height:46px;min-width:0;overflow:hidden;border:1px solid #d3dde4;border-radius:9px;background:#fff}
.plan-control-box input,.plan-control-box select{display:block!important;box-sizing:border-box!important;width:100%!important;inline-size:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;max-inline-size:100%!important;height:44px!important;min-height:44px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0 12px!important;color:var(--ink);font-size:15px!important;outline:0!important}
.plan-control-box input[type=date]{-webkit-appearance:none;appearance:none}
.plan-control-box:focus-within{outline:2px solid #91a8b8;outline-offset:1px}


@media(max-width:600px){.plan-control-box input,.plan-control-box select{font-size:16px!important}}

/* 0.4.11 – Tauschbörse, stabile Filterzeile und heutiger Tag */
.plan-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden}
.plan-filter-field{overflow:hidden}
.plan-control-box{box-sizing:border-box!important;inline-size:100%!important;max-inline-size:100%!important}
.plan-control-box input[type=date],.plan-control-box select{box-sizing:border-box!important;inline-size:100%!important;max-inline-size:100%!important;min-inline-size:0!important}
.plan-control-box input[type=date]::-webkit-date-and-time-value{min-width:0;width:100%;text-align:left}
.matrix-day-group.matrix-today,.matrix-slot-cell.matrix-today{background-clip:padding-box;}

.exchange-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px;background:#eaf0f3;border-radius:11px;margin-bottom:16px}
.exchange-tabs button{display:flex;align-items:center;justify-content:space-between;gap:8px;border:0;border-radius:8px;background:transparent;color:#607783;padding:11px 13px;font:inherit;font-size:12px;font-weight:650}
.exchange-tabs button b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#f7f9fa;color:#526c7a;font-size:10px}
.exchange-tabs button.active{background:#173b4e;color:white}
.exchange-tabs button.active b{background:#ffffff22;color:white}
.exchange-confirmed{border-color:#cfddd7}
.exchange-badge.confirmed{background:#e6efeb;color:#4f7064}
.exchange-confirmed-person{display:flex;flex-direction:column;gap:4px;margin:16px 0;padding:12px;background:#f3f7f5;border-radius:9px}
.exchange-confirmed-person strong{font-size:14px}.exchange-confirmed-person small{font-size:10px}
.exchange-protected{font-size:11px;line-height:1.55;background:#f5f2e9;color:#745f3a;border-radius:7px;padding:10px 11px;margin:12px 0}
.exchange-protected.ok{background:#edf4f0;color:#557165}
@media(max-width:600px){.plan-filter{gap:8px}.exchange-tabs button{padding:10px;font-size:11px}.exchange-confirmed-person{margin:13px 0}}

/* 0.4.12 – einheitliche Steuerzeile, Heute-Fläche und WSED-Freigabe */
.plan-filter{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;align-items:start!important;overflow:visible!important}
.plan-filter-field{display:grid!important;grid-template-rows:16px 46px!important;gap:6px!important;align-content:start!important;min-width:0!important;width:100%!important;margin:0!important;overflow:visible!important}
.plan-filter-label{display:flex!important;align-items:center!important;height:16px!important;min-height:16px!important;line-height:16px!important;margin:0!important;padding:0!important;font-size:12px!important;font-weight:600!important;color:#526977!important}
.plan-control-box{position:relative!important;display:flex!important;align-items:center!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:46px!important;min-height:46px!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #d3dde4!important;border-radius:9px!important;background:#fff!important}
.plan-control-display{display:flex!important;align-items:center!important;box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;padding:0 38px 0 13px!important;color:var(--ink)!important;font-size:16px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;pointer-events:none!important}
.plan-control-native{position:absolute!important;inset:0!important;display:block!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;cursor:pointer!important;-webkit-appearance:none!important;appearance:none!important}
.plan-control-box.plan-control-date::after{content:"";position:absolute;right:14px;top:50%;width:13px;height:13px;transform:translateY(-50%);pointer-events:none;background:linear-gradient(currentColor,currentColor) 1px 1px/11px 1px no-repeat,linear-gradient(currentColor,currentColor) 1px 4px/11px 8px no-repeat;color:#718895;opacity:.7;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 20%,100% 20%,100% 30%,0 30%)}
.plan-control-box.plan-control-select::after{content:"";position:absolute;right:15px;top:50%;width:8px;height:8px;border-right:1.7px solid #718895;border-bottom:1.7px solid #718895;transform:translateY(-68%) rotate(45deg);pointer-events:none}
.plan-control-box:focus-within{outline:2px solid #91a8b8!important;outline-offset:1px!important}
.plan-control-footer{display:flex;justify-content:flex-start;align-items:center;margin-top:8px}

/* Der komplette heutige Tagesblock benutzt exakt dieselbe ruhige Fläche. */





.special-month-nav{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;margin:0 0 16px}.special-month-nav strong{text-align:center;font-size:17px;text-transform:capitalize}
.special-month-grid{display:grid;gap:12px;margin:0 0 16px}.special-month-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}.special-month-card.overdue{border-left:3px solid #b78977}.special-month-card h2{margin:4px 0 5px;font-size:16px;text-transform:capitalize}.special-month-card p{margin:0;color:#6c808b;font-size:11px}.special-status{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:6px 9px;background:#eef2f4;color:#566f7c;font-size:9px;font-weight:750}.status-approved{background:#e7f0ec;color:#517064}.status-submitted,.status-correction_submitted,.status-withdrawal_submitted{background:#f4ead9;color:#7a622f}.status-rejected,.status-correction_rejected,.status-revoked{background:#f3e7e4;color:#865d55}.status-returned,.status-correction_returned,.status-correction_draft{background:#f2eee3;color:#746644}.status-withdrawn{background:#eceff1;color:#6f7c83}.special-month-meta{grid-column:1/-1;display:flex;align-items:baseline;gap:7px;padding-top:8px;border-top:1px solid var(--line)}.special-month-meta strong{font-size:20px}.special-month-meta span{font-size:11px;color:#6b7f8a}.special-month-meta b{margin-left:auto;font-size:10px;color:#8b5c50}.special-workflow-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.special-workflow-actions button{min-height:34px}.special-decision{grid-column:1/-1!important;padding:9px 10px;border-radius:7px;background:#f5f2e9;color:#6e5d3c!important}.special-history{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}.special-history summary{cursor:pointer;font-size:11px;font-weight:650}.special-history p{display:grid;grid-template-columns:auto 1fr;gap:5px 9px;margin:9px 0!important;font-size:10px!important}.special-history time{color:#768b96}.special-history span{color:#536c79}.special-history em{grid-column:2;font-style:normal;color:#79674a}.special-card.workflow-pending{border-left:3px solid #c9a76a}.special-card.workflow-revoked{opacity:.7}.special-card .special-status{margin-left:auto}

@media(max-width:600px){
 .plan-filter{gap:8px!important}.plan-control-display{font-size:16px!important;padding-left:12px!important;padding-right:34px!important}
 .special-month-card{grid-template-columns:1fr auto;padding:14px}.special-status{font-size:8px;padding:5px 7px}.special-workflow-actions>*{flex:1;min-width:120px}
}

/* 0.4.13 – kompakte Gruppenzeilen und Sonderdienst je Dienstspalte */
.matrix-service-head strong.matrix-day-service-name{font-size:7px;letter-spacing:-.25px;white-space:nowrap}
.matrix-special-service.is-empty{background:transparent!important}
@media(max-width:600px){.matrix-service-head strong.matrix-day-service-name{font-size:6.2px;letter-spacing:-.35px}}

/* 0.4.14 – kompakte Stärkezeilen, TD-Kopf und Änderungsprotokoll */
.matrix-strength-grid,.matrix-strength-labels{align-content:start!important;grid-auto-rows:0!important;overflow:hidden!important}
.matrix-strength-grid>.matrix-strength-number,.matrix-strength-grid>.matrix-special-service,.matrix-strength-labels>span,.matrix-strength-labels>.matrix-strength-toggle{box-sizing:border-box!important;margin:0!important;min-height:var(--matrix-strength-h)!important;max-height:var(--matrix-strength-h)!important}
.matrix-service-head strong.matrix-day-service-name{font-size:10px;letter-spacing:.1px;white-space:nowrap}
.matrix-history{display:grid;gap:0}.matrix-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:11px 0;border-bottom:1px solid var(--line)}.matrix-history-row:last-child{border-bottom:0}.matrix-history-row strong,.matrix-history-row small{display:block}.matrix-history-row small{font-size:9px;color:#6f838e;margin-top:3px}.matrix-history-row p{display:flex;align-items:center;gap:6px;margin:0;font-size:11px;white-space:nowrap}.matrix-history-row p b{font-size:10px;padding:3px 5px;border-radius:4px;background:#eef2f4;color:#365565}.matrix-history-source{grid-column:1/-1;color:#6d7e86!important}
.planning-audit-controls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 16px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px}.planning-audit-controls label{display:grid;gap:5px;margin:0}.planning-audit-controls label>span{font-size:9px;font-weight:700;color:#607885}.planning-audit-controls input,.planning-audit-controls select{min-width:0;height:38px;margin:0;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:11px}.planning-audit-list{display:grid;gap:9px}.planning-audit-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px;padding:13px 15px;background:#fff;border:1px solid var(--line);border-radius:10px}.planning-audit-subject strong,.planning-audit-subject small,.planning-audit-change strong,.planning-audit-change small{display:block}.planning-audit-subject strong{font-size:12px}.planning-audit-subject small,.planning-audit-change small{font-size:9px;color:#6d828e;margin-top:3px}.planning-audit-change>strong{font-size:10px}.planning-audit-change>span{display:block;margin-top:4px;font-size:10px}.planning-audit-change b{color:#294a5d}
@media(max-width:700px){.matrix-service-head strong.matrix-day-service-name{font-size:9px;letter-spacing:0}.planning-audit-controls{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.planning-audit-controls label:last-child{grid-column:1/-1}.planning-audit-row{grid-template-columns:1fr;gap:7px}.matrix-history-row{grid-template-columns:1fr}.matrix-history-row p{justify-self:start}}

/* 0.4.15 – Stärkezeilen als echte Zeilencontainer; keine impliziten Null-Zeilen */
.matrix-strength-grid{display:flex!important;flex-direction:column!important;align-content:initial!important;grid-template-rows:none!important;grid-auto-rows:auto!important;height:auto!important;overflow:visible!important}
.matrix-strength-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:var(--matrix-strength-h);min-height:var(--matrix-strength-h);max-height:var(--matrix-strength-h);box-sizing:border-box;border-bottom:1px solid #dfe6ea}
.matrix-strength-row:last-child{border-bottom:0}
.matrix-strength-row>.matrix-strength-number,.matrix-strength-row>.matrix-special-service{height:100%!important;min-height:0!important;max-height:none!important;border-bottom:0!important;margin:0!important;box-sizing:border-box!important}
.matrix-strength-labels{display:flex!important;flex-direction:column!important;align-content:initial!important;grid-template-rows:none!important;grid-auto-rows:auto!important;height:auto!important;overflow:visible!important}
.matrix-strength-label-row{display:flex;align-items:stretch;height:var(--matrix-strength-h);min-height:var(--matrix-strength-h);max-height:var(--matrix-strength-h);box-sizing:border-box;border-bottom:1px solid #dfe6ea}
.matrix-strength-label-row:last-child{border-bottom:0}
.matrix-strength-label-row>span{display:flex;align-items:center;width:100%;padding:0 12px;border:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
.matrix-strength-label-row>.matrix-strength-toggle{height:100%!important;min-height:0!important;max-height:none!important;border:0!important;margin:0!important;box-sizing:border-box!important}
@media(max-width:600px){.matrix-strength-label-row>span{padding:0 9px;font-size:7.7px}}

/* 0.4.16 – klare Heute-/Dienstfarbtrennung, ENTF und Mindeststärkenverwaltung */


/* Planmäßiger Schichtdienst bleibt auf „Heute“ klar als eigener Zustand sichtbar. */





/* Semantische Zustände bleiben erkennbar, erhalten aber einen leichten Heute-Anteil. */



.matrix-quick-foot .matrix-quick-remove{background:#f5e9e6!important;color:#8b554d!important;font-weight:800!important}
.matrix-quick-foot .matrix-quick-remove:hover,.matrix-quick-foot .matrix-quick-remove:focus-visible{background:#eedbd6!important;outline:none}
.matrix-minimum-special{display:inline-grid;place-items:center;margin-left:3px;width:11px;height:11px;border-radius:50%;background:#d9b773;color:#604c25;font-size:6px;font-style:normal;font-weight:900;line-height:1}
.matrix-minimum-rule{display:grid;gap:3px;padding:9px 10px;border-radius:8px;background:#f6f0e3;color:#705d38}.matrix-minimum-rule strong{font-size:11px}.matrix-minimum-rule small{font-size:9px;line-height:1.4}
.hr-minimum-summary{display:grid;gap:7px;margin:10px 0 4px}.hr-minimum-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.hr-minimum-row:last-child{border-bottom:0}.hr-minimum-row strong{font-size:12px}.hr-minimum-row span{font-size:10px;color:#657b87;text-align:right}
.hr-minimum-edit{padding:9px 0 2px;border-top:1px solid var(--line)}.hr-minimum-edit>strong{display:block;margin-bottom:8px;font-size:12px;color:#294a5d}

/* 0.4.18 – Dienstfarbe nach Dienstplan; Kalenderfarbe ausschließlich am Datum.
   Hintergrundzustände stehen zentral hier, nicht in konkurrierenden Altregeln.
   :where() hält die Spezifität gleich: Fachzustände haben durch Reihenfolge
   Vorrang vor Dienstfarbe und Heute; Ein-/Austritt bleibt immer erkennbar. */
.matrix-table td.matrix-slot-cell{
 --matrix-cell-bg:#fff;
 background:var(--matrix-cell-bg);
 box-shadow:none;
 transition:background-color .12s ease;
}
.matrix-table td.matrix-slot-cell:where(.matrix-slot-off){--matrix-cell-bg:#f7f9fa}
.matrix-table td.matrix-duty-a{--matrix-duty-bg:#e3eef4}
.matrix-table td.matrix-duty-b{--matrix-duty-bg:#e9ecf5}
.matrix-table td.matrix-duty-c{--matrix-duty-bg:#f0eadf}
.matrix-table td.matrix-duty-d{--matrix-duty-bg:#e4eee8}
.matrix-table td.matrix-duty-e{--matrix-duty-bg:#efe6eb}
.matrix-table td.matrix-duty-td{--matrix-duty-bg:#dfedeb}
.matrix-table td.matrix-slot-cell:where(.matrix-duty-highlight){--matrix-cell-bg:var(--matrix-duty-bg,#e3eef4)}
.matrix-table td.matrix-slot-cell:where(.matrix-absence){--matrix-cell-bg:#f5e9e6}
.matrix-table td.matrix-slot-cell:where(.matrix-extra){--matrix-cell-bg:#edf2ea}
.matrix-table td.matrix-slot-cell:where(.matrix-wish){--matrix-cell-bg:#fbf2df}
.matrix-table td.matrix-slot-cell:where(.matrix-inactive,.matrix-outside){--matrix-cell-bg:#edf0f2}

/* Samstag/Sonntag und Feiertage färben nur den Datumsblock. */
.matrix-table .matrix-date:where(.matrix-weekend,.matrix-holiday){background:#f5f0e5}
.matrix-table .matrix-date:where(.matrix-weekend,.matrix-holiday) .matrix-weekday{color:#886331}
/* Patenschicht shares the strength-row geometry; never recolours personnel cells. */
.matrix-replacement{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:100%;min-height:0;padding:0;border:0;border-right:1px solid #dfe6ea;background:transparent;color:#a23636;font-size:12px;font-weight:800}
.matrix-replacement:last-child{border-right:0}
.matrix-replacement:not(.empty)>strong{animation:matrix-replacement-pulse 2s ease-in-out infinite}
.matrix-replacement:focus-visible{outline:2px solid #a23636;outline-offset:-2px}
.matrix-sponsor-note{padding:10px;border:1px solid #dfb6b1;border-radius:8px;color:#913b35}
@keyframes matrix-replacement-pulse{0%,100%{opacity:1}50%{opacity:.4}}
@keyframes matrix-quick-active-pulse{0%,100%{box-shadow:inset 0 0 0 1px #8fa8b4}50%{box-shadow:inset 0 0 0 2px #b7c7cf}}
@media(prefers-reduced-motion:reduce){.matrix-replacement:not(.empty)>strong,.matrix-quick-codes>button.is-active{animation:none}}

/* WSED: Monat, Eingabe, Termine und Freigabe bilden eine Einheit. */
.special-month-tools,.special-month-appointments{grid-column:1/-1;min-width:0}
.special-month-tools{display:flex;gap:8px;flex-wrap:wrap}
.special-month-appointments{display:grid;gap:10px;padding:8px 0}
.special-month-appointments .special-card{box-shadow:none;border:1px solid var(--line);background:#f8fafb}
.special-month-appointments .special-empty-note{padding:14px;color:#647b89}
.special-month-card>.special-workflow-actions{padding-top:12px;border-top:1px solid var(--line)}
.matrix-special-service.is-empty,.matrix-replacement.is-empty{grid-column:auto;min-width:0;padding:0}
@media(max-width:600px){.special-month-tools button{flex:1;min-width:110px}.special-month-card{overflow:hidden}}

/* 0.4.20 – continuous day/header grid; explicit empty cells never span columns. */
.matrix-date{display:grid;grid-template-rows:1fr 1.25fr 1.1fr;gap:0;padding:0;box-sizing:border-box;width:100%}
.matrix-date>.matrix-day-flag,.matrix-date>.matrix-weekday,.matrix-date>.matrix-full-date{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;line-height:1.2;margin:0;box-sizing:border-box;border-bottom:1px solid #dfe6ea}
.matrix-date>.matrix-full-date{border-bottom:0}
.matrix-corner-top{display:block;padding:0!important}
.matrix-service-head{display:grid;grid-template-rows:1fr 1fr;gap:0;padding:0}
.matrix-service-head>span,.matrix-service-head>strong{display:flex;align-items:center;justify-content:center;height:100%;width:100%;min-height:0;margin:0;box-sizing:border-box;padding:0}
.matrix-service-head>span{border-bottom:1px solid #dfe6ea;text-transform:none;font-weight:500}
.matrix-service-head>strong{font-weight:800}
.matrix-corner-service{display:grid;grid-template-rows:1fr 1fr;padding:0!important}
.matrix-corner-service>span{display:flex;align-items:center;box-sizing:border-box;min-width:0;padding:0 12px;font-size:9px;line-height:1.2;color:#294a5d}
.matrix-corner-service>span:first-child{border-bottom:1px solid #dfe6ea}
.matrix-corner-service>.matrix-group-caption{font-weight:800}
@media(max-width:600px){.matrix-corner-service>span{padding:0 9px;font-size:7.7px}}
.matrix-strength-row,.matrix-strength-label-row{border-bottom:1px solid #dfe6ea!important}
.matrix-strength-row>*{grid-column:auto!important;display:flex;align-items:center;justify-content:center;box-sizing:border-box!important;width:100%;min-width:0;height:100%!important;min-height:0!important;margin:0!important;padding:0 1px;border-radius:0;border-bottom:0!important;border-right:1px solid #dfe6ea!important}
.matrix-strength-row>*:last-child{border-right:0!important}
.matrix-strength-label-row.matrix-function-detail>span{padding-left:22px!important;font-weight:500!important;color:#607985!important}
.matrix-strength-label-row[data-strength-row="replacement"]{font-weight:800}
.matrix-strength-label-row[data-strength-row="replacement"]>span{font-weight:800!important;color:#294a5d!important}
.matrix-strength-label-row .matrix-strength-toggle{justify-content:space-between!important;gap:8px!important}
.matrix-strength-toggle>span{display:block!important;width:auto!important;flex:1;text-align:left;padding:0!important}
.matrix-strength-toggle>.matrix-chevron{flex:0 0 14px;margin-left:auto}
.matrix-strength-row[data-strength-row="minimum"]{background:#edf1f3}
.matrix-strength-row[data-strength-row="minimum"] .has-special-minimum{background:#f5eddb;color:#705721}
.matrix-replacement:not(.is-empty)>strong{animation:matrix-replacement-pulse 2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.matrix-replacement:not(.is-empty)>strong{animation:none}}
/* Stretch the single grid track too: inherited flex centering otherwise shrinks
   date/service borders to their text width, including the empty corner rows. */
.matrix-date,.matrix-corner-top,.matrix-service-head,.matrix-corner-service{grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:stretch;align-items:stretch}
.matrix-strength-toggle>span{border-bottom:0!important}

/* Central function order: full labels and reachable arrows on narrow screens. */
.hr-function-order-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line)}
.hr-function-order-row>.hr-definition{min-width:0;flex:1;border-bottom:0;text-align:left}
.hr-function-order-row>.hr-definition strong,.hr-function-order-row>.hr-definition small{white-space:normal;overflow-wrap:anywhere}
.hr-function-order-row>.hr-order-actions{flex:0 0 auto;display:flex;gap:5px}
.hr-function-order-row>.hr-order-actions button{min-width:38px;min-height:38px}
@media(max-width:600px){.hr-function-order-row{gap:6px}.hr-function-order-row>.hr-order-actions{flex-direction:column}.hr-function-order-row>.hr-order-actions button{min-width:42px;min-height:36px}}

/* 0.4.22 – one neutral boundary per day; today's two outer boundaries red.
   The left edge of an inner day is drawn by the previous day's right border;
   no doubled borders and no extra colour inside F/S/N/TD. */
.matrix-table .matrix-day-group,
.matrix-table .matrix-person-row>td.matrix-slot-cell.matrix-day-end,
.matrix-table .matrix-group>td.matrix-day-end{border-right:2px solid #9cabb6!important;}
.matrix-table .matrix-day-group.matrix-first-day,
.matrix-table td.matrix-first-day{border-left:2px solid #9cabb6!important;}
.matrix-table .matrix-day-group.matrix-before-today,
.matrix-table .matrix-day-group.matrix-today,
.matrix-table .matrix-person-row>td.matrix-slot-cell.matrix-day-end.matrix-today,
.matrix-table .matrix-person-row>td.matrix-slot-cell.matrix-before-today,
.matrix-table .matrix-group>td.matrix-day-end.matrix-today,
.matrix-table .matrix-group>td.matrix-before-today{border-right:2px solid #b33e38!important;}
.matrix-table .matrix-day-group.matrix-first-day.matrix-today,
.matrix-table td.matrix-first-day.matrix-today{border-left:2px solid #b33e38!important;}
#plan-nav-status{font-size:11px;color:#647582;margin-left:auto;min-height:1.3em;}
.plan-control-footer{display:flex;align-items:center;gap:10px;}
#plan-body.plan-pending{pointer-events:none;}

/* 0.4.24 – one coherent information block; only group letters are bold.
   Structural day borders, semantic warnings and personnel colours stay intact. */
.matrix-table{--matrix-info-bg:#e5ecef;--matrix-detail-bg:#f0f4f6;--matrix-info-ink:#344e5d;--matrix-info-line:#c5d1d8}
.matrix-table thead th{background:var(--matrix-info-bg);color:var(--matrix-info-ink)}
.matrix-table thead,.matrix-table thead :is(button,span,strong,small,i){font-weight:400!important}
.matrix-table thead .matrix-service-head>strong{font-weight:700!important}
.matrix-table thead .matrix-service-head,.matrix-table thead .matrix-corner-service,
.matrix-table thead .matrix-date,.matrix-table thead .matrix-corner-top,
.matrix-table thead .matrix-strength-row,.matrix-table thead .matrix-strength-label-row{
 background:var(--matrix-info-bg);color:var(--matrix-info-ink);
}
.matrix-table thead .matrix-function-detail{background:var(--matrix-detail-bg)}
.matrix-table thead .matrix-strength-number,.matrix-table thead .matrix-special-service,
.matrix-table thead .matrix-strength-toggle,.matrix-table thead .matrix-corner-service>span,
.matrix-table thead .matrix-strength-label-row>span{
 background:transparent!important;color:var(--matrix-info-ink)!important;
}
.matrix-table thead .matrix-strength-row,.matrix-table thead .matrix-strength-label-row,
.matrix-table thead .matrix-service-head>span,.matrix-table thead .matrix-corner-service>span,
.matrix-table thead .matrix-date>*{border-bottom-color:var(--matrix-info-line)!important}
.matrix-table thead .matrix-strength-row>*{border-right-color:var(--matrix-info-line)!important}
.matrix-table thead .matrix-strength-number.low,.matrix-table thead .matrix-replacement:not(.is-empty){color:#a3443a!important}
.matrix-table thead .matrix-strength-number.has-special-minimum{background:#f5eddb!important;color:#705721!important}
.matrix-table thead .matrix-date:where(.matrix-weekend,.matrix-holiday){background:#f1ece2}
.matrix-table thead .matrix-date:where(.matrix-weekend,.matrix-holiday) .matrix-weekday{color:#80633a}
.matrix-table thead th{border-bottom:2px solid #9cabb6}
.matrix-table thead .matrix-strength-toggle:focus-visible,
.matrix-table thead .matrix-strength-number:focus-visible{outline:2px solid #6b8798;outline-offset:-2px}

/* Month cards: collapse content without hiding status or review actions. */
.wsed-toolbar{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.wsed-toolbar .special-month-nav{margin:0;flex:1;min-width:230px}
.wsed-toolbar>label{display:grid;gap:5px;min-width:190px;margin:0;font-size:12px}
.wsed-toolbar select{width:100%;margin:0}
.special-month-details{grid-column:1/-1;min-width:0;border-top:1px solid var(--line);padding-top:10px}
.special-month-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;min-height:42px;color:#365666}
.special-month-details>summary::-webkit-details-marker{display:none}
.special-month-details>summary::after{content:'›';font-size:24px;transform:rotate(0deg)}
.special-month-details[open]>summary::after{transform:rotate(90deg)}
.special-month-details>summary:focus-visible{outline:2px solid #6b8798;outline-offset:2px}
.special-month-details .special-month-tools{padding-top:10px}
.special-month-meta{flex-wrap:wrap;gap:8px}
.special-open-activity{color:#946526!important;font-size:12px;line-height:1.5}
.special-activity{font-weight:500;margin:8px 0;overflow-wrap:anywhere}
.special-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;padding:12px;background:#edf2f4;border-radius:8px}
.special-comparison>div{min-width:0;overflow-wrap:anywhere}
.special-comparison p{margin:5px 0;font-size:12px}
.special-comparison small{font-size:10px;color:#526f7c}
.wsed-rule-row{padding:12px;border:1px solid var(--line);border-radius:10px;margin-bottom:12px;background:#f7f9fa}
.wsed-rule-row [hidden]{display:none!important}
@media(max-width:600px){.wsed-toolbar{align-items:stretch}.wsed-toolbar>label,.wsed-toolbar>button{width:100%}.special-comparison{grid-template-columns:minmax(0,1fr)}.special-month-details .special-month-tools>button{min-height:42px}}
/* Explicit specificity also covers legacy !important label rules. */
.matrix-table thead .matrix-strength-label-row[data-strength-row]>span,
.matrix-table thead .matrix-strength-label-row .matrix-strength-toggle,
.matrix-table thead .matrix-strength-label-row .matrix-strength-toggle>span,
.matrix-table thead .matrix-strength-row>*,
.matrix-table thead .matrix-strength-row>* strong{font-weight:400!important}

/* 0.4.25: full-width horizontal separators, including the sticky corner. */
.matrix-table thead .matrix-date,
.matrix-table thead .matrix-corner-top,
.matrix-table thead .matrix-service-grid,
.matrix-table thead .matrix-corner-service{box-sizing:border-box;border-bottom:1px solid var(--matrix-info-line)!important}
.matrix-table thead .matrix-service-grid{height:var(--matrix-service-h)}
.matrix-table thead .matrix-service-head{height:100%;min-height:0;box-sizing:border-box;border-right-color:var(--matrix-info-line)}
.matrix-table thead .matrix-service-head>strong{border-bottom:0!important}
