/* Customer-local weekly hours; financial period identifiers stay unchanged. */
.customer-hours-section { margin: 28px 0; min-width: 0; }
.customer-hours-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.customer-hours-heading h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.customer-hours-heading p, .customer-hours-zone-note, .customer-hours-footnote { color: #52676d; line-height: 1.5; }
.customer-hours-heading p { margin: 0; font-size: 15px; }
.customer-hours-zone { width: min(360px, 100%); flex-shrink: 0; margin: 0; font-size: 12px; }
.customer-hours-zone select { font-size: 15px; min-height: 44px; }
.customer-hours-zone-note { margin: 12px 0 18px; font-size: 13px; }
.customer-hours-weeks { display: grid; gap: 16px; }
.customer-hours-week { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 6px #12374706; overflow: hidden; }
.customer-hours-week > summary { display: flex; align-items: center; gap: 18px; cursor: pointer; list-style: none; padding: 22px 24px; min-height: 84px; color: var(--navy); }
.customer-hours-week > summary::-webkit-details-marker { display: none; }
.customer-hours-week > summary::before { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); flex: 0 0 10px; transition: transform .15s; }
.customer-hours-week[open] > summary::before { transform: rotate(45deg); }
.customer-hours-week > summary:focus-visible { outline: 3px solid #25786d; outline-offset: -4px; }
.customer-hours-week-heading { flex: 1; min-width: 0; }
.customer-hours-week-heading b { display: block; font-size: 21px; }
.customer-hours-week-heading small { display: block; font-size: 12px; font-weight: 400; color: #52676d; margin-top: 5px; }
.customer-hours-week > summary > strong { font-size: 22px; white-space: nowrap; }
.customer-hours-week-body { padding: 0 20px 8px; }
.customer-hours-day + .customer-hours-day { margin-top: 22px; }
.customer-hours-day > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 1px 12px; }
.customer-hours-day > header h3 { font-size: 16px; margin: 0; }
.customer-hours-day > header span { color: #52676d; font-size: 12px; white-space: nowrap; }
.customer-hours-day > header b { color: #17272d; margin-left: 5px; }
.customer-hours-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 8px; table-layout: auto; overflow: hidden; }
.customer-hours-table thead th { background: #f4f7f7; color: #52676d; text-transform: uppercase; font-size: 10px; letter-spacing: .07em; padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.customer-hours-table tbody td, .customer-hours-table tbody th { text-align: left; vertical-align: top; padding: 15px 10px; font-size: 14px; font-weight: 400; border-bottom: 1px solid var(--line); }
.customer-hours-table tbody tr:last-child > * { border-bottom: 0; }
.customer-hours-table th:first-child { width: 21%; }
.customer-hours-person { font-weight: 700; font-size: 15px; display: block; color: #17272d; }
.customer-hours-table time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.customer-hours-times { padding: 0; margin: 0; list-style: none; }
.customer-hours-times li + li { margin-top: 10px; }
.customer-hours-times small, .customer-hours-next-day, .customer-hours-continuation { display: block; font-size: 11px; color: #52676d; margin-top: 3px; }
.customer-hours-gap { color: #8a5808 !important; }
.customer-hours-muted { color: #52676d; font-size: 12px; }
.customer-hours-worked { white-space: nowrap; }
.customer-hours-table .status { font-size: 10px; }
.customer-hours-description { font-size: 12px; font-weight: 400; margin-top: 8px; max-width: 260px; }
.customer-hours-description > summary { color: var(--teal); cursor: pointer; }
.customer-hours-description > p { line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; margin: 7px 0 0; }
.customer-hours-week-total { display: flex; justify-content: space-between; gap: 16px; padding: 17px 24px; background: #f2f6f5; color: var(--navy); font-weight: 700; }
.customer-hours-week-total strong { font-size: 18px; }
.customer-hours-footnote { font-size: 12px; margin: 13px 3px; }
.customer-hours-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.customer-payment-records { margin: 26px 0; }
.customer-payment-records > summary { cursor: pointer; color: var(--navy); font-size: 19px; font-weight: 700; padding: 12px 0; }
.customer-payment-records-note { color: #52676d; font-size: 13px; }

@media (max-width: 1050px) {
  .customer-hours-table thead { display: none; }
  .customer-hours-table, .customer-hours-table tbody { display: block; width: 100%; border: 0; overflow: visible; }
  .customer-hours-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
  .customer-hours-entry + .customer-hours-entry { margin-top: 12px; }
  .customer-hours-table tbody tr > th, .customer-hours-table tbody tr > td { display: block; padding: 9px 0; width: auto; border: 0; font-size: 15px; min-width: 0; }
  .customer-hours-entry > th { grid-column: 1 / -1; border-bottom: 1px solid var(--line) !important; padding: 0 0 10px !important; margin-bottom: 3px; }
  .customer-hours-table tbody tr > th:first-child { width: 100%; background: transparent; }
  .customer-hours-entry > td::before { content: attr(data-label); display: block; text-transform: uppercase; font-weight: 600; letter-spacing: .05em; font-size: 10px; color: #52676d; margin-bottom: 5px; }
  .customer-hours-entry > .customer-hours-worked { border-top: 1px solid var(--line) !important; margin-top: 3px; }
  .customer-hours-entry > td:last-child { border-top: 1px solid var(--line) !important; margin-top: 3px; text-align: right; }
  .customer-hours-description { max-width: none; }
  .customer-hours-table .status { font-size: 11px; }
}
@media (max-width: 650px) {
  .customer-hours-heading { display: block; }
  .customer-hours-zone { width: 100%; margin-top: 16px; }
  .customer-hours-heading h2 { font-size: 27px; }
  .customer-hours-heading p { font-size: 14px; }
  .customer-hours-week > summary { padding: 18px 16px; gap: 12px; }
  .customer-hours-week-heading b { font-size: 17px; }
  .customer-hours-week > summary > strong { font-size: 18px; }
  .customer-hours-week-body { padding: 0 12px 8px; }
  .customer-hours-day > header { display: block; padding: 13px 2px 10px; }
  .customer-hours-day > header h3 { font-size: 15px; }
  .customer-hours-day > header span { display: block; margin-top: 4px; }
  .customer-hours-entry { gap: 0 12px; padding: 14px 12px; }
  .customer-hours-week-total { padding: 17px 16px; }
  .customer-hours-table time { font-size: 14px; }
  .customer-hours-zone-note { overflow-wrap: anywhere; }
}
