:root{font-family:Inter,Arial,sans-serif;color:#111827;background:#f8fafc;font-synthesis:none;line-height:1.5;font-size:16px;--navy:#111827;--blue:#2563eb;--border:#f1f5f9;--muted:#64748b}*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{min-height:44px;border-radius:7px;padding:10px 18px;border:1px solid transparent;font-weight:600;font-size:.875rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}button:disabled{opacity:.5;cursor:not-allowed}.button:hover{text-decoration:none}.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.primary:hover:not(:disabled){background:#2563eb}.secondary{color:#1e40af;background:#fff;border-color:var(--border)}.secondary:hover{background:#f8fafc}.ghost{background:transparent;border-color:#ffffff40;color:#fff}.compact{padding:6px 12px;min-height:36px}.topbar{min-height:96px;background:var(--navy);color:white;padding:22px 4%;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:13px;align-items:center;color:#fff;font-size:1.2rem;font-weight:800;letter-spacing:.08em}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;width:46px;height:46px;border:2px solid #94a3b8;color:#fff;border-radius:8px;letter-spacing:-.06em}.brand small{font-size:.75rem;font-weight:400;letter-spacing:.14em;color:#94a3b8;margin-top:2px}.user-menu{display:flex;gap:24px;align-items:center;font-size:.875rem}.user-menu small{color:#94a3b8;font-size:.75rem}.tabs{display:flex;padding:0 4%;background:#fff;border-bottom:1px solid var(--border);gap:32px;overflow-x:auto}.tabs a{font-size:.875rem;font-weight:700;letter-spacing:.045em;color:#64748b;padding:21px 2px 17px;border-bottom:3px solid transparent;white-space:nowrap}.tabs a.selected{color:var(--blue);border-color:var(--blue)}.tabs a:hover{text-decoration:none;color:var(--blue)}.main{max-width:1600px;padding:36px 4% 60px;margin:auto;min-height:75vh}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-weight:700;letter-spacing:.12em;font-size:.75rem;color:#64748b}h1{font-size:2rem;line-height:1.2;margin:8px 0 9px;letter-spacing:-.035em}h2{font-size:1.05rem;line-height:1.4;margin:0 0 18px;font-weight:700}p{margin:10px 0}.muted,.hint{color:var(--muted)}.hint,.small{font-size:.875rem}.hint{line-height:1.6}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:0 0 26px}.metrics>div{background:white;border:1px solid var(--border);border-radius:10px;padding:20px 24px;position:relative}.metrics span{display:block;color:var(--muted);font-size:.875rem}.metrics strong{display:block;font-size:1.9rem;letter-spacing:-.035em;margin-top:7px}.metrics .highlight{background:var(--navy);color:white;border-color:var(--navy)}.metrics .highlight span{color:#dbe5f2}.panel{background:#fff;border:1px solid var(--border);border-radius:10px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--border);gap:18px}.panel-head h2{margin:0}.count{display:inline-block;background:#f8fafc;color:#64748b;border-radius:20px;margin-left:8px;padding:2px 9px;font-size:.75rem}.search{min-width:300px}.search input{font-size:.875rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:.875rem}th{background:#f8fafc;color:#64748b;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;padding:15px 20px;white-space:nowrap}td{padding:20px;border-bottom:1px solid #f1f5f9;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fafc}td small,small{display:block;color:#64748b;font-size:.75rem;margin-top:4px}td strong{font-weight:600}.person{display:flex;align-items:center;gap:11px;min-width:190px}.avatar{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;background:#f8fafc;color:#1e40af;font-size:.75rem;font-weight:700;border-radius:50%}.numeric{font-variant-numeric:tabular-nums;white-space:nowrap}.right{text-align:right}.badge{border-radius:5px;padding:5px 9px;font-size:.75rem;font-weight:600;display:inline-block;white-space:nowrap}.badge.active,.badge.submitted{background:#f1f5f9;color:#1e40af}.badge.terminated{background:#f8fafc;color:#64748b}.badge.draft{background:#f1f5f9;color:#1e40af}.actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.empty{text-align:center;padding:64px 24px}.empty p{max-width:470px;margin:12px auto 22px;color:var(--muted)}.empty-mark{border:1px solid var(--border);color:#64748b;background:#f8fafc;border-radius:12px;font-weight:700;display:grid;place-items:center;width:58px;height:58px;margin:0 auto 20px}.empty h2{font-size:1.2rem;margin-bottom:0}.form-panel{max-width:1040px}.form-panel section{padding:26px 30px;border-bottom:1px solid var(--border)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.form-grid.three{grid-template-columns:repeat(3,1fr)}label{display:block;font-size:.875rem;font-weight:600;color:#475569}input,select,textarea{display:block;width:100%;padding:11px 12px;margin-top:7px;border:1px solid #dbe5f2;border-radius:6px;background:#fff;color:#111827;min-height:44px;font-size:1rem}input:focus,select:focus,textarea:focus{outline:3px solid #2563eb25;border-color:var(--blue)}textarea{resize:vertical;min-width:220px}input:disabled,textarea:disabled{background:#f8fafc;color:#64748b}input::placeholder,textarea::placeholder{color:#64748b;font-weight:400}input[type=number]{font-variant-numeric:tabular-nums}.form-actions{padding:20px 30px;display:flex;justify-content:flex-end;gap:12px;background:#f8fafc}.back{display:inline-block;margin-bottom:18px;font-size:.875rem}.readout{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}dt{font-size:.875rem;color:var(--muted)}dd{margin:5px 0;font-weight:600}.week-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px}.week-bar strong{font-size:.875rem}.timesheet-table th:first-child{width:200px}.timesheet-table td{padding:15px 24px}.hours-column{width:160px}.hours-input{max-width:110px;margin:0}.timesheet-table textarea{margin:0;font-size:.875rem}.timesheet-table .today-row td:first-child{box-shadow:inset 3px 0 var(--blue)}.activity-text{white-space:pre-wrap;overflow-wrap:anywhere}.timesheet-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 24px;border-top:1px solid var(--border)}.submission-note{font-size:.875rem;padding:0 24px 18px;margin:0;color:var(--muted)}.auth-main{max-width:500px;min-height:76vh;padding:64px 20px;margin:auto}.auth-card{border:1px solid var(--border);border-top:4px solid var(--blue);border-radius:10px;background:white;padding:32px}.auth-card h1{font-size:1.8rem}.stack{display:grid;gap:20px;margin:28px 0 18px}.full{width:100%}.auth-switch{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:20px;margin-top:24px;font-size:.875rem;font-weight:600}.notice{padding:14px 18px;border-radius:6px;margin:0 0 20px;font-size:.875rem;border:1px solid #dbe5f2;background:#f8fafc}.notice.error{background:#f8fafc;border-color:#dbe5f2;color:#1e40af}.notice.success{background:#f1f5f9;border-color:#dbe5f2;color:#1e40af}.setting-list{font-size:.875rem;color:var(--muted);line-height:2}.hidden{display:none}footer{border-top:1px solid var(--border);display:flex;justify-content:space-between;padding:22px 4%;font-size:.75rem;color:#64748b}footer>span{color:#64748b}.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}:focus-visible{outline:3px solid #94a3b8;outline-offset:3px}
@media(max-width:850px){.main{padding:28px 20px}.page-heading{align-items:flex-start}.metrics>div{padding:16px}.metrics strong{font-size:1.6rem}.form-grid.three{grid-template-columns:1fr}.readout{grid-template-columns:1fr 1fr}.timesheet-bottom{flex-wrap:wrap}.search{min-width:220px}.panel-head{flex-wrap:wrap}.timesheet-table th:first-child{width:145px}.timesheet-table td{padding:12px 16px}}
@media(max-width:560px){.topbar{padding:18px 20px;min-height:86px}.brand{font-size:1rem}.brand small{font-size:.625rem}.user-menu>span{display:none}.user-menu{gap:10px}.ghost{padding:8px 10px}.tabs{padding:0 20px;gap:24px}.tabs a{font-size:.75rem}.page-heading{flex-direction:column;gap:14px}h1{font-size:1.8rem}.metrics{gap:8px}.metrics>div{padding:13px 10px}.metrics span{font-size:.75rem}.metrics strong{font-size:1.3rem}.form-grid{grid-template-columns:1fr}.form-panel section{padding:22px 20px}.form-actions{padding:20px}.panel-head{padding:20px}.search{width:100%}.week-bar{flex-wrap:wrap}.week-bar strong{order:-1;width:100%;text-align:center;margin-bottom:8px}.timesheet-table{min-width:570px}.timesheet-bottom{padding:18px}.timesheet-bottom .actions{width:100%;justify-content:stretch}.timesheet-bottom button{flex:1}.auth-main{padding-top:32px}.auth-card{padding:26px}footer{gap:20px;flex-wrap:wrap}.readout{grid-template-columns:1fr 1fr}}


/* Daily shift entry and administrator correction. */
.timesheet-table { min-width: 1050px; }
.timesheet-table input[type="time"] { min-width: 120px; }
.timesheet-table textarea { min-width: 220px; }
.timesheet-table td:last-child { min-width: 175px; }
.day-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.day-row .badge { margin-bottom: 8px; white-space: normal; }
.admin-day-panel { padding: 24px; margin-bottom: 24px; max-width: 850px; }
.admin-day-panel label { display: block; margin-bottom: 18px; }
.time-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.feature-panel{margin-bottom:26px}.document-preview{padding:20px}.document-preview iframe{width:100%;height:75vh;border:0}.document-preview img{display:block;max-width:100%;max-height:80vh;object-fit:contain;margin:auto}.leave-review{min-width:240px}.leave-review textarea{margin-bottom:10px}.badge.rejected{background:#f8fafc;color:#1e40af}.metrics .highlight a{color:#f1f5f9}.feature-panel .activity-text{max-width:360px}.document-preview .hint{margin-bottom:0}

/* Staff home and mobile workspace. */
:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--blue:#1e40af;--navy:#111827;--muted:#64748b;background:#f8fafc;color:#111827}
.main{max-width:1440px}.topbar{background:#111827}.brand-mark{background:#1e40af;border-color:#94a3b8;border-radius:13px}.tabs{gap:24px}.tabs a.selected{color:#1e40af;border-color:#1e40af}.panel{border-color:#f1f5f9;box-shadow:0 4px 18px #11182710;border-radius:14px}.primary:hover:not(:disabled){background:#111827}.form-panel label+label{margin-top:14px}.form-grid label+label{margin-top:0}.form-panel section>label{margin-top:18px}
.staff-hero{background:linear-gradient(115deg,#111827,#1e40af);color:#fff;border-radius:22px;padding:32px 36px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}.staff-hero .eyebrow{color:#dbe5f2}.staff-hero h1{font-size:2.6rem;margin:12px 0 8px;letter-spacing:-.045em}.staff-hero p{color:#dbe5f2;margin:0}.hero-action{background:#dbe5f2;border-radius:12px;color:#111827;padding:15px 20px;font-weight:750;display:flex;gap:24px;align-items:center}.hero-action:hover{background:#94a3b8;text-decoration:none}.hero-action span{font-size:1.4rem}.staff-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px}.staff-stats>a{background:#fff;border:1px solid #dbe5f2;border-radius:15px;display:flex;gap:14px;align-items:center;padding:20px;color:#111827;box-shadow:0 4px 18px #11182708}.staff-stats>a:hover{border-color:#64748b;text-decoration:none}.stat-symbol{width:46px;height:46px;flex-shrink:0;border-radius:13px;background:#f1f5f9;color:#1e40af;display:grid;place-items:center;font-weight:800;font-size:.85rem}.staff-stats strong{font-size:1.7rem;line-height:1.2;display:block}.staff-stats .stat-word{font-size:1.25rem}.staff-stats div>span{font-size:.8rem;color:#64748b;display:block;margin-top:4px}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:26px;align-items:start}.dashboard-primary,.dashboard-aside{min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px}.section-heading h2{font-size:1.2rem;margin:3px 0 0}.section-heading>a{font-size:.875rem;font-weight:650;white-space:nowrap}.notice-list{display:grid;gap:16px}.job-card{background:#fff;border:1px solid #dbe5f2;border-radius:15px;padding:23px;min-width:0}.job-unread{border-left:4px solid #1e40af}.job-urgent{border-left-color:#2563eb}.job-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.job-meta time{font-size:.75rem;color:#64748b;margin-left:auto}.job-card h3{font-size:1.15rem;line-height:1.4;margin:15px 0 5px;overflow-wrap:anywhere}.job-sender{font-size:.8rem;color:#64748b;margin:0 0 16px}.job-body{font-size:.95rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.job-footer{border-top:1px solid #f1f5f9;margin-top:19px;padding-top:14px}.reminder-card{border:1px solid #dbe5f2;background:#f8fafc;border-radius:15px;padding:22px;margin-bottom:16px}.reminder-kicker{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:#1e40af}.reminder-card h3{font-size:1.1rem;line-height:1.35;margin:12px 0 8px}.reminder-card p{font-size:.875rem;color:#635f55;line-height:1.6;margin:0 0 17px}.reminder-card a{font-size:.85rem;font-weight:750}.reminder-success{background:#f1f5f9;border-color:#dbe5f2}.reminder-alert{background:#f8fafc;border-color:#dbe5f2}.quick-links{border:1px solid #dbe5f2;border-radius:15px;background:#fff;overflow:hidden}.quick-links a{display:flex;justify-content:space-between;gap:10px;padding:18px 20px;font-size:.875rem;font-weight:650;border-bottom:1px solid #f1f5f9}.quick-links a:last-child{border:0}.pill{background:#f1f5f9;color:#1e40af;padding:9px 15px;border-radius:24px;font-weight:700;font-size:.85rem}.notice-live{background:#f1f5f9;border:1px solid #94a3b8;border-radius:12px;padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.notice-live.hidden{display:none}.badge.submitted{background:#f1f5f9;color:#1e40af}.topbar .user-menu .ghost{border-radius:9px}
@media(max-width:900px){.dashboard-layout{grid-template-columns:1fr}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dashboard-aside .section-heading,.quick-links{grid-column:1/-1}.dashboard-aside .reminder-card{margin:0}.staff-hero{padding:26px}.staff-hero h1{font-size:2.1rem}.tabs{gap:18px}.tabs a{font-size:.76rem}}
@media(max-width:640px){
 .main{padding:20px 14px 35px}.topbar{padding:14px 16px;min-height:76px}.brand{font-size:.96rem;gap:10px}.brand small{font-size:.57rem}.brand-mark{width:39px;height:39px}.tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:10px 12px;overflow:visible}.tabs a{padding:10px 3px;border:0;border-radius:8px;min-height:42px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.64rem;line-height:1.25;white-space:normal;letter-spacing:.02em}.tabs a.selected{background:#f1f5f9;color:#1e40af;border:0}.user-menu>span{display:none}.topbar .ghost{font-size:.72rem;padding:8px;min-height:38px}.staff-hero{border-radius:17px;padding:25px 22px;display:block;margin-bottom:14px}.staff-hero h1{font-size:2rem}.staff-hero .eyebrow{font-size:.65rem}.hero-action{margin-top:22px;justify-content:space-between;font-size:.875rem;padding:12px 15px}.staff-stats{gap:8px;margin-bottom:24px}.staff-stats>a{padding:13px 10px;display:block;text-align:center;border-radius:12px}.stat-symbol{margin:0 auto 10px;width:35px;height:35px;border-radius:10px;font-size:.7rem}.staff-stats strong{font-size:1.35rem}.staff-stats .stat-word{font-size:1rem}.staff-stats div>span{font-size:.65rem;line-height:1.35}.dashboard-layout{gap:24px}.dashboard-aside{display:block}.dashboard-aside .reminder-card{margin-bottom:14px}.section-heading h2{font-size:1.1rem}.section-heading .eyebrow{font-size:.65rem}.section-heading>a{font-size:.75rem}.job-card{padding:18px}.job-meta time{font-size:.65rem}.job-body{font-size:.9rem}.job-card h3{font-size:1.05rem}.reminder-card{padding:20px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:1.8rem}.page-heading>.actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.form-actions{flex-wrap:wrap}.form-actions .primary{flex:1}.form-panel section{padding:20px 17px}input,textarea,select{font-size:16px;min-width:0;max-width:100%}.form-grid,.form-grid.three{grid-template-columns:1fr}.notice-live{align-items:flex-start;flex-direction:column}.document-preview{padding:12px}.document-preview iframe{height:60vh}.table-wrap{overflow:visible}
 .table-wrap table{display:block;min-width:0;width:100%}.table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.table-wrap tbody{display:grid;gap:12px;padding:12px}.table-wrap tbody tr{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid #f1f5f9;border-radius:12px;background:#fff;overflow:hidden;min-width:0}.table-wrap td{display:block;padding:11px 14px;text-align:left;min-width:0!important;width:auto!important;border-bottom:1px solid #f1f5f9;overflow-wrap:anywhere}.table-wrap td:before{content:attr(data-label);display:block;font-size:.64rem;line-height:1.2;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:750;margin-bottom:7px}.table-wrap td:last-child{border-bottom:0}.table-wrap .actions{justify-content:flex-start;flex-wrap:wrap}.table-wrap .numeric{white-space:normal}.table-wrap .person{min-width:0}.leave-review{min-width:0}.feature-panel .activity-text{max-width:none}
 .timesheet-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}.timesheet-table td:first-child{grid-column:1/-1;background:#f8fafc}.timesheet-table td:nth-child(4),.timesheet-table td:nth-child(5),.timesheet-table td:nth-child(6){grid-column:1/-1}.timesheet-table input[type=time],.timesheet-table textarea{min-width:0;width:100%}.timesheet-table .day-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.timesheet-table .today-row td:first-child{box-shadow:inset 4px 0 #1e40af}.timesheet-bottom{padding:16px}.timesheet-bottom .week-submit,.timesheet-bottom .week-submit button{width:100%}.submission-note{padding:14px 16px;line-height:1.55}.metrics>div{padding:13px 10px}.metrics>div a{font-size:.72rem}
}

.full-notice-link{display:inline-block;margin-top:14px;font-size:.875rem;font-weight:700}.job-card:target{outline:3px solid #94a3b8;outline-offset:3px}

.week-group{margin-bottom:18px}.week-group>summary{cursor:pointer;padding:20px 24px;display:flex;align-items:center;gap:20px;list-style:none;background:#f8fafc}.week-group>summary::-webkit-details-marker{display:none}.week-group>summary:before{content:'+';font-size:1.35rem;color:#1e40af;width:22px;flex-shrink:0}.week-group[open]>summary:before{content:'−'}.week-group[open]>summary{border-bottom:1px solid var(--border)}.week-title{flex:1}.week-title strong{font-size:1rem}.week-summary{text-align:right}.week-summary strong{font-size:.875rem}.date-entry{display:flex;align-items:center;position:relative}.date-entry>.formatted-date{padding-right:52px;width:100%}.date-calendar{position:absolute;right:2px;bottom:2px;width:44px;height:42px;display:grid;place-items:center;border-left:1px solid #f1f5f9;color:#1e40af;font-size:1.6rem}.date-calendar .native-date-picker{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0}.date-calendar:focus-within{outline:3px solid #94a3b8;border-radius:4px}
@media(max-width:640px){.week-group>summary{padding:16px;gap:10px;flex-wrap:wrap}.week-title strong{font-size:.9rem}.week-summary{width:100%;text-align:left;padding-left:32px}.week-summary small{display:inline;margin-left:8px}.week-group .table-wrap tbody{padding:10px}}

.payment-status{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.payment-status h2{margin:0 0 6px}.payment-status p{font-size:.875rem;color:var(--muted);margin:0}.payment-due{background:#f1f5f9;border:1px solid #dbe5f2;border-radius:13px;padding:22px;margin-bottom:24px}.payment-due>span{display:block;font-size:.85rem;color:#475569}.payment-due>strong{display:block;font-size:2.1rem;color:#111827;margin:5px 0}.payment-check{font-size:.9rem;font-weight:650;padding:14px 0}.pay-slip{max-width:900px;padding:32px;margin:auto}.slip-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #dbe5f2;padding-bottom:20px;gap:15px}.slip-header h2{font-size:1.5rem;margin:10px 0}.slip-header p{font-size:.8rem;color:var(--muted)}.slip-details{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:26px 0}.slip-details span{display:block;font-size:.8rem;color:var(--muted);margin-bottom:5px}.slip-details strong{font-size:.9rem}.slip-amounts{margin:20px 0}.slip-amounts>div{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid #f1f5f9}.slip-amounts dd{margin:0;font-weight:700;white-space:nowrap}.slip-amounts .slip-total{background:#f1f5f9;padding:18px 12px;font-weight:750}
@media(max-width:640px){.payment-status{flex-direction:column;align-items:stretch;padding:18px}.pay-slip{padding:20px 16px}.slip-details{grid-template-columns:1fr}.slip-header h2{font-size:1.2rem}.slip-amounts{font-size:.875rem}}
@media print{body{background:white!important;color:#111!important}.topbar,.tabs,footer,.no-print,.notice{display:none!important}.main{padding:0!important;max-width:none!important;min-height:0!important}.pay-slip{box-shadow:none;border:0;max-width:none;padding:12mm;margin:0}.slip-details{display:grid;grid-template-columns:1fr 1fr}.pay-slip,.slip-amounts>div{break-inside:avoid}.pay-slip .badge{color:#111;border:1px solid #777}.pay-slip a{color:inherit}}

/* SB Empire blue, black and grey branding; existing layout retained. */
:root{--blue:#2563eb;--navy:#111827;--border:#e2e8f0;--muted:#64748b;background:#f3f4f6;color:#111827}.topbar{background:#101318}.staff-hero{background:linear-gradient(115deg,#111827,#1e3a5f)}.hero-action{background:#2563eb;color:#fff}.hero-action:hover{background:#1d4ed8}.staff-hero .eyebrow,.staff-hero p{color:#cbd5e1}.primary:hover:not(:disabled){background:#1d4ed8}.tabs a.selected{color:#1d4ed8;border-color:#2563eb}.panel,.job-card{box-shadow:0 4px 18px #1118270a}.reminder-card,.reminder-success{background:#f8fafc;border-color:#dbe2ea}.reminder-alert{background:#eff6ff;border-color:#93c5fd}.reminder-card p,.reminder-kicker{color:#475569}.badge.active,.badge.submitted{background:#eaf2ff;color:#1e40af}.badge.draft,.badge.terminated{background:#eef0f3;color:#475569}.badge.rejected,.notice.error{background:#e5e7eb;color:#111827;border-color:#9ca3af}.notice.success,.notice-live{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.job-unread{border-left-color:#2563eb}.job-urgent{border-left-color:#111827}.payment-due,.slip-amounts .slip-total{background:#eff6ff}.payment-due>strong{color:#1e40af}.stat-symbol,.pill{background:#eaf2ff;color:#1e40af}
@media(max-width:640px){.tabs a.selected{background:#eaf2ff;color:#1d4ed8}.timesheet-table td:first-child{background:#f3f4f6}.timesheet-table .today-row td:first-child{box-shadow:inset 4px 0 #2563eb}}

.topbar{background:#000}.brand-logo{display:block;width:140px;height:46px;object-fit:none;flex-shrink:0}.brand-copy small{max-width:180px;white-space:normal;line-height:1.6;letter-spacing:.08em;color:#cbd5e1}.brand{min-width:0}
@media(max-width:640px){.brand-logo{width:92px;height:39px;object-fit:cover}.brand-copy small{max-width:125px;font-size:.57rem;letter-spacing:.04em}.brand{gap:8px}}

/* Approved logo and tagline on a clean white header. */
.topbar{background:#fff;color:#111827;border-bottom:1px solid #e2e8f0}.brand-logo{width:320px;height:56px;object-fit:cover;object-position:center}.brand-copy small{color:#64748b}.topbar .user-menu small{color:#64748b}.topbar .ghost{color:#334155;border-color:#cbd5e1;background:#f8fafc}.topbar .ghost:hover{background:#eff6ff;border-color:#93c5fd}
@media(max-width:850px){.brand-logo{width:250px;height:48px}.brand-copy small{max-width:135px;font-size:.62rem}}
@media(max-width:640px){.brand{flex-direction:column;align-items:flex-start;gap:2px}.brand-logo{width:220px;height:40px;object-fit:cover}.brand-copy small{max-width:none;font-size:.52rem;letter-spacing:.06em;line-height:1.4}.topbar{gap:10px}}
@media(max-width:360px){.brand-logo{width:195px;height:36px}}

/* Prestart checks: large controls and readable signed records. */
.prestart-check{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #e2e8f0}.prestart-check>label:first-child{font-weight:600}.prestart-note{grid-column:1/-1}.prestart-declaration{padding:18px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;line-height:1.7;margin:18px 0}.prestart-sign{display:flex;gap:12px;align-items:flex-start}.prestart-sign input{width:22px;height:22px;flex:0 0 22px;margin:0}.prestart-filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.prestart-failed{color:#b91c1c}.prestart-alert{background:#fef2f2;border-left:4px solid #b91c1c;scroll-margin-top:24px}.prestart-issue{padding:12px 0;border-top:1px solid #fecaca}.prestart-links a{display:block;margin:6px 0}.prestart-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 0;border-bottom:1px solid #e2e8f0}.prestart-result p{grid-column:1/-1;margin:0}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:640px){.prestart-check{grid-template-columns:1fr}.prestart-check select{min-height:48px}.prestart-filters>a{flex:1 1 100%;text-align:center}.prestart-result{gap:10px}}

/* Compact prestart choices, optional evidence and touch signature. */
.prestart-form .prestart-check{display:block;min-width:0;margin:0;padding:12px 0;border:0;border-bottom:1px solid #e2e8f0}.prestart-check legend{float:left;width:100%;font-size:.92rem;font-weight:600;padding:0;margin:0 0 8px}.check-tools{clear:both;display:flex;align-items:center;justify-content:space-between;gap:10px}.result-buttons{display:flex;gap:6px;flex-wrap:wrap}.result-option{position:relative;margin:0!important;cursor:pointer}.result-option input{position:absolute;opacity:0;width:100%;height:100%;margin:0;inset:0;cursor:pointer}.result-option span{display:block;min-width:66px;padding:10px 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;text-align:center;font-size:.85rem;font-weight:600;color:#475569}.result-option input:focus-visible+span{outline:3px solid #93c5fd;outline-offset:2px}.result-option input:checked+.result-pass,.result-option input:checked+.result-yes{background:#ecfdf5;border-color:#059669;color:#065f46}.result-option input:checked+.result-fail,.result-option input:checked+.result-no{background:#fef2f2;border-color:#dc2626;color:#991b1b}.result-option input:checked+.result-na{background:#eff6ff;border-color:#2563eb;color:#1d4ed8}.photo-picker{position:relative;flex-shrink:0;margin:0!important;overflow:hidden;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;color:#334155;font-size:.8rem;cursor:pointer}.photo-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.photo-picker:focus-within{outline:3px solid #93c5fd}.photo-status{align-items:center;gap:10px;font-size:.8rem;color:#475569;margin-top:8px;overflow-wrap:anywhere}.photo-status:not([hidden]){display:flex}.photo-remove,.signature-clear{border:0;background:none;color:#2563eb;padding:8px;font-size:.8rem;cursor:pointer}.check-notes{margin-top:6px}.check-notes summary{font-size:.78rem;color:#64748b;cursor:pointer;padding:5px 0}.check-notes textarea{margin-top:6px}.failure-note-hint{display:none}.prestart-check.has-failure .failure-note-hint{display:inline;color:#b91c1c}.fitness-choice{border:0;padding:0;margin:0 0 16px;min-width:0}.fitness-choice legend{font-weight:600;margin-bottom:8px}.signature-heading{display:flex;align-items:center;justify-content:space-between}.signature-pad canvas{display:block;width:100%;max-width:600px;aspect-ratio:3/1;height:auto;touch-action:none;border:1px solid #94a3b8;border-radius:10px;background:#fff;cursor:crosshair}.signature-pad{margin:18px 0}.prestart-photo{width:112px;max-height:100px;object-fit:cover;border-radius:8px;border:1px solid #e2e8f0}.signed-prestart{display:block;width:100%;max-width:450px;border:1px solid #e2e8f0;border-radius:8px}.prestart-form .prestart-declaration{padding:12px;font-size:.83rem;line-height:1.6}.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:400px){.result-option span{min-width:58px;padding:10px}.photo-picker{padding:10px 8px}.check-tools{gap:6px}}

.sheet-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.sheet-actions form{margin:0}.delete-action{color:#b91c1c!important;border-color:#fecaca!important;background:#fff!important}

.licence-photo-card{min-width:0;padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.licence-photo-card input{max-width:100%}.licence-photo-card .actions{margin:10px 0}.licence-photo-card small{display:block}

.payment-balance{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;margin-top:20px;border:1px solid #93c5fd;border-radius:12px;background:#eff6ff;color:#1e3a8a}.payment-balance span{display:block;font-size:.85rem}.payment-balance .balance-value{display:block;font-size:2rem;font-variant-numeric:tabular-nums;margin-top:4px}.balance-allocation{text-align:right}.allocated-value{font-variant-numeric:tabular-nums}.payment-balance.balanced{background:#ecfdf5;border-color:#6ee7b7;color:#065f46}.payment-balance.overallocated{background:#fef2f2;border-color:#fca5a5;color:#991b1b}@media(max-width:400px){.payment-balance{padding:14px;gap:10px}.payment-balance .balance-value{font-size:1.7rem}}

/* Server-recorded timesheet entry timestamps. */
.entry-recording{min-width:215px;font-size:.75rem;overflow-wrap:anywhere}.recording-stamp+.recording-stamp{margin-top:10px}.recording-stamp>strong,.recording-stamp>time,.recording-stamp>span{display:block}.recording-stamp>strong{color:#1e40af}.recording-stamp time{font-variant-numeric:tabular-nums}.recording-stamp small{margin-top:2px}.recording-summary{font-variant-numeric:tabular-nums}.recording-note{padding-top:6px}
@media(max-width:640px){.timesheet-table td:nth-child(7){grid-column:1/-1}.timesheet-table .entry-recording{min-width:0}.recording-stamp time{white-space:normal}}

.staff-role-picker,.bf-workspaces{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.staff-role-picker{border:0;padding:0;margin:0 0 16px}
.staff-role-picker legend{font-weight:600;margin-bottom:8px}
.staff-role-picker label{display:inline-flex;align-items:center;gap:8px;min-height:40px;margin:0}
.staff-role-picker input[type=checkbox]{width:18px;height:18px;margin:0;min-height:0}
.bf-workspaces{margin-bottom:16px}.bf-workspaces button{min-height:36px}
