/* Home and pickup services only. Scoped release stylesheet, 2026-10-16. */
#app .proto-page:is(.patient-services-page) {
  background: #f5f6fb;
}
#app :is(.patient-home-page, .patient-services-page) .bottom-nav {
  min-height: 74px;
  padding: 7px 8px
    calc(
      7px + var(--layout-tabbar-safe-bottom, env(safe-area-inset-bottom, 0px))
    );
  box-sizing: border-box;
  background: #fff;
  border-top: 1px solid #e2e5ee;
}
#app :is(.patient-home-page, .patient-services-page) .bottom-nav__item {
  min-height: 56px;
  gap: 5px;
  padding: 0 3px;
}
#app :is(.patient-home-page, .patient-services-page) .bottom-nav__icon {
  width: 27px;
  height: 27px;
}
#app :is(.patient-home-page, .patient-services-page) .bottom-nav__icon .ui-icon {
  width: 27px !important;
  height: 27px !important;
}
#app :is(.patient-home-page, .patient-services-page) .bottom-nav__label {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  color: #667085;
}
#app :is(.patient-home-page, .patient-services-page) .bottom-nav__item.active .bottom-nav__label {
  color: #5148c7;
}
#app .patient-home-page .patient-home__alert-text {
  font-size: 18px;
}
#app .patient-home-page .patient-home__todo-title {
  font-size: 24px;
}
#app .patient-home-page .patient-home__todo-meta {
  font-size: 18px;
}
#app .patient-home-page .patient-home__quick-label,
#app .patient-home-page .patient-home__todo-action {
  font-size: 20px;
}
#app .patient-home-page .patient-home__quick-item {
  min-height: 104px;
}
#app .patient-home-page .patient-home__todo-action {
  min-height: 48px;
}
@media (max-height: 700px) {
  #app .patient-home-page .patient-home__quick-item {
    min-height: 94px;
  }
}
@media (max-height: 620px) {
  #app .patient-home-page .patient-home__quick-item {
    min-height: 88px;
  }
}
#app .patient-services-page {
  font-size: 18px;
  line-height: 1.6;
  color: #29354e;
}
#app .patient-services-page .proto-header {
  min-height: 76px;
  padding: 12px 20px;
  gap: 12px;
  box-sizing: border-box;
}
#app .patient-services-page .proto-title {
  font-size: 25px;
  line-height: 1.4;
}
#app .patient-services-page .proto-back {
  width: 48px;
  height: 48px;
  min-width: 48px;
}
#app .patient-services-page .proto-content {
  max-width: 680px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 8px 20px calc(96px + var(--layout-tabbar-safe-bottom, 0px));
  gap: 12px;
}
#app .patient-services-page .services__view-tabs {
  gap: 4px;
  padding: 4px;
  background: #ebeef5;
  border-radius: 12px;
}
#app .patient-services-page .services__view-tab {
  font-size: 18px;
  min-height: 48px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #59667e;
  box-shadow: none;
  box-sizing: border-box;
}
#app .patient-services-page .services__view-tab.active {
  background: #554ad5;
  color: #fff;
  border-color: #554ad5;
}
#app .patient-services-page .services__view-tab .ui-icon {
  display: none;
}
#app .patient-services-page .services__view-count {
  display: none;
}
#app .patient-services-page .services__booking {
  gap: 10px;
}
#app .patient-services-page .services__wizard-head {
  display: grid;
  gap: 6px;
  padding: 0 2px;
}
#app .patient-services-page .services__wizard-count {
  font-size: 16px;
  color: #69738b;
  line-height: 1.5;
}
#app .patient-services-page .services__wizard-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
#app .patient-services-page .services__wizard-mark {
  height: 4px;
  border-radius: 4px;
  background: #e1e3ee;
}
#app .patient-services-page .services__wizard-mark.active {
  background: #776ee0;
}
#app .patient-services-page .services__selection-summary {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eeedf9;
}
#app .patient-services-page .services__selection-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
#app .patient-services-page .services__selection-label {
  font-size: 16px;
  line-height: 1.5;
  color: #72728a;
}
#app .patient-services-page .services__selection-value {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: #4d4b70;
  white-space: normal;
  overflow-wrap: anywhere;
}
#app .patient-services-page .services__selection-drugs {
  display: grid;
  gap: 2px;
  min-width: 0;
}
#app .patient-services-page .services__selection-placeholder {
  font-size: 17px;
  line-height: 1.45;
  color: #777b90;
}
#app .patient-services-page .services__section,
#app .patient-services-page .services__form {
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  background: #fff;
  gap: 12px;
  min-width: 0;
}
#app .patient-services-page .services__step-head {
  margin: 0;
  align-items: flex-start;
}
#app .patient-services-page .services__step-number {
  display: none;
}
#app .patient-services-page .services__step-title {
  font-size: 21px;
  line-height: 1.5;
  color: #26334c;
}
#app .patient-services-page .services__step-summary {
  display: none;
}
#app .patient-services-page .services__date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 16px;
  border: 1px solid #dce0ec;
  border-radius: 14px;
  background: #f5f5fc;
  color: #3f4b69;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  box-sizing: border-box;
  cursor: pointer;
}
#app .patient-services-page .services__date-trigger:after {
  content: "⌄";
  font-size: 24px;
  color: #756bd2;
}
#app .patient-services-page .services__date-mask {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(27, 32, 56, 0.42);
}
#app .patient-services-page .services__date-sheet {
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 40px rgba(28, 33, 59, 0.1);
}
#app .patient-services-page .services__date-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 23px;
  font-weight: 600;
}
#app .patient-services-page .services__date-close {
  min-height: 48px;
  min-width: 64px;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 500;
  color: #6358cb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 12px;
  background: #f1effc;
}
#app .patient-services-page .services__date-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
}
#app .patient-services-page .services__date-sheet .services__date-card {
  min-height: 58px;
  padding: 12px 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
#app .patient-services-page .services__date-card {
  min-height: 82px;
  padding: 12px 6px;
  gap: 5px;
  font-size: 17px;
  line-height: 1.4;
  border-radius: 14px;
  background: #f2f4fa;
  color: #596780;
  box-sizing: border-box;
}
#app .patient-services-page .services__date-number {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
}
#app .patient-services-page .services__date-card.active {
  background: #eeecff;
  color: #5147c5;
  outline: 2px solid #766ae1;
  outline-offset: -2px;
}
#app .patient-services-page .services__date-card.disabled {
  background: #f1f2f6;
  color: #a3aabb;
  outline: none;
}
#app .patient-services-page .services__slot-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}
#app .patient-services-page .services__slot {
  min-height: 64px;
  padding: 16px;
  border: 1px solid #e3e6f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  gap: 0;
  box-sizing: border-box;
}
#app .patient-services-page .services__slot.active {
  background: #eeecff;
  border: 2px solid #766ae1;
  box-shadow: none;
}
#app .patient-services-page .services__slot-time {
  font-size: 20px;
  line-height: 1.5;
  color: #394765 !important;
}
#app .patient-services-page .services__slot.disabled {
  opacity: .6;
}
#app .patient-services-page .services__slot.disabled .services__slot-place {
  display: block;
  font-size: 17px;
  line-height: 1.5;
  margin-top: 4px;
}
#app .patient-services-page .services__slot-place,
#app .patient-services-page .services__slot-top {
  display: none;
}
#app .patient-services-page .services__schedule-hint {
  font-size: 18px;
  line-height: 1.6;
  color: #64718a;
  margin: 0;
}
#app .patient-services-page .services__section-head {
  display: none;
}
#app .patient-services-page .services__search {
  min-height: 56px;
  padding: 0 14px;
  background: #f5f6fa;
  border: 1px solid #e2e5ee;
  border-radius: 14px;
  gap: 10px;
}
#app .patient-services-page .services__search-input {
  height: 56px;
  font-size: 18px;
}
#app .patient-services-page .services__search-symbol {
  display: none;
}
#app .patient-services-page .services__search-clear {
  height: 48px;
  width: 40px;
  font-size: 26px;
}
#app .patient-services-page .services__drug-window {
  height: min(34vh, 260px);
  overscroll-behavior: contain;
}
#app .patient-services-page .services__drug-window .services__plans {
  gap: 8px;
  overflow: visible;
  padding: 1px 3px 1px 1px;
}
#app .patient-services-page .services__plan {
  padding: 10px 12px;
  min-height: 76px;
  border-radius: 12px;
  background: #fafbfe;
  border: 1px solid #e2e5ee;
  gap: 10px;
  box-sizing: border-box;
}
#app .patient-services-page .services__plan.active {
  background: #eeecff;
  border: 2px solid #766ae1;
}
#app .patient-services-page .services__plan-name {
  font-size: 19px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#app .patient-services-page .services__plan-meta {
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#app .patient-services-page .services__drug-window {
  height: min(34vh, 260px);
  overscroll-behavior: contain;
}
#app .patient-services-page .services__drug-window .services__plans {
  gap: 8px;
  overflow: visible;
  padding: 1px 3px 1px 1px;
}
#app .patient-services-page .services__drug-window .services__plan {
  padding: 10px 12px;
  min-height: 76px;
  border-radius: 12px;
  gap: 10px;
}
#app .patient-services-page .services__drug-window .services__plan-name {
  font-size: 19px;
}
#app .patient-services-page .services__drug-window .services__plan-meta {
  font-size: 16px;
  line-height: 1.45;
}
#app .patient-services-page .services__plan-stock {
  font-size: 16px;
  line-height: 1.5;
}
#app .patient-services-page .services__plan-tag,
#app .patient-services-page .services__plan-source {
  display: none;
}
#app .patient-services-page .services__plan-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
}
#app .patient-services-page .services__drug-empty {
  padding: 28px 8px;
  font-size: 18px;
  line-height: 1.7;
}
#app .patient-services-page .services__wizard-actions {
  display: flex;
  gap: 8px;
}
#app
  .patient-services-page
  :is(
    .services__wizard-next,
    .services__wizard-prev,
    .services__optional-toggle,
    .services__record-open
  ) {
  box-sizing: border-box;
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
#app .patient-services-page .services__wizard-next {
  flex: 1;
  background: #554ad5;
  color: #fff;
  text-align: center;
}
#app .patient-services-page .services__wizard-next[aria-disabled="true"] {
  background: #d8dbe7;
  color: #7e879e;
  cursor: default;
}
#app .patient-services-page .services__wizard-prev {
  background: #fff;
  color: #596780;
  border: 1px solid #dfe3ee;
}
#app .patient-services-page .services__confirmation-top {
  display: grid;
  gap: 8px;
}
#app
  .patient-services-page
  .services__confirmation-top
  > .services__wizard-prev {
  justify-self: start;
  border: 0;
  padding: 0;
  min-height: 48px;
  font-size: 18px;
}
#app .patient-services-page .services__confirmation-date {
  display: grid;
  gap: 8px;
}
#app .patient-services-page .services__confirmation-label,
#app .patient-services-page .proto-input-label {
  font-size: 18px;
  line-height: 1.6;
  color: #62708a;
}
#app .patient-services-page .services__confirmation-value {
  font-size: 22px;
  line-height: 1.5;
  color: #2e3b58;
  white-space: pre-wrap;
}
#app .patient-services-page .services__optional-toggle {
  justify-content: space-between;
  border: 1px solid #e0e4ee;
  background: #f8f9fc;
  color: #586783;
  font-size: 18px;
  order: 5;
  min-height: 48px;
}
#app .patient-services-page .services__optional-toggle:after {
  content: "＋";
  font-size: 24px;
  font-weight: 400;
  margin-left: 10px;
}
#app .patient-services-page .services__form > .services__step-head {
  display: none;
}
#app .patient-services-page .services__selected-drug {
  padding: 16px;
  font-size: 20px;
  line-height: 1.6;
  min-height: 64px;
  background: #f4f5fb;
  border: 0;
  border-radius: 14px;
}
#app .patient-services-page .services__selected-total,
#app .patient-services-page .services__quantity-hint {
  font-size: 17px;
  line-height: 1.6;
}
#app .patient-services-page .services__onsite-notice {
  font-size: 18px;
  line-height: 1.75;
  color: #596a84;
  background: transparent;
  padding: 0;
  gap: 0;
}
#app .patient-services-page .services__onsite-notice .ui-icon {
  display: none;
}
#app .patient-services-page .services__form .proto-input {
  min-height: 56px;
  font-size: 18px;
  border-radius: 14px;
  background: #f6f7fb;
  border: 1px solid #e2e6ef;
}
#app .patient-services-page .services__form .proto-btn {
  min-height: 58px;
  font-size: 20px;
  border-radius: 14px;
  background: #554ad5;
}
#app .patient-services-page .services__attachment-group {
  padding-top: 10px;
  gap: 16px;
}
#app .patient-services-page .services__attachment-title-row {
  font-size: 19px;
  line-height: 1.5;
}
#app
  .patient-services-page
  :is(
    .services__attachment-hint,
    .services__attachment-count,
    .services__stored-empty,
    .services__stored-meta
  ) {
  font-size: 16px;
  line-height: 1.6;
}
#app
  .patient-services-page
  :is(
    .services__attachment-type,
    .services__attachment-picker,
    .services__attachment-retry,
    .services__materials-toggle,
    .services__supplement-submit
  ) {
  min-height: 52px;
  font-size: 18px;
  line-height: 1.5;
  padding: 10px 12px;
  box-sizing: border-box;
  white-space: normal;
}
#app .patient-services-page .services__records-view,
#app .patient-services-page .services__records {
  gap: 20px;
}
#app .patient-services-page .services__records-head {
  gap: 12px;
}
#app .patient-services-page .services__records-title {
  font-size: 22px;
  line-height: 1.5;
}
#app .patient-services-page .services__new-booking {
  min-height: 52px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 18px;
  background: #554ad5;
}
#app .patient-services-page .services__record {
  min-width: 0;
  padding: 22px 18px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  gap: 14px;
  box-shadow: none;
}
#app
  .patient-services-page
  .services__record:not(.is-expanded)
  > :not(.services__record-top):not(.services__record-time):not(
    .services__record-open
  ):not(.services__record-action):not(.services__record-reason) {
  display: none;
}
#app .patient-services-page .services__record-top {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
#app .patient-services-page .services__record-time {
  font-size: 24px;
  line-height: 1.5;
  color: #2b3853;
  order: -1;
  white-space: pre-wrap;
}
#app .patient-services-page .services__record-title {
  font-size: 20px;
  line-height: 1.6;
  color: #52617b;
}
#app .patient-services-page .services__record-top .proto-badge {
  font-size: 17px;
  line-height: 1.5;
  padding: 4px 12px;
  border-radius: 8px;
}
#app .patient-services-page .services__record-open {
  font-size: 18px;
  min-height: 52px;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid #edf0f6;
  color: #5967ae;
  order: 10;
}
#app .patient-services-page .services__record-open:after {
  content: "＋";
  font-size: 24px;
  color: #8a94aa;
}
#app
  .patient-services-page
  .services__record.is-expanded
  > .services__record-open:after {
  content: "−";
}
#app
  .patient-services-page
  :is(
    .services__record-place,
    .services__record-tip,
    .services__record-reason,
    .services__checkin-date-tip,
    .services__stored-name
  ) {
  font-size: 18px;
  line-height: 1.7;
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 500;
}
#app .patient-services-page .services__flow-label {
  font-size: 16px;
  line-height: 1.5;
  white-space: normal;
}
#app .patient-services-page .services__flow-dot {
  width: 28px;
  height: 28px;
  font-size: 17px;
}
#app .patient-services-page .services__record-action {
  min-height: 56px;
  padding: 12px;
  font-size: 18px;
  border-radius: 14px;
  box-sizing: border-box;
}
#app .patient-services-page .services__record-actions {
  grid-template-columns: 1fr;
  gap: 12px;
}
#app .patient-services-page .services__editing-notice {
  flex-wrap: wrap;
  padding: 16px;
  gap: 12px;
}
#app .patient-services-page .services__editing-copy {
  font-size: 17px;
  line-height: 1.6;
}
#app .patient-services-page .services__editing-title {
  font-size: 19px;
}
#app .patient-services-page .services__editing-exit {
  min-height: 48px;
  font-size: 18px;
  padding: 8px 16px;
}
#app .patient-services-page .services__stepper-btn {
  width: 50px;
  min-height: 52px;
  font-size: 25px;
}
#app .patient-services-page .services__stepper-value {
  font-size: 22px;
}
#app .patient-services-page .services__picker-value {
  font-size: 18px;
  min-height: 54px;
  padding: 12px;
}
#app .patient-services-page .services__quantity-dialog-title {
  font-size: 24px;
}
#app .patient-services-page .services__quantity-dialog-drug {
  font-size: 22px;
}
#app .patient-services-page .services__quantity-dialog-hint {
  font-size: 18px;
}
#app .patient-services-page [role="button"]:focus-visible {
  outline: 3px solid #8d86df;
  outline-offset: 3px;
}
@media (max-width: 359px) {
  #app .patient-services-page .proto-content {
    padding-left: 16px;
    padding-right: 16px;
  }
  #app .patient-services-page .services__section,
  #app .patient-services-page .services__form {
    padding: 12px;
  }
  #app .patient-services-page .services__date-list {
    gap: 8px;
  }
  #app .patient-services-page .services__date-card {
    padding-left: 4px;
    padding-right: 4px;
  }
  #app .patient-services-page .services__wizard-actions {
    flex-direction: row;
    gap: 8px;
  }
}

#app .patient-services-page .services__confirmation-location {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}
