:root {
  --ink: #192522;
  --muted: #73807a;
  --soft-muted: #a3aca7;
  --line: #e5e9e3;
  --paper: #fbfcf8;
  --card: #ffffff;
  --green: #1c6257;
  --green-dark: #16473f;
  --green-soft: #e2f0e8;
  --yellow: #d69a24;
  --yellow-soft: #fff2cf;
  --blue: #42769c;
  --blue-soft: #e5f0f7;
  --coral: #df6950;
  --coral-soft: #fbe5df;
  --orange: #bd7626;
  --shadow: 0 18px 55px rgba(24, 45, 37, 0.13);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { background: #ecefe9; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #ecefe9;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
img { display: block; max-width: 100%; }

.desktop-caption {
  position: fixed;
  top: 28px;
  left: 38px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #56635d;
}

.desktop-caption > div { display: grid; gap: 3px; }
.desktop-caption strong { font-size: 14px; }
.desktop-caption small { color: #85908b; font-size: 10px; }
.desktop-note { margin-left: 12px; color: #98a19c; font-size: 10px; }
.desktop-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 6px; background: var(--green); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; }

.mini-program {
  position: relative;
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(229, 233, 227, .8);
  background: rgba(251, 252, 248, .95);
  backdrop-filter: blur(14px);
}

.brand, .avatar-button, .icon-button, .text-button, .arrow-button, .outline-icon-button, .outline-button, .primary-button, .primary-small, .edit-button, .mini-link, .circle-action, .danger-link, .filter-button, .invite-button, .service-item, .member-action-grid button, .profile-menu button, .accessibility-row, .notice-preview, .address-card, .beneficiary-row, .message-item, .history-row, .points-alert, .public-section, .care-accumulation, .hospital-card, .case-card { border: 0; cursor: pointer; }

.brand { display: flex; align-items: center; gap: 10px; padding: 0; background: transparent; text-align: left; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 15px; line-height: 1; }
.brand-copy small { color: var(--muted); font-size: 9px; }
.topbar-actions { display: flex; gap: 4px; }
.icon-button { position: relative; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border-radius: 6px; background: transparent; color: var(--ink); }
.icon-button:hover, .outline-icon-button:hover { background: var(--green-soft); color: var(--green); }
.icon-button svg { width: 19px; height: 19px; }
.badge-button .badge { position: absolute; top: 4px; right: 3px; display: grid; width: 14px; height: 14px; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: var(--coral); color: #fff; font-size: 8px; line-height: 1; }
.nav-dot { position: absolute; top: 10px; right: 20px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

.view, .subview { display: none; min-height: calc(100vh - 66px); padding-bottom: 94px; }
.view.is-active, .subview.is-active { display: block; }
.view > *, .subview > * { animation: page-enter 180ms ease both; }
@keyframes page-enter { from { opacity: .1; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.eyebrow { display: block; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; line-height: 1.4; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: 0; }
.section-block { padding: 28px 20px 0; }
.compact-block { padding-top: 24px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.section-heading h2 { margin-top: 5px; font-size: 20px; line-height: 1.2; }
.section-note { color: var(--muted); font-size: 10px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; white-space: nowrap; }
.text-button svg { width: 14px; height: 14px; }

.home-welcome { display: flex; align-items: flex-end; justify-content: space-between; padding: 26px 20px 18px; }
.home-welcome h1 { margin-top: 8px; font-size: 29px; font-weight: 700; line-height: 1.18; }
.home-welcome h1 em, .care-intro h1 em { color: var(--green); font-style: normal; }
.avatar-button { display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border-radius: 50%; background: var(--green-dark); color: #fff; font-size: 15px; font-weight: 700; }
.avatar-button:hover { background: var(--coral); }

.search-bar { display: flex; height: 46px; align-items: center; gap: 9px; margin: 0 20px 18px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.search-bar svg { width: 17px; height: 17px; color: var(--muted); }
.search-bar input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-bar input::placeholder { color: #a0aaa4; }
.search-shortcut { padding-left: 9px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; }

.hero-banner { position: relative; height: 254px; margin: 0 20px; overflow: hidden; border-radius: var(--radius); background: #b8c8bd; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(19, 49, 40, .55); }
.hero-copy { position: absolute; top: 28px; left: 25px; color: #fff; }
.hero-kicker { display: inline-block; margin-bottom: 12px; padding: 5px 8px; background: rgba(255, 255, 255, .18); font-size: 9px; letter-spacing: .06em; }
.hero-copy h2 { margin-bottom: 10px; font-size: 31px; line-height: 1.1; }
.hero-copy p { margin-bottom: 20px; color: rgba(255, 255, 255, .78); font-size: 11px; }
.light-button { display: inline-flex; height: 34px; align-items: center; gap: 7px; padding: 0 12px; border: 0; border-radius: 4px; background: #fff; color: var(--green-dark); cursor: pointer; font-size: 11px; font-weight: 700; }
.light-button svg { width: 14px; height: 14px; }
.hero-index { position: absolute; right: 15px; bottom: 15px; color: rgba(255, 255, 255, .72); font-size: 10px; letter-spacing: .08em; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.service-item { display: grid; justify-items: center; gap: 5px; min-width: 0; padding: 11px 4px 12px; border-radius: 6px; background: #fff; text-align: center; }
.service-item:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(26, 52, 42, .08); }
.service-item strong { font-size: 11px; }
.service-item small { overflow: hidden; width: 100%; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.service-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; }
.service-icon svg { width: 16px; height: 16px; }
.service-green .service-icon { background: var(--green-soft); color: var(--green); }
.service-yellow .service-icon { background: var(--yellow-soft); color: var(--yellow); }
.service-blue .service-icon { background: var(--blue-soft); color: var(--blue); }
.service-coral .service-icon { background: var(--coral-soft); color: var(--coral); }

.member-strip { display: grid; grid-template-columns: 34px minmax(0, 1fr) 32px; gap: 10px; align-items: center; margin: 26px 20px 0; padding: 13px; border: 1px solid #cae0d4; border-radius: var(--radius); background: var(--green-soft); }
.member-strip-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.member-strip-icon svg { width: 17px; height: 17px; }
.member-strip > div:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.member-strip .eyebrow { color: var(--green); font-size: 8px; }
.member-strip strong { font-size: 12px; }
.member-strip p { color: #5d766b; font-size: 10px; }
.arrow-button { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border-radius: 50%; background: #fff; color: var(--green); }
.arrow-button svg { width: 15px; height: 15px; }

.product-section { padding-top: 30px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.product-card:hover { border-color: #b8cfc3; box-shadow: 0 8px 22px rgba(26, 52, 42, .09); }
.product-image { position: relative; height: 154px; overflow: hidden; background: #e9eee8; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-tag { position: absolute; top: 9px; left: 9px; padding: 4px 6px; background: rgba(255, 255, 255, .9); color: var(--green); font-size: 9px; font-weight: 700; }
.product-favorite { position: absolute; top: 7px; right: 7px; display: grid; width: 27px; height: 27px; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--muted); cursor: pointer; }
.product-favorite.is-active { color: var(--coral); }
.product-favorite svg { width: 14px; height: 14px; }
.product-body { padding: 11px 11px 12px; }
.product-body h3 { overflow: hidden; margin-bottom: 5px; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.product-subtitle { display: block; overflow: hidden; margin-bottom: 10px; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
.product-price { color: var(--coral); font-size: 16px; font-weight: 800; }
.product-price small { margin-right: 1px; font-size: 10px; }
.product-sales { color: var(--muted); font-size: 9px; }
.product-points { display: flex; align-items: center; gap: 4px; margin-top: 7px; color: var(--yellow); font-size: 9px; }
.product-points svg { width: 12px; height: 12px; }

.notice-preview { display: grid; grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 10px; align-items: center; margin: 26px 20px 30px; padding: 13px; border: 1px solid #dce4ed; border-radius: 6px; background: var(--blue-soft); text-align: left; }
.notice-dot { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; }
.notice-dot svg { width: 15px; height: 15px; }
.notice-preview > div:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.notice-preview span { color: var(--blue); font-size: 9px; font-weight: 700; }
.notice-preview strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.notice-preview small { color: #6c7e8d; font-size: 9px; }
.notice-preview > svg { width: 15px; color: var(--blue); }

.view-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 28px 20px 18px; }
.view-heading h1 { margin-top: 6px; font-size: 29px; line-height: 1; }
.view-heading p { margin-top: 8px; color: var(--muted); font-size: 11px; }
.shop-heading { padding-bottom: 14px; }
.outline-icon-button { display: flex; height: 38px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--green); }
.outline-icon-button svg { width: 18px; height: 18px; }
.outline-icon-button span { min-width: 14px; color: var(--coral); font-size: 10px; font-weight: 800; }
.inner-search { margin-bottom: 15px; }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 20px 14px; scrollbar-width: none; }
.category-tabs::-webkit-scrollbar, .order-tabs::-webkit-scrollbar { display: none; }
.category-tabs button { flex: 0 0 auto; min-height: 32px; padding: 0 13px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--muted); cursor: pointer; font-size: 11px; }
.category-tabs button.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.shop-summary { display: flex; align-items: center; gap: 4px; padding: 4px 20px 15px; color: var(--muted); font-size: 10px; }
.shop-summary strong { color: var(--ink); font-size: 12px; }
.shop-summary > span { margin-left: auto; }
.filter-button { display: grid; width: 24px; height: 24px; place-items: center; margin-left: 8px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--green); }
.filter-button svg { width: 13px; height: 13px; }
.shop-grid { padding: 0 20px 28px; }

.split-heading { align-items: center; }
.membership-card { margin: 0 20px; padding: 18px; border-radius: var(--radius); background: var(--green-dark); color: #fff; }
.membership-card-top, .family-card-top, .notice-event-top, .case-card-top, .public-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.membership-label { display: inline-flex; align-items: center; gap: 6px; color: #cae5d9; font-size: 10px; font-weight: 700; }
.membership-label svg { width: 14px; height: 14px; }
.member-status { padding: 4px 7px; border-radius: 3px; background: #d9f2e2; color: #2d7b55; font-size: 9px; font-weight: 700; }
.family-number { display: block; margin: 22px 0 18px; font-size: 18px; font-weight: 500; }
.membership-card-bottom { display: flex; gap: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); color: #adc8be; font-size: 10px; }
.membership-card-bottom b { margin-left: 3px; color: #fff; font-weight: 500; }
.balance-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 17px 20px 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.balance-block > div { display: grid; gap: 5px; }
.balance-block .eyebrow { color: var(--muted); }
.balance-block strong { font-size: 27px; line-height: 1; }
.balance-block strong small { color: var(--muted); font-size: 10px; font-weight: 400; }
.balance-block p { color: var(--muted); font-size: 10px; }
.light-text { align-self: center; }
.member-action-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 20px 20px 9px; }
.member-action-grid button { display: grid; justify-items: center; gap: 6px; min-width: 0; padding: 6px 3px; background: transparent; }
.member-action-grid button:hover .action-icon { transform: translateY(-2px); }
.action-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; transition: transform 160ms ease; }
.action-icon svg { width: 17px; height: 17px; }
.green-icon { background: var(--green-soft); color: var(--green); }
.yellow-icon { background: var(--yellow-soft); color: var(--yellow); }
.coral-icon { background: var(--coral-soft); color: var(--coral); }
.blue-icon { background: var(--blue-soft); color: var(--blue); }
.member-action-grid strong { overflow: hidden; width: 100%; font-size: 11px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.member-action-grid small { overflow: hidden; width: 100%; color: var(--muted); font-size: 8px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.member-section { padding-top: 20px; }
.rights-list { border-top: 1px solid var(--line); }
.rights-list > div { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 66px; border-bottom: 1px solid var(--line); }
.right-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.right-icon svg { width: 15px; height: 15px; }
.rights-list > div > div { display: grid; gap: 4px; }
.rights-list strong { font-size: 12px; }
.rights-list small { color: var(--muted); font-size: 10px; }
.rights-list > div > svg { width: 16px; color: var(--green); }
.right-tag, .status-chip, .countdown-tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 3px; font-size: 9px; font-weight: 700; }
.right-tag { color: var(--green); background: var(--green-soft); }
.mini-link { padding: 4px 0; background: transparent; color: var(--green); font-size: 10px; font-weight: 700; }

.profile-hero { padding: 26px 20px 23px; background: var(--green-dark); color: #fff; }
.profile-topline { display: flex; align-items: center; justify-content: space-between; }
.profile-topline .eyebrow { color: #a8c7bb; }
.inverse-button { color: #fff; }
.profile-person { display: grid; grid-template-columns: 58px minmax(0, 1fr) 34px; gap: 13px; align-items: center; margin-top: 22px; }
.large-avatar { display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; background: #e3b663; color: #563b1f; font-size: 23px; font-weight: 800; }
.profile-person h1 { font-size: 22px; }
.profile-person p { margin-top: 5px; color: #aac6bb; font-size: 9px; }
.edit-button { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: transparent; color: #fff; }
.edit-button svg { width: 15px; height: 15px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 17px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.profile-stats button { display: grid; gap: 5px; padding: 0; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; }
.profile-stats button:last-child { border-right: 0; }
.profile-stats strong { font-size: 20px; }
.profile-stats small { color: var(--muted); font-size: 10px; }
.profile-menu { margin: 18px 20px 0; border-top: 1px solid var(--line); }
.profile-menu button { display: flex; width: 100%; min-height: 55px; align-items: center; gap: 9px; padding: 0 2px; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.profile-menu button > span:first-child { display: flex; align-items: center; gap: 11px; min-width: 0; font-size: 12px; }
.profile-menu button > span:first-child svg { width: 17px; color: var(--green); }
.profile-menu button > svg:last-child { width: 15px; margin-left: auto; color: var(--soft-muted); }
.menu-badge { margin-left: auto; color: var(--coral); font-size: 10px; }
.profile-menu .menu-badge + svg { margin-left: 0; }
.accessibility-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 17px 20px 0; padding: 13px 2px; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.accessibility-row > div { display: flex; align-items: center; gap: 10px; }
.accessibility-row > div > div { display: grid; gap: 4px; }
.accessibility-row strong { font-size: 12px; }
.accessibility-row small { color: var(--muted); font-size: 10px; }
.accessibility-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--yellow-soft); color: var(--yellow); }
.accessibility-icon svg { width: 16px; height: 16px; }
.switch { position: relative; display: inline-flex; width: 42px; height: 24px; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 20px; background: #d6ded8; cursor: pointer; transition: background 150ms ease; }
.switch span::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; content: ""; transition: transform 150ms ease; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(18px); }
.danger-link { display: block; margin: 22px auto; padding: 5px; background: transparent; color: var(--coral); font-size: 11px; }

.subview { padding-bottom: 28px; background: var(--paper); }
.subview-header { position: sticky; top: 0; z-index: 18; display: flex; height: 60px; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line); background: rgba(251,252,248,.96); backdrop-filter: blur(12px); }
.subview-header strong { font-size: 14px; }
.subview-header .icon-button { width: 34px; height: 34px; }
.header-count { color: var(--muted); font-size: 10px; }

.product-detail-image { position: relative; height: 300px; overflow: hidden; background: #e9eee8; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-tag { position: absolute; top: 16px; left: 20px; padding: 5px 8px; background: rgba(255,255,255,.88); color: var(--green); font-size: 9px; font-weight: 700; }
.detail-content { padding: 22px 20px 0; }
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.detail-title-row h1 { margin-bottom: 6px; font-size: 24px; line-height: 1.25; }
.detail-title-row p { color: var(--muted); font-size: 11px; }
.detail-heart { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer; }
.detail-heart.is-active { background: var(--coral-soft); color: var(--coral); }
.detail-heart svg { width: 17px; height: 17px; }
.detail-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.detail-price { color: var(--coral); font-size: 27px; font-weight: 800; }
.detail-price small { margin-right: 2px; font-size: 12px; }
.original-price { color: var(--muted); font-size: 11px; text-decoration: line-through; }
.detail-points { display: flex; align-items: center; gap: 5px; margin-top: 7px; color: var(--yellow); font-size: 10px; }
.detail-points svg { width: 13px; }
.detail-divider { height: 1px; margin: 20px 0; background: var(--line); }
.detail-service-row { display: flex; gap: 15px; color: var(--muted); font-size: 10px; }
.detail-service-row span { display: inline-flex; align-items: center; gap: 4px; }
.detail-service-row svg { width: 14px; color: var(--green); }
.detail-info-block { padding: 4px 0 20px; }
.detail-info-block h2 { margin-bottom: 9px; font-size: 17px; }
.detail-info-block p { color: #5e6d66; font-size: 12px; line-height: 1.8; }
.detail-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 17px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-specs span { display: grid; gap: 4px; color: var(--muted); font-size: 9px; text-align: center; }
.detail-specs b { color: var(--ink); font-size: 12px; font-weight: 600; }
.detail-buybar { position: sticky; bottom: 0; display: grid; grid-template-columns: 42px 1fr 1.2fr; gap: 8px; padding: 13px 20px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); }
.detail-buybar button { min-height: 43px; border-radius: 4px; cursor: pointer; }
.detail-cart-button { display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--green); }
.detail-cart-button svg { width: 18px; }
.secondary-button { border: 1px solid #afd0c0; background: #f4faf5; color: var(--green); font-weight: 700; }
.primary-button { min-height: 43px; padding: 0 20px; border: 0; border-radius: 4px; background: var(--green); color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.primary-button:hover { background: var(--green-dark); }

.cart-store { display: flex; align-items: center; gap: 10px; margin: 15px 20px 0; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.store-check { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid #b9c5bc; border-radius: 50%; background: #fff; color: transparent; flex: 0 0 auto; }
.store-check.is-checked { border-color: var(--green); background: var(--green); color: #fff; }
.store-check svg { width: 12px; height: 12px; }
.cart-store > div { display: grid; gap: 4px; min-width: 0; }
.cart-store strong { font-size: 12px; }
.cart-store small { color: var(--muted); font-size: 9px; }
.cart-store .text-button { margin-left: auto; }
.cart-list { padding: 0 20px; }
.cart-item { display: grid; grid-template-columns: 19px 76px minmax(0,1fr) auto; gap: 9px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item > img { width: 76px; height: 76px; border-radius: 5px; object-fit: cover; }
.cart-item-info { display: grid; align-content: center; gap: 5px; min-width: 0; }
.cart-item-info h3 { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-info p { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-price { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 6px; }
.cart-item-price strong { color: var(--coral); font-size: 13px; }
.quantity-stepper { display: inline-flex; height: 25px; align-items: center; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.quantity-stepper button { width: 23px; height: 23px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.quantity-stepper span { min-width: 22px; color: var(--ink); font-size: 10px; text-align: center; }
.cart-recommend { padding: 24px 20px 100px; }
.cart-recommend .section-heading { margin-bottom: 11px; }
.mini-product-row { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
.mini-product-row::-webkit-scrollbar { display: none; }
.mini-product { display: grid; grid-template-columns: 56px minmax(0,1fr); flex: 0 0 190px; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; }
.mini-product img { width: 56px; height: 56px; border-radius: 4px; object-fit: cover; }
.mini-product > div { display: grid; gap: 4px; min-width: 0; }
.mini-product strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mini-product span { color: var(--coral); font-size: 11px; font-weight: 800; }
.cart-bottom { position: sticky; bottom: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 68px; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); }
.cart-bottom label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; cursor: pointer; }
.cart-bottom label input { display: none; }
.fake-check { display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid #b9c5bc; border-radius: 50%; background: #fff; }
.cart-bottom input:checked + .fake-check { border-color: var(--green); background: var(--green); }
.cart-bottom input:checked + .fake-check::after { width: 9px; height: 5px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; content: ""; transform: rotate(-45deg) translateY(-1px); }
.cart-bottom > div { display: flex; align-items: center; gap: 10px; }
.cart-bottom > div > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.cart-bottom > div > span strong { color: var(--coral); font-size: 16px; }

.address-card { display: grid; grid-template-columns: 28px minmax(0, 1fr) 15px; gap: 10px; align-items: center; margin: 14px 20px 0; padding: 15px 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.address-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--coral-soft); color: var(--coral); }
.address-icon svg { width: 15px; }
.address-card > div > div { display: flex; align-items: center; gap: 9px; }
.address-card strong { font-size: 12px; }
.address-card > div > div > span:not(.default-tag) { color: var(--muted); font-size: 10px; }
.default-tag { padding: 2px 5px; background: var(--green-soft); color: var(--green); font-size: 8px; }
.address-card p { margin-top: 7px; color: var(--muted); font-size: 10px; }
.address-card > svg { width: 15px; color: var(--soft-muted); }
.checkout-section { padding: 16px 20px 5px; }
.checkout-store { display: flex; align-items: center; gap: 8px; padding-bottom: 11px; }
.checkout-store strong { font-size: 12px; }
.checkout-item { display: grid; grid-template-columns: 64px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.checkout-item img { width: 64px; height: 60px; border-radius: 4px; object-fit: cover; }
.checkout-item > div { display: grid; gap: 5px; min-width: 0; }
.checkout-item h3 { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.checkout-item p { color: var(--muted); font-size: 9px; }
.checkout-item strong { color: var(--coral); font-size: 12px; }
.checkout-options { margin: 0 20px; border-bottom: 1px solid var(--line); }
.checkout-options button { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.checkout-options button:last-child { border-bottom: 0; }
.checkout-options button > span:first-child { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.checkout-options svg { width: 15px; color: var(--muted); }
.option-value { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; }
.price-summary { display: grid; gap: 9px; margin: 16px 20px 90px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.price-summary > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.price-summary strong { color: var(--ink); font-weight: 500; }
.price-summary .points-gift strong { color: var(--green); }
.checkout-bottom { position: sticky; bottom: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.98); }
.checkout-bottom > div { display: grid; gap: 3px; }
.checkout-bottom small { color: var(--muted); font-size: 9px; }
.checkout-bottom strong { color: var(--coral); font-size: 19px; }
.checkout-bottom .primary-button { min-width: 126px; }

.order-tabs { display: flex; gap: 0; overflow-x: auto; padding: 0 20px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.order-tabs button { position: relative; flex: 0 0 auto; min-height: 44px; padding: 0 13px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; }
.order-tabs button:first-child { padding-left: 0; }
.order-tabs button.is-active { color: var(--green); font-weight: 700; }
.order-tabs button.is-active::after { position: absolute; right: 13px; bottom: -1px; left: 13px; height: 2px; background: var(--green); content: ""; }
.order-tabs button:first-child.is-active::after { left: 0; }
.order-tabs span { margin-left: 3px; color: var(--soft-muted); font-size: 9px; }
.orders-list { display: grid; gap: 11px; padding: 16px 20px 28px; }
.order-card { padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.order-card-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.order-status { color: var(--green); font-weight: 700; }
.order-status.waiting { color: var(--orange); }
.order-status.completed { color: var(--muted); }
.order-product { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; padding: 13px 0; }
.order-product img { width: 64px; height: 60px; border-radius: 4px; object-fit: cover; }
.order-product > div { display: grid; align-content: center; gap: 5px; min-width: 0; }
.order-product h3 { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.order-product p { color: var(--muted); font-size: 9px; }
.order-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.order-card-foot > span { color: var(--muted); font-size: 9px; }
.order-card-foot strong { color: var(--coral); font-size: 15px; }
.order-card-actions { display: flex; gap: 6px; }
.order-card-actions button { min-height: 28px; padding: 0 9px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--muted); cursor: pointer; font-size: 9px; }
.order-card-actions button.primary-small { border-color: var(--green); background: var(--green); color: #fff; }
.primary-small { display: inline-flex; min-height: 29px; align-items: center; gap: 4px; padding: 0 9px; border-radius: 3px; background: var(--green); color: #fff; font-size: 9px; font-weight: 700; }
.primary-small svg { width: 13px; }

.points-hero { margin: 15px 20px; padding: 20px; border-radius: var(--radius); background: var(--green-dark); color: #fff; }
.points-hero .eyebrow { color: #a6c9bb; }
.points-hero > strong { display: block; margin: 7px 0 2px; font-size: 33px; line-height: 1; }
.points-hero > span { color: #b6d2c6; font-size: 10px; }
.points-hero-foot { display: flex; gap: 15px; margin-top: 20px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); color: #b6d2c6; font-size: 9px; }
.points-hero-foot b { color: #fff; font-weight: 500; }
.points-alert { display: grid; grid-template-columns: 32px minmax(0,1fr) 15px; gap: 10px; align-items: center; margin: 0 20px 26px; padding: 12px; border: 1px solid #f0dfb6; border-radius: 6px; background: var(--yellow-soft); text-align: left; }
.points-alert > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #fff9e9; color: var(--yellow); }
.points-alert svg { width: 15px; }
.points-alert > div { display: grid; gap: 4px; }
.points-alert strong { color: #775820; font-size: 11px; }
.points-alert p { color: #92763c; font-size: 9px; }
.points-alert > svg { width: 15px; color: var(--yellow); }
.points-section { padding: 0 20px 27px; }
.bill-card { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.bill-card > div { display: grid; gap: 5px; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bill-card > div:nth-child(2n) { border-right: 0; }
.bill-card > div:nth-last-child(-n+2) { border-bottom: 0; }
.bill-card span { color: var(--muted); font-size: 9px; }
.bill-card strong { font-size: 16px; }
.bill-card strong small { color: var(--muted); font-size: 9px; font-weight: 400; }
.bill-card .bill-total strong { color: var(--coral); }
.bill-card .bill-balance strong { color: var(--green); }
.ledger-list { border-top: 1px solid var(--line); }
.ledger-list > div { display: grid; grid-template-columns: 31px minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 66px; border-bottom: 1px solid var(--line); }
.ledger-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; }
.ledger-icon svg { width: 14px; height: 14px; }
.green-ledger { background: var(--green-soft); color: var(--green); }
.red-ledger { background: var(--coral-soft); color: var(--coral); }
.blue-ledger { background: var(--blue-soft); color: var(--blue); }
.ledger-list > div > div { display: grid; gap: 4px; }
.ledger-list strong { font-size: 11px; }
.ledger-list small { color: var(--muted); font-size: 9px; }
.ledger-plus { color: var(--green); font-size: 12px; }
.ledger-minus { color: var(--coral); font-size: 12px; }
.ledger-pending { color: var(--orange); font-size: 10px; font-weight: 600; }
.public-section { padding: 0 20px 30px; text-align: left; }
.countdown-tag { color: var(--orange); background: var(--yellow-soft); }
.public-card { padding: 15px; border: 1px solid #cbdce8; border-radius: 6px; background: #f5f9fc; }
.public-card-head { color: var(--blue); font-size: 9px; }
.public-status { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.public-status svg { width: 13px; }
.public-card h3 { margin: 12px 0 14px; font-size: 13px; }
.public-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 13px 0; border-top: 1px solid #d6e2eb; border-bottom: 1px solid #d6e2eb; }
.public-metrics > div { display: grid; gap: 4px; min-width: 0; }
.public-metrics span, .public-metrics small { color: var(--muted); font-size: 8px; }
.public-metrics strong { overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.public-metrics .highlight-number { color: var(--orange); }
.public-date { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; color: var(--muted); font-size: 9px; }

.notice-page-intro { display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 13px; padding: 25px 20px 19px; background: var(--blue-soft); }
.notice-page-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; }
.notice-page-icon svg { width: 21px; height: 21px; }
.notice-page-intro > div { display: grid; gap: 5px; }
.notice-page-intro .eyebrow { color: var(--blue); }
.notice-page-intro h1 { font-size: 24px; line-height: 1.2; }
.notice-page-intro p { color: #668099; font-size: 10px; line-height: 1.6; }
.notice-state { display: flex; align-items: center; justify-content: space-between; margin: 0 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.notice-state span { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 10px; font-weight: 700; }
.notice-state svg { width: 14px; }
.notice-state strong { color: var(--orange); font-size: 12px; }
.notice-event-card { margin: 18px 20px 28px; padding: 16px; border: 1px solid #cadce8; border-radius: 6px; background: #fff; }
.notice-event-top h2 { margin-top: 5px; font-size: 18px; }
.status-chip { min-height: 23px; }
.blue-chip { background: var(--blue-soft); color: var(--blue); }
.green-chip { background: var(--green-soft); color: var(--green); }
.orange-chip { background: var(--yellow-soft); color: var(--orange); }
.notice-person { display: flex; align-items: center; gap: 9px; margin: 17px 0; padding: 11px; background: #f7fafb; }
.masked-avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--coral-soft); color: var(--coral); }
.masked-avatar svg { width: 15px; }
.notice-person > div { display: grid; gap: 4px; }
.notice-person strong { font-size: 11px; }
.notice-person p { color: var(--muted); font-size: 9px; }
.notice-data-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.notice-data-grid > div { display: grid; gap: 5px; padding: 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice-data-grid span { color: var(--muted); font-size: 9px; }
.notice-data-grid strong { font-size: 14px; }
.notice-data-grid small { color: var(--muted); font-size: 8px; font-weight: 400; }
.orange-number { color: var(--orange); }
.notice-timeline { display: grid; gap: 0; margin: 19px 0; }
.notice-timeline > div { position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 9px; min-height: 46px; }
.notice-timeline > div:not(:last-child)::before { position: absolute; top: 21px; bottom: 0; left: 10px; width: 1px; background: var(--line); content: ""; }
.notice-timeline b { position: relative; z-index: 1; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #edf0ee; color: var(--muted); font-size: 9px; }
.notice-timeline span { align-self: center; font-size: 11px; }
.notice-timeline small { grid-column: 2; color: var(--muted); font-size: 9px; }
.notice-timeline .timeline-done b { background: var(--green); color: #fff; }
.notice-timeline .timeline-done span { color: var(--green); }
.notice-timeline .timeline-current b { background: var(--blue); color: #fff; }
.notice-timeline .timeline-current span { color: var(--blue); font-weight: 700; }
.outline-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; border: 1px solid #b5d0c3; border-radius: 4px; background: #fff; color: var(--green); font-size: 11px; font-weight: 700; }
.outline-button:hover { background: var(--green-soft); }
.outline-button svg { width: 15px; }
.full-button { width: 100%; }
.history-section { padding: 0 20px 22px; }
.history-row { display: grid; grid-template-columns: 30px minmax(0,1fr) 15px; gap: 9px; align-items: center; min-height: 60px; border-top: 1px solid var(--line); text-align: left; }
.history-check { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.history-check svg { width: 14px; }
.history-row > div { display: grid; gap: 4px; }
.history-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.history-row small { color: var(--muted); font-size: 9px; }
.history-row > svg { width: 15px; color: var(--soft-muted); }

.family-card { margin: 15px 20px 0; padding: 18px; border-radius: var(--radius); background: var(--green-dark); color: #fff; }
.family-card-top h1 { margin: 6px 0 4px; font-size: 22px; }
.family-card-top p { color: #a8c7bb; font-size: 10px; }
.family-card-top .eyebrow { color: #a8c7bb; }
.family-progress { display: flex; align-items: center; gap: 10px; margin: 24px 0 13px; }
.family-progress > div { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.18); }
.family-progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: #dbeaa9; }
.family-progress strong { font-size: 13px; }
.family-progress small { color: #a8c7bb; font-size: 9px; font-weight: 400; }
.family-card-foot { display: flex; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); color: #a8c7bb; font-size: 9px; }
.family-section { padding: 25px 20px 0; }
.family-member-list { border-top: 1px solid var(--line); }
.family-member { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); }
.member-avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #e8d6c2; color: #755c45; font-size: 12px; font-weight: 700; }
.self-avatar { background: var(--green-soft); color: var(--green); }
.family-member > div { display: grid; gap: 4px; }
.family-member strong { font-size: 11px; }
.family-member small { color: var(--muted); font-size: 9px; }
.owner-tag { margin-left: 4px; padding: 2px 4px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 500; }
.member-accent { color: var(--green); font-size: 9px; }
.invite-button { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: center; gap: 6px; margin-top: 15px; border: 1px dashed #b7cfc2; border-radius: 4px; background: #f4faf5; color: var(--green); font-size: 11px; font-weight: 700; }
.invite-button svg { width: 15px; }
.helper-note { margin-top: 8px; color: var(--muted); font-size: 9px; line-height: 1.6; text-align: center; }
.advisor-section { padding-top: 27px; }
.advisor-card { display: grid; grid-template-columns: 39px minmax(0,1fr) 34px; gap: 10px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.advisor-avatar { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #e4c8a6; color: #7c5e3f; font-weight: 700; }
.advisor-card > div { display: grid; gap: 4px; }
.advisor-card strong { font-size: 12px; }
.advisor-card p, .advisor-card span { color: var(--muted); font-size: 9px; }
.circle-action { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.circle-action svg { width: 16px; }
.beneficiary-row { display: grid; grid-template-columns: 30px minmax(0,1fr) 15px; gap: 10px; align-items: center; margin: 22px 20px 0; padding: 13px 0; border-top: 1px solid var(--line); text-align: left; }
.beneficiary-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: var(--coral-soft); color: var(--coral); }
.beneficiary-icon svg { width: 15px; }
.beneficiary-row > div { display: grid; gap: 4px; }
.beneficiary-row strong { font-size: 11px; }
.beneficiary-row small { color: var(--muted); font-size: 9px; }
.beneficiary-row > svg { width: 15px; color: var(--soft-muted); }

.care-intro { padding: 26px 20px 22px; background: #f7ece7; }
.care-intro .eyebrow { color: var(--coral); }
.care-intro h1 { margin-top: 7px; font-size: 27px; line-height: 1.17; }
.care-intro p { margin-top: 11px; color: #8b766e; font-size: 10px; line-height: 1.6; }
.care-accumulation { margin: 18px 20px 0; padding: 16px; border: 1px solid #d7e6db; border-radius: 6px; background: #fff; text-align: left; }
.care-accumulation h2, .hospital-card h2 { margin-top: 5px; font-size: 16px; }
.care-number { display: flex; align-items: baseline; gap: 6px; margin-top: 17px; }
.care-number strong { color: var(--green); font-size: 28px; }
.care-number span { color: var(--muted); font-size: 10px; }
.care-progress { height: 7px; margin-top: 9px; overflow: hidden; border-radius: 4px; background: #e4eee7; }
.care-progress span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.care-meta { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 9px; }
.care-meta b { margin-left: 3px; color: var(--ink); font-weight: 600; }
.care-member-switch { display: flex; gap: 5px; margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--line); }
.care-member-switch button { flex: 1; min-height: 29px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--muted); cursor: pointer; font-size: 9px; }
.care-member-switch button.is-active { border-color: var(--green); background: var(--green-soft); color: var(--green); font-weight: 700; }
.care-member-switch small { margin-left: 2px; font-size: 8px; }
.hospital-card { margin: 12px 20px 0; padding: 15px; border: 1px solid #f0d5cc; border-radius: 6px; background: #fff9f7; text-align: left; }
.hospital-card-head { display: flex; align-items: center; gap: 9px; }
.hospital-card-head > div { flex: 1; }
.hospital-card-head > svg:last-child { width: 15px; color: var(--coral); }
.care-mini-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; background: var(--coral-soft); color: var(--coral); }
.care-mini-icon svg { width: 16px; }
.hospital-card p { margin: 13px 0; color: #8d756d; font-size: 10px; line-height: 1.6; }
.hospital-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #f3ded8; }
.hospital-facts span { display: grid; gap: 4px; padding-top: 10px; border-right: 1px solid #f3ded8; text-align: center; }
.hospital-facts span:last-child { border-right: 0; }
.hospital-facts b { color: var(--coral); font-size: 15px; }
.hospital-facts small { color: var(--muted); font-size: 8px; }
.care-section { padding: 26px 20px 0; }
.case-card { padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; text-align: left; }
.case-number { color: var(--muted); font-size: 9px; }
.case-card h3 { margin-top: 12px; font-size: 13px; }
.case-card p { margin-top: 5px; color: var(--muted); font-size: 10px; }
.case-progress { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin-top: 17px; }
.case-progress span { height: 4px; border-radius: 2px; background: #e8ece9; }
.case-progress .completed { background: var(--green); }
.case-progress .current { background: var(--orange); }
.case-steps { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 8px; }
.case-steps .current-label { color: var(--orange); font-weight: 700; }
.case-card .full-button { margin-top: 16px; }
.care-notice { display: flex; gap: 9px; margin: 22px 20px 0; padding: 12px; border: 1px solid #e3e7e5; border-radius: 5px; background: #f4f6f4; }
.care-notice > svg { width: 17px; flex: 0 0 auto; color: var(--green); }
.care-notice > div { display: grid; gap: 4px; }
.care-notice strong { font-size: 10px; }
.care-notice p { color: var(--muted); font-size: 9px; line-height: 1.5; }

.message-list { padding: 4px 20px 28px; }
.message-item { display: grid; grid-template-columns: 33px minmax(0,1fr) 15px; gap: 10px; align-items: center; min-height: 86px; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.message-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; }
.message-icon svg { width: 15px; }
.red-message { background: var(--coral-soft); color: var(--coral); }
.blue-message { background: var(--blue-soft); color: var(--blue); }
.green-message { background: var(--green-soft); color: var(--green); }
.yellow-message { background: var(--yellow-soft); color: var(--yellow); }
.message-item > div { display: grid; gap: 5px; min-width: 0; }
.message-item strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.message-item p { overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.message-item small { color: var(--soft-muted); font-size: 8px; }
.message-item > svg { width: 15px; color: var(--soft-muted); }
.message-item.unread strong::before { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--coral); content: ""; vertical-align: 2px; }

.bottom-nav { position: fixed; right: max(calc((100vw - 480px) / 2), 0px); bottom: 0; left: max(calc((100vw - 480px) / 2), 0px); z-index: 30; display: grid; grid-template-columns: repeat(4,1fr); height: calc(67px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(15px); }
.bottom-nav button { position: relative; display: grid; place-content: center; gap: 4px; border: 0; background: transparent; color: #89958f; cursor: pointer; font-size: 9px; }
.bottom-nav button.is-active { color: var(--green); font-weight: 700; }
.bottom-nav svg { width: 19px; height: 19px; margin: 0 auto; }

.sheet-dialog { width: min(100%, 480px); max-width: none; height: 100%; max-height: 100%; margin: auto; padding: 0; border: 0; background: transparent; }
.sheet-dialog::backdrop { background: rgba(17, 35, 29, .52); backdrop-filter: blur(3px); }
.sheet-dialog[open] { display: flex; align-items: flex-end; }
.dialog-sheet { position: relative; width: 100%; max-height: 88vh; overflow-y: auto; padding: 26px 20px calc(25px + env(safe-area-inset-bottom)); border-radius: 9px 9px 0 0; background: #fff; }
.dialog-close { position: absolute; top: 10px; right: 12px; }
.dialog-sheet h2 { padding-right: 32px; font-size: 20px; }
.dialog-sheet > p { margin: 8px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.dialog-form { display: grid; gap: 13px; }
.dialog-form label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; }
.dialog-form input, .dialog-form select, .dialog-form textarea { width: 100%; min-height: 43px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; outline: 0; background: #fff; color: var(--ink); font-size: 11px; }
.dialog-form textarea { min-height: 84px; resize: vertical; }
.dialog-form input:focus, .dialog-form select:focus, .dialog-form textarea:focus { border-color: var(--green); }
.dialog-form .primary-button { width: 100%; margin-top: 5px; }
.dialog-close-button { position: absolute; top: 10px; right: 12px; display: grid; width: 32px; height: 32px; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.dialog-close-button svg { width: 18px; }
.dialog-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 13px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.dialog-icon svg { width: 20px; }
.info-list { display: grid; gap: 10px; margin: 0 0 19px; padding: 0; list-style: none; }
.info-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; color: #53615a; font-size: 11px; line-height: 1.65; }
.info-list li::before { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); content: "✓"; font-size: 9px; font-weight: 700; }
.dialog-primary-row { display: flex; gap: 8px; }
.dialog-primary-row > * { flex: 1; }
.dialog-button-secondary { min-height: 42px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--muted); cursor: pointer; font-size: 11px; }
.agreement-list { display: grid; gap: 8px; margin-bottom: 17px; }
.agreement-list label { display: flex; align-items: flex-start; gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); cursor: pointer; font-size: 10px; line-height: 1.55; }
.agreement-list input { width: 16px; min-height: 16px; flex: 0 0 auto; margin-top: 1px; }
.service-dialog { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 10px; align-items: center; margin-top: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 5px; }
.service-dialog .advisor-avatar { width: 41px; height: 41px; }
.service-dialog > div { display: grid; gap: 4px; }
.service-dialog strong { font-size: 12px; }
.service-dialog small { color: var(--muted); font-size: 9px; }
.success-dialog { display: grid; justify-items: center; padding-top: 32px; text-align: center; }
.success-dialog .dialog-icon { width: 56px; height: 56px; background: var(--green); color: #fff; }
.success-dialog h2 { padding: 0; font-size: 21px; }
.success-dialog p { max-width: 270px; margin-bottom: 20px; }
.tracking-list { display: grid; gap: 0; margin: 16px 0 20px; }
.tracking-list > div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 11px 0 11px 18px; border-left: 1px solid var(--line); }
.tracking-list > div::before { position: absolute; top: 14px; left: -5px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #c7d0ca; box-shadow: 0 0 0 1px #c7d0ca; content: ""; }
.tracking-list .tracking-current { border-left-color: var(--green); }
.tracking-list .tracking-current::before { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.tracking-list b { grid-column: 1; color: var(--ink); font-size: 11px; }
.tracking-list span { grid-column: 1; color: var(--muted); font-size: 9px; }
.tracking-list small { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--soft-muted); font-size: 8px; }
.order-detail-summary { display: grid; gap: 0; margin: 16px 0 20px; border-top: 1px solid var(--line); }
.order-detail-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-detail-summary span { color: var(--muted); font-size: 10px; }
.order-detail-summary strong { max-width: 62%; overflow: hidden; font-size: 10px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.order-detail-summary > div:first-child strong { color: var(--green); }
.green-number { color: var(--green); }

.toast { position: fixed; right: 20px; bottom: 89px; left: 20px; z-index: 100; max-width: 360px; margin: 0 auto; padding: 10px 14px; border-radius: 4px; background: rgba(25, 37, 34, .94); color: #fff; font-size: 11px; text-align: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 160ms ease, transform 160ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

body.elder-mode { font-size: 16px; }
body.elder-mode .eyebrow { font-size: 12px; }
body.elder-mode .bottom-nav { height: calc(78px + env(safe-area-inset-bottom)); }
body.elder-mode .bottom-nav button { font-size: 12px; }
body.elder-mode .service-item small, body.elder-mode .product-subtitle, body.elder-mode .product-sales, body.elder-mode .member-strip p { font-size: 11px; }
body.elder-mode .primary-button, body.elder-mode .outline-button { min-height: 52px; font-size: 14px; }

@media (max-width: 899px) {
  html, body { background: var(--paper); }
  .desktop-caption { display: none; }
  .mini-program { box-shadow: none; }
}

@media (max-width: 375px) {
  .home-welcome h1 { font-size: 25px; }
  .hero-banner { height: 235px; }
  .hero-copy h2 { font-size: 28px; }
  .service-grid { gap: 3px; }
  .membership-card-bottom { gap: 8px; }
  .membership-card-bottom span { font-size: 9px; }
  .product-image { height: 137px; }
  .family-card-foot { gap: 6px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
