@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/vazirmatn-arabic.woff2?v=2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+2010-2011, U+202F, U+204F, U+25CC;
}

@font-face {
  font-family: Vazirmatn;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/vazirmatn-latin.woff2?v=2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: #28323c;
  background: #f8f7f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  --ink: #26313b;
  --muted: #78818a;
  --line: #eeece9;
  --paper: #fff;
  --canvas: #f8f7f5;
  --rose: #b96e7d;
  --rose-dark: #995566;
  --rose-pale: #f8edf0;
  --sage: #64887b;
  --sage-pale: #edf4f0;
  --gold: #b88a54;
  --gold-pale: #f8f1e8;
  --shadow: 0 10px 30px rgba(50, 42, 39, .045);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); font-size: 15px; line-height: 1.85; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #d6a8b2; outline-offset: 2px; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 5; inset: 0 0 0 auto; width: 252px; padding: 24px 18px; background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 27px; }
.brand-mark { width: 42px; height: 42px; border-radius: 15px; color: #fff; display: grid; place-items: center; background: linear-gradient(145deg,#d9a2ac,#ae6776); box-shadow: 0 7px 16px #b96e7d33; }
.brand-mark svg { width: 22px; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.brand-caption { display: block; margin-top: -3px; font-size: 12px; color: #9a9694; font-weight: 500; letter-spacing: .3px; }
.workspace-label { padding: 0 12px 10px; color: #aaa4a0; font-size: 12px; font-weight: 700; }
.nav-list { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 0; border-radius: 12px; color: #737b82; background: transparent; text-align: right; font-size: 13px; transition: .2s; }
.nav-item svg { width: 19px; height: 19px; }
.nav-item:hover { color: var(--rose-dark); background: #fbf5f6; }
.nav-item.active { color: var(--rose-dark); background: var(--rose-pale); font-weight: 700; }
.nav-count { margin-right: auto; font-size: 12px; color: var(--rose); }
.sidebar-spacer { flex: 1; }
.sidebar-tip { margin: 16px 2px; padding: 15px; border-radius: 15px; background: linear-gradient(145deg,#f9f1ef,#fbf8f4); }
.tip-icon { color: var(--rose); font-size: 19px; }
.sidebar-tip strong { display: block; margin: 6px 0 3px; font-size: 12px; }
.sidebar-tip p { margin: 0; font-size: 12px; line-height: 1.9; color: var(--muted); }
.user-mini { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 17px 5px 0; }
.user-mini strong { display: block; font-size: 12px; }
.user-mini small { font-size: 12px; color: var(--muted); }
.avatar { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #f3e4e5; color: #98606c; font-weight: 700; font-size: 12px; }
.avatar.doctor { background: #e4eee9; color: #557569; }
.avatar.large { width: 58px; height: 58px; font-size: 17px; }
.main-area { margin-right: 252px; min-height: 100vh; }
.topbar { height: 72px; padding: 0 38px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.82); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 4; backdrop-filter: blur(12px); }
.breadcrumbs { font-size: 12px; color: var(--muted); }
.breadcrumbs b { color: var(--ink); font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 11px; }
.role-toggle { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #faf9f8; }
.role-toggle button { border: 0; background: transparent; color: #777; font-size: 12px; padding: 6px 9px; border-radius: 8px; }
.role-toggle button.selected { background: #fff; color: var(--rose-dark); box-shadow: 0 1px 5px #00000010; font-weight: 700; }
.icon-button { width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #6d7479; display: grid; place-items: center; position: relative; }
.icon-button svg { width: 17px; height: 17px; }
.notify-dot { width: 6px; height: 6px; background: var(--rose); border: 1px solid #fff; border-radius: 50%; position: absolute; top: 7px; right: 7px; }
.page-wrap { width: min(1150px,100%); margin: 0 auto; padding: 30px 38px 55px; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 2px 0 24px; }
.eyebrow { color: var(--rose); font-size: 12px; font-weight: 700; margin-bottom: 5px; }
h1 { margin: 0; color: var(--ink); font-size: 24px; letter-spacing: -.45px; }
.heading-sub { color: var(--muted); margin: 7px 0 0; font-size: 12px; line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 11px; padding: 10px 15px; font-size: 12px; font-weight: 700; transition: .2s; }
.button svg { width: 16px; height: 16px; }
.button-primary { color: white; background: var(--rose); box-shadow: 0 5px 12px #b96e7d28; }
.button-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }
.button-secondary { color: #54625d; background: #fff; border-color: var(--line); }
.button-secondary:hover { background: #faf8f6; border-color: #ddd7d3; }
.button-soft { color: var(--rose-dark); background: var(--rose-pale); }
.button-sage { color: #527266; background: var(--sage-pale); }
.button-small { padding: 7px 11px; font-size: 12px; border-radius: 9px; }
.button-plain { border: 0; background: none; color: var(--rose-dark); padding: 5px 0; font-size: 12px; font-weight: 700; }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 27px 0 13px; }
.section-title h2 { margin: 0; font-size: 14px; color: #35404a; }
.section-title span { font-size: 12px; color: var(--muted); }
.welcome-banner { padding: 24px 26px; min-height: 184px; background: linear-gradient(110deg,#fbf1f2 0%,#faf6f0 66%,#f5eee6 100%); border: 1px solid #f1e8e5; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; overflow: hidden; }
.welcome-banner:after { content: "✿"; position: absolute; left: 16%; top: -48px; color: #c78c9820; font-size: 220px; line-height: 1; transform: rotate(-16deg); }
.welcome-content { position: relative; z-index: 1; max-width: 540px; }
.welcome-content h1 { font-size: 24px; }
.welcome-content p { margin: 8px 0 16px; color: #747475; font-size: 12px; line-height: 2; }
.welcome-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.welcome-illustration { width: 133px; height: 133px; flex: 0 0 133px; border-radius: 50%; border: 1px solid #eddde0; background: #fff8f7a8; display: grid; place-items: center; position: relative; z-index: 1; }
.welcome-illustration span { font-size: 54px; }
.metric-card { padding: 16px; display: flex; gap: 12px; align-items: center; }
.metric-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--rose); background: var(--rose-pale); }
.metric-icon svg { width: 18px; }
.metric-icon.sage { color: var(--sage); background: var(--sage-pale); }
.metric-icon.gold { color: var(--gold); background: var(--gold-pale); }
.metric-icon.blue { color: #6685a0; background: #edf3f7; }
.metric-card strong { display: block; font-size: 17px; }
.metric-card small { font-size: 12px; color: var(--muted); }
.challenge-card { padding: 16px; display: flex; align-items: flex-start; gap: 12px; }
.challenge-card p { margin: 4px 0 0; font-size: 12px; line-height: 1.8; color: var(--muted); }
.challenge-tag { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 99px; color: #a47445; background: var(--gold-pale); font-size: 12px; }
.treatment-card { padding: 18px; }
.treatment-top { display: flex; align-items: center; justify-content: space-between; }
.treatment-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fbf1f0; font-size: 19px; }
.treatment-card h3 { margin: 13px 0 4px; font-size: 14px; }
.treatment-card p { color: var(--muted); margin: 0; font-size: 12px; line-height: 1.8; }
.priority { border: 1px solid #eee8e2; background: #fbf9f6; color: #957a5d; font-size: 12px; padding: 4px 8px; border-radius: 99px; }
.card-actions { display: flex; gap: 13px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #f3f0ed; }
.card-actions button { border: 0; padding: 0; background: transparent; font-size: 12px; font-weight: 600; color: var(--rose-dark); }
.routine-row { padding: 13px 15px; display: flex; align-items: center; gap: 13px; }
.product-swatch { width: 44px; height: 49px; border-radius: 12px; background: linear-gradient(145deg,#f5e8d8,#fff9f0); display: grid; place-items: center; font-size: 20px; }
.routine-row h3 { margin: 0; font-size: 12px; }
.routine-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.routine-row .button { margin-right: auto; }
.appointment-card { padding: 16px; display: flex; align-items: center; gap: 13px; }
.date-box { min-width: 49px; padding: 8px 5px; background: var(--rose-pale); color: var(--rose-dark); border-radius: 11px; text-align: center; }
.date-box strong { display: block; font-size: 16px; }
.date-box small { font-size: 12px; }
.appointment-card h3 { margin: 0; font-size: 12px; }
.appointment-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.appointment-card .button { margin-right: auto; }
.progress-track { height: 6px; background: #f0efec; border-radius: 99px; overflow: hidden; }
.progress-track span { height: 100%; display: block; background: var(--sage); border-radius: 99px; }
.checklist { padding: 17px; }
.checklist-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.checklist-head strong { font-size: 12px; }
.checklist-head span { font-size: 12px; color: var(--sage); }
.checkline { display: flex; align-items: center; gap: 9px; margin-top: 12px; color: #647079; font-size: 12px; }
.checkline input { accent-color: var(--sage); }
.doctor-card { padding: 17px; display: flex; align-items: flex-start; gap: 12px; }
.doctor-card h3 { margin: 1px 0 3px; font-size: 12px; }
.doctor-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.rating { color: #b18756; font-size: 12px; margin-top: 5px; }
.doctor-card .button { margin-right: auto; align-self: center; white-space: nowrap; }
.toolbar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 0 0 16px; }
.search-field { display: flex; align-items: center; gap: 8px; height: 39px; padding: 0 11px; background: #fff; border: 1px solid var(--line); border-radius: 10px; min-width: 210px; flex: 1; max-width: 340px; }
.search-field svg { width: 16px; color: #949a9e; }
.search-field input { border: 0; outline: none; width: 100%; background: transparent; font-size: 12px; }
.filter-select { height: 39px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #606b71; font-size: 12px; }
.doctor-detail { padding: 21px; }
.doctor-profile-head { display: flex; align-items: center; gap: 15px; }
.doctor-profile-head h2 { margin: 0; font-size: 16px; }
.doctor-profile-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.doctor-bio { margin: 17px 0; color: #657078; font-size: 12px; line-height: 2; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { padding: 5px 9px; border-radius: 99px; background: #f5f3f0; color: #6d777c; font-size: 12px; }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.gallery-item { min-height: 96px; border-radius: 12px; background: linear-gradient(140deg,#f1e9e3,#e9d9d1); display: grid; place-items: center; color: #8f7b72; font-size: 12px; position: relative; overflow: hidden; }
.gallery-item:nth-child(2) { background: linear-gradient(140deg,#e8efeb,#d6e1da); }
.gallery-item:nth-child(3) { background: linear-gradient(140deg,#f4e9ed,#ead9df); }
.gallery-item span { background: #ffffffbd; padding: 4px 8px; border-radius: 99px; }
.appointment-list { display: grid; gap: 10px; }
.appointment-row { padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.appointment-row .button { margin-right: auto; }
.appointment-row .appointment-info { min-width: 0; }
.appointment-row h3 { margin: 0; font-size: 12px; }
.appointment-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.status-pill { padding: 4px 9px; background: var(--sage-pale); color: var(--sage); border-radius: 99px; font-size: 12px; white-space: nowrap; }
.status-pill.pending { background: var(--gold-pale); color: #a57b49; }
.status-pill.cancelled { background: #f5efed; color: #957d76; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.info-panel { padding: 19px; }
.info-panel h2 { margin: 0 0 12px; font-size: 13px; }
.info-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f2f0ed; font-size: 12px; }
.info-row:last-child { border: 0; }
.info-row span { color: var(--muted); }
.record-preview { padding: 24px; }
.record-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.record-top h2 { margin: 0; font-size: 16px; }
.record-label { color: var(--sage); font-size: 12px; }
.record-disclaimer { padding: 12px; background: #fbf6ef; color: #92764f; font-size: 12px; line-height: 1.8; border-radius: 10px; }
.chat-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 15px; min-height: 525px; }
.chat-panel { display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-size: 12px; }
.chat-head small { font-size: 12px; color: var(--sage); }
.chat-messages { flex: 1; padding: 19px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.bubble { max-width: 78%; padding: 10px 13px; background: #f7f3f1; border-radius: 13px 13px 3px 13px; color: #4d5960; font-size: 12px; line-height: 1.9; align-self: flex-start; }
.bubble.mine { background: var(--rose-pale); border-radius: 13px 13px 13px 3px; align-self: flex-end; }
.bubble time { display: block; color: #999; font-size: 12px; margin-top: 3px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 12px; }
.chat-side { padding: 17px; }
.chat-side h3 { font-size: 12px; margin: 0 0 10px; }
.chat-side p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.messenger-layout { min-height: 570px; display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 13px; }
.conversation-list { overflow: hidden; display: flex; flex-direction: column; }
.conversation-list-head { min-height: 53px; padding: 14px 15px 9px; display: flex; align-items: center; justify-content: space-between; }
.conversation-list-head strong { font-size: 12px; }
.conversation-list-head span { color: var(--muted); font-size: 12px; }
.conversation-search { min-width: 0; max-width: none; margin: 0 10px 10px; height: 34px; background: #faf9f7; }
.conversation-search input { font-size: 12px; }
.conversation-items { overflow-y: auto; }
.conversation-item { width: 100%; min-height: 70px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; border: 0; border-top: 1px solid #f2f0ed; text-align: right; background: #fff; }
.conversation-item:hover,.conversation-item.selected { background: #faf5f5; }
.conversation-item.selected { box-shadow: inset -3px 0 var(--rose); }
.conversation-item .avatar { width: 39px; height: 39px; }
.conversation-copy { display: grid; gap: 4px; flex: 1; min-width: 0; }
.conversation-copy strong { font-size: 12px; }
.conversation-copy small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.conversation-meta { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; color: var(--muted); font-size: 12px; }
.conversation-meta i { min-width: 17px; height: 17px; padding: 2px 5px; border-radius: 99px; background: var(--sage); color: #fff; text-align: center; font-style: normal; font-size: 12px; }
.doctor-thread { min-width: 0; min-height: 570px; display: flex; flex-direction: column; overflow: hidden; }
.thread-shortcuts { display: flex; gap: 8px; padding: 9px 13px; border-bottom: 1px solid var(--line); }
.thread-shortcuts .button { gap: 5px; }
.thread-shortcuts svg { width: 14px; height: 14px; }
.patient-history-list { display: grid; gap: 5px; }
.patient-history-item { padding: 12px 9px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.patient-history-item:last-child { border-bottom: 0; }
.patient-history-item>div { display: grid; gap: 4px; flex: 1; }
.patient-history-item strong { font-size: 12px; }
.patient-history-item small { color: var(--muted); font-size: 12px; }
.history-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--sage-pale); }
.prescription-catalog { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf8; }
.catalog-title { display: block; color: var(--ink); font-size: 12px; }
.catalog-help { margin: 4px 0 11px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.catalog-categories { display: flex; gap: 6px; padding-bottom: 9px; overflow-x: auto; }
.catalog-category { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: #667078; font-size: 12px; }
.catalog-category.active { border-color: #d7adb5; background: var(--rose-pale); color: var(--rose-dark); font-weight: 700; }
.catalog-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.catalog-product { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.catalog-product.chosen { border-color: #9bb8a8; background: #f2f7f3; }
.catalog-product>input { position: absolute; opacity: 0; pointer-events: none; }
.catalog-product>.product-image { width: 42px; height: 46px; flex: 0 0 42px; border-radius: 7px; }
.catalog-product .product-pack { transform: scale(.48); }
.catalog-product-copy { min-width: 0; display: grid; gap: 4px; flex: 1; }
.catalog-product-copy strong { font-size: 12px; line-height: 1.6; }
.catalog-product-copy small { color: var(--muted); font-size: 12px; }
.catalog-product-check { width: 17px; height: 17px; flex: 0 0 17px; display: grid; place-items: center; border: 1px solid #e5e2de; border-radius: 50%; color: var(--muted); font-size: 12px; }
.catalog-product.chosen .catalog-product-check { border-color: var(--sage); background: var(--sage); color: #fff; }
.selected-products-summary { margin-top: 9px; color: var(--sage); font-size: 12px; }
.prescription-product-list { display: grid; gap: 6px; margin: 10px 0; padding: 10px; border-radius: 9px; background: var(--sage-pale); font-size: 12px; }
.prescription-product-list span { color: #52695e; }
.assistant-shell { display: grid; grid-template-columns: minmax(0,1fr) 275px; gap: 15px; }
.assistant-intro { padding: 20px; background: linear-gradient(140deg,#fbf1f2,#f9f5ef); border: 1px solid #f1e6e5; border-radius: 16px; }
.assistant-intro h2 { margin: 0; font-size: 14px; }
.assistant-intro p { margin: 7px 0 0; color: #777; font-size: 12px; line-height: 1.9; }
.suggestion { display: block; width: 100%; margin-top: 8px; padding: 10px; text-align: right; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: #626d73; font-size: 12px; }
.suggestion:hover { color: var(--rose-dark); border-color: #e9ccd2; }
.feed-card { padding: 17px; }
.feed-author { display: flex; align-items: center; gap: 10px; }
.feed-author strong { display: block; font-size: 12px; }
.feed-author small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.feed-text { margin: 14px 0; font-size: 12px; line-height: 2; color: #566169; }
.feed-actions { display: flex; gap: 17px; padding-top: 11px; border-top: 1px solid #f1efec; }
.feed-actions button { border: 0; background: transparent; color: #737d83; font-size: 12px; }
.feed-actions button.liked { color: var(--rose-dark); }
.feed-media { height: 120px; border-radius: 12px; background: linear-gradient(135deg,#f2e5e3,#f5eee7 55%,#e8eee9); display: grid; place-items: center; color: #a58b83; font-size: 12px; margin-bottom: 12px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; background: #26313b66; display: grid; place-items: center; padding: 20px; }
.modal { width: min(540px,100%); max-height: min(88vh,780px); overflow: auto; padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 20px 70px #1c202533; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.modal-head h2 { margin: 0; font-size: 16px; }
.modal-head p { color: var(--muted); font-size: 12px; margin: 5px 0 0; line-height: 1.8; }
.close-button { border: 0; background: #f6f4f2; border-radius: 9px; width: 30px; height: 30px; font-size: 18px; color: #777; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: grid; gap: 5px; font-size: 12px; color: #68737a; }
.form-field.full { grid-column: 1/-1; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; color: var(--ink); font-size: 12px; }
.form-field textarea { min-height: 88px; resize: vertical; line-height: 1.8; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.quiz-options { display: grid; gap: 8px; }
.quiz-option { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; font-size: 12px; }
.quiz-option:has(input:checked) { border-color: #d8a9b2; background: #fcf5f6; }
.quiz-option input { accent-color: var(--rose); }
.empty-state { text-align: center; padding: 35px 20px; color: var(--muted); font-size: 12px; }
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 40; padding: 12px 16px; background: #2e3a37; color: #fff; border-radius: 11px; font-size: 12px; box-shadow: 0 6px 20px #0002; animation: toast-in .2s ease; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 590px; }
.data-table th,.data-table td { text-align: right; padding: 12px; border-bottom: 1px solid #f0eeeb; font-size: 12px; }
.data-table th { color: var(--muted); font-weight: 600; }
.data-table td { color: #445159; }
.data-table tr:last-child td { border-bottom: 0; }
.patient-link { border: 0; padding: 0; color: var(--rose-dark); background: transparent; font-weight: 700; font-size: 12px; }
.doctor-hero { padding: 21px; display: flex; align-items: center; gap: 16px; background: linear-gradient(120deg,#edf4f0,#f7f5f1); }
.doctor-hero h2 { margin: 0; font-size: 17px; }
.doctor-hero p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.doctor-hero .button { margin-right: auto; }
.stars { color: #b88a54; }
.hide { display: none!important; }

.landing-page { min-height: 100vh; overflow: hidden; background: #fff; color: var(--ink); }
.landing-header { height: 78px; width: min(1200px,100%); padding: 0 34px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.landing-brand { padding: 0; flex: 0 0 auto; }
.landing-brand .brand-mark { width: 39px; height: 39px; }
.landing-nav { display: flex; align-items: center; gap: clamp(14px,2.5vw,33px); color: #68727a; font-size: 12px; }
.landing-nav a:hover { color: var(--rose-dark); }
.landing-auth { display: flex; align-items: center; gap: 9px; }
.landing-hero { width: min(1200px,100%); min-height: 500px; margin: auto; padding: 48px 55px 38px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 38px; }
.landing-hero-copy { max-width: 590px; }
.landing-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 99px; color: #8e6870; background: #faf1f2; font-size: 12px; font-weight: 600; }
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px #b96e7d1c; }
.landing-hero h1 { margin: 19px 0 13px; font-size: clamp(37px,5vw,61px); line-height: 1.38; letter-spacing: -1.4px; }
.landing-hero h1 em { color: var(--rose); font-style: normal; }
.landing-hero-copy>p { max-width: 500px; color: #747e85; font-size: 13px; line-height: 2.2; margin: 0; }
.landing-hero-copy>.landing-demo-note { max-width: 490px; margin-top: 17px; padding: 10px 12px; border: 1px solid #efe5dc; border-radius: 11px; background: #fcf9f5; color: #796f65; font-size: 12px; line-height: 1.9; }
.landing-demo-note strong { color: #8b615f; }
.landing-hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 23px; }
.landing-hero-actions .button { min-height: 43px; padding-inline: 18px; }
.landing-trust { display: flex; gap: 17px; flex-wrap: wrap; margin-top: 25px; color: #81898d; font-size: 12px; }
.landing-visual { min-height: 390px; display: grid; place-items: center; position: relative; isolation: isolate; }
.landing-visual:before { content: ""; position: absolute; inset: 30px 36px; border-radius: 48% 52% 43% 57% / 49% 43% 57% 51%; background: linear-gradient(140deg,#f7e9e9,#f5eee5 60%,#eaf1ec); transform: rotate(-8deg); z-index: -2; }
.visual-orbit { border: 1px solid #b8788325; border-radius: 50%; position: absolute; }
.orbit-one { width: 315px; height: 315px; transform: rotate(-22deg) scaleX(.88); }
.orbit-two { width: 245px; height: 245px; transform: rotate(33deg) scaleX(1.1); }
.visual-center { width: 148px; height: 148px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #fff; border-radius: 50%; background: #ffffffd9; box-shadow: 0 15px 45px #72545512; }
.visual-flower { color: #bd7c88; font-size: 52px; line-height: 1; }
.visual-center strong { margin-top: 2px; font-size: 21px; }
.visual-center span { color: var(--muted); font-size: 12px; }
.visual-note { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid #fff; border-radius: 13px; background: #ffffffed; box-shadow: 0 10px 24px #54413e12; }
.visual-note b,.visual-note small { display: block; }
.visual-note b { font-size: 12px; }
.visual-note small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.note-top { top: 53px; right: 4px; }
.note-bottom { bottom: 52px; left: 3px; }
.note-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: var(--rose); background: var(--rose-pale); }
.visual-note .avatar { width: 32px; height: 32px; font-size: 12px; }
.visual-spark { position: absolute; color: #be8a76; }
.spark-a { top: 91px; left: 62px; font-size: 25px; }
.spark-b { right: 77px; bottom: 42px; font-size: 21px; }
.landing-proof { min-height: 88px; display: flex; justify-content: center; align-items: center; gap: clamp(20px,5vw,73px); padding: 15px; background: #fbf9f7; border-block: 1px solid #f2efec; }
.landing-proof div strong,.landing-proof div span { display: block; }
.landing-proof strong { font-size: 12px; }
.landing-proof span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.landing-proof>i { width: 1px; height: 30px; background: #e9e3df; }
.landing-section { padding: 88px 28px 95px; background: #fff; }
.landing-section-heading { max-width: 700px; margin: 0 auto 37px; text-align: center; }
.landing-section-heading h2,.audience-copy h2,.download-copy h2 { margin: 9px 0 10px; font-size: clamp(25px,3.3vw,37px); line-height: 1.6; }
.landing-section-heading p,.audience-copy>p,.download-copy>p { color: var(--muted); font-size: 12px; line-height: 2; }
.landing-steps { width: min(1100px,100%); margin: auto; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.landing-step { min-height: 206px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; position: relative; }
.step-no { position: absolute; left: 17px; top: 14px; color: #d5c5c0; font-size: 12px; }
.step-symbol { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: var(--rose-dark); background: var(--rose-pale); font-size: 23px; }
.landing-step:nth-child(2) .step-symbol { color: var(--sage); background: var(--sage-pale); }
.landing-step:nth-child(3) .step-symbol { color: var(--gold); background: var(--gold-pale); }
.landing-step h3 { margin: 15px 0 5px; font-size: 13px; }
.landing-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 2; }
.landing-audience { width: min(1100px,100%); margin: 0 auto; padding: 74px 55px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.audience-copy { max-width: 490px; }
.audience-copy h2 { font-size: clamp(26px,3.3vw,39px); }
.audience-copy>p { max-width: 450px; }
.audience-copy ul { list-style: none; padding: 0; margin: 17px 0 20px; display: grid; gap: 11px; }
.audience-copy li { font-size: 12px; color: #5c686f; }
.audience-copy li:before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 8px; border-radius: 50%; color: var(--sage); background: var(--sage-pale); }
.audience-art { min-height: 300px; position: relative; display: grid; place-items: center; border-radius: 33px; background: linear-gradient(140deg,#fbf1f2,#f8f5ee); overflow: hidden; }
.patient-art { background: linear-gradient(140deg,#f9eeee,#f7f3ea); }
.doctor-art { background: linear-gradient(140deg,#eaf2ed,#f5f4ef); }
.art-flower { position: absolute; right: 34px; top: -44px; font-size: 255px; color: #c991981f; }
.art-cross { position: absolute; left: 37px; top: 34px; font-size: 47px; color: #66887a52; }
.mini-ui { width: min(300px,80%); padding: 20px; border: 1px solid #fff; border-radius: 17px; background: #ffffffed; box-shadow: 0 17px 43px #624b4b12; position: relative; }
.mini-ui>b,.mini-ui>i { display: block; }
.mini-ui>b { margin: 15px 0 4px; font-size: 12px; }
.mini-ui>i { color: var(--muted); font-size: 12px; font-style: normal; }
.mini-ui>span { display: inline-block; width: 28px; height: 28px; margin-left: 5px; border-radius: 9px; background: #f6e9eb; }
.mini-ui>span:nth-child(2) { background: #e7f0eb; }
.mini-ui>span:nth-child(3) { background: #f4eee3; }
.doctor-mini>span { background: #e5eee9; }
.doctor-mini>span:nth-child(2) { background: #f4eee3; }
.doctor-mini>span:nth-child(3) { background: #f4e8eb; }
.doctor-audience { padding-top: 34px; padding-bottom: 88px; }
.landing-quote { width: min(1050px,calc(100% - 40px)); margin: 10px auto 80px; padding: 28px 35px; display: flex; align-items: center; gap: 20px; border: 1px solid #f0e8e5; border-radius: 18px; background: #fbf7f4; }
.landing-quote>span { color: #c38a94; font-family: Georgia,serif; font-size: 62px; line-height: .8; }
.landing-quote h2 { margin: 0; font-size: 16px; line-height: 1.8; }
.landing-quote p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.landing-quote .button { margin-right: auto; white-space: nowrap; }
.download-section { min-height: 350px; padding: 54px max(7vw,32px); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: linear-gradient(110deg,#eef4f0,#f8f4ee 70%,#faf0f1); }
.download-copy { max-width: 480px; }
.download-copy h2 { font-size: 30px; }
.download-copy>p { max-width: 430px; margin-bottom: 19px; }
.download-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.platform-badge { min-height: 37px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e8e6e1; border-radius: 10px; background: #ffffffa8; color: #66736e; font-size: 12px; font-weight: 700; }
.platform-badge small { color: #a18b70; font-size: 12px; font-weight: 500; }
.download-device { width: 210px; height: 265px; display: grid; place-items: center; position: relative; margin-left: 8%; }
.device-frame { width: 154px; height: 250px; padding: 24px 14px 15px; border: 5px solid #fff; border-radius: 27px; background: linear-gradient(150deg,#fbf1f2,#f8f8f3); box-shadow: 0 15px 35px #485e531c; position: relative; }
.device-notch { position: absolute; top: 5px; left: calc(50% - 18px); width: 36px; height: 7px; border-radius: 9px; background: #e4dcda; }
.device-logo { width: 33px; height: 33px; margin-bottom: 11px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--rose); }
.device-frame>b,.device-frame>small { display: block; }
.device-frame>b { font-size: 12px; }
.device-frame>small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.device-card { margin-top: 20px; padding: 10px; border-radius: 10px; background: #fff; }
.device-card span,.device-card b { display: block; }
.device-card span { color: var(--muted); font-size: 12px; }
.device-card b { margin-top: 5px; font-size: 12px; }
.device-tabs { position: absolute; bottom: 12px; right: 10px; left: 10px; display: flex; justify-content: space-around; color: var(--rose); }
.device-tabs i { font-size: 12px; font-style: normal; }
.download-badge { position: absolute; bottom: 17px; right: -18px; padding: 7px 11px; border: 1px solid #fff; border-radius: 99px; background: #ffffffed; box-shadow: 0 5px 15px #0000000c; color: #697770; font-size: 12px; }
.landing-footer { min-height: 86px; padding: 20px max(5vw,22px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; }
.landing-footer>span { color: var(--muted); font-size: 12px; }
.landing-faq { padding: 72px 24px 88px; background: #fbf9f7; }
.landing-faq .landing-section-heading { margin-bottom: 28px; }
.faq-list { width: min(780px,100%); margin: auto; display: grid; gap: 9px; }
.faq-item { padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-item summary { position: relative; padding-left: 22px; color: #39434a; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; position: absolute; left: 0; top: -3px; color: var(--rose); font-size: 17px; font-weight: 400; }
.faq-item[open] summary:after { content: "−"; }
.faq-item p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 2; }
.auth-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-role-card { min-height: 185px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: flex-start; text-align: right; background: #fff; }
.auth-role-card:hover { border-color: #dcb6be; box-shadow: var(--shadow); }
.doctor-role-card:hover { border-color: #b7cec2; }
.auth-role-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--rose); background: var(--rose-pale); font-size: 20px; }
.doctor-role-card .auth-role-icon { color: var(--sage); background: var(--sage-pale); }
.auth-role-card strong { margin-top: 11px; font-size: 12px; }
.auth-role-card small { margin: 4px 0 13px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.auth-demo-note { margin: 12px 0 0; padding: 10px; border-radius: 9px; background: #f7f5f2; color: #817565; font-size: 12px; line-height: 1.8; }
.home-profile-card { width: 100%; padding: 14px 17px; display: flex; align-items: center; gap: 13px; text-align: right; cursor: pointer; }
.home-profile-card:hover { border-color: #dec1c5; transform: translateY(-1px); }
.home-profile-copy { display: grid; gap: 4px; flex: 1; }
.home-profile-copy strong { font-size: 12px; }
.home-profile-copy>span { color: var(--muted); font-size: 12px; }
.profile-progress { width: 105px; display: grid; grid-template-columns: 1fr auto; gap: 3px 7px; color: var(--muted); font-size: 12px; }
.profile-progress b { color: var(--sage); font-size: 12px; }
.profile-progress i { grid-column: 1/-1; height: 5px; border-radius: 99px; background: #edf0ec; overflow: hidden; }
.profile-progress i span { display: block; width: 70%; height: 100%; border-radius: inherit; background: var(--sage); }
.home-profile-card>svg { width: 17px; color: var(--rose); }
.routine-prompt { padding: 15px; display: flex; align-items: center; gap: 12px; }
.routine-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--gold-pale); font-size: 20px; }
.routine-prompt>div:nth-child(2) { flex: 1; display: grid; gap: 4px; }
.routine-prompt strong { font-size: 12px; }
.routine-prompt span { color: var(--muted); font-size: 12px; }
.routine-prompt .button svg { width: 13px; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.product-card { overflow: hidden; }
.product-image { height: 133px; display: grid; place-items: center; position: relative; overflow: hidden; }
.product-image:before,.product-image:after { content: ""; position: absolute; border: 1px solid #ffffff80; border-radius: 50%; }
.product-image:before { width: 140px; height: 140px; right: -45px; top: -80px; }
.product-image:after { width: 100px; height: 100px; left: -33px; bottom: -63px; }
.product-image.peach { background: linear-gradient(145deg,#f8ece7,#f6f0e8); }
.product-image.sage { background: linear-gradient(145deg,#e8f0eb,#f3f1e9); }
.product-image.lilac { background: linear-gradient(145deg,#eee9f3,#f8eee9); }
.product-image>small { position: absolute; bottom: 9px; color: #8b8580; font-size: 12px; letter-spacing: 1px; }
.product-pack { width: 39px; height: 70px; position: relative; z-index: 1; display: grid; place-items: center; border: 1px solid #ffffffbd; background: linear-gradient(90deg,#fff9,#ffffffd9 50%,#fff8); box-shadow: 0 8px 15px #68534516; color: #ad7a72; font-size: 15px; }
.product-pack.tube { width: 34px; height: 72px; border-radius: 7px 7px 11px 11px; clip-path: polygon(10% 0,90% 0,100% 88%,82% 100%,18% 100%,0 88%); }
.product-pack.jar { width: 51px; height: 43px; margin-top: 17px; border-radius: 8px 8px 12px 12px; }
.product-pack.jar:before { content: ""; position: absolute; width: 54px; height: 7px; top: -7px; border-radius: 3px; background: #ffffffdd; }
.product-pack.bottle { width: 40px; height: 65px; margin-top: 5px; border-radius: 7px 7px 11px 11px; }
.product-pack.bottle:before { content: ""; position: absolute; top: -11px; width: 14px; height: 12px; border-radius: 3px 3px 1px 1px; background: #ffffffdd; }
.product-card-copy { padding: 12px; }
.product-type { color: var(--sage); font-size: 12px; }
.product-card-copy h3 { margin: 4px 0; font-size: 12px; }
.product-card-copy p { min-height: 32px; margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.product-detail-view { display: grid; grid-template-columns: 150px 1fr; gap: 15px; align-items: center; }
.product-detail-view .product-image { height: 165px; border-radius: 13px; }
.product-detail-view h3 { font-size: 12px; }
.product-detail-view p { color: #68737a; font-size: 12px; line-height: 1.9; }
.education-list { display: grid; gap: 7px; }
.education-item { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; }
.education-item summary { cursor: pointer; color: #35414a; font-size: 12px; font-weight: 700; }
.education-item p { margin: 8px 0 0; color: #69747b; font-size: 12px; line-height: 1.95; }
.match-note { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; padding: 10px; border-radius: 10px; background: #f8f2ed; color: #856c55; font-size: 12px; line-height: 1.8; }
.match-note svg { width: 17px; flex: 0 0 auto; }
.recommended-doctor-list { display: grid; gap: 8px; }
.recommended-doctor { padding: 10px; display: flex; align-items: center; gap: 9px; }
.recommended-doctor .avatar { width: 35px; height: 35px; font-size: 12px; }
.recommended-doctor-copy { display: grid; gap: 3px; flex: 1; }
.recommended-doctor-copy strong { font-size: 12px; }
.recommended-doctor-copy span,.recommended-doctor-copy small { color: var(--muted); font-size: 12px; }
.doctor-ai-widget { padding: 15px; display: flex; align-items: center; gap: 12px; background: linear-gradient(100deg,#f7f2ed,#f5f8f5); }
.ai-widget-icon,.ai-banner-mark { display: grid; place-items: center; color: #9b6b7a; background: #f4e7eb; }
.ai-widget-icon { width: 42px; height: 42px; border-radius: 13px; }
.ai-widget-icon svg { width: 21px; }
.ai-widget-copy { flex: 1; display: grid; gap: 4px; }
.ai-widget-copy strong { font-size: 12px; }
.ai-widget-copy span { color: var(--muted); font-size: 12px; }
.doctor-ai-banner { padding: 22px; display: flex; align-items: center; gap: 16px; border: 1px solid #eee6e1; border-radius: 16px; background: linear-gradient(115deg,#f8efef,#f8f5ed 70%,#edf3ef); }
.ai-banner-mark { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 16px; }
.ai-banner-mark svg { width: 26px; }
.doctor-ai-banner h2 { margin: 2px 0 5px; font-size: 16px; }
.doctor-ai-banner p { margin: 0; color: #737d82; font-size: 12px; line-height: 1.9; }
.reminder-card { padding: 13px; display: flex; align-items: center; gap: 10px; }
.reminder-check { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #a57b49; background: var(--gold-pale); font-size: 12px; }
.reminder-check svg { width: 16px; }
.reminder-copy { display: grid; gap: 3px; flex: 1; }
.reminder-copy strong { font-size: 12px; }
.reminder-copy span { color: var(--muted); font-size: 12px; }
.reminder-time { color: var(--rose-dark); font-size: 12px; white-space: nowrap; }
.reminder-done { opacity: .65; }
.reminder-done .reminder-check { color: var(--sage); background: var(--sage-pale); }
.ai-task-card { padding: 16px; }
.ai-task-card h3 { margin: 11px 0 4px; font-size: 12px; }
.ai-task-card p { min-height: 33px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.ai-result-text { padding: 15px; border-radius: 12px; background: #f8f6f3; color: #4e5b60; font-size: 12px; line-height: 2; white-space: pre-wrap; }
.doctor-card-actions { display: grid; gap: 6px; justify-items: stretch; align-self: center; }
.doctor-card-actions .button { margin: 0; }
.patient-doctor-chat { margin-top: 12px; overflow: hidden; }
.patient-doctor-chat .chat-messages { min-height: 220px; max-height: 360px; }
.patient-doctor-chat .empty-state { width: 100%; padding: 20px 12px; }
.home-routine-link { margin-top: 10px; border: 1px solid var(--line); text-align: right; }
.home-routine-link>div:nth-child(2) { flex: 1; display: grid; gap: 4px; }
.home-routine-link strong { font-size: 12px; }
.home-routine-link span { color: var(--muted); font-size: 12px; }
.routine-prescriptions { display: grid; gap: 12px; }
.routine-prescription { padding: 16px; }
.routine-prescription-head { display: flex; align-items: center; gap: 10px; }
.routine-prescription-head>div:nth-child(2) { flex: 1; }
.routine-prescription-head h2 { margin: 0 0 4px; font-size: 12px; }
.routine-prescription-head span { color: var(--muted); font-size: 12px; }
.routine-product-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 13px; }
.routine-product { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fbfaf8; }
.routine-product svg { width: 15px; color: var(--sage); }
.routine-product strong { font-size: 12px; }
.routine-note { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.routine-followup { display: grid; gap: 10px; margin-top: 14px; padding: 17px; background: linear-gradient(110deg,#f7f2ed,#f1f6f2); }
.routine-followup strong { font-size: 12px; }
.routine-followup p { max-width: 700px; margin: 5px 0 0; color: #717c80; font-size: 12px; line-height: 1.9; }
.routine-followup small { color: var(--muted); font-size: 12px; }
.followup-toggle { display: flex; align-items: center; gap: 8px; color: #536d62; font-size: 12px; font-weight: 700; }
.followup-toggle input { accent-color: var(--sage); width: 16px; height: 16px; }
.youth-magazine { margin-top: 22px; }
.youth-magazine>.section-title { align-items: flex-end; }
.youth-magazine>.section-title .eyebrow { margin: 0 0 4px; }
.youth-magazine>.section-title h2 { margin: 0; font-size: 17px; }
.magazine-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.magazine-card { padding: 15px; }
.magazine-card h3 { min-height: 42px; margin: 11px 0 5px; font-size: 12px; line-height: 1.8; }
.magazine-card p { min-height: 51px; margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.magazine-card .button { font-size: 12px; }
.magazine-partner { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 13px 0; padding: 15px; border: 1px solid #eee5dc; border-radius: 13px; background: #fbf7f1; }
.magazine-partner strong { font-size: 12px; }
.magazine-partner p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.community-categories { display: flex; gap: 7px; overflow-x: auto; padding: 0 0 12px; }
.community-category { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: #68737a; font-size: 12px; }
.community-category:hover,.community-category.active { border-color: #d7adb5; background: var(--rose-pale); color: var(--rose-dark); font-weight: 700; }
.community-toolbar { justify-content: flex-start; }
.community-filter-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.community-result-count { color: var(--muted); font-size: 12px; }

@media(max-width:1100px) {
  .landing-hero { padding-inline: 38px; }
  .landing-audience { gap: 38px; padding-inline: 38px; }
  .sidebar { width: 220px; }
  .main-area { margin-right: 220px; }
  .page-wrap { padding-inline: 25px; }
  .topbar { padding-inline: 25px; }
  .grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .magazine-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .landing-header { height: 65px; padding-inline: 14px; }
  .landing-nav { display: none; }
  .landing-header .landing-auth { margin-right: auto; }
  .landing-hero { min-height: auto; padding: 36px 22px 28px; grid-template-columns: 1fr; gap: 7px; }
  .landing-hero-copy { text-align: center; margin: auto; }
  .landing-hero h1 { font-size: 39px; }
  .landing-hero-copy>p { margin-inline: auto; font-size: 12px; }
  .landing-hero-actions,.landing-trust { justify-content: center; }
  .landing-trust { gap: 9px 14px; font-size: 12px; }
  .landing-visual { min-height: 300px; }
  .landing-visual:before { inset: 17px 42px; }
  .orbit-one { width: 250px; height: 250px; }
  .orbit-two { width: 205px; height: 205px; }
  .visual-center { width: 125px; height: 125px; }
  .visual-flower { font-size: 42px; }
  .note-top { right: 2%; top: 24px; }
  .note-bottom { left: 2%; bottom: 18px; }
  .landing-proof { gap: 12px; justify-content: space-around; }
  .landing-proof span { max-width: 110px; line-height: 1.7; }
  .landing-section { padding: 57px 17px; }
  .landing-section-heading { margin-bottom: 24px; }
  .landing-steps { grid-template-columns: 1fr; gap: 9px; }
  .landing-step { min-height: auto; padding: 17px; }
  .landing-step h3 { margin-top: 10px; }
  .landing-audience { padding: 48px 20px; grid-template-columns: 1fr; gap: 23px; }
  .audience-art { min-height: 235px; }
  .doctor-audience .audience-copy { order: 1; }
  .doctor-audience .audience-art { order: 2; }
  .landing-quote { margin: 2px auto 48px; padding: 21px; flex-wrap: wrap; }
  .landing-faq { padding: 49px 17px 56px; }
  .landing-quote h2 { font-size: 14px; }
  .landing-quote .button { margin: 0; }
  .download-section { min-height: 0; padding: 43px 23px; gap: 10px; }
  .download-copy h2 { font-size: 24px; }
  .download-copy>p { font-size: 12px; }
  .download-device { width: 132px; flex: 0 0 132px; margin-left: 0; transform: scale(.82); transform-origin: left center; }
  .download-badge { right: -11px; white-space: nowrap; }
  .landing-footer { padding: 17px; flex-wrap: wrap; }
  .landing-footer>span { order: 3; width: 100%; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .home-profile-card { gap: 9px; padding: 12px; }
  .home-profile-card .avatar { width: 42px; height: 42px; }
  .profile-progress { width: 74px; }
  .routine-prompt { flex-wrap: wrap; }
  .routine-prompt .button { width: 100%; }
  .routine-prescription-head { flex-wrap: wrap; }
  .routine-prescription-head .button { margin-right: 52px; }
  .magazine-grid { grid-template-columns: 1fr; }
  .magazine-card h3,.magazine-card p { min-height: 0; }
  .magazine-partner { align-items: flex-start; flex-direction: column; }
  .doctor-card { flex-wrap: wrap; }
  .doctor-card-actions { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .doctor-card-actions .button:first-child { grid-column: 1/-1; }
  .community-filter-label { flex: 1; }
  .recommended-doctor { flex-wrap: wrap; }
  .recommended-doctor-copy { min-width: 120px; }
  .reminder-card { flex-wrap: wrap; }
  .reminder-time { margin-right: 42px; }
  .doctor-ai-banner { align-items: flex-start; padding: 16px; }
  .catalog-products { grid-template-columns: 1fr; }
  .catalog-categories { margin-inline: -3px; }
  .sidebar { width: 100%; height: 66px; inset: auto 0 0; padding: 5px 7px calc(5px + env(safe-area-inset-bottom)); border-left: 0; border-top: 1px solid var(--line); flex-direction: row; justify-content: space-around; }
  .brand,.workspace-label,.sidebar-spacer,.sidebar-tip,.user-mini { display: none; }
  .nav-list { display: flex; width: 100%; justify-content: space-around; gap: 2px; }
  .nav-item { flex: 1; flex-direction: column; justify-content: center; gap: 2px; padding: 5px 2px; border-radius: 10px; font-size: 12px; text-align: center; }
  .nav-item svg { width: 18px; height: 18px; }
  .nav-count { display: none; }
  .main-area { margin: 0; padding-bottom: 68px; }
  .topbar { height: 59px; padding-inline: 15px; }
  .page-wrap { padding: 20px 15px 28px; }
  .page-heading { margin-bottom: 17px; }
  h1 { font-size: 20px; }
  .welcome-banner { padding: 19px; min-height: 150px; }
  .welcome-content h1 { font-size: 19px; }
  .welcome-content p { font-size: 12px; }
  .welcome-illustration { width: 80px; height: 80px; flex-basis: 80px; }
  .welcome-illustration span { font-size: 34px; }
  .grid.two,.grid.three,.profile-grid { grid-template-columns: 1fr; }
  .chat-layout,.assistant-shell { grid-template-columns: 1fr; }
  .messenger-layout { min-height: 0; grid-template-columns: 1fr; }
  .conversation-list { max-height: 250px; }
  .conversation-items { max-height: 185px; }
  .doctor-thread { min-height: 450px; }
  .chat-side { order: -1; }
  .grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .metric-card { padding: 12px; }
  .metric-icon { width: 34px; height: 34px; }
  .metric-card strong { font-size: 15px; }
  .appointment-row { gap: 9px; padding: 12px; }
  .appointment-row .button { padding: 7px 9px; }
}
@media(max-width:430px) {
  .landing-header { padding-inline: 10px; }
  .landing-brand .brand-caption { font-size: 12px; }
  .landing-brand .brand-name { font-size: 17px; }
  .landing-header .landing-auth { gap: 4px; }
  .landing-header .button { padding-inline: 9px; font-size: 12px; }
  .auth-role-grid { grid-template-columns: 1fr; }
  .auth-role-card { min-height: 154px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-detail-view { grid-template-columns: 1fr; }
  .product-detail-view .product-image { height: 120px; }
  .home-profile-copy>span { line-height: 1.7; }
  .profile-progress { width: 57px; }
  .profile-progress>i { width: 55px; }
  .role-toggle button { padding-inline: 6px; font-size: 12px; }
  .top-actions { gap: 6px; }
  .welcome-illustration { display: none; }
  .page-heading { align-items: center; }
  .page-heading .button { padding: 8px 10px; font-size: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .routine-row { flex-wrap: wrap; }
  .routine-row .button { margin-right: 57px; }
}
@media print {
  .sidebar,.topbar,.page-heading button,.button,.toolbar,.no-print { display: none!important; }
  .main-area { margin: 0; }
  .page-wrap { width: 100%; padding: 10px; }
  .card { box-shadow: none; }
  body { background: #fff; }
}

h1,h2,h3,h4 {
  letter-spacing: normal;
  line-height: 1.55;
}
.brand-name,.brand-caption,.landing-hero h1 { letter-spacing: normal; }
.landing-hero h1 { font-weight: 750; }
::selection { color: var(--ink); background: #f2dfe4; }
