/* line 1, app/assets/stylesheets/design_system/_tokens.scss */
:root {
  --bg:            #FAF7F1;
  --surface:       #FFFFFF;
  --surface-2:     #F3EFE7;
  --border:        #ECE6D9;
  --border-strong: #DCD3BF;
  --honey:     #F2C14E;
  --honey-50:  #FFF6E0;
  --honey-200: #F8DE94;
  --honey-700: #B98D1F;
  --sage:      #7BAE9B;
  --sage-50:   #E8F2EE;
  --sage-700:  #4A7A68;
  --slate:     #A8B8CC;
  --slate-50:  #EDF1F7;
  --slate-700: #4F6478;
  --terra:     #D97B6C;
  --terra-50:  #F7E7E3;
  --terra-700: #9F4D40;
  --lilac:     #B8A3D4;
  --lilac-50:  #F0EAF7;
  --lilac-700: #6F5A95;
  --ink:   #2C2A28;
  --ink-2: #5C5950;
  --ink-3: #908B7E;
  --sh-1: 0 1px 2px rgba(40,30,10,0.04), 0 1px 3px rgba(40,30,10,0.03);
  --sh-2: 0 2px 6px rgba(40,30,10,0.06), 0 4px 12px rgba(40,30,10,0.04);
  --sh-3: 0 4px 12px rgba(40,30,10,0.08), 0 12px 32px rgba(40,30,10,0.08);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 22px;
  --sp-6: 28px;
  --sp-7: 36px;
}

/* line 1, app/assets/stylesheets/design_system/_reset.scss */
.ds-app *, .ds-app *::before, .ds-app *::after {
  box-sizing: border-box;
}

/* line 2, app/assets/stylesheets/design_system/_reset.scss */
.ds-app a {
  color: inherit;
  text-decoration: none;
}

/* line 3, app/assets/stylesheets/design_system/_reset.scss */
.ds-app button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}

/* line 4, app/assets/stylesheets/design_system/_reset.scss */
.ds-app input,
.ds-app textarea,
.ds-app select {
  font: inherit;
}

/* line 1, app/assets/stylesheets/design_system/_typography.scss */
.ds-body {
  font: 14px/1.45 -apple-system, "Inter", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* line 7, app/assets/stylesheets/design_system/_typography.scss */
.ds-display-1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* line 8, app/assets/stylesheets/design_system/_typography.scss */
.ds-display-2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 9, app/assets/stylesheets/design_system/_typography.scss */
.ds-h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 10, app/assets/stylesheets/design_system/_typography.scss */
.ds-h2 {
  font-size: 18px;
  font-weight: 700;
}

/* line 11, app/assets/stylesheets/design_system/_typography.scss */
.ds-h3 {
  font-size: 14px;
  font-weight: 600;
}

/* line 12, app/assets/stylesheets/design_system/_typography.scss */
.ds-body-sm {
  font-size: 13px;
  line-height: 1.5;
}

/* line 13, app/assets/stylesheets/design_system/_typography.scss */
.ds-meta {
  font-size: 12px;
  color: var(--ink-3);
}

/* line 14, app/assets/stylesheets/design_system/_typography.scss */
.ds-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* line 1, app/assets/stylesheets/design_system/components/_button.scss */
:is(.ds-app, .ds-auth-body) .ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s, box-shadow .12s, transform .08s;
}

/* line 15, app/assets/stylesheets/design_system/components/_button.scss */
.ui-btn > .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* line 23, app/assets/stylesheets/design_system/components/_button.scss */
.ui-btn > span {
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

/* line 25, app/assets/stylesheets/design_system/components/_button.scss */
:is(.ds-app, .ds-auth-body) .ui-btn--primary {
  background: var(--honey);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--sh-1);
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
}

/* line 35, app/assets/stylesheets/design_system/components/_button.scss */
:is(.ds-app, .ds-auth-body) .ui-btn--primary:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-1px);
}

/* line 37, app/assets/stylesheets/design_system/components/_button.scss */
.ds-app.is-doctor .ui-btn--primary {
  background: var(--sage);
  color: #fff;
}

/* line 38, app/assets/stylesheets/design_system/components/_button.scss */
.ds-app.is-receptionist .ui-btn--primary {
  background: var(--lilac);
  color: #fff;
}

/* line 40, app/assets/stylesheets/design_system/components/_button.scss */
:is(.ds-app, .ds-auth-body) .ui-btn--ghost {
  color: var(--ink-2);
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 10px;
}

/* line 46, app/assets/stylesheets/design_system/components/_button.scss */
.ui-btn--ghost:hover {
  background: var(--surface-2);
}

/* line 48, app/assets/stylesheets/design_system/components/_button.scss */
:is(.ds-app, .ds-auth-body) .ui-btn--outline {
  color: var(--ink-2);
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border-strong);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* line 57, app/assets/stylesheets/design_system/components/_button.scss */
.ui-btn--outline:hover {
  background: var(--surface-2);
}

/* line 59, app/assets/stylesheets/design_system/components/_button.scss */
.ui-btn--danger {
  color: var(--terra-700);
  background: var(--terra-50);
}

/* line 63, app/assets/stylesheets/design_system/components/_button.scss */
.ui-btn--danger:hover {
  background: #F2D6D0;
}

/* line 65, app/assets/stylesheets/design_system/components/_button.scss */
.ui-btn--disabled {
  color: var(--ink-3);
  background: var(--surface-2);
  cursor: not-allowed;
  pointer-events: none;
}

/* line 72, app/assets/stylesheets/design_system/components/_button.scss */
.ui-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
}

/* line 78, app/assets/stylesheets/design_system/components/_button.scss */
.ui-icon-btn:hover {
  background: var(--surface-2);
}

/* line 1, app/assets/stylesheets/design_system/components/_card.scss */
.ui-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  padding: 18px;
}

/* line 8, app/assets/stylesheets/design_system/components/_card.scss */
.ui-card--clickable {
  transition: box-shadow .12s, transform .08s;
  cursor: pointer;
}

/* line 12, app/assets/stylesheets/design_system/components/_card.scss */
.ui-card--clickable:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-1px);
}

/* line 17, app/assets/stylesheets/design_system/components/_card.scss */
.ui-grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

/* line 18, app/assets/stylesheets/design_system/components/_card.scss */
.ui-grid-2r {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

/* line 19, app/assets/stylesheets/design_system/components/_card.scss */
.ui-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* line 20, app/assets/stylesheets/design_system/components/_card.scss */
.ui-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 768px) {
  /* line 23, app/assets/stylesheets/design_system/components/_card.scss */
  .ui-grid-2, .ui-grid-2r, .ui-grid-3, .ui-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* line 1, app/assets/stylesheets/design_system/components/_pill.scss */
.ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* line 11, app/assets/stylesheets/design_system/components/_pill.scss */
.ui-pill--sage {
  background: var(--sage-50);
  color: var(--sage-700);
}

/* line 12, app/assets/stylesheets/design_system/components/_pill.scss */
.ui-pill--honey {
  background: var(--honey-50);
  color: var(--honey-700);
}

/* line 13, app/assets/stylesheets/design_system/components/_pill.scss */
.ui-pill--slate {
  background: var(--slate-50);
  color: var(--slate-700);
}

/* line 14, app/assets/stylesheets/design_system/components/_pill.scss */
.ui-pill--terra {
  background: var(--terra-50);
  color: var(--terra-700);
}

/* line 15, app/assets/stylesheets/design_system/components/_pill.scss */
.ui-pill--lilac {
  background: var(--lilac-50);
  color: var(--lilac-700);
}

/* line 1, app/assets/stylesheets/design_system/components/_chip.scss */
.ui-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}

/* line 10, app/assets/stylesheets/design_system/components/_chip.scss */
.ui-chip--active {
  background: var(--honey-50);
  border-color: var(--honey-200);
  color: var(--honey-700);
}

/* line 15, app/assets/stylesheets/design_system/components/_chip.scss */
.ds-app.is-doctor .ui-chip--active {
  background: var(--sage-50);
  border-color: #BDD8CB;
  color: var(--sage-700);
}

/* line 16, app/assets/stylesheets/design_system/components/_chip.scss */
.ds-app.is-receptionist .ui-chip--active {
  background: var(--lilac-50);
  border-color: #D4C5E5;
  color: var(--lilac-700);
}

/* line 1, app/assets/stylesheets/design_system/components/_file_icon.scss */
.ui-file-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  flex: 0 0 auto;
}

/* line 9, app/assets/stylesheets/design_system/components/_file_icon.scss */
.ui-file-icon--sage {
  background: var(--sage-50);
  color: var(--sage-700);
}

/* line 10, app/assets/stylesheets/design_system/components/_file_icon.scss */
.ui-file-icon--honey {
  background: var(--honey-50);
  color: var(--honey-700);
}

/* line 11, app/assets/stylesheets/design_system/components/_file_icon.scss */
.ui-file-icon--slate {
  background: var(--slate-50);
  color: var(--slate-700);
}

/* line 12, app/assets/stylesheets/design_system/components/_file_icon.scss */
.ui-file-icon--terra {
  background: var(--terra-50);
  color: var(--terra-700);
}

/* line 13, app/assets/stylesheets/design_system/components/_file_icon.scss */
.ui-file-icon--lilac {
  background: var(--lilac-50);
  color: var(--lilac-700);
}

/* line 1, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 6, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat__row1 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 13px;
}

/* line 7, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat__badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--sage-50);
  color: var(--sage-700);
}

/* line 13, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat--honey .ui-stat__badge {
  background: var(--honey-50);
  color: var(--honey-700);
}

/* line 14, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat--slate .ui-stat__badge {
  background: var(--slate-50);
  color: var(--slate-700);
}

/* line 15, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat--lilac .ui-stat__badge {
  background: var(--lilac-50);
  color: var(--lilac-700);
}

/* line 16, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat--terra .ui-stat__badge {
  background: var(--terra-50);
  color: var(--terra-700);
}

/* line 18, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat__value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* line 19, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat__meta {
  color: var(--ink-3);
  font-size: 12px;
}

/* line 20, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat__link {
  color: var(--sage-700);
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* line 21, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat--honey .ui-stat__link {
  color: var(--honey-700);
}

/* line 22, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat--lilac .ui-stat__link {
  color: var(--lilac-700);
}

/* line 23, app/assets/stylesheets/design_system/components/_stat.scss */
.ui-stat--terra .ui-stat__link {
  color: var(--terra-700);
}

/* line 1, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

/* line 6, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list > .ui-list__row:first-child,
.ui-list > *:first-child .ui-list__row {
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}

/* line 11, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list > .ui-list__row:last-child,
.ui-list > *:last-child .ui-list__row {
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
  border-bottom: 0;
}

/* line 17, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row {
  display: grid;
  grid-template-columns: 40px 1.5fr 1fr 1fr 140px;
  gap: 16px;
  padding: 14px 18px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .12s;
}

/* line 27, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row:hover {
  background: var(--surface-2);
}

/* line 32, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row--linkable {
  position: relative;
}

/* line 33, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
  border-radius: inherit;
}

/* line 41, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row--linkable > *:not(.ui-list__row-link) {
  position: relative;
  z-index: 2;
}

/* line 42, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row--linkable > *:not(.ui-list__row-link):not(.ui-list__row-actions) {
  pointer-events: none;
}

/* line 46, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity .12s;
  justify-content: flex-end;
}

/* line 53, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row:hover .ui-list__row-actions {
  opacity: 1;
}

/* line 1, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  align-items: center;
  transition: background .12s;
}

/* line 10, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row:hover {
  background: var(--surface-2);
}

/* line 12, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__link {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-width: 0;
}

/* line 23, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__time {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* line 24, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__time small {
  display: block;
  color: var(--ink-3);
  font-weight: 500;
  font-size: 11px;
}

/* line 25, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__info {
  min-width: 0;
}

/* line 26, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 27, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__sub {
  color: var(--ink-3);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 29, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* line 36, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__quick {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* line 42, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}

/* line 47, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-patient-history > .ui-appt-row {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}

/* line 53, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__summary {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  cursor: pointer;
  list-style: none;
  transition: background .12s;
}

/* line 64, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__summary::-webkit-details-marker {
  display: none;
}

/* line 65, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__summary:hover {
  background: var(--surface-2);
}

/* line 67, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--honey-50);
  color: var(--honey-700);
}

/* line 76, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__icon .material-symbols-rounded {
  font-size: 17px;
}

/* line 78, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__info {
  min-width: 0;
}

/* line 79, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__info .ui-appt-row__name,
.ui-appt-series__info .ui-appt-row__sub {
  display: block;
}

/* line 82, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__count {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

/* line 87, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__chevron {
  color: var(--ink-3);
  display: grid;
  place-items: center;
  transition: transform .15s;
}

/* line 93, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series[open] .ui-appt-series__chevron {
  transform: rotate(180deg);
}

/* line 95, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__occurrences {
  border-top: 1px solid var(--border);
  padding: 4px;
}

/* line 99, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-series__occurrences .ui-appt-row {
  grid-template-columns: 1fr;
  padding: 7px 10px;
  font-size: 13px;
}

@media (max-width: 480px) {
  /* line 106, app/assets/stylesheets/design_system/components/_appt_row.scss */
  .ui-appt-series__summary {
    grid-template-columns: auto 1fr auto;
    row-gap: 4px;
  }
  /* line 110, app/assets/stylesheets/design_system/components/_appt_row.scss */
  .ui-appt-series__count {
    grid-column: 2 / 3;
    grid-row: 2;
  }
  /* line 114, app/assets/stylesheets/design_system/components/_appt_row.scss */
  .ui-appt-series__chevron {
    grid-column: 3;
    grid-row: 1;
  }
}

/* line 120, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-patient-history .ui-appt-row,
.ui-patient-history .ui-appt-series__occurrences .ui-appt-row {
  grid-template-columns: 16rem minmax(0, 1fr) auto;
}

@media (max-width: 480px) {
  /* line 126, app/assets/stylesheets/design_system/components/_appt_row.scss */
  .ui-patient-history .ui-appt-row,
.ui-patient-history .ui-appt-series__occurrences .ui-appt-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  /* line 130, app/assets/stylesheets/design_system/components/_appt_row.scss */
  .ui-patient-history .ui-appt-row__time {
    grid-column: 1 / -1;
  }
}

/* line 133, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__absence-notes {
  color: var(--ink-2);
  font-size: 12px;
  margin-top: 4px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* line 141, app/assets/stylesheets/design_system/components/_appt_row.scss */
.ui-appt-row__absence-notes.is-empty {
  color: var(--ink-3);
  font-style: italic;
}

/* line 1, app/assets/stylesheets/design_system/components/_page_head.scss */
.ui-page-head {
  padding: 22px 28px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

/* line 8, app/assets/stylesheets/design_system/components/_page_head.scss */
.ui-page-head__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* line 9, app/assets/stylesheets/design_system/components/_page_head.scss */
.ui-page-head__sub {
  color: var(--ink-3);
  font-size: 13px;
  margin-top: 2px;
}

/* line 10, app/assets/stylesheets/design_system/components/_page_head.scss */
.ui-page-head__actions {
  display: flex;
  gap: 8px;
}

/* line 12, app/assets/stylesheets/design_system/components/_page_head.scss */
.ui-content {
  padding: 12px 28px 28px;
}

@media (max-width: 768px) {
  /* line 15, app/assets/stylesheets/design_system/components/_page_head.scss */
  .ui-page-head {
    padding: 16px 16px 6px;
    flex-wrap: wrap;
  }
  /* line 16, app/assets/stylesheets/design_system/components/_page_head.scss */
  .ui-page-head__actions {
    flex-wrap: wrap;
  }
  /* line 17, app/assets/stylesheets/design_system/components/_page_head.scss */
  .ui-content {
    padding: 8px 16px 24px;
  }
}

/* line 1, app/assets/stylesheets/design_system/components/_empty_state.scss */
.ui-empty {
  text-align: center;
  padding: 24px 12px;
  color: var(--ink-3);
  font-size: 13px;
}

/* line 7, app/assets/stylesheets/design_system/components/_empty_state.scss */
.ui-empty__illustration {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
}

/* line 1, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tabs {
  display: flex;
  gap: 0;
  flex: 1;
  min-width: 0;
}

/* line 8, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tabs-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

/* line 16, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tabs-bar .ui-tabs {
  border-bottom: 0;
  margin-bottom: 0;
}

/* line 17, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tabs-bar__action {
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 0;
  padding-bottom: 8px;
}

/* line 19, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tabs-wrapper > .ui-tabs {
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

/* line 23, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
}

/* line 43, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tab .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
}

/* line 47, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tab:hover {
  color: var(--ink);
  background: var(--surface-2);
}

/* line 51, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tab.is-active {
  color: var(--honey-700);
  border-bottom-color: var(--honey);
}

/* line 55, app/assets/stylesheets/design_system/components/_tabs.scss */
.ds-app.is-doctor .ui-tab.is-active {
  color: var(--sage-700);
  border-bottom-color: var(--sage);
}

/* line 56, app/assets/stylesheets/design_system/components/_tabs.scss */
.ds-app.is-receptionist .ui-tab.is-active {
  color: var(--lilac-700);
  border-bottom-color: var(--lilac);
}

@media (max-width: 768px) {
  /* line 59, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tabs-bar {
    flex-wrap: wrap;
    gap: 0;
  }
  /* line 64, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tabs {
    width: 100%;
    flex: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  /* line 71, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tabs::-webkit-scrollbar {
    display: none;
  }
  /* line 73, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tab {
    flex: none;
    padding: 14px 48px;
  }
  /* line 78, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tab .material-symbols-rounded {
    font-size: 24px;
  }
  /* line 80, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tab span {
    display: none;
  }
  /* line 82, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tabs-bar__action {
    margin-left: auto;
    padding: 8px 0;
    border-bottom: 0;
  }
}

/* line 1, app/assets/stylesheets/design_system/components/_search.scss */
.ui-search {
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 320px;
  color: var(--ink-3);
  transition: background .12s, border-color .12s;
  cursor: text;
}

/* line 14, app/assets/stylesheets/design_system/components/_search.scss */
.ui-search:hover {
  background: #EEE9DC;
}

/* line 16, app/assets/stylesheets/design_system/components/_search.scss */
.ui-search__input {
  background: transparent;
  border: 0;
  outline: none;
  color: inherit;
  flex: 1;
  font: inherit;
  min-width: 0;
  padding: 0;
}

/* line 26, app/assets/stylesheets/design_system/components/_search.scss */
.ui-search__input::placeholder {
  color: var(--ink-3);
}

/* line 30, app/assets/stylesheets/design_system/components/_search.scss */
.ui-kbd {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  font-size: 10px;
  padding: 1px 5px;
  color: var(--ink-3);
  margin-left: auto;
  font-family: ui-monospace, "SF Mono", monospace;
}

/* line 1, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* line 12, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-topbar__title {
  font-weight: 700;
  font-size: 15px;
  flex: 1;
}

/* line 13, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-topbar__title small {
  display: block;
  color: var(--ink-3);
  font-weight: 500;
  font-size: 11px;
}

/* line 15, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-iconbtn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
}

/* line 21, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-iconbtn:hover {
  background: var(--surface-2);
}

/* line 23, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  padding: 14px;
  margin: 12px 16px;
}

/* line 31, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-pill {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
}

/* line 37, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-pill--sage {
  background: var(--sage-50);
  color: var(--sage-700);
}

/* line 38, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-pill--honey {
  background: var(--honey-50);
  color: var(--honey-700);
}

/* line 39, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-pill--terra {
  background: var(--terra-50);
  color: var(--terra-700);
}

/* line 40, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-pill--slate {
  background: var(--slate-50);
  color: var(--slate-700);
}

/* line 42, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-fab {
  position: fixed;
  right: 16px;
  bottom: 84px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--ink);
  box-shadow: var(--sh-3);
  display: grid;
  place-items: center;
  font-size: 24px;
  z-index: 20;
}

/* line 55, app/assets/stylesheets/design_system/components/_mobile.scss */
.ds-app.is-doctor .ui-fab {
  background: var(--sage);
  color: #fff;
}

/* line 56, app/assets/stylesheets/design_system/components/_mobile.scss */
.ds-app.is-receptionist .ui-fab {
  background: var(--lilac);
  color: #fff;
}

/* line 58, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 4px;
  z-index: 15;
}

/* line 68, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 600;
}

/* line 78, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-bottom-nav__item.is-active {
  color: var(--honey-700);
}

/* line 79, app/assets/stylesheets/design_system/components/_mobile.scss */
.ds-app.is-doctor .ui-bottom-nav__item.is-active {
  color: var(--sage-700);
}

/* line 80, app/assets/stylesheets/design_system/components/_mobile.scss */
.ds-app.is-receptionist .ui-bottom-nav__item.is-active {
  color: var(--lilac-700);
}

/* line 1, app/assets/stylesheets/design_system/components/_shell.scss */
.ds-app {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

/* line 9, app/assets/stylesheets/design_system/components/_shell.scss */
.ds-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
}

@media (max-width: 1024px) {
  /* line 17, app/assets/stylesheets/design_system/components/_shell.scss */
  .ds-app {
    grid-template-columns: 1fr;
  }
}

/* line 20, app/assets/stylesheets/design_system/components/_shell.scss */
.ds-alert {
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin: 12px 28px 0;
  font-size: 13px;
}

/* line 26, app/assets/stylesheets/design_system/components/_shell.scss */
.ds-alert--warning {
  background: var(--honey-50);
  color: var(--honey-700);
  border: 1px solid var(--honey-200);
}

/* line 1, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100vh;
  overflow: hidden;
}

/* line 12, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-brand {
  padding: 8px 8px 16px;
}

/* line 13, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-brand__link {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* line 14, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-brand__mark {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

/* line 20, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-brand__name {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* line 22, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-workspace {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 10px 12px;
  margin: 4px 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

/* line 30, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-workspace__label {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* line 31, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-workspace__clinic {
  color: var(--ink);
  font-weight: 600;
  margin-top: 2px;
}

/* line 33, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

/* line 34, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-md);
  color: var(--ink-2);
  font-weight: 500;
  transition: background .12s, color .12s;
}

/* line 42, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-nav__item:hover {
  background: var(--surface-2);
  color: var(--ink);
}

/* line 43, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-nav__item.is-active {
  background: var(--honey-50);
  color: var(--honey-700);
  font-weight: 600;
}

/* line 48, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-app.is-doctor .ds-nav__item.is-active {
  background: var(--sage-50);
  color: var(--sage-700);
}

/* line 49, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-app.is-receptionist .ds-nav__item.is-active {
  background: var(--lilac-50);
  color: var(--lilac-700);
}

/* line 50, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-nav__ico {
  font-size: 18px;
  opacity: 0.8;
}

/* line 52, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-sidebar__foot {
  margin-top: auto;
  padding: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* line 57, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8E1CF, #CFC7B0);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--ink);
  font-size: 12px;
  flex: 0 0 auto;
}

/* line 65, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-avatar.is-doctor {
  background: linear-gradient(135deg, #C8E1D7, #7BAE9B);
}

/* line 66, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-avatar.is-receptionist {
  background: linear-gradient(135deg, #DACAE9, #B8A3D4);
}

/* line 68, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-user-name {
  font-weight: 600;
  font-size: 13px;
}

/* line 69, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-user-role {
  font-size: 11px;
  color: var(--ink-3);
}

/* line 71, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-sidebar__scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(40, 30, 10, 0.4);
  z-index: 40;
}

@media (max-width: 1024px) {
  /* line 79, app/assets/stylesheets/design_system/components/_sidebar.scss */
  .ds-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 280px;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform .2s ease;
  }
  /* line 87, app/assets/stylesheets/design_system/components/_sidebar.scss */
  .ds-app.is-drawer-open .ds-sidebar {
    transform: translateX(0);
    box-shadow: var(--sh-3);
  }
  /* line 88, app/assets/stylesheets/design_system/components/_sidebar.scss */
  .ds-app.is-drawer-open .ds-sidebar__scrim {
    display: block;
  }
}

/* line 1, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* line 10, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-icon-btn.ds-topbar__menu {
  display: none;
}

/* line 11, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-topbar__grow {
  flex: 1;
}

/* line 13, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-breadcrumb {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

/* line 14, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-breadcrumb strong {
  color: var(--ink);
  font-weight: 600;
}

/* line 16, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
}

/* line 22, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-icon-btn:hover {
  background: var(--surface-2);
}

/* line 24, app/assets/stylesheets/design_system/components/_topbar.scss */
.ui-search--disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.85;
}

@media (max-width: 1024px) {
  /* line 31, app/assets/stylesheets/design_system/components/_topbar.scss */
  .ds-topbar {
    padding: 12px 16px;
  }
  /* line 32, app/assets/stylesheets/design_system/components/_topbar.scss */
  .ds-icon-btn.ds-topbar__menu {
    display: grid;
  }
  /* line 33, app/assets/stylesheets/design_system/components/_topbar.scss */
  .ds-topbar .ui-search {
    display: none;
  }
}

@media (max-width: 768px) {
  /* line 2, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ds-only-desktop {
    display: none !important;
  }
}

@media (min-width: 769px) {
  /* line 5, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ds-only-mobile {
    display: none !important;
  }
}

/* line 8, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ui-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1024px) {
  /* line 14, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ui-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  /* line 17, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ui-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* line 20, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ui-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 1024px) {
  /* line 26, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ui-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* line 29, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-grid {
  margin-top: 16px;
}

/* line 30, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-kpis {
  margin-bottom: 4px;
}

/* line 32, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-quick {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  /* line 39, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ds-dashboard-quick {
    grid-template-columns: 1fr;
  }
}

/* line 42, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms {
  margin-top: 16px;
}

/* line 45, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* line 52, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms__row:last-child {
  border-bottom: none;
}

/* line 54, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* line 60, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms__dot.is-busy {
  background: var(--sage);
}

/* line 61, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms__dot.is-free {
  background: var(--slate, var(--ink-3));
  opacity: 0.6;
}

/* line 63, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms__name {
  font-weight: 600;
}

/* line 64, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms__right {
  margin-left: auto;
}

/* line 66, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ui-m-content {
  padding-bottom: 100px;
}

/* line 68, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ui-m-page-head {
  padding: 12px 16px 0;
}

/* line 72, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ui-m-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 16px 0;
}

/* line 78, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ui-m-stat-grid .ui-m-card {
  margin: 0;
}

/* line 1, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-search--inline {
  width: 280px;
}

/* line 4, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-search--inline input[type="text"],
.ui-search--inline input[type="search"] {
  background: transparent;
  border: 0;
  outline: 0;
  flex: 1;
  font: inherit;
  color: var(--ink);
}

@media (max-width: 768px) {
  /* line 15, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-search--inline {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* line 22, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-avatar {
  display: grid;
  place-items: center;
  background: var(--honey-50);
  color: var(--honey-700);
  font-weight: 700;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* line 31, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

/* line 32, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-avatar--md {
  width: 56px;
  height: 56px;
  font-size: 20px;
}

/* line 34, app/assets/stylesheets/design_system/components/_patients.scss */
.ds-app.is-doctor .ui-avatar {
  background: var(--sage-50);
  color: var(--sage-700);
}

/* line 35, app/assets/stylesheets/design_system/components/_patients.scss */
.ds-app.is-receptionist .ui-avatar {
  background: var(--lilac-50);
  color: var(--lilac-700);
}

/* line 37, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-list__row-main {
  min-width: 0;
}

/* line 38, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-list__row-name {
  font-weight: 600;
  color: var(--ink);
}

/* line 39, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-list__row-secondary {
  color: var(--ink-3);
}

/* line 41, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-list__row-secondaries {
  display: contents;
}

/* line 43, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-list__row-secondary .ds-meta-ico {
  display: none;
}

@media (min-width: 769px) {
  /* line 46, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row-secondary.ui-tooltip::after {
    content: none;
  }
}

@media (max-width: 768px) {
  /* line 50, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row {
    grid-template-columns: 40px 1fr auto;
    grid-template-areas: "avatar main    actions" ".      secmeta secmeta";
    row-gap: 6px;
  }
  /* line 57, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row > .ui-avatar {
    grid-area: avatar;
  }
  /* line 58, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row > .ui-list__row-main {
    grid-area: main;
  }
  /* line 59, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row > .ui-list__row-actions {
    grid-area: actions;
    opacity: 1;
  }
  /* line 61, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row-secondaries {
    grid-area: secmeta;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    min-width: 0;
  }
  /* line 69, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row-secondary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    max-width: 100%;
    font-size: 11px;
  }
  /* line 77, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row-secondary .ds-meta-ico {
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 15px;
    color: var(--ink-3);
  }
  /* line 83, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row-secondary .ds-meta-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* line 90, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-hero {
  align-items: flex-start;
}

/* line 91, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 92, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-hero__sep {
  margin: 0 6px;
  color: var(--ink-3);
}

/* line 94, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-identity {
  align-self: start;
}

/* line 95, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-identity__title {
  margin: 0 0 4px;
}

/* line 97, app/assets/stylesheets/design_system/components/_patients.scss */
.ds-dl {
  margin: 12px 0 0;
}

/* line 98, app/assets/stylesheets/design_system/components/_patients.scss */
.ds-dl dt {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
}

/* line 106, app/assets/stylesheets/design_system/components/_patients.scss */
.ds-dl dd {
  font-size: 14px;
  color: var(--ink);
  margin: 4px 0 0;
}

/* line 107, app/assets/stylesheets/design_system/components/_patients.scss */
.ds-dl dt:first-of-type {
  margin-top: 0;
}

/* line 109, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-tabs-wrapper {
  display: block;
}

/* line 111, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-tabs-panel {
  padding: 20px 4px;
  min-height: 200px;
}

/* line 116, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-tabs-panel .ui-patient-identity.ui-card {
  box-shadow: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  margin: 0;
}

/* line 124, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entries {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 129, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entries__header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

/* line 134, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entries__footer {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

/* line 139, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entry__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

/* line 146, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entry__author {
  font-weight: 600;
  color: var(--ink);
}

/* line 147, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entry__body {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

/* line 148, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entry__body p {
  margin: 0 0 6px;
}

/* line 150, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-history {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 152, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-history__toolbar {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

/* line 159, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-history__toolbar .ui-patient-form--compact .form-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

/* line 165, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-history__toolbar .ui-patient-form--compact .form-control {
  width: 150px;
}

/* line 166, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-history__toolbar .ui-patient-form--compact .form-group--actions {
  flex: 0 0 auto;
}

/* line 168, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__filters {
  margin-bottom: 16px;
}

/* line 169, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__filters.ui-patient-form--compact .form-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

/* line 175, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__filters .form-control {
  width: 150px;
}

/* line 176, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__filters .form-group--actions {
  flex: 0 0 auto;
}

/* line 177, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__filters .ui-patient-documents__tag-filter {
  flex: 1 1 240px;
}

/* line 178, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__tag-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 183, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__tag-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* line 188, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__group {
  margin-bottom: 20px;
}

/* line 189, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__group-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

/* line 195, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

/* line 200, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-document-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s, transform .15s;
}

/* line 214, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-document-card:hover {
  box-shadow: 0 4px 14px rgba(20, 20, 30, 0.08);
  transform: translateY(-1px);
}

/* line 218, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-document-card__name {
  font-size: 12.5px;
  font-weight: 600;
  word-break: break-word;
  color: var(--ink);
}

/* line 224, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-document-card__meta {
  font-size: 11px;
  color: var(--ink-3);
}

/* line 226, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-guardians {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 227, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-guardians__item {
  padding: 12px 14px;
}

/* line 229, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 230, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* line 235, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 236, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* line 243, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .form-control {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  transition: border-color .12s, box-shadow .12s;
}

/* line 252, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .form-control:focus {
  outline: 0;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px var(--honey-50);
}

/* line 257, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 768px) {
  /* line 265, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-patient-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* line 268, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .guardians-section h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

/* line 274, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .guardian-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 10px;
  padding: 12px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  margin-bottom: 8px;
}

/* line 283, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .guardian-fields .form-group {
  gap: 4px;
}

/* line 284, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .guardian-fields button {
  align-self: end;
  background: transparent;
  border: 0;
  color: var(--terra-700);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
}

/* line 293, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .guardian-fields button:hover {
  background: var(--terra-50);
}

@media (max-width: 768px) {
  /* line 296, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-patient-form .guardian-fields {
    grid-template-columns: 1fr 1fr;
  }
}

/* line 299, app/assets/stylesheets/design_system/components/_patients.scss */
#cid-search-field {
  position: relative;
  margin-bottom: 0;
}

/* line 304, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 220px;
  overflow-y: auto;
  z-index: 100;
}

/* line 318, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-dropdown__item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
}

/* line 331, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-dropdown__item:last-child {
  border-bottom: none;
}

/* line 332, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-dropdown__item:hover {
  background: var(--surface-2);
}

/* line 335, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

/* line 342, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--terra-50);
  border-radius: var(--r-sm);
  font-size: 13px;
  color: var(--ink);
}

/* line 353, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-chip--readonly {
  margin-right: 6px;
}

/* line 357, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-chip-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: var(--ink);
}

/* line 366, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-dropdown__empty {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink-3);
}

/* line 372, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-edit-action {
  margin-top: 8px;
}

/* line 376, app/assets/stylesheets/design_system/components/_patients.scss */
.ds-field-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

/* line 382, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-modal {
  border: none;
  border-radius: var(--r-lg);
  padding: 24px;
  width: 90vw;
  max-width: 420px;
  box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.15));
}

/* line 390, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-modal::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

/* line 391, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-modal__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

/* line 392, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* line 393, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

/* line 399, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__chip-list .ui-chip button {
  border: none;
  background: transparent;
  margin-left: 4px;
  cursor: pointer;
  font-weight: 700;
}

/* line 406, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__tag-dropdown {
  position: relative;
  border: 1px solid var(--border, #e2e2e2);
  border-radius: var(--r-md);
  margin-top: 4px;
  max-height: 160px;
  overflow-y: auto;
}

/* line 414, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__tag-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: var(--surface-1, #fff);
  cursor: pointer;
}

/* line 423, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__tag-dropdown-item:hover {
  background: var(--surface-2);
}

/* line 1, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-record {
  padding: 0;
}

/* line 3, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-record__top-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

/* line 9, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-record__tabs {
  margin-bottom: 12px;
}

/* line 13, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-record__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* line 19, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry {
  position: relative;
}

/* line 23, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* line 31, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* line 44, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__author {
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}

/* line 50, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__when {
  color: var(--ink-3);
  font-size: 11px;
  margin-top: 2px;
}

/* line 56, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__chips {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* line 63, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

/* line 68, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__body p {
  margin: 0 0 8px;
}

/* line 69, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__body strong {
  font-weight: 600;
}

/* line 70, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__body trix-editor {
  border: 0;
  padding: 0;
}

/* line 72, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__file-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
}

/* line 82, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__file-card:hover {
  background: var(--surface-3, var(--surface-2));
}

/* line 83, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__file-card .ui-file-icon {
  width: 36px;
  height: 36px;
}

/* line 84, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__file-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* line 86, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__footer {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

/* line 92, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer {
  margin-top: 16px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  padding: 16px;
}

/* line 100, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__form {
  display: block;
}

/* line 102, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__editor {
  display: block;
}

/* line 105, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__editor trix-editor {
  min-height: 180px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
  background: var(--surface);
  font-size: 14px;
}

/* line 114, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__editor trix-toolbar .trix-button-group--file-tools {
  display: none;
}

/* line 118, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__footer {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  box-sizing: border-box;
}

/* line 128, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1 1 320px;
  min-width: 0;
}

/* line 136, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__chips .ds-label {
  margin-right: 4px;
  flex-basis: 100%;
}

/* line 140, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__chips .ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* line 146, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__chips .ui-chip input[type="checkbox"] {
  accent-color: var(--honey);
  margin: 0;
}

/* line 151, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

/* line 158, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__actions .ui-btn {
  white-space: nowrap;
}

/* line 159, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__attach-btn {
  cursor: pointer;
}

/* line 161, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__sheet-header {
  display: none;
}

/* line 163, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-record .ui-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--ink-3);
}

@media (max-width: 768px) {
  /* line 170, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer {
    position: fixed;
    inset: 0;
    z-index: 60;
    border-radius: 0;
    margin: 0;
    padding: 0;
    transform: translateY(100%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    visibility: hidden;
  }
  /* line 184, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer.is-open {
    transform: translateY(0);
    visibility: visible;
  }
  /* line 188, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__sheet-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
  }
  /* line 196, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__form {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
  }
  /* line 201, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__editor trix-editor {
    min-height: 220px;
  }
  /* line 203, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__editor trix-toolbar {
    overflow-x: auto;
    white-space: nowrap;
  }
  /* line 207, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__editor trix-toolbar .trix-button-row {
    display: inline-flex;
    flex-wrap: nowrap;
  }
  /* line 211, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__editor trix-toolbar .trix-button {
    padding: 4px 8px;
  }
}

/* line 1, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

/* line 7, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar-card__body {
  min-width: 0;
  flex: 1;
}

/* line 8, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--honey-50);
  color: var(--honey-700);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* line 18, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-app.is-doctor .ds-calendar-card__icon {
  background: var(--sage-50);
  color: var(--sage-700);
}

/* line 19, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-app.is-receptionist .ds-calendar-card__icon {
  background: var(--lilac-50);
  color: var(--lilac-700);
}

/* line 21, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* line 33, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar-nav__label {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  text-align: center;
  min-width: 180px;
}

/* line 41, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: 999px;
  margin: 0 auto 14px;
  width: fit-content;
}

/* line 50, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-switcher__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .12s, color .12s;
}

/* line 63, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-switcher__option:hover {
  color: var(--ink);
}

/* line 64, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-switcher__option.is-active {
  background: var(--honey);
  color: var(--ink);
}

/* line 68, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-switcher__option:focus-visible {
  outline: 2px solid var(--honey-700);
  outline-offset: 2px;
}

/* line 73, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__day-label {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: capitalize;
}

/* line 79, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__day-date {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* line 85, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__day-label.is-today,
.ds-calendar__day-date.is-today {
  color: var(--honey-700);
}

/* line 93, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

/* line 100, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__header-row {
  display: flex;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
  overflow: hidden;
}

/* line 108, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__hours-spacer {
  flex: 0 0 70px;
}

/* line 109, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__day-header {
  position: relative;
  flex: 1 1 0;
  padding: 12px 8px;
  text-align: center;
  border-left: 1px solid var(--border);
}

/* line 116, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__day-header-bar {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 8px;
}

/* line 123, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__body {
  display: flex;
}

/* line 126, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline--week .ds-timeline__column {
  border-left: 1px solid var(--border);
}

/* line 129, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__hours {
  flex: 0 0 70px;
  background: var(--surface-2);
  position: relative;
}

/* line 134, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__hour-label {
  position: absolute;
  left: 0;
  right: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 4px 8px;
  border-top: 1px solid var(--border);
}

/* line 144, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__hours .ds-timeline__hour-label:first-child {
  border-top: 0;
}

/* line 146, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__column {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: calc(var(--hour-count, 10) * 64px);
}

/* line 152, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__column--clickable {
  cursor: pointer;
}

/* line 153, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* line 158, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__hour-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border);
}

/* line 164, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__grid .ds-timeline__hour-line:first-child {
  border-top: 0;
}

/* line 166, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__hover-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--honey-700);
  pointer-events: none;
  opacity: 0;
  transition: opacity .08s;
}

/* line 175, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__hover-line.is-visible {
  opacity: 1;
}

/* line 176, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__hover-time {
  position: absolute;
  left: 4px;
  top: 0;
  transform: translateY(-50%);
  background: var(--honey-700);
  color: var(--surface);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

/* line 190, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__appt {
  position: absolute;
  display: flex;
  top: var(--top);
  height: var(--height);
  left: calc(var(--col) * (100% / var(--col-count)));
  width: calc(100% / var(--col-count));
  padding: 0 2px;
  box-sizing: border-box;
  container-type: size;
}

/* line 201, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__appt .ds-calendar__appt {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* line 207, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__appt .ds-calendar__appt-header {
  flex: none;
}

/* line 208, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__appt .ds-calendar__appt-time,
.ds-timeline__appt .ds-calendar__appt-meta {
  min-height: 0;
  overflow: hidden;
}

/* line 213, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__appt .ds-calendar__appt-meta {
  flex-wrap: nowrap;
}

/* line 214, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-patient-short {
  display: none;
  min-width: 0;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 223, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-time-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@container (max-width: 120px) {
  /* line 230, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-meta,
.ds-timeline__appt .ds-calendar__appt-recurrence-icon {
    display: none;
  }
  /* line 232, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-patient {
    -webkit-line-clamp: 1;
    font-size: 11px;
  }
  /* line 236, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-time {
    font-size: 10px;
  }
}

@container (max-height: 90px) {
  /* line 240, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-patient {
    -webkit-line-clamp: 1;
  }
}

@container (max-width: 76px) {
  /* line 244, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt {
    padding: 2px 4px;
  }
  /* line 245, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-actions {
    display: none;
  }
  /* line 246, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-patient {
    display: none;
  }
  /* line 247, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-patient-short {
    display: block;
    font-size: 11px;
  }
}

@container (max-width: 44px) {
  /* line 254, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-time {
    display: none;
  }
  /* line 255, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt .ds-calendar__appt-patient-short {
    font-size: 10px;
  }
}

/* line 259, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__appt .ds-calendar__appt-meta > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* line 266, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--ink-3);
  background: var(--surface);
  box-shadow: var(--sh-1);
  transition: background .12s, color .12s, transform .08s;
}

/* line 278, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__add-btn:hover {
  background: var(--honey-50);
  color: var(--honey-700);
  transform: scale(1.05);
}

/* line 283, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-timeline__day-header .ds-timeline__add-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
}

/* line 291, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt {
  display: block;
  background: var(--honey-50);
  border-left: 3px solid var(--honey);
  border-radius: var(--r-sm);
  padding: 6px 8px;
  font-size: 12px;
  color: var(--ink);
  box-shadow: var(--sh-1), 0 0 0 1.5px var(--surface);
  text-decoration: none;
  position: relative;
}

/* line 303, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt + .ds-calendar__appt {
  margin-top: 4px;
}

/* line 304, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--sage {
  background: var(--sage-50);
  border-left-color: var(--sage);
}

/* line 305, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--terra {
  background: var(--terra-50);
  border-left-color: var(--terra);
}

/* line 307, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--compact {
  padding: 1px 6px;
}

/* line 308, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--compact .ds-calendar__appt-header {
  display: block;
}

/* line 311, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--compact .ds-calendar__appt-patient {
  -webkit-line-clamp: 1;
  font-size: 11px;
  padding-right: 16px;
}

/* line 316, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--compact .ds-calendar__appt-time {
  margin-top: 0;
  font-size: 10px;
}

/* line 320, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--compact .ds-calendar__appt-actions {
  position: absolute;
  top: 1px;
  right: 3px;
}

/* line 325, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--compact .ds-calendar__kebab-trigger {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

/* line 330, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--compact .ds-calendar__kebab-trigger .material-symbols-rounded {
  font-size: 11px;
}

/* line 334, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--pill .ds-calendar__appt-actions {
  opacity: 0;
  transition: opacity .12s;
}

/* line 338, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt--pill:hover .ds-calendar__appt-actions,
.ds-calendar__appt--pill:focus-within .ds-calendar__appt-actions {
  opacity: 1;
}

/* line 343, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
  border-radius: var(--r-sm);
}

/* line 351, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-header {
  position: relative;
  z-index: 3;
  pointer-events: none;
}

/* line 357, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-time,
.ds-calendar__appt-meta {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* line 364, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-header:has(.ds-calendar__kebab.is-open) {
  z-index: 50;
}

/* line 368, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-actions {
  pointer-events: auto;
}

/* line 372, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: var(--sh-2);
  z-index: 20;
  pointer-events: none;
}

/* line 388, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-tooltip::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink);
  border-bottom: none;
}

/* line 401, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-tooltip-item + .ds-calendar__appt-tooltip-item {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 3px;
  padding-top: 3px;
}

/* line 408, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt:hover .ds-calendar__appt-tooltip {
  display: block;
}

/* line 412, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
}

/* line 419, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-patient {
  font-weight: 700;
  color: var(--ink);
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* line 430, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-recurrence-icon {
  font-size: 13px;
  vertical-align: -2px;
  opacity: 0.75;
}

/* line 435, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-time {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* line 445, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--ink-3);
  flex-wrap: wrap;
}

/* line 454, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-meta .material-symbols-rounded {
  font-size: 14px;
  vertical-align: middle;
}

/* line 458, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
}

/* line 465, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab {
  position: relative;
  display: inline-flex;
}

/* line 469, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-trigger {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  cursor: pointer;
  background: transparent;
  border: 0;
}

/* line 480, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-trigger:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

/* line 481, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-trigger .material-symbols-rounded {
  font-size: 16px;
}

/* line 483, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  min-width: 190px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: 6px;
  flex-direction: column;
  gap: 2px;
}

/* line 499, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab.is-open .ds-calendar__kebab-menu {
  display: flex;
}

/* line 502, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab.is-open .ds-calendar__kebab-trigger {
  background: var(--surface-2);
  color: var(--ink);
}

/* line 506, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-menu form {
  margin: 0;
}

/* line 507, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-menu button,
.ds-calendar__kebab-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 12px;
  background: transparent;
  border: 0;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

/* line 523, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-menu button:hover,
.ds-calendar__kebab-menu a:hover {
  background: var(--surface-2);
}

/* line 525, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-menu .material-symbols-rounded {
  font-size: 16px;
}

/* line 526, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-menu .is-danger {
  color: var(--terra-700);
}

/* line 527, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-menu .is-success {
  color: var(--sage-700);
}

/* line 529, app/assets/stylesheets/design_system/components/_calendar.scss */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 30, 10, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 16px;
}

/* line 540, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* line 551, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

/* line 559, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

/* line 568, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__title .material-symbols-rounded {
  color: var(--honey-700);
  font-size: 20px;
}

/* line 572, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-app.is-doctor .ds-modal__title .material-symbols-rounded {
  color: var(--sage-700);
}

/* line 573, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-app.is-receptionist .ds-modal__title .material-symbols-rounded {
  color: var(--lilac-700);
}

/* line 575, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-3);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

/* line 586, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__close:hover {
  background: var(--surface-2);
  color: var(--ink);
}

/* line 588, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__body {
  padding: 18px 22px;
}

/* line 589, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

/* line 598, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

/* line 599, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

/* line 605, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-form-group .ds-form-help {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* line 610, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  /* line 616, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-form-row {
    grid-template-columns: 1fr;
  }
}

/* line 619, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-input,
.ds-select,
.ds-form-group input[type="text"],
.ds-form-group input[type="search"],
.ds-form-group input[type="date"],
.ds-form-group input[type="time"],
.ds-form-group input[type="email"],
.ds-form-group input[type="password"],
.ds-form-group select,
.ds-form-group textarea {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .12s, box-shadow .12s;
}

/* line 638, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-input:focus,
.ds-select:focus,
.ds-form-group input:focus,
.ds-form-group select:focus,
.ds-form-group textarea:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px var(--honey-50);
}

/* line 648, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-duration-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 653, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-duration-presets .ui-chip {
  cursor: pointer;
}

/* line 655, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-room-toggle .ui-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* line 662, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-room-toggle .ui-chip input[type="checkbox"] {
  accent-color: var(--honey);
  margin: 0;
}

/* line 667, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-day-label {
  cursor: pointer;
  display: inline-flex;
}

/* line 672, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-day-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* line 684, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-day-btn {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  padding: 7px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
  transition: background .12s, border-color .12s, color .12s;
}

/* line 699, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-day-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
}

/* line 703, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-day-checkbox:checked + .recurrence-day-btn {
  background: var(--honey);
  border-color: var(--honey);
  color: var(--ink);
}

/* line 708, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-fields {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 713, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-section label.text-sm,
.recurrence-section legend {
  display: block;
  font-weight: 500;
}

/* line 718, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-monthly-option span {
  font-weight: 400;
}

/* line 721, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-interval-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* line 726, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-interval-inputs .recurrence-interval-input {
  flex: 0 0 80px;
  width: 80px;
}

/* line 730, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-frequency-select {
  max-width: 160px;
}

/* line 733, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-ends-on {
  max-width: 180px;
}

/* line 736, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-monthly-option {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  cursor: pointer;
}

/* line 743, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-section[hidden],
.recurrence-fields [hidden] {
  display: none !important;
}

/* line 747, app/assets/stylesheets/design_system/components/_calendar.scss */
.recurrence-day-checkbox:focus-visible + .recurrence-day-btn {
  outline: 2px solid var(--honey-700);
  outline-offset: 2px;
}

/* line 752, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-wrapper {
  position: relative;
}

/* line 753, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-wrapper .patient-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--ink-3);
  pointer-events: none;
}

/* line 762, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-wrapper input[type="text"] {
  padding-left: 36px;
}

/* line 765, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  max-height: 220px;
  overflow-y: auto;
  z-index: 1100;
}

/* line 779, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-dropdown.open {
  display: block;
}

/* line 780, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-item {
  padding: 9px 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

/* line 787, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-item:last-child {
  border-bottom: 0;
}

/* line 788, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-item:hover {
  background: var(--surface-2);
}

/* line 789, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-empty {
  padding: 10px 12px;
  color: var(--ink-3);
  font-size: 13px;
}

@media (max-width: 768px) {
  /* line 799, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline--week {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* line 800, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline--week .ds-timeline__header-row,
.ds-timeline--week .ds-timeline__body {
    min-width: 980px;
  }
  /* line 802, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar-nav {
    flex-direction: row;
  }
  /* line 803, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar-nav__label {
    min-width: 140px;
  }
  /* line 805, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar__kebab.is-open .ds-calendar__kebab-menu {
    position: fixed;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1200;
    min-width: 0;
    border: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: 10px 14px calc(14px + env(safe-area-inset-bottom));
    gap: 4px;
    box-shadow: 0 -8px 28px rgba(40, 30, 10, 0.22);
  }
  /* line 819, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar__kebab.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1199;
    background: rgba(40, 30, 10, 0.45);
  }
  /* line 826, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar__kebab-menu button,
.ds-calendar__kebab-menu a {
    padding: 13px 12px;
    font-size: 14px;
    gap: 10px;
  }
  /* line 832, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar__kebab-menu .material-symbols-rounded {
    font-size: 20px;
  }
  /* line 834, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar__kebab-trigger {
    width: 30px;
    height: 30px;
  }
  /* line 838, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar__kebab-trigger .material-symbols-rounded {
    font-size: 18px;
  }
  /* line 840, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-agenda-switcher__option[data-view="week"],
.ds-agenda-switcher__option[data-view="month"] {
    display: none;
  }
  /* line 845, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-timeline__appt {
    min-height: 32px;
  }
}

/* line 848, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
}

/* line 854, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__weekday-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  text-transform: capitalize;
}

/* line 866, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

/* line 870, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__day {
  min-height: 110px;
  padding: 6px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 879, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__day.is-outside-month {
  background: var(--surface-2);
  opacity: 0.55;
}

/* line 880, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__day.is-today {
  background: var(--honey-50);
}

/* line 881, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__day-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  align-self: flex-start;
  padding: 2px 6px;
  border-radius: 999px;
}

/* line 890, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__day.is-today .ds-agenda-month__day-number {
  background: var(--honey);
}

/* line 893, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__chips {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 898, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__chip {
  display: block;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--honey-50);
  border-left: 2px solid var(--honey);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* line 911, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__chip.ds-calendar__appt--sage {
  background: var(--sage-50);
  border-left-color: var(--sage);
}

/* line 912, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__chip.ds-calendar__appt--terra {
  background: var(--terra-50);
  border-left-color: var(--terra);
}

/* line 913, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__more {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  padding: 2px 6px;
}

/* line 920, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-agenda-month__more:hover {
  color: var(--ink);
}

/* line 1, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-pill-stack {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* line 8, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-inline-form {
  display: inline-flex;
  margin: 0;
  padding: 0;
}

/* line 10, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-icon-btn--danger {
  color: var(--terra-700);
}

/* line 11, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-icon-btn--danger:hover {
  background: var(--terra-50);
}

/* line 13, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-defs {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 19, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-defs__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: baseline;
}

/* line 25, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-defs__row dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

/* line 33, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-defs__row dd {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 640px) {
  /* line 35, app/assets/stylesheets/design_system/components/_admin_crud.scss */
  .ui-defs__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* line 38, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px;
  background: var(--surface-2);
  border-radius: var(--r-md);
}

/* line 46, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
}

/* line 54, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-checkbox input[type="checkbox"] {
  accent-color: var(--honey);
}

/* line 56, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px 16px;
  margin: 0;
}

/* line 62, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-fieldset legend {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  padding: 0 6px;
}

/* line 71, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-callout {
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
}

/* line 77, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-callout strong {
  display: block;
  margin-bottom: 6px;
}

/* line 78, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-callout ul {
  margin: 0;
  padding-left: 18px;
}

/* line 79, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-callout--terra {
  background: var(--terra-50);
  color: var(--terra-700);
}

/* line 81, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ds-required {
  color: var(--terra-700);
}

/* line 82, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ds-form-error {
  color: var(--terra-700);
  font-size: 12px;
}

/* line 84, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact {
  gap: 10px;
}

/* line 87, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact .form-row {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* line 92, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact .form-group {
  gap: 2px;
}

/* line 94, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact label {
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* line 99, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact .form-control {
  padding: 6px 10px;
  font-size: 13px;
}

/* line 104, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact .form-actions {
  margin-top: 4px;
}

/* line 106, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact input.form-control[type="file"] {
  padding: 4px 6px;
  cursor: pointer;
}

/* line 110, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact input.form-control[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--honey-50);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s;
}

/* line 122, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact input.form-control[type="file"]::file-selector-button:hover {
  background: var(--honey);
  color: var(--ink);
}

/* line 128, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-patient-form--compact .form-row--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  /* line 133, app/assets/stylesheets/design_system/components/_admin_crud.scss */
  .ui-patient-form--compact .form-row {
    grid-template-columns: 1fr;
  }
  /* line 134, app/assets/stylesheets/design_system/components/_admin_crud.scss */
  .ui-patient-form--compact .form-row--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* line 137, app/assets/stylesheets/design_system/components/_admin_crud.scss */
#user-documents-list {
  margin-top: 20px;
}

/* line 139, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-list__row > .ui-list__row-actions {
  min-width: 80px;
}

/* line 1, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-body {
  background: var(--bg);
  min-height: 100vh;
  margin: 0;
}

/* line 7, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  box-sizing: border-box;
}

/* line 15, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 32px 28px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  /* line 26, app/assets/stylesheets/design_system/components/_auth.scss */
  .ds-auth-card {
    padding: 24px 20px;
    border-radius: var(--r-md);
  }
}

/* line 32, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

/* line 38, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-brand .ds-brand__mark {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

/* line 45, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-brand .ds-brand__name {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: 16px;
}

/* line 52, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

/* line 59, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 65, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-form-group .ds-label,
.ds-auth-form label.ds-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0;
  text-transform: none;
}

/* line 74, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color .12s, box-shadow .12s;
}

/* line 87, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input::placeholder {
  color: var(--ink-3);
}

/* line 88, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input:hover {
  border-color: var(--ink-3);
}

/* line 89, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px var(--honey-50);
}

/* line 94, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input:disabled {
  background: var(--surface-2);
  color: var(--ink-3);
  cursor: not-allowed;
}

/* line 100, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-form-help {
  font-size: 12px;
  color: var(--ink-3);
}

/* line 104, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-form-help--error {
  color: var(--terra-700);
}

/* line 106, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-form-check-label {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

/* line 112, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input.is-invalid {
  border-color: var(--terra-700);
  box-shadow: 0 0 0 3px rgba(190, 75, 60, 0.12);
}

/* line 117, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input--multiselect {
  min-height: 96px;
  padding: 6px 8px;
}

/* line 122, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}

/* line 128, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  transition: border-color .12s, background .12s;
}

/* line 139, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-radio:hover {
  border-color: var(--ink-3);
}

/* line 140, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-radio input[type="radio"] {
  margin: 0;
  accent-color: var(--honey);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* line 147, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-radio:has(input:checked) {
  border-color: var(--honey);
  background: var(--honey-50);
}

/* line 151, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-radio__label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

/* line 157, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

/* line 165, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-link {
  color: var(--ink-2);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: color .12s;
}

/* line 172, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-link:hover {
  color: var(--honey-700);
  text-decoration: underline;
}

/* line 176, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-link--primary {
  color: var(--honey-700);
}

/* line 180, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-error {
  background: var(--terra-50);
  color: var(--terra-700);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.4;
}

/* line 189, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-error strong {
  display: block;
  margin-bottom: 6px;
}

/* line 190, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-error ul {
  margin: 0;
  padding-left: 18px;
}

/* line 192, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-card .alert {
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

/* line 200, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-card .alert-success {
  background: var(--sage-50);
  color: var(--sage-700);
  border-color: var(--sage-50);
}

/* line 205, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-card .alert-danger {
  background: var(--terra-50);
  color: var(--terra-700);
  border-color: var(--terra-50);
}

/* line 210, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-card .alert .btn-close {
  float: right;
  background: transparent;
  border: 0;
  color: currentColor;
  opacity: 0.6;
  cursor: pointer;
  font-size: 16px;
}

/* line 219, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-card .alert .btn-close:hover {
  opacity: 1;
}

/* line 221, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

/* line 228, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-subtitle {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 20px;
}

/* line 234, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-submit {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: 14px;
}

/* line 241, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-form-row {
  display: flex;
  gap: 12px;
}

/* line 245, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-form-row__col {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 480px) {
  /* line 250, app/assets/stylesheets/design_system/components/_auth.scss */
  .ds-form-row {
    flex-direction: column;
    gap: 8px;
  }
}

/* line 253, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* line 262, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  text-align: center;
}

/* line 270, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__item::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

/* line 280, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__item:last-child::after {
  display: none;
}

/* line 281, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__item.is-done::after {
  background: var(--honey-200);
}

/* line 283, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__bullet {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--ink-3);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: background .12s, color .12s, border-color .12s;
}

/* line 298, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__item.is-current .ds-auth-stepper__bullet {
  background: var(--honey);
  color: var(--ink);
  border-color: var(--honey);
  box-shadow: 0 0 0 3px var(--honey-50);
}

/* line 304, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__item.is-done .ds-auth-stepper__bullet {
  background: var(--honey-50);
  color: var(--honey-700);
  border-color: var(--honey-200);
}

/* line 310, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__label {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  line-height: 1.2;
}

/* line 316, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__item.is-current .ds-auth-stepper__label,
.ds-auth-stepper__item.is-done .ds-auth-stepper__label {
  color: var(--ink);
}

/* line 321, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-bullets {
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

/* line 331, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* line 336, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-bullets__check {
  color: var(--sage-700);
  font-weight: 700;
  flex-shrink: 0;
}

/* line 342, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

/* line 347, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-actions .ui-btn {
  flex: 1 1 0;
  justify-content: center;
  padding: 11px 16px;
  font-size: 14px;
}

/* line 354, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input-wrapper {
  position: relative;
}

/* line 357, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input-wrapper .ds-input {
  padding-right: 40px;
}

/* line 360, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--r-sm);
  color: var(--ink-3);
  cursor: pointer;
  padding: 0;
}

/* line 376, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input-toggle:hover {
  color: var(--ink-2);
  background: var(--surface-2);
}

/* line 380, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--honey-50);
}

/* line 384, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input-toggle svg {
  width: 18px;
  height: 18px;
}

/* line 388, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input-toggle .icon-eye-off {
  display: none;
}

/* line 391, app/assets/stylesheets/design_system/components/_auth.scss */
.is-visible[data-controller="password-visibility"] .ds-input-toggle .icon-eye {
  display: none;
}

/* line 394, app/assets/stylesheets/design_system/components/_auth.scss */
.is-visible[data-controller="password-visibility"] .ds-input-toggle .icon-eye-off {
  display: block;
}

/* line 1, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  background: rgba(40, 30, 10, 0.4);
  overflow-y: auto;
}

/* line 13, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__card {
  width: 100%;
  max-width: 640px;
  margin: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}

@media (max-width: 640px) {
  /* line 28, app/assets/stylesheets/design_system/components/_modal.scss */
  .ds-modal {
    padding: 0;
    align-items: flex-end;
  }
  /* line 33, app/assets/stylesheets/design_system/components/_modal.scss */
  .ds-modal__card {
    margin: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    max-height: 92vh;
    max-height: 92dvh;
    width: 100%;
  }
}

/* line 42, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

/* line 50, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__header .ds-h2 {
  margin: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

/* line 58, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__header .ui-icon-btn {
  margin-left: auto;
}

/* line 62, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__card form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* line 70, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__body {
  flex: 1;
  min-height: 0;
  padding: 16px 20px 20px;
  overflow-y: auto;
}

/* line 77, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}

/* line 87, app/assets/stylesheets/design_system/components/_modal.scss */
.medical-composer--edit {
  margin-top: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* line 1, app/assets/stylesheets/design_system/components/_tooltip.scss */
.ui-tooltip {
  position: relative;
}

/* line 5, app/assets/stylesheets/design_system/components/_tooltip.scss */
.ui-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 8px;
  background: var(--ink);
  color: var(--surface);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: var(--r-sm, 6px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease, transform .12s ease;
  z-index: 10;
}

/* line 24, app/assets/stylesheets/design_system/components/_tooltip.scss */
.ui-tooltip:hover::after,
.ui-tooltip:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* line 1, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast-stack {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

/* line 12, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--ink-3);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  min-width: 260px;
  max-width: 440px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-12px);
  animation: ui-toast-in .25s ease-out forwards, ui-toast-out .25s ease-in 6s forwards;
}

/* line 33, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast--success {
  border-left-color: var(--sage);
}

/* line 34, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast--error {
  border-left-color: var(--terra-700);
}

/* line 35, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast--warning {
  border-left-color: var(--honey-700);
}

/* line 37, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast__icon {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--ink-3);
}

/* line 43, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast--success .ui-toast__icon {
  color: var(--sage);
}

/* line 44, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast--error .ui-toast__icon {
  color: var(--terra-700);
}

/* line 45, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast--warning .ui-toast__icon {
  color: var(--honey-700);
}

/* line 47, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast__body {
  flex: 1;
  padding-top: 1px;
}

/* line 49, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast__close {
  flex: none;
  background: transparent;
  border: 0;
  color: var(--ink-3);
  cursor: pointer;
  padding: 2px;
  margin: -2px -4px -2px 0;
  border-radius: 6px;
  display: grid;
  place-items: center;
  transition: background .12s, color .12s;
}

/* line 62, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast__close:hover {
  background: var(--surface-2);
  color: var(--ink);
}

@keyframes ui-toast-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ui-toast-out {
  to {
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
  }
}

/* line 1, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plans-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 14px;
  flex-wrap: wrap;
}

/* line 10, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-period-switch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-2);
  border-radius: var(--r-full, 999px);
  padding: 10px 20px;
}

/* line 19, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-period-switch__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  cursor: pointer;
  user-select: none;
  transition: color .15s;
  white-space: nowrap;
}

/* line 31, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-period-switch__label.is-active {
  color: var(--ink);
}

/* line 36, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-period-switch__track {
  position: relative;
  width: 56px;
  height: 30px;
  background: var(--sage);
  border-radius: 15px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}

/* line 47, app/assets/stylesheets/design_system/components/_billing.scss */
body.is-billing-monthly .billing-period-switch__track {
  background: var(--ink-3);
}

/* line 52, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-period-switch__knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transform: translateX(26px);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* line 64, app/assets/stylesheets/design_system/components/_billing.scss */
body.is-billing-monthly .billing-period-switch__knob {
  transform: translateX(0);
}

/* line 69, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-period-switch__save {
  font-size: 11px;
  font-weight: 700;
  color: var(--sage-700);
  background: var(--sage-50);
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1.5;
}

/* line 79, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-pricing[data-billing-period="monthly"] {
  display: none;
}

/* line 80, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-pricing[data-billing-period="yearly"] {
  display: flex;
}

/* line 81, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card__savings[data-billing-period="monthly"] {
  display: none;
}

/* line 82, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card__savings[data-billing-period="yearly"] {
  display: block;
}

/* line 84, app/assets/stylesheets/design_system/components/_billing.scss */
body.is-billing-monthly .billing-plan-pricing[data-billing-period="monthly"] {
  display: flex;
}

/* line 85, app/assets/stylesheets/design_system/components/_billing.scss */
body.is-billing-monthly .billing-plan-pricing[data-billing-period="yearly"] {
  display: none;
}

/* line 86, app/assets/stylesheets/design_system/components/_billing.scss */
body.is-billing-monthly .billing-plan-card__savings[data-billing-period="monthly"] {
  display: block;
}

/* line 87, app/assets/stylesheets/design_system/components/_billing.scss */
body.is-billing-monthly .billing-plan-card__savings[data-billing-period="yearly"] {
  display: none;
}

/* line 89, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card__savings {
  font-size: 12px;
  color: var(--sage-700);
  background: var(--sage-50);
  border-radius: var(--r-sm);
  padding: 5px 10px;
  text-align: center;
  margin: 0;
}

/* line 99, app/assets/stylesheets/design_system/components/_billing.scss */
#payment_form {
  display: none;
  margin-top: 28px;
}

/* line 101, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-token-error {
  background: var(--terra-50);
  border: 1.5px solid var(--terra);
  border-radius: var(--r-md);
  color: var(--terra-700);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 14px;
  margin-bottom: 14px;
}

/* line 112, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-payment-subtitle {
  font-size: 13px;
  color: var(--ink-3);
  margin: 2px 0 16px;
}

/* line 118, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
}

/* line 128, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card:hover {
  border-color: var(--border-strong);
}

/* line 132, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card.is-active {
  border-color: var(--honey);
  box-shadow: 0 0 0 3px var(--honey-50);
}

/* line 137, app/assets/stylesheets/design_system/components/_billing.scss */
.ds-app.is-doctor .billing-method-card.is-active {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-50);
}

/* line 138, app/assets/stylesheets/design_system/components/_billing.scss */
.ds-app.is-receptionist .billing-method-card.is-active {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px var(--lilac-50);
}

/* line 140, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

/* line 147, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

/* line 158, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__icon .material-symbols-rounded {
  font-size: 20px;
}

/* line 162, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 170, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* line 176, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__sub {
  font-size: 12px;
  color: var(--ink-3);
}

/* line 181, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__radio {
  flex-shrink: 0;
}

/* line 185, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-radio {
  width: 20px;
  height: 20px;
  accent-color: var(--honey-700);
  cursor: pointer;
}

/* line 192, app/assets/stylesheets/design_system/components/_billing.scss */
.ds-app.is-doctor .billing-method-radio {
  accent-color: var(--sage-700);
}

/* line 193, app/assets/stylesheets/design_system/components/_billing.scss */
.ds-app.is-receptionist .billing-method-radio {
  accent-color: var(--lilac-700);
}

/* line 195, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__fields {
  display: none;
  padding: 0 18px 20px;
  border-top: 1px solid var(--border);
}

/* line 201, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card.is-active .billing-method-card__fields {
  display: block;
}

/* line 205, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field {
  margin-top: 14px;
}

/* line 209, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

/* line 218, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field__input {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
  transition: border-color .12s, box-shadow .12s;
  font-family: inherit;
}

/* line 230, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field__input::placeholder {
  color: var(--ink-3);
}

/* line 234, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field__input:focus {
  border-color: var(--honey-700);
  box-shadow: 0 0 0 3px var(--honey-50);
  outline: none;
}

/* line 241, app/assets/stylesheets/design_system/components/_billing.scss */
.ds-app.is-doctor input.billing-method-field__input:focus {
  border-color: var(--sage-700);
  box-shadow: 0 0 0 3px var(--sage-50);
}

/* line 242, app/assets/stylesheets/design_system/components/_billing.scss */
.ds-app.is-receptionist input.billing-method-field__input:focus {
  border-color: var(--lilac-700);
  box-shadow: 0 0 0 3px var(--lilac-50);
}

/* line 244, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field__stripe-element {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  min-height: 44px;
  transition: border-color .12s, box-shadow .12s;
}

/* line 252, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field__stripe-element.StripeElement--focus {
  border-color: var(--honey-700);
  box-shadow: 0 0 0 3px var(--honey-50);
}

/* line 257, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field__stripe-element.StripeElement--invalid {
  border-color: var(--terra);
}

/* line 262, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* line 268, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-card__icon--wallet {
  background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
}

/* line 272, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-wallet-btn {
  margin-top: 4px;
}

/* line 276, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-field__hint {
  font-size: 11px;
  color: var(--ink-3);
  margin: 5px 0 0;
}

/* line 282, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-pix-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--slate-50);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-top: 14px;
}

/* line 292, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-pix-info__ico {
  font-size: 18px;
  color: var(--slate-700);
  flex-shrink: 0;
  margin-top: 1px;
}

/* line 299, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-pix-info p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}

/* line 306, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-actions {
  margin-top: 20px;
}

/* line 310, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-method-submit {
  width: 100%;
  justify-content: center;
  padding: 13px 24px;
  font-size: 15px;
}

@media (max-width: 768px) {
  /* line 318, app/assets/stylesheets/design_system/components/_billing.scss */
  .billing-method-field-row {
    grid-template-columns: 1fr;
  }
}

/* line 323, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan {
  padding: 20px 22px;
}

/* line 327, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan--alert {
  background: var(--terra-50);
  border: 1.5px solid var(--terra);
}

/* line 331, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan--alert .billing-current-plan__icon {
  background: var(--surface);
}

/* line 332, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan--alert .billing-current-plan__name {
  color: var(--terra-700);
}

/* line 333, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan--alert .billing-current-plan__meta {
  color: var(--ink-2);
  font-size: 14px;
}

/* line 336, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* line 342, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
}

/* line 352, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__ico {
  font-size: 22px;
}

/* line 356, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__ico--sage {
  color: var(--sage-700);
}

/* line 357, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__ico--honey {
  color: var(--honey-700);
}

/* line 358, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__ico--slate {
  color: var(--slate-700);
}

/* line 359, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__ico--terra {
  color: var(--terra-700);
}

/* line 361, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__info {
  flex: 1;
  min-width: 0;
}

/* line 366, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__name {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* line 375, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__meta {
  color: var(--ink-3);
  font-size: 13px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* line 385, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__sep {
  opacity: 0.4;
}

/* line 389, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__actions {
  flex-shrink: 0;
}

/* line 393, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-current-plan__features {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* line 399, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* line 408, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

/* line 416, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-feature--yes .billing-plan-feature__ico {
  color: var(--sage-700);
}

/* line 417, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-feature--no .billing-plan-feature__ico {
  color: var(--terra);
  opacity: 0.6;
}

/* line 418, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-feature__ico--neutral {
  color: var(--ink-3);
}

/* line 420, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-feature__ico {
  font-size: 16px;
  flex-shrink: 0;
}

/* line 422, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow .12s, transform .08s;
}

/* line 429, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card--current {
  outline: 2px solid var(--sage);
  outline-offset: -2px;
}

/* line 434, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

/* line 442, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* line 448, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card__description {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 4px;
}

/* line 455, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card__pricing {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* line 464, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* line 472, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-pricing__amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

/* line 479, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-pricing__currency {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

/* line 485, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-pricing__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

/* line 492, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-pricing__period {
  font-size: 12px;
  color: var(--ink-3);
  margin-left: 2px;
}

/* line 498, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-plan-card__btn {
  white-space: nowrap;
}

/* line 502, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card {
  margin-top: 20px;
}

/* line 506, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

/* line 513, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__ico {
  font-size: 24px;
  color: var(--sage-700);
}

/* line 518, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__content {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* line 525, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__qr {
  flex-shrink: 0;
}

/* line 529, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__img {
  width: 180px;
  height: 180px;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  display: block;
}

/* line 537, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__info {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* line 545, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__instructions {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* line 551, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__copy-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 557, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
}

/* line 567, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__code {
  flex: 1;
  font-family: monospace;
  font-size: 12px;
  color: var(--ink-2);
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* line 579, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__copy-btn {
  flex-shrink: 0;
  font-size: 12px;
  padding: 6px 10px;
}

/* line 585, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
}

/* line 593, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__status-ico {
  font-size: 16px;
}

/* line 597, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__generating {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
  font-size: 14px;
  padding: 8px 0;
}

/* line 606, app/assets/stylesheets/design_system/components/_billing.scss */
.billing-pix-card__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--sage);
  border-radius: 50%;
  animation: pix-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes pix-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  /* line 621, app/assets/stylesheets/design_system/components/_billing.scss */
  .billing-pix-card__content {
    flex-direction: column;
  }
  /* line 622, app/assets/stylesheets/design_system/components/_billing.scss */
  .billing-pix-card__img {
    width: 100%;
    height: auto;
    max-width: 220px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* line 626, app/assets/stylesheets/design_system/components/_billing.scss */
  .billing-current-plan__body {
    flex-wrap: wrap;
  }
  /* line 630, app/assets/stylesheets/design_system/components/_billing.scss */
  .billing-current-plan__actions {
    width: 100%;
  }
  /* line 634, app/assets/stylesheets/design_system/components/_billing.scss */
  .billing-plan-pricing {
    flex-direction: column;
    align-items: flex-start;
  }
  /* line 639, app/assets/stylesheets/design_system/components/_billing.scss */
  .billing-plan-card__btn {
    width: 100%;
    justify-content: center;
  }
}

/* line 1, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap {
  display: grid;
  gap: 2px;
  margin-top: 0.75rem;
}

/* line 7, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap__row {
  display: grid;
  grid-template-columns: 4rem repeat(7, 1fr);
  gap: 2px;
}

/* line 13, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap__cell {
  position: relative;
  min-height: 1.5rem;
  border-radius: 2px;
}

/* line 19, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap__cell--corner,
.ui-heatmap__cell--day-label,
.ui-heatmap__cell--hour-label {
  min-height: auto;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 29, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap__cell.is-occupied {
  background: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* line 36, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap__cell.is-available {
  background: var(--sage);
}

/* line 40, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap__cell-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--surface);
  line-height: 1;
  white-space: nowrap;
}

/* line 48, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap-frame {
  display: block;
  padding: 0 1rem 1rem;
}

/* line 53, app/assets/stylesheets/design_system/components/_heatmap.scss */
.ui-heatmap-frame[hidden] {
  display: none;
}
