@charset "UTF-8";
:root{color-scheme:light;--ink:#142d4c;--text:#263f5c;--muted:#64748a;--blue:#2453cc;--blue-hover:#1942ac;--blue-wash:#eef3ff;--yellow:#f3d452;--canvas:#f5f7fa;--paper:#fff;--line:#dde4ed;--green:#25664d;--green-wash:#e8f3ec;--maroon:#85465b;--maroon-wash:#fbf1f4;--amber:#7a571c;--amber-wash:#fff6e5;--radius:16px;--shadow:0 3px 16px rgb(27 51 81 / 4%);font-family:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:17px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--text);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #6489ee;outline-offset:3px}a{color:var(--blue)}button .icon{flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink);font-weight:650;line-height:1.2;letter-spacing:-.025em}h1{font-size:clamp(30px,3.5vw,42px)}h2{font-size:26px}h3{font-size:20px}p+p{margin-top:12px}strong{font-weight:650}svg{vertical-align:middle}.icon{flex-shrink:0}input,select,textarea{max-width:100%}[hidden]{display:none!important}.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}.skip-link{position:absolute;top:-100px;left:20px;z-index:1000;background:#fff;padding:12px}.skip-link:focus{top:10px}
.app-header{background:var(--paper);border-bottom:1px solid var(--line)}.app-header-inner{max-width:1248px;margin:auto;min-height:98px;padding:18px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink)}.brand-tag{width:44px;height:50px;border-radius:8px 8px 16px 8px;background:var(--yellow);display:grid;place-items:center;font-size:36px;font-weight:750;line-height:1;letter-spacing:-5px;padding-right:5px}.brand-wordmark{font-size:24px;font-weight:730;line-height:1;letter-spacing:-.035em}.brand-wordmark span{display:block;font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:600;margin-top:7px}.header-end{display:flex;align-items:center;gap:16px}.shop-label{font-size:14px;color:var(--muted);border-right:1px solid var(--line);padding-right:20px}.main-container{max-width:1168px;margin:0 auto;padding:48px 0 32px;min-height:65vh}.app-footer{max-width:1168px;margin:0 auto;padding:22px 0 28px;display:flex;gap:16px;justify-content:space-between;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}
.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:50px;padding:11px 20px;border-radius:10px;border:1px solid transparent;line-height:1.35;font-size:15px;font-weight:600;text-decoration:none;transition:background-color .14s,color .14s,border-color .14s,transform .14s;max-width:100%;text-align:center}.btn-primary{background:var(--blue);color:white;box-shadow:0 1px 2px #142d4c10}.btn-secondary{background:white;color:var(--ink);border-color:#ccd7e5}.btn-ghost{background:transparent;color:var(--muted);border-color:transparent}.btn-danger{background:#fff7f8;color:#984252;border-color:#e9cdd3}.btn-small{min-height:38px;padding:8px 13px;font-size:13px}.btn-icon{width:44px;height:44px;min-height:44px;padding:10px;flex-shrink:0}.btn:disabled{background:#edf0f4!important;color:#7a899b!important;border-color:#dce2e9;box-shadow:none}.btn:active:not(:disabled){transform:translateY(1px)}@media(hover:hover){.btn-primary:hover:not(:disabled){background:var(--blue-hover)}.btn-secondary:hover:not(:disabled){background:#f6f8fc;border-color:#a5b7cf}.btn-ghost:hover:not(:disabled){background:#edf2fa;color:var(--ink)}.btn-danger:hover:not(:disabled){background:#fce9ee}}
.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted);font-weight:600;margin-bottom:11px}.muted{color:var(--muted);font-size:14px}.note{color:var(--muted);font-size:14px;line-height:1.55}.timesheet-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:31px}.today-date{font-size:17px;color:var(--muted);margin-top:10px}.daily-progress{width:175px;margin-bottom:6px;font-size:14px;color:var(--muted)}.daily-progress strong{color:var(--ink)}.progress-track{height:5px;background:#e3e9f2;border-radius:10px;overflow:hidden;margin-top:10px}.progress-track span{height:100%;display:block;background:var(--blue);border-radius:10px;transition:width .25s ease-out}.timesheet-panel{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.timesheet-column-head,.timesheet-row{display:grid;grid-template-columns:minmax(190px,1.05fr) minmax(230px,1.2fr) minmax(95px,.55fr) 165px;gap:20px;align-items:center;padding:0 28px}.timesheet-column-head{background:#fafbfd;min-height:43px;font-size:11px;text-transform:uppercase;font-weight:600;letter-spacing:.085em;color:#718197;border-bottom:1px solid #e9edf3}.timesheet-column-head span:last-child{text-align:center}.timesheet-row{min-height:111px;border-bottom:1px solid #e8edf3;transition:background-color .28s ease-out}.timesheet-row:last-child{border-bottom:0}.employee-identity{display:flex;align-items:center;gap:15px;min-width:0}.employee-name{font-size:23px;letter-spacing:-.03em;font-weight:600;overflow-wrap:anywhere;color:var(--ink)}.employee-shift{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.shift-time{font-size:16px;font-variant-numeric:tabular-nums;color:var(--text);white-space:nowrap}.shift-dash{color:#a0acbb;margin:0 3px}.inline-edit{border:0;background:transparent;color:#526f98;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:4px 0;min-height:25px}.inline-edit:hover{color:var(--blue);text-decoration:underline}.employee-hours{font-size:15px;color:#63768c;font-variant-numeric:tabular-nums}.confirm-button{width:100%;height:52px;border:1px solid var(--blue);border-radius:10px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:600;box-shadow:0 2px 3px #2453cc18;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .14s}.confirm-button:active:not(:disabled){transform:translateY(2px)}.confirm-button:hover:not(.is-signed):not(:disabled){background:var(--blue-hover)}.confirm-button.is-signed{background:var(--green-wash);border-color:#cfe3d6;color:var(--green);box-shadow:inset 0 1px 2px #2861470a}.confirm-button:disabled:not(.is-signed){background:#edf0f4;color:#7a899b;border-color:var(--line)}.just-confirmed .confirm-button{animation:confirmation-settle .65s ease-out}.just-confirmed{animation:row-settle .9s ease-out}@keyframes confirmation-settle{0%{background:#358064;color:#fff;transform:scale(.97)}45%{background:#358064;color:#fff;transform:scale(1.025)}100%{background:var(--green-wash);color:var(--green);transform:scale(1)}}@keyframes row-settle{0%{background:#edf8f0}100%{background:white}}.no-shift{font-size:15px;color:var(--muted)}.timesheet-bottom{border-top:1px solid var(--line);padding:18px 24px;display:flex;gap:20px;align-items:center;background:#fcfdfe}.timesheet-bottom>span{font-size:13px;color:#728196}.add-shift-button{color:var(--blue);padding-left:5px}.timesheet-help{display:flex;justify-content:space-between;gap:20px;font-size:13px;color:var(--muted);padding:23px 4px}.timesheet-help>span{display:flex;align-items:center;gap:7px}
.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}.page-heading h1+p{color:var(--muted);margin-top:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}.stack{display:flex;flex-direction:column;gap:14px}.split{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field label,.time-field>label{font-size:14px;color:var(--text);font-weight:600}.field input,.field select,.field textarea,input[type=date],input[type=time],select,textarea{border:1px solid #c8d4e3;border-radius:9px;background:#fff;color:var(--ink);min-height:50px;padding:11px 12px;font-size:16px;max-width:100%;min-width:0}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6083df}.field input:disabled,.field select:disabled,input:disabled,textarea:disabled{background:#f2f4f7;color:#6d7e93;cursor:not-allowed}.field textarea{resize:vertical;min-height:94px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-actions{display:flex;justify-content:flex-end;gap:12px;align-items:center;flex-wrap:wrap;margin-top:24px}.form-error{color:#a2384d;font-size:14px;line-height:1.5;margin-top:10px}.form-error:empty{display:none}.inline-alert{background:var(--amber-wash);border:1px solid #eadcbd;color:#795a24;padding:15px 20px;border-radius:12px;font-size:14px;display:flex;align-items:flex-start;gap:10px;margin-bottom:20px}.empty-state{padding:46px 24px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:12px;color:var(--muted)}.empty-state h2,.empty-state h3{font-size:22px}.empty-state p{font-size:15px;max-width:460px}.status-pill{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border-radius:6px;font-size:11px;font-weight:600;line-height:1.5;white-space:normal;width:fit-content}.is-confirmed{color:var(--green);background:var(--green-wash)}.is-warning{color:var(--amber);background:var(--amber-wash)}.is-unconfirmed{color:var(--maroon);background:#f7e8ee}.is-planned,.is-neutral{color:#64748c;background:#f0f3f8}.is-leave{color:#61558b;background:#f0edf9}.hours{font-variant-numeric:tabular-nums;font-weight:600}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}th,td{padding:13px 12px;border-bottom:1px solid var(--line)}th{font-size:12px;color:var(--muted);font-weight:600;background:#f8fafc}td{vertical-align:top}table caption{text-align:left;font-weight:600;padding:0 0 14px}
dialog{border:1px solid #d9e2ee;border-radius:22px;background:#fff;color:var(--text);padding:0;box-shadow:0 24px 90px #102d5038;max-width:calc(100vw - 32px)}dialog::backdrop{background:#122b4e65;backdrop-filter:blur(3px)}dialog[open]{animation:dialog-enter .2s ease-out}@keyframes dialog-enter{from{opacity:0;transform:translateY(16px) scale(.995)}to{opacity:1;transform:translateY(0) scale(1)}}.employee-dialog{width:1160px;height:calc(100dvh - 52px);max-height:1100px;overflow:hidden}.employee-dialog-shell{height:100%;display:flex;flex-direction:column;min-height:0}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:27px 32px;border-bottom:1px solid var(--line);flex-shrink:0;background:white}.dialog-header h2{font-size:30px}.dialog-header .eyebrow{margin-bottom:6px}.dialog-header .muted{margin-top:6px}.dialog-done{min-width:110px}.employee-dialog-body{overflow-y:auto;overscroll-behavior:contain;padding:24px 30px 30px;background:#f7f9fc;flex:1;min-height:0}.employee-history-list{display:flex;flex-direction:column;gap:15px}.history-shift{background:white;border:1px solid #dce4ef;border-radius:14px;padding:20px 23px}.history-unconfirmed{background:var(--maroon-wash);border-color:#ead7df}.history-not-worked{border-color:#e8dcc3}.history-shift-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.history-shift-heading>div{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.history-weekday{font-weight:650;color:var(--ink);font-size:17px}.history-hours{color:var(--muted);font-size:13px;white-space:nowrap}.history-fields{display:grid;grid-template-columns:200px 1fr;gap:26px}.history-times{min-width:0}.time-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.time-field{min-width:0;display:flex;flex-direction:column;gap:8px}.time-input-row{display:flex;align-items:center;gap:7px}.time-input-row input{width:100%;min-width:0;padding-right:5px}.time-nudges{display:flex;gap:3px;flex-shrink:0}.time-nudges button{border:1px solid #d4dfeb;border-radius:7px;color:#536f92;background:#fff;min-height:43px;min-width:37px;font-size:12px;font-weight:600;padding:4px}.time-nudges button:hover:not(:disabled){background:var(--blue-wash)}.time-nudges button:disabled{color:#9aa7b8;background:#f5f7fa}.history-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:17px}.history-actions .btn{min-height:43px;font-size:13px;padding:9px 15px}.didnt-work-button{color:var(--maroon);border-color:#dcc1cd;background:#fff8fa}.not-worked-note{font-size:13px;color:#7a633b;max-width:350px}.planned-note,.managed-note{font-size:14px;color:var(--muted);margin-top:12px}.editor-add-section{margin-top:20px}.add-shift-form{padding:24px;border:1px dashed #aebed6;border-radius:14px;background:white}.add-shift-form>.field{max-width:240px;margin-bottom:20px}.dialog-footer{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:#748398;padding:16px 30px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}.dialog-footer span{display:flex;align-items:center;gap:8px}.add-dialog{width:620px}.add-dialog-body{padding:28px 32px;display:flex;flex-direction:column;gap:20px}.add-dialog-footer{padding:20px 32px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.add-dialog .time-input-row{flex-wrap:wrap}.add-dialog .time-nudges{width:100%}.add-dialog .time-nudges button{flex:1;min-height:38px}.toast-region{position:fixed;bottom:28px;left:50%;transform:translate(-50%,15px);z-index:100;display:flex;align-items:center;gap:11px;pointer-events:none;background:#183c30;color:white;border:1px solid #436d5c;padding:16px 22px;border-radius:12px;box-shadow:0 5px 22px #12322622;font-size:14px;max-width:calc(100vw - 36px);width:max-content;opacity:0;transition:opacity .17s,transform .17s}.toast-region.is-visible{opacity:1;transform:translate(-50%,0)}.toast-region.toast-error{background:#783a4d;border-color:#aa6177}.toast-region.toast-info{background:var(--ink);border-color:#385b83}
.manager-nav{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:28px}.manager-nav .btn{min-height:39px;font-size:13px}.manager-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.manager-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:15px;margin-bottom:22px}.manager-summary-grid .panel{padding:20px}.manager-summary-grid strong{font-size:27px;color:var(--ink)}.manager-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.manager-payroll-table{font-size:13px}.manager-payroll-table th,.manager-payroll-table td{padding:12px 10px}.manager-payroll-table tbody tr:last-child td{border-bottom:0}
@media(min-width:1600px){.main-container{padding-top:58px}}
@media(max-width:1240px){.main-container,.app-footer{margin-left:36px;margin-right:36px}.timesheet-column-head,.timesheet-row{grid-template-columns:minmax(150px,1fr) minmax(205px,1.15fr) 80px 153px;gap:15px;padding-left:24px;padding-right:24px}.employee-name{font-size:22px}.employee-identity{gap:12px}.manager-week-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:960px){.main-container,.app-footer{margin-left:24px;margin-right:24px}.app-header-inner{padding-left:24px;padding-right:24px}.timesheet-column-head,.timesheet-row{grid-template-columns:minmax(145px,1fr) minmax(210px,1fr) 145px}.employee-hours,.timesheet-column-head span:nth-child(3){display:none}.timesheet-column-head span:last-child{display:block}.timesheet-intro{margin-bottom:26px}.history-fields{grid-template-columns:155px 1fr;gap:18px}.time-input-row{flex-wrap:wrap}.time-nudges{width:100%}.time-nudges button{flex:1;min-height:36px}.manager-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.main-container{padding-top:29px}.app-header-inner{min-height:86px}.header-end{gap:6px}.shop-label{display:none}.brand-wordmark{font-size:22px}.brand-tag{width:37px;height:44px;font-size:31px}.brand-wordmark span{font-size:9px}.daily-progress{width:132px;font-size:12px}.timesheet-intro{align-items:flex-start;gap:16px}.timesheet-intro .eyebrow{font-size:10px}.timesheet-intro h1{font-size:29px;max-width:290px}.today-date{font-size:14px}.timesheet-column-head{display:none}.timesheet-row{grid-template-columns:1fr 145px;gap:7px 12px;padding:22px 18px;min-height:130px}.employee-identity{grid-column:1;grid-row:1}.employee-shift{grid-column:1;grid-row:2;margin-left:0;flex-direction:column}.employee-sign{grid-column:2;grid-row:1/3}.employee-name{font-size:21px}.shift-time{font-size:13px}.inline-edit{font-size:12px;min-height:29px}.timesheet-bottom{align-items:flex-start;flex-direction:column;gap:2px;padding:14px 18px}.timesheet-bottom>span{font-size:12px;margin-left:5px}.timesheet-help{flex-direction:column;gap:10px}.app-footer{flex-direction:column;gap:7px;font-size:11px}.confirm-button{height:52px;font-size:14px;gap:7px}.page-heading{flex-direction:column;gap:18px}.page-heading h1{font-size:30px}.panel{padding:22px}.field-grid{grid-template-columns:1fr}.manager-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-profile-grid{grid-template-columns:1fr}.employee-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:calc(100dvh - 24px);border-radius:16px}.dialog-header{padding:20px}.dialog-header h2{font-size:26px}.dialog-header .eyebrow{font-size:10px}.dialog-header .muted{font-size:12px}.dialog-done{min-width:86px;min-height:43px;font-size:13px;padding:9px 12px}.employee-dialog-body{padding:18px 16px}.history-shift{padding:17px}.history-shift-heading{align-items:flex-start;margin-bottom:15px}.history-shift-heading>div{flex-direction:column;align-items:flex-start;gap:7px}.history-weekday{font-size:16px}.history-hours{font-size:12px}.history-fields{grid-template-columns:1fr;gap:16px}.history-date{max-width:none}.history-actions{gap:12px;flex-wrap:wrap;margin-top:16px}.history-actions>.btn{flex:1;min-width:130px;font-size:12px}.history-actions>.muted,.not-worked-note{width:100%;font-size:12px}.dialog-footer{padding:13px 19px;font-size:10px;gap:8px}.time-field>label{font-size:13px}.time-pair{gap:12px}.time-input-row input{font-size:15px}.time-nudges button{min-height:38px}.add-dialog{max-width:calc(100vw - 24px);border-radius:16px}.add-dialog-body{padding:22px;gap:18px}.add-dialog-footer{padding:18px 22px}}
@media(max-width:400px){.main-container,.app-footer{margin-left:14px;margin-right:14px}.app-header-inner{padding-left:14px;padding-right:14px}.header-end .btn-small{font-size:11px;padding:7px 10px}.brand{gap:8px}.brand-wordmark{font-size:19px}.brand-wordmark span{font-size:8px}.brand-tag{width:33px;height:40px;font-size:28px}.header-end .btn-icon{width:36px;padding:8px}.timesheet-intro{flex-direction:column;gap:15px}.daily-progress{display:flex;align-items:center;gap:12px;width:100%;margin:0}.daily-progress .progress-track{flex:1;margin:0;max-width:120px}.timesheet-row{grid-template-columns:minmax(0,1fr) 118px;padding:19px 14px;gap:8px}.employee-name{font-size:20px}.confirm-button{font-size:12px;gap:5px}.confirm-button .icon{width:20px}.shift-time{font-size:11.5px}.shift-dash{margin:0}.timesheet-panel{border-radius:14px}.manager-week-grid{grid-template-columns:1fr}.dialog-header{padding:17px}.history-shift{padding:14px}.history-weekday{font-size:15px}.history-hours{font-size:11px}.time-input-row input{font-size:14px;padding-left:8px}}
.dialog-status{display:flex;align-items:center;gap:10px;padding:12px 24px;font-size:14px;background:var(--green-wash);color:var(--green);border-bottom:1px solid #cde0d4;flex-shrink:0}
/* Manager task and form layouts use the same controls as the tablet. */
h4{margin:0;font-size:16px;font-weight:650;line-height:1.3;color:var(--ink)}






.manager-nav [aria-current=page]{color:var(--blue);background:var(--blue-wash)}
.manager-edit-form{max-width:860px}.manager-fieldset{border:0;border-top:1px solid var(--line);margin:12px 0 0;padding:22px 0 0;min-width:0}
.manager-fieldset>legend{font-size:17px;font-weight:600;color:var(--ink);padding:0 10px 0 0}
.manager-week-navigation{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:28px}.manager-week-navigation>div{text-align:center}.manager-week-navigation h2{font-size:24px}
.manager-summary-grid{padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:18px;margin:0 0 26px}.manager-summary-grid>div{display:flex;flex-direction:column;gap:5px}.manager-summary-grid strong{font-size:25px}
.manager-roster-legend{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.manager-day{min-width:0;background:#ecf1f7;border-radius:12px;padding:10px}.manager-day>header{padding:8px 4px 16px}.manager-day>header h3{font-size:16px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.manager-day>header .muted{margin-top:6px}.manager-day.is-today{background:#e6edfc;box-shadow:inset 0 0 0 1px #bfd0f1}.manager-today-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--blue)}
.manager-empty-day{padding:16px 4px}
.manager-just-saved{border:2px solid var(--blue);background:#f6f9ff}.manager-bottom-note{margin-top:24px;max-width:850px}

[data-manager-view]>section.panel+section.panel{margin-top:24px}.manager-details{border-top:1px solid var(--line);padding-top:16px}.manager-details>summary{cursor:pointer;color:var(--blue);font-weight:600;font-size:14px;min-height:44px;padding:9px 0}.manager-details .table-wrap{margin-top:15px}.manager-lock-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;border-top:1px solid var(--line);margin-top:14px;padding-top:25px}.manager-lock-row>div{flex:1;min-width:220px}.manager-lock-row p{margin-top:9px}.manager-table-note{display:block;max-width:240px;min-width:140px;white-space:normal;overflow-wrap:anywhere;font-size:12px;font-weight:400;margin-top:7px}.manager-payroll-table{white-space:nowrap}.manager-payroll-table tfoot{font-weight:650}.manager-payroll-table tfoot td{background:#f8fafc}
.manager-profile-grid{grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);align-items:start}.manager-profile-list{display:flex;flex-direction:column;gap:4px}.manager-profile-button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;border:1px solid transparent;background:transparent;padding:13px 14px;border-radius:9px;color:var(--ink);min-height:64px}.manager-profile-button:hover{background:#f5f8fc}.manager-profile-button.is-selected{background:var(--blue-wash);border-color:#c9d8fc;color:var(--blue)}.manager-profile-button>span:first-child{font-weight:600}.manager-profile-button .muted{font-size:13px}.manager-schedule-row{display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:end;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}.manager-day-checkbox{display:flex;align-items:center;gap:8px;min-height:50px;font-size:14px;cursor:pointer}.manager-day-checkbox input{width:20px;height:20px;accent-color:var(--blue);margin:0;flex-shrink:0}.manager-schedule-row .field{gap:5px}.manager-schedule-row input[type=time]{padding:10px 8px;font-size:15px}
/* Correction controls keep a full touch target, even when the label is quiet. */
.inline-edit{min-width:64px;min-height:44px;padding:8px 5px;margin-left:-5px;font-size:14px}.time-nudges button,.history-actions .btn,.dialog-done{min-height:44px}.time-nudges button{min-width:44px}.employee-shift{gap:0}.shift-time{font-size:16px}.timesheet-row{min-height:98px}
@media(min-width:721px) and (max-height:850px){body[data-view=tablet] .app-header-inner{min-height:78px;padding-top:12px;padding-bottom:12px}body[data-view=tablet] .main-container{padding-top:26px}.timesheet-intro{margin-bottom:23px}.timesheet-intro .eyebrow{margin-bottom:6px}.timesheet-row{min-height:92px}.timesheet-column-head{min-height:36px}}
@media(max-width:960px){.manager-profile-grid{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr)}.manager-schedule-row{grid-template-columns:1fr 1fr}.manager-day-checkbox{grid-column:1/-1;min-height:36px}.manager-fieldset{padding-top:16px}}
@media(max-width:720px){.manager-week-navigation{gap:12px}.manager-week-navigation h2{font-size:19px}.manager-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.manager-summary-grid strong{font-size:23px}.manager-profile-grid{grid-template-columns:1fr}.manager-profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:300px;overflow-y:auto}.manager-profile-button{padding:10px;font-size:15px;border-color:var(--line)}.manager-schedule-row{grid-template-columns:1fr 1fr}.manager-lock-row>div{min-width:0;flex-basis:100%}.manager-nav{gap:4px;margin-bottom:22px}.manager-nav .btn{min-height:44px;padding:8px 10px}.manager-day>header h3{flex-direction:row;align-items:center;flex-wrap:wrap}.timesheet-row{min-height:135px}.shift-time{font-size:14px}.employee-shift{gap:1px}.time-nudges button{min-height:44px}.history-actions>.btn{font-size:14px}.history-actions>.muted,.not-worked-note,.history-hours{font-size:14px}.dialog-header .muted{font-size:13px}.dialog-footer{font-size:12px}.add-dialog .time-nudges button{min-height:44px}}
@media(max-width:400px){.manager-summary-grid strong{font-size:21px}.shift-time{font-size:14px;white-space:normal;line-height:1.6}.timesheet-row{grid-template-columns:minmax(0,1fr) 118px}.confirm-button{font-size:13px}.header-end .btn-icon{width:44px;min-width:44px}.history-shift-heading{flex-wrap:wrap}.time-pair{gap:10px}.time-nudges{gap:4px}.history-times .time-nudges button{min-width:40px}.manager-profile-list{grid-template-columns:1fr 1fr}}
@media(pointer:coarse){.btn-small{min-height:44px}.time-nudges button{min-height:44px;min-width:44px}.history-times .time-nudges button{min-width:44px}}
/* Readable secondary content; the tiny brand caption is decorative. */
.timesheet-column-head{font-size:12px;color:#536781}.timesheet-bottom>span,.dialog-footer{color:var(--muted)}
.btn-small,.manager-nav .btn,.status-pill,.manager-profile-button .muted,.manager-table-note,.timesheet-help,.timesheet-bottom>span,.dialog-footer,.history-hours,.planned-note,.managed-note,.not-worked-note,.dialog-header .muted,.time-nudges button,.history-actions .btn,.app-footer{font-size:14px}
.timesheet-help,.timesheet-bottom>span{color:var(--muted)}.dialog-footer{flex-wrap:wrap}.timesheet-column-head{letter-spacing:.04em}.manager-today-label{font-size:12px}.time-field>label{font-size:14px}.dialog-done{font-size:14px}.header-end .btn-small{font-size:14px}
.employee-dialog .history-unconfirmed .status-pill{background:#eedbe2;color:#774055}.dialog-status{min-height:48px}
@media(max-width:400px){.header-end{gap:2px}.header-end .btn-small{padding:7px 9px;font-size:12px}.brand-wordmark{font-size:18px}.dialog-footer{gap:5px}.dialog-footer span{font-size:12px}.timesheet-help{line-height:1.7}.manager-nav .btn{font-size:14px}.confirm-button{font-size:14px}}
.manager-day-picker{display:none}
@media(max-width:720px){.manager-day-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 22px}.manager-day-button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:64px;padding:8px 4px;border:1px solid #c8d4e3;border-radius:9px;background:#fff;color:var(--text);font-size:14px}.manager-day-button[aria-pressed=true]{background:var(--blue);color:white;border-color:var(--blue);font-weight:600}.manager-day-button span{font-size:14px}.manager-day:not(.is-selected-day){display:none}.manager-week-grid{grid-template-columns:1fr}.manager-day.is-selected-day>header{padding:12px 7px 20px}.manager-day.is-selected-day>header h3{font-size:22px}.manager-day-shifts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.manager-day>.btn{margin-top:12px}}
@media(max-width:460px){.manager-day-shifts{grid-template-columns:1fr}.manager-day-picker{grid-template-columns:repeat(4,minmax(0,1fr))}}
:root{--muted:#586b83}.is-planned,.is-neutral{color:#52647c}.timesheet-column-head{font-size:14px}.dialog-footer span{font-size:14px}
/* Poshter tablet review: compact header, clear rows and draft-aware editor. */
.header-brand{display:flex;align-items:center;gap:15px;min-width:0}.header-timesheet-title{font-size:28px;letter-spacing:-.025em}
body[data-view=tablet]{background:#e7edf5}body[data-view=tablet] .brand-wordmark{display:none}
body[data-view=tablet] .app-header-inner{min-height:70px;padding-top:11px;padding-bottom:11px}
body[data-view=tablet] .brand-tag{width:35px;height:41px;font-size:30px}
body[data-view=tablet] .main-container{padding-top:25px}
body[data-view=tablet] .timesheet-intro{align-items:center;justify-content:space-between;gap:24px;margin-bottom:23px}
body[data-view=tablet] .today-date{margin:0;color:#3f5876;font-size:18px}
body[data-view=tablet] .daily-progress{margin:0;width:165px;flex-shrink:0;color:#4f647f;font-size:14px}
body[data-view=tablet] .timesheet-row{background:#fff;border-color:#d6dee8;transition:background-color .2s ease-out,box-shadow .2s ease-out}
body[data-view=tablet] .timesheet-row.row-confirmed{background:#f0f5f2;box-shadow:inset 0 2px 4px #294d3d05}
body[data-view=tablet] .row-confirmed .employee-name{color:#51615b}
body[data-view=tablet] .row-confirmed .shift-time,body[data-view=tablet] .row-confirmed .employee-hours{color:#5d6f65}
body[data-view=tablet] .row-confirmed .inline-edit{background:#e9efeb;color:#506b61;border-color:#d9e4dd}
body[data-view=tablet] .just-confirmed{animation:poshter-row-confirm .55s ease-out}
@keyframes poshter-row-confirm{from{background:#e2eee6}to{background:#f0f5f2}}
body[data-view=tablet] .employee-shift{gap:7px;padding:11px 0}
body[data-view=tablet] .inline-edit{background:#f0f4f9;border:1px solid #e0e7ef;border-radius:18px;padding:7px 12px;margin:0;min-height:40px;min-width:73px;color:#4b6689;text-decoration:none}
body[data-view=tablet] .inline-edit:hover{background:#e7eef8;border-color:#cbd9ec}
body[data-view=tablet] .timesheet-bottom{justify-content:space-between;align-items:center;flex-direction:row;padding:17px 24px;gap:16px;background:#f9fbfd;border-color:#d6dee8}
.btn-soft{background:#edf2f9;border-color:#dce5f1;color:#3e5d87;border-radius:22px;padding:10px 18px;font-weight:500}
.btn-soft:hover{background:#e2ebf8;border-color:#c7d8ef}
.btn-soft[aria-pressed=true]{background:#dee9fa;color:#254fa8;border-color:#c6d6f1}
body[data-view=tablet] .add-shift-button{padding:10px 18px}
.employee-dialog{width:1080px;max-width:calc(100vw - 88px);height:calc(100dvh - 64px)}
.employee-dialog .dialog-header{padding:21px 28px;gap:20px}.employee-dialog .dialog-header h2{font-size:28px}
.employee-dialog-body{background:#e5ecf3;padding:24px 28px 30px}
.editor-navigation{display:flex;align-items:center;gap:10px;flex-shrink:0}.editor-navigation .btn{min-height:46px;padding:10px 17px;font-size:15px}.editor-navigation .dialog-done{min-width:100px}
.history-shift{border-width:1px;transition:background-color .16s ease-out,border-color .16s ease-out}
.history-confirmed{background:#f0f7f2;border-color:#c7ddcd}.history-unconfirmed{background:#fff8e9;border-color:#e5d1a1}
.employee-dialog .history-unconfirmed .status-pill{background:#f1e5c8;color:#765718}
.history-expected{background:#fff;border-color:#ccd8e5}.history-planned{background:#edf1f5;border-color:#c9d3df}
.history-not-worked{background:#f8edf1;border-color:#ddc5ce}.history-leave{background:#f1eef7;border-color:#d3cbe0}.history-cancelled{background:#edf1f5;border-color:#c9d3df}
.employee-dialog .time-nudges button{min-width:44px;min-height:44px}.history-hours{color:#52677f}.pending-chip{font-size:12px;color:#78581a;background:#fff1cb;border:1px solid #e7d39f;border-radius:5px;padding:2px 7px}
.editor-add-section{text-align:center;margin-top:25px}.editor-add-section .add-shift-form{text-align:left}
.editor-add-button{width:50%;max-width:480px;min-width:260px;min-height:58px;font-size:18px;background:#dbe7fa;border:1px solid #aec6ec;color:#214f9f;box-shadow:inset 0 1px 0 #ffffff80;transition:background-color .16s,border-color .16s,transform .16s}
@media(hover:hover){.editor-add-button:hover{background:#cfdef6;border-color:#8caedc;transform:translateY(-1px)}}
.editor-save-error{margin:0;padding:14px 28px;background:#fff0f2;color:#903e51;border-bottom:1px solid #e4bfca;font-size:14px;flex-shrink:0}
.discard-dialog{width:460px;max-width:calc(100vw - 40px);border-radius:18px}.discard-dialog::backdrop{background:#122b4e45;backdrop-filter:blur(2px)}.discard-dialog-content{padding:28px}.discard-dialog-content h2{font-size:25px}.discard-dialog-content>p{margin-top:14px;font-size:16px;color:var(--muted)}.discard-dialog .form-actions{gap:10px;margin-top:25px}
@media(max-width:960px){.employee-dialog .history-fields{grid-template-columns:150px minmax(0,1fr);gap:16px}.employee-dialog .time-input-row{flex-wrap:wrap}}
@media(max-width:720px){body[data-view=tablet] .app-header-inner{min-height:68px;padding-top:10px;padding-bottom:10px}.header-timesheet-title{font-size:25px}.header-brand{gap:11px}body[data-view=tablet] .main-container{padding-top:22px}body[data-view=tablet] .timesheet-intro{flex-direction:row;gap:18px;align-items:center;margin-bottom:20px}body[data-view=tablet] .today-date{font-size:16px;line-height:1.5}body[data-view=tablet] .daily-progress{width:120px;display:block}body[data-view=tablet] .progress-track{margin-top:8px}body[data-view=tablet] .timesheet-row{padding-top:16px;padding-bottom:16px}body[data-view=tablet] .employee-shift{padding:0;gap:8px}body[data-view=tablet] .inline-edit{min-height:44px}body[data-view=tablet] .timesheet-bottom{padding:16px;gap:10px}.timesheet-bottom .btn{font-size:14px;padding:10px 14px}.employee-dialog{max-width:calc(100vw - 36px);height:calc(100dvh - 36px);border-radius:16px}.employee-dialog .dialog-header{padding:19px 20px;gap:12px}.employee-dialog .dialog-header h2{font-size:24px}.employee-dialog .dialog-header .muted{font-size:14px}.employee-dialog-body{padding:20px 18px}.employee-dialog .history-fields{grid-template-columns:1fr;gap:16px}.editor-navigation{gap:7px}.editor-navigation .btn{padding:9px 12px;font-size:14px}.editor-navigation .dialog-done{min-width:80px}.editor-add-button{width:70%;max-width:380px;min-width:220px}.employee-dialog .dialog-footer{padding:13px 20px}.history-shift-heading>div{flex-direction:row;align-items:center;gap:8px}.history-weekday{width:100%}.history-shift-heading{flex-wrap:wrap}.editor-save-error{padding:12px 20px}}
@media(max-width:500px){body[data-view=tablet] .header-brand .brand{display:none}.header-timesheet-title{font-size:23px}body[data-view=tablet] .today-date{font-size:15px}body[data-view=tablet] .daily-progress{width:112px;font-size:14px}.employee-dialog .dialog-header{flex-wrap:wrap;gap:15px}.employee-dialog .dialog-header>div:first-child{flex:1 1 100%}.editor-navigation{width:100%;justify-content:space-between}.editor-navigation .btn{min-width:104px}.employee-dialog-body{padding:16px 12px}.employee-dialog .history-shift{padding:16px}.employee-dialog .history-times .time-nudges button{min-width:0;flex:1}.employee-dialog .time-nudges{gap:5px}.employee-dialog .history-actions>.btn{min-width:120px}.editor-add-button{width:80%;min-width:0}.discard-dialog-content{padding:24px}.discard-dialog .form-actions .btn{flex:1;min-width:120px}.employee-dialog .time-pair{gap:10px}}
@media(max-width:360px){.header-timesheet-title{font-size:20px}body[data-view=tablet] .app-header-inner{gap:10px}body[data-view=tablet] .timesheet-intro{gap:12px}.timesheet-bottom .btn{padding:10px 11px;gap:6px;font-size:13px}.timesheet-bottom .icon{width:17px}body[data-view=tablet] .timesheet-bottom{padding:14px 12px;gap:8px}.employee-dialog{max-width:calc(100vw - 24px)}.employee-dialog .time-pair{grid-template-columns:1fr}.employee-dialog .history-times .time-input-row{flex-wrap:nowrap}.employee-dialog .history-times .time-nudges{width:auto}.employee-dialog .history-times .time-nudges button{min-width:44px;flex:none}.employee-dialog .time-input-row input{font-size:14px}}
@media(pointer:coarse){body[data-view=tablet] .inline-edit{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Second review: quiet employee states and a task-first manager. */
body[data-view=manager]{background:#e7edf5}
body[data-view=manager] .app-header-inner{min-height:70px;padding-top:12px;padding-bottom:12px}
body[data-view=manager] .main-container{padding-top:24px}
body[data-view=tablet] .timesheet-row.row-not-expected{background:#edf1f5}
.employee-identity{flex-direction:column;align-items:flex-start}
.employee-added-note{display:block;font-size:14px;line-height:1.5;color:#586b72;margin-top:8px}
.employee-dialog .history-not-worked{background:#edf1f5;border-color:#c9d3df}
.employee-dialog .history-not-worked .status-pill{background:#fff1cb;color:#71521a;border-color:#e8d19b}
.history-actions:has(>.didnt-work-button:only-child){justify-content:flex-start}
.manager-nav{justify-content:center;margin-bottom:24px}
.manager-nav .btn{font-size:14px;min-height:44px;border-radius:999px}
.manager-home{text-align:center;padding:8px 0 24px}
.manager-home-date{color:#586b83;font-size:16px;margin-bottom:22px}
.home-task-grid{width:78%;max-width:567px;min-width:248px;margin:0 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.home-task{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:116px;padding:22px 18px;border:1px solid var(--blue);border-radius:10px;color:white;background:var(--blue);text-align:center;box-shadow:0 2px 3px #2453cc18;transition:background-color .18s,border-color .18s,transform .12s;isolation:isolate}
.home-task strong{font-size:22px;line-height:1.25;font-weight:650}
.home-task>span{font-size:14px;line-height:1.45;color:inherit;opacity:.85}
/* Home actions share the Tablet Confirm finish. Attention is a border and count, not another fill. */
.home-review.has-reviews{border-color:var(--review-accent);box-shadow:inset 0 0 0 var(--review-emphasis) var(--review-accent),0 2px 3px #2453cc18}
.review-count{display:inline-block;min-width:27px;font-size:14px;padding:3px 8px;background:var(--review-accent);color:#142d4c;border-radius:999px;vertical-align:middle}
.home-roster,.home-wages{grid-column:1/-1;min-height:103px}
/* The pay-fortnight cue stays green through Monday unless wages are exported or sent. */
.home-wages.wages-level-1{background:#207342;border-color:#207342}
.home-wages.wages-level-2{background:#196a3b;border-color:#196a3b}
.home-wages.wages-level-3{background:#126235;border-color:#126235}
.home-wages.wages-breathe::before{content:"";position:absolute;inset:-5px;border:2px solid #196a3b;border-radius:14px;pointer-events:none;opacity:.12;animation:wages-breathe 4.2s ease-in-out infinite}
@keyframes wages-breathe{0%,100%{opacity:.12}50%{opacity:.55}}
.staff-database-button{display:inline-flex;gap:10px;align-items:center;justify-content:center;margin:22px auto 0;min-height:48px;padding:9px 23px;background:white;border:1px solid #c8d3e0;border-radius:999px;color:#4c6078;font-size:15px}
.home-period{margin-top:20px;font-size:14px}
.manager-home-date,.home-period{color:#344e70}
body[data-view=manager][data-manager-surface=home] .app-footer{color:#344e70}
@media(hover:hover){.home-task:hover{background:var(--blue-hover)}.home-wages.wages-level-1:hover,.home-wages.wages-level-2:hover,.home-wages.wages-level-3:hover{background:#10552f}.staff-database-button:hover{background:#f6f8fc}}
.home-task:active{transform:translateY(2px)}
.manager-dialog{width:920px;max-width:calc(100vw - 88px);height:calc(100dvh - 52px);max-height:1100px;overflow:clip;background:#e5ecf3}
.shift-editor-dialog{width:790px}
.manager-dialog-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.manager-dialog .dialog-header{padding:22px 28px;align-items:flex-start}
.manager-dialog .dialog-header h2{font-size:28px}
.manager-dialog .dialog-header p{max-width:560px;font-size:14px;line-height:1.5}
.manager-dialog-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:26px 30px}
.manager-dialog .manager-edit-form{max-width:610px;margin:0 auto;border:0;background:transparent;padding:0}
[data-editor-fields]>.field{max-width:430px;margin:0 auto 22px}
.decision-row{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0}
.decision-pill{min-height:48px;padding:11px 23px;border:1px solid #99b3e3;border-radius:999px;background:white;color:var(--blue);font-size:16px;font-weight:550;box-shadow:0 1px 3px #2453cc12;transition:background-color .15s,border-color .15s,color .15s}
.decision-row.has-selection .decision-pill[aria-pressed=false]{background:#e8edf3;color:#617083;border-color:#cdd6e2;box-shadow:none}
.decision-pill[aria-pressed=true]{background:#2453cc;color:#fff;border-color:#2453cc;box-shadow:0 2px 5px #1b469c20}
.decision-details{border-top:1px solid #c7d3e1;margin-top:24px;padding-top:24px;animation:decision-reveal .16s ease-out}
@keyframes decision-reveal{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
.manager-dialog .manager-fieldset{padding:0;border:0;min-width:0}
.manager-dialog .manager-fieldset legend{font-size:15px;color:#4c6078;padding:0}
.manager-dialog .manager-fieldset .decision-row{justify-content:center;margin-top:10px}
.manager-dialog .manager-fieldset .decision-pill{font-size:15px;padding:10px 18px}
.editor-calculation{padding:14px 18px;border-radius:10px;background:#f8fafc;border:1px solid #cbd8e6;font-size:15px;color:#344f73}
.editor-save-actions{justify-content:flex-end;border-top:1px solid #c6d2e1;padding-top:20px;margin-top:22px}
.multi-date-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:15px 0}
.date-choice{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 10px;background:#fff;border:1px solid #c5d2e3;border-radius:8px;font-size:14px;color:#314a69}
.date-choice input{accent-color:#2453cc;flex-shrink:0}
.date-choice.is-selected{background:#e1eaff;border-color:#8ba8e4}
.date-choice.is-unavailable{background:#e5ebf2;color:#6c7787;border-color:transparent}
.review-content{max-width:650px;margin:auto;display:flex;flex-direction:column;gap:22px}
.review-category>summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:22px;color:#142d4c;font-weight:650;min-height:52px;border-bottom:1px solid #bccbdf;padding:8px 0 14px;list-style:none}
.review-category>summary::after{content:'+';margin-left:12px;font-weight:400}
.review-category[open]>summary::after{content:'−'}
.category-count{font-size:14px;color:#536780;font-weight:500;margin-left:auto;padding-left:15px}
.review-category>p,.review-category>.stack{margin-top:16px}
.review-empty{background:#f4f7fa;border-radius:12px;padding:18px;color:#586b83;font-size:15px}





.review-date{font-size:14px;color:#586b83;margin-bottom:6px}
.review-hours{font-weight:600;font-size:17px;margin-top:15px}
.review-notes{margin:16px 0;padding:12px 15px;border-left:3px solid #bac7d8;background:#ffffff70;border-radius:0 8px 8px 0;font-size:14px;color:#425b76}
.review-notes p+p{margin-top:7px}
.tone-confirmed{background:#e5f1e9;color:#285a43;border-color:#bfd7c9}
.tone-check{background:#fff0c6;color:#735016;border-color:#dec68e}
.tone-claim{background:#f4e0e7;color:#803c54;border-color:#dcb2c1}
.tone-manager{background:#eae2f5;color:#634586;border-color:#c9b9de}
.tone-neutral{background:#e8edf2;color:#4e6178;border-color:#c5d0dd}
.surface-confirmed{background:#eef6f0;border-color:#cbded2}
.surface-check{background:#fff8e7;border-color:#e3d3aa}
.surface-claim{background:#f9edf1;border-color:#dfc4ce}
.surface-manager{background:#f1edf7;border-color:#d5cbe3}
.surface-neutral{background:#f5f7fa;border-color:#cdd6e1}
.closure-review{margin-top:20px}
.closure-card{padding:20px;background:#f5f7fa;border:1px solid #c6d2e0;border-radius:14px}
.closure-card h3{font-size:20px}
.closure-card .form-actions{margin-top:16px}
.closure-card>.note{margin-top:12px}
.closure-form{padding:22px 0;border-top:1px solid #c2cfe0}
.closure-form>.btn{align-self:flex-start}
.closure-form.christmas-due{border-top:3px solid #c89e43}







.calendar-toggle{display:flex;gap:0;border:1px solid #bfcddd;background:#f6f8fb;border-radius:999px;padding:3px}
.calendar-toggle .btn{border:0;background:transparent;border-radius:999px;min-height:44px}
.calendar-toggle .btn[aria-pressed=true]{background:#2453cc;color:white}
.roster-add{border-radius:999px;min-height:44px;margin:8px 0 16px!important}
.manager-day{background:#f7f9fc;border:1px solid #b6c6da;box-shadow:inset 0 1px 0 #fff,0 3px 9px #203c620b}
.manager-day>header{border-bottom:1px solid #d3deeb;margin-bottom:7px}
.manager-day.is-today{background:#edf3ff;border-color:#809dc6;box-shadow:inset 0 3px 0 #2453cc,0 3px 9px #203c6210}
.roster-day-holidays{font-size:13px;color:#675184;display:flex;flex-direction:column;gap:5px;line-height:1.45}
.whole-week-totals{margin-top:35px;border-top:1px solid #c2cfdf;padding-top:26px}
.whole-week-totals h2{font-size:22px;margin-bottom:18px}
.month-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #c0ccdc;border-left:1px solid #c0ccdc;background:#f4f7fa}
.month-day{padding:12px 10px;min-height:155px;border-right:1px solid #c0ccdc;border-bottom:1px solid #c0ccdc;background:white;font-size:14px;min-width:0}
.month-day h3{font-size:17px;display:flex;justify-content:space-between;gap:8px}
.month-day h3 span{font-size:13px;color:#617189;font-weight:400}
.month-day.is-today{box-shadow:inset 0 3px #2453cc}
.month-day.outside-month{background:#edf1f5;color:#64748a}
.month-day ul{list-style:none;padding:0;margin:12px 0 0;line-height:1.7}
.month-holiday{font-size:12px;line-height:1.4;color:#684b84;margin-top:9px;padding:5px 6px;background:#f1ebf7;border-radius:5px}
@media(max-width:720px){
  .home-task-grid{width:82%;gap:13px}.home-task{padding:19px 11px;min-height:122px}.home-task strong{font-size:18px}.home-task>span{font-size:14px}.home-roster,.home-wages{min-height:98px}
  .manager-dialog{max-width:calc(100vw - 30px);height:calc(100dvh - 32px);border-radius:16px}.manager-dialog .dialog-header{padding:19px 20px;gap:12px}.manager-dialog .dialog-header h2{font-size:24px}.manager-dialog .dialog-header .btn{min-height:44px;padding:9px 13px}.manager-dialog-body{padding:20px 17px}
  .decision-pill{padding:10px 19px;font-size:15px}.decision-row{gap:8px}.multi-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .month-calendar{grid-template-columns:1fr;border-left:0}.month-day.outside-month{display:none}.month-day{min-height:0;border-left:1px solid #c0ccdc;padding:13px 16px}.month-day ul{display:flex;flex-wrap:wrap;gap:3px 14px;margin-top:8px}.month-day h3{justify-content:flex-start;font-size:18px}.month-day h3 span{font-size:15px}.month-holiday{font-size:14px;display:inline-block;margin-right:6px}
}
@media(max-width:360px){.home-task-grid{width:100%;min-width:0}.home-task strong{font-size:17px}.manager-dialog-body{padding:18px 12px}.manager-dialog .dialog-header{padding:16px}.manager-dialog .dialog-header p{font-size:14px}.decision-pill{padding:10px 16px}.manager-dialog .manager-fieldset .decision-pill{padding:9px 12px}.review-category>summary{font-size:21px}}
@media(prefers-reduced-motion:reduce){.home-wages.wages-breathe::before,.decision-details{animation:none!important}}

/* Pilot additions (formerly pilot.css and feedback.css). */
.pilot-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.pilot-tools[hidden],#timesheet-title[hidden]{display:none}
.pilot-auth{max-width:440px;margin:42px auto}
.pilot-auth h1{margin:0 0 12px;font-size:1.7rem}
.pilot-auth .field{margin-block:16px}
.pilot-auth details{margin-top:22px;border-top:1px solid #d3deeb;padding-top:16px}
.pilot-auth summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700}
.pilot-connection{padding:10px 18px;margin:0;background:#fff4ce;color:#63460b;text-align:center}
.pilot-settings{width:min(760px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid #bdcce0;border-radius:20px;background:#e7edf5;color:#142d4c;padding:0}
.pilot-settings-body{padding:22px;display:grid;gap:24px}
.pilot-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 0;line-height:1.45}
.pilot-check input{width:20px;height:20px;flex-shrink:0;margin-top:2px}
.pilot-device{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #d3deeb}
.pilot-pair-code{font-size:2rem;font-weight:750;letter-spacing:.13em;font-variant-numeric:tabular-nums}
.pilot-device span,.pilot-device small{display:block}
.pilot-settings .panel{margin:0}

.pilot-auth .form-error:empty{display:none}
body[data-saving=true]{cursor:progress}


.onboarding-gap,.invitation-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #d3deeb}



.emergency-review{border-top:1px solid #d3deeb;padding-top:10px}.emergency-review>summary{font-size:.85rem;color:#53667f;min-height:44px;cursor:pointer;display:list-item;padding:10px 0}
.account-card{border:1px solid #bdcce0;border-radius:12px;padding:14px;min-width:0}.account-card>summary{cursor:pointer;min-height:44px}.account-card>summary strong,.account-card>summary span{display:block;overflow-wrap:anywhere}.account-card form{margin-top:14px}
.calendar-entry{border:1px solid #bdcce0;border-radius:10px;padding:12px;min-width:0}.calendar-entry legend{font-weight:650;padding:0 5px}.calendar-entry .field{margin-top:10px}

.pilot-settings input,.pilot-settings textarea,.pilot-settings select{max-width:100%;min-width:0}.pilot-settings .note{overflow-wrap:anywhere}
@media(max-width:480px){.onboarding-gap,.invitation-row{align-items:flex-start;flex-direction:column}.account-card{padding:12px}}
@media(max-width:680px){.app-header-inner{flex-wrap:wrap;gap:10px}.header-end{margin-left:auto}.pilot-tools{gap:5px}.pilot-tools .btn{min-height:38px;font-size:.78rem;padding:8px 10px}.pilot-settings-body{padding:16px}.pilot-auth{margin-top:24px}.pilot-device{align-items:flex-start}}
/* Pilot feedback additions. Home gap baseline was 14px (10px at <=720px). */
.home-schedule-status{font-size:.85rem;margin:8px 0 0}
.staff-database-button.schedules-incomplete{border-color:#d3a932;background:#fff0b2;animation:schedule-breathe 3s ease-in-out infinite}
@keyframes schedule-breathe{0%,100%{box-shadow:0 0 0 1px #d3a93222}50%{box-shadow:0 0 17px 3px #edc94d80}}
.employment-switch{display:flex;align-items:center;gap:10px;position:relative;width:fit-content;min-height:44px;font-weight:700;color:#23784c;cursor:pointer}
.employment-switch input{position:absolute;opacity:0;width:46px;height:30px;margin:0;z-index:1;cursor:pointer}
.switch-track{width:46px;height:28px;background:#31845b;border-radius:20px;padding:4px;display:block}
.switch-track:after{content:'';display:block;width:20px;height:20px;background:white;border-radius:50%;transform:translateX(18px)}
.employment-switch.is-inactive{color:#ac3d3d}.is-inactive .switch-track{background:#ba4848}.is-inactive .switch-track:after{transform:none}
.employment-switch input:focus-visible+.switch-track{outline:3px solid var(--primary,#405a9d);outline-offset:4px}
.profile-directory{display:flex;flex-direction:column}.staff-export{margin-top:auto;padding-top:24px}.staff-export summary{width:fit-content;cursor:pointer}.staff-export-options{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px 0}
.manager-profile-button>span:last-child{font-size:.82rem}
.date-stepper{display:flex;align-items:stretch;gap:8px}.date-stepper>input{flex:1;min-width:0}.date-step-buttons{display:flex;gap:4px}.date-step-buttons .btn{min-width:44px;padding:6px 12px;font-size:1.3rem}
.device-shop-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pilot-device{flex-wrap:wrap;gap:12px}.device-shop-controls select{max-width:220px}
.roster-shop-filter{display:flex;flex-direction:row;align-items:center;gap:12px;max-width:290px;margin-top:16px}
.roster-shop-filter label{margin:0;flex:none}.roster-shop-filter select{min-width:0;flex:1}
.confirm-button.is-unconfirm{background:#f8d881;border-color:#b9902b;color:#523c00}
@media(prefers-reduced-motion:reduce){.staff-database-button.schedules-incomplete{animation:none;box-shadow:0 0 0 2px #edc94d80}}
.btn-archive{background:#fff4f3;border:1px solid #e8c8c4;color:#945852;box-shadow:none}
.btn-archive:hover{background:#fbe8e5;border-color:#d5aaa4}
.archive-filter{display:flex;align-items:center;gap:8px;font-size:.9rem;color:var(--muted)}
.archive-filter input{width:18px;height:18px}
/* A capped scrolling directory must not compress two-column cards below their text. */
@media(max-width:720px){.manager-profile-list{grid-auto-rows:max-content;align-content:start}.manager-profile-button{min-height:max-content}.manager-profile-button>span{overflow-wrap:anywhere}}

/* Refinement pass: components added or reshaped in October 2026. Merged into styles.css. */

/* Shared */
.confirm-dialog{width:460px;max-width:calc(100vw - 32px);border:1px solid #c9d5e4;border-radius:18px;padding:0;color:var(--ink)}
.confirm-dialog::backdrop{background:#122b4e45;backdrop-filter:blur(2px)}
.confirm-dialog-content{padding:26px}
.confirm-dialog-content h2{font-size:22px}
.confirm-dialog-content>p{margin-top:12px;color:var(--muted);font-size:15px}
.confirm-dialog .form-actions{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}
.confirm-dialog .form-actions .btn{flex:1;min-width:120px}
.dialog-status.is-error{background:#fbeef2;color:#783a4d}
.btn-large{min-height:58px;padding:14px 28px;font-size:17px}
.footer-end{display:flex;align-items:center;gap:14px}
.footer-link{border:0;background:none;color:var(--muted);font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:8px 0;min-height:32px;cursor:pointer}
.footer-link:hover{color:var(--ink)}
.inline-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.inline-form .field{flex:1;min-width:180px;margin:0}
.inline-form .form-error{flex-basis:100%}
.inline-date-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.inline-date-form input[type=date]{min-height:40px;padding:6px 10px;border:1px solid #c6d2e2;border-radius:9px;font-size:15px;background:#fff}
.inline-date-form label{font-size:13px;color:var(--muted)}
.inline-date-form .form-error{flex-basis:100%;margin:0}
.form-error:empty{display:none}
@media(max-width:560px){.hide-narrow{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}

/* Home: getting started */
.home-shops{margin:-14px 0 20px}
.getting-started{max-width:567px;width:78%;min-width:248px;margin:0 auto 22px;text-align:left;padding:22px 24px}
.getting-started h2{font-size:19px}
.setup-steps{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:4px}
.setup-step{display:grid;grid-template-columns:28px 1fr;gap:4px 12px;padding:12px 0;border-top:1px solid #e3e9f1;align-items:start}
.setup-step:first-child{border-top:0}
.setup-mark{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:650;background:#e8eef8;color:var(--blue);border:1px solid #c9d6ef}
.setup-step.is-done .setup-mark{background:#e5f1e9;color:#285a43;border-color:#bfd7c9}
.setup-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.setup-text strong{color:var(--ink);font-size:15px}
.setup-step.is-done .setup-text strong{color:#5b6e84;font-weight:550}
.setup-step.is-done .setup-text .muted{display:none}
.setup-action{grid-column:2;margin-top:6px}

/* Roster: compact rows */
.manager-day-shifts{display:flex;flex-direction:column;gap:7px}
.roster-row{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;text-align:left;border:1px solid var(--line);border-radius:11px;padding:9px 11px;font:inherit;color:var(--text);cursor:pointer;transition:border-color .12s,box-shadow .12s,transform .12s}
.roster-row:hover{border-color:#9fb3cf;box-shadow:0 2px 6px #1b335114}
.roster-row:active{transform:translateY(1px)}
.roster-row-top{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.roster-row-name{font-weight:650;color:var(--ink);font-size:15px;line-height:1.25}
.roster-row .status-pill{font-size:11px;min-height:22px;padding:2px 7px}
.roster-row-detail{font-size:13.5px;color:#4d6079;line-height:1.35;font-variant-numeric:tabular-nums}
.roster-row-note{font-size:13px;color:#5b6e84;font-style:italic;line-height:1.35}
.roster-add{margin-bottom:8px}
.roster-missing{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.manager-day>header{padding:6px 4px 10px}
.roster-day-holidays span{display:block;font-size:12px;color:#6a4f8f;margin-top:4px}
@media(max-width:960px){.manager-day-shifts{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.roster-row{padding:10px 12px}.roster-row-name{font-size:15px}.roster-row-detail{font-size:14px}}

/* Review */
.review-scope{font-size:14px;color:#586b83}
.review-intro{margin-top:12px}
.review-card{padding:18px 20px;border:1px solid var(--line);border-radius:14px;transition:opacity .19s ease-in,transform .19s ease-in}
.review-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.review-card h3{font-size:20px}
.review-card .review-hours{margin-top:10px;font-size:16px}
.review-card .review-notes{margin:12px 0 0}
.review-card>.note{margin-top:8px}
.review-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}
.review-actions .decision-pill{min-height:40px;padding:8px 16px;font-size:14px}
.pay-choice{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.pay-choice-label{font-size:13px;color:#586b83;font-weight:600;margin-right:2px}
.review-bulk{margin-bottom:6px}
.review-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 16px;border:1px solid var(--line);border-radius:12px;flex-wrap:wrap;transition:opacity .19s ease-in,transform .19s ease-in}
.review-row-text{display:flex;flex-direction:column;min-width:0}
.review-row-text strong{color:var(--ink)}
.review-row-actions{display:flex;gap:6px}
.review-row .form-error{flex-basis:100%;margin:0}
.is-leaving{opacity:0;transform:translateX(24px) scale(.98)}
.review-card.is-leaving,.review-row.is-leaving{pointer-events:none}
.all-clear{text-align:center;padding:28px 12px 8px;display:flex;flex-direction:column;align-items:center;gap:8px}
.all-clear-mark{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#e5f1e9;color:#256a47;border:1px solid #bfd7c9;animation:pop-in .42s cubic-bezier(.2,1.4,.4,1) both}
.all-clear h3{font-size:24px}
.paper-finish h3{font-size:18px}
.closure-card.is-past{opacity:.75}
.closure-card .review-actions{margin-top:12px}
.closure-more{border-top:1px solid #c2cfe0;padding-top:12px}
.closure-more>summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;color:var(--blue);font-weight:600;font-size:15px}
.closure-more .closure-form:first-of-type{border-top:0}
@keyframes pop-in{0%{transform:scale(.6);opacity:0}100%{transform:scale(1);opacity:1}}

/* Wages */
.wages-heading{align-items:flex-end;gap:20px;flex-wrap:wrap}
.wages-fortnight{min-width:240px;margin:0}
.wages-status{display:grid;grid-template-columns:auto 1fr;gap:6px 18px;align-items:center;padding:24px 26px;border-radius:18px;border:1px solid var(--line);background:#fff;margin-top:22px}
.wages-status>div:not(.stack):not(.wages-status-actions){min-width:0}
.wages-status h2{font-size:26px}
.wages-status p{margin-top:6px}
.wages-status>.btn,.wages-status>.wages-status-actions,.wages-status>.shop-status-list,.wages-status>.blocker-list,.wages-status>.stack,.wages-status>.note,.wages-status>.wages-after{grid-column:1/-1}
.wages-status>.btn{justify-self:start;margin-top:10px}
.wages-status-mark{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#e5f1e9;color:#256a47;border:1px solid #bfd7c9;animation:pop-in .42s cubic-bezier(.2,1.4,.4,1) both}
.wages-status.is-ready{background:#f2f9f4;border-color:#bfd7c9}
.wages-status.is-sent{background:#f6f9fb}
.wages-status.is-sent{grid-template-columns:auto 1fr auto}.wages-status.is-sent>.btn{grid-column:auto;justify-self:end;margin:0}
.wages-status.is-changed{background:#fffaf0;border-color:#e6d3a6;grid-template-columns:1fr}
.wages-status.is-waiting{grid-template-columns:1fr}
.wages-status.is-waiting>.btn{opacity:.75}
.wages-status-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}
.wages-after{margin-top:2px}
.shop-status-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:8px}
.shop-status{display:grid;grid-template-columns:28px 1fr auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #e1d3b0;background:#fffdf7;border-radius:12px}
.shop-status.is-ready{border-color:#cbded2;background:#f6fbf7}
.shop-status>div:nth-child(2){display:flex;flex-direction:column;min-width:0}
.shop-status strong{color:var(--ink)}
.shop-status .muted{overflow-wrap:anywhere}
.shop-status-mark{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#fff0c6;color:#735016}
.shop-status.is-ready .shop-status-mark{background:#e5f1e9;color:#285a43}
.shop-status-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.blocker-list{margin:12px 0 0;padding-left:20px;color:#795a24;font-size:14px}
.difference-card{padding:16px 18px;border:1px solid #e3d3aa;background:#fff;border-radius:12px}
.difference-card.is-resolved{border-color:#cbded2;background:#f6fbf7}
.difference-card h3{font-size:18px}
.difference-list{margin:10px 0 6px;padding-left:20px;font-size:15px}
.wages-numbers,.wages-history{margin-top:22px;padding:0}
.wages-numbers>summary,.wages-history>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;cursor:pointer;font-weight:650;color:var(--ink);min-height:56px}
.wages-numbers>.table-wrap,.wages-numbers>.note{margin:0 22px 18px}
.wages-history ul{margin:0 22px 16px;padding-left:18px}
.wages-extras{margin-top:26px;display:flex;flex-direction:column;gap:16px}
.wages-extras .manager-lock-row{padding:18px 22px;border:1px solid var(--line);border-radius:14px;background:#fff}
.wages-extras .manager-lock-row h3{font-size:17px}
@media(max-width:600px){.wages-status{grid-template-columns:1fr;padding:20px}.wages-status-mark{width:48px;height:48px}.wages-status.is-sent>.btn{justify-self:start}.shop-status{grid-template-columns:24px 1fr}.shop-status-actions{grid-column:1/-1;justify-content:flex-start}.btn-large{width:100%}}

/* Staff */
.profile-form h2{font-size:24px}
.schedule-grid{display:grid;gap:6px}
.manager-schedule-row{display:grid;grid-template-columns:150px 1fr auto 1fr;gap:8px;align-items:center;min-height:44px}
.manager-schedule-row .manager-day-checkbox{grid-column:auto;min-height:44px}
.manager-schedule-row .field{margin:0}
.manager-schedule-row .schedule-off{grid-column:2/-1}
.manager-schedule-row:not(.is-on) .field,.manager-schedule-row:not(.is-on) .schedule-to{display:none}
.manager-schedule-row.is-on .schedule-off{display:none}
.effective-field{padding:14px 16px;border:1px solid #c9d6ef;background:#f3f6fd;border-radius:12px}
@media(max-width:520px){.manager-schedule-row{grid-template-columns:118px 1fr auto 1fr;gap:6px}.manager-schedule-row input[type=time]{padding-inline:6px}}

/* Settings */
.settings-section h3{font-size:19px}
.settings-section h4{font-size:16px;margin-top:6px}
.settings-shop-list,.settings-device-list{list-style:none;margin:0;padding:0;display:grid}
.settings-shop{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #d3deeb;flex-wrap:wrap}
.settings-shop:first-child{border-top:0}
.settings-shop>div{display:flex;flex-direction:column;min-width:0}
.pair-code-card{padding:18px;border:1px solid #c9d6ef;background:#f3f6fd;border-radius:12px;text-align:center}

/* Shift Editor */
.date-hint{margin-top:8px;font-size:14px;color:#3f5672;font-weight:550}

/* Tablet: everyone signed */
.daily-progress.is-complete{color:#256a47;width:auto}
.daily-progress.is-complete>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.daily-progress.is-complete strong{color:#256a47}
.daily-progress.is-complete .progress-track span{background:#2f8a5c}
.daily-progress.just-completed>span{animation:pop-in .5s cubic-bezier(.2,1.4,.4,1) both}
.daily-progress.just-completed .progress-track{box-shadow:0 0 0 3px #2f8a5c30;transition:box-shadow .6s}

@media(prefers-reduced-motion:reduce){
  .all-clear-mark,.wages-status-mark,.daily-progress.just-completed>span{animation:none}
  .review-card,.review-row,.roster-row{transition:none}
}
.account-card>summary{list-style:none;position:relative;padding-right:30px;display:flex;flex-direction:column;justify-content:center}
.account-card>summary::-webkit-details-marker{display:none}
.account-card>summary::after{content:'';position:absolute;right:8px;top:50%;width:8px;height:8px;border-right:2px solid #6b7f97;border-bottom:2px solid #6b7f97;transform:translateY(-70%) rotate(45deg);transition:transform .15s}
.account-card[open]>summary::after{transform:translateY(-30%) rotate(-135deg)}
@media(max-width:720px){.wages-heading{align-items:stretch}.wages-fortnight{min-width:0}}
@media(max-width:600px){.wages-status.is-sent{grid-template-columns:1fr}}
@media(max-width:440px){.manager-schedule-row{grid-template-columns:1fr 1fr;gap:4px 8px}.manager-schedule-row .manager-day-checkbox{grid-column:1/-1;min-height:40px}.manager-schedule-row .schedule-to{display:none!important}.manager-schedule-row:not(.is-on){grid-template-columns:1fr auto}.manager-schedule-row:not(.is-on) .manager-day-checkbox{grid-column:1}.manager-schedule-row .schedule-off{grid-column:2}.manager-schedule-row input[type=time]{width:100%;min-width:0}}
.manager-profile-grid>*{min-width:0}@media(max-width:720px){.manager-profile-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:360px){.manager-profile-grid .panel{padding:16px}}
.wages-missed{align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:18px;margin-bottom:0}
.roster-row.is-readonly{cursor:default;opacity:.92}.roster-row.is-readonly:hover{border-color:var(--line);box-shadow:none}.roster-row.is-readonly:active{transform:none}
.manager-week-grid~.roster-shop-filter,.month-calendar~.roster-shop-filter{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin:18px 0 0}.manager-week-grid~.roster-shop-filter label,.month-calendar~.roster-shop-filter label{margin:0;font-weight:600}.manager-week-grid~.roster-shop-filter select,.month-calendar~.roster-shop-filter select{width:auto;min-width:180px}
.manager-day>header h3{font-size:17px}
.roster-shop-group{font-size:12px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:#5b6e84;margin:6px 2px 0}.roster-shop-group:first-child{margin-top:0}
/* Home buttons: flat royal blue (Nic's choice), with real depth and a tactile press. */
.home-task{border-radius:14px;gap:6px;box-shadow:0 1px 2px rgb(20 45 76 / 14%),0 10px 22px -12px rgb(36 83 204 / 60%);transition:background-color .18s,border-color .18s,box-shadow .18s,transform .16s cubic-bezier(.2,.8,.3,1)}
.home-task.home-wages{box-shadow:0 1px 2px rgb(20 45 76 / 14%),0 10px 22px -12px rgb(18 98 53 / 60%)}
.home-review.has-reviews{box-shadow:inset 0 0 0 var(--review-emphasis) var(--review-accent),0 1px 2px rgb(20 45 76 / 14%),0 10px 22px -12px rgb(36 83 204 / 60%)}
@media(hover:hover){.home-task:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgb(20 45 76 / 14%),0 16px 28px -14px rgb(36 83 204 / 70%)}.home-review.has-reviews:hover{box-shadow:inset 0 0 0 var(--review-emphasis) var(--review-accent),0 2px 4px rgb(20 45 76 / 14%),0 16px 28px -14px rgb(36 83 204 / 70%)}}
.home-task:active{transform:translateY(1px) scale(.985);box-shadow:0 1px 2px rgb(20 45 76 / 18%),0 4px 10px -8px rgb(36 83 204 / 60%);transition-duration:.08s}
.staff-database-button{transition:background-color .15s,border-color .15s,transform .15s,box-shadow .15s}
@media(hover:hover){.staff-database-button:hover{transform:translateY(-1px);box-shadow:0 6px 14px -10px rgb(20 45 76 / 45%)}}
@media(prefers-reduced-motion:reduce){.home-task,.staff-database-button{transition:none}.home-task:hover,.home-task:active,.staff-database-button:hover{transform:none}}
.pay-fieldset{text-align:center}
.pay-fieldset>legend{margin-inline:auto;padding-inline:8px}
/* Email to the accountant */
.btn-send{background:#1f7a4c;color:#fff;border-color:#1f7a4c;box-shadow:0 1px 2px #142d4c10}
@media(hover:hover){.btn-send:hover:not(:disabled){background:#17643d;border-color:#17643d}}
.wages-status>.wages-buttons{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.wages-sent-actions{display:flex;flex-direction:column;gap:8px;justify-self:end}
.email-dialog{width:min(620px,calc(100vw - 32px))}
.email-dialog textarea{min-height:150px}
.email-attachment{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #c9d6ef;background:#f3f6fd;border-radius:10px;font-size:14px;color:var(--ink);width:fit-content}
.mail-steps{margin:0;padding-left:20px;font-size:14px;line-height:1.6;color:var(--text)}
.mail-connected{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mail-connected p{display:inline-flex;align-items:center;gap:8px;color:#256a47}
@media(max-width:600px){.wages-sent-actions{justify-self:stretch}.wages-status>.wages-buttons .btn{width:100%}}
