:root{--mt-text:#172033;--mt-muted:#6b7a90;--mt-border:#e4e9f0;--mt-bg:#f6f8fb;--mt-primary:#1769d2;--mt-danger:#e11d48;--mt-shadow:0 10px 30px rgba(20,30,55,.07)}
.wpw-wrap{max-width:1180px;margin:24px auto;padding:0 16px;font-family:Arial,sans-serif;color:var(--mt-text);box-sizing:border-box}.wpw-wrap *{box-sizing:border-box}.wpw-card{background:#fff;border:1px solid var(--mt-border);border-radius:18px;padding:20px;margin-bottom:18px;box-shadow:var(--mt-shadow)}.wpw-topline,.wpw-toolbar,.wpw-filters,.wpw-pending-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.wpw-topline{margin-bottom:12px}.wpw-topline h2,.wpw-card h3{margin:0}.wpw-muted{color:var(--mt-muted);font-size:14px}.wpw-link{color:#2563eb;text-decoration:none;font-weight:600}.wpw-auth{max-width:520px}.wpw-auth label{display:block;margin:12px 0 6px;font-weight:600}.wpw-auth input,.wpw-auth select,.wpw-filters input,.wpw-filters select,.wpw-pending-row select{width:100%;padding:12px;border:1px solid #cfd7e3;border-radius:10px;background:#fff;font-size:16px}.wpw-btn{background:var(--mt-primary);color:#fff;border:0;border-radius:11px;padding:13px 18px;font-weight:700;cursor:pointer;margin-top:16px;min-height:46px}.wpw-btn:active{transform:translateY(1px)}.wpw-small{margin:0;padding:11px 14px}.wpw-alert{padding:11px 13px;border-radius:10px;margin:10px 0}.wpw-error{background:#fee2e2;color:#991b1b}.wpw-success{background:#dcfce7;color:#166534}.wpw-filters{justify-content:flex-start;flex-wrap:wrap}.wpw-filters label{font-size:13px;font-weight:700;min-width:180px}.wpw-filters input,.wpw-filters select{margin-top:6px}.wpw-pending-list{display:flex;flex-direction:column;gap:10px}.wpw-pending-row{justify-content:flex-start;padding:10px;border:1px solid #edf0f5;border-radius:10px}.wpw-pending-row strong{min-width:160px}.wpw-pending-row span{min-width:220px;color:#64748b}.wpw-overflow{overflow-x:auto;-webkit-overflow-scrolling:touch}.wpw-table{border-collapse:separate;border-spacing:0;min-width:1100px;width:100%;font-size:13px}.wpw-table th,.wpw-table td{border-right:1px solid #e7ebf1;border-bottom:1px solid #e7ebf1;padding:8px;text-align:center;white-space:nowrap}.wpw-table th{background:#f8fafc;position:sticky;top:0;z-index:2}.wpw-table .wpw-sticky{position:sticky;left:0;background:#fff;z-index:3;text-align:left;min-width:150px}.wpw-table th.wpw-sticky{background:#f8fafc;z-index:4}.wpw-month-toolbar{flex-wrap:wrap}.wpw-month-nav{display:flex;align-items:center;gap:8px}.wpw-month-arrow{width:40px;height:40px;border:1px solid #d6deea;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#172033;font-size:24px;background:#fff;flex:0 0 auto}.wpw-month-jump{height:40px;border:1px solid #d6deea;border-radius:10px;background:#fff;padding:0 34px 0 12px;font-size:14px;font-weight:700;color:#172033;max-width:190px}.wpw-quick-range{display:grid;grid-template-columns:minmax(170px,1fr) minmax(145px,.8fr) minmax(145px,.8fr) minmax(220px,1.2fr) auto;align-items:end;gap:12px;background:#f8fafc;border:1px solid var(--mt-border);border-radius:14px;padding:16px;margin:16px 0}.wpw-quick-title{grid-column:1/-1;font-weight:800}.wpw-quick-range label{font-size:13px;font-weight:700}.wpw-quick-range input,.wpw-quick-range select{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #cfd7e3;border-radius:10px;background:#fff;font-size:16px;min-height:44px}.wpw-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--mt-border);border-radius:14px;overflow:hidden;margin:16px 0;background:#fff}.wpw-cal-head{padding:10px 4px;text-align:center;background:#f8fafc;font-weight:700;border-right:1px solid var(--mt-border);font-size:13px}.wpw-day{min-height:104px;padding:8px;border-top:1px solid var(--mt-border);border-right:1px solid var(--mt-border);position:relative;background:#fff}.wpw-daynum{font-weight:800;font-size:14px}.wpw-empty{background:#fafbfc}.wpw-day-edit{appearance:none;border:0;background:transparent;padding:0;margin:0;width:100%;height:100%;min-height:85px;text-align:left;color:inherit;cursor:pointer;display:flex;flex-direction:column;gap:8px}.wpw-day-edit:focus-visible{outline:3px solid rgba(23,105,210,.25);outline-offset:-3px}.wpw-day-status{display:inline-flex;align-items:center;align-self:flex-start;max-width:100%;padding:6px 8px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.1;white-space:normal}.wpw-day-note-icon{font-size:12px;color:#7a5060}.wpw-day.type-frei{background:#fff7f8}.wpw-day.type-frueh{background:#f0f7ff}.wpw-day.type-spaet{background:#f8f3ff}.wpw-day.type-urlaub,.wpw-day.type-urlaub-bezahlt{background:#fff9e9}.wpw-day.type-urlaub-unbezahlt{background:#f5f2ec}.type-frei .wpw-day-status,.wpw-cell-frei{background:#fee2e2;color:#b91c1c}.type-frueh .wpw-day-status,.wpw-cell-frueh{background:#dbeafe;color:#1d4ed8}.type-spaet .wpw-day-status,.wpw-cell-spaet{background:#ede9fe;color:#6d28d9}.type-urlaub .wpw-day-status,.type-urlaub-bezahlt .wpw-day-status,.wpw-cell-urlaub,.wpw-cell-urlaub-bezahlt{background:#fef3c7;color:#92400e}.type-urlaub-unbezahlt .wpw-day-status,.wpw-cell-urlaub-unbezahlt{background:#e7e1d4;color:#66533a}.wpw-type-label{display:block;margin-top:20px;padding:5px;border-radius:6px;font-weight:700}.wpw-wish-note{display:block;margin-top:4px;color:#7f1d1d;white-space:normal}.wpw-note-dot{font-size:11px}.wpw-legend{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.wpw-legend span{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.wpw-legend .frei{background:#fee2e2;color:#b91c1c}.wpw-legend .frueh{background:#dbeafe;color:#1d4ed8}.wpw-legend .spaet{background:#ede9fe;color:#6d28d9}.wpw-legend .urlaub-bezahlt{background:#fef3c7;color:#92400e}.wpw-legend .urlaub-unbezahlt{background:#e7e1d4;color:#66533a}.wpw-savebar{display:flex;justify-content:flex-start;position:sticky;bottom:10px;z-index:15;pointer-events:none}.wpw-savebar .wpw-btn{pointer-events:auto;box-shadow:0 8px 22px rgba(225,29,72,.22);background:var(--mt-danger);margin:0}.wpw-day-sheet[hidden]{display:none}.wpw-day-sheet{position:fixed;inset:0;z-index:99999;display:flex;align-items:flex-end;justify-content:center;background:rgba(15,23,42,.45);padding:16px}.wpw-day-sheet-card{width:min(520px,100%);background:#fff;border-radius:20px;padding:18px;box-shadow:0 18px 60px rgba(0,0,0,.2);max-height:88vh;overflow:auto}.wpw-sheet-handle{width:44px;height:5px;background:#dbe2ea;border-radius:99px;margin:0 auto 14px}.wpw-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.wpw-sheet-title{font-size:19px;font-weight:800}.wpw-sheet-close{border:0;background:#f1f5f9;border-radius:999px;width:38px;height:38px;font-size:22px;cursor:pointer}.wpw-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.wpw-choice{border:1px solid var(--mt-border);background:#fff;border-radius:13px;padding:13px 10px;font-weight:800;min-height:50px;cursor:pointer;text-align:center}.wpw-choice.is-selected{border-color:#1769d2;box-shadow:0 0 0 3px rgba(23,105,210,.12)}.wpw-choice[data-value="frei"]{background:#fff7f8;color:#b91c1c}.wpw-choice[data-value="frueh"]{background:#f0f7ff;color:#1d4ed8}.wpw-choice[data-value="spaet"]{background:#f8f3ff;color:#6d28d9}.wpw-choice[data-value="urlaub_bezahlt"]{background:#fff9e9;color:#92400e}.wpw-choice[data-value="urlaub_unbezahlt"]{background:#f5f2ec;color:#66533a}.wpw-choice[data-value=""]{color:#64748b}.wpw-sheet-reason{margin-top:14px}.wpw-sheet-reason label{display:block;font-size:13px;font-weight:800;margin-bottom:6px}.wpw-sheet-reason input{width:100%;padding:12px;border:1px solid #cfd7e3;border-radius:10px;font-size:16px}.wpw-sheet-actions{display:flex;gap:10px;margin-top:16px}.wpw-sheet-actions .wpw-btn{flex:1;margin:0}.wpw-secondary{background:#eef2f7;color:#334155}.wpw-mobile-hint{display:none;color:var(--mt-muted);font-size:12px;margin-top:4px}
@media(max-width:1050px){.wpw-quick-range{grid-template-columns:1fr 1fr}.wpw-quick-title{grid-column:1/-1}.wpw-quick-range .wpw-btn{width:100%;grid-column:1/-1}.wpw-calendar{grid-template-columns:repeat(7,minmax(80px,1fr));overflow-x:auto}.wpw-day{min-height:96px}}
@media(max-width:780px){body{overflow-x:hidden}.wpw-wrap{margin:12px auto;padding:0 10px}.wpw-card{border-radius:15px;padding:14px;box-shadow:0 4px 16px rgba(20,30,55,.05)}.wpw-topline{align-items:flex-start}.wpw-topline h2{font-size:22px}.wpw-link{padding:6px 0}.wpw-toolbar{align-items:flex-start;flex-direction:column}.wpw-month-toolbar{gap:10px}.wpw-month-nav{width:100%;justify-content:space-between}.wpw-month-jump{flex:1;max-width:none;text-align:center}.wpw-quick-range{grid-template-columns:1fr;padding:13px;gap:10px}.wpw-quick-title{grid-column:auto}.wpw-quick-range .wpw-btn{grid-column:auto;margin-top:2px;width:100%}.wpw-calendar{grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible;border-radius:12px}.wpw-cal-head{padding:8px 2px;font-size:11px}.wpw-day{min-height:78px;padding:5px 4px}.wpw-empty{min-height:78px}.wpw-daynum{font-size:12px}.wpw-day-edit{min-height:66px;gap:5px}.wpw-day-status{font-size:9px;padding:4px 5px;border-radius:7px;overflow:hidden}.wpw-day-note-icon{font-size:10px}.wpw-legend{gap:6px}.wpw-legend span{font-size:10px;padding:5px 7px}.wpw-savebar{bottom:8px}.wpw-savebar .wpw-btn{width:100%;font-size:15px}.wpw-mobile-hint{display:block}.wpw-filters{flex-direction:column;align-items:stretch}.wpw-filters label{min-width:100%}.wpw-pending-row{align-items:stretch;flex-direction:column}.wpw-pending-row strong,.wpw-pending-row span{min-width:0}.wpw-choice-grid{grid-template-columns:1fr 1fr}.wpw-day-sheet{padding:0;align-items:flex-end}.wpw-day-sheet-card{width:100%;border-radius:20px 20px 0 0;padding:16px 14px 20px;max-height:90vh}.wpw-overflow{margin-left:-14px;margin-right:-14px;padding:0 14px}.wpw-table{font-size:12px}.wpw-table .wpw-sticky{min-width:125px}}
@media(max-width:390px){.wpw-wrap{padding:0 7px}.wpw-card{padding:11px}.wpw-calendar{margin-left:-2px;margin-right:-2px}.wpw-day{min-height:72px;padding:4px 3px}.wpw-day-edit{min-height:62px}.wpw-day-status{font-size:8px;padding:4px}.wpw-choice-grid{grid-template-columns:1fr}.wpw-month-arrow{width:38px;height:38px}.wpw-month-jump{font-size:13px;padding-left:8px;padding-right:26px}}
/* v1.5 compact mobile + pipe manager */
.wpw-quick-details{border:1px solid #e3e8ef;border-radius:16px;margin:10px 0 14px;background:#f8fafc}.wpw-quick-details>summary{cursor:pointer;padding:14px 16px;font-weight:800;list-style:none}.wpw-quick-details>summary::-webkit-details-marker{display:none}.wpw-quick-details>summary:after{content:'⌄';float:right}.wpw-quick-details[open]>summary:after{content:'⌃'}.wpw-quick-details .wpw-quick-range{border:0;margin:0;padding:0 16px 16px;background:transparent}.wpw-manager-tools{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.wpw-manager-tools .wpw-card{margin:0}.wpw-manager-tools summary{cursor:pointer}.wpw-inline-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-top:14px}.wpw-inline-form input{min-height:42px}.wpw-dept-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.wpw-dept-chips>span{display:flex;align-items:center;gap:5px;background:#f1f5f9;border-radius:999px;padding:7px 10px}.wpw-dept-chips form{display:inline}.wpw-dept-chips button{border:0;background:transparent;cursor:pointer;font-size:18px}.wpw-grid-scroll{overflow:auto;-webkit-overflow-scrolling:touch}.wpw-pipe-table td{padding:4px!important}.wpw-dept-row td{background:#f1f5f9!important;text-align:left!important;font-weight:800;color:#334155;padding:8px 10px!important}.wpw-pipe{border:0;border-radius:999px;min-width:52px;max-width:90px;padding:7px 9px;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}.wpw-pipe.status-approved{outline:2px solid #22c55e}.wpw-pipe.status-rejected{opacity:.5;text-decoration:line-through;outline:2px solid #ef4444}.wpw-decision-sheet{position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:99999;display:flex;align-items:flex-end;justify-content:center}.wpw-decision-sheet[hidden]{display:none}.wpw-decision-sheet .wpw-day-sheet-card{width:min(560px,100%);background:#fff;border-radius:22px 22px 0 0;padding:18px}.wpw-decision-info{padding:10px 0;color:#475569}.wpw-decision-note{width:100%;min-height:90px;border:1px solid #cbd5e1;border-radius:12px;padding:12px;font:inherit}.wpw-alert{border-radius:12px;padding:10px 12px;background:#fff7ed;color:#9a3412;margin:8px 0}
@media(max-width:767px){.wpw-wrap{padding:10px!important}.wpw-topline{margin-bottom:10px}.wpw-topline h2{font-size:28px;margin:0}.wpw-card{padding:12px!important;border-radius:16px}.wpw-month-toolbar{gap:8px}.wpw-month-toolbar h3{font-size:23px;margin:0}.wpw-month-nav{width:100%;display:grid;grid-template-columns:48px 1fr 48px}.wpw-month-jump{width:100%;min-width:0}.wpw-manager-tools{grid-template-columns:1fr}.wpw-quick-details{margin:8px 0 10px}.wpw-quick-details>summary{padding:12px 14px}.wpw-quick-range{grid-template-columns:1fr!important}.wpw-calendar{font-size:12px}.wpw-day{min-height:64px!important}.wpw-day-edit{padding:5px!important}.wpw-day-status{font-size:9px!important;line-height:1.05}.wpw-legend{gap:5px!important}.wpw-legend span{font-size:10px!important}.wpw-savebar .wpw-btn{width:100%}.wpw-pipe-table th,.wpw-pipe-table td{min-width:58px}.wpw-pipe-table .wpw-sticky{min-width:120px;max-width:120px}.wpw-pipe{min-width:48px;padding:6px;font-size:9px}}

/* v1.6 premium GM dashboard */
.mt-manager-shell{--navy:#071a3a;--navy2:#0c2c5f;--blue:#2d7ff9;--light:#f3f7fc;--line:#dbe5f1;display:grid;grid-template-columns:250px minmax(0,1fr);min-height:86vh;background:var(--light);border-radius:24px;overflow:hidden;box-shadow:0 20px 60px rgba(15,35,70,.12);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#10223f}
.mt-sidebar{background:linear-gradient(180deg,#071a3a 0%,#0a2450 65%,#071a3a 100%);color:#fff;padding:22px 14px;display:flex;flex-direction:column;gap:18px;min-height:86vh}
.mt-brand{display:flex;gap:12px;align-items:center;padding:4px 8px 10px}.mt-brand-icon{font-size:30px}.mt-brand strong{display:block;font-size:24px;line-height:1}.mt-brand small{display:block;color:#a9bddb;margin-top:4px}
.mt-profile-card{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid rgba(255,255,255,.13);background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04));border-radius:18px}.mt-avatar,.mt-mini-avatar{display:grid;place-items:center;border-radius:50%;font-weight:900}.mt-avatar{width:52px;height:52px;background:#dbeafe;color:#0b3c7b;border:3px solid rgba(255,255,255,.3)}.mt-profile-card strong{display:block;font-size:18px}.mt-profile-card small{color:#b6c9e4}
.mt-nav{display:flex;flex-direction:column;gap:7px}.mt-nav a,.mt-logout{display:flex;align-items:center;gap:11px;color:#d7e4f7;text-decoration:none;padding:12px 13px;border-radius:12px;font-weight:700}.mt-nav a:hover,.mt-nav a.active{background:linear-gradient(180deg,#2c82ff,#1768d9);color:#fff;box-shadow:0 8px 20px rgba(23,104,217,.35)}.mt-nav a b{margin-left:auto;background:#ef4444;color:#fff;border-radius:999px;min-width:20px;height:20px;display:grid;place-items:center;font-size:11px}.mt-logout{margin-top:auto}
.mt-main{min-width:0}.mt-topbar{display:grid;grid-template-columns:minmax(190px,260px) 1fr auto;align-items:center;gap:18px;padding:16px 24px;background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(10px)}.mt-location-form label{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d8e2ef;border-radius:11px;padding:0 12px}.mt-location-form select{border:0!important;box-shadow:none!important;background:transparent;min-height:42px;width:100%;font-weight:800}.mt-today{text-align:center;font-weight:800}.mt-top-actions{display:flex;align-items:center;gap:8px}.mt-lang{padding:7px 10px;border-radius:9px;font-weight:800;color:#789}.mt-lang.active{background:#e8f2ff;color:#1769d2}.mt-bell{position:relative;font-size:18px}.mt-bell b{position:absolute;top:-8px;right:-9px;background:#ef4444;color:#fff;border-radius:999px;font-size:10px;width:18px;height:18px;display:grid;place-items:center}
.mt-content{padding:24px}.mt-title-row,.mt-action-row{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.mt-title-row h1{font-size:30px;margin:0}.mt-title-row p{margin:3px 0 0;color:#6f8199}.mt-month-nav{display:flex;align-items:center;gap:10px}.mt-month-nav a{width:42px;height:42px;border:1px solid #d8e2ef;background:#fff;border-radius:12px;display:grid;place-items:center;text-decoration:none;color:#17365f;font-size:24px}.mt-month-nav strong{padding:10px 18px;background:#fff;border:1px solid #d8e2ef;border-radius:12px;min-width:150px;text-align:center}
.mt-action-row{margin:18px 0 14px}.mt-tabs{display:flex;gap:8px;flex-wrap:wrap}.mt-tabs button{border:1px solid #cfdbea;background:#fff;color:#17365f;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer}.mt-tabs button.active{background:#e7f2ff;border-color:#b9d7ff;color:#1769d2}.mt-statuses{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;font-weight:800}.mt-statuses span{display:flex;align-items:center;gap:6px}.mt-statuses b{background:#fff;border-radius:999px;padding:3px 7px}.mt-statuses .approved{color:#1785dd}.mt-statuses .open{color:#d68a00}.mt-statuses .rejected{color:#df4545}
.mt-panel,.mt-timeline-panel{background:#fff;border:1px solid #dfe8f3;border-radius:18px;box-shadow:0 8px 24px rgba(24,51,91,.05)}.mt-pending-panel{padding:16px;margin-bottom:14px}.mt-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.mt-panel-head h3{margin:0}.mt-panel-head span{background:#fff3cd;color:#8a5c00;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}
.mt-timeline-panel{overflow:hidden}.mt-timeline-scroll{overflow:auto;-webkit-overflow-scrolling:touch}.mt-timeline{display:grid;grid-template-columns:190px repeat(var(--days),minmax(42px,1fr));min-width:calc(190px + var(--days)*42px);position:relative}.mt-head-name,.mt-day-head{position:sticky;top:0;z-index:8;background:#fff;border-bottom:1px solid #dfe8f3}.mt-head-name{left:0;z-index:10;padding:13px 14px;font-weight:900}.mt-day-head{text-align:center;padding:7px 2px;border-left:1px solid #edf2f7}.mt-day-head small{display:block;font-size:10px;color:#73839a}.mt-day-head strong{display:block;font-size:13px}.mt-day-head.weekend,.mt-day-bg.weekend{background:#fff6f6}.mt-dept-band{padding:8px 14px;background:linear-gradient(90deg,#edf5ff,#f7fbff);border-top:1px solid #d8e7f7;border-bottom:1px solid #d8e7f7;color:#1e5aa7;z-index:5}.mt-emp-name{position:sticky;left:0;z-index:6;background:#fff;display:flex;align-items:center;gap:8px;padding:7px 10px;border-bottom:1px solid #edf2f7;min-height:48px}.mt-mini-avatar{width:28px;height:28px;background:#eef4fb;color:#245790;font-size:12px;flex:0 0 28px}.mt-emp-name strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mt-emp-name b{margin-left:auto;background:#edf5ff;color:#2a72d4;border-radius:999px;min-width:20px;height:20px;display:grid;place-items:center;font-size:10px}.mt-day-bg{min-height:48px;border-left:1px solid #edf2f7;border-bottom:1px solid #edf2f7;background:#fff}.mt-pipe{z-index:7;align-self:center;margin:6px 4px!important;min-width:0!important;max-width:none!important;width:auto!important;height:34px;border-radius:999px!important;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 12px!important;text-decoration:none!important;opacity:1!important;overflow:hidden;box-shadow:0 5px 12px rgba(32,60,100,.08)!important}.mt-pipe span{font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mt-pipe small{font-weight:800;opacity:.85;white-space:nowrap}.mt-pipe.status-approved{background:linear-gradient(90deg,#6cc6ff,#79bff3)!important;color:#083e73!important;outline:none!important}.mt-pipe.status-open{background:linear-gradient(90deg,#ffd56f,#ffc84e)!important;color:#6e4700!important;outline:none!important}.mt-pipe.status-rejected{background:linear-gradient(90deg,#ff9b9b,#ff6f73)!important;color:#7a1111!important;outline:none!important;text-decoration:none!important}.mt-pipe:hover{transform:translateY(-1px);filter:saturate(1.05)}
.mt-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.mt-settings-grid .mt-panel{padding:14px}.mt-settings-grid summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none}.mt-settings-grid summary::-webkit-details-marker{display:none}.mt-note-label{display:block;font-weight:800;margin:8px 0 6px}.mt-note-label small,.mt-email-hint{color:#7c8da5;font-weight:500}.mt-email-hint{text-align:center;font-size:12px;margin:10px 0 0}
@media(max-width:980px){.mt-manager-shell{grid-template-columns:76px minmax(0,1fr)}.mt-brand div,.mt-profile-card div:last-child,.mt-nav span,.mt-logout span{display:none}.mt-sidebar{align-items:center;padding-left:9px;padding-right:9px}.mt-profile-card{padding:10px}.mt-nav a,.mt-logout{justify-content:center;width:100%}.mt-nav a b{position:absolute;margin:0;transform:translate(16px,-15px)}.mt-settings-grid{grid-template-columns:1fr}.mt-topbar{grid-template-columns:180px 1fr auto}}
@media(max-width:700px){.mt-manager-shell{display:block;border-radius:0;box-shadow:none;min-height:100vh}.mt-sidebar{min-height:auto;position:sticky;top:0;z-index:40;display:grid;grid-template-columns:auto 1fr auto;padding:8px 10px;align-items:center}.mt-brand{padding:0}.mt-brand strong{font-size:20px}.mt-brand small,.mt-profile-card,.mt-nav{display:none}.mt-logout{margin:0;padding:8px 10px}.mt-main{width:100%}.mt-topbar{position:static;grid-template-columns:1fr auto;padding:10px 12px}.mt-today{display:none}.mt-top-actions .mt-lang{display:none}.mt-content{padding:12px}.mt-title-row{align-items:flex-start}.mt-title-row h1{font-size:24px}.mt-title-row p{display:none}.mt-month-nav{width:100%;display:grid;grid-template-columns:42px 1fr 42px}.mt-month-nav strong{min-width:0}.mt-action-row{margin:12px 0}.mt-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.mt-tabs button{padding:9px 6px;font-size:12px}.mt-statuses{font-size:11px;gap:8px}.mt-timeline{grid-template-columns:118px repeat(var(--days),46px);min-width:calc(118px + var(--days)*46px)}.mt-head-name{left:0}.mt-emp-name{min-width:118px;padding:6px}.mt-mini-avatar{display:none}.mt-emp-name strong{font-size:11px}.mt-pipe{height:30px!important;padding:0 8px!important;font-size:10px!important}.mt-pipe small{display:none}.mt-settings-grid{grid-template-columns:1fr}.mt-pending-panel{padding:12px}.wpw-decision-sheet .wpw-day-sheet-card{max-height:86vh;overflow:auto}.mt-location-form label{padding:0 7px}.mt-location-form select{min-height:38px}.mt-bell{display:none}}

/* v1.7 full-width portal + type-based colours */
.mt-manager-shell.mt-fullwidth{width:calc(100vw - 24px);max-width:none;margin-left:calc(50% - 50vw + 12px);grid-template-columns:215px minmax(0,1fr);border-radius:18px;min-height:88vh}
.mt-manager-shell.mt-fullwidth .mt-sidebar{min-height:88vh}
.mt-manager-shell.mt-fullwidth .mt-content{padding:18px 14px 24px}
.mt-manager-shell.mt-fullwidth .mt-topbar{padding:12px 16px}
.mt-manager-shell .mt-lang{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.wpw-user-actions{display:flex;align-items:center;gap:6px}

/* Entire month fits on desktop */
.mt-timeline-panel{width:100%;overflow:hidden}
.mt-timeline-scroll{overflow:hidden!important;width:100%}
.mt-timeline{width:100%;min-width:0!important;grid-template-columns:minmax(142px,1.55fr) repeat(var(--days),minmax(0,1fr))!important}
.mt-head-name{min-width:0;padding:10px 9px;font-size:12px}
.mt-day-head{min-width:0;padding:5px 0}
.mt-day-head small{font-size:8px}.mt-day-head strong{font-size:11px}
.mt-emp-name{min-width:0!important;padding:6px 7px;gap:5px;min-height:42px}
.mt-emp-name strong{font-size:11px}.mt-mini-avatar{width:24px;height:24px;flex-basis:24px;font-size:10px}
.mt-day-bg{min-width:0;min-height:42px}
.mt-dept-band{padding:6px 9px;font-size:12px}
.mt-pipe{height:28px!important;margin:7px 2px!important;padding:0 7px!important;font-size:9px!important;gap:3px!important;border:0!important}
.mt-pipe span,.mt-pipe small{font-size:9px}.mt-pipe.span-1 span,.mt-pipe.span-1 small{display:none}.mt-pipe.span-2 small{display:none}

/* request type owns the color; status is an extra visual state */
.mt-pipe.type-urlaub-bezahlt,.mt-pipe.type-urlaub{background:linear-gradient(90deg,#2f80ed,#58a6ff)!important;color:#fff!important}
.mt-pipe.type-urlaub-unbezahlt{background:linear-gradient(90deg,#caa47b,#e2c19d)!important;color:#4e331f!important}
.mt-pipe.type-frei{background:linear-gradient(90deg,#ffc94d,#ffb938)!important;color:#5c3b00!important}
.mt-pipe.type-frueh{background:linear-gradient(90deg,#2fc98f,#72ddb8)!important;color:#073e2b!important}
.mt-pipe.type-spaet{background:linear-gradient(90deg,#8c63e7,#b78af7)!important;color:#fff!important}
.mt-pipe.status-open{outline:2px solid rgba(245,158,11,.35)!important;box-shadow:0 5px 12px rgba(32,60,100,.08)!important}
.mt-pipe.status-approved{outline:2px solid rgba(16,185,129,.28)!important;box-shadow:0 5px 12px rgba(32,60,100,.08)!important}
.mt-pipe.status-rejected{outline:2px solid #ef4444!important;filter:saturate(.82);box-shadow:0 5px 12px rgba(239,68,68,.12)!important}
.mt-pipe.status-rejected:before{content:'×';font-weight:900;font-size:12px;flex:0 0 auto}

/* department bands */
.mt-dept-band{background:#eaf4ff;color:#17599f}.mt-dept-service{background:#e9f8f0;color:#157047}.mt-dept-bar{background:#f0eaff;color:#6941c6}.mt-dept-kuche{background:#fff2dc;color:#a75b00}.mt-dept-management{background:#e6f1ff;color:#185da7}

/* standalone manager sections */
.mt-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.mt-section-title h1{margin:0;font-size:30px}.mt-section-title p{margin:4px 0 0;color:#6f8199}.mt-count-pill{background:#e8f2ff;color:#1769d2;border-radius:999px;padding:8px 12px;font-weight:800}
.mt-employee-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.mt-employee-card{display:flex;gap:11px;align-items:center;background:#fff;border:1px solid #dfe8f3;border-radius:16px;padding:14px;box-shadow:0 7px 20px rgba(24,51,91,.04)}.mt-employee-card .mt-mini-avatar{width:42px;height:42px;flex-basis:42px;font-size:14px}.mt-employee-card strong,.mt-employee-card small,.mt-employee-card span{display:block}.mt-employee-card small{color:#718198;margin:2px 0 6px}.mt-employee-card span{display:inline-flex;background:#edf5ff;color:#2769b4;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}
.mt-department-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:16px}.mt-department-card{background:#fff;border:1px solid #dfe8f3;border-radius:16px;padding:16px;display:flex;justify-content:space-between;align-items:center}.mt-department-card strong,.mt-department-card small{display:block}.mt-department-card small{color:#7a899d;margin-top:3px}.mt-icon-btn{width:34px;height:34px;border-radius:50%;border:1px solid #e3eaf3;background:#fff;cursor:pointer;font-size:20px;color:#d23b4c}.mt-form-panel{padding:18px}.mt-form-panel h3{margin-top:0}.wpw-inline-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.wpw-inline-form input{min-height:44px;border:1px solid #cfd9e6;border-radius:11px;padding:0 12px;min-width:240px}.mt-deadline-form{max-width:560px}.mt-deadline-form label{display:block;font-weight:800}.mt-deadline-form label>div{display:flex;align-items:center;gap:10px;margin-top:8px}.mt-deadline-form input{width:90px;padding:12px;border:1px solid #ccd8e7;border-radius:10px;font-size:18px;font-weight:800}

/* Slightly denser header on full-width desktop */
@media(min-width:1101px){.mt-brand strong{font-size:21px}.mt-sidebar{padding:18px 12px}.mt-profile-card{padding:12px}.mt-nav a,.mt-logout{padding:11px}.mt-title-row h1{font-size:28px}.mt-action-row{margin:14px 0 11px}.mt-statuses{gap:10px;font-size:12px}}

/* Tablets and phones can swipe the manager timeline; employee portal remains mobile-first */
@media(max-width:900px){.mt-manager-shell.mt-fullwidth{width:100vw;margin-left:calc(50% - 50vw);border-radius:0;grid-template-columns:76px minmax(0,1fr)}.mt-timeline-scroll{overflow-x:auto!important}.mt-timeline{grid-template-columns:120px repeat(var(--days),44px)!important;min-width:calc(120px + var(--days)*44px)!important;width:auto}.mt-pipe{height:30px!important;font-size:9px!important}.mt-head-name,.mt-emp-name{position:sticky;left:0;z-index:9}.mt-employee-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.mt-manager-shell.mt-fullwidth{display:block}.mt-employee-grid{grid-template-columns:1fr}.mt-department-cards{grid-template-columns:1fr}.mt-section-title h1{font-size:24px}.wpw-user-actions .mt-lang{padding:5px 7px}.wpw-inline-form{display:block}.wpw-inline-form input,.wpw-inline-form .wpw-btn{width:100%;min-width:0;margin-top:8px}}

/* v1.8 request review before final submit */
.wpw-review-sheet[hidden]{display:none}.wpw-review-sheet{position:fixed;inset:0;z-index:100000;background:rgba(15,23,42,.5);display:flex;align-items:flex-end;justify-content:center;padding:18px}.wpw-review-card{width:min(620px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:22px;padding:18px;box-shadow:0 24px 80px rgba(15,23,42,.3)}.wpw-review-meta{margin-top:3px;color:#73829a;font-size:13px;font-weight:700}.wpw-review-list{display:flex;flex-direction:column;gap:9px;margin-top:8px}.wpw-review-item{border:1px solid #e1e8f1;border-radius:14px;background:#fff;overflow:hidden}.wpw-review-item summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px;cursor:pointer}.wpw-review-item summary::-webkit-details-marker{display:none}.wpw-review-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:19px;flex:0 0 auto}.wpw-review-main{min-width:0;flex:1}.wpw-review-main b,.wpw-review-main small{display:block}.wpw-review-main b{font-size:14px}.wpw-review-main small{margin-top:2px;color:#73829a;font-size:12px}.wpw-review-days{font-size:11px;font-weight:800;color:#59697f;background:#f4f7fb;border-radius:999px;padding:5px 8px;white-space:nowrap}.wpw-review-note{padding:0 12px 12px 58px;color:#5f6f83;font-size:13px}.wpw-review-empty{padding:22px;text-align:center;background:#f8fafc;border-radius:14px;color:#6b7c91}.wpw-review-item.type-frei .wpw-review-icon{background:#fff1f2;color:#be123c}.wpw-review-item.type-frueh .wpw-review-icon{background:#ecfdf5;color:#047857}.wpw-review-item.type-spaet .wpw-review-icon{background:#f3e8ff;color:#7e22ce}.wpw-review-item.type-urlaub-bezahlt .wpw-review-icon{background:#eff6ff;color:#1d4ed8}.wpw-review-item.type-urlaub-unbezahlt .wpw-review-icon{background:#f5f0e8;color:#765638}.wpw-review-actions{position:sticky;bottom:-18px;background:#fff;padding-top:14px;padding-bottom:2px;border-top:1px solid #edf1f5}.wpw-final-save:disabled{opacity:.65;cursor:wait}
@media(max-width:780px){.wpw-review-sheet{padding:0;align-items:flex-end}.wpw-review-card{width:100%;max-height:92vh;border-radius:22px 22px 0 0;padding:16px 14px 18px}.wpw-review-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px;bottom:-18px}.wpw-review-actions .wpw-btn{min-width:0;padding:12px 9px;font-size:13px}.wpw-review-item summary{padding:11px 9px}.wpw-review-icon{width:34px;height:34px}.wpw-review-days{font-size:10px;padding:4px 7px}.wpw-review-note{padding-left:53px}}

/* v1.9 REST/live UX, request legend, row alignment and drag ordering */
.mt-action-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.mt-type-legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;font-weight:800;color:#506078}
.mt-type-legend span{white-space:nowrap}.mt-type-legend .urlaub-bezahlt{color:#2f80ed}.mt-type-legend .urlaub-unbezahlt{color:#a87d52}.mt-type-legend .frei{color:#e79b00}.mt-type-legend .frueh{color:#1ba977}.mt-type-legend .spaet{color:#8555dc}
.mt-drag-handle{font-size:12px;color:#8da0b8;cursor:grab;line-height:1;letter-spacing:-2px;user-select:none}.mt-emp-name.is-dragging{opacity:.45}.mt-emp-name.drag-over{box-shadow:inset 0 2px 0 #2f80ed,inset 0 -2px 0 #2f80ed;background:#f0f7ff}
.mt-emp-name[draggable=true]{cursor:grab}.mt-emp-name[draggable=true]:active{cursor:grabbing}
.mt-content.is-loading{opacity:.72;pointer-events:none;transition:opacity .15s ease}
.wpw-view-range{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.wpw-view-range label{font-size:11px;font-weight:800;color:#66768c}.wpw-view-range input{display:block;margin-top:4px;min-height:38px;border:1px solid #cfd9e6;border-radius:10px;padding:0 8px;background:#fff;color:#172033}
.wpw-day.wpw-outside-range{opacity:.22;pointer-events:none;background:#f8fafc!important}
@media(max-width:900px){.mt-type-legend{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.wpw-view-range{width:100%;display:grid;grid-template-columns:1fr 1fr}.wpw-view-range input{width:100%}}

/* MeinTeam 2.0 – Bereich/Abgabefrist UI */
.mt-title-with-icon{justify-content:flex-start;align-items:center}.mt-title-icon{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#eaf3ff,#d9e9ff);display:grid;place-items:center;flex:0 0 auto}.mt-title-icon svg{width:24px;height:24px;fill:#1875df}.mt-department-card{min-height:82px;transition:.18s ease;box-shadow:0 5px 18px rgba(17,51,91,.04)}.mt-department-card:hover{transform:translateY(-1px);border-color:#bdd5f0;box-shadow:0 9px 24px rgba(17,51,91,.08)}.mt-department-card-main{display:flex;align-items:center;gap:12px;min-width:0}.mt-department-symbol{width:42px;height:42px;border-radius:13px;background:#edf5ff;display:grid;place-items:center;flex:0 0 auto}.mt-department-symbol svg{width:21px;height:21px;fill:#2579dc}.mt-icon-btn svg{width:17px;height:17px;fill:currentColor}.mt-delete-btn{background:#fff2f4;border-color:#ffd5dc;color:#e4284a;display:grid;place-items:center}.mt-delete-btn:hover{background:#e4284a;color:#fff;border-color:#e4284a}.mt-form-heading{display:flex;align-items:center;gap:9px;margin-bottom:14px}.mt-form-heading h3{margin:0}.mt-inline-icon{width:30px;height:30px;border-radius:9px;background:#eaf3ff;display:grid;place-items:center}.mt-inline-icon svg{width:17px;height:17px;fill:#2378df}.mt-add-department .wpw-btn{display:inline-flex;align-items:center;gap:6px}.mt-deadline-panel{max-width:900px}.mt-deadline-form{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.mt-deadline-setting{display:flex;gap:15px;align-items:flex-start}.mt-deadline-icon{width:48px;height:48px;border-radius:15px;background:#eef5ff;display:grid;place-items:center;flex:0 0 auto}.mt-deadline-icon svg{width:23px;height:23px;fill:#2478dd}.mt-deadline-copy label{font-size:15px;font-weight:800;color:#18263b}.mt-deadline-input-row{display:flex;align-items:center;gap:10px;margin-top:9px}.mt-deadline-input-row input{width:82px!important;min-height:48px;text-align:center}.mt-deadline-help{margin:8px 0 0;color:#6b7d94;font-size:13px}.mt-unlimited-badge{margin-top:10px;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#e8f8ef;color:#16894b;font-size:13px;font-weight:800}.mt-unlimited-badge svg{width:16px;height:16px;fill:currentColor}.mt-save-settings{display:inline-flex;align-items:center;gap:8px;min-height:48px}.mt-save-settings svg{width:18px;height:18px;fill:#fff}@media(max-width:700px){.mt-deadline-form{display:block}.mt-deadline-setting{margin-bottom:18px}.mt-save-settings{width:100%;justify-content:center}.mt-title-icon{width:42px;height:42px;border-radius:13px}.mt-department-card{min-height:74px}}

/* MeinTeam 2.1 – refined department icons, profile settings, employee removal and print/PDF */
/* Unpaid leave gets a distinct slate color instead of beige/brown */
.wpw-day.type-urlaub-unbezahlt{background:#f1f5f9!important}
.type-urlaub-unbezahlt .wpw-day-status,.wpw-cell-urlaub-unbezahlt{background:#dbe3ee!important;color:#334155!important}
.wpw-legend .urlaub-unbezahlt{background:#dbe3ee!important;color:#334155!important}
.wpw-choice[data-value="urlaub_unbezahlt"]{background:#f1f5f9!important;color:#334155!important}
.wpw-review-item.type-urlaub-unbezahlt .wpw-review-icon{background:#e2e8f0!important;color:#334155!important}
.mt-pipe.type-urlaub-unbezahlt{background:linear-gradient(90deg,#64748b,#94a3b8)!important;color:#fff!important}
.mt-type-legend .urlaub-unbezahlt{color:#64748b!important}

.mt-delete-btn{width:34px!important;height:34px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#dc3545!important;display:grid!important;place-items:center!important;box-shadow:none!important}
.mt-delete-btn:hover{background:#fff1f2!important;color:#b91c1c!important}
.mt-delete-btn svg{width:19px!important;height:19px!important}
.mt-department-symbol-management{background:#eef2ff!important}.mt-department-symbol-management svg{fill:#4f46e5!important}
.mt-department-symbol-service{background:#ecfdf5!important}.mt-department-symbol-service svg{fill:#059669!important}
.mt-department-symbol-bar{background:#faf5ff!important}.mt-department-symbol-bar svg{fill:#9333ea!important}
.mt-department-symbol-kueche{background:#fff7ed!important}.mt-department-symbol-kueche svg{fill:#ea580c!important}

.mt-employee-card{position:relative}.mt-employee-info{min-width:0;flex:1}.mt-remove-employee-form{margin-left:auto}.mt-employee-delete{width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:#dc3545;display:grid;place-items:center;cursor:pointer;transition:.15s ease}.mt-employee-delete:hover{background:#fff1f2;color:#b91c1c}.mt-employee-delete svg{width:18px;height:18px;fill:currentColor}

.mt-settings-trigger{width:38px;height:38px;border:1px solid #dce5f0;border-radius:10px;background:#fff;color:#334155;display:inline-grid;place-items:center;font-size:18px;cursor:pointer}.mt-settings-trigger:hover{background:#f5f8fc}.mt-settings-sheet[hidden]{display:none}.mt-settings-sheet{position:fixed;inset:0;z-index:100001;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;padding:18px}.mt-settings-card{width:min(480px,100%);background:#fff;border-radius:20px;padding:18px;box-shadow:0 24px 80px rgba(15,23,42,.28)}.mt-settings-card label{display:block;font-size:13px;font-weight:800;margin-top:12px}.mt-settings-card label small{font-weight:600;color:#64748b}.mt-settings-card input{display:block;width:100%;margin-top:6px;padding:12px 13px;border:1px solid #cfd9e6;border-radius:11px;font-size:16px}.mt-settings-message{min-height:18px;margin:10px 0 0;color:#166534;font-size:13px;font-weight:700}.mt-profile-save{width:100%;margin-top:12px}

.mt-title-actions{display:flex;align-items:center;gap:10px}.mt-print-pdf{border:1px solid #d7e2ee;background:#fff;color:#1f4f86;border-radius:11px;min-height:42px;padding:0 13px;font-weight:800;cursor:pointer}.mt-print-pdf:hover{background:#f3f8fe}

@media(max-width:780px){.mt-settings-sheet{align-items:flex-end;padding:0}.mt-settings-card{border-radius:20px 20px 0 0;padding:16px 14px 22px}.mt-title-actions{width:100%;justify-content:space-between}.mt-print-pdf{font-size:12px;padding:0 10px}}

@media print{
  @page{size:landscape;margin:8mm}
  body{background:#fff!important}.mt-sidebar,.mt-topbar,.mt-tabs,.mt-type-legend,.mt-statuses,.mt-print-pdf,.mt-bell,.mt-lang,.wpadminbar{display:none!important}
  html{margin-top:0!important}.mt-manager-shell.mt-fullwidth{display:block!important;width:100%!important;margin:0!important;border-radius:0!important;box-shadow:none!important}.mt-main,.mt-content{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:#fff!important}.mt-title-row{margin:0 0 8px!important}.mt-title-row h1{font-size:20px!important}.mt-title-row p{font-size:10px!important;margin:2px 0!important}.mt-title-actions{display:block!important}.mt-month-nav{justify-content:flex-end!important}.mt-month-nav a{display:none!important}.mt-timeline-panel{box-shadow:none!important;border:1px solid #cbd5e1!important}.mt-timeline-scroll{overflow:visible!important}.mt-timeline{width:100%!important;min-width:0!important;grid-template-columns:110px repeat(var(--days),minmax(0,1fr))!important}.mt-emp-name,.mt-head-name{font-size:9px!important}.mt-day-head{font-size:8px!important}.mt-pipe{height:20px!important;font-size:6.5px!important;padding:0 3px!important}.mt-pipe small{font-size:5.5px!important}.mt-dept-band{font-size:9px!important}.mt-drag-handle{display:none!important}
}

/* MeinTeam 2.2 – manager date range and print legend */
.mt-manager-range-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
.mt-manager-range-form label{font-size:10px;font-weight:800;color:#64748b;display:grid;gap:4px}
.mt-manager-range-form input[type="date"]{min-height:40px;border:1px solid #d7e2ee;border-radius:10px;background:#fff;padding:0 9px;color:#172033;font-weight:700}
.mt-range-apply{min-height:40px;border:0;border-radius:10px;padding:0 13px;background:#2176df;color:#fff;font-weight:800;cursor:pointer}
.mt-range-apply:hover{background:#1766c8}
.mt-print-legend{display:none}
@media(max-width:980px){.mt-title-actions{align-items:flex-end;flex-wrap:wrap}.mt-manager-range-form{order:1;width:100%}.mt-manager-range-form label{flex:1}.mt-manager-range-form input[type="date"]{width:100%}.mt-print-pdf{order:2}.mt-month-nav{order:3}}
@media print{
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .mt-manager-range-form,.mt-month-nav{display:none!important}
  .mt-print-legend{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 0;padding:7px 9px;border:1px solid #dbe4ee;border-radius:8px;font-size:8px;color:#334155}
  .mt-print-legend strong{margin-right:4px}
  .mt-print-legend span{display:inline-flex;align-items:center;gap:4px}
  .mt-print-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
  .mt-print-legend .paid i{background:#2f80ed!important}
  .mt-print-legend .unpaid i{background:#64748b!important}
  .mt-print-legend .off i{background:#f2a516!important}
  .mt-print-legend .early i{background:#2fbe8d!important}
  .mt-print-legend .late i{background:#8a5de8!important}
  .mt-pipe.type-urlaub-bezahlt{background:#2f80ed!important;color:#fff!important}
  .mt-pipe.type-urlaub-unbezahlt{background:#64748b!important;color:#fff!important}
  .mt-pipe.type-frei{background:#f2a516!important;color:#222!important}
  .mt-pipe.type-frueh{background:#2fbe8d!important;color:#fff!important}
  .mt-pipe.type-spaet{background:#8a5de8!important;color:#fff!important}
}
.mt-print-range-label{display:none}.mt-day-head em{font-style:normal;font-size:7px;color:#94a3b8;line-height:1}
@media print{.mt-print-range-label{display:block!important;font-size:9px!important;font-weight:700;color:#475569}.mt-day-head em{font-size:6px!important;color:#64748b!important}}

/* MeinTeam 2.3 – compact manager controls, max two-month viewport, print dialog, mobile polish */
.mt-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.mt-title-actions{display:flex;align-items:flex-end;gap:8px;flex-wrap:nowrap;margin-left:auto}
.mt-manager-range-form{display:flex;align-items:flex-end;gap:7px;flex-wrap:nowrap}
.mt-manager-range-form label{min-width:126px}
.mt-manager-range-form input[type="date"]{width:100%}
.mt-print-pdf,.mt-range-apply{white-space:nowrap}
.mt-month-nav{flex:0 0 auto;white-space:nowrap}

/* Long manager ranges: show about two months in the viewport, scroll the rest horizontally. */
.mt-timeline-scroll{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
.mt-timeline{width:max(100%,calc(150px + var(--days) * 22px))!important;min-width:max(100%,calc(150px + var(--days) * 22px))!important;grid-template-columns:150px repeat(var(--days),minmax(22px,1fr))!important}
.mt-head-name,.mt-emp-name{position:sticky;left:0;z-index:11}

/* Print range dialog */
.mt-print-dialog[hidden],.mt-print-output[hidden]{display:none!important}
.mt-print-dialog{position:fixed;inset:0;z-index:100005;background:rgba(15,23,42,.48);display:grid;place-items:center;padding:18px}
.mt-print-card{width:min(520px,100%);background:#fff;border-radius:20px;padding:18px;box-shadow:0 28px 80px rgba(15,23,42,.28)}
.mt-print-card>label{display:grid;gap:6px;font-size:13px;font-weight:800;margin-top:10px}
.mt-print-card select,.mt-print-card input{width:100%;min-height:46px;border:1px solid #cfd9e6;border-radius:11px;background:#fff;padding:0 12px;font-size:15px}
.mt-print-date-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.mt-print-date-row label{display:grid;gap:6px;font-size:12px;font-weight:800}
.mt-print-hint{font-size:12px;color:#64748b;margin:8px 0 14px}
.mt-print-confirm{width:100%}
.mt-print-close{border:0;background:transparent;font-size:24px;cursor:pointer;color:#64748b}
.mt-print-output{display:none}

/* submitted status */
.wpw-submitted-state{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px 14px;border-radius:14px;background:#ecfdf3;color:#16784a;border:1px solid #c8f0da}
.wpw-submitted-state strong{font-size:14px}.wpw-submitted-state small{font-size:12px;color:#4f7c67}
.mt-forgot-password{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:#176fd1;text-decoration:none}.mt-forgot-password:hover{text-decoration:underline}

/* department delete is icon-only, no background */
.mt-department-card .mt-delete-btn{background:transparent!important;border:0!important;box-shadow:none!important;color:#dc3545!important}
.mt-department-card .mt-delete-btn:hover{background:transparent!important;color:#991b1b!important;transform:scale(1.06)}

/* Employee mobile dashboard polish */
@media(max-width:700px){
  .wpw-wrap{padding:14px 10px!important;max-width:none!important}
  .wpw-topline{align-items:flex-start;gap:10px;margin-bottom:14px}
  .wpw-topline h2{font-size:31px;line-height:1.05;margin:0 0 5px}
  .wpw-user-actions{display:flex;align-items:center;gap:5px;flex-wrap:nowrap}
  .mt-settings-trigger{width:40px;height:40px;flex:0 0 40px}
  .mt-lang{min-width:38px;height:40px;display:grid;place-items:center;padding:0 8px!important;border-radius:10px}
  .wpw-user-actions .wpw-link{font-size:14px;white-space:nowrap}
  .wpw-card{padding:14px 10px!important;border-radius:18px!important}
  .wpw-month-toolbar{display:grid!important;grid-template-columns:1fr;gap:10px!important}
  .wpw-month-toolbar h3{font-size:24px;margin:0}
  .wpw-month-toolbar .wpw-month-nav{order:2;width:100%}
  .wpw-view-range{order:3;display:grid!important;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .wpw-view-range label{font-size:12px;font-weight:800;color:#64748b}
  .wpw-view-range input{min-height:42px;border-radius:11px;font-size:14px;padding:0 8px!important}
  .wpw-quick-details{margin-top:6px}
  .wpw-quick-details summary{min-height:54px;display:flex;align-items:center;padding:0 16px;font-size:16px}
  .wpw-calendar{border-radius:15px;overflow:hidden;margin-top:12px}
  .wpw-cal-head{font-size:13px!important;padding:10px 0!important}
  .wpw-day{min-height:95px!important;padding:0!important;overflow:hidden}
  .wpw-day-edit{padding:9px 5px!important;gap:7px!important;align-items:flex-start!important}
  .wpw-daynum{font-size:15px!important}
  .wpw-day-status{max-width:100%;font-size:10.5px!important;line-height:1.08!important;padding:5px 6px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere;text-align:center}
  .wpw-day-note-icon{font-size:9px!important;line-height:1.15!important;max-width:100%;overflow-wrap:anywhere}
  .wpw-legend{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-top:12px}
  .wpw-legend span{font-size:11px!important;padding:7px 9px!important}
  .wpw-savebar{margin-top:12px}
  .wpw-savebar .wpw-btn{width:100%;min-height:54px;font-size:16px}
  .wpw-submitted-state{width:100%;justify-content:center;text-align:center}
  .mt-settings-card{max-height:90vh;overflow:auto}
}

@media(max-width:390px){
  .wpw-topline h2{font-size:27px}
  .wpw-user-actions .wpw-link{font-size:12px}
  .mt-lang{min-width:34px;padding:0 6px!important}
  .wpw-day{min-height:88px!important}
  .wpw-day-status{font-size:9.5px!important;padding:4px!important}
}

@media(max-width:1100px) and (min-width:701px){
  .mt-title-row{display:block}
  .mt-title-actions{margin-top:10px;width:100%;flex-wrap:wrap}
  .mt-manager-range-form{flex:1;min-width:520px}
}

@media print{
  body.mt-custom-printing>*:not(.mt-print-output){display:none!important}
  body.mt-custom-printing .mt-print-output{display:block!important;position:static!important;width:100%!important}
  body.mt-custom-printing .mt-print-output .wpw-decision-sheet{display:none!important}
  body.mt-custom-printing .mt-print-output .mt-timeline-scroll{overflow:visible!important}
  body.mt-custom-printing .mt-print-output .mt-timeline{width:100%!important;min-width:0!important;grid-template-columns:110px repeat(var(--days),minmax(0,1fr))!important}
  body.mt-custom-printing .mt-print-output .mt-print-legend{display:flex!important}
  .mt-print-doc h1{font-size:20px;margin:0 0 3px}.mt-print-doc>p{font-size:10px;margin:0 0 8px;color:#475569}
}

/* MeinTeam 2.4 – print fix, persistent scroll, employee search, consistent weekends */
.mt-employee-tools{display:flex;justify-content:flex-end;margin:0 0 14px}
.mt-employee-search-wrap{width:min(420px,100%);display:flex;align-items:center;gap:9px;border:1px solid #d7e2ee;background:#fff;border-radius:12px;padding:0 12px;min-height:46px;box-shadow:0 4px 14px rgba(20,55,90,.04)}
.mt-employee-search-wrap span{color:#7690ad;font-size:20px;line-height:1}
.mt-employee-search{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;min-height:42px;padding:0!important;font:inherit;color:#172033}
.mt-employee-delete{background:transparent!important;border:0!important;box-shadow:none!important;color:#dc3545!important}
.mt-employee-delete:hover,.mt-employee-delete:focus{background:transparent!important;border:0!important;box-shadow:none!important;color:#a91526!important;transform:scale(1.06)}
.mt-day-head.weekend,.mt-day-bg.weekend{background:#fff1f2!important}
.mt-day-head.weekend{color:#b42335}
#mt-print-root{display:none}
@media print{
  body.mt-custom-printing>*:not(#mt-print-root){display:none!important}
  body.mt-custom-printing #mt-print-root{display:block!important;position:static!important;width:100%!important;background:#fff!important;color:#111!important}
  body.mt-custom-printing #mt-print-root .mt-timeline-scroll{overflow:visible!important}
  body.mt-custom-printing #mt-print-root .mt-timeline{width:100%!important;min-width:0!important;grid-template-columns:110px repeat(var(--days),minmax(0,1fr))!important}
  body.mt-custom-printing #mt-print-root .mt-print-legend{display:flex!important}
  body.mt-custom-printing #mt-print-root .mt-pipe{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body.mt-custom-printing #mt-print-root .mt-day-head.weekend,body.mt-custom-printing #mt-print-root .mt-day-bg.weekend{background:#fff1f2!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}
@media(max-width:700px){.mt-employee-tools{justify-content:stretch}.mt-employee-search-wrap{width:100%}}

/* MeinTeam 2.5 – long-range calendar, month bands, filters, employee details, mobile-first GM UI */
.mt-grid-filters{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.mt-grid-filters label{display:grid;gap:4px;font-size:10px;font-weight:800;color:#64748b}
.mt-grid-filters select{min-width:170px;height:38px;border:1px solid #d7e2ee;border-radius:10px;background:#fff;padding:0 32px 0 10px;color:#172033;font-weight:700}
.mt-first-wish{height:38px;border:1px solid #cfe0f3;border-radius:10px;background:#fff;color:#176fd1;font-weight:800;padding:0 12px;cursor:pointer}
.mt-first-wish:hover{background:#f5f9ff}

/* Readable timeline: fixed day width, about two months maximum visible at once. */
.mt-timeline-scroll{position:relative;max-width:calc(150px + 62 * 28px);margin-inline:auto;overflow-x:auto!important;overflow-y:hidden!important;scroll-behavior:smooth}
.mt-timeline{width:max(100%,calc(150px + var(--days) * 28px))!important;min-width:max(100%,calc(150px + var(--days) * 28px))!important;grid-template-columns:150px repeat(var(--days),28px)!important}
.mt-month-band{min-height:28px;display:flex;align-items:center;justify-content:center;background:#eef5fd;border-left:1px solid #d9e5f3;border-bottom:1px solid #d9e5f3;color:#174f91;font-size:11px;font-weight:900;letter-spacing:.01em;white-space:nowrap;overflow:hidden}
.mt-scroll-month-label{position:sticky;left:156px;top:0;z-index:30;width:max-content;max-width:220px;margin:4px 0 -31px 6px;padding:5px 9px;border-radius:999px;background:rgba(16,45,82,.94);color:#fff;font-size:10px;font-weight:900;box-shadow:0 4px 14px rgba(15,23,42,.18);pointer-events:none}
.mt-day-head{min-width:28px}
.mt-day-head.weekend,.mt-day-bg.weekend{background:#fff1f2!important}
.mt-day-head.weekend{color:#b42335!important}
.mt-dept-band strong{display:inline-flex;align-items:center;gap:6px}

/* Employee filter visibility */
.mt-grid-hidden{display:none!important}

/* Employee cards */
.mt-employee-title-row{align-items:center}
.mt-employee-tools{justify-content:flex-start;margin-top:10px;margin-bottom:12px}
.mt-employee-search-wrap{width:min(520px,100%)}
.mt-employee-card{cursor:pointer;min-width:0}
.mt-employee-card:focus{outline:3px solid rgba(47,128,237,.18);outline-offset:2px}
.mt-employee-info{min-width:0;overflow:hidden}
.mt-employee-info small{display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:12px}
.mt-employee-delete{background:transparent!important;border:0!important;box-shadow:none!important;color:#dc3545!important;padding:0!important}
.mt-employee-delete:hover,.mt-employee-delete:focus{background:transparent!important;color:#991b1b!important}

/* Employee detail sheet */
.mt-employee-detail[hidden]{display:none!important}
.mt-employee-detail{position:fixed;inset:0;z-index:100020;background:rgba(15,23,42,.48);display:grid;place-items:center;padding:18px}
.mt-employee-detail-card{width:min(480px,100%);background:#fff;border-radius:20px;padding:18px;box-shadow:0 28px 80px rgba(15,23,42,.3)}
.mt-employee-detail-card>label{display:grid;gap:6px;margin-top:14px;font-size:12px;font-weight:800;color:#475569}
.mt-employee-detail-card select{height:46px;border:1px solid #cfd9e6;border-radius:11px;background:#fff;padding:0 12px;font-size:15px}
.mt-employee-detail-email{margin:8px 0 0;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-employee-detail-actions{display:flex;gap:10px;margin-top:16px}
.mt-employee-detail-remove{border:0;background:transparent;color:#c6283d;font-weight:800;cursor:pointer;padding:10px}
.mt-employee-detail-message{font-size:12px;color:#16784a;margin:10px 0 0}

/* mobile manager navigation */
.mt-mobile-menu-toggle,.mt-mobile-brand{display:none}
@media(max-width:700px){
  .mt-manager-shell.mt-fullwidth{display:block!important;width:100%!important;margin:0!important}
  .mt-sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(82vw,300px)!important;display:flex!important;transform:translateX(-105%);transition:transform .22s ease;z-index:100100;min-height:100vh!important;padding:18px 12px!important;box-shadow:20px 0 50px rgba(15,23,42,.24)}
  .mt-manager-shell.nav-open .mt-sidebar{transform:translateX(0)}
  .mt-sidebar .mt-brand div,.mt-sidebar .mt-profile-card div:last-child,.mt-sidebar .mt-nav span,.mt-sidebar .mt-logout span{display:block!important}
  .mt-sidebar .mt-profile-card{display:flex!important;width:100%;padding:12px!important}
  .mt-sidebar .mt-nav{display:flex!important;width:100%}
  .mt-sidebar .mt-nav a,.mt-sidebar .mt-logout{justify-content:flex-start!important;width:100%!important}
  .mt-mobile-menu-toggle{display:grid;width:42px;height:42px;place-items:center;border:1px solid #d7e2ee;border-radius:11px;background:#fff;font-size:21px;cursor:pointer}
  .mt-mobile-brand{display:block;font-size:18px;color:#10203b}
  .mt-topbar{grid-template-columns:42px auto 1fr auto!important;gap:8px!important;padding:9px 10px!important;align-items:center}
  .mt-location-form{justify-self:end}.mt-location-form label{max-width:135px}
  .mt-content{padding:10px!important}
  .mt-title-row{display:block!important}
  .mt-title-actions{display:grid!important;grid-template-columns:1fr;gap:8px!important;width:100%;margin-top:10px!important}
  .mt-manager-range-form{display:grid!important;grid-template-columns:1fr 1fr auto!important;min-width:0!important;width:100%;gap:6px!important}
  .mt-manager-range-form label{min-width:0!important}.mt-manager-range-form input{font-size:12px!important;padding:0 6px!important}
  .mt-range-apply{padding:0 10px!important;min-width:72px}
  .mt-print-pdf{width:100%}
  .mt-month-nav{width:100%!important;grid-template-columns:42px 1fr 42px!important}
  .mt-action-row{display:grid!important;gap:9px!important}
  .mt-tabs{display:flex!important;overflow-x:auto;scrollbar-width:none;gap:6px!important}.mt-tabs::-webkit-scrollbar{display:none}.mt-tabs button{flex:0 0 auto;white-space:nowrap}
  .mt-grid-filters{display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%}.mt-grid-filters label{min-width:0}.mt-grid-filters select{min-width:0;width:100%;font-size:12px}.mt-first-wish{grid-column:1/-1;width:100%}
  .mt-type-legend,.mt-statuses{overflow-x:auto;flex-wrap:nowrap!important;white-space:nowrap;padding-bottom:3px}
  .mt-timeline-scroll{max-width:100%!important;margin:0!important}
  .mt-timeline{width:calc(112px + var(--days) * 48px)!important;min-width:calc(112px + var(--days) * 48px)!important;grid-template-columns:112px repeat(var(--days),48px)!important}
  .mt-scroll-month-label{left:118px;max-width:170px;font-size:9px}
  .mt-month-band{font-size:10px;min-height:27px}
  .mt-day-head{min-width:48px;font-size:10px!important}
  .mt-emp-name{min-width:112px!important;padding:6px!important}.mt-emp-name strong{font-size:10.5px!important}.mt-emp-name b{font-size:9px}
  .mt-day-bg{min-height:44px}.mt-pipe{height:28px!important;font-size:9px!important;padding:0 7px!important}.mt-pipe small{display:none!important}
  .mt-employee-title-row{align-items:flex-start;gap:8px}.mt-employee-tools{margin-top:6px}.mt-employee-grid{grid-template-columns:1fr!important}.mt-employee-card{padding:13px!important}.mt-employee-info small{max-width:220px}
  .mt-employee-detail{align-items:end;padding:0}.mt-employee-detail-card{width:100%;border-radius:22px 22px 0 0;padding:18px 16px 24px}.mt-employee-detail-actions{display:grid}
}
@media(min-width:701px) and (max-width:1100px){
  .mt-timeline{width:max(100%,calc(145px + var(--days) * 36px))!important;min-width:max(100%,calc(145px + var(--days) * 36px))!important;grid-template-columns:145px repeat(var(--days),36px)!important}
  .mt-timeline-scroll{max-width:100%!important}
  .mt-grid-filters{width:100%}
}

@media print{
  body.mt-custom-printing #mt-print-root .mt-scroll-month-label{display:none!important}
  body.mt-custom-printing #mt-print-root .mt-month-band{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#eef5fd!important;color:#174f91!important}
}


/* MeinTeam 2.6 – polished employee mobile calendar */
.wpw-calendar-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin;border-radius:14px}
.wpw-cal-head.weekend,.wpw-day.weekend:not(.type-frei):not(.type-frueh):not(.type-spaet):not(.type-urlaub):not(.type-urlaub-bezahlt):not(.type-urlaub-unbezahlt){background:#fff5f5}
.wpw-cal-head.weekend{color:#a93445}
/* unpaid leave gets its own teal identity instead of disabled-looking grey */
.wpw-day.type-urlaub-unbezahlt{background:#edfdfa!important}
.type-urlaub-unbezahlt .wpw-day-status,.wpw-cell-urlaub-unbezahlt{background:#ccfbf1!important;color:#0f766e!important}
.wpw-legend .urlaub-unbezahlt{background:#ccfbf1!important;color:#0f766e!important}
.wpw-choice[data-value="urlaub_unbezahlt"]{background:#edfdfa!important;color:#0f766e!important}

@media(max-width:780px){
  .wpw-wrap{padding:8px!important;margin:8px auto!important}
  .wpw-card{padding:12px!important}
  .wpw-calendar-scroll{margin:12px 0 8px;border:1px solid var(--mt-border)}
  .wpw-calendar{width:700px!important;min-width:700px!important;grid-template-columns:repeat(7,100px)!important;margin:0!important;border:0!important;border-radius:0!important;overflow:visible!important}
  .wpw-cal-head{font-size:13px!important;padding:11px 4px!important;position:sticky;top:0;z-index:3}
  .wpw-day,.wpw-empty{min-height:100px!important;padding:0!important}
  .wpw-day-edit{min-height:100px!important;padding:10px 8px!important;gap:9px!important}
  .wpw-daynum{font-size:16px!important}
  .wpw-day-status{font-size:11px!important;line-height:1.1!important;padding:6px 8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:86px!important}
  .wpw-day:not([class*="type-"]) .wpw-day-status{font-size:0!important;background:#f3f6fa;color:#526174}
  .wpw-day:not([class*="type-"]) .wpw-day-status:after{content:"+ Wunsch";font-size:11px;font-weight:800}
  .wpw-legend{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
  .wpw-legend span{font-size:11px!important;padding:6px 8px!important}
  .wpw-savebar{position:static!important;display:block!important;margin-top:12px!important}
  .wpw-submitted-state{width:100%!important;justify-content:flex-start!important;text-align:left!important;padding:11px 13px!important}
  .wpw-submitted-state strong{font-size:13px!important}.wpw-submitted-state small{font-size:11px!important}
  .wpw-savebar .wpw-review-btn{width:100%!important;margin-top:8px!important}
  .wpw-view-range{gap:10px!important}
  .wpw-view-range input{width:100%!important;min-width:0!important}
}
@media(max-width:430px){
  .wpw-calendar{width:672px!important;min-width:672px!important;grid-template-columns:repeat(7,96px)!important}
  .wpw-day-status{max-width:82px!important}
}

/* MeinTeam 2.7 – definitive GM timeline scrolling (dashboard + Wunschplan) */
.mt-content .wpw-manager-grid.mt-timeline-panel{width:100%;max-width:100%;overflow:hidden!important;min-width:0}
.mt-content .wpw-manager-grid .mt-timeline-scroll{display:block;width:100%;max-width:100%!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:auto;scroll-behavior:auto;cursor:grab}
.mt-content .wpw-manager-grid .mt-timeline-scroll:active{cursor:grabbing}
.mt-content .wpw-manager-grid .mt-timeline{width:calc(150px + var(--days) * 34px)!important;min-width:calc(150px + var(--days) * 34px)!important;max-width:none!important;grid-template-columns:150px repeat(var(--days),34px)!important}
.mt-content .wpw-manager-grid .mt-head-name,.mt-content .wpw-manager-grid .mt-emp-name{position:sticky!important;left:0!important;z-index:12}
.mt-content .wpw-manager-grid .mt-head-name{z-index:20}
.mt-content .wpw-manager-grid .mt-day-head{min-width:34px}
@media(max-width:700px){
 .mt-content .wpw-manager-grid .mt-timeline{width:calc(112px + var(--days) * 48px)!important;min-width:calc(112px + var(--days) * 48px)!important;grid-template-columns:112px repeat(var(--days),48px)!important}
 .mt-content .wpw-manager-grid .mt-day-head{min-width:48px}
}
@media print{
 body.mt-custom-printing #mt-print-root .mt-timeline-scroll{overflow:visible!important;cursor:default!important}
 body.mt-custom-printing #mt-print-root .mt-timeline{width:100%!important;min-width:0!important;grid-template-columns:110px repeat(var(--days),minmax(0,1fr))!important}
}

/* MeinTeam 2.8 – premium employee portal + soft transitions */
.mt-soft-loading{opacity:.58;pointer-events:none;transition:opacity .14s ease}
.wpw-wrap{--mt-ink:#17233a;--mt-soft:#f6f8fc;--mt-line:#e7ebf2;--mt-accent:#6c5ce7;max-width:1180px}
.wpw-topline{background:linear-gradient(135deg,#fff 0%,#f7f7ff 100%);border:1px solid var(--mt-line);border-radius:20px;padding:14px 18px;margin-bottom:12px;box-shadow:0 10px 34px rgba(27,39,74,.06)}
.wpw-topline h2{letter-spacing:-.04em;color:var(--mt-ink)}
.wpw-card{border:1px solid var(--mt-line)!important;border-radius:24px!important;box-shadow:0 18px 55px rgba(25,35,65,.08)!important;background:rgba(255,255,255,.97)!important}
.wpw-month-toolbar{border-bottom:1px solid #eef1f6;padding-bottom:14px;margin-bottom:12px}
.wpw-month-nav{background:#f5f6fb;border:1px solid #e8eaf2;border-radius:14px;padding:4px;box-shadow:none}
.wpw-month-arrow{border-radius:10px!important;background:#fff!important;border:1px solid #e8eaf2!important}
.wpw-month-jump{font-weight:800;color:#202b43;background:transparent!important}
.wpw-quick-details{border:1px solid #e7eaf2!important;border-radius:16px!important;background:#fafbfe!important}
.wpw-quick-details summary{padding:13px 15px!important;font-weight:800;color:#303b54}
.wpw-calendar-scroll{border:1px solid #e7ebf2!important;border-radius:20px!important;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.wpw-calendar{gap:0!important;background:#fff!important}
.wpw-cal-head{background:#fafbfe!important;border-color:#edf0f5!important;color:#6d768a!important;text-transform:uppercase;letter-spacing:.05em;font-weight:800!important}
.wpw-cal-head.weekend{background:#fff6f7!important;color:#b35362!important}
.wpw-day{border-color:#edf0f5!important;background:#fff;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.wpw-day:hover{z-index:2;box-shadow:0 8px 22px rgba(25,35,65,.10)}
.wpw-day.weekend:not([class*="type-"]){background:#fff9fa!important}
.wpw-daynum{color:#26324a;font-weight:850!important}
.wpw-day-status{border-radius:999px!important;font-weight:800!important;box-shadow:none!important}
.wpw-legend{margin-top:12px!important;padding:10px 12px;border-radius:14px;background:#fafbfe;border:1px solid #edf0f5}
.wpw-legend span{border-radius:999px!important;border:0!important}
.wpw-submitted-state{border-radius:14px!important;background:#eefbf4!important;color:#197044!important;border:1px solid #d6f3e2!important}
.wpw-day-sheet-card,.wpw-review-card,.mt-settings-card{border-radius:24px!important;box-shadow:0 30px 90px rgba(17,24,39,.28)!important}
.wpw-choice{border-radius:14px!important;border:1px solid #e6eaf1!important;min-height:48px;font-weight:800}
.wpw-btn{border-radius:13px!important;min-height:44px;font-weight:800!important}
@media(max-width:780px){
 .wpw-wrap{padding:6px!important;margin:0 auto!important;background:#f7f8fc}
 .wpw-topline{position:sticky;top:0;z-index:30;border-radius:0 0 18px 18px;margin:0 -6px 8px;padding:10px 12px;box-shadow:0 8px 24px rgba(22,31,58,.08)}
 .wpw-user-actions .mt-lang{display:none!important}.wpw-user-actions{gap:6px!important}.wpw-user-actions .wpw-link{font-size:12px}
 .wpw-card{border-radius:20px!important;padding:10px!important;box-shadow:0 12px 36px rgba(25,35,65,.07)!important}
 .wpw-toolbar.wpw-month-toolbar{display:grid!important;grid-template-columns:1fr;gap:9px!important}
 .wpw-toolbar.wpw-month-toolbar h3{font-size:19px!important;margin:2px 0!important}
 .wpw-month-nav{width:100%;display:grid!important;grid-template-columns:44px 1fr 44px!important}
 .wpw-month-arrow{height:42px!important;display:grid!important;place-items:center;font-size:24px!important}
 .wpw-view-range{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
 .wpw-view-range label{font-size:11px!important;color:#68738a}.wpw-view-range input{height:42px!important;border-radius:11px!important;border:1px solid #dfe4ed!important;background:#fff!important;padding:0 8px!important;font-size:12px!important}
 .wpw-calendar-scroll{border-radius:16px!important}
 .wpw-calendar{width:616px!important;min-width:616px!important;grid-template-columns:repeat(7,88px)!important}
 .wpw-cal-head{min-width:88px!important;padding:10px 4px!important;font-size:11px!important}
 .wpw-day,.wpw-empty,.wpw-day-edit{min-height:92px!important}
 .wpw-day-edit{padding:9px 7px!important}.wpw-day-status{max-width:76px!important;font-size:10px!important;padding:6px!important}
 .wpw-day:not([class*="type-"]) .wpw-day-status:after{content:"+ Wunsch"!important}
 .wpw-legend{overflow-x:auto!important;flex-wrap:nowrap!important;white-space:nowrap!important;scrollbar-width:none}.wpw-legend::-webkit-scrollbar{display:none}.wpw-legend span{flex:0 0 auto!important;font-size:10px!important}
 .wpw-quick-details{margin:8px 0!important}.wpw-quick-details summary{padding:11px 12px!important}
 .wpw-day-sheet,.wpw-review-sheet,.mt-settings-sheet{align-items:end!important;padding:0!important}.wpw-day-sheet-card,.wpw-review-card,.mt-settings-card{width:100%!important;border-radius:24px 24px 0 0!important;padding-bottom:max(22px,env(safe-area-inset-bottom))!important}
}


/* MeinTeam 2.9 – final mobile app polish + weekend consistency + no hard reload month controls */
html,body{max-width:100%;overflow-x:hidden}
.wpw-calendar-scroll{width:100%;overflow:hidden}
.wpw-cal-head.weekend-sat,.wpw-day.weekend-sat{background:#f2f7ff!important}
.wpw-cal-head.weekend-sun,.wpw-day.weekend-sun{background:#fff3f4!important}
.wpw-cal-head.weekend-sat{color:#2563eb!important}.wpw-cal-head.weekend-sun{color:#dc2626!important}
.mt-day-head.weekend-sat,.mt-day-bg.weekend-sat{background:#f2f7ff!important}
.mt-day-head.weekend-sun,.mt-day-bg.weekend-sun{background:#fff3f4!important}
.mt-day-head.weekend-sat{color:#2563eb!important}.mt-day-head.weekend-sun{color:#dc2626!important}

@media(max-width:700px){
  .wpw-wrap{width:100%;max-width:100%;padding:0 10px!important;margin:10px auto!important}
  .wpw-topline{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:12px!important}
  .wpw-topline h2{font-size:30px!important;line-height:1!important;letter-spacing:-.03em}
  .wpw-topline .wpw-muted{font-size:14px!important;margin-top:6px}
  .wpw-user-actions{display:flex!important;align-items:center!important;gap:6px!important;min-width:0}
  .wpw-user-actions .mt-lang{display:none!important}
  .wpw-user-actions .wpw-link{font-size:13px!important;white-space:nowrap}
  .mt-settings-trigger{width:40px!important;height:40px!important;border-radius:12px!important}
  .wpw-card{width:100%;max-width:100%;padding:12px!important;border-radius:22px!important;overflow:hidden!important}
  .wpw-toolbar.wpw-month-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .wpw-toolbar.wpw-month-toolbar h3{font-size:24px!important;margin:0 0 2px!important}
  .wpw-month-nav{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:8px!important;width:100%!important}
  .wpw-month-arrow{width:44px!important;height:44px!important;border-radius:13px!important;font-size:22px!important}
  .wpw-month-jump{width:100%!important;max-width:none!important;height:44px!important;border-radius:13px!important;font-size:15px!important}
  .wpw-view-range{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
  .wpw-view-range label{font-size:11px!important;color:#64748b!important;font-weight:800!important}
  .wpw-view-range input{width:100%!important;min-width:0!important;height:42px!important;padding:0 8px!important;border-radius:12px!important;font-size:13px!important;text-align:center!important}
  .wpw-quick-details{border:1px solid #e2e8f0!important;border-radius:16px!important;background:#f8fafc!important;margin:4px 0 10px!important}
  .wpw-quick-details summary{min-height:50px!important;padding:0 14px!important;font-size:15px!important;font-weight:800!important}
  .wpw-calendar-scroll{overflow:hidden!important;width:100%!important;margin:0!important}
  .wpw-calendar{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;min-width:0!important;overflow:hidden!important;border-radius:18px!important;margin:10px 0 0!important}
  .wpw-cal-head{min-width:0!important;padding:9px 0!important;font-size:11px!important;font-weight:900!important}
  .wpw-day,.wpw-empty{min-width:0!important;min-height:82px!important;padding:0!important;overflow:hidden!important}
  .wpw-day-edit{min-height:82px!important;padding:7px 3px!important;gap:6px!important;align-items:center!important;text-align:center!important;justify-content:flex-start!important}
  .wpw-daynum{font-size:14px!important;align-self:flex-start!important;margin-left:2px!important}
  .wpw-day-status{font-size:0!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;min-width:26px!important;max-width:100%!important;min-height:25px!important;padding:5px 6px!important;border-radius:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .wpw-day-status::after{content:attr(data-short);font-size:9.5px!important;font-weight:900!important;line-height:1!important}
  .wpw-day:not([class*="type-"]) .wpw-day-status{background:transparent!important;color:#64748b!important;border:1px dashed #cbd5e1!important}
  .wpw-day:not([class*="type-"]) .wpw-day-status::after{font-size:16px!important;font-weight:500!important}
  .wpw-day-note-icon{font-size:0!important;margin:0!important}
  .wpw-day-note-icon:not([hidden])::after{content:'ⓘ';font-size:11px!important;color:#9f5f69!important}
  .wpw-legend{display:flex!important;gap:6px!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:8px 0 2px!important;margin:8px 0!important;scrollbar-width:none}
  .wpw-legend::-webkit-scrollbar{display:none}
  .wpw-legend span{flex:0 0 auto!important;font-size:10px!important;padding:7px 9px!important;border-radius:999px!important}
  .wpw-savebar{display:block!important;position:static!important;margin-top:12px!important}
  .wpw-submitted-state{width:100%!important;min-height:54px!important;border-radius:15px!important;padding:10px 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;background:#ecfdf3!important;color:#15803d!important}
  .wpw-submitted-state[hidden]{display:none!important}
  .wpw-submitted-state strong{font-size:15px!important}.wpw-submitted-state small{font-size:11px!important;color:#4b7f61!important}
  .wpw-savebar .wpw-btn{width:100%!important;min-height:52px!important;border-radius:15px!important;background:linear-gradient(135deg,#1677ff,#0d5fd3)!important;box-shadow:0 8px 20px rgba(22,119,255,.22)!important}
  .wpw-day-sheet-card,.wpw-review-card,.mt-settings-card{border-radius:24px 24px 0 0!important}
  .wpw-choice-grid{grid-template-columns:1fr!important;gap:9px!important}
  .wpw-choice{min-height:54px!important;border-radius:15px!important;text-align:left!important;padding:0 16px!important;font-size:15px!important}
}

@media(max-width:390px){
  .wpw-wrap{padding:0 7px!important}
  .wpw-card{padding:10px!important}
  .wpw-topline h2{font-size:27px!important}
  .wpw-day,.wpw-empty,.wpw-day-edit{min-height:76px!important}
  .wpw-day-status::after{font-size:8.7px!important}
  .wpw-view-range input{font-size:12px!important}
}

/* MeinTeam 3.0 – authoritative employee mobile layout */
.wpw-edit-submitted{border:0;background:transparent;color:#1769d2;font-weight:800;cursor:pointer;padding:8px 10px;border-radius:10px;white-space:nowrap}
.wpw-edit-submitted:hover{background:#eef5ff}
.wpw-submitted-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.wpw-submitted-check{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#16a34a;color:#fff;font-weight:900;flex:0 0 auto}

@media(max-width:700px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .wpw-wrap,.wpw-card,.wpw-wishes-form,.wpw-calendar-scroll{max-width:100%!important;min-width:0!important}
  .wpw-card{overflow:visible!important}

  /* Header: prevent overflow */
  .wpw-topline{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important}
  .wpw-topline h2{font-size:28px!important;white-space:nowrap!important}
  .wpw-user-actions{max-width:150px!important;justify-content:flex-end!important}
  .wpw-user-actions .wpw-link{font-size:12px!important;max-width:72px!important;overflow:hidden!important;text-overflow:ellipsis!important}

  /* Month and range */
  .wpw-toolbar.wpw-month-toolbar{display:block!important}
  .wpw-month-nav{display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px!important;gap:8px!important;width:100%!important}
  .wpw-month-arrow{width:42px!important;height:42px!important}
  .wpw-month-jump{height:42px!important;font-size:14px!important}
  .wpw-view-range{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;width:100%!important;margin-top:10px!important}
  .wpw-view-range label{display:block!important;min-width:0!important;width:100%!important;font-size:11px!important}
  .wpw-view-range input{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;inline-size:100%!important;min-inline-size:0!important;height:42px!important;padding:0 5px!important;font-size:11.5px!important;letter-spacing:-.02em!important;text-align:center!important;-webkit-appearance:none!important;appearance:none!important}

  /* Compact quick range */
  .wpw-quick-details{margin:10px 0!important;border-radius:15px!important}
  .wpw-quick-details summary{min-height:48px!important;font-size:14px!important;padding:0 13px!important}

  /* The whole 7-day week MUST fit the phone width */
  .wpw-calendar-scroll{width:100%!important;overflow:hidden!important;border-radius:16px!important;border:1px solid #e5eaf1!important;margin:10px 0 8px!important}
  .wpw-calendar{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;min-width:100%!important;max-width:100%!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
  .wpw-cal-head,.wpw-day,.wpw-empty{width:auto!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important}
  .wpw-cal-head{padding:8px 0!important;font-size:10.5px!important;text-align:center!important}
  .wpw-day,.wpw-empty{min-height:78px!important;padding:0!important;overflow:hidden!important}
  .wpw-day-edit{width:100%!important;min-width:0!important;min-height:78px!important;padding:6px 2px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;text-align:center!important;overflow:hidden!important}
  .wpw-daynum{font-size:13px!important;line-height:1!important;align-self:flex-start!important;margin:1px 0 0 2px!important}
  .wpw-day-status{font-size:0!important;display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;width:auto!important;min-width:22px!important;max-width:calc(100% - 4px)!important;min-height:22px!important;padding:4px 4px!important;border-radius:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
  .wpw-day-status::after{content:attr(data-short)!important;font-size:8.2px!important;line-height:1!important;font-weight:900!important;white-space:nowrap!important}
  .wpw-day:not([class*="type-"]) .wpw-day-status{border:0!important;background:transparent!important;color:#64748b!important;min-width:22px!important;padding:0!important}
  .wpw-day:not([class*="type-"]) .wpw-day-status::after{content:'+'!important;font-size:20px!important;font-weight:400!important}
  .wpw-day-note-icon{font-size:0!important;line-height:1!important}
  .wpw-day-note-icon:not([hidden])::after{content:'ⓘ';font-size:10px!important}

  /* Saturday/Sunday are always consistent base columns */
  .wpw-cal-head.weekend-sat,.wpw-day.weekend-sat{background:#f3f7ff!important}
  .wpw-cal-head.weekend-sun,.wpw-day.weekend-sun{background:#fff4f5!important}
  .wpw-day.weekend-sat.type-frei,.wpw-day.weekend-sun.type-frei{background:#fff1f3!important}
  .wpw-day.weekend-sat.type-frueh,.wpw-day.weekend-sun.type-frueh{background:#eef6ff!important}
  .wpw-day.weekend-sat.type-spaet,.wpw-day.weekend-sun.type-spaet{background:#f7f1ff!important}
  .wpw-day.weekend-sat.type-urlaub-bezahlt,.wpw-day.weekend-sun.type-urlaub-bezahlt{background:#fff8df!important}
  .wpw-day.weekend-sat.type-urlaub-unbezahlt,.wpw-day.weekend-sun.type-urlaub-unbezahlt{background:#ebfbf8!important}

  /* Compact legend */
  .wpw-legend{display:flex!important;gap:5px!important;overflow-x:auto!important;flex-wrap:nowrap!important;margin:8px 0!important;padding:2px 0 4px!important;scrollbar-width:none!important}
  .wpw-legend::-webkit-scrollbar{display:none!important}.wpw-legend span{font-size:9.5px!important;padding:6px 8px!important;flex:0 0 auto!important}

  /* Submitted = status + a small edit affordance. Never two giant buttons. */
  .wpw-savebar{display:flex!important;align-items:center!important;gap:8px!important;position:static!important;margin-top:10px!important;pointer-events:auto!important}
  .wpw-submitted-state{flex:1 1 auto!important;min-width:0!important;min-height:48px!important;padding:8px 10px!important;border-radius:14px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;text-align:left!important}
  .wpw-submitted-state[hidden]{display:none!important}
  .wpw-submitted-state strong{font-size:12.5px!important;line-height:1.15!important}.wpw-submitted-state small{font-size:10.5px!important;line-height:1.15!important}
  .wpw-submitted-check{width:24px!important;height:24px!important;font-size:13px!important}
  .wpw-edit-submitted{flex:0 0 auto!important;font-size:12px!important;padding:8px 9px!important}
  .wpw-edit-submitted[hidden]{display:none!important}
  .wpw-savebar .wpw-review-btn{width:100%!important;min-height:48px!important;margin:0!important;border-radius:14px!important;font-size:14px!important;background:linear-gradient(135deg,#1677ff,#0d5fd3)!important}
}

@media(max-width:390px){
  .wpw-view-range{gap:6px!important}
  .wpw-view-range input{font-size:10.5px!important;padding:0 2px!important}
  .wpw-day,.wpw-empty,.wpw-day-edit{min-height:72px!important}
  .wpw-day-status::after{font-size:7.6px!important}
  .wpw-topline h2{font-size:26px!important}
}

/* MeinTeam 3.1 – compact language switch + profile menu */
.wpw-user-actions{display:flex;align-items:center;gap:10px}
.mt-lang-switch{display:inline-flex;align-items:center;padding:3px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;gap:2px}
.mt-lang-switch .mt-lang{min-width:38px;height:34px;display:grid;place-items:center;border-radius:9px;padding:0 8px!important;text-decoration:none;color:#64748b;font-weight:800;font-size:12px;border:0!important;background:transparent!important}
.mt-lang-switch .mt-lang.active{background:#fff!important;color:#1769d2!important;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.mt-user-trigger{width:42px;height:42px;border-radius:50%!important;background:#fff!important;font-size:19px;border:1px solid #dce5f0!important;box-shadow:0 4px 14px rgba(15,23,42,.06)}
.mt-user-trigger:hover{background:#f8fafc!important}
.mt-settings-avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:2px auto 8px;background:linear-gradient(135deg,#eef5ff,#f7f3ff);font-size:27px;border:1px solid #dfe8f4}
.mt-profile-logout{display:flex;align-items:center;justify-content:center;margin-top:10px;min-height:44px;border-radius:11px;text-decoration:none;font-weight:800;color:#b91c1c;background:#fff7f7;border:1px solid #fee2e2}
.mt-profile-logout:hover{background:#fff0f0}
.mt-settings-card .wpw-muted{font-size:12px;margin-top:2px}
@media(max-width:780px){
  .wpw-topline{align-items:center!important;gap:8px}.wpw-topline>div:first-child{min-width:0}.wpw-topline h2{font-size:20px!important}.wpw-muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}
  .wpw-user-actions{gap:7px;flex:0 0 auto}.mt-lang-switch{padding:2px}.mt-lang-switch .mt-lang{min-width:34px;height:32px;font-size:11px;padding:0 6px!important}.mt-user-trigger{width:38px;height:38px;font-size:17px}
  .mt-settings-card{max-height:92vh;overflow:auto}
}


/* MeinTeam 3.2 – authoritative language switch + centered date controls */
/* Older mobile rules hid the language links. These final rules intentionally win. */
.mt-lang-switch{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;gap:2px!important;flex:0 0 auto!important}
.mt-lang-switch .mt-lang{display:grid!important;visibility:visible!important;opacity:1!important;place-items:center!important;text-decoration:none!important}
.wpw-user-actions .mt-lang-switch .mt-lang,.mt-top-actions .mt-lang-switch .mt-lang{display:grid!important}

/* Employee date range behaves like two centered date buttons rather than loose inputs. */
.wpw-view-range-centered{width:min(100%,390px)!important;margin:12px auto 4px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
.wpw-view-range-centered .wpw-date-control{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;padding:7px 10px 8px!important;border:1px solid #dfe6ef!important;border-radius:14px!important;background:#f8fafc!important;box-shadow:0 2px 8px rgba(15,23,42,.035)!important;color:#64748b!important}
.wpw-view-range-centered .wpw-date-label{font-size:10.5px!important;font-weight:900!important;line-height:1.15!important;text-transform:none!important;letter-spacing:0!important;color:#64748b!important;text-align:center!important}
.wpw-view-range-centered input[type="date"]{display:block!important;width:100%!important;min-width:0!important;height:28px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#172033!important;font-size:13px!important;font-weight:850!important;text-align:center!important;text-align-last:center!important;appearance:auto!important;-webkit-appearance:auto!important}

@media(max-width:780px){
  .wpw-user-actions{max-width:none!important;overflow:visible!important;gap:7px!important}
  .wpw-user-actions .mt-lang-switch{display:inline-flex!important;flex:0 0 auto!important;padding:2px!important;border-radius:11px!important}
  .wpw-user-actions .mt-lang-switch .mt-lang{display:grid!important;min-width:32px!important;width:32px!important;height:30px!important;padding:0!important;font-size:10.5px!important;border-radius:8px!important}
  .mt-user-trigger{flex:0 0 auto!important}
  .wpw-view-range-centered{width:min(100%,340px)!important;margin:10px auto 2px!important;gap:8px!important}
  .wpw-view-range-centered .wpw-date-control{padding:6px 6px 7px!important;border-radius:13px!important}
  .wpw-view-range-centered .wpw-date-label{font-size:10px!important}
  .wpw-view-range-centered input[type="date"]{height:28px!important;font-size:11.5px!important;padding:0!important}
  .mt-top-actions .mt-lang-switch{display:inline-flex!important}
  .mt-top-actions .mt-lang-switch .mt-lang{display:grid!important}
}

@media(max-width:390px){
  .wpw-user-actions{gap:5px!important}
  .wpw-user-actions .mt-lang-switch .mt-lang{min-width:29px!important;width:29px!important;height:29px!important;font-size:10px!important}
  .wpw-view-range-centered{gap:6px!important;width:100%!important}
  .wpw-view-range-centered input[type="date"]{font-size:10.5px!important}
}


/* MeinTeam 3.6 – invitation onboarding */
.mt-employee-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mt-open-invite-employee{white-space:nowrap}.mt-invite-employee-sheet{position:fixed;inset:0;z-index:100000;background:rgba(9,22,45,.46);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px}.mt-invite-employee-sheet[hidden]{display:none!important}.mt-invite-employee-card{width:min(520px,100%);background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(12,34,68,.24);padding:24px}.mt-invite-employee-card p{color:#65758b;line-height:1.55}.mt-invite-employee-form{display:grid;gap:14px}.mt-invite-employee-form label{display:grid;gap:7px;font-weight:700;color:#17243a}.mt-invite-employee-form input{width:100%;box-sizing:border-box;border:1px solid #d9e2ee;border-radius:12px;padding:13px 14px;font-size:16px;background:#fbfdff}.mt-invite-employee-message{margin:0!important;font-weight:700;font-size:14px}.mt-invite-employee-message.success{color:#118447}.mt-invite-employee-message.error{color:#c62828}.mt-invited-panel{margin:18px 0}.mt-invited-list{display:grid;gap:8px}.mt-invited-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e5ebf3;border-radius:14px;background:#fff}.mt-invited-row>div{min-width:0}.mt-invited-row strong,.mt-invited-row small{display:block}.mt-invited-row small{color:#738298;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mt-invite-status{font-size:12px;font-weight:800;border-radius:999px;padding:7px 10px}.mt-invite-status.sent{background:#e9f8ef;color:#16834c}.mt-invite-status.expired{background:#fff1f0;color:#c43b38}.mt-resend-invite{border:0;background:#edf4ff;color:#1565d8;font-weight:800;border-radius:10px;padding:9px 12px;cursor:pointer}.mt-invite-accept-wrap{min-height:75vh;display:grid;place-items:center;padding:24px}.mt-invite-accept-card{max-width:520px!important;border-radius:24px!important;padding:28px!important;box-shadow:0 28px 75px rgba(16,42,83,.14)!important}.mt-invite-brand{display:flex;align-items:center;gap:10px;font-size:20px;margin-bottom:22px}.mt-invite-brand strong{font-size:25px}.mt-invite-password-form{display:grid;gap:14px}.mt-invite-password-form label{display:grid;gap:7px;font-weight:700}.mt-invite-password-form input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #d8e2ef;border-radius:12px;font-size:16px}
@media(max-width:700px){.mt-employee-title-row{align-items:flex-start!important}.mt-employee-head-actions{width:100%;justify-content:space-between}.mt-open-invite-employee{flex:1}.mt-invite-employee-sheet{align-items:flex-end;padding:0}.mt-invite-employee-card{border-radius:24px 24px 0 0;padding:22px 18px 28px;max-height:88vh;overflow:auto}.mt-invited-row{grid-template-columns:1fr auto}.mt-resend-invite{grid-column:1/-1;width:100%}.mt-invite-status{justify-self:end}.mt-invite-accept-wrap{padding:16px}.mt-invite-accept-card{padding:22px!important}}


/* MeinTeam 3.7 – fill available manager calendar width + invite department */
@media(min-width:901px){
  .mt-content .wpw-manager-grid .mt-timeline{
    width:max(100%,calc(150px + var(--days) * 34px))!important;
    min-width:max(100%,calc(150px + var(--days) * 34px))!important;
    grid-template-columns:150px repeat(var(--days),minmax(34px,1fr))!important;
  }
}
.mt-invite-employee-form select{width:100%;min-height:44px;border:1px solid #d8e3ef;border-radius:12px;background:#fff;padding:0 12px;color:#172033;font:inherit}
.mt-invite-department{display:inline-flex!important;width:max-content;margin-top:4px;padding:3px 7px;border-radius:999px;background:#eef5ff;color:#2866b4;font-weight:800}


/* MeinTeam 3.8 – deterministic manager timeline sizing */
.mt-content .wpw-manager-grid .mt-timeline-scroll.mt-fill-range{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  overflow-x:hidden!important;
}
.mt-content .wpw-manager-grid .mt-timeline-scroll.mt-fill-range .mt-timeline{
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  grid-template-columns:150px repeat(var(--days),minmax(0,1fr))!important;
}
.mt-content .wpw-manager-grid .mt-timeline-scroll.mt-scroll-range{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  overflow-x:auto!important;
}
.mt-content .wpw-manager-grid .mt-timeline-scroll.mt-scroll-range .mt-timeline{
  width:calc(150px + var(--days) * 34px)!important;
  min-width:calc(150px + var(--days) * 34px)!important;
  max-width:none!important;
  grid-template-columns:150px repeat(var(--days),34px)!important;
}
@media(max-width:900px){
  .mt-content .wpw-manager-grid .mt-timeline-scroll.mt-fill-range,
  .mt-content .wpw-manager-grid .mt-timeline-scroll.mt-scroll-range{overflow-x:auto!important}
  .mt-content .wpw-manager-grid .mt-timeline-scroll.mt-fill-range .mt-timeline,
  .mt-content .wpw-manager-grid .mt-timeline-scroll.mt-scroll-range .mt-timeline{
    width:calc(112px + var(--days) * 48px)!important;
    min-width:calc(112px + var(--days) * 48px)!important;
    max-width:none!important;
    grid-template-columns:112px repeat(var(--days),48px)!important;
  }
}

/* MeinTeam 4.0 – partial decisions + employee notifications */
.mt-decision-range{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 6px}
.mt-decision-range label{display:block;font-size:12px;font-weight:700;color:#64748b;margin-bottom:6px}
.mt-decision-range input{width:100%;min-height:44px;border:1px solid #dbe3ef;border-radius:12px;padding:0 12px;background:#fff;font:inherit;color:#0f172a}
.mt-decision-hint{margin:6px 0 14px;color:#64748b;font-size:13px;line-height:1.4}
.mt-notification-trigger{position:relative;border:1px solid #dbe3ef;background:#fff;border-radius:12px;min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;cursor:pointer}
.mt-notification-badge{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;line-height:19px;text-align:center;border:2px solid #fff}
.mt-notification-sheet{position:fixed;inset:0;background:rgba(15,23,42,.42);z-index:99999;display:flex;align-items:flex-start;justify-content:flex-end;padding:82px 24px 24px}
.mt-notification-sheet[hidden]{display:none!important}
.mt-notification-card{width:min(420px,calc(100vw - 32px));max-height:min(640px,80vh);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 70px rgba(15,23,42,.2);padding:18px}
.mt-notification-list{display:grid;gap:10px;margin-top:12px}
.mt-notification-item{display:grid;grid-template-columns:10px 1fr;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.mt-notification-item.is-unread{background:#f8fbff;border-color:#cfe2ff}
.mt-notification-dot{width:9px;height:9px;border-radius:999px;background:#94a3b8;margin-top:6px}
.mt-notification-item.type-approved .mt-notification-dot{background:#22c55e}
.mt-notification-item.type-rejected .mt-notification-dot{background:#ef4444}
.mt-notification-item strong{display:block;color:#0f172a;font-size:14px}
.mt-notification-item p{margin:4px 0 2px;color:#475569;font-size:13px;line-height:1.35}
.mt-notification-item small{color:#94a3b8;font-size:11px}
.mt-notification-empty{padding:22px;text-align:center;color:#64748b}
@media(max-width:700px){
  .mt-decision-range{grid-template-columns:1fr 1fr;gap:8px}
  .mt-notification-sheet{align-items:flex-end;padding:0}
  .mt-notification-card{width:100%;max-height:78vh;border-radius:22px 22px 0 0;padding:18px 16px 24px}
}


/* MeinTeam 4.1 – Flexible request + per-employee permissions */
.wpw-day.type-flexibel{background:#eefcf8!important}
.type-flexibel .wpw-day-status,.wpw-cell-flexibel{background:#d1fae5!important;color:#047857!important}
.wpw-legend .flexibel{background:#d1fae5!important;color:#047857!important}
.wpw-choice[data-value="flexibel"]{background:#eefcf8!important;color:#047857!important}
.wpw-review-item.type-flexibel .wpw-review-icon{background:#d1fae5!important;color:#047857!important}
.mt-pipe.type-flexibel{background:linear-gradient(90deg,#0f9f8c,#42c9b3)!important;color:#fff!important}
.mt-type-legend .flexibel{color:#0f9f8c!important}
.mt-print-legend .flexible i{background:#0f9f8c!important}
.mt-wish-permissions{border:1px solid #e4eaf1;border-radius:14px;padding:12px 14px;margin:14px 0;background:#f8fafc}
.mt-wish-permissions legend{padding:0 6px;font-weight:800;color:#24344b}
.mt-wish-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:4px}
.mt-wish-permission-grid label{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;font-weight:700}
.mt-wish-permission-grid input{width:17px;height:17px;margin:0;accent-color:#1769d2}
.mt-wish-permissions small{display:block;margin-top:9px;color:#64748b;line-height:1.35}
@media(max-width:600px){.mt-wish-permission-grid{grid-template-columns:1fr}.mt-wish-permission-grid label{min-height:44px}}

/* MeinTeam 4.2 – performance-safe flexible identity */
.wpw-day.type-flexibel{background:#ecfeff!important}
.type-flexibel .wpw-day-status,.wpw-cell-flexibel{background:#cffafe!important;color:#0e7490!important}
.wpw-legend .flexibel{background:#cffafe!important;color:#0e7490!important}
.wpw-choice[data-value="flexibel"]{background:#ecfeff!important;color:#0e7490!important}
.wpw-review-item.type-flexibel .wpw-review-icon{background:#cffafe!important;color:#0e7490!important}
.mt-pipe.type-flexibel{background:linear-gradient(90deg,#06b6d4,#22d3ee)!important;color:#083344!important}
.mt-type-legend .flexibel{color:#0891b2!important}

/* MeinTeam 4.4 – clear status and accessible keyboard focus. */
.mt-inline-error{padding:12px 16px;margin:0 0 12px;border:1px solid #fecaca;border-radius:12px;background:#fff1f2;color:#991b1b}
.mt-inline-error button{margin-left:8px;padding:6px 10px;border:1px solid currentColor;border-radius:8px;background:white;color:inherit;cursor:pointer}
[aria-busy="true"]{cursor:progress}
.mt-content.is-loading::before{content:"Lädt … / Loading…";display:block;font-weight:700;margin-bottom:12px;color:#1769e8}
.mt-nav a:focus-visible,.mt-pipe:focus-visible,button:focus-visible{outline:3px solid #1769e8;outline-offset:3px}
.mt-row-bg{grid-column:2 / -1;background-image:repeating-linear-gradient(to right,#edf2f7 0 1px,transparent 1px calc(100% / var(--days))),var(--mt-calendar-bg);background-color:#fff}
@media print{.mt-row-bg{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* MeinTeam 4.5 – employee space: ink, soft mint and a calm editorial layout. */
.wpw-wrap.mt-employee-dashboard{--emp-ink:#192c2b;--emp-muted:#70817e;--emp-accent:#236457;--emp-line:#e4ebe7;--emp-bg:#f5f7f4;width:100%;max-width:1260px!important;box-sizing:border-box;padding:28px!important;margin:0 auto!important;background:var(--emp-bg);color:var(--emp-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;isolation:isolate}
.mt-employee-dashboard *{box-sizing:border-box}
.mt-employee-dashboard .mt-employee-header{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding:0 0 26px!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.mt-employee-brand{display:flex;align-items:center;gap:11px;min-width:0}
.mt-brand-monogram{position:relative;display:grid;place-items:center;width:42px;height:42px;background:#203e36;color:#fff;border-radius:13px;font-size:32px;font-weight:650;letter-spacing:-4px;padding-right:4px;line-height:1}
.mt-brand-monogram>span{position:absolute;right:7px;top:8px;width:5px;height:5px;border-radius:50%;background:#b4d6a4}
.mt-employee-dashboard .mt-employee-brand h2{margin:0!important;font-size:21px!important;line-height:1.2!important;font-weight:750;letter-spacing:-.8px;color:var(--emp-ink)}
.mt-brand-caption{display:block;margin-top:3px;font-size:11px;color:var(--emp-muted)}
.mt-employee-dashboard .wpw-user-actions{display:flex!important;align-items:center;gap:9px!important;max-width:none!important}
.mt-employee-dashboard .mt-notification-trigger,.mt-employee-dashboard .mt-user-trigger{display:grid!important;place-items:center;width:39px!important;height:39px!important;min-width:39px!important;background:#fff!important;border:1px solid var(--emp-line)!important;border-radius:12px!important;box-shadow:none!important;color:var(--emp-ink);font-size:14px!important;font-weight:700;cursor:pointer}
.mt-employee-dashboard svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.mt-employee-dashboard .mt-user-trigger{border-radius:50%!important;background:#e4eee3!important;color:#335b48!important}
.mt-employee-dashboard .mt-lang-switch{background:#eaf0e9!important;border:0!important;border-radius:10px!important;padding:3px!important}
.mt-employee-dashboard .mt-lang-switch .mt-lang{height:30px!important;width:32px!important;min-width:32px!important;padding:0!important;font-size:10px!important;border:0!important;color:#7a8880!important;background:transparent!important;border-radius:7px!important;font-weight:650!important}
.mt-employee-dashboard .mt-lang-switch .mt-lang.active{background:#fff!important;color:#264739!important;box-shadow:0 1px 4px #17322710!important}
.mt-employee-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;background:#e9f0e8;border:1px solid #e0e9de;border-radius:25px;padding:34px 38px;margin-bottom:27px;position:relative;overflow:hidden}
.mt-hero-copy{position:relative;z-index:1;max-width:680px}
.mt-hero-eyebrow{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.35px;color:#667c6a}
.mt-hero-eyebrow>span{width:6px;height:6px;background:#628765;border-radius:50%}
.mt-employee-dashboard .mt-employee-hero h1{font-size:clamp(30px,3.3vw,43px);line-height:1.15;letter-spacing:-1.7px;font-weight:550;color:#203c32;margin:14px 0 13px}
.mt-hero-period{color:#6c9869}
.mt-employee-hero p{font-size:13px;line-height:1.8;color:#6d7f70;margin:0;max-width:390px}
.mt-hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:25px;font-size:11px;color:#68806c}
.mt-deadline-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #d6e2d2;border-radius:999px;padding:7px 11px;background:#f4f8f0;font-weight:550}
.mt-deadline-pill svg{width:14px;height:14px}
.mt-deadline-pill.is-locked{color:#825c40;background:#faf3e8;border-color:#ecdfcb}
.mt-planned-pill strong{color:#2c503b;font-size:13px;font-weight:650}
.mt-hero-art{position:relative;width:240px;height:192px;flex:0 0 240px}
.mt-art-orbit{position:absolute;width:194px;height:194px;border:1px solid #d0ddcb;border-radius:50%;left:20px;top:-1px;box-shadow:0 0 0 25px #e2ebdf,0 0 0 26px #dce6d7}
.mt-art-calendar{position:absolute;left:56px;top:18px;transform:rotate(-8deg);width:131px;height:147px;padding:20px;background:#fdfefb;border:1px solid #dce5d7;border-radius:16px;box-shadow:5px 15px 25px #49664514;color:#44634c}
.mt-art-dots{display:flex;gap:49px;position:absolute;top:-6px;left:32px}.mt-art-dots i{display:block;width:6px;height:17px;border-radius:6px;background:#8fa588}
.mt-art-calendar>span{display:block;margin-top:6px;font-size:8px;font-weight:600;letter-spacing:1px}
.mt-art-calendar>b{display:block;font-size:66px;font-weight:450;line-height:1.15;letter-spacing:-4px}
.mt-art-check{position:absolute;right:-18px;bottom:12px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#2a5944;color:#fff;font-size:19px;border:4px solid #e9f0e8}
.mt-art-note{position:absolute;bottom:2px;left:40px;transform:rotate(-8deg);padding:7px 12px;border-radius:6px;background:#d4e2ca;color:#4f6a4d;font-size:9px;font-weight:550;letter-spacing:.2px}
.mt-employee-dashboard .mt-editor-shell{width:100%;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.mt-employee-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}
.mt-calendar-panel{min-width:0;padding:25px;background:#fff;border:1px solid var(--emp-line);border-radius:22px;box-shadow:0 4px 20px #233c2d03}
.mt-calendar-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mt-section-eyebrow{font-size:9px;letter-spacing:1.35px;font-weight:650;color:#839089}
.mt-employee-dashboard .mt-calendar-panel h3{font-size:22px;font-weight:600;letter-spacing:-.6px;color:var(--emp-ink);line-height:1.3;margin:5px 0 0}
.mt-employee-dashboard .wpw-month-nav{display:flex!important;align-items:center;justify-content:center;gap:4px!important;width:auto!important;max-width:240px;background:#f5f7f4!important;border:1px solid #e7ece5!important;border-radius:11px!important;padding:3px!important;margin:0!important;box-shadow:none!important}
.mt-employee-dashboard .wpw-month-arrow{display:grid!important;place-items:center;width:29px!important;height:30px!important;min-width:29px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#506458!important;font-size:22px!important;box-shadow:none!important}
.mt-employee-dashboard .wpw-month-arrow:hover{background:#e5ece1!important}
.mt-employee-dashboard .wpw-month-jump{width:145px!important;min-width:0!important;max-width:145px!important;height:30px!important;min-height:30px!important;padding:0 5px!important;border:0!important;background:transparent!important;color:#43574c!important;font-size:12px!important;font-weight:600!important;text-align:center!important;box-shadow:none!important}
.mt-calendar-intro{display:flex;justify-content:space-between;align-items:start;gap:10px;padding:20px 0 13px;color:#839089;font-size:10px;line-height:1.6}
.mt-calendar-view-options{text-align:right;flex-shrink:0;max-width:50%}.mt-calendar-view-options summary{cursor:pointer;font-size:10px;color:#617a69;list-style:none;text-decoration:underline;text-underline-offset:3px}
.mt-employee-dashboard .wpw-view-range{display:flex;gap:8px;margin:10px 0 0!important;padding:0!important;align-items:end;width:auto!important;max-width:100%}
.mt-employee-dashboard .wpw-date-control{min-width:0;display:grid;gap:5px}.mt-employee-dashboard .wpw-date-label{font-size:9px;color:#798b7d}
.mt-employee-dashboard .wpw-view-range input{width:112px!important;max-width:100%;min-height:32px!important;font-size:10px!important;border:1px solid var(--emp-line)!important;border-radius:7px!important;background:#fff!important;padding:4px!important}
.mt-employee-dashboard .wpw-calendar-scroll{border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important;overflow:visible!important;background:transparent!important}
.mt-employee-dashboard .wpw-calendar{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:7px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;border-radius:0!important;background:transparent!important}
.mt-employee-dashboard .wpw-cal-head{background:transparent!important;border:0!important;color:#97a39b!important;font-weight:550!important;font-size:10px!important;text-transform:none;letter-spacing:0;text-align:center;padding:9px 0 10px!important;min-width:0}
.mt-employee-dashboard .wpw-cal-head.weekend{background:transparent!important;color:#899b8b!important}
.mt-employee-dashboard .wpw-day,.mt-employee-dashboard .wpw-empty{width:auto!important;max-width:none!important;min-width:0!important;min-height:79px!important;padding:0!important;border:1px solid #e9eeea!important;border-radius:12px!important;background:#fafbf8!important;overflow:hidden!important;box-shadow:none!important;transition:background .15s ease,border-color .15s ease}
.mt-employee-dashboard .wpw-empty{background:transparent!important;border-color:transparent!important}
.mt-employee-dashboard .wpw-day.weekend:not([class*="type-"]){background:#f3f6f0!important}
.mt-employee-dashboard .wpw-day:hover{background:#eef4eb!important;border-color:#b8cdb6!important;transform:none!important;box-shadow:none!important}
.mt-employee-dashboard .wpw-day-edit{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;width:100%!important;height:100%!important;min-height:79px!important;gap:10px!important;padding:10px 9px!important;border:0!important;border-radius:11px!important;background:transparent!important;text-align:left!important;box-shadow:none!important;cursor:pointer}
.mt-employee-dashboard .wpw-daynum{align-self:flex-start!important;margin:0!important;font-size:13px!important;font-weight:550!important;line-height:1!important;color:#56665c!important}
.mt-employee-dashboard .wpw-day-status{align-self:flex-start!important;display:block!important;min-height:0!important;min-width:0!important;width:auto!important;max-width:100%!important;padding:4px 6px!important;font-size:9px!important;line-height:1.2!important;font-weight:550!important;border:0!important;border-radius:5px!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important;box-shadow:none!important;background:#eef2e9!important;color:#587353!important}
.mt-employee-dashboard .wpw-day-status::after{content:none!important}
.mt-employee-dashboard .wpw-day:not([class*="type-"]) .wpw-day-status{visibility:hidden;align-self:flex-end!important;color:#91a28d!important;background:transparent!important;font-size:16px!important;padding:0!important}
.mt-employee-dashboard .wpw-day:not([class*="type-"]):hover .wpw-day-status{visibility:visible}
.mt-employee-dashboard .wpw-day.type-frei{background:#f6eee9!important;border-color:#eadbd1!important}.mt-employee-dashboard .type-frei .wpw-day-status{background:#eeded2!important;color:#9b6b50!important}
.mt-employee-dashboard .wpw-day.type-frueh{background:#eef4ee!important;border-color:#dbe6d8!important}.mt-employee-dashboard .type-frueh .wpw-day-status{background:#dbe8d8!important;color:#567751!important}
.mt-employee-dashboard .wpw-day.type-spaet{background:#f0edf6!important;border-color:#e2ddef!important}.mt-employee-dashboard .type-spaet .wpw-day-status{background:#e3dcf0!important;color:#786093!important}
.mt-employee-dashboard .wpw-day.type-flexibel{background:#edf2f6!important;border-color:#d9e3ec!important}.mt-employee-dashboard .type-flexibel .wpw-day-status{background:#dce7f0!important;color:#607f96!important}
.mt-employee-dashboard .wpw-day.type-urlaub-bezahlt{background:#f5f2e5!important;border-color:#e8e0c6!important}.mt-employee-dashboard .type-urlaub-bezahlt .wpw-day-status{background:#eae3c8!important;color:#8a7843!important}
.mt-employee-dashboard .wpw-day.type-urlaub-unbezahlt{background:#eaf4f2!important;border-color:#cfe5df!important}.mt-employee-dashboard .type-urlaub-unbezahlt .wpw-day-status{background:#d7ebe6!important;color:#517f74!important}
.mt-employee-dashboard .wpw-day-note-icon{font-size:8px!important;color:#98775f!important;line-height:1!important}.mt-employee-dashboard .wpw-day-note-icon::after{content:none!important}
.mt-employee-dashboard .wpw-legend{display:flex!important;flex-wrap:wrap!important;gap:9px 14px!important;margin:20px 0 0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;border-radius:0!important}
.mt-employee-dashboard .wpw-legend span{display:inline-flex;align-items:center;gap:5px;padding:0!important;border:0!important;border-radius:0!important;color:#819087!important;font-size:9px!important;font-weight:500!important;background:transparent!important}
.mt-employee-dashboard .wpw-legend span::before{content:'';width:6px;height:6px;border-radius:2px;background:#b3c8ae}.mt-employee-dashboard .wpw-legend .frei::before{background:#d8b399}.mt-employee-dashboard .wpw-legend .spaet::before{background:#b2a0cc}.mt-employee-dashboard .wpw-legend .flexibel::before{background:#9ebbd0}.mt-employee-dashboard .wpw-legend .urlaub-bezahlt::before{background:#caba7d}.mt-employee-dashboard .wpw-legend .urlaub-unbezahlt::before{background:#97c4b7}
.mt-planning-panel{background:#fff;border:1px solid var(--emp-line);border-radius:22px;padding:22px;position:sticky;top:20px}
.mt-planning-heading{display:flex;align-items:center;gap:10px;color:#668170;font-size:11px;font-weight:550;margin-bottom:22px}.mt-planning-symbol{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#edf3e9;flex-shrink:0}.mt-planning-symbol svg{width:17px;height:17px}
.mt-employee-dashboard .wpw-quick-details{border:0!important;border-radius:0!important;background:transparent!important;margin:0!important;padding:0!important;overflow:visible!important}
.mt-employee-dashboard .wpw-quick-details>summary{padding:0!important;font-size:15px!important;font-weight:600!important;letter-spacing:-.3px;color:#354d40;list-style:none;cursor:pointer;margin-bottom:17px}
.mt-employee-dashboard .wpw-quick-range{display:grid!important;grid-template-columns:1fr 1fr!important;gap:13px 10px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.mt-employee-dashboard .wpw-quick-range label{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;font-size:10px!important;color:#819087!important;font-weight:500!important;min-width:0!important;width:100%!important}
.mt-employee-dashboard .wpw-quick-range>label:first-child,.mt-employee-dashboard .wpw-range-reason-wrap,.mt-employee-dashboard .wpw-mark-range{grid-column:1 / -1!important}
.mt-employee-dashboard .wpw-quick-range input,.mt-employee-dashboard .wpw-quick-range select{width:100%!important;min-width:0!important;max-width:100%!important;min-height:41px!important;background:#fafbf8!important;border:1px solid #e3e9e0!important;border-radius:9px!important;font:inherit!important;font-size:11px!important;color:#4e6557!important;padding:10px 8px!important;box-shadow:none!important}
.mt-employee-dashboard .wpw-quick-range select{padding-right:18px!important}
.mt-employee-dashboard .wpw-btn{min-height:42px!important;border-radius:10px!important;padding:11px 15px!important;font-size:11px!important;font-weight:550!important;letter-spacing:0!important;background:#285d4e!important;color:#fff!important;border:1px solid #285d4e!important;box-shadow:none!important;cursor:pointer}
.mt-employee-dashboard .wpw-btn:hover{background:#214e42!important}.mt-employee-dashboard .wpw-btn:disabled{opacity:.5;cursor:not-allowed}
.mt-employee-dashboard .wpw-mark-range{background:#edf3e9!important;border:1px solid #dce7d6!important;color:#5c7b55!important;font-size:10px!important;font-weight:550!important}
.mt-planning-help{border-top:1px solid #edf1ea;margin-top:24px;padding-top:22px}
.mt-planning-help ol{list-style:none;counter-reset:steps;display:grid;gap:13px;padding:0;margin:16px 0 24px!important;font-size:10px;color:#87948a}
.mt-planning-help li{display:flex;align-items:center;gap:9px;counter-increment:steps}.mt-planning-help li::before{content:counter(steps);display:grid;place-items:center;width:19px;height:19px;border:1px solid #e2e9dc;border-radius:50%;background:#f4f7ef;color:#7f9277;font-size:9px}
.mt-employee-dashboard .wpw-savebar{display:flex!important;flex-direction:column!important;align-items:stretch!important;position:static!important;gap:9px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.mt-employee-dashboard .wpw-savebar .wpw-review-btn{width:100%!important;min-height:43px!important;font-size:11px!important;border-radius:10px!important;background:#285d4e!important;box-shadow:none!important}
.mt-employee-dashboard .wpw-submitted-state{width:100%;border-radius:10px!important;padding:10px!important;background:#eef5ec!important;border:1px solid #deead7!important;color:#527448!important}
.mt-employee-dashboard .wpw-submitted-state strong{font-size:11px!important;font-weight:600!important}.mt-employee-dashboard .wpw-submitted-state small{font-size:9px!important}
.mt-employee-dashboard .wpw-edit-submitted{color:#53744b!important;background:#f2f6ee!important;border:1px solid #dee8d6!important;border-radius:9px!important;padding:9px!important;font-size:11px!important}
.mt-planning-footnote{margin:12px 0 0;font-size:9px;line-height:1.8;color:#98a198;text-align:center}
.mt-employee-dashboard .wpw-day-sheet-card,.mt-employee-dashboard .wpw-review-card,.mt-employee-dashboard .mt-settings-card{border:1px solid #e3eadd!important;border-radius:22px!important;box-shadow:0 24px 75px #142e2540!important}
.mt-employee-dashboard .wpw-choice{font-size:12px!important;font-weight:550!important;border-color:#e0e8db!important;background:#f7f9f3!important;color:#5b7153!important;border-radius:10px!important;min-height:48px}
.mt-employee-dashboard .wpw-choice.is-selected{background:#e7f0df!important;outline:2px solid #75966b!important;color:#35532d!important}
.mt-employee-dashboard .wpw-secondary{background:#f3f6ee!important;color:#6b8262!important;border-color:#dde7d5!important}
.mt-employee-dashboard button:focus-visible,.mt-employee-dashboard a:focus-visible,.mt-employee-dashboard select:focus-visible{outline:2px solid #468c71!important;outline-offset:3px}
@media(max-width:1000px){.mt-employee-layout{grid-template-columns:minmax(0,1fr) 255px;gap:16px}.mt-calendar-panel{padding:20px}.mt-planning-panel{padding:18px}.mt-employee-dashboard .wpw-day-edit{padding:9px 6px!important}.mt-employee-dashboard .wpw-day-status{font-size:8px!important;padding:4px!important}}
@media(max-width:820px){
 .wpw-wrap.mt-employee-dashboard{padding:20px!important}.mt-employee-layout{grid-template-columns:minmax(0,1fr)}.mt-planning-panel{position:static;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;padding:24px}.mt-planning-heading,.mt-employee-dashboard .wpw-quick-details{grid-column:1;grid-row:auto}.mt-planning-help{grid-column:2;grid-row:1 / span 2;margin-top:0;border:0;padding-top:0}.mt-employee-dashboard .wpw-savebar,.mt-planning-footnote{grid-column:2}.mt-employee-hero{padding:30px}.mt-hero-art{transform:scale(.85);transform-origin:right center;margin-left:-25px}
}
@media(max-width:560px){
 .wpw-wrap.mt-employee-dashboard{padding:16px 12px!important}.mt-employee-dashboard .mt-employee-header{padding-bottom:20px!important;gap:8px}.mt-employee-brand{gap:8px}.mt-brand-monogram{width:34px;height:34px;font-size:27px;border-radius:11px}.mt-employee-dashboard .mt-employee-brand h2{font-size:18px!important}.mt-brand-caption{display:none}.mt-employee-dashboard .wpw-user-actions{gap:6px!important}.mt-employee-dashboard .mt-notification-trigger,.mt-employee-dashboard .mt-user-trigger{width:33px!important;min-width:33px!important;height:33px!important;border-radius:10px!important}.mt-employee-dashboard .mt-lang-switch .mt-lang{width:26px!important;min-width:26px!important;height:26px!important;font-size:9px!important}.mt-employee-hero{padding:25px 22px;border-radius:20px;margin-bottom:18px;min-height:205px}.mt-hero-eyebrow{font-size:9px}.mt-employee-dashboard .mt-employee-hero h1{font-size:31px;letter-spacing:-1px;margin:14px 0 11px}.mt-employee-hero p{font-size:11px;max-width:220px;line-height:1.8}.mt-hero-meta{font-size:9px;gap:10px;margin-top:19px}.mt-deadline-pill{padding:6px 8px}.mt-hero-art{position:absolute;right:-54px;top:30px;transform:scale(.6);transform-origin:center;opacity:.45;pointer-events:none}.mt-art-note{display:none}.mt-hero-copy{max-width:100%;padding-right:28px}.mt-calendar-panel{padding:17px 12px;border-radius:18px}.mt-calendar-panel-head{gap:5px}.mt-section-eyebrow{font-size:8px;letter-spacing:1px}.mt-employee-dashboard .mt-calendar-panel h3{font-size:18px}.mt-employee-dashboard .wpw-month-nav{padding:2px!important;gap:0!important;max-width:180px}.mt-employee-dashboard .wpw-month-jump{font-size:10px!important;width:118px!important;max-width:118px!important}.mt-employee-dashboard .wpw-month-arrow{width:25px!important;min-width:25px!important;height:28px!important;font-size:20px!important}.mt-calendar-intro{font-size:9px;padding:17px 0 11px;gap:8px}.mt-calendar-intro>span{max-width:175px}.mt-calendar-view-options summary{font-size:9px}.mt-employee-dashboard .wpw-view-range{flex-direction:column;align-items:stretch}.mt-employee-dashboard .wpw-calendar{gap:4px!important}.mt-employee-dashboard .wpw-cal-head{font-size:9px!important;padding:8px 0!important}.mt-employee-dashboard .wpw-day,.mt-employee-dashboard .wpw-empty{min-height:66px!important;border-radius:8px!important}.mt-employee-dashboard .wpw-day-edit{min-height:66px!important;padding:8px 4px!important;gap:11px!important;border-radius:8px!important}.mt-employee-dashboard .wpw-daynum{font-size:11px!important}.mt-employee-dashboard .wpw-day-status{font-size:7.5px!important;line-height:1.2!important;padding:3px!important;border-radius:4px!important}.mt-employee-dashboard .wpw-day:not([class*="type-"]) .wpw-day-status{font-size:14px!important}.mt-employee-dashboard .wpw-day-note-icon{font-size:0!important}.mt-employee-dashboard .wpw-day-note-icon:not([hidden])::after{content:'•'!important;font-size:9px!important}.mt-employee-dashboard .wpw-legend{gap:9px 12px!important;margin-top:17px!important}.mt-employee-dashboard .wpw-legend span{font-size:8px!important}.mt-planning-panel{display:block;padding:22px;border-radius:18px}.mt-planning-heading{margin-bottom:18px}.mt-employee-dashboard .wpw-quick-range{grid-template-columns:1fr 1fr!important}.mt-planning-help{border-top:1px solid #edf1ea;margin-top:22px;padding-top:20px}.mt-planning-help ol{display:none}.mt-planning-help>.mt-section-eyebrow{display:none}.mt-employee-dashboard .wpw-savebar{margin-top:0!important}.mt-employee-dashboard .wpw-savebar .wpw-review-btn{font-size:12px!important;min-height:46px!important}.mt-planning-footnote{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.mt-employee-dashboard *{transition:none!important;scroll-behavior:auto!important}}
.mt-employee-dashboard [hidden]{display:none!important}
.mt-employee-dashboard .wpw-quick-range input{margin-top:0!important}
.mt-employee-dashboard .wpw-quick-range label{font-size:11px!important;color:#687e6c!important}
.mt-employee-dashboard .wpw-quick-range input,.mt-employee-dashboard .wpw-quick-range select{font-size:12px!important}
.mt-calendar-intro{font-size:11px;color:#718276}.mt-planning-help ol{font-size:11px;color:#748678}.mt-planning-footnote{font-size:10px;color:#7e8f82}
.mt-employee-dashboard .wpw-legend span{font-size:10px!important;color:#718375!important}
@media(max-width:560px){
 .mt-employee-dashboard .wpw-day-status{font-size:0!important}
 .mt-employee-dashboard .wpw-day-status::after{content:attr(data-short)!important;font-size:7.5px!important;line-height:1.2!important}
 .mt-employee-dashboard .wpw-day:not([class*="type-"]) .wpw-day-status::after{content:'+'!important;font-size:14px!important}
 .mt-employee-dashboard .wpw-legend span{font-size:9px!important}
 .mt-hero-art{opacity:.25;right:-75px}
 .mt-calendar-intro{font-size:10px}
}

/* MeinTeamPro 4.6 – original brand, compact welcome and resilient native fields. */
.mt-pro-logo{position:relative;display:block;flex:none;width:174px;height:82px;overflow:hidden;border-radius:12px;background:#fff}
.mt-pro-logo img{position:absolute!important;display:block!important;width:300px!important;max-width:none!important;height:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%);margin:0!important;padding:0!important;border:0!important}
.mt-pro-manager-brand{justify-content:center;padding:8px 0 18px}
.mt-employee-dashboard .mt-employee-header{padding-bottom:18px!important}
.mt-employee-dashboard .mt-employee-hero{min-height:0;padding:26px 30px;border-radius:20px;background:linear-gradient(115deg,#eef6ff,#edf9f5);border-color:#dbe9ef;margin-bottom:22px}
.mt-employee-dashboard .mt-hero-copy{max-width:100%;padding:0;min-width:0}
.mt-employee-dashboard .mt-hero-eyebrow{font-size:11px;color:#506a7b;letter-spacing:.2px}
.mt-employee-dashboard .mt-hero-eyebrow>span{background:#19ad96}
.mt-employee-dashboard .mt-employee-hero h1{font-size:30px;line-height:1.2;letter-spacing:-1px;font-weight:650;color:#102b46;margin:12px 0 8px}
.mt-employee-dashboard .mt-employee-hero .mt-hero-greeting{font-size:14px;line-height:1.5;max-width:none;color:#526a7c;overflow-wrap:anywhere}
.mt-employee-dashboard .mt-hero-meta{gap:8px;margin-top:18px;font-size:12px;color:#405e6f}
.mt-employee-dashboard .mt-deadline-pill,.mt-employee-dashboard .mt-planned-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:10px;border:1px solid #dbe7ec;background:#ffffffc9;line-height:1.3}
.mt-employee-dashboard .mt-planned-pill strong{color:#0b7667;font-size:14px}
.mt-employee-dashboard .mt-deadline-pill.is-locked{color:#825c40;background:#faf3e8;border-color:#ecdfcb}
.mt-employee-dashboard .mt-planning-heading{font-size:10px;letter-spacing:1px;color:#527080;margin-bottom:12px;gap:9px}
.mt-employee-dashboard .mt-planning-symbol{background:#eaf5fa;color:#087bae}
.mt-employee-dashboard .wpw-quick-details>summary{min-height:36px!important;font-size:19px!important;line-height:1.3!important;margin-bottom:6px;color:#16384b;display:flex;align-items:center;justify-content:space-between;gap:10px}
.mt-employee-dashboard .wpw-quick-details>summary::after{content:'+';font-size:22px;font-weight:400;color:#638395}
.mt-employee-dashboard .wpw-quick-details[open]>summary::after{content:'−'}
.mt-employee-dashboard .wpw-quick-details>summary::-webkit-details-marker{display:none}
.mt-employee-dashboard .mt-quick-intro{font-size:12px;line-height:1.6;color:#617784;margin:0 0 16px}
.mt-employee-dashboard .wpw-quick-range{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
.mt-employee-dashboard .wpw-quick-range>label{grid-column:1 / -1!important;font-size:12px!important;color:#425f70!important;gap:7px!important}
.mt-employee-dashboard .wpw-quick-range input,.mt-employee-dashboard .wpw-quick-range select{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-inline-size:0!important;max-width:100%!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0 12px!important;font-size:16px!important;line-height:normal!important;color:#244255!important;background:#f8fafc!important;border:1px solid #dce5eb!important;border-radius:10px!important;-webkit-appearance:none;appearance:none}
.mt-employee-dashboard .wpw-quick-range select{padding-right:36px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23527080' stroke-width='1.7'%3E%3Cpath d='m5 7 5 5 5-5'/%3E%3C/svg%3E")!important;background-position:right 12px center!important;background-size:18px 18px!important;background-repeat:no-repeat!important}
.mt-employee-dashboard .wpw-quick-range input::-webkit-date-and-time-value{text-align:left;min-width:0}
.mt-employee-dashboard .wpw-quick-range input::-webkit-datetime-edit{padding:0}
.mt-employee-dashboard .wpw-quick-range input::-webkit-calendar-picker-indicator{flex-shrink:0;margin:0}
.mt-employee-dashboard .wpw-quick-range input::placeholder{color:#7a8c98;opacity:1;font-size:14px}
.mt-employee-dashboard .wpw-mark-range{height:auto!important;min-height:48px!important;font-size:13px!important;line-height:1.4!important;padding:12px!important;background:#e8f5f6!important;color:#086975!important;border:1px solid #cee8eb!important;border-radius:10px!important;white-space:normal!important}
.mt-employee-dashboard .wpw-mark-range:hover{background:#d9eef1!important}
@media(max-width:560px){
 .mt-pro-logo{width:136px;height:66px}.mt-pro-logo img{width:240px!important}
 .mt-employee-dashboard .mt-employee-header{padding-bottom:14px!important}
 .mt-employee-dashboard .mt-employee-hero{padding:20px;border-radius:18px;margin-bottom:16px}
 .mt-employee-dashboard .mt-employee-hero h1{font-size:25px;letter-spacing:-.8px;margin-top:12px}
 .mt-employee-dashboard .mt-hero-eyebrow{font-size:10px}
 .mt-employee-dashboard .mt-hero-meta{font-size:11px;margin-top:16px;gap:7px}
 .mt-employee-dashboard .mt-deadline-pill,.mt-employee-dashboard .mt-planned-pill{padding:8px}
 .mt-employee-dashboard .mt-planning-panel{padding:20px}
}
.mt-employee-dashboard [hidden]{display:none!important}

/* MeinTeamPro 4.7: request planner precedes calendar in reading and visual order. */
.mt-pro-logo{background:transparent;overflow:visible}
.mt-pro-logo img{position:static!important;width:100%!important;max-width:100%!important;height:100%!important;object-fit:contain;transform:none!important}
.mt-employee-dashboard .mt-employee-layout{grid-template-columns:minmax(0,1fr)}
.mt-employee-dashboard .mt-planning-panel{position:static;display:block;min-width:0}
.mt-employee-dashboard .mt-planning-help{display:none}
.mt-employee-dashboard .wpw-quick-range{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:end}
.mt-employee-dashboard .wpw-quick-range>label{grid-column:auto!important}
.mt-employee-dashboard .wpw-quick-range .wpw-range-reason-wrap{grid-column:1 / 3!important}
.mt-employee-dashboard .wpw-quick-range .wpw-mark-range{grid-column:3!important}
.mt-employee-dashboard .wpw-savebar{margin-top:20px!important}
@media(max-width:560px){
 .mt-employee-dashboard .wpw-quick-range{grid-template-columns:minmax(0,1fr)!important}
 .mt-employee-dashboard .wpw-quick-range>label,.mt-employee-dashboard .wpw-quick-range .wpw-range-reason-wrap,.mt-employee-dashboard .wpw-quick-range .wpw-mark-range{grid-column:1 / -1!important}
}

/* 4.8: collapsed multi-day editor, with review after the calendar. */
.mt-employee-dashboard .mt-planning-panel{padding:16px 20px}
.mt-employee-dashboard .wpw-quick-details>summary{margin-bottom:0;font-size:16px!important;min-height:36px!important}
.mt-employee-dashboard .wpw-quick-details[open]>summary{margin-bottom:10px}
.mt-employee-dashboard .mt-submit-panel{background:#fff;border:1px solid var(--emp-line);border-radius:18px;padding:18px 22px}
.mt-employee-dashboard .mt-submit-panel .wpw-savebar{margin-top:0!important}
.mt-employee-dashboard .mt-deadline-countdown{overflow-wrap:anywhere}

/* 4.9: planning context, save feedback and readable request status. */
.mt-employee-dashboard .mt-month-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px;font-size:13px;font-weight:600;color:#36596c}
.mt-save-feedback{font-size:12px;color:#526e7b;margin:0 0 10px;line-height:1.5}
.mt-save-feedback.is-dirty{color:#8b570e;background:#fff4db;border:1px solid #f1dcab;border-radius:10px;padding:10px 12px}
.mt-decision-overview{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
.mt-decision-overview:empty{display:none}
.mt-decision-overview span,.mt-day-decision{font-size:11px;padding:6px 9px;background:#edf3f7;color:#36596c;border-radius:8px}
.mt-decision-overview [data-status=approved],.mt-day-decision[data-status=approved]{background:#e7f4eb;color:#27633c}
.mt-decision-overview [data-status=rejected],.mt-day-decision[data-status=rejected]{background:#fdeceb;color:#9f3331}
.mt-day-manager-note{font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:#496371}
.mt-range-feedback{font-size:12px;color:#90601b;line-height:1.5;margin:12px 0 0}
.mt-range-feedback:empty{display:none}
.mt-employee-dashboard .mt-deadline-pill.is-urgent{color:#8a4b10;background:#fff0d8;border-color:#efca8e}
.mt-employee-dashboard .wpw-day[data-draft="1"]{border-style:dashed!important;border-color:#b28738!important}
@media(max-width:560px){
 .mt-employee-dashboard .wpw-day-edit{padding:8px 1px!important;align-items:center!important}
 .mt-employee-dashboard .wpw-daynum{align-self:center!important;font-size:12px!important}
 .mt-employee-dashboard .wpw-day-status{align-self:center!important;padding:3px 0!important;max-width:100%!important;background:transparent!important}
 .mt-employee-dashboard .wpw-day-status::after{font-size:8px!important;letter-spacing:-.25px}
}

/* 4.11: recoverable request errors and busy-state feedback. */
.mt-save-error{margin:12px 0;padding:12px 14px;border:1px solid #f0b9ae;border-radius:10px;background:#fff2ed;color:#8a3728;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.mt-save-error:focus{outline:2px solid #b65c40;outline-offset:2px}
.mt-employee-dashboard.mt-soft-loading::before{content:'Monat wird geladen …';display:block;margin-bottom:10px;color:#36596c;font-size:13px}
.mt-employee-dashboard.mt-soft-loading[data-lang=en]::before{content:'Loading month…'}

/* 4.14: readable transparent sidebar brand and welcoming portal login. */
.mt-sidebar .mt-pro-manager-brand .mt-pro-logo img{filter:brightness(0) invert(1)}
.mt-sidebar .mt-pro-manager-brand{width:100%;min-width:0}
.mt-sidebar .mt-pro-manager-brand .mt-pro-logo{max-width:100%;height:auto;aspect-ratio:2032/774}
.wpw-wrap.mt-auth-branded{box-sizing:border-box;max-width:100%!important;margin:0 auto!important;padding:48px 18px!important;background:linear-gradient(135deg,#eef6ff,#eef9f4);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#15354c}
.mt-auth-branded *{box-sizing:border-box}
.mt-auth-branded>.wpw-card{max-width:460px!important;margin:auto!important;padding:32px!important;background:#fff!important;border:1px solid #dce8ee!important;border-radius:22px!important;box-shadow:0 18px 65px #183c5410!important}
.mt-auth-branded .mt-pro-logo{width:210px;height:80px;margin:0 auto 26px}
.mt-auth-intro{text-align:center;margin-bottom:26px}
.mt-auth-intro>span{font-size:10px;letter-spacing:2px;color:#05879e;font-weight:700}
.mt-auth-branded .mt-auth-intro h1{font-size:28px;letter-spacing:-.8px;line-height:1.2;margin:10px 0;color:#15354c}
.mt-auth-intro p{font-size:14px;line-height:1.6;color:#678092;margin:0}
.mt-auth-branded form label{display:block;margin:0 0 7px;color:#355568;font-size:13px;font-weight:600}
.mt-auth-branded input:not([type=hidden]):not([type=checkbox]),.mt-auth-branded select{width:100%!important;min-width:0!important;min-height:48px!important;padding:11px 13px!important;border:1px solid #d7e3eb!important;border-radius:10px!important;background:#f8fafc!important;font-size:16px!important;color:#15354c!important;margin:0 0 16px!important}
.mt-auth-branded #mt-portal-login p{margin:0}
.mt-auth-branded input[type=submit],.mt-auth-branded button[type=submit]{width:100%!important;background:#087fab!important;border:0!important;color:#fff!important;border-radius:10px!important;min-height:48px!important;font-size:15px!important;font-weight:600!important;cursor:pointer}
.mt-forgot-password{display:block;text-align:center;color:#087fab;font-size:13px}
.mt-auth-session-note{font-size:11px;line-height:1.6;color:#718594;text-align:center;margin:20px 0}
.mt-auth-register{border-top:1px solid #e3ebef;padding-top:18px}
.mt-auth-register summary{cursor:pointer;font-size:13px;color:#42667b;line-height:1.5}
.mt-auth-register[open] summary{margin-bottom:20px}
@media(max-width:560px){.wpw-wrap.mt-auth-branded{padding:24px 12px!important}.mt-auth-branded>.wpw-card{padding:25px 22px!important}.mt-auth-branded .mt-auth-intro h1{font-size:25px}}
.mt-auth-branded #mt-portal-login input[type=submit]{background:#087fab!important;color:#fff!important;border-color:#087fab!important}
.mt-auth-branded #mt-portal-login input[type=submit]:hover{background:#05668b!important}
