:root {
  --ok-green: #4F7F3A;
  --ok-dark-green: #2F5D2E;
  --ok-orange: #F5A623;
  --ok-red: #D93025;
  --ok-cream: #FFF8EE;
  --ok-light-green: #EEF6EA;
  --ok-text: #243024;
  --ok-border: #C9DEC1;
  --ok-white: #FFFFFF;
  --bs-body-font-family: "Nunito", Arial, sans-serif;
  --bs-body-color: var(--ok-text);
  --bs-primary: var(--ok-green);
  --bs-primary-rgb: 79, 127, 58;
  --bs-success: var(--ok-green);
  --bs-success-rgb: 79, 127, 58;
  --bs-danger: var(--ok-red);
  --bs-danger-rgb: 217, 48, 37;
  --bs-border-color: var(--ok-border);
}

body.ok-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #FFF8EE 0%, #fffdf8 52%, #EEF6EA 100%);
  color: #243024;
}

.app-shell {
  display: flex;
  flex-direction: column;
}

.app-shell > main {
  flex: 1 0 auto;
}

.portal-footer {
  flex-shrink: 0;
  padding: 1.25rem 0 1.5rem;
  color: #687566;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.portal-footer .container {
  padding-top: 1rem;
  border-top: 1px solid rgba(120, 161, 102, 0.25);
}

.portal-footer a {
  display: inline-flex;
  margin-left: 0.35rem;
  color: #2F5D2E;
  font-weight: 900;
}

a {
  color: #2F5D2E;
  font-weight: 800;
  text-decoration: none;
}
a:hover {
  color: #4F7F3A;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #2F5D2E;
  font-weight: 900;
}

h1 {
  max-width: 780px;
  font-size: clamp(2rem, 4.5vw, 2.5rem);
  line-height: 1.04;
}

.lead {
  color: #687566;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: #F5A623;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ok-navbar {
  background: rgba(255, 248, 238, 0.94);
  border-bottom: 1px solid #C9DEC1;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  width: 220px;
  height: 74px;
  flex: 0 0 220px;
  align-items: center;
  justify-content: center;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: #687566;
  font-weight: 800;
}

.navbar .nav-link {
  color: #243024;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.52rem 0.85rem;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.navbar .nav-link:hover, .navbar .nav-link:focus {
  color: #4F7F3A;
  background: #EEF6EA;
  border-color: rgba(79, 127, 58, 0.24);
}
.navbar .nav-link.active {
  color: #FFFFFF;
  background: #4F7F3A;
  border-color: #4F7F3A;
  box-shadow: 0 0.5rem 1.25rem rgba(79, 127, 58, 0.18);
}

.nav-notification-count {
  display: inline-flex;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.28rem;
  padding: 0 0.38rem;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #F5A623;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 0.25rem 0.75rem rgba(245, 166, 35, 0.28);
}
.nav-notification-count[hidden] {
  display: none;
}
.navbar .nav-link.active .nav-notification-count {
  color: #2F5D2E;
  background: #FFFFFF;
  box-shadow: 0 0.25rem 0.75rem rgba(47, 93, 46, 0.18);
}

.profile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #243024;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(79, 127, 58, 0.22);
  border-radius: 999px;
  padding: 0.38rem 0.7rem 0.38rem 0.38rem;
  box-shadow: 0 0.5rem 1.5rem rgba(47, 93, 46, 0.08);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.profile-toggle:hover, .profile-toggle:focus {
  color: #2F5D2E;
  background: #FFFFFF;
  border-color: rgba(79, 127, 58, 0.4);
}

.profile-avatar {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #4F7F3A;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.profile-copy {
  display: none;
  min-width: 0;
  text-align: left;
}
.profile-copy strong,
.profile-copy small {
  display: block;
  max-width: 180px;
  overflow: hidden;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-copy strong {
  color: #2F5D2E;
  font-size: 0.88rem;
  font-weight: 900;
}
.profile-copy small {
  color: #687566;
  font-size: 0.72rem;
  font-weight: 800;
}

.profile-menu {
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(79, 127, 58, 0.16);
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(47, 93, 46, 0.16);
}
.profile-menu .dropdown-item {
  border-radius: 0.75rem;
  color: #243024;
  font-weight: 800;
}
.profile-menu .dropdown-item:hover, .profile-menu .dropdown-item:focus {
  color: #2F5D2E;
  background: #EEF6EA;
}

@media (min-width: 992px) {
  .profile-copy {
    display: block;
  }
}
@media (max-width: 575.98px) {
  .brand {
    gap: 0.5rem;
  }
  .brand-mark {
    width: 138px;
    flex-basis: 138px;
  }
  .brand-large .brand-mark {
    width: 210px;
    height: 70px;
    flex-basis: auto;
  }
}
.login-layout {
  display: grid;
  width: 100%;
  min-height: auto;
  place-items: center;
}

.login-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vh, 1.25rem) 0.75rem;
}

.login-card {
  width: min(540px, 100%);
}

.login-card-body {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.brand-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 1.25rem;
}
.brand-large .brand-mark {
  width: 210px;
  height: 70px;
  flex: 0 0 auto;
}
.brand-large p {
  max-width: 390px;
  margin-bottom: 0;
  text-align: center;
}

.ok-card,
.ok-page-card,
.login-card,
.stat-card,
.action-card,
.allergy-group-card,
.confirmation-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #C9DEC1;
  border-radius: 1.375rem;
  box-shadow: 0 18px 50px rgba(47, 93, 46, 0.12);
}

.ok-page-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #f5fbf0 100%);
  border-radius: 1.75rem;
}

.export-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding-inline: 1rem;
  white-space: nowrap;
  box-shadow: 0 0.65rem 1.5rem rgba(47, 93, 46, 0.12);
}
.export-btn span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #4F7F3A;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ok-alert,
.alert {
  border-radius: 1rem;
  font-weight: 800;
}

.alert-success,
.ok-summary {
  --bs-alert-color: var(--ok-dark-green);
  --bs-alert-bg: var(--ok-light-green);
  --bs-alert-border-color: var(--ok-border);
}

.alert-danger,
.epipen-alert {
  --bs-alert-color: var(--ok-red);
  --bs-alert-bg: #fdecea;
  --bs-alert-border-color: #f5bbb5;
}

.activity-item {
  background: #fbfff8;
  border-color: #e3efd9;
  border-radius: 1rem;
}
.activity-item p {
  margin: 0.25rem 0;
}
.activity-item span {
  color: #687566;
  font-size: 0.9rem;
  font-weight: 800;
}

.details {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.625rem;
}
.details dt {
  color: #687566;
  font-weight: 900;
}
.details dd {
  margin: 0;
}

.note-box {
  padding: 0.875rem;
  background: #EEF6EA;
  border-radius: 0.875rem;
  font-weight: 700;
}

.special-exceptions {
  padding: 1rem;
  background: #fbfff8;
  border: 1px solid #e3efd9;
  border-radius: 1rem;
}

.form-label,
label span,
label small {
  color: #2F5D2E;
  font-weight: 900;
}

label small,
.text-muted {
  color: #687566 !important;
}

.form-control,
.form-select {
  min-height: 52px;
  border-color: #C9DEC1;
  border-radius: 0.875rem;
  color: #243024;
  font-weight: 700;
}
.form-control:focus,
.form-select:focus {
  border-color: #4F7F3A;
  box-shadow: 0 0 0 0.25rem rgba(79, 127, 58, 0.16);
}

.form-control[readonly] {
  color: #2F5D2E;
  background-color: #EEF6EA;
}

textarea.form-control {
  min-height: 150px;
}

textarea[name=other_information] {
  min-height: 175px;
}

.form-check-input:focus {
  border-color: #4F7F3A;
  box-shadow: 0 0 0 0.25rem rgba(79, 127, 58, 0.16);
}

.form-check-input:checked {
  background-color: #4F7F3A;
  border-color: #4F7F3A;
}

.ok-form-section {
  position: relative;
  margin-top: 1.25rem;
  border-color: #C9DEC1;
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.ok-form-section > .card-body {
  padding-top: 2.25rem !important;
}
.ok-form-section.is-active {
  background: linear-gradient(135deg, #FFFFFF 0%, #f7fcf4 100%);
  border-color: #4F7F3A;
  box-shadow: 0 20px 54px rgba(47, 93, 46, 0.16);
}
.ok-form-section.is-active .ok-section-legend {
  background: #4F7F3A;
  box-shadow: 0 12px 28px rgba(79, 127, 58, 0.26);
}

.ok-section-legend {
  position: absolute;
  top: 0;
  left: 1.5rem;
  z-index: 2;
  max-width: calc(100% - 3rem);
  padding: 0.48rem 0.95rem;
  color: #FFFFFF;
  background: #2F5D2E;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(47, 93, 46, 0.2);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  transform: translateY(-50%);
}

.choice-card,
.pill-check {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  margin: 0;
  background: #fbfff8;
  border: 1px solid #dcebd3;
  border-radius: 1.125rem;
  cursor: pointer;
  font-weight: 900;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.choice-card:hover,
.pill-check:hover {
  border-color: #4F7F3A;
  box-shadow: 0 8px 22px rgba(79, 127, 58, 0.1);
}
.choice-card:has(input:checked),
.pill-check:has(input:checked) {
  background: #EEF6EA;
  border-color: #4F7F3A;
}
.choice-card .form-check-input,
.pill-check .form-check-input {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: #4F7F3A;
}

.anaphylaxis-form-highlight {
  padding: 1rem;
  background: #fff8e6;
  border: 1px solid #f4c76b;
  border-left: 4px solid #f4a51c;
  border-radius: 1rem;
}
.anaphylaxis-form-highlight h3 {
  margin-bottom: 0.5rem;
  color: #2F5D2E;
}
.anaphylaxis-form-highlight .choice-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: #efd28b;
}
.anaphylaxis-form-highlight .choice-card:has(input:checked) {
  background: #fff1c9;
  border-color: #e8a12a;
  box-shadow: 0 10px 24px rgba(244, 165, 28, 0.14);
}

.allergy-doctor-helper {
  display: none;
  margin: 1rem 0 0;
  padding: 0.75rem 0.875rem;
  color: #795000;
  background: #fff7e6;
  border: 1px solid #f7d38a;
  border-radius: 0.875rem;
  font-weight: 800;
}
.allergy-doctor-helper.is-visible {
  display: block;
}

.epipen-alert {
  display: none;
}
.epipen-alert.is-visible {
  display: block;
}

.allergy-group-card {
  box-shadow: 0 10px 28px rgba(47, 93, 46, 0.08);
}

.allergy-group-title {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e3efd9;
}
.allergy-group-title h3 {
  margin: 0;
}

.allergy-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 76px;
  min-height: 48px;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  padding: 0.55rem 0.625rem;
  background: #fbfff8;
  border: 1px solid #e3efd9;
  border-radius: 0.875rem;
}
.allergy-row strong {
  font-weight: 900;
}

.allergy-item-card {
  margin-bottom: 0.45rem;
  background: #fbfff8;
  border: 1px solid #e3efd9;
  border-radius: 0.875rem;
}
.allergy-item-card .allergy-row {
  margin-bottom: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.18s ease;
}
.allergy-item-card .allergy-row:hover {
  background: #f4fbf0;
}
.allergy-item-card.has-followup {
  padding-bottom: 0.55rem;
}

.allergy-head {
  color: #FFFFFF;
  background: #2F5D2E;
  font-weight: 900;
}

.check-cell {
  display: grid;
  min-height: 38px;
  place-items: center;
  margin: 0;
  padding-left: 0;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 0.75rem;
}
.check-cell .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
}

.other-allergy {
  display: none;
  margin-top: 0.75rem;
  padding: 0.875rem;
  background: #fff7e6;
  border: 1px solid #f7d38a;
  border-radius: 1rem;
}
.other-allergy.is-visible {
  display: block;
}

.allergy-followup-panel {
  margin: 0.1rem 0.62rem 0 1.1rem;
  padding: 0.62rem 0.72rem 0.68rem;
  background: rgba(238, 246, 234, 0.92);
  border: 1px solid #d8ead0;
  border-left: 3px solid #4F7F3A;
  border-radius: 0.85rem;
}
.allergy-followup-panel p {
  margin: 0 0 0.45rem;
  color: #2F5D2E;
  font-size: 0.9rem;
  font-weight: 900;
}
.allergy-followup-panel.is-invalid {
  border-color: #f5bbb5;
  box-shadow: 0 0 0 0.2rem rgba(217, 48, 37, 0.08);
}

.followup-choice {
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
}

.validation-message {
  display: none !important;
}
.validation-message.is-visible {
  display: block !important;
}

.textarea-field {
  display: block;
}
.textarea-field small {
  display: block;
  margin-bottom: 0.625rem;
  color: #687566;
  line-height: 1.45;
  font-weight: 800;
}

.confirmation-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #fff7e6 100%);
  border-color: #f7d38a;
}
.confirmation-card .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 900;
}
.confirmation-card .form-check-input {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0.15rem 0 0;
  flex: 0 0 auto;
}
.confirmation-card .notice {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  color: #2F5D2E;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.32);
  border-radius: 1rem;
  font-weight: 700;
}
.confirmation-card .notice > strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #9a5a00;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.confirmation-card .notice p {
  line-height: 1.55;
}
.confirmation-card .confirmation-policy-notice {
  margin-top: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(47, 93, 46, 0.14);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(47, 93, 46, 0.08);
}
.confirmation-card .confirmation-deadline-area {
  padding: 1rem 1.2rem;
  color: #FFF8EE;
  background: #2F5D2E;
  box-shadow: inset 0 4px 0 rgba(245, 166, 35, 0.95);
  font-weight: 900;
  text-align: left;
}
.confirmation-card .confirmation-deadline-area ol {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.35rem;
}
.confirmation-card .confirmation-deadline-area li {
  padding-left: 0.35rem;
  line-height: 1.45;
}
.confirmation-card .confirmation-deadline-area strong {
  color: inherit;
  font-weight: 900;
}
.confirmation-card .confirmation-policy-area {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1.1rem 1rem;
  color: #2F5D2E;
  background: rgba(255, 248, 238, 0.5);
  border-top: 1px solid rgba(245, 166, 35, 0.35);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}
.confirmation-card .confirmation-policy-area p {
  margin: 0;
}

.form-actions {
  padding: 0.875rem;
  background: rgba(255, 248, 238, 0.92);
  border: 1px solid #C9DEC1;
  border-radius: 1.25rem;
}
.form-actions .btn-primary {
  min-width: 260px;
  min-height: 50px;
  box-shadow: 0 10px 24px rgba(79, 127, 58, 0.22);
}
.form-actions .btn-secondary {
  min-width: 120px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1.35rem;
  box-shadow: none;
}

.dashboard-hero .eyebrow {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}
.dashboard-hero .account-context-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 1rem;
  padding: 0.38rem 0.72rem;
  color: #2F5D2E;
  background: rgba(238, 246, 234, 0.85);
  border: 1px solid rgba(79, 127, 58, 0.18);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.dashboard-hero h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.25rem, 4vw, 2.5rem);
  white-space: normal;
}

.dashboard-account-summary .dashboard-account-row {
  margin-bottom: 0;
}

.dashboard-intro-card .card-body {
  display: grid;
  gap: 0.85rem;
}
.dashboard-intro-card .lead {
  max-width: 48rem;
}

.dashboard-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.dashboard-quick-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.65rem;
  padding: 0.6rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dashboard-quick-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.dashboard-quick-action-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  stroke: currentColor;
}

.dashboard-quick-action--add {
  color: #FFFFFF;
  background: #4F7F3A;
  border-color: rgba(47, 93, 46, 0.18);
  box-shadow: 0 0.65rem 1.25rem rgba(47, 93, 46, 0.16);
}

.dashboard-quick-action--view {
  color: #7a4a12;
  background: #fff1d6;
  border-color: rgba(208, 139, 54, 0.32);
  box-shadow: 0 0.65rem 1.25rem rgba(146, 92, 28, 0.1);
}

.dashboard-quick-action:hover,
.dashboard-quick-action:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.dashboard-quick-action--add:hover,
.dashboard-quick-action--add:focus {
  color: #FFFFFF;
  background: #2F5D2E;
}

.dashboard-quick-action--view:hover,
.dashboard-quick-action--view:focus {
  color: #5f3609;
  background: #ffe5b7;
}

.dashboard-quick-action:focus-visible {
  outline: 3px solid rgba(79, 127, 58, 0.28);
  outline-offset: 3px;
}

.admin-on-behalf-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(201, 222, 193, 0.42));
  border: 1px solid rgba(201, 222, 193, 0.9);
  border-radius: 0.9rem;
}

.admin-on-behalf-copy {
  min-width: min(100%, 26rem);
}
.admin-on-behalf-copy h2 {
  margin: 0 0 0.35rem;
  color: #2F5D2E;
  font-weight: 900;
}
.admin-on-behalf-copy p {
  margin: 0;
  color: #65725f;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.45;
}

.admin-on-behalf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-capacity-notice {
  display: grid;
  gap: 0.2rem;
  color: #4f432e;
  background: #fff8e8;
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 0.9rem;
  font-weight: 800;
}

.admin-capacity-notice strong {
  color: #2F5D2E;
  font-weight: 900;
}

.admin-capacity-notice span {
  color: #687566;
}

.admin-capacity-form {
  display: grid;
  gap: 1rem;
}

.admin-capacity-form-section,
.admin-capacity-summary-card {
  border: 1px solid rgba(201, 222, 193, 0.86);
  border-radius: 0.9rem;
  box-shadow: 0 0.45rem 1rem rgba(47, 93, 46, 0.05);
}

.admin-capacity-section-heading {
  margin: 0 0 1rem;
  color: #F5A623;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-capacity-summary-grid,
.admin-capacity-value-grid,
.admin-capacity-input-grid {
  display: grid;
  gap: 0.8rem;
}

.admin-capacity-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-child-location-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-capacity-value-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-capacity-input-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

.admin-capacity-input-field.is-total {
  grid-column: 1;
}

.admin-capacity-summary-item,
.admin-capacity-value-item {
  display: grid;
  gap: 0.22rem;
  min-height: 4.2rem;
  padding: 0.85rem;
  background: #f8fbf4;
  border: 1px solid rgba(201, 222, 193, 0.8);
  border-radius: 0.75rem;
}

.admin-capacity-summary-item span,
.admin-capacity-value-item span {
  color: #687566;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.admin-capacity-summary-item strong,
.admin-capacity-value-item strong {
  color: #2F5D2E;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.admin-capacity-value-item.is-total {
  background: #eef8e9;
  border-color: rgba(79, 127, 58, 0.28);
}

.admin-capacity-input-field {
  min-width: 0;
}
.admin-capacity-input-field .form-label {
  color: #2F5D2E;
  font-weight: 900;
}
.admin-capacity-input-field .form-control {
  min-height: 3rem;
}

.admin-capacity-helper-text {
  color: #74806f;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.admin-capacity-total-control {
  color: #2F5D2E;
  background: #eef8e9;
  border-color: rgba(79, 127, 58, 0.3);
  font-weight: 900;
}

.admin-capacity-confirmation {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0.9rem;
  padding-left: 0.9rem;
  background: #fffdf7;
  border: 1px solid rgba(201, 222, 193, 0.85);
  border-radius: 0.8rem;
}
.admin-capacity-confirmation .form-check-input {
  margin-top: 0;
  margin-left: 0;
  flex: 0 0 auto;
}
.admin-capacity-confirmation .form-check-label {
  color: #2F5D2E;
  font-weight: 900;
  line-height: 1.35;
}

.admin-capacity-confirmation-note {
  padding-left: calc(0.9rem + 1em + 0.6rem);
}

.admin-capacity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.25rem 0 0;
}

.admin-capacity-disabled-note {
  color: #687566;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-capacity-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.dashboard-capacity-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 4rem 0.7rem 1rem;
  color: #4f432e;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 244, 215, 0.78));
  border: 1px solid rgba(245, 166, 35, 0.32);
  border-radius: 0.9rem;
  box-shadow: 0 0.35rem 0.9rem rgba(245, 166, 35, 0.08);
  font-size: 0.92rem;
  line-height: 1.35;
}
.dashboard-capacity-notice .dashboard-capacity-notice-message {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.dashboard-capacity-notice .dashboard-capacity-notice-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  align-items: center;
  justify-content: center;
  color: #8a5700;
  background: rgba(245, 166, 35, 0.18);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}
.dashboard-capacity-notice strong {
  color: #3f3524;
  font-weight: 900;
}
.dashboard-capacity-notice a {
  color: #4F7F3A;
  font-weight: 900;
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 0.12rem;
  white-space: nowrap;
}
.dashboard-capacity-notice a:hover, .dashboard-capacity-notice a:focus {
  color: rgb(63.8459016393, 102.4918032787, 46.7081967213);
  text-decoration-thickness: 2px;
}
.dashboard-capacity-notice .btn-close {
  right: 1rem;
  top: 50%;
  opacity: 0.55;
  transform: translateY(-50%);
}
.dashboard-capacity-notice .btn-close:hover, .dashboard-capacity-notice .btn-close:focus {
  opacity: 0.8;
}

.admin-dashboard-hero h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.25rem, 4vw, 2.5rem);
  white-space: normal;
}

@media (max-width: 575.98px) {
  .dashboard-intro-actions .dashboard-quick-action {
    justify-content: center;
    width: 100%;
  }
  .admin-on-behalf-card,
  .admin-capacity-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-on-behalf-actions,
  .admin-on-behalf-actions .dashboard-quick-action,
  .admin-capacity-action-buttons,
  .admin-capacity-action-buttons .btn {
    width: 100%;
  }
  .admin-on-behalf-actions .dashboard-quick-action,
  .admin-capacity-action-buttons .btn {
    justify-content: center;
  }
  .dashboard-capacity-notice {
    align-items: flex-start;
    justify-content: flex-start;
    padding-right: 2.75rem;
  }
  .dashboard-capacity-notice .dashboard-capacity-notice-message {
    align-items: flex-start;
  }
  .dashboard-capacity-notice a {
    margin-left: 0;
    white-space: normal;
  }
}
@media (max-width: 991.98px) {
  .admin-capacity-summary-grid,
  .admin-capacity-value-grid,
  .admin-capacity-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-capacity-input-field.is-total {
    grid-column: auto;
  }
  .admin-capacity-confirmation-note {
    padding-left: 0;
  }
}
@media (max-width: 575.98px) {
  .admin-capacity-summary-grid,
  .admin-capacity-value-grid,
  .admin-capacity-input-grid {
    grid-template-columns: 1fr;
  }
}
.capacity-request-form {
  display: grid;
  gap: 1rem;
}

.capacity-section-card {
  border: 1px solid rgba(201, 222, 193, 0.86);
  border-radius: 0.9rem;
  box-shadow: 0 0.45rem 1rem rgba(47, 93, 46, 0.05);
}
.capacity-section-card > .card-body {
  padding: 1.45rem 1.5rem;
}

.capacity-section-heading {
  margin: 0 0 0.85rem;
  color: #F5A623;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.capacity-helper-text {
  margin-top: 0.55rem;
  color: #687566;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.capacity-location-type-control {
  color: #2F5D2E;
  border-color: #C9DEC1;
  background-color: #EEF6EA;
}

.capacity-location-inline {
  width: calc((100% - 2.55rem) / 4);
  min-width: 0;
}

.capacity-update-fields {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(79, 127, 58, 0.12);
}

.capacity-approved-reference {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(79, 127, 58, 0.12);
}

.capacity-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.capacity-summary-item {
  min-height: 3.65rem;
  padding: 0.85rem;
  background: #fbfff8;
  border-radius: 0.7rem;
}
.capacity-summary-item span,
.capacity-summary-item strong {
  display: block;
}
.capacity-summary-item strong {
  margin-top: 0.25rem;
  color: #243024;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
}

.capacity-summary-label {
  color: #687566;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
}

.capacity-input-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.capacity-input-field {
  min-width: 0;
}

.capacity-calculated-total {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(79, 127, 58, 0.12);
}

.capacity-total-control {
  width: 6.5rem;
  min-width: 6.5rem;
  text-align: center;
}

.capacity-next-step-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.capacity-next-step-option {
  display: block;
  cursor: pointer;
}
.capacity-next-step-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.capacity-next-step-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  height: 100%;
  min-height: 7rem;
  padding: 1.15rem;
  color: #3D4639;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #C9DEC1;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.capacity-next-step-indicator {
  position: relative;
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  background: #FFFFFF;
  border: 2px solid rgba(79, 127, 58, 0.55);
  border-radius: 999px;
}

.capacity-next-step-copy {
  display: block;
  min-width: 0;
}
.capacity-next-step-copy strong,
.capacity-next-step-copy span {
  display: block;
}
.capacity-next-step-copy strong {
  color: #2F5D2E;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}
.capacity-next-step-copy span {
  margin-top: 0.4rem;
  color: #687566;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.4;
}

.capacity-next-step-option:hover .capacity-next-step-card,
.capacity-next-step-option:focus-within .capacity-next-step-card {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(79, 127, 58, 0.45);
}

.capacity-next-step-option:focus-within .capacity-next-step-card {
  outline: 3px solid rgba(79, 127, 58, 0.24);
  outline-offset: 3px;
}

.capacity-next-step-option input:checked + .capacity-next-step-card {
  background: rgba(238, 246, 234, 0.52);
  border-color: #4F7F3A;
  box-shadow: inset 0 0 0 1px rgba(79, 127, 58, 0.12);
}
.capacity-next-step-option input:checked + .capacity-next-step-card .capacity-next-step-indicator {
  background: #4F7F3A;
  border-color: #4F7F3A;
}
.capacity-next-step-option input:checked + .capacity-next-step-card .capacity-next-step-indicator::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  background: #FFFFFF;
  border-radius: 999px;
}

.capacity-submit-row {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.05rem;
}

.capacity-request-modal .modal-dialog {
  max-width: min(52rem, calc(100vw - 2rem));
}

.capacity-modal-content {
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF, rgba(255, 253, 246, 0.92));
  border: 1px solid rgba(79, 127, 58, 0.2);
  border-radius: 1rem;
  box-shadow: 0 1.4rem 3rem rgba(47, 93, 46, 0.22);
}

.capacity-modal-header {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(79, 127, 58, 0.16);
}
.capacity-modal-header .btn-close {
  flex: 0 0 auto;
  margin: 0 -0.2rem 0 0;
  opacity: 0.52;
}
.capacity-modal-header .btn-close:hover, .capacity-modal-header .btn-close:focus {
  opacity: 0.8;
}

.capacity-success-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.capacity-success-heading h2 {
  color: #2F5D2E;
  font-weight: 900;
  line-height: 1.2;
}

.capacity-success-icon {
  display: inline-flex;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #4F7F3A;
  border-radius: 0.85rem;
  box-shadow: 0 0.55rem 1.25rem rgba(79, 127, 58, 0.2);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.capacity-modal-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.capacity-modal-body p {
  margin: 0;
  color: #4f604d;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}
.capacity-modal-body .capacity-success-next-step {
  margin-top: 1rem;
}

.capacity-success-action {
  width: 100%;
  margin-top: 1.25rem;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.capacity-selection-actions {
  gap: 0.65rem;
  padding: 1rem 1.5rem 1.35rem;
  border-top: 1px solid rgba(79, 127, 58, 0.12);
}
.capacity-selection-actions .btn {
  min-height: 2.75rem;
  border-radius: 999px;
}
.capacity-selection-actions .btn-primary {
  --bs-btn-color: #FFFFFF;
  --bs-btn-bg: var(--ok-green);
  --bs-btn-border-color: var(--ok-green);
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: var(--ok-dark-green);
  --bs-btn-hover-border-color: var(--ok-dark-green);
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: var(--ok-dark-green);
  --bs-btn-active-border-color: var(--ok-dark-green);
  --bs-btn-disabled-color: #FFFFFF;
  --bs-btn-disabled-bg: var(--ok-green);
  --bs-btn-disabled-border-color: var(--ok-green);
  opacity: 1;
}
.capacity-selection-actions .btn-primary:disabled, .capacity-selection-actions .btn-primary.disabled {
  opacity: 0.62;
}

@media (max-width: 767.98px) {
  .capacity-section-card > .card-body {
    padding: 1.25rem;
  }
  .capacity-request-modal .modal-dialog {
    max-width: none;
  }
  .capacity-location-inline {
    width: 100%;
  }
  .capacity-summary-grid,
  .capacity-input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .capacity-next-step-options {
    grid-template-columns: 1fr;
  }
  .capacity-next-step-card {
    min-height: auto;
  }
  .capacity-modal-header,
  .capacity-modal-body,
  .capacity-selection-actions {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (max-width: 420px) {
  .capacity-summary-grid,
  .capacity-input-grid {
    grid-template-columns: 1fr;
  }
}
.stat-card {
  position: relative;
  overflow: visible;
  background: #FFFFFF;
  border-color: rgba(79, 127, 58, 0.18);
  box-shadow: 0 0.75rem 1.75rem rgba(47, 93, 46, 0.08);
}
.stat-card .card-body {
  padding: 1.35rem 1.1rem 1.1rem;
}
.stat-card .stat-label {
  position: absolute;
  top: -0.65rem;
  left: 1rem;
  display: inline-flex;
  padding: 0.32rem 0.62rem;
  color: #2F5D2E;
  background: #EEF6EA;
  border: 1px solid rgba(79, 127, 58, 0.2);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.stat-card .stat-content {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.stat-card .stat-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: #4F7F3A;
  border-radius: 0.8rem;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}
.stat-card strong,
.stat-card small {
  display: block;
}
.stat-card strong {
  color: #2F5D2E;
  font-size: 2.45rem;
  line-height: 1;
}
.stat-card small {
  margin-top: 0.28rem;
  color: #687566;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}
.stat-card .stat-breakdown {
  display: block;
  max-width: 100%;
  margin-top: 0.45rem;
  color: #687566;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.stat-card .stat-cta {
  display: inline-block;
  margin-top: 0.85rem;
  color: #4F7F3A;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 0.18s ease;
}
.stat-card.stat-tile {
  color: #243024;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.stat-card.stat-tile:hover, .stat-card.stat-tile:focus {
  border-color: rgba(79, 127, 58, 0.45);
  box-shadow: 0 1rem 2rem rgba(47, 93, 46, 0.14);
  color: #243024;
  transform: translateY(-3px);
}
.stat-card.stat-tile:hover .stat-cta, .stat-card.stat-tile:focus .stat-cta {
  transform: translateX(0.25rem);
}
.stat-card.stat-tile:focus-visible {
  outline: 3px solid rgba(79, 127, 58, 0.28);
  outline-offset: 3px;
}
.stat-card.stat-card-allergy .stat-label {
  color: #a26200;
  background: #fff0cc;
  border-color: rgba(244, 165, 28, 0.42);
}
.stat-card.stat-card-allergy .stat-icon {
  background: #f4a51c;
}
.stat-card.stat-card-allergy strong {
  color: #a26200;
}
.stat-card.stat-card-allergy .stat-cta {
  color: #8a5700;
}
.stat-card.stat-card-complex .stat-label {
  color: #116a9b;
  background: #dff2fc;
  border-color: rgba(30, 155, 215, 0.34);
}
.stat-card.stat-card-complex .stat-icon {
  background: #1e9bd7;
}
.stat-card.stat-card-complex strong {
  color: #116a9b;
}
.stat-card.stat-card-complex .stat-cta {
  color: #116a9b;
}
.stat-card.stat-card-epipen .stat-label {
  color: #D93025;
  background: #fde7e5;
  border-color: rgba(217, 48, 37, 0.24);
}
.stat-card.stat-card-epipen .stat-icon {
  background: #D93025;
}
.stat-card.stat-card-epipen strong {
  color: #D93025;
}
.stat-card.stat-card-epipen .stat-cta {
  color: #D93025;
}
.stat-card.stat-card-recent .stat-label {
  color: #116a9b;
  background: #dff2fc;
  border-color: rgba(30, 155, 215, 0.34);
}
.stat-card.stat-card-recent .stat-icon {
  background: #1e9bd7;
}
.stat-card.stat-card-recent strong {
  color: #116a9b;
}

.action-card {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 44%), linear-gradient(135deg, rgb(94.2448648649, 151.5075675676, 69.1924324324) 0%, #4F7F3A 58%, rgb(61.5772972973, 98.9913513514, 45.2086486486) 100%);
  color: #FFFFFF;
  cursor: pointer;
  border-color: rgba(255, 255, 255, 0.32);
  border-radius: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 0.85rem 1.9rem rgba(47, 93, 46, 0.13);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.action-card:hover, .action-card:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 44%), linear-gradient(135deg, rgb(100.7783783784, 162.0108108108, 73.9891891892) 0%, rgb(83.3556756757, 134.0021621622, 61.1978378378) 56%, rgb(63.7551351351, 102.4924324324, 46.8075675676) 100%);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1rem 2.1rem rgba(47, 93, 46, 0.2);
  color: #FFFFFF;
  transform: translateY(-4px);
}
.action-card:hover small, .action-card:focus small {
  transform: translateX(0.25rem);
}
.action-card:focus-visible {
  outline: 3px solid rgba(79, 127, 58, 0.3);
  outline-offset: 3px;
}
.action-card .card-body {
  display: flex;
  gap: 1.15rem;
  min-height: 9rem;
  align-items: flex-start;
  padding: 1.5rem;
}
.action-card strong,
.action-card span,
.action-card small {
  display: block;
}
.action-card strong {
  color: #FFFFFF;
  font-size: 1.25rem;
  line-height: 1.2;
}
.action-card span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  line-height: 1.3;
}
.action-card small {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 900;
  transition: transform 0.18s ease;
}
.action-card .action-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  align-items: center;
  justify-content: center;
  color: #2F5D2E;
  background: rgba(255, 248, 238, 0.9);
  border-radius: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 0.45rem 1rem rgba(47, 93, 46, 0.1);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}
.action-card .action-copy {
  min-width: 0;
}
.action-card.action-card-view {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 44%), linear-gradient(135deg, rgb(246.7739130435, 181.787826087, 74.0260869565) 0%, #F5A623 58%, rgb(219.0434782609, 140.3869565217, 9.9565217391) 100%);
}
.action-card.action-card-view:hover, .action-card.action-card-view:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.05) 44%), linear-gradient(135deg, rgb(247.6608695652, 189.6817391304, 93.5391304348) 0%, rgb(245.6652173913, 171.9204347826, 49.6347826087) 56%, rgb(233.6782608696, 149.7665217391, 10.6217391304) 100%);
}
.action-card.action-card-view .action-icon {
  color: #8a5700;
}
.action-card.action-card-manage {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 44%), linear-gradient(135deg, rgb(60.7956834532, 120.2978417266, 59.5021582734) 0%, #2F5D2E 58%, rgb(34.9287769784, 69.1143884892, 34.1856115108) 100%);
}
.action-card.action-card-manage:hover, .action-card.action-card-manage:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.04) 44%), linear-gradient(135deg, rgb(65.9690647482, 130.5345323741, 64.5654676259) 0%, rgb(52.173381295, 103.2366906475, 51.0633093525) 56%, rgb(38.3776978417, 75.9388489209, 37.5611510791) 100%);
}
.action-card.action-card-inactive {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 44%), linear-gradient(135deg, #8da18e 0%, #6f8270 58%, #596b5b 100%);
}
.action-card.action-card-inactive:hover, .action-card.action-card-inactive:focus {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.04) 44%), linear-gradient(135deg, #98ad99 0%, #788d79 56%, #5d705f 100%);
}

.dashboard-capacity-cta {
  width: 100%;
  margin-inline: 0;
}
.dashboard-capacity-cta .dashboard-capacity-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem 1.15rem;
  color: #3D4639;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 246, 0.9));
  border: 1px solid rgba(79, 127, 58, 0.22);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.75rem rgba(47, 93, 46, 0.075);
}
.dashboard-capacity-cta .dashboard-capacity-main {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-width: 0;
  text-align: left;
}
.dashboard-capacity-cta .dashboard-capacity-icon {
  display: inline-flex;
  width: 3.15rem;
  height: 3.15rem;
  flex: 0 0 3.15rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #4F7F3A;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 0.45rem 1rem rgba(47, 93, 46, 0.12);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}
.dashboard-capacity-cta .dashboard-capacity-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}
.dashboard-capacity-cta .dashboard-capacity-eyebrow {
  display: block;
  margin-bottom: 0.3rem;
  color: #4F7F3A;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.dashboard-capacity-cta strong,
.dashboard-capacity-cta .dashboard-capacity-copy > span:not(.dashboard-capacity-eyebrow) {
  display: block;
}
.dashboard-capacity-cta strong {
  color: #2F5D2E;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.2;
}
.dashboard-capacity-cta .dashboard-capacity-copy > span:not(.dashboard-capacity-eyebrow) {
  margin-top: 0.28rem;
  color: #687566;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}
.dashboard-capacity-cta .dashboard-capacity-actions {
  display: flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-left: auto;
}
.dashboard-capacity-cta .dashboard-capacity-button,
.dashboard-capacity-cta .dashboard-capacity-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.dashboard-capacity-cta .dashboard-capacity-button {
  color: #fff;
  background: #4F7F3A;
  border: 1px solid #4F7F3A;
}
.dashboard-capacity-cta .dashboard-capacity-button:hover, .dashboard-capacity-cta .dashboard-capacity-button:focus {
  background: rgb(69.5286885246, 111.6106557377, 50.8893442623);
  color: #fff;
  transform: translateY(-1px);
}
.dashboard-capacity-cta .dashboard-capacity-button:focus-visible {
  outline: 3px solid rgba(79, 127, 58, 0.28);
  outline-offset: 3px;
}
.dashboard-capacity-cta .dashboard-capacity-secondary {
  color: #4F7F3A;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(79, 127, 58, 0.34);
  white-space: nowrap;
}
.dashboard-capacity-cta .dashboard-capacity-secondary:hover, .dashboard-capacity-cta .dashboard-capacity-secondary:focus {
  color: rgb(63.8459016393, 102.4918032787, 46.7081967213);
  background: rgba(201, 222, 193, 0.35);
  border-color: rgba(79, 127, 58, 0.5);
  text-decoration: none;
}
.dashboard-capacity-cta .dashboard-capacity-secondary:focus-visible {
  outline: 3px solid rgba(79, 127, 58, 0.22);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .dashboard-capacity-cta .dashboard-capacity-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .dashboard-capacity-cta .dashboard-capacity-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-capacity-cta .dashboard-capacity-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-left: 0;
    min-width: 0;
  }
  .dashboard-capacity-cta .dashboard-capacity-button,
  .dashboard-capacity-cta .dashboard-capacity-secondary {
    width: 100%;
    min-height: 2.75rem;
  }
  .dashboard-capacity-cta .dashboard-capacity-secondary {
    white-space: normal;
  }
}
.table {
  --bs-table-color: var(--ok-text);
  --bs-table-hover-bg: #f7fbf4;
  margin-bottom: 0;
}
.table th {
  color: #2F5D2E;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sticky-table-responsive {
  overflow: visible !important;
}

.table thead th,
.table-sticky-header thead th {
  position: sticky;
  top: var(--sticky-table-top, 101px);
  z-index: 20;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: #f8fbf4;
  box-shadow: inset 0 -1px 0 #dcebd3, 0 2px 0 rgba(47, 107, 52, 0.08);
}

.sort-link {
  color: #2F5D2E;
  text-decoration: none;
}
.sort-link:hover, .sort-link:focus, .sort-link.is-active {
  color: #4F7F3A;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

@media (max-width: 991.98px) {
  .sticky-table-responsive {
    overflow-x: auto !important;
    overflow-y: visible !important;
  }
  .table thead th,
  .table-sticky-header thead th {
    top: 82px;
  }
}
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.ok-navbar .brand {
  gap: 1rem;
}
.ok-navbar .navbar-nav {
  column-gap: 0.35rem;
}
.ok-navbar .profile-toggle {
  margin-left: 0.5rem;
}

.activity-item {
  background: #fbfff8;
  border-color: #e3efd9;
  border-radius: 1rem;
}
.activity-item .card-body {
  padding: 1rem 1.1rem;
}
.activity-item p {
  margin: 0.45rem 0 0.25rem;
  color: #243024;
  font-weight: 700;
  line-height: 1.35;
}
.activity-item span:not(.notification-badge) {
  color: #687566;
  font-size: 0.86rem;
  font-weight: 800;
}

.activity-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.activity-heading strong {
  color: #2F5D2E;
  font-size: 1rem;
  line-height: 1.25;
}

.notification-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.notification-badge-success {
  color: #2F5D2E;
  background: #EEF6EA;
  border: 1px solid rgba(79, 127, 58, 0.2);
}

.notification-badge-alert {
  color: #D93025;
  background: #fde7e5;
  border: 1px solid rgba(217, 48, 37, 0.2);
}

.notification-badge-updated {
  color: #8a5700;
  background: #fff0d5;
  border: 1px solid rgba(245, 166, 35, 0.28);
}

.btn {
  border-radius: 999px;
  font-weight: 900;
}

.btn-primary {
  --bs-btn-bg: var(--ok-green);
  --bs-btn-border-color: var(--ok-green);
  --bs-btn-hover-bg: var(--ok-dark-green);
  --bs-btn-hover-border-color: var(--ok-dark-green);
  --bs-btn-active-bg: var(--ok-dark-green);
  --bs-btn-active-border-color: var(--ok-dark-green);
}

.btn-secondary {
  --bs-btn-color: var(--ok-dark-green);
  --bs-btn-bg: var(--ok-light-green);
  --bs-btn-border-color: var(--ok-border);
  --bs-btn-hover-color: var(--ok-dark-green);
  --bs-btn-hover-bg: #e1f0da;
  --bs-btn-hover-border-color: var(--ok-green);
}

.btn-outline-success {
  --bs-btn-color: var(--ok-dark-green);
  --bs-btn-border-color: var(--ok-green);
  --bs-btn-hover-bg: var(--ok-green);
  --bs-btn-hover-border-color: var(--ok-green);
}

.ok-badge {
  min-height: 28px;
  align-items: center;
  padding: 0.4rem 0.65rem;
  font-weight: 900;
}

.ok-badge-active,
.ok-badge-reviewed {
  color: #2F5D2E;
  background: #EEF6EA;
}

.ok-badge-inactive {
  color: #666;
  background: #eee;
}

.ok-badge-epipen {
  color: #D93025;
  background: #fdecea;
}

.ok-badge-allergy,
.ok-badge-submitted,
.ok-badge-updated-by-daycare,
.ok-badge-under-review,
.ok-badge-needs-clarification,
.ok-badge-complex-case {
  color: #805300;
  background: #fff1d6;
}

.ok-badge-request-clarification {
  color: #7a4a12;
  background: #fff1d6;
  border: 1px solid rgba(213, 143, 44, 0.34);
}

.demo-note {
  margin: 1rem 0 0;
  color: #687566;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 680px) {
  .brand-mark {
    width: 138px;
    height: 46px;
    flex-basis: 138px;
  }
  .brand-large .brand-mark {
    width: 210px;
    height: 70px;
    flex-basis: auto;
  }
  .allergy-row {
    grid-template-columns: minmax(112px, 1fr) 64px;
    gap: 0.375rem;
    padding: 0.5rem;
  }
  .ok-form-section {
    margin-top: 1.75rem;
  }
  .ok-form-section > .card-body {
    padding-top: 2.5rem !important;
  }
  .ok-section-legend {
    left: 1rem;
    max-width: calc(100% - 2rem);
    white-space: normal;
  }
  .allergy-followup-panel {
    margin-right: 0.5rem;
    margin-left: 0.75rem;
  }
  .form-actions .btn {
    width: 100%;
  }
  .details {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=style.css.map */
