/* Lightweight cabinet pages; colors and primitives come from the shell. */
.support-page {
  min-width: 0;
  overflow-wrap: anywhere;
}

.support-page .support-wait {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(16px, 3vw, 26px);
}

.support-page .support-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.support-page .support-mark svg,
.support-page .support-toggle svg,
.support-page .support-call svg {
  width: 18px;
  height: 18px;
}

.support-page .support-wait h2,
.support-page .support-answer h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.support-page .support-wait p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.support-page .support-answer {
  --support-pad: clamp(16px, 3vw, 26px);
  padding: 0;
  background: var(--surface);
}

.support-page .support-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 18px var(--support-pad);
  border-radius: var(--radius, 12px);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.support-page .support-summary::marker { content: ''; }
.support-page .support-summary::-webkit-details-marker { display: none; }
.support-page .support-summary:hover { background: var(--subtle); }

.support-page .support-summary:focus-visible,
.support-page .support-call:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.support-page .support-summary-copy {
  min-width: 0;
}

.support-page .support-question {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 21px);
  line-height: 1.35;
  font-weight: 700;
}

.support-page .support-progress {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.support-page .support-toggle,
.support-page .support-call-icon {
  display: inline-flex;
  flex: none;
  color: var(--brand-strong);
}

.support-page .support-answer[open] .support-toggle { transform: rotate(180deg); }

.support-page .support-content {
  padding: 0 var(--support-pad) var(--support-pad);
}

.support-page .support-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin: 0;
  padding: 14px 0;
  border-block: 1px solid var(--line);
  font-size: 14px;
}

.support-page .support-meta dt { color: var(--muted); }
.support-page .support-meta dd {
  margin: 4px 0 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.support-page .support-conclusions,
.support-page .support-evidence { margin-top: 20px; }

.support-page .support-conclusions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 10px;
}

.support-page .support-conclusion {
  padding: 14px;
  background: var(--subtle);
  border-radius: var(--radius-sm);
}

.support-page .support-conclusion p,
.support-page .support-evidence p {
  margin: 5px 0 0;
  line-height: 1.55;
}

.support-page .support-evidence ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.support-page .support-evidence li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 4px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.support-page .support-evidence li > p {
  grid-column: 1 / -1;
  margin: 0;
}

.support-page .support-call-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.support-page .support-call-caption time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.support-page .support-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  max-width: 100%;
  color: var(--brand-strong);
  white-space: normal;
}

/* Keep the action on the left, clear of Lady's default bottom-right window. */
@media (max-width: 960px) {
  .support-page .support-evidence li { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .support-page .support-call { padding-inline: 8px; }
  .support-page .support-call-icon { display: none; }
}

@media (max-width: 375px) {
  .support-page .support-call { max-inline-size: 76px; padding-inline: 6px; }
}

/* Morning report only. */
.managers-page { container-type: inline-size; }

.managers-report {
  --managers-pad: clamp(16px, 2.2vw, 24px);
  padding: 0;
}

.managers-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 15px var(--managers-pad);
  border-bottom: 1px solid var(--line);
}

.managers-date { position: relative; max-width: 100%; }
.managers-date input {
  width: 216px;
  font-size: 15px;
  font-weight: 600;
}

/* Keep the native calendar and keyboard editing, but don't inherit the browser's date order at rest. */
@media (forced-colors: none) {
  .managers-date-display {
    position: absolute;
    inset: 50% 34px auto 13px;
    transform: translateY(-50%);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
    pointer-events: none;
  }

  .managers-date:not(:focus-within) .managers-date-display:not([hidden]) + input { color: transparent; }
  .managers-date:focus-within .managers-date-display { visibility: hidden; }
}

@media (forced-colors: active) {
  .managers-date-display { display: none; }
}

.managers-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.managers-table th,
.managers-table td {
  padding: 12px var(--managers-pad);
  border-bottom: 1px solid var(--line);
  text-align: end;
  overflow-wrap: anywhere;
}

.managers-table th:first-child { text-align: start; }
.managers-table thead th { height: 47px; color: var(--muted); font-size: 14px; }
.managers-table thead th:nth-child(1) { width: 24%; }
.managers-table thead th:nth-child(2) { width: 18%; }
.managers-table thead th:nth-child(3),
.managers-table thead th:nth-child(4) { width: 16%; }
.managers-table thead th:nth-child(5) { width: 12.5%; }

.managers-table tbody tr { height: 64px; }
.managers-table tbody th,
.managers-table tbody td { font-size: 16px; font-weight: 650; }
.managers-table tbody tr:last-child > * { border-bottom: 0; }
.managers-mobile-label { display: none; }

.managers-empty { color: var(--muted); }
.managers-empty:not(:empty) { padding: 20px var(--managers-pad); }

@container (max-width: 660px) {
  .managers-toolbar { justify-content: start; }

  .managers-table,
  .managers-table tbody { display: block; }

  .managers-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .managers-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    height: auto;
    padding: 16px var(--managers-pad);
  }

  .managers-table tbody tr + tr { border-top: 1px solid var(--line); }
  .managers-table tbody th { grid-column: 1 / -1; }

  .managers-table tbody th,
  .managers-table tbody td {
    padding: 0;
    border: 0;
    text-align: start;
  }

  .managers-mobile-label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
  }
}
