/* line 4, 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 4, app/assets/stylesheets/design_system/_reset.scss */
.ds-app *, .ds-app *::before, .ds-app *::after {
  box-sizing: border-box;
}

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

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

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

/* line 4, 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 10, app/assets/stylesheets/design_system/_typography.scss */
.ds-display-1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

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

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

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

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

/* line 17, 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 7, app/assets/stylesheets/design_system/components/_button.scss */
.ds-app .ui-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .12s, box-shadow .12s, transform .08s;
}

/* line 22, 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 30, app/assets/stylesheets/design_system/components/_button.scss */
.ui-btn > span {
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

/* line 35, app/assets/stylesheets/design_system/components/_button.scss */
.ds-app .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 48, app/assets/stylesheets/design_system/components/_button.scss */
.ds-app .ui-btn--primary:hover {
  box-shadow: var(--sh-2);
  transform: translateY(-1px);
}

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

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

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

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

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

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

/* line 68, 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 76, 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 82, 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 18, app/assets/stylesheets/design_system/components/_card.scss */
.ui-grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

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

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

/* line 21, 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 24, 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/_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 9, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list > .ui-list__row:first-child {
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}

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

/* line 11, 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 21, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row:last-child {
  border-bottom: 0;
}

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

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

/* line 30, 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 38, app/assets/stylesheets/design_system/components/_list.scss */
.ui-list__row--linkable > *:not(.ui-list__row-link) {
  position: relative;
  z-index: 2;
}

/* line 39, 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 43, 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 50, 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 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;
  }
  /* line 16, 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 10, 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 18, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tabs-bar .ui-tabs {
  border-bottom: 0;
  margin-bottom: 0;
}

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

/* line 27, 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 47, app/assets/stylesheets/design_system/components/_tabs.scss */
.ui-tab .material-symbols-rounded {
  font-size: 18px;
  line-height: 1;
}

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

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

/* line 59, 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 60, 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 65, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tabs-bar {
    flex-wrap: wrap;
    gap: 0;
  }
  /* line 72, 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 79, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tabs::-webkit-scrollbar {
    display: none;
  }
  /* line 81, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tab {
    flex: none;
    padding: 14px 48px;
  }
  /* line 86, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tab .material-symbols-rounded {
    font-size: 24px;
  }
  /* line 89, app/assets/stylesheets/design_system/components/_tabs.scss */
  .ui-tab span {
    display: none;
  }
  /* line 92, 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 2, 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 13, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-topbar__title {
  font-weight: 700;
  font-size: 15px;
  flex: 1;
}

/* line 14, 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 16, 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 22, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-iconbtn:hover {
  background: var(--surface-2);
}

/* line 24, 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 32, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-m-pill {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
}

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

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

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

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

/* line 43, 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 56, app/assets/stylesheets/design_system/components/_mobile.scss */
.ds-app.is-doctor .ui-fab {
  background: var(--sage);
  color: #fff;
}

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

/* line 59, 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 69, 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 79, app/assets/stylesheets/design_system/components/_mobile.scss */
.ui-bottom-nav__item.is-active {
  color: var(--honey-700);
}

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

/* line 81, 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;
  min-height: 100vh;
  background: var(--bg);
}

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

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

/* line 18, 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 24, 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;
  min-height: 100vh;
}

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

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

/* line 13, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--honey) 0%, var(--honey-200) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-1);
  font-weight: 800;
  color: var(--ink);
}

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

/* line 23, 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 31, 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 32, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-workspace__clinic {
  color: var(--ink);
  font-weight: 600;
  margin-top: 2px;
}

/* line 34, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* line 35, 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 43, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-nav__item:hover {
  background: var(--surface-2);
  color: var(--ink);
}

/* line 44, 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 49, 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 50, 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 51, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-nav__ico {
  font-size: 18px;
  opacity: 0.8;
}

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

/* line 58, 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 66, app/assets/stylesheets/design_system/components/_sidebar.scss */
.ds-avatar.is-doctor {
  background: linear-gradient(135deg, #C8E1D7, #7BAE9B);
}

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

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

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

/* line 73, 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 81, 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 89, app/assets/stylesheets/design_system/components/_sidebar.scss */
  .ds-app.is-drawer-open .ds-sidebar {
    transform: translateX(0);
    box-shadow: var(--sh-3);
  }
  /* line 90, 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 14, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-icon-btn.ds-topbar__menu {
  display: none;
}

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

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

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

/* line 20, 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 26, app/assets/stylesheets/design_system/components/_topbar.scss */
.ds-icon-btn:hover {
  background: var(--surface-2);
}

/* line 30, 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 37, app/assets/stylesheets/design_system/components/_topbar.scss */
  .ds-topbar {
    padding: 12px 16px;
  }
  /* line 38, app/assets/stylesheets/design_system/components/_topbar.scss */
  .ds-icon-btn.ds-topbar__menu {
    display: grid;
  }
  /* line 39, app/assets/stylesheets/design_system/components/_topbar.scss */
  .ds-topbar .ui-search {
    display: none;
  }
}

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

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

/* line 17, 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 23, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ui-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* line 30, 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 36, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ui-grid-2 {
    grid-template-columns: 1fr;
  }
}

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

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

/* line 42, 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 49, app/assets/stylesheets/design_system/components/_dashboard.scss */
  .ds-dashboard-quick {
    grid-template-columns: 1fr;
  }
}

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

/* line 56, 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 63, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ds-dashboard-rooms__row:last-child {
  border-bottom: none;
}

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

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

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

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

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

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

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

/* line 84, 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 90, app/assets/stylesheets/design_system/components/_dashboard.scss */
.ui-m-stat-grid .ui-m-card {
  margin: 0;
}

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

/* line 10, 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 24, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-search--inline {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* line 32, 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 41, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

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

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

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

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

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

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

@media (max-width: 768px) {
  /* line 54, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row {
    grid-template-columns: 40px 1fr auto;
    grid-template-areas: "avatar main actions" ".      sec  sec";
    row-gap: 4px;
  }
  /* line 61, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row > .ui-avatar {
    grid-area: avatar;
  }
  /* line 62, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row > .ui-list__row-main {
    grid-area: main;
  }
  /* line 63, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row > .ui-list__row-actions {
    grid-area: actions;
    opacity: 1;
  }
  /* line 64, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row > .ui-list__row-secondary {
    grid-area: sec;
    font-size: 11px;
  }
  /* line 65, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-list__row > .ui-list__row-secondary:nth-of-type(2) {
    display: none;
  }
}

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

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

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

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

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

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

/* line 79, 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 87, app/assets/stylesheets/design_system/components/_patients.scss */
.ds-dl dd {
  font-size: 14px;
  color: var(--ink);
  margin: 4px 0 0;
}

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

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

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

/* line 100, 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 109, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entries {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

/* line 124, 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 131, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-entry__author {
  font-weight: 600;
  color: var(--ink);
}

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

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

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

/* line 139, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* line 147, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--surface-2);
}

/* line 155, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__item a {
  color: var(--ink);
  font-weight: 500;
}

/* line 156, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-documents__item .ds-meta {
  margin-left: auto;
}

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

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

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

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

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

/* line 170, 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 177, 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 186, 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 191, 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 199, app/assets/stylesheets/design_system/components/_patients.scss */
  .ui-patient-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* line 203, 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 209, 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 218, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .guardian-fields .form-group {
  gap: 4px;
}

/* line 219, 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 228, app/assets/stylesheets/design_system/components/_patients.scss */
.ui-patient-form .guardian-fields button:hover {
  background: var(--terra-50);
}

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

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

/* line 240, 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 254, 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 267, app/assets/stylesheets/design_system/components/_patients.scss */
.cid-dropdown__item:last-child {
  border-bottom: none;
}

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

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

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

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

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

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

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

/* line 25, 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 33, 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 46, 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 52, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__when {
  color: var(--ink-3);
  font-size: 11px;
  margin-top: 2px;
}

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

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

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

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

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

/* line 74, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-entry__file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

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

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

/* line 95, 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 103, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__form {
  display: block;
}

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

/* line 108, 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 122, 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 132, 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 140, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__chips .ds-label {
  margin-right: 4px;
  flex-basis: 100%;
}

/* line 144, 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 150, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__chips .ui-chip input[type="checkbox"] {
  accent-color: var(--honey);
  margin: 0;
}

/* line 155, 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 162, app/assets/stylesheets/design_system/components/_medical_record.scss */
.medical-composer__actions .ui-btn {
  white-space: nowrap;
}

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

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

/* line 168, 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 175, 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 189, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer.is-open {
    transform: translateY(0);
    visibility: visible;
  }
  /* line 193, 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 201, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__form {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
  }
  /* line 206, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__editor trix-editor {
    min-height: 220px;
  }
  /* line 208, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__editor trix-toolbar {
    overflow-x: auto;
    white-space: nowrap;
  }
  /* line 212, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__editor trix-toolbar .trix-button-row {
    display: inline-flex;
    flex-wrap: nowrap;
  }
  /* line 216, app/assets/stylesheets/design_system/components/_medical_record.scss */
  .medical-composer__editor trix-toolbar .trix-button {
    padding: 4px 8px;
  }
}

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

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

/* line 16, 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 26, 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 27, 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 30, 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 42, 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 51, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
}

/* line 59, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* line 65, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar thead th {
  background: var(--surface-2);
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

/* line 75, 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 81, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__day-date {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* line 87, 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 90, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar tbody td {
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  vertical-align: top;
  padding: 4px;
  height: 80px;
}

/* line 97, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar tbody td:first-child {
  border-left: 0;
  background: var(--surface-2);
  vertical-align: middle;
  text-align: center;
  width: 70px;
}

/* line 104, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__hour {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* line 111, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__cell-inner {
  position: relative;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
}

/* line 121, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--ink-3);
  background: transparent;
  margin: 4px auto 0;
  transition: background .12s, color .12s, transform .08s;
}

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

/* line 140, 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);
  text-decoration: none;
  position: relative;
}

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

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

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

/* line 160, 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 168, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-header,
.ds-calendar__appt-meta {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

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

/* line 180, 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 196, 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 209, 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 216, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt:hover .ds-calendar__appt-tooltip {
  display: block;
}

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

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

/* line 235, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-time {
  font-size: 11px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* line 242, 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 251, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__appt-meta .material-symbols-rounded {
  font-size: 14px;
  vertical-align: middle;
}

/* line 255, 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 263, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab {
  position: relative;
  display: inline-flex;
}

/* line 267, 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 278, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab-trigger:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

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

/* line 281, 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: 170px;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: 6px;
  flex-direction: column;
  gap: 2px;
}

/* line 295, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-calendar__kebab:hover .ds-calendar__kebab-menu,
.ds-calendar__kebab:focus-within .ds-calendar__kebab-menu {
  display: flex;
}

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

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

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

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

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

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

/* line 320, 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 331, 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 342, 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 350, 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 359, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__title .material-symbols-rounded {
  color: var(--honey-700);
  font-size: 20px;
}

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

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

/* line 366, 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 377, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-modal__close:hover {
  background: var(--surface-2);
  color: var(--ink);
}

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

/* line 380, 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 390, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

/* line 391, 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 397, 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 402, 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 408, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-form-row {
    grid-template-columns: 1fr;
  }
}

/* line 411, 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 430, 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 440, app/assets/stylesheets/design_system/components/_calendar.scss */
.ds-duration-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

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

/* line 449, 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 458, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-wrapper input[type="text"] {
  padding-left: 36px;
}

/* line 461, 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 475, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-dropdown.open {
  display: block;
}

/* line 476, 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 483, app/assets/stylesheets/design_system/components/_calendar.scss */
.patient-search-item:last-child {
  border-bottom: 0;
}

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

/* line 485, 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 497, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* line 498, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar table {
    min-width: 720px;
  }
  /* line 499, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar-nav {
    flex-direction: row;
  }
  /* line 500, app/assets/stylesheets/design_system/components/_calendar.scss */
  .ds-calendar-nav__label {
    min-width: 140px;
  }
}

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

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

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

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

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

/* line 29, 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 35, 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 43, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-defs__row dd {
  margin: 0;
  color: var(--ink);
}

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

/* line 50, 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 58, 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 66, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-checkbox input[type="checkbox"] {
  accent-color: var(--honey);
}

/* line 69, 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 75, 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 85, 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 91, app/assets/stylesheets/design_system/components/_admin_crud.scss */
.ui-callout strong {
  display: block;
  margin-bottom: 6px;
}

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

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

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

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

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

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

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

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

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

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

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

/* line 132, 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 144, 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 152, 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 157, app/assets/stylesheets/design_system/components/_admin_crud.scss */
  .ui-patient-form--compact .form-row {
    grid-template-columns: 1fr;
  }
  /* line 158, app/assets/stylesheets/design_system/components/_admin_crud.scss */
  .ui-patient-form--compact .form-row--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

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

/* line 14, 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 24, 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 35, app/assets/stylesheets/design_system/components/_auth.scss */
  .ds-auth-card {
    padding: 24px 20px;
    border-radius: var(--r-md);
  }
}

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

/* line 49, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-brand .ds-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--honey) 0%, var(--honey-200) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-1);
  font-weight: 800;
  color: var(--ink);
  font-size: 16px;
}

/* line 61, 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 69, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

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

/* line 84, 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 94, 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 107, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input::placeholder {
  color: var(--ink-3);
}

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

/* line 109, 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 114, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input:disabled {
  background: var(--surface-2);
  color: var(--ink-3);
  cursor: not-allowed;
}

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

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

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

/* line 134, 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 140, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-input--multiselect {
  min-height: 96px;
  padding: 6px 8px;
}

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

/* line 152, 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 163, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-radio:hover {
  border-color: var(--ink-3);
}

/* line 164, 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 171, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-radio:has(input:checked) {
  border-color: var(--honey);
  background: var(--honey-50);
}

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

/* line 182, 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 190, 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 197, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-link:hover {
  color: var(--honey-700);
  text-decoration: underline;
}

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

/* line 207, 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 216, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-error strong {
  display: block;
  margin-bottom: 6px;
}

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

/* line 221, 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 229, 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 234, 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 239, 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 248, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-card .alert .btn-close:hover {
  opacity: 1;
}

/* line 251, 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 258, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-subtitle {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 20px;
}

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

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

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

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

/* line 290, 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 299, 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 309, 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 319, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-stepper__item:last-child::after {
  display: none;
}

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

/* line 322, 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 337, 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 343, 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 349, 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 355, 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 361, 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 371, app/assets/stylesheets/design_system/components/_auth.scss */
.ds-auth-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

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

/* line 11, 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 23, 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 39, app/assets/stylesheets/design_system/components/_modal.scss */
  .ds-modal {
    padding: 0;
    align-items: flex-end;
  }
  /* line 44, 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 53, 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 61, 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 69, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__header .ui-icon-btn {
  margin-left: auto;
}

/* line 75, 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 83, app/assets/stylesheets/design_system/components/_modal.scss */
.ds-modal__body {
  flex: 1;
  min-height: 0;
  padding: 16px 20px 20px;
  overflow-y: auto;
}

/* line 90, 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 102, app/assets/stylesheets/design_system/components/_modal.scss */
.medical-composer--edit {
  margin-top: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

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

/* line 11, 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 30, 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 13, 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 24, 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 45, app/assets/stylesheets/design_system/components/_toast.scss */
.ui-toast--success {
  border-left-color: var(--sage);
}

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

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

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

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

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

/* line 59, 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 72, 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;
  }
}
