
.personnel-balances{display:flex;flex-wrap:wrap;gap:.55rem}
.personnel-balances .balance-tile{box-sizing:border-box;flex:0 1 13.75rem;min-width:0;max-width:100%;border:1px solid #c6d2d9;border-radius:.5rem;padding:.65rem .8rem;text-align:left;background:#edf1f3;color:#19384c;line-height:1.35}
.personnel-balances .balance-tile strong,.personnel-balances .balance-tile span,.personnel-balances .balance-tile small{display:block;white-space:normal}
.personnel-balances .balance-tile strong{margin-bottom:.2rem}
.personnel-balances .balance-tile span{font-weight:500}
.personnel-balances .balance-plus{background:#d5eddb;border-color:#76aa82;color:#163d24}
.personnel-balances .balance-minus{background:#fff0bd;border-color:#d6b955;color:#513c00}
.personnel-balances .balance-tile:focus-visible{outline:3px solid #0064a3;outline-offset:2px}
@media(max-width:600px){.personnel-balances .balance-tile{flex:1 1 9rem}}

.journal-pdf-link{display:inline-block;background:#086ba7;color:white;border-radius:.55rem;font-weight:650;padding:.65rem 1rem;text-align:center;text-decoration:none}.journal-pdf-link[aria-disabled=true]{opacity:.5;pointer-events:none}.journal-pdf-link:focus-visible{outline:2px solid #123c5a;outline-offset:2px}

.personnel-card{max-width:70rem;background:white;border-radius:.75rem;padding:1rem 1.25rem;margin:1rem 0;color:#123c5a}
.personnel-card h2{margin:0 0 .65rem;font-size:1.13rem}
.personnel-bar,.personnel-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}
.personnel-bar h2{margin:0}.personnel-card details{border-top:1px solid #d5dee4}
.personnel-card summary{padding:.75rem .2rem;cursor:pointer;font-weight:650}
.personnel-case{display:grid;gap:.35rem;margin:0 0 1rem 1rem}
.personnel-actions{align-items:flex-end}.personnel-actions label{display:grid;gap:.2rem;min-width:0}
.personnel-actions input,.personnel-actions select{max-width:100%}.personnel-intervals>div+div{margin-top:.65rem}
.personnel-card .table-wrap td:last-child{white-space:pre-wrap;overflow-wrap:anywhere}
.desktop-return{display:none}html[data-wp-desktop] .desktop-return{display:block;background:transparent;color:inherit;font-size:11px;padding:5px 0;margin-top:8px}html[data-wp-desktop] .login-card .desktop-return{color:#305879}
.employee-shell{grid-template-columns:224px minmax(0,1fr);min-height:100vh;background:#e8e8e8}
.employee-shell .side{background:#123b56;padding:32px 20px 28px;color:white}
.employee-shell .brand{gap:12px;margin-bottom:32px}.employee-shell .employee-id{display:grid;gap:6px;font-size:16px}.employee-id small{font-size:12px;font-weight:400}.employee-shell .side nav{gap:16px}.employee-shell .side nav button{min-height:48px}.employee-shell .side nav .active{background:white;color:#123b56}
.employee-shell .side footer{border:none;margin-top:auto}.employee-shell .side footer .logout{display:inline-block}
.employee-content{min-width:0;padding:24px clamp(16px,3vw,54px) 36px}.employee-tabs,.employee-actions,.panel-heading,.period-switch{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.employee-tabs{margin-bottom:24px}.employee-tabs button,.employee-actions>button{min-width:142px}.employee-tabs .selected,.employee-clock button{background:#123b56;color:white}.employee-tabs .settings-gear{min-width:0;background:transparent;color:#486078;font-size:24px;padding:5px 12px}
.employee-metrics{display:grid;gap:10px}.time-metrics{grid-template-columns:repeat(4,minmax(0,1fr));max-width:1200px}.leave-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.employee-metric,.employee-panel{background:white;border:1px solid #d7e3e9;border-radius:13px;box-shadow:0 3px 9px #123c5a09}
.employee-metric{position:relative;padding:16px 20px;min-height:145px;display:flex;flex-direction:column;justify-content:space-between}
.employee-metric h2,.employee-panel h2{font-size:15px;margin:0;color:#123b56}.employee-metric strong{margin-top:26px;font-size:25px}.employee-metric small,.legend{color:#476477;font-size:11px}
.employee-actions{margin:28px 0}.employee-clock{display:flex;gap:10px}.employee-clock button{min-width:104px}.employee-actions .pending-leave{background:#a8e983;color:#123b38;display:grid;gap:4px;text-align:left;font-size:14px}
.employee-columns{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(355px,1.15fr);gap:12px;max-width:1000px}
.employee-panel{min-width:0;padding:20px;margin-bottom:14px}.panel-heading,.period-switch{justify-content:space-between}.period-switch{margin:12px 0;justify-content:flex-start}.period-switch button{padding:3px 11px;font-size:20px}.period-switch strong{font-size:13px}
.time-calendar .day{min-height:64px;display:flex;flex-direction:column;align-items:flex-end;border-radius:5px;padding:5px;font-size:11px}.time-calendar .day small{font-size:10px;align-self:flex-start}.time-calendar .present{background:#cceccb}.time-calendar .missing{background:#f8d9d8}.time-calendar .sick{background:#f5c8df}.time-calendar .holiday{background:#cbe1fb}.day.future{background:#f3f6f7}
.leave-scroll{--leave-row-height:27px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.leave-scroll table{border-collapse:separate;border-spacing:1px;width:max-content;min-width:100%;background:#e1e6ea}.leave-scroll td,.leave-scroll th{padding:4px 2px;border:0;background:white;text-align:center;min-width:22px;height:26px;font-size:11px;white-space:nowrap}
.leave-scroll th:first-child,.team-lines .person-name{position:sticky;left:0;z-index:1;background:#f6f8fa;text-align:left;padding:4px 10px}.team-lines thead tr:nth-child(2) th:first-child{position:static;padding:4px 2px;text-align:center}
.leave-scroll td.weekend,.leave-scroll th.weekend{background:#eff2f5}.leave-scroll td.no-day{background:#dce2e6}.leave-scroll td.day-booked{background:var(--leave-color)}.leave-scroll td.day-planned,.leave-scroll td.day-pending{background:repeating-linear-gradient(135deg,var(--leave-color),var(--leave-color) 3px,white 3px,white 6px)}
.team-lines .person-name{min-width:160px}.team-scroll{scrollbar-color:#809aaa #e3e9ed}.employee-panel .legend{display:block;margin-top:10px}.employee-actions output,.dialog output{font-weight:bold;color:#17663d}
@media(max-width:1050px){.employee-shell{grid-template-columns:175px minmax(0,1fr)}.employee-shell .side{padding:22px 13px}.employee-shell .brand-icon{width:48px}.employee-content{padding:20px 16px}.employee-columns{grid-template-columns:minmax(215px,.82fr) minmax(310px,1.18fr)}}
@media(max-width:700px){.employee-shell{display:block}.employee-shell .side{padding:12px 14px}.employee-shell .brand{margin:0}.employee-shell .side nav{gap:8px}.employee-shell .side footer{margin:0}.employee-shell .side nav button{min-height:36px}.employee-content{padding:18px 10px}.employee-tabs,.employee-actions{gap:7px}.employee-tabs button,.employee-actions>button{min-width:0}.employee-metric{min-height:94px;padding:12px 9px}.employee-metric h2{font-size:12px}.employee-metric strong{font-size:19px;margin-top:12px}.time-metrics{gap:5px;grid-template-columns:repeat(2,minmax(0,1fr))}.leave-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-columns{grid-template-columns:1fr}.employee-panel{padding:13px 9px}.employee-actions{margin:16px 0}.employee-clock button{min-width:64px}.time-calendar .day{min-height:48px}.team-lines .person-name{min-width:116px}.employee-shell .side footer button.logout{display:block}}
.team-lines{--name-column:160px}.team-lines .person-name{z-index:3}.team-lines .team-month{text-align:left}.team-month span{position:sticky;left:calc(var(--name-column) + 8px);padding:0 6px}
@media(max-width:700px){.team-lines{--name-column:116px}}
.time-calendar .daily-balance{font-weight:700;margin-top:3px;font-variant-numeric:tabular-nums}
.employee-journal{width:min(960px,96vw);max-width:96vw;max-height:90vh;overflow:auto;box-sizing:border-box}.employee-journal form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.employee-journal .table-wrap{max-height:56vh;overflow:auto}.employee-journal table{min-width:610px;width:100%;font-variant-numeric:tabular-nums}.employee-journal td,.employee-journal th{text-align:right;vertical-align:top;white-space:pre-line}.employee-journal th:first-child,.employee-journal td:first-child{text-align:left}.employee-journal thead th{position:sticky;top:0;background:#edf3f6;z-index:1}.journal-key{display:block;margin-top:7px;color:#365468}
.team-scroll{--leave-row-height:33px;overscroll-behavior:contain}.team-lines thead{position:sticky;top:0;z-index:4}.team-lines .person-name{white-space:nowrap}
.employee-clock{flex-direction:column}.employee-clock .row{gap:12px}.employee-clock button{background:#071b51;color:#fff}
.employee-tabs button:not(.settings-gear){min-width:156px}.employee-tabs .selected{background:#123b56}
.employee-shell .side nav button{background:transparent}.employee-shell .side nav .active{background:white}
.clock-permission{width:min(380px,94vw)}.clock-permission .error{color:#9c2832}.clock-permission .stack>button,.clock-permission>button{width:100%}
@media(min-width:701px) and (max-width:840px){.employee-columns{grid-template-columns:1fr}}
@media(max-width:700px){
 .employee-shell .side{position:static;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:12px 10px 2px;background:#e8e8e8;color:#123b56}
 .employee-shell .brand{gap:8px}.employee-shell .brand-icon{filter:none;width:36px;height:36px}.employee-shell .employee-id{gap:2px;font-size:14px}.employee-shell .employee-id small{font-size:11px}
 .employee-shell .side nav{order:0;width:auto}.employee-shell .side nav button,.employee-shell .side footer button.logout{background:transparent;color:#123b56;border:2px solid #123b56;padding:6px 8px;min-height:34px;font-size:12px}
 .employee-shell .side nav .active{background:#123b56;color:white}.employee-shell .side footer{padding:0}.employee-tabs button:not(.settings-gear){min-width:0;flex:1}.employee-content{padding-top:12px}
 .employee-actions .row{gap:6px}.employee-metric strong{white-space:nowrap;font-variant-numeric:tabular-nums}.time-calendar .day small{font-size:clamp(8px,2.25vw,10px)}
}
.employee-content .personal-banner{background:#123b56;color:white;border-radius:6px;padding:10px 15px;font-size:15px;font-weight:700;margin:0 0 8px}
.employee-menu{display:grid;gap:12px;width:50%;max-width:560px}.employee-menu>button{text-align:left;min-height:44px}.employee-menu>button:disabled{background:#d8dcdf;color:#53616a;opacity:1}.menu-heading{display:flex;align-items:center;justify-content:space-between}.menu-heading h1{font-size:20px}.menu-heading .settings-gear{color:#234861;background:transparent;font-size:22px}
.employee-clock button{background:#21733c;color:white}.employee-actions .employee-clock button:disabled{background:#668d70;opacity:.72}
.employee-columns{align-items:start}.messages-fold{padding:10px 14px}.messages-fold>summary{cursor:pointer;line-height:28px}.messages-fold>button{margin:8px 0}.unread-count{display:inline-block;margin-left:8px;background:#123b56;color:#fff;border-radius:20px;padding:0 7px;min-width:20px;text-align:center;line-height:20px;font-size:12px}
.employee-metric{justify-content:flex-start}.employee-metric small{margin-top:5px}.employee-metric strong{margin-top:auto;padding-top:10px}
.employee-journal [hidden]{display:none!important}.employee-journal .journal-summary td,.employee-journal .journal-heading td{background:#e8f0f3;font-weight:700}.employee-journal .journal-total td{background:#d8e6ec;font-weight:700}.employee-journal h3{margin:12px 0}.employee-journal form select{min-width:100px}
.leave-scroll{overflow-y:hidden}
.leave-track.has-scroll{padding-bottom:16px}
.leave-scroll td,.leave-scroll tbody .person-name,.leave-scroll .year-lines tr>th:first-child{box-sizing:border-box;height:var(--leave-row-height)}
.leave-scroll [data-today-column],.leave-scroll td[aria-current="date"]{outline:2px solid #086ba7;outline-offset:-2px}
@media(max-width:700px){.leave-scroll{--leave-row-height:24px}.team-scroll{--leave-row-height:27px}.leave-scroll.team-scroll tbody .person-name span{line-height:12px}}
.leave-scroll table{border-spacing:0;border-collapse:separate;table-layout:fixed;min-width:0}.leave-scroll td,.leave-scroll th{min-width:0;border:none;box-shadow:inset -1px -1px #dce5eb;padding:0;text-align:center;overflow:hidden}.leave-scroll .team-lines .person-name,.leave-scroll .year-lines th:first-child{min-width:0;padding:1px 3px}.team-lines tbody .person-name span{display:block;overflow:hidden;text-overflow:ellipsis;line-height:14px}.team-lines .team-month{text-align:left}.team-lines thead tr:nth-child(2) th:first-child{padding:0}
.leave-scroll .public-holiday{box-shadow:inset 0 -3px #ae811b,inset -1px -1px #dce5eb}.time-calendar .day.public-holiday{background:#faf0d2}.team-month span{position:sticky;left:var(--name-column)}
@media(max-width:900px){.leave-scroll td,.leave-scroll th{font-size:8px;letter-spacing:-.4px;font-variant-numeric:tabular-nums}.leave-scroll .team-month,.leave-scroll .person-name,.year-lines th:first-child{font-size:10px;letter-spacing:normal}.team-lines .person-name{white-space:normal}}
@media(max-width:700px){.employee-menu{width:50%}.employee-actions{flex-wrap:wrap;gap:6px}.employee-actions>.employee-clock{flex:0 1 auto}.employee-actions>button,.employee-clock button{padding:9px 10px}.employee-tabs{margin-bottom:14px}.employee-content .personal-banner{margin-top:1px}.messages-fold{margin-bottom:0}.leave-scroll th{font-size:clamp(6px,1.9vw,9px)}}
.profile-content{max-width:740px}.profile-content .employee-panel h2,.profile-content form h3{margin:8px 0 16px}.profile-content .employee-panel p{margin:8px 0 14px}.profile-content .employee-panel>strong{display:block;margin-bottom:8px}.profile-content form{margin-top:12px}.profile-content details{margin-top:14px}.profile-content details summary{cursor:pointer}.login-card .reset-link{display:block;background:transparent;color:#08699f;padding:4px 0;text-decoration:underline;font-size:13px;font-weight:500;margin:0 0 12px}
@media(max-width:700px){.employee-tabs button:not(.settings-gear){padding:9px 5px}}
.employee-content .menu-heading.personal-banner{margin-bottom:16px;padding:5px 15px;min-height:38px;box-sizing:border-box}
.menu-heading.personal-banner h1{font-size:15px;margin:0;color:white}
.menu-heading.personal-banner .settings-gear{color:white;line-height:1;padding:2px 6px}
.employee-content h1.personal-banner{margin-bottom:16px}
.team-lines tbody .person-name span{white-space:nowrap;max-width:100%}
.employee-content .employee-path{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;min-height:38px;box-sizing:border-box}
.employee-path h1,.employee-path button:not(.settings-gear){display:inline;margin:0;padding:0;color:white;background:transparent;font:inherit;line-height:1.35}
.employee-path button:not(.settings-gear):hover,.employee-path button:not(.settings-gear):focus-visible{text-decoration:underline}
.employee-path .settings-gear{margin-left:auto}.employee-path .path-divider{color:#cbdae4}
.employee-content .employee-path:not(.menu-heading){margin-bottom:16px}
.personnel-filters{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.personnel-card .table-wrap{overflow:auto;max-width:100%}.personnel-card h3{margin:18px 0 8px}.personnel-card .payout-hours{max-width:76px}.personnel-card .personnel-actions{align-items:flex-end;flex-wrap:wrap}.personnel-card .table-wrap td{vertical-align:middle}.personnel-card button[aria-pressed=true]{background:#123c5a;color:white}
.payroll-feedback{width:min(720px,94%);margin:2rem auto;color:#123c5a}.payroll-feedback header{display:flex;align-items:center;gap:20px;background:#123c5a;color:white;padding:16px 24px;border-radius:12px 12px 0 0}.payroll-feedback header img{width:64px;height:48px;object-fit:contain}.payroll-feedback section{background:white;padding:20px 24px;border-radius:0 0 12px 12px}.payroll-feedback fieldset{margin:12px 0;border:1px solid #c9d6de;border-radius:6px}.payroll-feedback fieldset label{display:inline-flex;align-items:center;gap:6px;margin:5px 12px 5px 0}.payroll-feedback input[type=checkbox]{width:20px;height:20px}.payroll-feedback [hidden]{display:none}
.personnel-calendar-dialog{width:min(90rem,96vw);max-width:96vw;max-height:92vh;overflow:auto}
.personnel-calendar-dialog .employee-panel{margin-bottom:0}
.personnel-card .closing-step{padding:0 .2rem;margin:.5rem 0}
.personnel-card .closing-step>summary{color:#123c5a;font-size:1rem}
.closing-step>div{padding:.15rem .5rem .85rem}
.closing-step .closing-total,.closing-step .closing-recipient{font-weight:650;margin:.7rem 0}
.closing-step .payout-hours[aria-invalid=true]{border:2px solid #aa3434}
.closing-step .personnel-actions{align-items:center;margin:.75rem 0}
.payroll-feedback #feedback-count{font-weight:650}
