.leave-progress{margin-top:.8rem;min-width:0;color:var(--ink,#142f3b)}
.leave-progress ol{list-style:none;margin:0;padding:0;border-inline-start:2px solid #647f85}
.leave-progress li{padding:.35rem .7rem;overflow-wrap:anywhere}
.leave-progress li strong,.leave-progress li span{display:block;font-size:.83rem;line-height:1.5}
.leave-progress li[aria-current=step]{background:#edf6f4;border-radius:0 .45rem .45rem 0}
.leave-next{font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}
.payroll-exception-review{min-width:0;overflow-wrap:anywhere}
.payroll-exception-review h3{margin-block:1rem .5rem}
.payroll-exception-review ul{padding-inline-start:1.25rem}
.payroll-exception-review li{margin-block:.6rem}
.payroll-exception-review p{line-height:1.55}
[data-payroll-exception-inspect]{white-space:normal;max-width:100%;margin-block:.65rem}
/* C5-R2: existing queues, compact role-specific shortcuts, keyboard first. */
.attention-card { min-width: 0; }
.attention-card .card-head { align-items: flex-start; }
.attention-card .attention-row { display: flex; gap: 12px; align-items: center; min-width: 0; }
.attention-card .request-info { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.attention-card .button { min-height: 44px; flex-shrink: 0; }
.attention-more summary { cursor: pointer; padding: 14px 20px; min-height: 44px; }
.attention-footnote { color: #52615b; font-size: 12px; line-height: 1.6; padding: 12px 20px; margin: 0; border-top: 1px solid #dce5df; }
.attention-card :focus-visible { outline: 3px solid #245c44; outline-offset: 3px; }
@media (max-width: 420px) { .attention-card .attention-row { flex-wrap: wrap; } .attention-card .request-info { flex-basis: 100%; } }
/* C6 retains C5-R4's essential clock and first-task initial viewport fit. */
@media (max-width: 760px) {
  .employee-day-page .employee-head { margin-bottom: 12px; }
  .employee-day-main > .attention-card { margin-top: 14px; }
  .employee-day-main > .attention-card .card-head { padding: 12px 20px; }
  .employee-day-page .clock-card { text-align: left; padding: 12px 20px; }
  .employee-day-page .clock-icon, .employee-day-page .big-clock { display: none; }
  .employee-day-page .clock-card h2 { font-size: 17px; }
  .employee-day-page .clock-date { font-size: 11px; margin: 4px 0; }
  .employee-day-page .shift-pill { margin: 4px 0; padding: 6px 10px; }
  .employee-day-page .clock-button { padding: 12px; font-size: 17px; }
  .employee-day-page .clock-meta { margin-top: 4px; font-size: 12px; }
  .employee-day-page .location-box { margin-top: 8px; padding-top: 8px; font-size: 12px; }
  .employee-day-page .location-box p { font-size: 11px; }
}
/* Informational live-region messages are never interactive overlays. This also
   removes the faded-out toast's invisible hit area above mobile actions. */
#toast { pointer-events: none; }
/* C6: scoped feedback and mobile leave/timesheet layout; no visual reordering. */
.ux-empty-state strong { display: block; color: var(--navy); font-size: 14px; }
.ux-empty-state p { margin-top: 6px; line-height: 1.6; }
.ux-leave-cancel-form { display: grid; gap: 8px; margin: 0; max-width: 100%; }
.ux-leave-cancel-form .notice { margin: 0; max-width: 26rem; }
#timesheet-submit-form { margin: 0; max-width: 100%; }
.ux-leave-review .ux-save-unconfirmed:focus, .ux-timesheet-review .ux-save-unconfirmed:focus,
#timesheet-submit-form .ux-save-unconfirmed:focus, .ux-leave-cancel-form .ux-save-unconfirmed:focus { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 760px) {
  .ux-timesheet-review label { min-width: 0; }
  .ux-timesheet-review textarea { min-width: 0; width: 100%; max-width: 100%; min-height: 96px; font-size: 16px; }
  .ux-leave-requests .leave-row { flex-wrap: wrap; gap: 12px; }
  .ux-leave-requests .leave-row > div:first-child { min-width: 0; overflow-wrap: anywhere; }
  .ux-leave-requests .leave-row .row-actions { width: 100%; align-items: flex-start; }
  .ux-leave-cancel-form { flex: 1 1 auto; }
  .ux-leave-requests .button, .ux-leave-review .button, .ux-timesheet-review .button,
  .employee-history .button { min-height: 44px; white-space: normal; }
  .employee-history .card-head { flex-wrap: wrap; gap: 12px; }
  .employee-history .card-head > div { min-width: 0; overflow-wrap: anywhere; }
  .employee-history .row { flex-wrap: wrap; }
  .employee-history .row > span:first-child { min-width: 0; flex: 1 1 180px; overflow-wrap: anywhere; }
  .ux-timesheet-review .card-head { align-items: flex-start; }
  .ux-timesheet-review .card-head > div { min-width: 0; }
  .ux-timesheet-review h2 { overflow-wrap: anywhere; }
}

/* C7 review: calm functional surfaces. No public marketing styles are changed. */
.c7-workspace { --c7-sage:#e7efe9; --c7-lavender:#eee8f7; --c7-ink:#243d39; }
.c7-workspace .sidebar { padding:22px 16px; }
.c7-workspace .workspace { margin:14px 0 16px; padding:8px 10px; border:0; background:transparent; }
.c7-workspace .workspace strong { font-size:15px; line-height:1.4; overflow-wrap:anywhere; }
.c7-workspace .brand .company-wordmark { max-width:100%; width:auto; object-fit:contain; }
.c7-workspace .nav .nav-item { padding:8px 11px; min-height:38px; margin-bottom:3px; font-size:14px; gap:10px; }
.c7-workspace .nav-group { margin:14px 10px 7px; }
.c7-workspace .nav-label { margin-bottom:8px; padding-inline:10px; }
.c7-workspace .sidebar-foot { padding-top:12px; }
.c7-workspace .side-user { margin-top:0; }
.c7-workspace .sidebar-scroll { scrollbar-width:thin; }
.c7-workspace .sidebar-scroll::-webkit-scrollbar { width:5px; }
.c7-workspace .sidebar-scroll::-webkit-scrollbar-thumb { background:#becbc3; border-radius:6px; }
.c7-workspace .card { box-shadow:0 3px 14px #243d3906; border-color:#dce5df; }
.c7-workspace .card-head { background:#f3f7f3; }
.c7-workspace .ux-task-hero { background:var(--c7-sage); color:#243d39; border:1px solid #cdded2; }
.c7-workspace .ux-task-hero p { color:#3b554b; }
.c7-workspace .welcome-symbol { display:none; }
.c7-workspace .stats .stat:nth-child(even) { background:#f1f6f1; }
.c7-workspace .stats .stat:nth-child(odd) { background:#f1f6f1; }
.c7-workspace .attention-card.has-attention > .card-head { background:var(--c7-lavender); }
.c7-workspace .payroll-exception-review.has-attention { border-left:4px solid #7d5b9f; padding:16px; background:#f7f3fc; }
.c7-workspace .c7-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:20px 0; }
.c7-summary article { padding:20px; background:var(--c7-sage); border:1px solid #d3dfd5; border-radius:14px; min-width:0; }
.c7-summary article:nth-child(2) { background:var(--c7-sage); border-color:#d3dfd5; }
.c7-summary span,.c7-summary strong,.c7-summary small { display:block; overflow-wrap:anywhere; }
.c7-summary span { font-size:13px; color:#3e514a; }
.c7-summary strong { font-size:25px; margin:5px 0; line-height:1.25; color:#253c35; }
.c7-summary small { font-size:12px; color:#4d5e57; }
.c7-secondary-tools,.c7-report-filters { margin:20px 0; border:1px solid #dce5df; border-radius:12px; background:#fff; padding:14px 18px; }
.c7-workspace summary { cursor:pointer; font-weight:650; padding:6px 0; color:#29483d; }
.c7-workspace summary:focus-visible,.c7-workspace button:focus-visible,.c7-workspace select:focus-visible { outline:3px solid #325e90; outline-offset:3px; }
.c7-secondary-tools[open] > summary,.c7-report-filters[open] > summary { margin-bottom:16px; }
.c7-workspace .directory-search { padding:20px; background:#eef3ee; margin-bottom:22px; }
.c7-workspace .person { text-align:left; padding:22px; display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.c7-workspace .person > .avatar { margin:0 0 4px; background:var(--c7-lavender); color:#46385e; }
.c7-workspace .person > button { margin-top:auto; }
.c7-workspace .person p { line-height:1.7; overflow-wrap:anywhere; }
.c7-workspace .person h3 { font-size:17px; overflow-wrap:anywhere; }
.c7-workspace .document-row { gap:14px; align-items:flex-start; }
.c7-workspace .document-row > span:first-child { min-width:0; overflow-wrap:anywhere; }
.c7-workspace .report-view-controls { margin-top:8px; }
.c7-workspace .c7-week-overview { border:1px solid #d8e4dc; border-radius:16px; background:#f1f6f1; padding:20px; margin:20px 0; }
.c7-week-overview > p { font-size:12px; margin:8px 0 14px; }
/* Fit the history card, not the viewport: desktop dashboards can have narrow columns. */
.c7-week-days { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr)); gap:7px; }
.c7-week-days > div { padding:10px; border:1px solid #dce4de; border-radius:9px; background:#fff; min-width:0; }
.c7-week-days time,.c7-week-days strong,.c7-week-days small { display:block; overflow-wrap:anywhere; }
.c7-week-days time { font-size:12px; color:#4b6055; }
.c7-week-days strong { font-size:13px; margin:6px 0; }
.c7-week-days small { font-size:11px; color:#53675b; }
.c7-workspace.ux-leave-screen .calendar-grid { display:block; border:0; }
.c7-workspace .calendar-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px 0; padding:0 0 12px; border-top:1px solid #dce4de; }
.c7-workspace.ux-leave-screen .calendar-day { display:block; min-height:66px; padding:10px 7px; border-right:1px solid #e4e9e5; background:#f7f9f6; }
.c7-workspace.ux-leave-screen .calendar-day time { font-size:12px; font-weight:650; }
.c7-workspace.ux-leave-screen .calendar-day small { display:block; font-size:10px; margin-top:5px; }
.c7-workspace.ux-leave-screen .calendar-weekend { background:#f0eef4; }
.c7-workspace .calendar-bar { min-width:0; margin:0 3px; padding:7px 9px; border:1px solid #b9cdbd; border-radius:9px; background:#e4eee5; color:#233e2d; }
.calendar-bar-name { display:block; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.calendar-bar small { display:block; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.c7-workspace .calendar-person-0 { background:#e4eee5; color:#233e2d; border-color:#afc6b3; }
.c7-workspace .calendar-person-1 { background:#ece5f5; color:#44335f; border-color:#cab9df; }
.c7-workspace .calendar-person-2 { background:#e3edf5; color:#2d435b; border-color:#b2c8db; }
.c7-workspace .calendar-person-3 { background:#f3eadc; color:#59442d; border-color:#d8c3a3; }
.c7-workspace .calendar-person-4 { background:#f4e5e9; color:#623b48; border-color:#dab5c1; }
.c7-workspace .calendar-anonymous { background:#eef0ef; color:#3e4c43; border-color:#bdc8c0; }
.c7-workspace .continues-before { border-left-style:dashed; border-top-left-radius:0; border-bottom-left-radius:0; }
.c7-workspace .continues-after { border-right-style:dashed; border-top-right-radius:0; border-bottom-right-radius:0; }
.calendar-date-note { padding:0 20px 18px; font-size:12px; color:#526559; }
.calendar-agenda { display:none; }
@media (max-width:800px) {
  .calendar-month-board { display:none; }
  .calendar-agenda { display:block; }
  .calendar-agenda-day { padding:14px 18px; border-top:1px solid #dce5df; }
  .calendar-agenda-day h3 { font-size:14px; margin-bottom:10px; }
  .calendar-agenda-day .absence-chip { display:grid; gap:4px; padding:10px 12px; margin:7px 0; border:1px solid; border-radius:9px; white-space:normal; overflow-wrap:anywhere; }
  .calendar-agenda-day .absence-chip strong { font-size:14px; }
  .calendar-agenda-day .absence-chip span { font-size:12px; }
  .c7-workspace .c7-summary { grid-template-columns:1fr; gap:10px; }
  .c7-summary article { padding:16px; }
  .c7-summary strong { font-size:22px; }
  .c7-workspace .filter-bar { align-items:stretch; }
  .c7-workspace .filter-bar > label { flex:1 1 150px; min-width:0; }
  .c7-workspace .filter-bar select { width:100%; min-height:44px; }
  .c7-workspace .directory-view-controls { flex-wrap:wrap; }
  .c7-workspace .directory-search { padding:16px; }
  .c7-workspace .person { padding:18px; }
  .c7-workspace .people { grid-template-columns:1fr; }
  .c7-workspace .button { min-height:44px; white-space:normal; }
  .c7-workspace .document-row { flex-wrap:wrap; }
  .c7-workspace .c7-week-overview { padding:16px; }
}
@media (prefers-reduced-motion:reduce) {
  .c7-workspace *, .c7-workspace *::before,.c7-workspace *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

/* C7-R1: native Safari/CSP repair. Placement uses only external CSS classes. */
.c7-workspace .calendar-week { display:block; }
.calendar-week-dates,.calendar-week-lane { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.calendar-week-lane { margin-top:6px; }
.c7-workspace .calendar-bar { grid-column:var(--calendar-start)/span var(--calendar-span); grid-row:1; }
.calendar-start-1 { --calendar-start:1; }
.calendar-start-2 { --calendar-start:2; }
.calendar-start-3 { --calendar-start:3; }
.calendar-start-4 { --calendar-start:4; }
.calendar-start-5 { --calendar-start:5; }
.calendar-start-6 { --calendar-start:6; }
.calendar-start-7 { --calendar-start:7; }
.calendar-span-1 { --calendar-span:1; }
.calendar-span-2 { --calendar-span:2; }
.calendar-span-3 { --calendar-span:3; }
.calendar-span-4 { --calendar-span:4; }
.calendar-span-5 { --calendar-span:5; }
.calendar-span-6 { --calendar-span:6; }
.calendar-span-7 { --calendar-span:7; }
.c7-calendar-filters > summary { padding:14px 20px; background:#f1f6f1; border-bottom:1px solid #dce5df; }
.c7-workspace .directory-query { flex:1 1 260px; min-width:0; }
.c7-workspace .directory-search { flex-wrap:wrap; gap:18px; }
.c7-workspace .directory-query label,.c7-workspace .directory-view-controls label,
.c7-workspace .report-view-controls label { display:grid; gap:6px; min-width:0; font-size:13px; font-weight:650; }
.c7-workspace .directory-view-controls { display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; min-width:0; }
.c7-workspace .directory-view-controls > label { flex:1 1 140px; }
.c7-workspace .directory-search input,.c7-workspace .directory-search select,
.c7-workspace .report-view-controls input,.c7-workspace .report-view-controls select,
.c7-workspace #report-month {
  border:1px solid #c7d5cc; border-radius:9px; background:#fff; color:#253e35;
  padding:10px 12px; min-height:44px; min-width:0; max-width:100%; font:inherit; font-size:14px;
}
.c7-workspace .directory-query input { width:100%; }
.c7-workspace .c7-report-table-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; }
.c7-report-table-scroll:focus-visible { outline:3px solid #325e90; outline-offset:3px; }
.c7-workspace .report-table { width:100%; min-width:640px; border-collapse:collapse; text-align:left; }
.c7-workspace .report-table th,.c7-workspace .report-table td { padding:12px 14px; border-bottom:1px solid #dce5df; vertical-align:top; font-size:14px; }
.c7-workspace .report-table th { background:#f1f6f1; color:#345345; font-size:12px; }
.c7-workspace .report-table th:first-child { min-width:150px; }
@media(max-width:800px) {
  .c7-workspace .filter-bar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .c7-workspace .filter-bar > label { min-width:0; max-width:100%; }
  .c7-workspace .filter-bar > label:last-child { grid-column:1/-1; }
  .c7-workspace .filter-bar select { min-width:0; max-width:100%; box-sizing:border-box; font-size:16px; }
  .c7-workspace .directory-view-controls { width:100%; }
  /* The inherited desktop flex bases become heights in the narrow column. */
  .c7-workspace .directory-query,.c7-workspace .directory-view-controls { flex:0 0 auto; }
  .c7-workspace .directory-search input,.c7-workspace .directory-search select,
  .c7-workspace .report-view-controls input,.c7-workspace .report-view-controls select,
  .c7-workspace #report-month { font-size:16px; }
  .c7-workspace .c7-summary article { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; padding:12px 16px; }
  .c7-summary article > strong { grid-column:2; grid-row:1/span 2; align-self:center; margin:0; max-width:150px; }
  .c7-summary article > small { grid-column:1; }
  .c7-workspace .c7-documents-page .profile-banner { display:none; }
  .c7-workspace .c7-documents-page .profile-top { margin-top:0; align-items:center; padding:18px; gap:12px; }
  .c7-workspace .c7-documents-page .profile-avatar { width:54px; height:54px; flex:0 0 54px; font-size:18px; margin:0; }
  .c7-workspace .c7-documents-page .profile-top .title { padding:0; min-width:0; }
  .c7-workspace .c7-documents-page .profile-top h1 { font-size:21px; }
  .c7-workspace .c7-documents-page .c7-summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:14px 0; }
  .c7-workspace .c7-documents-page .c7-summary article { display:block; padding:10px; }
  .c7-workspace .c7-documents-page .c7-summary small { display:none; }
  .c7-workspace .c7-documents-page .c7-summary strong { font-size:20px; margin-top:6px; }
  .c7-workspace .c7-documents-page .c7-summary span { font-size:12px; }
}
@media(max-width:420px) {
  .c7-workspace .filter-bar { grid-template-columns:1fr; }
}

/* Safari native menu sizing ignores minimums until native appearance is removed. */
.c7-workspace .directory-search select,.c7-workspace .report-view-controls select {
  -webkit-appearance:none; appearance:none; height:44px; min-height:44px;
  padding-right:32px;
  background-image:linear-gradient(45deg,transparent 50%,#345345 50%),linear-gradient(135deg,#345345 50%,transparent 50%);
  background-position:calc(100% - 17px) 19px,calc(100% - 11px) 19px;
  background-size:6px 6px; background-repeat:no-repeat;
}

/* C8 leave-calendar review: date-aligned slim bars, unchanged person palette. */
.c8-calendar-board { border:1px solid #dce4de; border-radius:12px; overflow:hidden; background:#fff; }
.calendar-weekdays { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); background:#f1f6f1; }
.calendar-weekdays > span { min-width:0; padding:8px; color:#3e514a; font-size:11px; font-weight:650; }
.c7-workspace .c8-calendar-board .calendar-week {
  position:relative; min-height:94px; padding-bottom:10px;
  background:linear-gradient(to right,#fff 0%,#fff 71.428571%,#f5f2fa 71.428571%,#f5f2fa 100%);
}
.c8-calendar-board .calendar-week::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(to right,transparent calc(100% - 1px),#dfe6e1 0);
  background-size:calc(100% / 7) 100%;
}
.c8-calendar-board .calendar-week-dates,.c8-calendar-board .calendar-week-lane { position:relative; z-index:1; }
.c7-workspace.ux-leave-screen .c8-calendar-board .calendar-day {
  min-height:34px; padding:6px 8px; border:0; background:transparent;
}
.c8-calendar-board .calendar-day time { display:flex; align-items:baseline; gap:4px; line-height:20px; }
.calendar-day-number { font-size:13px; font-weight:700; }
.calendar-day-month { font-size:10px; font-weight:500; color:#526559; }
.c8-calendar-board .outside-month .calendar-day-number { color:#526559; font-weight:500; }
.c8-calendar-board .calendar-week-lane { margin-top:3px; min-height:24px; }
.c7-workspace .c8-calendar-board .calendar-bar {
  display:flex; align-items:center; gap:4px; box-sizing:border-box;
  height:24px; min-height:24px; padding:2px 6px; border-radius:4px; line-height:16px;
}
.c8-calendar-board .calendar-bar-name {
  flex:1 1 auto; min-width:0; display:block; font-size:12px; line-height:16px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.calendar-bar-status,.calendar-bar-continuation { flex:0 0 auto; font-size:12px; line-height:16px; }
.c7-workspace .c8-calendar-board .calendar-bar.continues-before {
  border-left-style:dashed; border-top-left-radius:0; border-bottom-left-radius:0;
}
.c7-workspace .c8-calendar-board .calendar-bar.continues-after {
  border-right-style:dashed; border-top-right-radius:0; border-bottom-right-radius:0;
}
.c8-calendar-board .calendar-bar:focus-visible { outline:2px solid #087d70; outline-offset:1px; }
.calendar-week-empty { position:relative; padding:8px 12px; margin:0; color:#526559; font-size:11px; }
.calendar-sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; border:0;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
@media(max-width:800px) {
  .calendar-agenda-day { padding:12px 16px; }
  .calendar-agenda-day h3 { font-size:13px; line-height:1.5; margin-bottom:7px; }
  .calendar-agenda-day .absence-chip {
    display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center;
    gap:4px 8px; min-height:34px; padding:7px 10px; border-left-width:4px; border-radius:6px;
  }
  .calendar-agenda-day .absence-chip strong { min-width:0; font-size:13px; }
  .calendar-agenda-day .absence-chip span { min-width:0; font-size:11px; white-space:normal; overflow-wrap:anywhere; }
}

/* C9: reserve selected-label/chevron space without changing filter meaning. */
.c7-workspace .c7-calendar-filters select {
  display:block; width:100%; min-width:0; max-width:100%; box-sizing:border-box;
  -webkit-appearance:none; appearance:none; height:44px; min-height:44px;
  padding:10px 28px 10px 12px; border:1px solid #c7d5cc; border-radius:9px;
  color:#253e35; font:inherit; font-size:14px; line-height:1.4;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  background-color:#fff;
  background-image:linear-gradient(45deg,transparent 50%,#345345 50%),linear-gradient(135deg,#345345 50%,transparent 50%);
  background-position:calc(100% - 17px) 19px,calc(100% - 11px) 19px;
  background-size:6px 6px; background-repeat:no-repeat;
}
.c7-workspace .c7-calendar-filters select:focus-visible { outline:3px solid #325e90; outline-offset:3px; }
@media(max-width:800px) {
  .c7-workspace .c7-calendar-filters select { font-size:16px; }
}
/* C10: standalone HR history/benefit pickers must not size to long options. */
.c7-workspace #hr-history-employee,
.c7-workspace #benefit-employee {
  display:block; width:100%; min-width:0; max-width:100%; box-sizing:border-box;
  min-height:44px; margin-top:6px; padding:10px 12px;
  border:1px solid #c7d5cc; border-radius:9px;
  background:#fff; color:#253e35; font:inherit; font-size:16px;
}
