/* Scoped RH workspace. Visibility controlled by authorization remains untouched. */
.rh{--navy:#142a41;--blue:#215dc1;--muted:#65748b;--line:#e1e7ef;background:#f3f5f9;color:#1d2d43;font-size:14px;line-height:1.5}
.rh .container{max-width:1480px;padding:18px 28px;margin:auto}
.rh-header{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;color:var(--navy);padding:17px 28px;border-bottom:1px solid var(--line)}
.rh-brand{display:flex;align-items:center;gap:12px}.rh-brand img{width:40px;height:40px;border-radius:10px}.rh-header h1{font-size:21px;letter-spacing:-.6px}.rh-header h1 span{font-size:16px;font-weight:500;color:#718097;border-left:1px solid #cbd4df;margin-left:10px;padding-left:10px}.rh-header small{font-size:12px;color:var(--muted)}
.rh-badge,.pill{font-size:11px;font-weight:700;background:#edf4ff;color:#2258a1;border:1px solid #d8e6fb;border-radius:6px;padding:6px 10px;white-space:nowrap}
.rh .nav{margin:0 0 12px;gap:16px}.rh .nav a{background:none;font-size:12px;padding:0;color:var(--muted)}
.rh .warn{font-size:12px;padding:10px 14px;border:1px solid #f1dfb5;background:#fff9ec;margin:10px 0}.rh #status:empty{display:none}.rh #status{font-size:13px;border-radius:7px}
.workspace-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0 20px}.workspace-topbar strong{font-size:22px;letter-spacing:-.5px}
.rh .rh-eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:700;color:var(--muted);margin:0 0 3px}.rh #logout{width:auto;padding:8px 13px;min-height:36px;font-size:12px;margin:0;background:#fff;border:1px solid var(--line);color:#41516a}
.workspace-shell{display:grid;grid-template-columns:202px minmax(0,1fr);gap:24px;align-items:start}
.workspace-nav{position:sticky;top:20px;padding:16px 10px;background:#fff;border:1px solid var(--line);border-radius:12px}
.nav-caption{font-size:9px;font-weight:800;letter-spacing:1.3px;color:#8794a6;margin:0 12px 14px}.rh .workspace-nav button{display:flex;align-items:center;gap:10px;width:100%;margin:3px 0;background:transparent;color:#516079;text-align:left;font-size:13px;font-weight:600;border-radius:7px;min-height:42px;padding:10px 12px}
.rh .workspace-nav button:hover{background:#f4f7fb}.rh .workspace-nav button[aria-current]{background:#eaf1ff;color:#215dc1}.nav-symbol{width:18px;text-align:center;font-size:19px;font-weight:400}.nav-footnote{border-top:1px solid var(--line);padding:16px 10px 0;margin:22px 0 0;color:#8894a4;font-size:10px;line-height:1.7}
.workspace-content{min-width:0}[data-rh-view][hidden]{display:none!important}
.rh .card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 4px #142a4103;padding:24px;margin-bottom:20px;min-width:0}.rh .card h2{font-size:19px;letter-spacing:-.4px;margin:0 0 12px}.rh .card h3{font-size:13px;font-weight:700;margin:22px 0 10px}.rh .card p{color:var(--muted);font-size:13px}.rh .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.view-heading{margin:0 0 20px}.view-heading h2{margin:0;font-size:23px;letter-spacing:-.5px}.view-heading p{color:var(--muted);margin:5px 0}
.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:25px}.rh .section-title h2{margin:4px 0 6px;font-size:23px}.rh .section-title p{margin:0}.rh .section-title .pill{margin-top:4px}
.rh input,.rh select{background:#fff;color:#25364c;min-height:38px;padding:8px 10px;font-size:13px;border:1px solid #ccd6e3;border-radius:6px;margin:5px 0 12px}.rh input[type=checkbox]{width:16px;height:16px;min-height:16px;margin:0;flex:none;accent-color:var(--blue)}.rh label{font-size:12px;font-weight:600}.rh button{background:var(--blue);border-radius:6px;font-size:13px;min-height:38px;padding:9px 14px}.rh button.secondary{background:#f4f6fa;color:#40536e;border:1px solid var(--line)}.rh button:disabled{cursor:default}.rh :is(input,select,button,a,summary):focus-visible{outline:3px solid #309780;outline-offset:3px}
.rh table{display:table;width:100%;table-layout:auto;margin:0}.rh th{font-size:11px;font-weight:700;letter-spacing:.2px;color:#64748b;background:#f7f9fc;padding:11px 14px;border-top:1px solid var(--line)}.rh td{font-size:12px;vertical-align:top;padding:13px 14px;overflow-wrap:anywhere;border-color:#edf0f5}.rh :is(#scheduleModels,#scheduleHistory,#sites,#employees,#devices,#punches){overflow-x:auto}.rh #scheduleModels td:first-child{font-weight:600;min-width:150px}.rh #scheduleModels td:last-child{min-width:250px;max-width:430px;line-height:1.8}.rh #scheduleModels table{margin-bottom:22px}
.work-action{border:1px solid var(--line);border-radius:8px;background:#fff;margin:10px 0}.work-action summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;cursor:pointer;list-style:none}.work-action summary::-webkit-details-marker{display:none}.work-action summary strong{font-size:13px;display:block;color:#253a54}.work-action summary small{font-size:11px;color:#7b889a;display:block;margin-top:3px}.action-plus{font-size:22px;font-weight:400;color:#55718e;line-height:1}.work-action[open] .action-plus{transform:rotate(45deg)}.work-action[open] summary{border-bottom:1px solid var(--line);background:#fafbfd}.details-body{padding:18px 16px}.rh .details-body>p:first-child{margin-top:0}.rh .workspace-footnote{font-size:11px;margin:22px 0 0;color:#8491a3}
.schedule-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px}.schedule-presets{display:flex;gap:8px;flex-wrap:wrap;margin:2px 0 16px}.rh .schedule-presets button{width:auto;font-size:11px;min-height:32px;padding:6px 10px}
.schedule-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:7px;margin-bottom:16px}.schedule-column-head,.schedule-day{display:grid;grid-template-columns:120px minmax(240px,1fr) minmax(240px,1fr);align-items:center;gap:12px;min-width:650px;padding:9px 12px}.schedule-column-head{background:#f5f8fc;font-size:10px;font-weight:700;color:#708096}.schedule-day{border-top:1px solid #edf0f5}.schedule-weekday{display:flex;align-items:center;gap:9px}.schedule-slot{display:flex;align-items:center;gap:5px}.rh .schedule-slot label{margin:0}.rh .schedule-slot input[type=time]{width:92px;min-height:32px;padding:4px 6px;margin:0;font-size:12px}.rh .next-day{display:flex;align-items:center;gap:3px;font-size:10px;font-weight:400;color:#6f7d90}.time-separator{color:#9da9b8}
.compact-form form{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;align-items:end}.compact-form form>button{width:auto;justify-self:start}.rh #scheduleCreate>button{width:auto}.rh :is(#journeyReport,#labReportForm){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.rh :is(#reportCsv,#reportPrint,#labCsv,#labEventCsv,#labPrint){width:auto;margin:4px 5px 14px 0;font-size:12px;padding:8px 12px}
.rh #loginbox{max-width:430px;margin:48px auto;padding:32px}.rh #loginbox h2{font-size:24px}.rh-footer{font-size:10px;text-align:center;padding:20px;color:#8995a6}
.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;left:16px;top:-100px;background:#fff;color:#142a41;padding:12px;z-index:10}.skip-link:focus{top:10px}
@media(max-width:1050px){.workspace-shell{grid-template-columns:170px minmax(0,1fr);gap:16px}.rh .grid{grid-template-columns:minmax(0,1fr)}.rh .container{padding:16px}.rh .card{padding:20px}}
@media(max-width:720px){.rh-header{padding:15px 16px;flex-wrap:wrap;gap:10px}.rh-badge{font-size:9px}.workspace-shell{display:block}.workspace-nav{position:static;display:flex;gap:6px;padding:7px;margin-bottom:16px;overflow-x:auto}.workspace-nav .nav-caption,.nav-footnote,.nav-symbol{display:none}.rh .workspace-nav button{width:auto;flex:none;font-size:11px;min-height:34px;padding:8px 11px;white-space:nowrap}.workspace-topbar strong{font-size:20px}.section-title{flex-wrap:wrap;gap:8px}.schedule-meta,.compact-form form,.rh :is(#journeyReport,#labReportForm){grid-template-columns:minmax(0,1fr)}.rh #logout{font-size:10px;max-width:140px}.rh .card{padding:16px}.rh .section-title h2{font-size:21px}}
@media print{.workspace-nav,.workspace-topbar,.rh .nav,.rh-badge{display:none}.workspace-shell{display:block}.rh .card{box-shadow:none}}

.rh textarea{width:100%;font:inherit;padding:10px;border:1px solid #ccd6e3;border-radius:6px;resize:vertical;margin:5px 0 12px}.attendance-filter,.decision-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px;align-items:end}.attendance-filter .wide-field{grid-column:1/-1}.attendance-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.attendance-stats>div{border:1px solid #e1e7ef;border-radius:8px;padding:16px;background:#f7f9fc}.attendance-stats strong{font-size:25px;display:block}.attendance-stats span{font-size:11px;color:#65748b}.request-item{border-top:1px solid #e1e7ef;padding:18px 0}.request-title{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.request-reason{white-space:pre-wrap;overflow-wrap:anywhere}.table-scroll{overflow-x:auto}.rh #attendanceCsv{width:auto}.rh #attendanceCategory{max-width:280px;display:block}@media(max-width:720px){.attendance-filter,.decision-form{grid-template-columns:minmax(0,1fr)}.attendance-stats{grid-template-columns:minmax(0,1fr)}}

.decision-form .wide-field{grid-column:1/-1}

.overview-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 14px;align-items:end}.overview-filter>button{width:auto;justify-self:start}.overview-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.rh .overview-toolbar button{width:auto;font-size:12px;margin:0}.overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.overview-stats>div{border:1px solid #e1e7ef;background:#f7f9fc;border-radius:8px;padding:16px}.overview-stats span{display:block;font-size:11px;color:#65748b}.overview-stats strong{display:block;font-size:21px;letter-spacing:-.5px;font-weight:700;margin-top:6px;font-variant-numeric:tabular-nums}.rh .overview-day{width:auto;min-height:32px;margin:0;padding:4px 0;background:none;color:#215dc1;text-align:left;font-size:12px}.rh .overview-week-table{min-width:830px}.rh .overview-selected{background:#edf3ff}.rh .overview-month-table{min-width:850px;font-variant-numeric:tabular-nums}.rh .overview-month-table td,.rh .overview-month-table th{text-align:right}.rh .overview-month-table td:first-child,.rh .overview-month-table th:first-child{text-align:left;min-width:150px}.overview-month-table small{display:block;font-size:10px;font-weight:400;color:#65748b;white-space:normal;margin-top:4px}.overview-month-table tfoot{background:#f3f6fb;font-weight:700}.rh #overviewDetail{border-top:1px solid #e1e7ef;padding-top:16px;margin-top:20px}@media(max-width:1050px){.overview-filter,.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.overview-filter{grid-template-columns:minmax(0,1fr)}.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-stats>div{padding:12px}.overview-stats strong{font-size:18px}}

.calendar-entry{padding:18px 0;border-bottom:1px solid var(--line,#e3e9f2)}.calendar-entry .status-tag{float:right}.calendar-entry small{overflow-wrap:anywhere}.calendar-entry p{margin:9px 0}#calendarConfirm{width:auto;display:inline;vertical-align:middle;margin-right:8px}

.annual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.annual-month{border:1px solid #e1e7f0;border-radius:10px;padding:12px}.annual-month h3{margin:0 0 12px}.annual-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.annual-days small{padding:5px;color:#60718a}.annual-days .annual-day{min-width:0;padding:7px 0;margin:0;border:1px solid transparent;background:#f5f7fb;color:#18324d;border-radius:5px;font-size:12px}.annual-days .suggested,.annual-days .pending{background:#fff1c9;color:#765400}.annual-days .full{background:#dce8ff;color:#164da7}.annual-days .partial{background:#d7f4e9;color:#126248}.annual-days .normal{background:#e8ecf1;color:#4a5669}.annual-days button:hover,.annual-days button:focus-visible{border-color:#164da7;outline:2px solid #b6cef8}.annual-legend{font-size:12px;color:#536782}#annualDayConfirm,#annualLinkConfirm{width:auto;display:inline;vertical-align:middle;margin-right:8px}@media(max-width:1100px){.annual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.annual-grid{grid-template-columns:1fr}}

.annual-controls{padding:16px 20px}.annual-controls .overview-filter{grid-template-columns:80px minmax(130px,1fr) minmax(175px,1.15fr) minmax(170px,1fr) auto;gap:12px;align-items:end}.annual-controls .overview-filter button{width:auto;white-space:nowrap;padding:10px 14px}.annual-context-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0}.annual-context-bar p{margin:0;font-size:12px}.annual-context-bar button{width:auto;padding:8px 14px}.annual-help{font-size:12px;color:#536782;margin:8px 0}.annual-help summary{cursor:pointer}.annual-workspace{display:grid;grid-template-columns:minmax(300px,1fr) minmax(360px,1.1fr);gap:24px;padding:20px}.annual-editor-pane{border-left:1px solid #e3e9f2;padding-left:24px;min-width:0}.annual-editor-pane h3{margin:0 0 6px}.annual-editor-pane p{margin:6px 0;font-size:12px}.annual-editor-pane .attendance-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.annual-editor-pane label{font-size:12px}.annual-editor-pane input,.annual-editor-pane select{min-height:36px;padding:8px 10px}.annual-editor-pane button{width:auto;justify-self:start;padding:10px 18px}.annual-month-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.annual-month-nav h3{margin:0;font-size:18px}.annual-month-nav button{width:36px;padding:7px;margin:0}.annual-month-pane .annual-month{border:0;padding:0}.annual-month-pane .annual-month h3{display:none}.annual-month-pane .annual-days{gap:5px}.annual-month-pane .annual-days .annual-day{padding:12px 0;font-size:14px}.annual-days .annual-selected{border-color:#245cc8;box-shadow:inset 0 0 0 1px #245cc8}.annual-legend{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:11px;margin-bottom:4px}.annual-legend span:nth-child(1){color:#926b12}.annual-legend span:nth-child(2){color:#245cc8}.annual-legend span:nth-child(3){color:#147456}.annual-legend span:nth-child(4){color:#5d6777}.annual-secondary{padding:12px 20px}.annual-secondary>.work-action{margin:0}.annual-secondary>.work-action>summary{padding:8px 0;background:transparent;border:0}@media(max-width:1250px){.annual-controls .overview-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.annual-controls .overview-filter button{justify-self:start}.annual-workspace{grid-template-columns:minmax(260px,1fr) minmax(300px,1.1fr);gap:16px}.annual-editor-pane{padding-left:16px}}@media(max-width:900px){.annual-workspace{grid-template-columns:1fr}.annual-editor-pane{border-left:0;border-top:1px solid #e3e9f2;padding:18px 0 0}.annual-controls .overview-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.annual-controls .overview-filter,.annual-editor-pane .attendance-filter{grid-template-columns:1fr}.annual-context-bar{align-items:flex-start;flex-direction:column}.annual-month-pane .annual-days .annual-day{padding:10px 0}}

.closing-check{border:1px solid #dbe4f2;border-left:4px solid #d8a238;border-radius:8px;background:#fffaf0;padding:14px 18px;margin:14px 0}.closing-check.ready{background:#f0faf6;border-left-color:#218766}.closing-check p{font-size:12px;margin:8px 0 0}.closing-check ul{margin:8px 0;padding-left:20px}.closing-action{display:grid;gap:12px;padding:18px 0}.closing-action label{font-size:13px}.closing-action button{width:auto;justify-self:start}.closing-action input[type=checkbox]{width:auto;display:inline;vertical-align:middle}.closing-history-item{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e3e9f2}.closing-history-item p{margin:5px 0;font-size:12px}.closing-history-item button{width:auto;align-self:start;white-space:nowrap}@media(max-width:650px){.closing-history-item{flex-direction:column}}

.closing-action[hidden]{display:none!important}

/* Current closing recommendations; operational details remain expandable. */
.rh .closing-guide {margin:16px 0;padding:18px 20px;border:1px solid #dbe5f1;border-left:4px solid #245ac5;border-radius:10px;background:#f5f8ff}
.rh .closing-guide h3 {margin:0 0 8px;font-size:18px}
.rh .closing-guide p {margin:6px 0 12px;line-height:1.55}
.rh .closing-guide.done,.rh .closing-guide.ready {background:#f0faf6;border-left-color:#178568}
.rh .closing-guide.attention {background:#fffaf0;border-left-color:#d69c22}
.rh .closing-notices {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;list-style:none;padding:0;margin:14px 0}
.rh .closing-notices li {padding:12px;border:1px solid #e2e7ef;border-radius:8px;background:#fff}
.rh .closing-notices strong {display:flex;justify-content:space-between;gap:12px}
.rh .closing-notices strong span {font-variant-numeric:tabular-nums}
.rh .closing-notices li p {margin:5px 0 0;font-size:12px}
.rh .closing-guide label {display:block;max-width:420px;margin-bottom:12px}
.rh .attendance-next:not([hidden]) {padding:16px;margin-top:16px;border-radius:8px;background:#eef6ff}

.rh .adjustment-card {padding:16px;margin-top:14px;border:1px solid #dbe5f1;border-radius:10px;background:#f8faff}
.rh .adjustment-steps {display:flex;gap:12px;list-style:none;padding:0;margin:0 0 14px;flex-wrap:wrap;font-size:12px;font-weight:600;color:#245ac5}
.rh .adjustment-context {font-size:12px;color:#526983}
.rh .adjustment-fields {display:contents;border:0;padding:0;margin:0}
.rh .adjustment-fields[hidden] {display:none}
.rh .adjustment-fields:disabled {display:none}
.rh .adjustment-result {border:1px solid #c9ded7;background:#f0faf6;border-radius:8px;padding:16px;margin:12px 0}
.rh .adjustment-result h3 {font-size:16px;margin:0 0 12px}
.rh .adjustment-comparison {display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px}
.rh .adjustment-comparison strong {display:block;font-size:23px;margin:6px 0}
.rh .adjustment-comparison small {display:block}
