/* Scoped workplace module: no employee data or credentials in browser storage. */
.wf-plan-history{margin:20px 0;color:var(--muted);font-size:11px;border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#f8faf9}.wf-plan-history summary{cursor:pointer;font-weight:600;color:var(--teal)}.wf-plan-history li{margin:10px 0;line-height:1.6}
.wf-access-note{margin-top:22px;padding:16px;border:1px solid var(--line);border-radius:11px;background:#f5f9f7}.wf-access-note p{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0}.wf-access-note small{font-size:11px;color:var(--teal);overflow-wrap:anywhere}
.wf-scope-note{font-size:11px;color:var(--muted);line-height:1.7;margin:-8px 0 18px}
.wf-day-open,.wf-employee-open{background:transparent;border:0;padding:3px 0!important;box-shadow:none!important;color:var(--teal);font-size:12px;text-align:left;font-weight:600;white-space:normal}.wf-day-open:hover,.wf-employee-open:hover{background:transparent;text-decoration:underline}.wf-day-row{cursor:pointer}.wf-day-row:hover{background:#f0f7f3}.wf-day-row details,.wf-day-row select,.wf-day-row input{cursor:auto}.wf-day-dialog{width:1000px;max-width:calc(100vw - 30px)}.wf-day-dialog .wf-dialogbody{max-height:70vh}.wf-day-caption{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.5}.wf-day-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:22px}.wf-day-records{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:0 0 20px}.wf-day-records>h3{margin:0;padding:14px 16px;border-bottom:1px solid var(--line);background:#f7faf8;font-size:12px}.wf-day-table-scroll{overflow:auto}.wf-day-table{min-width:760px}.wf-day-table td,.wf-day-table th{padding:12px 14px;font-size:11px}.wf-day-table th{font-size:9px}.wf-day-note{white-space:pre-wrap;overflow-wrap:anywhere;min-width:140px;max-width:240px;line-height:1.6}.wf-day-table .wf-inline-actions{margin:0;flex-wrap:wrap;min-width:105px}.wf-day-pauses{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:15px;background:#f4f8f5;border:1px solid #e2eae4;border-radius:12px}.wf-day-pauses>div{display:flex;flex-direction:column;gap:8px;min-width:0}.wf-day-pauses span{font-size:10px;color:var(--muted);line-height:1.5}.wf-day-pauses b{font-size:14px;color:#426d5b}.wf-day-auto{background:#fcf5e8;border:1px solid #eddfbf;border-radius:11px;padding:14px 16px;margin:13px 0;color:#8c662b;font-size:12px}.wf-day-auto p{font-size:11px;line-height:1.7;margin:7px 0 0}.wf-day-account{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;border-top:1px solid var(--line);padding:15px 0 0;color:var(--muted)}.wf-day-account b{font-size:15px;color:var(--teal)}@media(max-width:680px){.wf-day-stats,.wf-day-pauses{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-day-dialog .wf-dialogbody{padding:16px}.wf-day-dialog .wf-dialogfoot{flex-wrap:wrap;padding:14px 16px}.wf-day-dialog .wf-dialogfoot button.primary{flex:1}.wf-day-caption{font-size:10px}.wf-day-account{align-items:flex-start;flex-direction:column}.wf-day-table{min-width:710px}.wf-day-open{min-height:32px}.wf-day-table-scroll{-webkit-overflow-scrolling:touch}}
.wf-module{color:var(--ink);font:inherit;min-width:0}.wf-module button{white-space:normal}.wf-module button:disabled{opacity:.5;cursor:wait}.wf-module input:not([type=checkbox]),.wf-module select,.wf-module textarea{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;min-width:0}.wf-module textarea{resize:vertical;line-height:1.5}.wf-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px}.wf-field>span{color:var(--muted);font-size:11px}.wf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.wf-full{grid-column:1/-1}.wf-card{margin:0 0 20px;background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 4px 16px #183b2b03}.wf-cardhead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 20px;border-bottom:1px solid #edf1ef;flex-wrap:wrap}.wf-cardhead h2{font-size:15px}.wf-cardbody{padding:20px}.wf-auth-layout{display:grid;grid-template-columns:minmax(300px,1.15fr) minmax(240px,.8fr);gap:22px;max-width:1000px}.wf-auth-layout .wf-card{margin:0}.wf-intro{color:var(--muted);font-size:12px;line-height:1.7;margin:0 0 18px}.wf-auth-aside{padding:28px;border-radius:18px;background:#e9f3ee;color:#376657}.wf-auth-aside h2{margin:15px 0 9px;font-size:20px}.wf-auth-aside p{font-size:13px}.wf-symbol{display:inline-grid;place-items:center;width:48px;height:48px;background:white;border-radius:15px;font-size:28px;color:var(--teal)}.wf-privacy-note{border-top:1px solid #cbded2;padding-top:16px;margin-top:24px;font-size:12px;line-height:1.9}.wf-session{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edf4f0;border:1px solid #dce9e1;border-radius:12px;padding:12px 16px;margin-bottom:20px}.wf-session>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.wf-session b{font-size:12px}.wf-session>div>span:last-child{font-size:11px;color:var(--muted)}.wf-session-dot{width:7px;height:7px;border-radius:50%;background:#278264}.wf-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.wf-month-picker{display:flex;gap:6px;align-items:center}.wf-month-picker>label{width:175px}.wf-month-picker>button{width:34px;font-size:20px;padding:5px}.wf-person-picker{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--muted);flex:1;min-width:220px;max-width:400px}.wf-tabs{display:flex;gap:5px;flex-wrap:wrap;padding:5px;background:#edf1f0;border-radius:12px;margin-bottom:20px}.wf-tabs button{background:transparent;border:0;font-size:11px;color:var(--muted)}.wf-tabs button.active{background:white;color:var(--teal);box-shadow:0 2px 6px #273b3610}.wf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.wf-stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px;display:flex;flex-direction:column;gap:10px;min-width:0}.wf-stat>span{font-size:11px;color:var(--muted)}.wf-stat>strong{font-size:23px;letter-spacing:-.7px;color:#294e43;overflow-wrap:anywhere}.wf-stat>small,.wf-stat strong small{font-size:10px;font-weight:400;color:var(--muted);letter-spacing:0}.wf-leave-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.wf-table-scroll{overflow:auto;margin:-20px}.wf-time-table{min-width:780px}.wf-module th{font-size:9px;letter-spacing:.5px}.wf-module td{font-size:12px;vertical-align:top}.wf-module td small{font-size:10px;line-height:1.45;white-space:normal}.wf-holiday-row{background:#f3f7fa}.wf-pill{display:inline-flex;align-items:center;max-width:100%;padding:5px 8px;font-size:10px;font-weight:550;line-height:1.3;background:#eef2f2;color:#657d75;border-radius:7px;white-space:normal}.wf-approved{background:#e4f3e9;color:#287145}.wf-pending{background:#fbf1dd;color:#856020}.wf-rejected{background:#f9e8e5;color:#a33f44}.wf-withdrawn{background:#edf0f2;color:#6d7c85}.wf-subtle{font-size:10px;color:var(--muted)}.wf-warning-text{color:#a25d25}.wf-block-details{min-width:225px}.wf-block-details summary{color:var(--teal);cursor:pointer;font-size:11px;padding:4px 0}.wf-block-details[open]>div{margin-top:8px}.wf-time-block{padding:10px;background:#f5f8f6;border:1px solid #e3ebe6;border-radius:9px;margin:0 0 8px}.wf-time-block b{font-size:11px}.wf-time-block small{font-size:10px;overflow-wrap:anywhere}.wf-inline-actions{display:flex;gap:6px;margin-top:8px}.wf-inline-actions button{font-size:10px;padding:4px 7px}.wf-notes{margin:18px 0;font-size:12px;border:1px solid #ecdcc7;background:#fcf7ee;padding:14px 16px;border-radius:12px}.wf-notes summary{cursor:pointer;font-weight:600;color:#936527}.wf-notes p{font-size:11px;margin-bottom:0}.wf-request{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 0}.wf-request:first-child{padding-top:0}.wf-request:last-child{border:0;padding-bottom:0}.wf-request>div:first-child{flex:1;min-width:0}.wf-request b{font-size:12px}.wf-request small{display:block;color:var(--muted);font-size:11px;margin-top:6px;line-height:1.6}.wf-request-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:330px}.wf-private-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#f7f9f8;border-radius:8px;padding:10px 12px;margin:10px 0 0}.wf-calendar-legend{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.wf-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#e4ebe7;border:1px solid #e4ebe7;border-radius:12px;overflow:hidden}.wf-calendar-weekday{padding:10px;text-align:center;background:#f6f9f7;color:var(--muted);font-size:11px;font-weight:600}.wf-calendar-pad{background:#f5f7f6}.wf-calendar-day{min-height:108px;padding:10px 8px;background:white;min-width:0}.wf-calendar-day.is-holiday{background:#f0f5f8}.wf-calendar-date{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:7px;font-size:11px}.wf-calendar-date>span{font-size:8px;color:var(--teal)}.wf-calendar-holiday{display:block;color:#6b8395;font-size:9px;line-height:1.4;margin:0 0 7px;overflow-wrap:anywhere}.wf-calendar-leave{display:block;font-size:9px;padding:4px 5px;margin:4px 0;border-radius:5px;overflow-wrap:anywhere;line-height:1.3}.wf-planning-list{margin-top:18px}.wf-planning-row{display:grid;grid-template-columns:1fr 1.25fr .6fr .65fr;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px}.wf-planning-row:last-child{border:0}.wf-planning-row>b{overflow-wrap:anywhere}.wf-employee-settings{border:1px solid var(--line);border-radius:12px;background:white;margin:12px 0;overflow:hidden}.wf-employee-settings>summary{cursor:pointer;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f7faf8}.wf-employee-settings>summary>span:first-child{display:flex;flex-direction:column;gap:6px}.wf-employee-settings summary b{font-size:12px}.wf-employee-settings summary small{font-size:10px;color:var(--muted)}.wf-employee-settings-body{padding:18px}.wf-employee-settings-body>form+form{padding-top:24px;margin-top:24px;border-top:1px solid var(--line)}.wf-hours{border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin:20px 0 15px}.wf-hours legend{font-size:11px;color:var(--muted);padding:0 7px}.wf-hours .wf-field>span{font-size:10px}.wf-hours input{padding:9px!important}.wf-checkbox{display:flex;align-items:center;gap:8px;font-size:12px;margin:14px 0}.wf-checkbox input{width:16px;height:16px;margin:0}.wf-empty{padding:20px;color:var(--muted);font-size:12px;text-align:center;line-height:1.7}.wf-loading{padding:40px;background:#fff;border:1px solid var(--line);border-radius:14px;color:var(--muted);font-size:12px}.wf-feedback{padding:13px 16px;border-radius:10px;margin-bottom:15px;font-size:12px;line-height:1.6}.wf-error{background:#fbedeb;border:1px solid #efd6d2;color:#a23f43}.wf-form-error:not(:empty){background:#fbedeb;border:1px solid #efd6d2;color:#a23f43;font-size:12px;padding:12px;border-radius:9px;margin:14px 0;line-height:1.6}.wf-dialog{width:650px;max-width:calc(100vw - 30px);padding:0;border:0;border-radius:18px}.wf-dialoghead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px;border-bottom:1px solid var(--line)}.wf-dialogbody{padding:20px 22px;max-height:65vh;overflow:auto}.wf-dialogfoot{padding:16px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}.wf-dialog .wf-dialoghead>button{font-size:20px;padding:3px 10px;border:0;background:#f0f4f2}.wf-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1050px){.wf-hours{grid-template-columns:repeat(4,minmax(0,1fr))}.wf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-leave-stats .wf-stat:last-child{grid-column:1/-1}.wf-calendar-day{min-height:95px;padding:8px 5px}}@media(max-width:680px){.wf-auth-layout{grid-template-columns:1fr}.wf-auth-aside{padding:22px}.wf-form-grid{grid-template-columns:1fr}.wf-full{grid-column:auto}.wf-cardhead{padding:16px}.wf-cardbody{padding:16px}.wf-table-scroll{margin:-16px}.wf-stats{gap:9px}.wf-stat{padding:13px}.wf-stat>strong{font-size:21px}.wf-request{flex-direction:column}.wf-request-actions{justify-content:flex-start;max-width:none}.wf-calendar-day{min-height:80px;padding:7px 4px}.wf-calendar-leave{font-size:8px;padding:3px}.wf-calendar-holiday{font-size:8px}.wf-calendar-date>span{display:none}.wf-planning-row{grid-template-columns:1fr 1fr}.wf-hours{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-session{align-items:flex-start}.wf-person-picker{max-width:none;width:100%}.wf-employee-settings-body{padding:15px}.wf-tabs button{flex:1 0 auto}.wf-auth-layout .wf-form-grid{margin-bottom:18px}}@media print{.wf-module button,.wf-session,.wf-tabs,.wf-toolbar{display:none!important}.wf-time-table{min-width:0}.wf-card{box-shadow:none;break-inside:avoid}.wf-calendar-day{min-height:90px}}
/* The day detail has its own width; keep all actions visible on short screens. */
#wfDialog.wf-day-dialog{width:1000px;max-width:calc(100vw - 30px)}
#wfDialog.wf-day-dialog[open]{display:flex;flex-direction:column}
@media(max-width:680px){
  .wf-day-table{min-width:0;width:100%}
  .wf-day-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .wf-day-table tbody{display:grid;gap:12px;padding:12px}
  .wf-day-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;padding:8px;background:white}
  .wf-day-table td{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:100%;padding:8px;border:0;white-space:normal}
  .wf-day-table td:before{font-size:10px;color:var(--muted)}
  .wf-day-table td:nth-child(1):before{content:'Beginn'}
  .wf-day-table td:nth-child(2):before{content:'Ende'}
  .wf-day-table td:nth-child(3):before{content:'Brutto'}
  .wf-day-table td:nth-child(4):before{content:'Manuelle Pause'}
  .wf-day-table td:nth-child(5):before{content:'Netto'}
  .wf-day-table td:nth-child(6):before{content:'Notiz'}
  .wf-day-table td:nth-child(6),.wf-day-table td:nth-child(7){grid-column:1/-1}
  .wf-day-table .wf-day-note{min-width:0;max-width:100%}
  .wf-day-table .wf-inline-actions{justify-content:flex-start;gap:8px}
}

/* Time clock and private monthly review */
.wf-top-clock{border:1px solid #cad8d5;border-radius:10px;padding:8px 12px;font:inherit;font-size:12px;white-space:nowrap;background:#f6faf8;color:#254b43}.wf-top-clock.is-running{background:#e5f4eb;color:#1d6745;border-color:#a4d4b6}.wf-review-status{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.wf-evidence{display:block;color:#596d76;font-size:11px;line-height:1.5;max-width:440px;margin-top:6px;overflow-wrap:anywhere}.wf-audit-entry{padding:16px 0;border-bottom:1px solid #e7ecec}.wf-audit-entry small{display:block;color:#62757e;margin:5px 0}.wf-audit-entry p{margin:5px 0;font-size:13px;overflow-wrap:anywhere}.wf-day-note .wf-evidence{min-width:170px}.wf-module .wf-inline-actions{flex-wrap:wrap}@media(max-width:700px){.wf-top-clock{padding:6px 8px;font-size:11px}.profile{flex-wrap:wrap}.wf-review-status{gap:8px}}
/* Small team presence beside the clock; working-time details stay private. */
.wf-presence{display:flex;align-items:center;gap:7px;padding:4px 7px;border:1px solid #b9d8ca;border-radius:11px;background:#f1f8f4;flex-shrink:0}.wf-presence[hidden]{display:none}.wf-presence-label{font-size:10px;font-weight:600;color:#3b6552;white-space:nowrap}.wf-presence-avatars{display:flex;gap:4px;max-width:148px;overflow:auto;scrollbar-width:thin}.wf-presence-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#d8eddf;border:1px solid #7fb495;color:#185337;font-size:10px;font-weight:750}.profile .avatar.wf-self-present{box-shadow:0 0 0 2px #54a974;background:#d8eddf}.wf-activity-row{display:grid;grid-template-columns:75px minmax(0,1fr);gap:16px;padding:15px 0;border-bottom:1px solid #e7ecec}.wf-activity-row time{font-size:12px;color:#526b71;font-variant-numeric:tabular-nums}.wf-activity-row small{display:block;color:#667a80;margin-top:5px}.wf-activity-row p{margin:5px 0 0;font-size:13px;white-space:pre-line;overflow-wrap:anywhere}.wf-month-picker>.wf-field{margin:0}.wf-month-picker>.wf-field>span{font-size:11px}@media(max-width:760px){.wf-presence{gap:4px;padding:3px 5px}.wf-presence-avatars{max-width:100px}.wf-presence-avatar{width:23px;height:23px;flex-basis:23px;font-size:9px}.wf-presence-label{font-size:9px}.wf-activity-row{grid-template-columns:60px minmax(0,1fr);gap:10px}}
@media(max-width:700px){
  /* A tappable search icon expands over the header while typing. */
  .topbar:has(#wfPresence:not([hidden])) .searchbox{flex:0 0 34px;min-width:34px;height:34px;position:relative;padding:0;justify-content:center}
  .topbar:has(#wfPresence:not([hidden])) .searchbox input{position:absolute;inset:0;width:100%;height:100%;opacity:0;padding:0;cursor:text}
  .topbar:has(#wfPresence:not([hidden])) .searchbox:focus-within{position:absolute;left:56px;right:12px;top:10px;width:auto;z-index:25;padding:0 10px;background:#fff}
  .topbar:has(#wfPresence:not([hidden])) .searchbox:focus-within>span{display:none}
  .topbar:has(#wfPresence:not([hidden])) .searchbox:focus-within input{position:static;opacity:1;width:100%;padding:8px 0}
  .topbar .profile{row-gap:3px;column-gap:5px}
}

/* Owner preferences share the normal session; hidden clocks stay hidden. */
#wfTopClock[hidden]{display:none!important}
.wf-employee-settings-body>form+form{margin-top:24px;padding-top:20px;border-top:1px solid var(--line,#e0e6e9)}
.wf-plan-history li{padding:10px 0}.wf-plan-history li small{display:block;margin:5px 0;color:var(--muted,#617078);line-height:1.6}

.wf-leave-refund{color:#28664a;background:#e8f4eb;padding:8px;border-radius:8px;margin-top:8px;display:block}.wf-employee-priority,.wf-approval-link{color:#a33132!important;background:#fff0ed!important;border:1px solid #e9c6bc!important}.wf-stat-employee{border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:16px}.wf-stat-employee summary{display:flex;justify-content:space-between;gap:16px;cursor:pointer}.wf-stat-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.wf-stat-metrics small{display:block;color:var(--muted);margin-bottom:5px}.wf-stat-areas>div{display:grid;grid-template-columns:minmax(90px,1fr) 2fr 36px;gap:16px;align-items:center;margin:10px 0}.wf-stat-areas meter{width:100%;accent-color:var(--teal)}@media(max-width:650px){.wf-stat-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-stat-areas>div{gap:8px}}

.wf-calendar-sick,.wf-calendar-absence{background:#f1eafa;color:#685087;border-left:2px solid #9a80b8}.wf-calendar-overtime{background:#e7f0fb;color:#355b85;border-left:2px solid #7fa2ca}
