/* Citizen-only finishing rules; organization colors remain shared tokens. */
/* Same specificity as the legacy 40 px rule; sizes only, no icon or palette change. */
body.public-service-body .citizen-notification-toggle,
html[data-bims-theme][data-citizen-theme]
body.public-service-body:not(.mydasma-body):not(.citizen-portal-home-page)
.citizen-notification-toggle {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  flex-basis: 44px !important;
}
body.public-service-body .dc-appointment-choice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  margin: 14px 0 10px;
  border: 1px solid var(--bims-border-strong);
  border-radius: 14px;
  background: var(--bims-surface-soft);
  color: var(--bims-text);
}
body.public-service-body .dc-appointment-choice > div {
  display: grid;
  gap: 5px;
  flex: 1 1 220px;
  min-width: 0;
  overflow-wrap: anywhere;
}
body.public-service-body .dc-appointment-choice > div > span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--bims-muted);
}
body.public-service-body .dc-appointment-choice strong { color: var(--bims-text-strong); }
body.public-service-body .dc-appointment-choice small { line-height: 1.55; }
body.public-service-body .dc-appointment-choice[data-state="held"] { border-color: var(--bims-primary); }
body.public-service-body .dc-hold-countdown {
  flex: 0 1 auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--bims-primary-soft);
  color: var(--bims-primary-strong);
  font-size: .875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
body.public-service-body .dc-appointment-tools { margin: 12px 0; }
body.public-service-body .dc-appointment-tools .btn { min-height: 44px; white-space: normal; max-width: 100%; }
body.public-service-body .dc-session-grid .dc-choice:has(input:checked:disabled) {
  outline: 2px solid var(--bims-accent-strong);
  outline-offset: 2px;
}
body.public-service-body .citizen-notification-popover-head > div { flex: 1 1 auto; min-width: 0; }
body.public-service-body .citizen-notification-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--bims-border);
  border-radius: 10px;
  background: var(--bims-surface);
  color: var(--bims-text-strong);
  font: inherit;
  font-size: 1.65rem;
  cursor: pointer;
}
body.public-service-body .citizen-notification-close:hover { background: var(--bims-surface-soft); }
body.public-service-body [data-citizen-public-menu] :is(a, button) { min-height: 44px; }
body.public-service-body :is(.citizen-notification-close, [data-dc-refresh-slots], [data-citizen-public-menu-toggle], [data-citizen-public-menu] a, [data-citizen-public-menu] button):focus-visible {
  outline: 3px solid var(--bims-focus-ring, var(--bims-primary));
  outline-offset: 3px;
}
body.public-service-body :is(.dc-wizard-actions, .citizen-resident-wizard-actions) .btn { min-height: 44px; white-space: normal; }
body.public-service-body :is(.dc-appointment-choice, .dc-hold-countdown)[hidden] { display: none; }
@media (max-width: 520px) {
  body.public-service-body .dc-appointment-choice { padding: 13px; }
  body.public-service-body .dc-appointment-choice > div { flex-basis: 100%; }
  body.public-service-body .dc-appointment-tools .btn { width: 100%; justify-content: center; }
  body.public-service-body .citizen-resident-wizard-actions [data-profile-submit] { width: 100%; }
}
