.family-video-call{z-index:1000;color:#fff;background:#101a26;position:fixed;inset:0;overflow:hidden}.family-video-call__audio{opacity:0;pointer-events:none;width:0;height:0;position:absolute}.family-video-call__remote{background:#101a26;place-items:center;display:grid;position:absolute;inset:0}.family-video-call__remote video{object-fit:cover;width:100%;height:100%}.family-video-call__remote p{text-align:center;background:#101a26b8;border-radius:6px;max-width:min(88vw,520px);margin:0;padding:12px 16px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.family-video-call__error{color:#ffd4d1}.family-video-call__local{right:max(18px, env(safe-area-inset-right));top:max(18px, env(safe-area-inset-top));aspect-ratio:3/4;object-fit:cover;background:#33465c;border:2px solid #ffffffb8;border-radius:6px;width:min(36vw,168px);position:fixed;box-shadow:0 10px 28px #00000047}.family-video-call__footer{left:0;right:0;bottom:max(28px, env(safe-area-inset-bottom));text-shadow:0 2px 10px #00000073;justify-content:center;align-items:center;padding:0 20px;font-size:18px;display:flex;position:fixed}.family-video-call__footer button{color:#fff;font:inherit;cursor:pointer;background:#d94141;border:0;border-radius:6px;min-width:136px;min-height:64px;padding:14px 26px}.family-phd-page{color:#2a2118;min-height:100%}.family-phd-page .phd-page{--phd-ink:#2a2118;--phd-muted:#5c4a3c;--phd-primary:#ff7a1a;--phd-primary-strong:#e86c12;--phd-primary-soft:#fff3dc;--phd-secondary:#ff9a4a;--phd-secondary-soft:#fff7ee;--phd-ai:#ff7a1a;--phd-ai-soft:#fff5e7;--phd-paper:#fff3e8b8;--phd-card:#fff;--phd-line:#5c4a3c14;--phd-shadow:0 8px 22px #2814080f;--phd-shadow-strong:0 16px 34px #2814081a;background:0 0;min-height:0;padding-bottom:24px}.family-phd-page .shared-phd-header{box-shadow:none;background:0 0;border:0;border-radius:0;grid-template-columns:44px minmax(0,1fr);margin:0 0 14px;padding:8px 0}.family-phd-page .shared-phd-header .icon-button.back-button{color:#2a2118;background:#fff;border:0;border-radius:999px;place-items:center;width:44px;height:30px;margin-left:-8px;padding:0;display:grid;box-shadow:0 8px 20px #b4460a24}.family-phd-page .shared-phd-header .icon-button.back-button:hover{background:#fff;border-color:#0000}.family-phd-page .shared-phd-header h1{color:#2a2118}.family-phd-error-actions{justify-content:center;gap:10px;margin-top:18px;display:flex}.family-phd-error-actions button{color:#ff7a1a;cursor:pointer;font:inherit;background:#fff;border:0;border-radius:14px;padding:10px 16px;box-shadow:0 8px 22px #2814080f}.family-phd-error-actions button:last-child{color:#fff;background:#ff7a1a}.family-phd-page{padding:0 8px 24px}.family-phd-page .phd-page{gap:16px;padding-bottom:20px;display:grid}.family-phd-page .shared-phd-header{margin-bottom:0;padding:4px 0 2px}.family-phd-page .shared-phd-header h1{color:#2a2118;font-size:20px;font-weight:700;line-height:1.3}.family-phd-page .phd-health-block{gap:8px}.family-phd-page .phd-health-block .phd-section-heading{align-items:center;min-height:28px;margin:0;padding:0 2px}.family-phd-page .phd-section-heading-main{align-items:baseline;gap:8px;min-width:0;display:flex}.family-phd-page .phd-health-block .phd-section-heading h2{color:#2a2118;font-size:18px;font-weight:700;line-height:1.35}.family-phd-page .phd-section-heading-main small,.family-phd-page .phd-health-block .phd-section-heading small{color:#5c4a3c;white-space:nowrap;font-size:13px;font-weight:650}.family-phd-page .phd-brief-row dt{color:#5c4a3c;font-size:13px}.family-phd-page .phd-brief-row dd{color:#2a2118}.family-phd-page .phd-health-card{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.family-phd-page .phd-diagnosis-list{background:#fff;border-radius:22px;gap:0;overflow:hidden;box-shadow:0 8px 22px #2814080f}.family-phd-page .phd-diagnosis-list li{min-width:0;box-shadow:none;background:0 0;border:0;border-bottom:1px solid #1717170f;border-radius:0}.family-phd-page .phd-diagnosis-list li:last-child{border-bottom:0}.family-phd-page .phd-diagnosis-list li>button{color:#2a2118;min-height:56px;padding:15px 16px;font-size:17px;font-weight:600}.family-phd-page .phd-diagnosis-list li>button svg{color:#ff7a1a}.family-phd-page .phd-diagnosis-list li.is-static p{color:#2a2118;align-items:center;min-height:56px;margin:0;padding:15px 16px;font-size:17px;font-weight:600;display:flex}.family-phd-page .phd-diagnosis-list li.is-static p:before{display:none}.family-phd-page .phd-diagnosis-agent{background:#fff7ed;border-radius:16px;margin:0 14px 14px;padding:12px}.family-phd-page .phd-health-empty{color:#5c4a3c;text-align:center;background:#fff;border:0;border-radius:22px;align-content:center;justify-items:center;gap:12px;min-height:0;padding:28px 20px 24px;font-size:14px;display:grid;box-shadow:0 8px 22px #2814080f}.family-phd-page .phd-health-empty__icon{color:#d97706;background:#fff3dc;border-radius:50%;place-items:center;width:52px;height:52px;margin-bottom:2px;display:grid}.family-phd-page .phd-health-empty .phd-related-action,.family-phd-page .phd-health-empty a{color:#fff;background:linear-gradient(145deg,#ff9a4a 0%,#ff7a1a 100%);border:0;border-radius:999px;justify-content:center;align-items:center;gap:6px;width:min(100%,260px);min-height:52px;margin-top:6px;padding:14px 24px;font-size:16px;font-weight:800;text-decoration:none;display:inline-flex;box-shadow:0 10px 22px #ff7a1a47}.family-phd-page .phd-week-list{gap:10px;display:grid}.family-phd-page .phd-week-list article{background:#fff;border:0;border-radius:22px;padding:16px 16px 14px;box-shadow:0 8px 22px #2814080f}.family-phd-page .phd-week-card-head small{color:#5c4a3c;font-size:13px;font-weight:700}.family-phd-page .phd-week-card-head strong{color:#2a2118;font-size:22px;font-weight:700}.family-phd-page .phd-week-card-head em{color:#5c4a3c;font-weight:650}.family-phd-page .phd-week-days{color:#5c4a3c}.family-phd-page .phd-week-days .is-future{opacity:.72}.family-phd-page .phd-metric-insight{color:#5c4a3c}@media (width<=420px){.family-phd-page{padding-left:8px;padding-right:8px}.family-phd-page .shared-phd-header h1{font-size:19px}}.family-patient-host{--ink:#171717;--muted:#737373;--canvas:transparent;--surface:#fff;--line:#17171714;--blue-900:#171717;--blue-700:#ff7a1a;--blue-600:#ff8a3d;--blue-100:#fff3e8;--mint-700:#ff7a1a;--mint-500:#ff9a4a;--mint-100:#fff3dc;color:#171717;padding:0 16px 28px}.family-patient-host .page,.family-patient-host .health-record-page,.family-patient-host .health-record-edit-page{background:0 0;min-height:0;padding:0 0 24px}.family-patient-host .detail-header{z-index:4;-webkit-backdrop-filter:none;backdrop-filter:none;min-height:48px;box-shadow:none;background:linear-gradient(#fffaf4f5 70%,#fffaf400);border:0;gap:10px;margin:0 0 14px;padding:6px 0 8px;position:sticky;top:0}.family-patient-host .detail-header h1{color:#171717;font-size:24px;font-weight:800}.family-patient-host .detail-header p{color:#737373;font-size:15px}.family-patient-host .detail-header .icon-button.back-button{color:#171717;background:#fff;border:0;border-radius:999px;place-items:center;width:44px;height:30px;padding:0;display:grid;box-shadow:0 8px 20px #b4460a24}.family-patient-host .primary-button{box-shadow:0 6px 14px #8c4e281f;color:#fff!important;background:#b5855f!important;border-color:#b5855f!important}.family-patient-host .primary-button:hover:not(:disabled),.family-patient-host .primary-button:active:not(:disabled){background:#a57652!important;border-color:#a57652!important}.family-patient-host .primary-button.secondary{box-shadow:none;color:#b5855f!important;background:#b5855f24!important;border-color:#0000!important}.family-patient-host .health-record-edit-page .health-record-group-label,.family-patient-host .health-record-edit-page .health-record-step{color:#ff7a1a}.family-patient-host .health-record-edit-page .health-record-tab,.family-patient-host .health-form-section,.family-patient-host .upload-zone,.family-patient-host .health-record-entry,.family-patient-host .health-info-card,.family-patient-host .health-record-hero{background:#fff;border:0;border-radius:22px;box-shadow:0 8px 22px #2814080f}.family-patient-host .health-record-edit-page .health-record-tab>button,.family-patient-host .health-record-edit-page .health-record-tab>button small{color:#171717}.family-patient-host .upload-zone-icon,.family-patient-host .health-record-entry-icon,.family-patient-host .health-record-folder-icon,.family-patient-host .measure-tip>span{color:#ff7a1a;background:#fff3dc}.family-patient-host .measure-tip,.family-patient-host .pressure-input-card,.family-patient-host .result-summary{background:#fff;border:0;border-radius:22px;box-shadow:0 8px 22px #2814080f}.family-patient-host .toast{box-sizing:border-box;width:calc(100% - 24px);min-width:min(340px,100% - 24px);max-width:560px}.family-app{--text-primary:#171717;--text-secondary:#737373;--text-muted:#9a7d66;--text-link:#ff7a1a;--text-success:#2f9a6a;--text-warning:#d97706;--text-danger:#dc2626;--bg-top:#fffaf4;--bg-mid:#fff4ea;--bg-bottom:#ffe9d6;--surface-solid:#fff;--surface:#fff;--surface-inset:#fff8f1;--surface-muted:#ff7a1a1a;--border:#1717170f;--border-strong:#1717171a;--shadow-sm:0 8px 22px #2814080f;--shadow-md:0 12px 32px #28140814;--accent:#ff7a1a;--accent-soft:#ff7a1a24;--accent-border:#ff7a1a47;--radius-card:24px;--radius-page:28px;isolation:isolate;border-radius:var(--radius-page);background:linear-gradient(168deg, var(--bg-top) 0%, var(--bg-mid) 42%, var(--bg-bottom) 100%);max-width:480px;min-height:100vh;box-shadow:0 0 0 100vmax var(--bg-mid);color:var(--text-primary);margin:0 auto;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;position:relative}.family-app:before{content:"";pointer-events:none;z-index:0;background:radial-gradient(90% 100% at 50% -20%,#ffba786b,#0000 70%);width:min(480px,100%);height:220px;position:fixed;top:0;left:50%;transform:translate(-50%)}.family-app>*{z-index:1;position:relative}.family-app__header{justify-content:space-between;align-items:center;padding:14px 12px 12px;display:flex}.family-app__header-title{min-width:0;color:var(--text-primary);letter-spacing:0;overflow-wrap:anywhere;font-size:26px;font-weight:800;line-height:1.25}.family-app__badge{background:var(--accent-soft);color:var(--accent);border:1px solid var(--accent-border);border-radius:20px;padding:6px 12px;font-size:12px}.family-app__profile-button{color:#171717;min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:0;border-radius:999px;flex:none;align-items:center;gap:8px;padding:4px 14px 4px 5px;font-size:15px;font-weight:800;display:inline-flex;box-shadow:0 8px 20px #b4460a29}.family-app__profile-avatar{color:#fff;background:#ff7a1a;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:15px;font-weight:800;display:grid}.family-page{padding:0 10px 88px}.family-profile{background:var(--surface-solid);border-radius:var(--radius-card);box-shadow:var(--shadow-md);border:0;align-items:center;gap:14px;margin-bottom:16px;padding:16px;display:flex}.family-profile__avatar{color:#315f53;background:#e7f3ef;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:21px;font-weight:800;display:flex}.family-profile__name{color:var(--text-primary);font-size:19px;font-weight:800}.family-profile__meta{color:var(--text-secondary);margin-top:4px;font-size:15px}.family-profile__switch{min-width:64px;min-height:36px;color:var(--accent);text-align:center;white-space:nowrap;background:#fff7ed;border:1.5px solid #ea580c47;border-radius:999px;flex:none;margin-left:auto;padding:8px 14px;font-size:15px;font-weight:800}.family-profile__switch:disabled{opacity:.45;cursor:not-allowed}.family-section{margin-bottom:20px}.family-section__head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.family-section__title{color:var(--text-primary);letter-spacing:-.02em;border-left:0;padding-left:0;font-size:20px;font-weight:800}.family-status-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.family-status-card{background:var(--surface-solid);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);border:0;padding:14px}.family-status-card__value{color:var(--text-primary);margin-bottom:4px;font-size:22px;font-weight:600}.family-status-card__label{color:var(--text-muted);font-size:12px}.family-status-ok{color:#15803d;background:#4caf5026;border:1px solid #4caf5040;border-radius:20px;padding:4px 10px;font-size:12px;display:inline-block}.family-status-warn{color:#c2410c;background:#ea580c26;border-color:#ea580c40}.family-bp-chart{background:var(--surface-solid);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);border:0;padding:16px}.family-bp-chart__head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.family-bp-chart__head .family-section__title{color:var(--text-primary);font-size:18px;font-weight:800}.family-bp-chart__current{text-align:right;flex-shrink:0;font-size:15px;line-height:1.4}.family-bp-chart__current strong{color:var(--text-primary);font-size:15px;font-weight:600;display:inline}.family-bp-chart__status{border-radius:999px;margin-left:6px;padding:2px 8px;font-size:14px;font-weight:500}.family-bp-chart__status--ok{color:#059669;background:#0596691a}.family-bp-chart__status--warn{color:#d97706;background:#f59e0b1f}.family-bp-chart__status--high{color:#dc2626;background:#ef44441a}.family-bp-chart__status--low{color:#2563eb;background:#2563eb1a}.family-bp-chart__status--muted{color:var(--text-secondary);background:0 0;padding:0}.family-bp-sparkline-wrap{margin-top:4px}.family-bp-sparkline{width:100%;height:118px;display:block}.family-bp-sparkline__value{fill:var(--text-secondary);font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:11px;font-weight:600}.family-bp-sparkline__axis{fill:var(--text-muted);letter-spacing:-.1px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-size:10px}.family-bp-sparkline--placeholder{height:56px;margin-bottom:8px}.family-bp-progress{align-items:center;gap:10px;margin-top:12px;padding:0 2px;display:flex}.family-bp-progress__track{background:#94a3b838;border-radius:999px;flex:1;height:4px;overflow:hidden}.family-bp-progress__fill{border-radius:inherit;background:linear-gradient(90deg,#ffb36f 0%,#ff7a1a 100%);height:100%;transition:width .25s;display:block}.family-bp-progress__text{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0;margin:0;font-size:11px}.family-bp-progress__text strong{color:var(--text-primary);font-weight:600}.family-bp-week__panel{border:1px solid var(--border);background:#fffcf7d9;border-radius:10px;height:128px;padding:6px 6px 0;position:relative}.family-bp-week__panel--sparse{height:136px}.family-bp-week__panel--sparse .family-bp-week__bar{max-width:34px}.family-bp-week__grid{pointer-events:none;position:absolute;inset:8px 4px 28px}.family-bp-week__ref{border-top:1px dashed #94a3b873;position:absolute;left:0;right:0}.family-bp-week__ref-label{color:var(--text-muted);background:#fff9f2eb;padding:0 2px;font-size:9px;position:absolute;right:2px;transform:translateY(-50%)}.family-bp-week__line{pointer-events:none;width:calc(100% - 8px);height:calc(100% - 36px);position:absolute;inset:8px 4px 28px;overflow:visible}.family-bp-week__bars{z-index:1;grid-template-columns:repeat(7,1fr);align-items:end;gap:5px;height:100%;display:grid;position:relative}.family-bp-week__col{flex-direction:column;align-items:center;min-width:0;height:100%;display:flex}.family-bp-week__plot{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;width:100%;min-height:0;display:flex}.family-bp-week__col--today .family-bp-week__label{color:#4d80f0;font-weight:600}.family-bp-week__col--empty .family-bp-week__plot{justify-content:stretch;padding-bottom:0}.family-bp-week__slot{background:#f8fafc73;border:1.5px dashed #94a3b847;border-radius:8px;flex:1;width:100%;max-width:28px;margin:0 auto}.family-bp-week__slot--dot{background:#94a3b859;border:none;border-radius:50%;flex:0;width:8px;max-width:none;height:8px;margin-bottom:6px}.family-bp-week__panel--sparse .family-bp-week__slot:not(.family-bp-week__slot--dot){max-width:34px}.family-bp-week__value{color:var(--text-primary);margin-bottom:4px;font-size:11px;font-weight:700;line-height:1}.family-bp-week__bar{border-radius:8px 8px 5px 5px;width:100%;max-width:28px;min-height:8px;transition:height .2s}.family-bp-week__bar--ok{background:linear-gradient(#60a5fa 0%,#4d80f0 100%);box-shadow:0 4px 12px #4d80f038}.family-bp-week__bar--warn{background:linear-gradient(#fbbf24 0%,#f59e0b 100%);box-shadow:0 4px 12px #f59e0b38}.family-bp-week__bar--high{background:linear-gradient(#f87171 0%,#ef4444 100%);box-shadow:0 4px 12px #ef444438}.family-bp-week__bar--low{background:linear-gradient(#93c5fd 0%,#3b82f6 100%);box-shadow:0 4px 12px #3b82f638}.family-bp-week__label{color:var(--text-muted);white-space:nowrap;min-height:11px;margin-top:6px;font-size:11px;line-height:1}.family-bp-week__label--ghost{visibility:hidden}.family-bp-chart__empty-panel{padding-top:4px}.family-bp-chart__empty{color:var(--text-muted);font-size:14px}.family-bp-chart__hint{text-align:center;color:var(--text-muted);margin:0;padding:12px 8px 4px;font-size:13px;line-height:1.5}.family-cta-row{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px;display:grid}.family-cta{border-radius:var(--radius-card);cursor:pointer;border:none;flex-direction:column;align-items:center;gap:8px;padding:18px 12px;font-size:16px;font-weight:700;display:flex}.family-cta--primary{color:#fff;background:linear-gradient(145deg,#ff9a4a 0%,#ff7a1a 100%);box-shadow:0 10px 24px #ff7a1a52}.family-cta--secondary{background:var(--surface-solid);color:var(--text-primary);box-shadow:var(--shadow-sm);border:0}.family-cta__icon{font-size:28px}.family-remote{background:var(--surface-solid);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);border:0;padding:16px}.family-remote__grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px;display:grid}.family-remote__btn{background:var(--surface-inset);min-height:76px;color:var(--text-secondary);cursor:pointer;border:0;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:14px 10px;font-size:13px;font-weight:700;display:flex}.family-remote__btn-icon{font-size:22px}.family-timeline{background:var(--surface-solid);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);border:0;padding:4px 16px}.family-timeline__item{border-bottom:1px solid var(--border);padding:14px 0}.family-timeline__item:last-child{border-bottom:none}.family-timeline__time{color:var(--text-muted);margin-bottom:4px;font-size:12px}.family-timeline__empty{color:var(--text-muted);margin:0;padding:8px 0;font-size:14px}.family-timeline__title{color:var(--text-primary);font-size:15px;font-weight:500}.family-timeline__detail{color:var(--text-secondary);word-break:break-word;margin-top:4px;font-size:13px;line-height:1.45}.family-timeline__call-meta{color:#059669;margin-top:8px;font-size:13px;font-weight:500}.family-timeline__callback{color:#2563eb;cursor:pointer;background:#2563eb14;border:1px solid #2563eb40;border-radius:8px;margin-top:8px;padding:6px 14px;font-size:13px;font-weight:500}.family-timeline__callback:active{background:#2563eb26}.family-section__meta{color:var(--text-muted);font-size:14px;font-weight:400}.family-timeline__pager{justify-content:center;align-items:center;gap:12px;margin-top:12px;display:flex}.family-timeline__pager-btn{background:var(--surface-solid);color:var(--text-primary);box-shadow:var(--shadow-sm);cursor:pointer;border:0;border-radius:999px;padding:8px 14px;font-size:14px}.family-timeline__pager-btn:disabled{opacity:.4;cursor:not-allowed}.family-timeline__pager-info{color:var(--text-muted);text-align:center;min-width:88px;font-size:13px}.family-nav{bottom:calc(12px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(18px);z-index:100;background:#1c1c1ee0;border:0;border-radius:999px;width:calc(100% - 28px);max-width:452px;padding:8px 10px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #140c0847}.family-nav__item{color:#ffffff8c;cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;align-items:center;gap:2px;padding:6px 8px;font-size:11px;display:flex}.family-nav__item--active{color:#fff;font-weight:700}.family-nav__item--active .family-nav__icon{color:#fff;background:radial-gradient(circle at 50% 45%,#ffb36f 0%,#ff7a1a 46%,#0000 72%)}.family-nav__icon{border-radius:50%;place-items:center;width:40px;height:40px;font-size:20px;display:grid;position:relative}.family-nav__dot{background:#ef4444;border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;right:-6px}.family-alert-card{background:var(--surface-solid);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:14px;margin-bottom:12px;padding:16px}.family-alert-card--critical{background:#fef2f2;border-color:#ef444459}.family-alert-card--ops{border-width:1px}.family-alert-card--ops-waiting{background:#fffbeb;border-color:#f59e0b73}.family-alert-card--ops-verifying{background:#eff6ff;border-color:#3b82f666}.family-alert-card--ops-dispatched{background:#eef2ff;border-color:#6366f166}.family-alert-card--ops-resolved{background:#f8fafc;border-color:#94a3b873}.family-alert-card__head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.family-alert-card__ops-hint{margin:0 0 4px;font-size:12px}.family-alert-card__ops-hint--waiting{color:#b45309}.family-alert-card__ops-hint--verifying{color:#2563eb}.family-alert-card__ops-hint--dispatched{color:#4338ca}.family-alert-card__ops-hint--resolved{color:#64748b}.family-alert-card__result{color:var(--text-success);background:#4caf5014;border-radius:8px;margin:0 0 8px;padding:8px 10px;font-size:13px;line-height:1.5}.family-alert-card--ops-resolved .family-alert-card__result{color:#475569;background:#64748b1a}.family-alert-ops-hint{margin:10px 0 0;font-size:13px;line-height:1.5}.family-alert-ops-hint--waiting{color:#b45309}.family-alert-ops-hint--verifying{color:#2563eb}.family-alert-ops-hint--dispatched{color:#4338ca}.family-alert-ops-hint--resolved{color:#64748b}.family-alert-progress__title{margin-bottom:12px;font-size:14px;display:block}.family-alert-progress__list{margin:0;padding:0;list-style:none}.family-alert-progress__item{color:var(--text-muted);gap:10px;padding-bottom:14px;display:flex;position:relative}.family-alert-progress__item:not(:last-child):before{content:"";background:var(--border);width:2px;position:absolute;top:14px;bottom:0;left:5px}.family-alert-progress__item--done{color:var(--text-primary)}.family-alert-progress__item--done .family-alert-progress__dot{background:#2563eb;box-shadow:0 0 0 3px #2563eb26}.family-alert-progress__dot{background:var(--border);border-radius:50%;flex-shrink:0;width:12px;height:12px;margin-top:3px}.family-alert-progress__label{font-size:14px;font-weight:600}.family-alert-progress__note{color:var(--text-secondary);margin-top:4px;font-size:12px;line-height:1.5}.family-alert-card__countdown{color:var(--text-warning);font-variant-numeric:tabular-nums;font-size:13px}.family-alert-card__countdown--over{color:var(--text-danger)}.family-alert-overlay{z-index:1000;background:#fef2f2;flex-direction:column;max-width:480px;margin:0 auto;display:flex;position:fixed;inset:0}.family-alert-overlay--ops{background:#eff6ff}.family-alert-overlay--ops-waiting{background:#fffbeb}.family-alert-overlay--ops-verifying{background:#eff6ff}.family-alert-overlay--ops-dispatched{background:#eef2ff}.family-alert-overlay--ops-resolved{background:#f8fafc}.family-alert-overlay--ops .family-alert-overlay__header{background:#2563eb}.family-alert-overlay--ops-waiting .family-alert-overlay__header{background:#d97706}.family-alert-overlay--ops-verifying .family-alert-overlay__header{background:#2563eb}.family-alert-overlay--ops-dispatched .family-alert-overlay__header{background:#4f46e5}.family-alert-overlay--ops-resolved .family-alert-overlay__header{background:#64748b}.family-alert-overlay--ops .family-alert-overlay__card{border-color:#93c5fd}.family-alert-overlay--ops-waiting .family-alert-overlay__card{border-color:#fcd34d}.family-alert-overlay--ops-verifying .family-alert-overlay__card{border-color:#93c5fd}.family-alert-overlay--ops-dispatched .family-alert-overlay__card{border-color:#a5b4fc}.family-alert-overlay--ops-resolved .family-alert-overlay__card{border-color:#cbd5e1}.family-alert-overlay__header{color:#fff;text-align:center;background:#dc2626;padding:16px;font-size:18px;font-weight:600}.family-alert-overlay__body{flex:1;padding:16px;overflow-y:auto}.family-alert-overlay__card{background:var(--surface-solid);color:var(--text-primary);border:2px solid #ef4444;border-radius:16px;margin-bottom:16px;padding:16px}.family-alert-overlay__video{aspect-ratio:16/9;background:var(--surface-inset);color:var(--text-muted);border-radius:12px;justify-content:center;align-items:center;margin-bottom:16px;display:flex;overflow:hidden}.family-alert-overlay__video video{object-fit:cover;width:100%;height:100%}.family-alert-overlay__cta120{color:#fff;background:#dc2626;border:none;border-radius:12px;width:100%;margin-bottom:12px;padding:16px;font-size:16px;font-weight:600}.family-alert-overlay__actions{grid-template-columns:1fr 1fr;gap:12px;display:grid}.family-alert-overlay__btn{cursor:pointer;border:none;border-radius:12px;padding:14px;font-size:15px;font-weight:600}.family-alert-overlay__btn--primary{color:#fff;background:#2563eb}.family-alert-overlay__btn--ghost{background:var(--surface-muted);color:var(--text-secondary);border:1px solid var(--border-strong)}.family-video-overlay{z-index:900;background:linear-gradient(168deg, var(--bg-top) 0%, var(--bg-mid) 42%, var(--bg-bottom) 100%);flex-direction:column;max-width:480px;margin:0 auto;display:flex;position:fixed;inset:0}.family-video-overlay__remote{background:#000;flex:1;position:relative}.family-video-overlay__waiting{color:var(--text-muted);pointer-events:none;justify-content:center;align-items:center;font-size:15px;display:flex;position:absolute;inset:0}.family-incoming-call{z-index:950;background:#1a12086b;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.family-incoming-call__card{background:var(--surface-solid);text-align:center;border:1px solid var(--border);width:100%;max-width:340px;box-shadow:var(--shadow-md);border-radius:24px;padding:32px 24px 24px}.family-incoming-call__icon{margin-bottom:12px;font-size:48px;animation:1.2s ease-in-out infinite family-incoming-pulse}@keyframes family-incoming-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.85;transform:scale(1.08)}}.family-incoming-call__title{color:var(--text-muted);margin:0 0 8px;font-size:14px;font-weight:500}.family-incoming-call__name{color:var(--text-primary);margin:0 0 8px;font-size:28px;font-weight:700}.family-incoming-call__hint{color:var(--text-secondary);margin:0 0 16px;font-size:15px}.family-incoming-call__phone{color:var(--text-link);margin-bottom:24px;font-size:14px;text-decoration:none;display:inline-block}.family-incoming-call__actions{justify-content:center;gap:16px;display:flex}.family-incoming-call__btn{cursor:pointer;border:none;border-radius:26px;flex:1;max-width:140px;height:52px;font-size:17px;font-weight:600}.family-incoming-call__btn--accept{color:#fff;background:#22c55e}.family-incoming-call__btn--decline{color:#fff;background:#ef4444}.family-video-overlay__remote video{object-fit:cover;width:100%;height:100%}.family-video-overlay__audio{opacity:0;pointer-events:none;width:0;height:0;position:absolute}.family-video-overlay__local{border:2px solid #ffffff4d;border-radius:12px;width:100px;height:140px;position:absolute;top:16px;right:16px;overflow:hidden}.family-video-overlay__local video{object-fit:cover;width:100%;height:100%}.family-video-overlay__bar{background:#000c;justify-content:center;padding:20px;display:flex}.family-video-overlay__hangup{color:#fff;background:#dc2626;border:none;border-radius:50%;width:64px;height:64px;font-size:14px;font-weight:600}.family-call-hint{color:var(--text-secondary);margin:0 0 12px;font-size:13px}.family-call-hint--warn{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:10px 12px}.family-toast{z-index:1100;background:var(--surface-solid);width:calc(100% - 24px);min-width:min(340px,100% - 24px);max-width:520px;color:var(--text-primary);border:1px solid var(--border);box-shadow:var(--shadow-md);box-sizing:border-box;border-radius:12px;padding:12px 16px;font-size:14px;position:fixed;top:16px;left:50%;transform:translate(-50%)}.family-empty{text-align:center;color:var(--text-muted);padding:40px 20px}.family-empty--error{color:var(--danger,#c0392b)}.family-empty--error .family-empty__hint{color:var(--text-muted);margin-top:12px;font-size:13px}.family-empty--error code{font-size:12px}.family-empty--inline{padding:24px 12px;font-size:14px}.family-section__head--bind{margin-bottom:12px}.family-card{background:var(--surface-solid);border-radius:var(--radius-card);box-shadow:var(--shadow-sm);border:0;margin-bottom:12px;padding:16px}.family-badge{border-radius:20px;padding:4px 10px;font-size:11px;font-weight:600;display:inline-block}.family-badge--critical{color:var(--text-danger);background:#ef44441f}.family-badge--pending{color:var(--text-warning);background:#fbbf2426}.family-badge--resolved{color:var(--text-success);background:#4caf5026}.family-badge--ops-waiting{color:#b45309;background:#f59e0b2e}.family-badge--ops-verifying{color:#2563eb;background:#2563eb1f}.family-badge--ops-dispatched{color:#4338ca;background:#4f46e524}.family-badge--ops-resolved{color:#475569;background:#64748b29}.family-entity-tabs{scrollbar-width:none;gap:8px;margin-bottom:12px;padding:2px 2px 6px;display:flex;overflow-x:auto}.family-entity-tabs::-webkit-scrollbar{display:none}.family-entity-tabs__item{min-height:40px;color:var(--text-secondary);white-space:nowrap;cursor:pointer;background:#ffffffe6;border:1px solid #a68b662e;border-radius:999px;flex:none;padding:0 16px;font-size:14px;font-weight:600;transition:background .15s,border-color .15s,color .15s,box-shadow .15s}.family-entity-tabs__item--active{color:#fff;background:linear-gradient(135deg,#cf8e41,#b86d16);border-color:#b86d16;box-shadow:0 8px 18px #b86d1633}.family-twin-desc{color:var(--text-muted);margin:8px 0 16px;font-size:14px;line-height:1.5}.family-photos-desc{color:var(--text-muted);margin:0 0 12px;font-size:14px;line-height:1.5}.family-photos-upload{flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.family-photos-caption{border:1px solid var(--border);background:var(--surface-solid);width:100%;color:var(--text-primary);border-radius:10px;padding:10px 12px;font-size:15px}.family-photos-msg{color:#15803d;margin:0 0 12px;font-size:14px}.family-photos-hint{color:var(--text-muted);margin:8px 0 0;font-size:12px}.family-photos-empty{color:var(--text-muted);margin:0;font-size:14px}.family-photos-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.family-photos-item{background:var(--surface-inset);border:1px solid var(--border);border-radius:12px;overflow:hidden}.family-photos-item img,.family-photos-item__video{aspect-ratio:4/3;object-fit:cover;background:#000;width:100%;display:block}.family-photos-item__video-wrap{cursor:pointer;position:relative}.family-photos-item__play{color:#fff;pointer-events:none;background:#0f172a9e;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;padding-left:3px;font-size:16px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.family-photos-item__badge{color:#fff;background:#0f172ab8;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;position:absolute;top:8px;left:8px}.family-photos-item__caption{color:var(--text-secondary);margin:0;padding:8px 10px 0;font-size:13px}.family-photos-item__delete{color:#fca5a5;cursor:pointer;background:0 0;border:none;width:100%;margin-top:6px;padding:8px;font-size:13px}.family-twin-avatar-wrap{text-align:center;margin-bottom:16px}.family-twin-avatar{object-fit:cover;border:4px solid #3b82f6;border-radius:50%;width:160px;height:160px}.family-twin-avatar--face{box-sizing:border-box;background:radial-gradient(circle at 50% 40%,#ffe8a8 0%,#ffc85a 55%,#f5a623 100%);border:4px solid #f5a623;border-radius:50%;display:inline-block}.family-twin-avatar--placeholder{background:#0f172a14;justify-content:center;align-items:center;font-size:48px;display:inline-flex}.family-file-input{opacity:0;pointer-events:none;width:0;height:0;position:absolute;overflow:hidden}.family-twin-file{margin-bottom:10px;display:block}.family-twin-file .family-cta{justify-content:center;width:100%}.family-twin-submit{width:100%;margin-top:4px}.family-twin-recorder{margin-top:8px}.family-twin-hint{color:var(--text-muted);margin-bottom:12px;font-size:13px}.family-twin-hint--warn{color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:10px 12px}.family-twin-error{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;margin-bottom:12px;padding:10px 12px;font-size:13px;line-height:1.5}.family-twin-actions{flex-wrap:wrap;gap:10px;display:flex}.family-twin-actions--row{margin-top:4px}.family-twin-actions--row .family-twin-file{flex:1;margin-bottom:0}.family-twin-actions--row .family-cta{justify-content:center;width:100%}.family-cta--uniform{text-align:center;border-radius:22px;justify-content:center;width:100%;min-height:84px;padding:14px 20px;font-size:15px;font-weight:700;line-height:1.25;box-shadow:0 10px 24px #785e3a1f}.family-cta--uniform.family-cta--secondary{color:#171717;box-shadow:var(--shadow-sm);background:#fff;border:0}.family-cta--uniform.family-cta--primary{gap:6px}.family-cta--uniform .family-cta__icon{font-size:24px}.family-cta--danger{color:#fca5a5;background:#ef44441f;border:1px solid #ef444459;flex:1;justify-content:center;min-width:120px}.family-cta--danger:disabled{opacity:.5}.family-twin-saved-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.family-twin-delete-link{color:#fca5a5;cursor:pointer;background:0 0;border:none;padding:0;font-size:13px}.family-twin-delete-link:disabled{opacity:.5;cursor:not-allowed}.family-twin-actions .family-cta{flex:1;justify-content:center;min-width:120px}.family-twin-actions--video{align-items:stretch}.family-twin-actions--video .family-cta--secondary{flex:1}.family-cta--video-submit{text-align:center;white-space:normal;word-break:keep-all;border-radius:20px;flex:1.25;min-height:86px;padding:18px 22px;font-size:18px;font-weight:700;line-height:1.28;box-shadow:0 12px 28px #3b82f638}.family-twin-recorder .family-cta--primary:not(.family-cta--uniform){width:100%}.family-twin-audio{width:100%;margin-top:8px}.family-twin-audio-wrap{margin-top:12px}.family-twin-audio-meta{color:var(--text-muted);margin:0 0 6px;font-size:13px}.family-twin-saved{color:#15803d;margin-bottom:8px;font-size:13px}.family-twin-voice-video{border-top:1px dashed var(--border);margin-top:16px;padding-top:16px}.family-twin-voice-video__preview{object-fit:contain;background:#000;border-radius:12px;width:100%;max-height:220px;margin:10px 0 12px;display:block}.family-voice-source{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.family-voice-source__btn{border:1px solid var(--border);background:var(--surface-solid);cursor:pointer;text-align:left;border-radius:12px;flex:1;min-width:140px;padding:12px 14px;font-size:14px}.family-voice-source__btn--active{border-color:var(--primary);color:var(--primary);background:#3b82f614;font-weight:600}.family-voice-source__hint{color:var(--text-muted);margin-top:4px;font-size:12px;font-weight:400;display:block}.family-voice-custom{margin-top:14px}.family-voice-label-input{box-sizing:border-box;border:1px solid var(--border);background:var(--surface,#fff);border-radius:12px;width:100%;margin-top:10px;padding:12px 14px;font-size:16px}.family-voice-label-input:focus{border-color:var(--primary,#2563eb);outline:none;box-shadow:0 0 0 3px #2563eb1f}.family-voice-custom__actions{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.family-voice-custom__actions .family-cta{flex:1;min-width:120px}.family-voice-presets__group{margin-bottom:16px}.family-voice-presets__title{color:var(--text-muted);margin-bottom:8px;font-size:13px;font-weight:600}.family-voice-presets__grid{grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:10px;display:grid}.family-voice-preset{border:1px solid var(--border);background:var(--surface-solid);border-radius:12px;display:flex;overflow:hidden}.family-voice-preset__upload{min-width:52px;font-size:13px}.family-voice-preset--active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.family-voice-preset__main{text-align:left;cursor:pointer;background:0 0;border:none;flex:1;padding:10px 12px}.family-voice-preset__name{font-size:14px;font-weight:600;display:block}.family-voice-preset__tag{color:var(--text-muted);margin-top:2px;font-size:12px;display:block}.family-voice-preset__preview{border:none;border-left:1px solid var(--border);color:var(--primary);cursor:pointer;white-space:nowrap;background:#00000008;padding:0 10px;font-size:12px}.family-voice-greet{z-index:200;background:#0f172a6b;justify-content:center;align-items:center;padding:20px 16px;display:flex;position:fixed;inset:0}.family-voice-greet__card{background:var(--surface-solid);border:1px solid #d2c3aee6;border-radius:24px;width:100%;max-width:430px;padding:22px 14px 18px;box-shadow:0 24px 56px #28201433}.family-messages--record{padding-top:24px}.family-messages--record .family-voice-greet__actions{margin-top:16px}.family-voice-greet__title{color:#201813;letter-spacing:.01em;margin:2px 8px 14px;font-size:22px;font-weight:800}.family-voice-greet__desc{color:var(--text-muted);margin:0 0 16px;font-size:14px;line-height:1.6}.family-voice-greet__error{color:#dc2626;margin:10px 4px 0;font-size:13px}.family-voice-greet__warn{color:#d97706;margin:0 0 12px;font-size:13px}.family-voice-greet__actions{flex-direction:column;gap:14px;margin:16px 8px 0;display:flex}.family-voice-greet__actions .family-cta{border-radius:18px;justify-content:center;width:100%;min-height:56px;font-size:16px;font-weight:800}.family-messages__list{scrollbar-width:thin;scrollbar-color:#848484cc transparent;flex-direction:column;gap:12px;max-height:min(46vh,360px);margin:0 6px 2px;padding:2px 8px 2px 2px;display:flex;overflow-y:auto}.family-messages__list::-webkit-scrollbar{width:6px}.family-messages__list::-webkit-scrollbar-thumb{background:#848484cc;border-radius:999px}.family-messages__list::-webkit-scrollbar-track{background:0 0}.family-messages__item{background:#f3f6fb;border:1px solid #d7ddeb;border-radius:20px;padding:12px 14px 14px;box-shadow:inset 0 1px #ffffffb8,0 1px 2px #0f172a0a}.family-messages__item-head{color:#80624a;justify-content:space-between;align-items:center;gap:10px;margin-bottom:0;font-size:12px;display:flex}.family-messages__item-time{color:#836754;font-size:12px;line-height:1.45}.family-messages__item-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.family-messages__item-delete{font:inherit;color:#dc2626;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;font-weight:500}.family-messages__item-status{color:#86674f;font-size:12px}.family-messages__item-delete:disabled{opacity:.6;cursor:not-allowed}.family-messages__item-meta{color:var(--text);margin:6px 0 0;font-size:14px}.family-messages__item-text{color:#2f3b52;word-break:break-word;margin:0;font-size:16px;line-height:1.55}.family-messages__item-text--muted{color:var(--text-muted);font-size:14px}.family-messages__item-audio{width:100%;margin-top:6px}.family-messages__item-reply{color:#2563eb;word-break:break-word;border-top:1px dashed #d8dde7;margin:8px 0 0;padding-top:8px;font-size:15px;line-height:1.6}.family-voice-greet__status{color:#80624a;margin:6px 2px 0;font-size:14px;line-height:1.5}.family-messages__intents{gap:8px;margin:12px 0 8px;display:flex}.family-messages__intent{border:1px solid var(--border,#ddd);background:#fff;border-radius:8px;flex:1;padding:8px 10px;font-size:13px}.family-messages__intent--active{border-color:var(--primary,#2563eb);color:var(--primary,#2563eb);background:#2563eb0f}.family-chat-insights{flex-direction:column;gap:10px;display:flex}.family-chat-insights__row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.family-chat-insights__label{color:var(--text-muted);font-size:13px}.family-chat-insights__tags{flex-wrap:wrap;gap:6px;display:flex}.family-chat-insights__tag{color:#b91c1c;background:#dc262614;border-radius:999px;padding:4px 10px;font-size:12px}.family-chat-insights__list{color:var(--text-secondary);margin:0;padding-left:18px;font-size:14px;line-height:1.55}.family-chat-insights__item+.family-chat-insights__item{margin-top:6px}.family-chat-insights__empty{color:var(--text-muted);margin:0;font-size:14px}.family-med-list{border-radius:var(--radius-card);background:var(--surface-solid);box-shadow:var(--shadow-sm);flex-direction:column;gap:8px;padding:12px;display:flex}.family-med-list__item{background:var(--surface-inset);border:0;border-radius:16px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:10px 12px;font-size:14px;display:grid}.family-med-list__name{color:var(--text-primary);font-weight:600}.family-med-list__dose{color:var(--text-muted)}.family-med-list__status{color:var(--text-secondary);white-space:nowrap;background:#0f172a0f;border-radius:8px;padding:3px 8px;font-size:12px}.family-med-list__item--taken .family-med-list__status{color:#047857;background:#0478571f}.family-med-list__item--partial .family-med-list__status,.family-med-list__item--pending .family-med-list__status{color:#b45309;background:#d977061f}.family-med-list__item--skipped .family-med-list__status{color:#b91c1c;background:#dc26261a}.family-med-list__empty{color:var(--text-muted);margin:0;font-size:14px}.family-todo__hint{color:var(--text-muted);margin:-4px 0 10px;font-size:14px}.family-todo-list{border-radius:var(--radius-card);background:var(--surface-solid);box-shadow:var(--shadow-sm);flex-direction:column;gap:8px;padding:10px;display:flex}.family-todo__item{background:var(--surface-inset);border-radius:16px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:64px;padding:10px 12px;display:grid}.family-todo__item.is-done{opacity:.72}.family-todo__icon{width:36px;height:36px;color:var(--accent);background:var(--accent-soft);border-radius:50%;place-items:center;display:grid}.family-todo__copy{min-width:0}.family-todo__copy strong{color:var(--text-primary);font-size:17px;font-weight:700;display:block}.family-todo__copy small{color:var(--text-muted);margin-top:2px;font-size:14px;display:block}.family-todo__action{color:#fff;background:var(--accent);min-width:64px;min-height:36px;font:inherit;cursor:pointer;border:0;border-radius:999px;padding:0 12px;font-size:15px;font-weight:700}.family-todo__action.is-done,.family-todo__action:disabled{color:#8a6a52;cursor:default;background:#b5855f29}.family-todo__state{text-align:center;color:var(--text-muted);gap:4px;padding:16px 12px;display:grid}.family-todo__state strong{color:var(--text-primary);font-size:16px}.family-todo__state small{font-size:13px}.family-todo__state button{min-height:36px;color:var(--accent);background:var(--accent-soft);font:inherit;cursor:pointer;border:0;border-radius:999px;justify-self:center;margin-top:8px;padding:0 14px;font-weight:700}.family-todo__toast{color:var(--text-success);margin:8px 4px 0;font-size:13px}.family-app.family-zhihui-shell{border-radius:var(--radius-page,28px);flex-direction:column;max-width:none;min-height:calc(100dvh - 12px);margin:4px 2px 8px;font-size:17px;line-height:1.5;display:flex;overflow-x:clip;box-shadow:0 16px 40px #3e271414}.family-zhihui-shell,.family-zhihui-shell *,.family-zhihui-shell:before,.family-zhihui-shell:after{transition:none!important;animation:none!important}.family-zhihui-shell:before{width:100%;position:absolute;left:0;transform:none}.family-screen-status{box-shadow:var(--shadow-sm);color:var(--text-primary);background:#ffffffe0;border:0;border-radius:22px;align-items:center;gap:10px;margin:0 16px 14px;padding:12px 14px;display:flex}.family-screen-status__dot{background:#18a879;border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 4px #18a8791f}.family-screen-status>div{min-width:0}.family-screen-status strong,.family-screen-status span{display:block}.family-screen-status strong{font-size:13px;line-height:1.35}.family-screen-status>div span{color:var(--text-secondary);margin-top:2px;font-size:12px;line-height:1.45}.family-screen-status--offline{color:var(--text-primary);background:#ffffffe6;border-color:#0000}.family-screen-status--offline .family-screen-status__dot{background:#e09a2d;box-shadow:0 0 0 4px #e09a2d21}.family-screen-status--unavailable{color:var(--text-primary);background:#ffffffe6;border-color:#0000}.family-screen-status--unavailable .family-screen-status__dot{background:#d97706;box-shadow:0 0 0 4px #d9770621}.family-zhihui-shell .family-cta:disabled,.family-zhihui-shell .family-remote__btn:disabled{cursor:not-allowed;filter:saturate(.45);opacity:.56}.family-zhihui-shell .family-cta:disabled{box-shadow:none}.family-zhihui-shell .family-nav{-webkit-backdrop-filter:blur(18px);width:calc(100% - 28px);max-width:none;margin:8px 14px 16px;position:sticky;bottom:12px;left:auto;transform:none}.family-zhihui-shell .family-page{padding-bottom:8px}.app.rhs-patient .app-main.app-main-home:has(.family-zhihui-shell){background:#ffe9d6;max-width:none;padding:0}.family-app.family-zhihui-shell>.family-logout-overlay{z-index:400;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#132b317a;justify-content:center;align-items:center;padding:24px 18px;display:flex;position:fixed;inset:0}.family-app.family-zhihui-shell>.family-profile-sheet-overlay{z-index:390;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#132b315c;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}.family-profile-sheet{width:min(100%,480px);max-height:min(86dvh,680px);padding:8px 18px calc(20px + env(safe-area-inset-bottom,0px));background:#fffaf4;border-radius:30px 30px 0 0;overflow-y:auto;box-shadow:0 -18px 48px #28140824}.family-profile-sheet__handle{background:#f0d8c3;border-radius:999px;width:42px;height:5px;margin:6px auto 16px;display:block}.family-profile-sheet__header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.family-profile-sheet__header h2,.family-profile-sheet__header p{margin:0}.family-profile-sheet__header h2{color:var(--text-primary);font-size:24px;font-weight:800;line-height:1.2}.family-profile-sheet__header p{color:var(--text-secondary);margin-top:6px;font-size:15px}.family-profile-sheet__close{color:#8b6244;cursor:pointer;background:#fff4e8;border:0;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;display:grid}.family-profile-role-management{background:#fff;border:1px solid #ff7a1a3d;border-radius:22px;gap:12px;margin:0;padding:14px;display:grid}.family-profile-role-management__header{align-items:center;gap:10px;display:flex}.family-profile-role-management__header h3{color:#9b4d2d;margin:0;font-size:20px;line-height:1.3}.family-profile-role-management__icon{width:44px;height:44px;color:var(--accent);background:#fff1e3;border-radius:14px;flex:none;place-items:center;display:grid}.family-profile-role-list{gap:8px;display:grid}.family-profile-role-item{background:#fffaf4;border:1px solid #ff7a1a29;border-radius:16px;align-items:center;gap:10px;min-width:0;min-height:66px;padding:10px 11px;display:flex}.family-profile-role-item__copy{flex:auto;gap:3px;min-width:0;display:grid}.family-profile-role-item__copy strong{color:#6f3d28;font-size:17px;line-height:1.25}.family-profile-role-item__copy small{color:#9a7d66;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.3;overflow:hidden}.family-profile-role-item__action{color:#b85e2d;min-width:92px;min-height:46px;font:inherit;cursor:pointer;background:#fff;border:1px solid #ea580c4d;border-radius:14px;padding:0 12px;font-size:16px;font-weight:800}.family-profile-role-item__action:disabled{color:#c99b78;cursor:default;background:#fffdfb;border-color:#ea580c29}.family-profile-sheet__logout{color:#b44d2c;width:100%;min-height:58px;font:inherit;cursor:pointer;background:#fff;border:1px solid #ff7a1a24;border-radius:20px;justify-content:center;align-items:center;gap:8px;margin-top:16px;font-size:17px;font-weight:800;display:inline-flex;box-shadow:0 7px 20px #28140812}.family-profile-sheet__close:focus-visible,.family-profile-role-item__action:focus-visible,.family-profile-sheet__logout:focus-visible{outline-offset:2px;outline:3px solid #ff7a1a47}@media (width<=420px){.family-profile-sheet{padding-left:16px;padding-right:16px}.family-profile-role-management{padding:12px}}.family-logout-dialog{text-align:center;background:#fff;border-radius:28px;flex-direction:column;align-items:center;width:min(100%,360px);padding:28px 22px 20px;display:flex;box-shadow:0 22px 58px #0c2a3142}.family-logout-illustration{color:#bd4d4e;background:#fff0ee;border-radius:22px;place-items:center;width:72px;height:72px;display:grid}.family-logout-dialog h2{color:#1a1208;margin:16px 0 8px;font-size:22px;line-height:1.35}.family-logout-dialog>p{color:#6b5344;max-width:320px;margin:0;font-size:14px;line-height:1.7}.family-logout-actions{gap:10px;width:100%;margin-top:22px;display:grid}.family-logout-btn{min-height:56px;font:inherit;cursor:pointer;border:0;border-radius:17px;justify-content:center;align-items:center;padding:0 18px;font-size:17px;font-weight:800;display:flex}.family-logout-btn--danger{color:#111;background:#fff0ee}.family-logout-btn--secondary{color:#111;background:#f3f3f3}.family-bridge-alert{color:var(--text-secondary,#737373);box-shadow:var(--shadow-sm,0 8px 22px #2814080f);background:#ffffffe6;border:0;border-radius:22px;justify-content:space-between;align-items:center;gap:12px;margin:0 16px 14px;padding:12px 14px;display:flex}.family-bridge-alert strong{color:var(--text-warning,#b45309);margin-bottom:3px;font-size:13px;line-height:1.35;display:block}.family-bridge-alert span{color:var(--text-muted,#6b5344);font-size:12px;line-height:1.45;display:block}.family-bridge-alert button{color:var(--text-warning,#b45309);background:#fffaf4;border:1px solid #b4530938;border-radius:10px;flex:none;padding:6px 10px;font-size:12px;font-weight:600}.family-section__link{color:var(--text-link,#ff7a1a);cursor:pointer;background:0 0;border:none;font-size:13px;font-weight:700}.family-zhihui-photo-grid{grid-template-columns:repeat(3,1fr);gap:8px;padding-bottom:88px;display:grid}.family-zhihui-photo-grid__item{aspect-ratio:1;background:var(--surface-inset,#f3e8da) center / cover no-repeat;border-radius:12px;display:block}.family-zhihui-twin-copy{color:var(--text-secondary,#4a3d32);margin:8px 0 16px;font-size:14px;line-height:1.55}.family-zhihui-twin-panel{box-shadow:var(--shadow-md,0 12px 32px #28140814);background:#fff;border:0;border-radius:24px;margin:0 0 20px;padding:20px 22px 24px}.family-zhihui-twin-panel .family-section__title{margin-bottom:10px}.family-zhihui-twin-panel .family-zhihui-twin-copy{margin:0 0 18px}.family-zhihui-twin-panel .family-twin-avatar-wrap{margin:24px 0 28px}.family-zhihui-twin-panel .family-twin-avatar{border-width:5px;border-color:#ff9a4a;width:230px;height:230px}.family-zhihui-twin-status{color:var(--text-success,#047857);text-align:center;margin:-10px 0 16px;font-size:13px}.family-zhihui-twin-status--pending{color:#9a5a18;text-align:left;background:#ff7a1a1a;border:0;border-radius:16px;gap:3px;padding:10px 12px;display:grid}.family-zhihui-twin-status--pending strong{font-size:14px;line-height:1.35}.family-zhihui-twin-status--pending span{color:#a37a58;font-size:12px;line-height:1.45}.family-zhihui-recorder-hint,.family-zhihui-video-hint{color:var(--text-secondary,#4a3d32);margin:0 0 14px;font-size:14px;line-height:1.6}.family-zhihui-video-hint{margin-bottom:18px}.family-zhihui-record-button{min-height:56px}.family-zhihui-recording-time{color:#ff7a1a;text-align:center;margin:-2px 0 14px;font-size:14px;font-weight:700}.family-zhihui-voice-sample{background:#ffffffc2;border:1px solid #785e3a24;border-radius:16px;gap:10px;margin:0 0 14px;padding:12px;display:grid}.family-zhihui-voice-sample__head{justify-content:space-between;align-items:center;gap:10px;display:flex}.family-zhihui-voice-sample__head strong{color:var(--text-primary,#1a1208);font-size:15px;line-height:1.3}.family-zhihui-voice-sample__head span{color:#047857;background:#d1fae5b8;border-radius:999px;flex:none;padding:4px 8px;font-size:12px;font-weight:700}.family-zhihui-voice-audio{width:100%;max-width:100%;height:38px;display:block}.family-zhihui-voice-sample p{color:var(--text-muted,#6b5344);margin:0;font-size:12px;line-height:1.5}.family-zhihui-voice-actions{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px;margin-bottom:18px;display:grid}.family-zhihui-voice-divider{border-top:1px dashed #785e3a33;margin:0 0 22px}.family-zhihui-twin-avatar{overflow:hidden}.family-zhihui-twin-avatar img{object-fit:cover;width:100%;height:100%}.family-zhihui-twin-card{border:1px solid var(--border,#5a3d281f);background:var(--surface-solid,#fff9f2);box-shadow:var(--shadow-sm,0 2px 10px #3e27140f);border-radius:14px;margin-top:12px;padding:14px;position:relative}.family-zhihui-twin-card strong{color:var(--text-primary,#1a1208);font-size:15px;display:block}.family-zhihui-twin-card p{color:var(--text-muted,#6b5344);margin:5px 0 12px;font-size:12px;line-height:1.45}.family-zhihui-twin-card .family-cta{width:100%}.family-zhihui-file-input{display:none}.family-zhihui-file-input--native{clip:rect(0, 0, 0, 0);white-space:nowrap;opacity:0;border:0;width:1px;height:1px;margin:-1px;padding:0;display:block;position:absolute;overflow:hidden}.family-zhihui-upload-label{justify-content:center}.family-zhihui-upload-label[aria-disabled=true]{cursor:not-allowed;opacity:.55}.family-zhihui-shell .family-photos-caption{width:100%;min-height:48px;padding:10px 12px;font-size:15px;line-height:1.4;display:block}.family-zhihui-shell .family-photos-upload-btn{flex-direction:row;justify-content:center;width:100%;min-height:52px;margin-top:10px}.family-zhihui-shell .family-photos-hint{margin:10px 0 0;line-height:1.5;display:block}.family-zhihui-shell .family-twin-avatar{object-fit:cover;color:#0000;width:160px;height:160px;display:inline-block}.family-zhihui-shell .family-twin-panel .family-cta--uniform,.family-zhihui-shell .family-zhihui-twin-panel .family-cta--uniform{border-radius:14px;flex-direction:row;gap:6px;min-height:48px;padding:8px 14px;font-size:15px;line-height:1.25}.family-zhihui-shell .family-zhihui-twin-panel .family-zhihui-record-button{min-height:56px;margin-bottom:0}.family-zhihui-shell .family-zhihui-twin-panel .family-cta__icon{font-size:18px}@media (width<=420px){.family-zhihui-twin-panel{padding:18px 16px 20px}.family-zhihui-twin-panel .family-twin-avatar{width:min(230px,62vw);height:min(230px,62vw)}.family-zhihui-voice-actions{grid-template-columns:1fr}.family-zhihui-voice-sample__head{flex-direction:column;align-items:flex-start}}.family-alert-card__title{margin-bottom:6px;font-weight:600}.family-alert-card__msg{color:var(--text-secondary,#4a3d32);margin-bottom:8px;font-size:14px}.family-alert-card__meta{color:var(--text-muted,#6b5344);font-size:12px}.family-phd-entry{width:100%;color:var(--text-primary,#171717);text-align:left;cursor:pointer;box-shadow:var(--shadow-sm,0 8px 22px #2814080f);background:#fff;border:0;border-radius:22px;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding:14px 16px;display:flex}.family-phd-entry--standalone{margin:0 0 16px}.family-health-actions{grid-template-columns:1fr;gap:10px;margin:0 0 4px;display:grid}.family-health-actions .family-phd-entry{flex-direction:row;justify-content:space-between;align-items:center;gap:12px;min-height:0;margin:0;padding:14px 16px}.family-phd-entry__icon{color:#2f9a6a;background:#e8f7ef;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;display:grid}.family-phd-entry--portrait .family-phd-entry__icon{color:#6b63c7;background:#efeefe}.family-phd-entry--record .family-phd-entry__icon{color:#2f9a6a;background:#e7f6ee}.family-phd-entry--upload .family-phd-entry__icon{color:#d97706;background:#fff3dc}.family-phd-entry span:not(.family-phd-entry__icon){flex:1;gap:3px;min-width:0;display:grid}.family-phd-entry strong{color:#171717;font-size:17px;font-weight:700;line-height:1.4}.family-phd-entry small{color:#8a8a8a;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}.family-phd-entry>.app-icon{color:#ff7a1a;flex:none;margin-left:auto}.family-elder-entry-section{box-shadow:var(--shadow-sm,0 8px 22px #2814080f);background:#fff;border:0;border-radius:24px;margin-top:16px;padding:14px}.family-elder-entry-section__head{align-items:flex-start;margin-bottom:12px}.family-elder-entry-section__head>div{gap:3px;min-width:0;display:grid}.family-elder-entry-section__hint{color:#8a8a8a;font-size:12px;line-height:1.45}.family-elder-entry-grid{grid-template-columns:1fr;gap:10px;display:grid}.family-elder-entry{color:#171717;text-align:left;cursor:pointer;background:#fff7f0;border:0;border-radius:16px;grid-template-columns:auto minmax(0,1fr);gap:9px;min-width:0;padding:12px;display:grid}.family-elder-entry:disabled{cursor:not-allowed;opacity:.55}.family-elder-entry__icon{color:#ff7a1a;background:#fff3dc;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.family-elder-entry__copy{gap:3px;min-width:0;display:grid}.family-elder-entry__copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.35;overflow:hidden}.family-elder-entry__copy small{color:#8a8a8a;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.45;display:-webkit-box;overflow:hidden}.family-elder-entry__action{color:#ff7a1a;grid-column:2;font-size:11px;font-weight:700}.family-elder-entry--ocean .family-elder-entry__icon{color:#347798;background:#eaf5fb}.family-elder-entry--amber .family-elder-entry__icon{color:#ae711e;background:#fff5df}.family-elder-entry--violet .family-elder-entry__icon{color:#7662a7;background:#f2edff}.family-elder-entry--rose .family-elder-entry__icon{color:#b8626d;background:#fff0f1}.family-elder-entry--green .family-elder-entry__icon{color:#568b50;background:#eef8e9}.family-elder-entry--blue .family-elder-entry__icon{color:#4a76a2;background:#edf4ff}.family-elder-entry--slate .family-elder-entry__icon{color:#68788a;background:#eff3f7}@font-face{font-family:RHS Patient Num;font-style:normal;font-weight:400;src:local(Inter),local(Roboto),local(Arial);unicode-range:U+30-39,U+2B,U+2C,U+2D,U+2E,U+2F,U+3A,U+25}*{box-sizing:border-box;margin:0;padding:0}html{font-size:20px}input,select,textarea,button{font-size:inherit}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;overscroll-behavior-y:none;background:radial-gradient(circle at 0 0,#3f83f814,#0000 28%),linear-gradient(#f4f8fb 0%,#eef5f7 100%);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.7;overflow-x:hidden}.app{flex-direction:column;min-height:100vh;display:flex}.auth-app--consumer,.app.app-scope-consumer,.app.app-scope-consumer .rhs-theme,.app.app-scope-consumer .role-prototype,.app.app-scope-consumer .patient-care-app,.app.app-scope-consumer .family-app,.app.app-scope-consumer .family-bp-sparkline__value,.app.app-scope-consumer .family-bp-sparkline__axis{--patient-number-font:"RHS Patient Num";font-family:var(--patient-number-font), "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;font-synthesis:none;font-variant-numeric:normal}.app.app-scope-consumer .family-app .family-bp-progress__text,.app.app-scope-consumer .family-app .family-alert-card__countdown{font-variant-numeric:normal}.loading-container{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.loading-spinner{border:4px solid #ffffff4d;border-top-color:#fff;border-radius:50%;width:50px;height:50px;margin-bottom:20px;animation:1s ease-in-out infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth-container{background:#fff;border-radius:12px;width:min(100%,450px);max-width:450px;margin:clamp(24px,6vw,50px) auto;padding:clamp(20px,4vw,40px);box-shadow:0 10px 30px #0000001a}.auth-header{text-align:center;margin-bottom:30px}.auth-header h1{color:#2c3e50;margin-bottom:10px;font-size:2rem}.auth-header p{color:#7f8c8d;font-size:1.1rem}.auth-tabs{background:#f8f9fa;border-radius:8px;margin-bottom:30px;display:flex;overflow:hidden}.auth-tab{cursor:pointer;background:0 0;border:none;flex:1;padding:12px 20px;font-size:1rem;font-weight:500;transition:all .3s}.auth-tab.active{color:#fff;background:#3498db}.auth-tab:hover:not(.active){background:#e9ecef}.auth-form{margin-bottom:20px}.auth-form h2{color:#2c3e50;text-align:center;margin-bottom:20px}.auth-region-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.auth-region-grid .form-group{min-width:0}.auth-region-street{grid-column:1/-1}.auth-region-error{color:#b42318;grid-column:1/-1;margin:-12px 0 20px}@media (width<=420px){.auth-region-grid{grid-template-columns:1fr;gap:0}.auth-region-error{margin-top:-12px}}.form-group label{color:#555;margin-bottom:8px;font-weight:500;display:block}.form-group input,.form-group select,.form-group textarea{border:2px solid #e1e8ed;border-radius:8px;width:100%;padding:12px 16px;font-size:1rem;transition:border-color .3s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#3498db;outline:none;box-shadow:0 0 0 3px #3498db1a}.app-select{z-index:1;width:100%;position:relative}.app-select.is-open{z-index:80}.app-select-trigger{color:#183b56;width:100%;min-height:48px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #c7d6e2;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;font-size:16px;line-height:1.35;transition:border-color .16s,box-shadow .16s,background .16s;display:flex}.app-select.is-open .app-select-trigger,.app-select-trigger:focus-visible{background:#fff;border-color:#3b82c4;outline:none;box-shadow:0 0 0 3px #3b82c424}.app-select.is-disabled .app-select-trigger{color:#7b8da0;cursor:not-allowed;background:#f5f7fa}.app-select-arrow{border-bottom:2px solid;border-right:2px solid;flex:none;width:9px;height:9px;transition:transform .16s;transform:rotate(45deg)translateY(-2px)}.app-select.is-open .app-select-arrow{transform:rotate(225deg)translate(-2px,-2px)}.app-select-menu{z-index:40;background:#fff;border:1px solid #c7d6e2;border-radius:12px;gap:2px;max-height:240px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 14px 28px #234d6d24}.app-select-menu button{color:#294a63;width:100%;min-height:46px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:16px;line-height:1.35;display:flex}.app-select-menu button:hover,.app-select-menu button:focus-visible{background:#eff7fd;outline:none}.app-select-menu button.selected{color:#1768b2;background:#e5f2fc;font-weight:700}.app-select-native{clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.app-select.is-compact .app-select-trigger{min-height:40px;padding:0 10px;font-size:14px}.app-select.is-compact .app-select-menu button{min-height:40px;font-size:14px}.auth-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3498db,#2980b9);border:none;border-radius:8px;width:100%;padding:14px;font-size:1.1rem;font-weight:600;transition:transform .2s,box-shadow .2s}.auth-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px 15px #3498db4d}.auth-button:disabled{opacity:.7;cursor:not-allowed}body{color:#1c3832;background:#edf1ec;font-family:Avenir Next,PingFang SC,Hiragino Sans GB,-apple-system,sans-serif}.auth-container{background:#fffefa;border:1px solid #1c38321a;border-radius:20px;width:min(100% - 32px,460px);max-width:460px;margin:clamp(28px,8vh,76px) auto;padding:34px clamp(22px,5vw,40px) 30px;box-shadow:0 20px 46px #23433b1a}.auth-header{margin-bottom:26px}.auth-header h1{color:#173a35;letter-spacing:.03em;margin-bottom:9px;font-size:clamp(1.65rem,4vw,2rem);font-weight:720}.auth-header p{color:#71817b;font-size:.92rem;line-height:1.6}.auth-tabs{background:#e9efea;border-radius:12px;gap:4px;margin-bottom:28px;padding:4px}.auth-tab{color:#6b7c75;border-radius:9px;min-height:42px;padding:8px 16px;font-size:.9rem;font-weight:650}.auth-tab.active{color:#f7f5ed;background:#173a35;box-shadow:0 5px 12px #173a3529}.auth-tab:hover:not(.active){color:#1c3832;background:#f7f9f5}.auth-form h2{color:#1c3832;margin-bottom:24px;font-size:1.2rem;font-weight:680}.form-group{margin-bottom:18px}.form-group label{color:#49645b;margin-bottom:7px;font-size:.82rem;font-weight:650}.form-group input,.form-group select,.form-group textarea{color:#1c3832;background:#fbfcf9;border:1px solid #1c38322b;border-radius:10px;min-height:48px;padding:11px 14px;font-size:.88rem;transition:border-color .16s,box-shadow .16s,background .16s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{background:#fffefa;border-color:#477968;box-shadow:0 0 0 3px #4779681f}.auth-button{color:#243e36;min-height:48px;box-shadow:none;background:#c5a66a;border-radius:10px;padding:11px 18px;font-size:.9rem;font-weight:700;transition:background .16s,box-shadow .16s,transform .16s}.auth-button:hover:not(:disabled){background:#a8864e;transform:translateY(-1px);box-shadow:0 8px 16px #a8864e2e}.password-toggle-btn,.terms-link,.forgot-password-btn{color:#477968}.bind-notice{color:#315f53;background:#edf4ef;border-color:#4779682e}.auth-clear-cache-section{border-top:1px solid #1c38321a;margin-top:24px;padding-top:18px}.clear-cache-btn{color:#71817b}@media (width<=520px){.auth-container{border-radius:16px;width:min(100% - 24px,460px);margin:18px auto;padding:26px 20px 24px}.auth-header{margin-bottom:22px}}.consent-checkbox-group{flex-wrap:wrap;align-items:center;gap:2px;margin-bottom:16px;font-size:.9rem;display:flex}.consent-label{cursor:pointer;color:#555;align-items:center;gap:6px;display:flex;margin-bottom:0!important;font-weight:400!important}.consent-label input[type=checkbox]{cursor:pointer;accent-color:#3498db;width:18px;height:18px}.terms-link{color:#3498db;cursor:pointer;background:0 0;border:none;padding:0;font-size:.9rem;text-decoration:underline}.terms-link:hover{color:#2980b9}.terms-modal-overlay{z-index:10000;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.terms-modal{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:600px;max-height:80vh;display:flex;box-shadow:0 10px 40px #0000004d}.terms-modal-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.terms-modal-header h3{color:#2c3e50;margin:0;font-size:1.1rem}.terms-close-btn{cursor:pointer;color:#999;background:0 0;border:none;padding:4px 8px;font-size:1.3rem;line-height:1}.terms-close-btn:hover{color:#333}.terms-modal-body{color:#444;padding:20px;font-size:.88rem;line-height:1.7;overflow-y:auto}.terms-modal-body h4{color:#2c3e50;margin:18px 0 8px;font-size:.95rem}.terms-modal-body h4:first-child{margin-top:0}.terms-modal-body p{margin:6px 0}.terms-modal-body ul{margin:6px 0;padding-left:20px}.terms-modal-body li{margin:4px 0}.terms-modal-footer{text-align:center;border-top:1px solid #eee;padding:12px 20px}.terms-agree-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3498db,#2980b9);border:none;border-radius:8px;padding:10px 32px;font-size:1rem;font-weight:600;transition:transform .2s}.terms-agree-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3498db4d}.password-input-wrapper{align-items:center;display:flex;position:relative}.password-input-wrapper input{width:100%;padding-right:48px}.password-toggle-btn{cursor:pointer;opacity:.6;background:0 0;border:none;padding:4px 8px;font-size:1.2rem;line-height:1;transition:opacity .2s;position:absolute;right:8px}.password-toggle-btn:hover{opacity:1}.forgot-password-link{text-align:right;margin-top:12px;margin-bottom:4px}.forgot-password-btn{color:#3498db;cursor:pointer;background:0 0;border:none;padding:4px 0;font-size:.9rem;text-decoration:underline}.forgot-password-btn:hover{color:#2980b9}.reset-password-dialog{background:#fff;border-radius:16px;width:90%;max-width:400px;padding:28px 24px;box-shadow:0 10px 40px #0000004d}.reset-password-dialog h3{text-align:center;color:#2c3e50;margin-bottom:8px;font-size:1.2rem}.reset-password-hint{text-align:center;color:#888;margin-bottom:20px;font-size:.85rem}.reset-result{text-align:center;border-radius:6px;margin-bottom:12px;padding:8px;font-size:.9rem}.reset-result.success{color:#155724;background:#d4edda}.reset-result.error{color:#721c24;background:#f8d7da}.reset-cancel-btn{color:#888;cursor:pointer;background:0 0;border:1px solid #ddd;border-radius:8px;width:100%;margin-top:8px;padding:12px;font-size:1rem}.reset-cancel-btn:hover{background:#f5f5f5}.message{border-radius:8px;margin-bottom:20px;padding:12px 16px;font-weight:500}.message-slot{min-height:56px;margin-bottom:16px;transition:opacity .2s}.message-slot.empty{opacity:0;pointer-events:none}.message.success{color:#155724;background-color:#d4edda;border:1px solid #c3e6cb}.message.error{color:#721c24;background-color:#f8d7da;border:1px solid #f5c6cb}.message.info{color:#0b5394;background-color:#e7f3ff;border:1px solid #b6d7ff}.toast-container{z-index:3000;pointer-events:none;position:fixed;top:16px;right:16px}.toast{box-sizing:border-box;border:1px solid #0000;border-radius:8px;min-width:min(360px,100vw - 32px);max-width:min(480px,100vw - 32px);padding:10px 16px;font-size:14px;font-weight:500;line-height:1.45;animation:.2s ease-out toastFadeIn;box-shadow:0 6px 18px #00000024}.toast.success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.toast.error{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.toast.info{color:#0b5394;background-color:#e7f3ff;border-color:#b6d7ff}@keyframes toastFadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.bind-container{text-align:center;background:#fff;border-radius:12px;max-width:500px;margin:50px auto;padding:40px;box-shadow:0 10px 30px #0000001a}.auth-error-overlay{z-index:4000;background:#1c19176b;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.auth-error-dialog{text-align:center;background:#fff;border:1px solid #ece7e1;border-radius:16px;width:min(100%,340px);max-height:80vh;padding:28px 24px 22px;overflow-y:auto;box-shadow:0 18px 45px #1c191729}.auth-error-icon{color:#b45309;background:#fef3c7;border-radius:14px;place-items:center;width:48px;height:48px;margin:0 auto 14px;display:grid}.auth-error-title{color:#1c1917;margin:0 0 8px;font-size:1.15rem;font-weight:750}.auth-error-text{color:#57534e;margin:0 0 22px;font-size:.95rem;line-height:1.65}.auth-error-details{text-align:left;margin:0 0 16px}.auth-error-details summary{color:#78716c;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:.8rem}.auth-error-details pre{color:#44403c;white-space:pre-wrap;word-break:break-all;background:#f5f5f4;border-radius:8px;margin-top:6px;padding:10px 12px;font-size:.75rem;overflow-x:auto}.auth-error-close-btn{color:#3d2e1a;cursor:pointer;background:#d7b07a;border:none;border-radius:10px;width:100%;min-height:48px;padding:12px;font-size:1rem;font-weight:750;display:block}.auth-error-close-btn:hover{background:#c9a068}.auth-error-close-btn:active{transform:scale(.98)}.auth-clear-cache-section{text-align:center;border-top:1px solid #e5e7eb;margin-top:24px;padding-top:20px}.clear-cache-btn{color:#6b7280;cursor:pointer;background:0 0;border:1px dashed #9ca3af;border-radius:8px;padding:10px 18px;font-size:.9rem;transition:all .2s}.clear-cache-btn:hover{color:#ef4444;background:#fef2f2;border-color:#ef4444}.clear-cache-btn:disabled{opacity:.5;cursor:not-allowed}.clear-cache-confirm{animation:.2s ease-out fadeIn}.clear-cache-confirm p{color:#dc2626;margin:0 0 12px;font-size:.9rem;font-weight:500}.clear-cache-confirm-btns{justify-content:center;gap:10px;display:flex}.clear-cache-yes-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:6px;padding:8px 20px;font-size:.9rem;font-weight:600}.clear-cache-yes-btn:active{background:#b91c1c}.clear-cache-no-btn{color:#374151;cursor:pointer;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;padding:8px 20px;font-size:.9rem}.clear-cache-result{margin:0 0 10px;font-size:.9rem;font-weight:500}.clear-cache-result.success{color:#059669}.clear-cache-result.error{color:#dc2626}.falling-emojis-container{pointer-events:none;z-index:9999;width:100%;height:100%;position:fixed;top:0;left:0;overflow:hidden}.falling-emoji{will-change:transform;animation:linear forwards emojifall;position:absolute;top:-50px}@keyframes emojifall{0%{opacity:1;transform:translateY(0)rotate(0)}70%{opacity:1}to{opacity:0;transform:translateY(calc(100vh + 60px))rotate(720deg)}}.egg-clickable-title{cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .2s,color .3s}.egg-clickable-title:hover{color:#e74c3c;transform:scale(1.02)}.egg-clickable-title:active{transform:scale(.97)}.egg-ekg-line{width:80%;max-width:300px;height:30px;margin:8px auto 4px;overflow:hidden}.egg-ekg-svg{width:100%;height:100%}.egg-ekg-path{stroke-dasharray:500;stroke-dashoffset:500px;animation:2s ease-in-out infinite ekgDraw}@keyframes ekgDraw{0%{stroke-dashoffset:500px}50%{stroke-dashoffset:0}to{stroke-dashoffset:-500px}}.egg-shake{animation:.6s ease-in-out eggShake}@keyframes eggShake{0%,to{transform:translate(0)}10%{transform:translate(-8px)rotate(-1deg)}20%{transform:translate(8px)rotate(1deg)}30%{transform:translate(-6px)rotate(-.5deg)}40%{transform:translate(6px)rotate(.5deg)}50%{transform:translate(-4px)}60%{transform:translate(4px)}70%{transform:translate(-2px)}80%{transform:translate(2px)}}.konami-active{animation:3s ease-in-out konamiBg}@keyframes konamiBg{0%{background:inherit}25%{background:linear-gradient(135deg,#667eea22 0%,#764ba222 100%)}50%{background:linear-gradient(135deg,#f093fb22 0%,#f5576c22 100%)}75%{background:linear-gradient(135deg,#4facfe22 0%,#00f2fe22 100%)}to{background:inherit}}.konami-toast{color:#fff;z-index:10000;white-space:nowrap;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:30px;padding:12px 28px;font-size:.95rem;font-weight:600;animation:.5s ease-out toastIn,.5s ease-in 5s forwards toastOut;position:fixed;top:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #667eea66}@keyframes toastIn{0%{opacity:0;transform:translate(-50%)translateY(-30px)}to{opacity:1;transform:translate(-50%)translateY(0)}}@keyframes toastOut{0%{opacity:1}to{opacity:0;transform:translate(-50%)translateY(-20px)}}.egg-spin{animation:.5s ease-in-out eggSpin}@keyframes eggSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.egg-pulse-hover{position:relative;overflow:hidden}.egg-pulse-hover:hover:not(:disabled){animation:1.5s ease-in-out infinite pulseGlow}@keyframes pulseGlow{0%{box-shadow:0 0 #3498db80}50%{box-shadow:0 0 0 10px #3498db00}to{box-shadow:0 0 #3498db00}}.onboarding-overlay{z-index:10000;background:#0000008c;justify-content:center;align-items:center;padding:16px;animation:.3s ease-out fadeIn;display:flex;position:fixed;inset:0}.onboarding-card{text-align:center;background:#fff;border-radius:20px;width:min(100%,480px);max-height:90vh;padding:clamp(24px,5vw,40px);animation:.4s ease-out onboardSlideUp;overflow-y:auto;box-shadow:0 20px 60px #00000040}@keyframes onboardSlideUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}.onboarding-progress{justify-content:center;gap:10px;margin-bottom:24px;display:flex}.onboarding-dot{background:#e0e0e0;border-radius:50%;width:12px;height:12px;transition:all .3s}.onboarding-dot.active{background:#3498db;transform:scale(1.3);box-shadow:0 0 0 4px #3498db33}.onboarding-dot.done{background:#2ecc71}.onboarding-icon{margin-bottom:12px;font-size:56px;line-height:1.2}.onboarding-title{color:#2c3e50;margin:0 0 16px;font-size:clamp(1.4rem,5vw,1.7rem);font-weight:700;line-height:1.3}.onboarding-body{text-align:left;color:#34495e;margin-bottom:16px;font-size:clamp(1.05rem,3.5vw,1.2rem);line-height:1.8}.onboarding-body p{margin:0}.onboarding-tip{text-align:left;color:#7d6608;background:#fef9e7;border:1px solid #f9e79f;border-radius:12px;align-items:flex-start;gap:10px;margin-bottom:20px;padding:14px 16px;font-size:clamp(.95rem,3vw,1.05rem);line-height:1.6;display:flex}.onboarding-tip-icon{flex-shrink:0;margin-top:2px;font-size:1.2rem}.onboarding-action-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3498db,#2980b9);border:none;border-radius:14px;width:100%;margin-bottom:16px;padding:16px 20px;font-size:clamp(1.1rem,3.5vw,1.25rem);font-weight:600;transition:transform .15s,box-shadow .2s;display:block}.onboarding-action-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #3498db59}.onboarding-action-btn:active{transform:translateY(1px)}.onboarding-nav{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.onboarding-prev-btn,.onboarding-next-btn{cursor:pointer;border:none;border-radius:12px;padding:14px 24px;font-size:clamp(1rem,3vw,1.1rem);font-weight:600;transition:transform .15s,background .2s}.onboarding-prev-btn{color:#555;background:#f0f0f0}.onboarding-prev-btn:hover{background:#e0e0e0}.onboarding-next-btn{color:#fff;background:#2ecc71;flex:1;max-width:200px}.onboarding-next-btn:hover{background:#27ae60;transform:translateY(-1px)}.onboarding-next-btn:active{transform:translateY(1px)}.onboarding-skip-btn{color:#999;cursor:pointer;background:0 0;border:none;margin-top:8px;padding:8px 16px;font-size:.95rem;text-decoration:underline;transition:color .2s;display:inline-block}.onboarding-skip-btn:hover{color:#666}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.bind-notice{color:#fff;text-align:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:8px;margin-bottom:20px;padding:15px 20px}.bind-notice p{margin:5px 0;line-height:1.6}.bind-notice strong{font-weight:600;text-decoration:underline}.bind-info{text-align:left;background:#f8f9fa;border-radius:8px;margin:20px 0;padding:20px}.bind-info .info-item{border-bottom:1px solid #dee2e6;justify-content:space-between;padding:10px 0;display:flex}.bind-info .info-item:last-child{border-bottom:none}.bind-info .label{color:#6c757d;font-weight:500}.bind-info .value{color:#2c3e50;word-break:break-all;font-weight:600}.qr-section{margin:30px 0}.qr-placeholder{background:#f8f9fa;border:2px dashed #dee2e6;border-radius:8px;padding:40px}.bind-actions{justify-content:center;gap:15px;display:flex}.bind-button,.cancel-button{cursor:pointer;border:none;border-radius:8px;padding:12px 24px;font-size:1rem;font-weight:500;transition:all .3s}.bind-button{color:#fff;background:#28a745}.bind-button:hover:not(:disabled){background:#218838}.cancel-button{color:#fff;background:#6c757d}.cancel-button:hover{background:#5a6268}.auth-app{--auth-ink:#1c314c;--auth-muted:#667892;--auth-teal:#2a67d6;--auth-teal-dark:#1e54b8;--auth-mint:#e7f0fc;--auth-surface:#fff;--auth-line:#d4e2f4;--auth-focus:#2a67d624;background:#eef4fb;min-height:100dvh;padding:clamp(18px,5vh,56px) 16px}.auth-app:before{z-index:0;content:"";pointer-events:none;background:#dce8f8;height:min(38vh,290px);position:fixed;inset:0 0 auto}.auth-app.auth-app--dermphd{--auth-ink:#203b38;--auth-muted:#667c77;--auth-teal:#287d70;--auth-teal-dark:#1f665d;--auth-mint:#e4f2ed;--auth-line:#cfe2dc;--auth-focus:#287d7029;background:#edf5f2}.auth-app.auth-app--dermphd:before{background:linear-gradient(145deg,#d9ebe5 0%,#e8f2ef 68%,#f5f8f7 100%)}.auth-app.auth-app--dermphd .auth-container{box-shadow:0 18px 45px #22574f1f}.auth-app .auth-container{z-index:1;background:#fffffff5;border:1px solid #ffffffc7;border-radius:16px;width:min(100%,460px);margin:0 auto;padding:clamp(26px,5vw,38px);position:relative;box-shadow:0 18px 45px #1c3a701f}.auth-app .auth-header{text-align:left;margin-bottom:28px}.auth-brand-lockup{align-items:center;gap:12px;display:flex}.auth-brand-mark{color:#fff;width:48px;height:48px;box-shadow:none;background:0 0;border-radius:14px;place-items:center;display:grid;overflow:hidden}.auth-brand-mark:has(.app-icon){background:var(--auth-teal);box-shadow:0 8px 18px #2a67d62e}.auth-brand-mark img{object-fit:cover;width:100%;height:100%;display:block}.auth-brand-kicker{color:var(--auth-teal);letter-spacing:.12em;margin-bottom:3px;font-size:10px;font-weight:800;display:block}.auth-app .auth-header h1{color:var(--auth-teal);letter-spacing:0;margin:0;font-size:clamp(25px,7vw,30px);font-weight:760}.auth-app .auth-header p{color:var(--auth-muted);margin:14px 0 0;font-size:14px;line-height:1.6}.auth-app .auth-header .auth-scope-label{color:var(--auth-teal);margin-top:8px;font-size:13px;font-weight:700}.auth-app .auth-region-badge{color:#2a67d6;background:#f3f7fd;border:1px solid #c9daf3;border-radius:999px;margin-top:12px;padding:6px 10px;font-size:12px}.auth-app .auth-tabs{background:#eaf1fb;border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:28px;padding:4px;display:grid}.auth-app .auth-tab{color:#6b7d92;background:0 0;border:0;border-radius:9px;min-height:44px;padding:0 16px;font-size:14px;font-weight:700;transition:background .16s,color .16s,transform .16s}.auth-app .auth-tab.active{color:#fff;background:var(--auth-teal);box-shadow:none}.auth-app .auth-tab:hover:not(.active){color:var(--auth-ink);background:#fff}.auth-app .auth-tab:active{transform:scale(.98)}.auth-app .auth-form{margin-bottom:22px}.auth-app .auth-form h2{color:var(--auth-ink);text-align:left;margin:0 0 22px;font-size:19px;font-weight:750}.auth-app .auth-login-title{display:none}.auth-app .auth-switch-link{color:var(--auth-muted);text-align:center;margin:14px 0 0;font-size:13px}.auth-app .auth-switch-link button{color:var(--auth-teal);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:750}.auth-app .auth-account-actions{color:var(--auth-muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 18px;margin-top:16px;font-size:14px;display:flex}.auth-app .auth-register-link,.auth-app .forgot-password-btn{min-height:40px;color:var(--auth-teal);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:0;padding:6px 0;font-weight:700}.auth-app .auth-register-prefix{color:var(--auth-muted);font-weight:500}.auth-app .auth-register-action{margin-left:4px}.auth-app .auth-register-link:hover,.auth-app .forgot-password-btn:hover{text-underline-offset:4px;text-decoration:underline}.auth-app .auth-account-divider{background:var(--auth-line);width:1px;height:16px}.auth-app .form-group{margin-bottom:16px}.auth-app .form-group label{color:#41556d;margin-bottom:7px;font-size:13px;font-weight:700}.auth-app .form-group input,.auth-app .form-group select,.auth-app .form-group textarea{border:1px solid var(--auth-line);min-height:52px;color:var(--auth-ink);background:#fbfdff;border-radius:10px;padding:0 14px;font-size:16px;transition:border-color .16s,box-shadow .16s,background .16s}.auth-app .form-group input::placeholder{color:#8ea0b5}.auth-app .auth-invite-code-input{text-overflow:ellipsis;letter-spacing:0;text-align:left;font-size:16px;font-weight:500;overflow:hidden}.auth-app .auth-invite-code-input:not(:placeholder-shown){letter-spacing:.28em;text-align:center;font-size:1.15rem;font-weight:700}.auth-app .form-group input:focus,.auth-app .form-group select:focus,.auth-app .form-group textarea:focus{border-color:var(--auth-teal);box-shadow:0 0 0 3px var(--auth-focus);background:#fff}.auth-app .password-toggle-btn{color:var(--auth-teal)}.auth-app .app-select{z-index:1;width:100%;position:relative}.auth-app .app-select.is-open{z-index:50}.auth-app .app-select-trigger{border:1px solid var(--auth-line);width:100%;min-height:52px;color:var(--auth-ink);font:inherit;text-align:left;cursor:pointer;background:#fbfdff;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:0 14px;font-size:16px;transition:border-color .16s,box-shadow .16s,background .16s;display:flex}.auth-app .app-select-trigger.is-placeholder{color:#8ea0b5}.auth-app .app-select.is-open .app-select-trigger,.auth-app .app-select-trigger:focus-visible{border-color:var(--auth-teal);box-shadow:0 0 0 3px var(--auth-focus);background:#fff;outline:none}.auth-app .app-select.is-disabled .app-select-trigger{color:#8091a3;cursor:not-allowed;background:#f1f4f8}.auth-app .app-select-arrow{border-bottom:2px solid;border-right:2px solid;flex:none;width:9px;height:9px;transition:transform .16s;transform:rotate(45deg)translateY(-2px)}.auth-app .app-select.is-open .app-select-arrow{transform:rotate(225deg)translate(-2px,-2px)}.auth-app .app-select-menu{z-index:40;border:1px solid var(--auth-line);background:#fff;border-radius:12px;gap:2px;max-height:240px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 14px 28px #1c3a7024}.auth-app .app-select-menu button{color:#29445e;width:100%;min-height:46px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:16px;display:flex}.auth-app .app-select-menu button:hover,.auth-app .app-select-menu button:focus-visible{background:#eef4fc;outline:none}.auth-app .app-select-menu button.selected{color:var(--auth-teal-dark);background:#e7f0fc;font-weight:700}.auth-app .app-select-native{clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.auth-app .auth-button{color:#fff;background:var(--auth-teal);min-height:52px;box-shadow:none;border-radius:10px;padding:0 20px;font-size:16px;font-weight:750;transition:background .16s,transform .16s}.auth-app .auth-button:hover:not(:disabled){background:var(--auth-teal-dark);box-shadow:none;transform:translateY(-1px)}.auth-app .auth-button:active:not(:disabled){transform:scale(.98)}.auth-app .auth-button:focus-visible,.auth-app button:focus-visible,.auth-app input:focus-visible,.auth-app select:focus-visible{outline-offset:2px;outline:3px solid #2a67d647}.auth-app .auth-button:disabled{color:#ffffffc7;background:#9bb6e3}.auth-app .forgot-password-link{margin-top:14px}.auth-app .forgot-password-btn,.auth-app .terms-link{color:var(--auth-teal);font-weight:700}.auth-demo-accounts{border-top:1px solid #e5eaf0;margin-top:26px;padding-top:18px}.auth-demo-heading{color:var(--auth-ink);justify-content:space-between;align-items:baseline;margin-bottom:10px;font-size:13px;display:flex}.auth-demo-heading span{color:#8091a3;font-size:11px}.auth-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.auth-demo-account{min-width:0;color:var(--auth-ink);font:inherit;text-align:left;cursor:pointer;background:#f8fafd;border:1px solid #d4e2f4;border-radius:10px;gap:3px;padding:11px;transition:border-color .16s,background .16s,transform .16s;display:grid}.auth-demo-account:hover{background:#eef4fc;border-color:#95b4e8}.auth-demo-account:active{transform:scale(.98)}.auth-demo-role{color:var(--auth-teal);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;overflow:hidden}.auth-demo-account strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.auth-demo-account small,.auth-demo-account em{color:#73808e;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal;overflow:hidden}.auth-demo-account em{color:#49617a}.auth-app .bind-notice{color:#3d5a8a;background:#eef4fc;border:1px solid #c9daf3;border-radius:8px;margin:0 0 12px;padding:8px 10px;font-size:12px;line-height:1.45}.auth-app .bind-notice p{align-items:flex-start;gap:6px;margin:0;line-height:1.45;display:flex}.auth-app .bind-notice p+p{margin-top:4px}.auth-app .bind-notice svg{flex:none;margin-top:1px}.auth-app .bind-notice--compact{padding:7px 8px}.auth-app .bind-notice--compact p{white-space:nowrap;align-items:center}.auth-app .bind-notice--compact svg{margin-top:0}.auth-app .auth-clear-cache-section{border-top:1px solid #e5eaf0;margin-top:22px;padding-top:18px}.auth-app .clear-cache-btn{color:#71808e;font-size:12px}.ios-home-card{background:linear-gradient(#f4f8fd 0%,#eef4fb 100%);border:1px solid #c9daf3;border-radius:14px;gap:12px;margin:0 0 22px;padding:14px 14px 13px;display:grid}.ios-home-card-copy strong{color:var(--auth-ink);font-size:15px;font-weight:760;display:block}.ios-home-card-copy p{color:var(--auth-muted);margin:4px 0 0;font-size:13px;line-height:1.5}.ios-home-card-action{color:#fff;background:var(--auth-teal);border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-size:14px;font-weight:700;display:inline-flex}.ios-home-card-action:active{transform:scale(.98)}.ios-home-guide-overlay{z-index:40;background:#1c314c6b;align-items:end;padding:16px;display:grid;position:fixed;inset:0}.ios-home-guide{background:#fff;border-radius:18px;width:min(100%,460px);margin:0 auto;padding:18px 16px 16px;box-shadow:0 18px 40px #1c314c2e}.ios-home-guide-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.ios-home-guide-header h3{color:var(--auth-ink);margin:0;font-size:18px;font-weight:760}.ios-home-guide-close{color:#5b6d82;background:#eef4fb;border:0;border-radius:999px;place-items:center;width:36px;height:36px;display:grid}.ios-home-guide-steps{gap:12px;margin:0;padding:0;list-style:none;display:grid}.ios-home-guide-steps li{align-items:flex-start;gap:10px;display:flex}.ios-home-guide-index{color:#fff;background:var(--auth-teal);border-radius:999px;flex:none;place-items:center;width:24px;height:24px;margin-top:1px;font-size:12px;font-weight:800;display:grid}.ios-home-guide-steps strong{color:var(--auth-ink);align-items:center;gap:6px;font-size:14px;display:inline-flex}.ios-home-guide-steps p{color:var(--auth-muted);margin:3px 0 0;font-size:13px;line-height:1.5}.ios-home-share-glyph{color:var(--auth-teal)}.ios-home-guide-copy{width:100%;min-height:44px;color:var(--auth-teal-dark);background:#f3f7fd;border:1px solid #c9daf3;border-radius:10px;margin-top:16px;font-size:14px;font-weight:700}.ios-home-guide-copy-result,.ios-home-guide-note{color:#73808e;word-break:break-all;margin:10px 0 0;font-size:12px;line-height:1.5}@media (width<=520px){.auth-app{padding:16px 12px 26px}.auth-app .auth-container{border-radius:14px;min-height:calc(100dvh - 42px);padding:26px 20px}}.auth-app--scoped{background:#eef4fb;min-height:100dvh;padding:30px 60px 0 0}.auth-app--scoped:before{background:#eef4fb;height:100%}.auth-app--professional{--auth-ink:#1c314c;--auth-muted:#667892;--auth-teal:#2a67d6;--auth-teal-dark:#1e54b8;background:#eef4fb}.auth-app--professional:before{background:#eef4fb}.auth-app--scoped .auth-container{background:#fffffff5;border:0;border-radius:0 34px 34px 0;width:min(100%,900px);max-width:900px;min-height:calc(100dvh - 30px);margin:0;padding:82px 62px 76px;box-shadow:12px 0 34px #1c3a7014}.auth-app--scoped .auth-header{max-width:765px;margin-bottom:68px}.auth-app--scoped .auth-brand-lockup{gap:24px}.auth-app--scoped .auth-brand-mark{width:96px;height:96px;box-shadow:none;background:0 0;border-radius:28px;flex:none;padding:0}.auth-app--scoped .auth-brand-mark .app-icon{width:48px;height:48px}.auth-app--scoped .auth-brand-kicker{color:var(--auth-teal);letter-spacing:.1em;margin-bottom:12px;font-size:20px}.auth-app--scoped .auth-header h1{color:var(--auth-teal);font-size:clamp(36px,4vw,50px);line-height:1.05}.auth-app--scoped .auth-header .auth-scope-label{color:var(--auth-muted);margin-top:38px;font-size:20px;font-weight:500}.auth-app--scoped .auth-form{max-width:700px;margin-bottom:0}.auth-app--scoped .auth-login-form>h2{display:none}.auth-app--professional .auth-login-hint{color:var(--auth-muted);margin:0 0 28px;font-size:17px;line-height:1.6;display:block}.change-password-title{margin:0 0 8px;font-size:16px}.change-password-hint{color:#73808e;margin:0 0 14px;font-size:13px;line-height:1.45}.doctor-change-password-card{margin-top:16px}.auth-app .reset-password-dialog{max-width:420px;max-height:min(86vh,720px);overflow-y:auto}.auth-app .reset-password-dialog .reset-cancel-btn{box-sizing:border-box;border-color:#0000;width:auto;height:40px;min-height:40px;margin:8px auto 0;padding:0 20px;font-size:15px;line-height:1.2;display:block}.auth-app--scoped .reset-password-dialog .form-group{margin-bottom:14px}.auth-app--scoped .reset-password-dialog .form-group label{margin-bottom:6px;font-size:14px}.auth-app--scoped .reset-password-dialog .form-group input,.auth-app--scoped .reset-password-dialog .password-input-wrapper input{border-width:1px;border-radius:10px;min-height:46px;padding:0 12px;font-size:16px}.auth-app--scoped .reset-password-dialog .password-input-wrapper{border-width:1px;border-radius:10px}.auth-app--scoped .reset-password-dialog .auth-code-row{grid-template-columns:minmax(0,1fr) 118px;gap:8px}.auth-app--scoped .reset-password-dialog .auth-code-button{border-width:1px;border-radius:10px;min-height:46px;padding:0 10px;font-size:14px}.auth-app--scoped .reset-password-dialog .auth-button{min-height:46px;font-size:16px}.auth-app--scoped .auth-login-mode-switch{align-items:center;gap:46px;margin:0 0 48px;display:flex}.auth-app--scoped .auth-login-mode-switch button{color:#6b7d92;min-height:46px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:22px;font-weight:700;position:relative}.auth-app--scoped .auth-login-mode-switch button.active{color:var(--auth-teal)}.auth-app--scoped .auth-login-mode-switch button.active:after{content:"";background:currentColor;border-radius:3px;height:3px;position:absolute;bottom:-10px;left:0;right:0}.auth-app--scoped .form-group{margin-bottom:24px}.auth-app--scoped .form-group label{color:#587082;margin-bottom:10px;font-size:19px;font-weight:700}.auth-app--scoped .form-group input{background:#fbfdff;border:2px solid #cbdde9;border-radius:16px;min-height:76px;padding:0 22px;font-size:21px}.auth-app--consumer .form-group input{border-color:#c9dce8}.auth-app--professional .form-group input{border-color:#c6dce2}.auth-app--scoped .form-group input::placeholder{color:#a3b4b4}.auth-app--scoped .password-input-wrapper{background:#fbfdff;border:2px solid #cbdde9;border-radius:16px}.auth-app--scoped .password-input-wrapper input{background:0 0;border:0;min-height:72px}.auth-app--scoped .password-input-wrapper:focus-within{border-color:var(--auth-teal);box-shadow:0 0 0 4px var(--auth-focus)}.auth-app--scoped .password-toggle-btn{color:#6b8ec8;right:22px}.auth-app--scoped .password-toggle-btn .app-icon{width:30px;height:30px}.auth-app--scoped .auth-code-row{grid-template-columns:minmax(0,1fr) 180px;gap:14px;display:grid}.auth-app--scoped .auth-code-row input{width:100%}.auth-app--scoped .auth-code-button{border:2px solid var(--auth-teal);min-height:76px;color:var(--auth-teal);font:inherit;background:#f5f9ff;border-radius:16px;padding:0 16px;font-size:19px;font-weight:750}.auth-app--scoped .auth-code-button:disabled{color:#8da0b8;cursor:not-allowed;border-color:#bcd0e6}.auth-app--scoped .auth-code-message{color:var(--auth-teal);margin:10px 0 0;font-size:14px}.auth-app--scoped .auth-button{border-radius:16px;min-height:78px;font-size:24px}.auth-app--scoped .auth-login-form .auth-button,.auth-app--scoped .auth-role-choice-form .auth-button,.auth-app--scoped .auth-register-form .auth-button{background:var(--auth-teal)!important;color:#fff!important}.auth-app--scoped .auth-login-form .auth-button:hover:not(:disabled),.auth-app--scoped .auth-role-choice-form .auth-button:hover:not(:disabled),.auth-app--scoped .auth-register-form .auth-button:hover:not(:disabled){background:var(--auth-teal-dark)!important}.auth-app--scoped .auth-account-actions{gap:8px 22px;margin-top:18px}.auth-app--scoped .auth-register-link,.auth-app--scoped .forgot-password-btn{min-height:44px;font-size:17px}.auth-app--scoped .auth-register-link{color:var(--auth-teal)}.auth-app--scoped .forgot-password-btn{color:var(--auth-teal);text-decoration:none}.auth-app--scoped .auth-account-divider{height:18px}.auth-app--scoped .auth-switch-link{margin-top:24px;font-size:17px}.auth-app--scoped .auth-register-hint,.auth-app--scoped .auth-role-choice-hint{color:var(--auth-muted);margin:-10px 0 28px;font-size:17px;line-height:1.6}.auth-app--scoped .auth-role-choice-form h2{margin-bottom:18px}.auth-app--scoped .auth-role-choice-list{gap:14px;margin-bottom:30px;display:grid}.auth-app--scoped .auth-role-choice{width:100%;min-height:104px;color:var(--auth-ink);font:inherit;text-align:left;background:#fbfdff;border:2px solid #d5e2ef;border-radius:16px;grid-template-columns:68px minmax(0,1fr) 24px;align-items:center;gap:18px;padding:16px 20px;display:grid}.auth-app--scoped .auth-role-choice.is-selected{border-color:var(--auth-teal);box-shadow:0 0 0 3px var(--auth-focus);background:#eef4fc}.auth-app--scoped .auth-role-choice-icon{color:#2569d6;background:linear-gradient(145deg,#f4f9ff 0%,#dcecff 100%);border:1px solid #c8dcf4;border-radius:50%;place-items:center;width:64px;height:64px;display:grid;overflow:hidden;box-shadow:inset 0 0 0 4px #ffffffb8,0 5px 12px #2a67d61f}.auth-app--scoped .auth-role-choice-icon--family{color:var(--auth-teal);background:linear-gradient(145deg,#f4f9ff 0%,#dcecff 100%);border-color:#c8dcf4;box-shadow:inset 0 0 0 4px #ffffffb8,0 5px 12px #2a67d61f}.auth-app--scoped .role-avatar-illustration{object-fit:cover;object-position:center;border-radius:50%;width:64px;height:64px;display:block}.auth-app--scoped .auth-role-choice strong,.auth-app--scoped .auth-role-choice small{display:block}.auth-app--scoped .auth-role-choice strong{font-size:22px}.auth-app--scoped .auth-role-choice small{color:var(--auth-muted);margin-top:6px;font-size:15px}.auth-app--scoped .auth-role-choice-check{color:var(--auth-teal);opacity:0}.auth-app--scoped .auth-role-choice.is-selected .auth-role-choice-check{opacity:1}.auth-app--scoped .auth-role-binding-field{margin-top:8px}.auth-app--scoped .auth-role-choice-error{color:#d94d4d;margin:-8px 0 16px;font-size:14px}@media (width<=900px){.auth-app--scoped{padding:0;background:#fff!important}.auth-app--scoped:before{display:none}.auth-app--scoped .auth-container{border-radius:0;width:100%;max-width:none;min-height:100dvh;padding:36px 22px 48px;box-shadow:none!important;background:#fff!important}.auth-app--scoped .auth-header{margin-bottom:32px}.auth-app--scoped .auth-brand-lockup{gap:16px}.auth-app--scoped .auth-brand-mark{border-radius:19px;width:64px;height:64px}.auth-app--scoped .auth-brand-mark .app-icon{width:34px;height:34px}.auth-app--scoped .auth-brand-kicker{margin-bottom:5px;font-size:12px}.auth-app--scoped .auth-header h1{font-size:30px}.auth-app--scoped .auth-header .auth-scope-label{margin-top:18px;font-size:16px}.auth-app--scoped .auth-login-mode-switch{gap:22px;margin-bottom:32px}.auth-app--scoped .auth-login-mode-switch button{font-size:18px}.auth-app--scoped .form-group{margin-bottom:18px}.auth-app--scoped .form-group label{margin-bottom:7px;font-size:16px}.auth-app--scoped .form-group input,.auth-app--scoped .password-input-wrapper input{border-radius:12px;min-height:52px;padding:0 14px;font-size:16px}.auth-app--scoped .password-input-wrapper{border-radius:12px}.auth-app--scoped .password-toggle-btn{right:16px}.auth-app--scoped .auth-code-row{grid-template-columns:minmax(0,1fr) 132px;gap:10px}.auth-app--scoped .auth-code-button{border-radius:12px;min-height:52px;padding:0 8px;font-size:14px}.auth-app--scoped .auth-button{border-radius:12px;min-height:58px;font-size:18px}.auth-app--scoped .auth-account-actions{gap:12px;margin-top:14px}.auth-app--scoped .auth-register-link,.auth-app--scoped .forgot-password-btn{font-size:14px}.auth-app--scoped .auth-role-choice{grid-template-columns:58px minmax(0,1fr) 20px;gap:14px;min-height:90px;padding:12px 14px}.auth-app--scoped .auth-role-choice-icon,.auth-app--scoped .role-avatar-illustration{width:56px;height:56px}.auth-app--scoped .auth-role-choice strong{font-size:18px}.auth-app--scoped .auth-role-choice small{margin-top:5px;font-size:14px}}.auth-app .auth-button,.auth-app .terms-agree-btn,.auth-app .auth-error-close-btn,.auth-app .reset-password-dialog .auth-button{background:var(--auth-teal)!important;border-color:var(--auth-teal)!important;color:#fff!important;box-shadow:none!important}.auth-app .auth-button:hover:not(:disabled),.auth-app .terms-agree-btn:hover,.auth-app .auth-error-close-btn:hover,.auth-app .reset-password-dialog .auth-button:hover:not(:disabled){background:var(--auth-teal-dark)!important;border-color:var(--auth-teal-dark)!important}.auth-app .consent-label input[type=checkbox]{accent-color:var(--auth-teal)}.auth-app .terms-link,.auth-app .terms-link:hover{color:var(--auth-teal)!important}.auth-app .terms-modal-header h3,.auth-app .reset-password-dialog h3{color:var(--auth-ink)}.auth-app .auth-error-icon{color:var(--auth-teal);background:var(--auth-mint)}.app-header{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:20px 0;box-shadow:0 2px 10px #0000001a}.header-content{justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 20px;display:flex}.header-content h1{font-size:1.8rem;font-weight:700}.user-info{align-items:center;gap:15px;display:flex}.name-link-button{color:#fff;cursor:pointer;background:0 0;border:none;padding:0;font-size:1rem;font-weight:600}.name-link-button:hover{text-decoration:underline}.role-switch-group{flex-wrap:wrap;gap:8px;display:flex}.role-switch-button{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff59;border-radius:999px;padding:6px 12px}.role-switch-button.active{color:#4b5563;background:#fff}.user-role{background:#fff3;border-radius:20px;padding:4px 12px;font-size:.9rem}.logout-button{color:#fff;cursor:pointer;background:#fff3;border:1px solid #ffffff4d;border-radius:6px;padding:8px 16px;transition:all .3s}.logout-button:hover{background:#ffffff4d}.app-nav{background:#fff;border-bottom:1px solid #e1e8ed;gap:10px;padding:0 20px;display:flex}.nav-button{color:#666;cursor:pointer;background:0 0;border:none;border-bottom:3px solid #0000;padding:15px 20px;font-size:1rem;font-weight:500;transition:all .3s}.nav-button:hover,.nav-button.active{color:#3498db;border-bottom-color:#3498db}.app-main{touch-action:pan-y;flex:1;width:100%;max-width:1200px;margin:0 auto;padding:24px 20px 40px}.dashboard{background:#fff;border-radius:12px;padding:clamp(20px,3vw,30px);box-shadow:0 2px 10px #0000000d}.dashboard h2{color:#2c3e50;margin-bottom:30px}.family-banner{color:#e65100;background:#fff3e0;border:1px solid #ffe0b2;border-radius:8px;margin-bottom:20px;padding:10px 16px;font-size:16px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;display:grid}.stat-card{text-align:center;background:#f8f9fa;border:1px solid #e1e8ed;border-radius:8px;padding:20px}.stat-card-plain{box-shadow:none;background:0 0;border:none}.stat-card h3{color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:10px;font-size:.9rem}.stat-number{color:#3498db;font-size:2.5rem;font-weight:700}.stat-subtitle{color:#6c757d;margin-top:6px;font-size:.85rem;line-height:1.4}.stat-card-highlight{background:linear-gradient(#fffaf2 0%,#fff4e4 100%);border-color:#ffd7a8}.stat-subtitle-alert{color:#c66a00;font-weight:600}.patient-doctor-name{word-break:break-word;line-height:1.1}.patient-top-actions{flex-wrap:wrap;gap:12px;margin-bottom:26px;display:flex}.patient-top-actions .action-button{margin-bottom:0}.patient-ai-entry-card{text-align:left;cursor:pointer;background:radial-gradient(circle at 100% 0,#f4b1833d,#0000 34%),linear-gradient(135deg,#f5fbff 0%,#fff9ef 56%,#fff4ec 100%);border:1px solid #d7e4ef;border-radius:22px;width:100%;padding:22px 20px;font-family:inherit;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 12px 28px #24476a1a}.patient-ai-entry-card:hover:not(:disabled){border-color:#bfd6ea;transform:translateY(-1px);box-shadow:0 16px 34px #24476a24}.patient-ai-entry-card:disabled{opacity:.78;cursor:not-allowed}.patient-ai-entry-top{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.patient-ai-entry-kicker{color:#8f4a1e;letter-spacing:.04em;background:#ffffffb8;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:.82rem;font-weight:700;display:inline-flex}.patient-ai-entry-top h3{color:#18344f;margin:10px 0 0;font-size:1.32rem;line-height:1.3}.patient-ai-entry-copy{color:#496178;margin:14px 0 0;font-size:.98rem;line-height:1.7}.patient-ai-entry-meta{color:#5f7285;flex-wrap:wrap;gap:8px 12px;margin-top:14px;font-size:.88rem;display:flex}.patient-ai-entry-meta span{background:#ffffffa8;border:1px solid #bfd6eab8;border-radius:999px;padding:7px 10px}.patient-ai-entry-cta{color:#fff;background:linear-gradient(135deg,#1d6ea9,#0f8f88);border-radius:14px;justify-content:center;align-items:center;margin-top:18px;padding:11px 16px;font-size:.95rem;font-weight:700;display:inline-flex;box-shadow:0 10px 18px #0f8f882e}.patient-doctor-directory{flex-direction:column;gap:18px;display:flex}.patient-doctor-directory-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.patient-doctor-directory-card{background:#fff;border:1px solid #e3edf4;border-radius:18px;flex-direction:column;gap:16px;padding:20px;display:flex;box-shadow:0 10px 24px #1c3a5b0f}.patient-doctor-directory-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.patient-doctor-directory-name-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.patient-doctor-directory-name-row h3{color:#223548;margin:0}.patient-doctor-directory-head p{color:#667085;margin:6px 0 0}.patient-doctor-directory-actions{flex-wrap:wrap;gap:10px;display:flex}.stat-link{color:#3498db;cursor:pointer;background:0 0;border:none;padding:0}.stat-link:disabled{color:#bfc9d9;cursor:not-allowed}.quick-actions{flex-wrap:wrap;gap:15px;margin-bottom:30px;display:flex}.bind-code-box{flex-direction:column;gap:8px;width:min(100%,360px);min-width:0;display:flex}.bind-code-box label{color:#2c3e50;font-weight:600}.bind-code-row{align-items:center;gap:8px;display:flex}.bind-code-row input{border:2px solid #e1e8ed;border-radius:8px;flex:1;padding:10px 12px;font-size:.95rem}.action-button{color:#fff;cursor:pointer;background:#3498db;border:none;border-radius:8px;padding:15px 25px;font-size:1rem;font-weight:500;transition:all .3s}.action-button:hover{background:#2980b9;transform:translateY(-2px);box-shadow:0 5px 15px #3498db4d}.qr-display{text-align:center;background:#fff;border-radius:16px;padding:30px;position:relative;overflow:hidden;box-shadow:0 4px 20px #00000014}.qr-display:before{content:"";background:linear-gradient(90deg,#1a73e8,#4fc3f7,#1a73e8);height:4px;position:absolute;top:0;left:0;right:0}.qr-display.doctor-permanent-qr{flex-direction:column;align-items:center;gap:12px;min-height:320px;padding:32px 24px 24px;display:flex}.qr-card-badge{color:#fff;letter-spacing:1px;text-transform:uppercase;background:linear-gradient(135deg,#1a73e8,#4fc3f7);border-radius:20px;padding:3px 14px;font-size:.82rem;font-weight:600;display:inline-block}.qr-card-title{color:#2c3e50;margin:4px 0 8px;font-size:1.15rem;font-weight:700}.qr-code-wrapper{background:#fff;border:2px solid #e8ecf0;border-radius:16px;padding:16px;display:inline-block;position:relative;box-shadow:0 2px 12px #1a73e81a}.qr-doctor-name-overlay{background:#fff;border-radius:6px;padding:3px 10px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 1px 4px #0000001f}.qr-doctor-name-overlay span{color:#1a73e8;white-space:nowrap;letter-spacing:.5px;font-size:.8rem;font-weight:700}.qr-card-hint{color:#666;margin:4px 0 0;font-size:.9rem}.qr-card-status{margin:0;font-size:.82rem;font-weight:500}.qr-card-status-ok{color:#27ae60}.qr-card-status-error{color:#e74c3c}.qr-card-url{color:#aaa;word-break:break-all;max-width:280px;margin:0;font-size:.8rem;line-height:1.4}.stats-grid{min-height:180px}.modal-backdrop{z-index:9999;background:#00000059;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:12px;width:min(640px,90vw);max-height:80vh;padding:20px;overflow:auto;box-shadow:0 10px 30px #00000026}.modal-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.close-button{cursor:pointer;background:0 0;border:none;font-size:1.4rem}.consult-list{flex-direction:column;gap:12px;display:flex}.consult-item{background:#f8fbff;border:1px solid #e1e8ed;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px;display:flex}.consult-info{flex-direction:column;gap:4px;display:flex}.consult-name{color:#1f2d3d;font-weight:700}.consult-meta{color:#6b7a90;font-size:.9rem}.consult-item .action-button{flex-shrink:0}.section-title-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.patients-section h2{color:#2c3e50;margin-bottom:0}.patients-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;display:grid}.patient-card{background:#fff;border:1px solid #e1e8ed;border-radius:12px;padding:20px;transition:transform .3s,box-shadow .3s;box-shadow:0 2px 10px #0000000d}.patient-card:hover{transform:translateY(-2px);box-shadow:0 5px 20px #0000001a}.patient-info h3{color:#2c3e50;margin-bottom:8px}.patient-info p{color:#666;margin-bottom:5px;font-size:.9rem}.patient-forms{background:#f8fbff;border:1px dashed #d8e3ef;border-radius:8px;margin-top:12px;padding:12px}.patient-forms h4{color:#2c3e50;margin:0 0 8px;font-size:1rem}.patient-advice-content{background:#fffdf8;border-color:#eadfce;margin-top:10px}.ai-structured-section-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px;display:grid}.ai-structured-section-card{background:linear-gradient(#fff 0%,#f7fbff 100%);border:1px solid #d8e2ec;border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.ai-structured-section-header{color:#183b56;justify-content:space-between;align-items:center;gap:10px;font-size:.95rem;display:flex}.ai-risk-badge{border-radius:999px;justify-content:center;align-items:center;min-width:58px;padding:3px 8px;font-size:.82rem;font-weight:700;display:inline-flex}.ai-risk-badge-normal{color:#027a48;background:#ecfdf3}.ai-risk-badge-risk{color:#b54708;background:#fffaeb}.ai-risk-badge-critical{color:#b42318;background:#fef3f2}.ai-structured-highlight{color:#0f3057;background:#eef6ff;border:1px solid #c8def8;border-radius:8px;padding:10px 12px}.ai-structured-highlight-normal{color:#05603a;background:#ecfdf3;border-color:#abefc6}.ai-structured-highlight-risk{color:#93370d;background:#fffaeb;border-color:#fedf89}.ai-structured-highlight-critical{color:#b42318;background:#fef3f2;border-color:#fecdca}.ai-structured-highlight-label{color:#486581;margin-bottom:4px;font-size:.78rem;font-weight:700;display:block}.ai-structured-textarea{resize:vertical;color:#1f2933;width:100%;min-height:120px;line-height:1.6;font:inherit;background:#fff;border:1px solid #d0d7de;border-radius:8px;padding:10px 12px}.ai-structured-evidence-title{color:#52606d;font-size:.85rem}.ai-structured-evidence-textarea{background:#fffaf2;border-color:#eadfce;min-height:96px}.patient-advice-section-list{grid-template-columns:1fr}.patient-advice-section-card{background:linear-gradient(#fffefb 0%,#fff9ef 100%);border-color:#eadfce}.ai-risk-risk{border-color:#fedf89}.ai-risk-critical{border-color:#fda29b;box-shadow:inset 0 0 0 1px #b4231814}.patient-advice-textarea{min-height:110px}.patient-advice-warning{color:#6b4e16;background:#fff8db;border:1px solid #f2c94c;border-radius:10px;margin-top:12px;padding:14px}.patient-advice-warning p{margin:8px 0 0;line-height:1.6}.patient-advice-error{color:#b42318}.patient-advice-modal{width:min(720px,92vw)}.patient-advice-modal-meta{margin:4px 0 0}.patient-form-empty{color:#778ca3;margin:0;font-size:.9rem}.patient-form-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.patient-form-item{background:#fff;border:1px solid #e1e8ed;border-radius:6px;padding:8px 10px}.patient-form-title{color:#1f2d3d;margin-bottom:4px;font-size:.95rem}.patient-form-meta{color:#778ca3;font-size:.85rem}.patient-form-content{white-space:pre-wrap;color:#1f2d3d;background:#f8fbff;border:1px solid #e1e8ed;border-radius:6px;margin-top:8px;padding:8px 10px;line-height:1.5}.patient-actions{text-align:right;margin-top:15px}.chat-button{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:6px;padding:8px 16px;font-size:.9rem;font-weight:500;transition:background .3s}.chat-button:hover{background:#218838}.health-hub{max-width:600px;margin:0 auto;padding:20px 16px}.health-hub h2{margin:0 0 4px;font-size:22px;font-weight:700}.health-hub-subtitle{color:#666;margin:0 0 24px;font-size:16px}.health-hub-cards{flex-direction:column;gap:14px;display:flex}.health-hub-card{cursor:pointer;text-align:left;background:#fff;border:1px solid #e8e8e8;border-radius:14px;align-items:center;gap:14px;width:100%;padding:18px 16px;font-family:inherit;transition:box-shadow .2s,border-color .2s;display:flex}.health-hub-card:hover{border-color:#b0d4f1;box-shadow:0 2px 12px #2196f31a}.health-hub-card:active{background:#f5faff}.health-hub-card-icon{flex-shrink:0;font-size:36px;line-height:1}.health-hub-card-body{flex:1;min-width:0}.health-hub-card-body h3{color:#222;margin:0 0 3px;font-size:17px;font-weight:600}.health-hub-card-body p{color:#888;margin:0 0 6px;font-size:15px}.health-hub-badge{color:#27ae60;background:#e6f7ee;border-radius:10px;padding:2px 8px;font-size:16px;font-weight:500;display:inline-block}.health-hub-badge.empty{color:#aaa;background:#f5f5f5}.health-hub-card-arrow{color:#ccc;flex-shrink:0;font-size:24px;font-weight:300}.patient-home-cards{flex-direction:column;gap:12px;display:flex}.patient-home-card{cursor:pointer;background:#fff;border:1px solid #e8e8e8;border-radius:14px;align-items:center;gap:12px;padding:16px;transition:box-shadow .2s,border-color .2s;display:flex}.patient-home-card:hover{border-color:#b0d4f1;box-shadow:0 2px 12px #2196f31a}.patient-home-card:active{background:#f5faff}.patient-home-card-header{flex-shrink:0;align-items:center;gap:8px;display:flex}.patient-home-card-icon{font-size:34px;line-height:1}.patient-home-card-header h3{white-space:nowrap;margin:0;font-size:18px;font-weight:600}.patient-home-card-content{flex:1;min-width:0}.patient-home-card-value{color:#333;margin:0 0 2px;font-size:17px;font-weight:500}.patient-home-card-value.empty-text{color:#aaa}.patient-doctors-list{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.patient-doctors-list .doctor-name-with-level{color:#333;font-size:17px;font-weight:500}.patient-home-card-detail{color:#666;text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;font-size:16px;overflow:hidden}.med-hub-card{cursor:pointer;background:#fff;border:1px solid #e8e8e8;border-radius:14px;align-items:center;gap:14px;margin-bottom:12px;padding:18px 16px;transition:box-shadow .2s,border-color .2s;display:flex}.med-hub-card:hover{border-color:#b0d4f1;box-shadow:0 2px 12px #2196f31a}.med-hub-card:active{background:#f5faff}.med-hub-card-icon{flex-shrink:0;font-size:32px;line-height:1}.med-hub-card-body{flex:1;min-width:0}.med-hub-card-body h3{color:#222;margin:0 0 3px;font-size:17px;font-weight:600}.med-hub-card-body p{color:#888;margin:0 0 4px;font-size:15px}.medication-clickable{cursor:pointer;transition:background .15s}.medication-clickable:hover{background:#f8f9fa}.medication-item-summary{align-items:center;gap:10px;display:flex}.medication-item-summary strong{flex-shrink:0}.medication-item-brief{color:#888;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:15px;overflow:hidden}.medication-item-detail{color:#555;border-top:1px solid #eee;margin-top:10px;padding-top:10px;font-size:16px}.medication-item-detail p{margin:4px 0}.med-ocr-section{text-align:center;background:#f0f7ff;border:2px dashed #b3d4fc;border-radius:12px;margin-bottom:20px;padding:16px}.med-ocr-buttons{justify-content:center;gap:12px;margin-bottom:8px;display:flex}.med-ocr-btn{cursor:pointer;border:none;align-items:center;gap:6px;font-weight:500;display:inline-flex;color:#fff!important;background:#1a73e8!important;border-radius:10px!important;padding:10px 20px!important;font-size:15px!important}.med-ocr-btn:disabled{opacity:.5;cursor:not-allowed}.med-ocr-hint{color:#888;margin:4px 0 0;font-size:15px}.med-ocr-loading{color:#1a73e8;justify-content:center;align-items:center;gap:8px;margin-top:12px;font-size:16px;display:flex}.med-ocr-loading .spinner{border:2px solid #b3d4fc;border-top-color:#1a73e8;border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin;display:inline-block}.med-ocr-error{color:#856404;background:#fff3cd;border-radius:8px;margin-top:10px;padding:8px 12px;font-size:15px}.med-ocr-results{text-align:left;margin-top:12px}.med-ocr-results h4{color:#333;margin:0 0 8px;font-size:16px}.med-ocr-list{margin:0;padding:0;list-style:none}.med-ocr-item{cursor:pointer;background:#fff;border:1px solid #e0e0e0;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:6px;padding:10px 14px;transition:border-color .15s,background .15s;display:flex}.med-ocr-item:hover{background:#f5faff;border-color:#1a73e8}.med-ocr-item strong{color:#222;font-size:15px}.med-ocr-item-detail{color:#888;font-size:15px}.medication-section{flex-direction:column;gap:30px;display:flex}.medication-form,.medication-history{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 10px #0000000d}.medication-form h2,.medication-history h2{color:#2c3e50;margin-bottom:20px}.submit-button{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:8px;padding:12px 24px;font-size:1rem;font-weight:500;transition:all .3s}.submit-button:hover:not(:disabled){background:#218838;transform:translateY(-2px)}.submit-button:disabled{opacity:.7;cursor:not-allowed}.submissions-list{flex-direction:column;gap:15px;display:flex}.submission-item{background:#f8f9fa;border-left:4px solid #3498db;border-radius:8px;padding:15px}.submission-header{justify-content:space-between;margin-bottom:10px;display:flex}.submission-date{color:#666;font-size:.9rem}.submission-content{color:#333;line-height:1.5}.medication-record-content p{margin:4px 0}.medication-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.medication-list-item{background:#f8f9fa;border:1px solid #e1e8ed;border-radius:8px;padding:12px 14px}.medication-item-time{color:#667085;margin-bottom:6px;font-size:.86rem}.medication-empty{padding:24px 12px}.medication-name-group{position:relative}.medication-suggestions{z-index:50;background:#fff;border:1px solid #d1d5db;border-radius:8px;max-height:240px;margin:4px 0 0;padding:4px 0;list-style:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 4px 12px #0000001f}.medication-suggestions li button{cursor:pointer;text-align:left;background:0 0;border:none;flex-direction:column;gap:2px;width:100%;padding:8px 12px;transition:background .15s;display:flex}.medication-suggestions li button:hover{background:#f0f7ff}.suggestion-name{color:#1a202c;font-size:.95rem;font-weight:500}.suggestion-detail{color:#718096;font-size:.8rem}.medication-expiry-reminder{color:#e65100;background:#fff8e1;border:1px solid #ffe082;border-radius:8px;margin-bottom:6px;padding:10px 14px;font-size:.92rem;line-height:1.5}.wearable-section{flex-direction:column;gap:20px;display:flex}.wearable-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;display:grid}.wearable-overview-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;display:grid}.wearable-form-card,.wearable-history-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 10px #0000000d}.wearable-form-card h3,.wearable-history-card h3{color:#2c3e50;margin-bottom:16px}.wearable-entry-card,.wearable-latest-card,.wearable-bound-card{background:#fff;border:1px solid #e3edf4;border-radius:18px;padding:24px;box-shadow:0 10px 24px #1c3a5b0f}.wearable-entry-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.wearable-entry-header h3,.wearable-bound-card h3,.wearable-latest-card h3{color:#2c3e50;margin:0}.wearable-bind-panel{flex-direction:column;gap:12px;display:flex}.wearable-inline-notice{border-radius:12px;margin-bottom:14px;padding:12px 14px;font-size:.92rem;line-height:1.6}.wearable-inline-notice.success{color:#166534;background:#ecfdf3;border:1px solid #b7ebc6}.wearable-inline-notice.info{color:#1d4f7a;background:#eff8ff;border:1px solid #bfd6ea}.wearable-inline-notice.error{color:#b42318;background:#fff1f2;border:1px solid #fecdd3}.wearable-latest-meta{color:#667085;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:14px;font-size:.88rem;display:flex}.wearable-source-pill{color:#1b5b91;background:#eef6ff;border-radius:999px;justify-content:center;align-items:center;padding:4px 10px;font-size:.84rem;font-weight:700;display:inline-flex}.wearable-bound-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.wearable-device-card{background:linear-gradient(#fbfdff,#f7fbff);border:1px solid #dce7f1;border-radius:16px;flex-direction:column;gap:10px;padding:18px;display:flex}.wearable-device-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.wearable-device-card h4{color:#2c3e50;margin:8px 0 0}.wearable-device-card p{color:#4b5f74;margin:0;font-size:.93rem}.wearable-device-empty{color:#8392a5}.wearable-form-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.wearable-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.wearable-list-item{background:#f8f9fa;border:1px solid #e1e8ed;border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.wearable-list-item p{color:#405066;margin:0;font-size:.9rem}.wearable-list-head{color:#2c3e50;justify-content:space-between;align-items:center;font-size:.9rem;display:flex}.wearable-metric-badges{flex-wrap:wrap;gap:8px;display:flex}.wearable-metric-badges-large{margin-bottom:10px}.wearable-metric-badge{color:#23496d;background:#edf4fb;border-radius:999px;justify-content:center;align-items:center;padding:7px 10px;font-size:.88rem;font-weight:600;display:inline-flex}.wearable-metric-badge.empty{color:#8a8f98;background:#f4f4f5}.wearable-inline-meta{color:#667085!important}.wearable-alert{color:#b42318;margin-top:6px;font-weight:600}.wearable-critical-alert{color:#912018;margin-top:6px;font-weight:700}.wearable-empty{padding:20px 12px}.wearable-history-collapse summary{cursor:pointer;color:#1d4f7a;padding:4px 0 14px;font-weight:700;list-style:none}.wearable-history-collapse summary::-webkit-details-marker{display:none}.wearable-history-groups{flex-direction:column;gap:18px;display:flex}.wearable-history-group{background:#fbfdff;border:1px solid #dde7ef;border-radius:16px;overflow:hidden}.wearable-history-group-header{background:linear-gradient(#fff,#f7fbff);border-bottom:1px solid #e7eef5;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px 12px;display:flex}.wearable-history-group-header h4{color:#26435f;margin:0;font-size:1rem}.wearable-history-group-header p{color:#6c7b89;margin:4px 0 0;font-size:.84rem}.wearable-history-table-wrap{overflow-x:auto}.wearable-history-table{border-collapse:collapse;width:100%;min-width:720px}.wearable-history-table th,.wearable-history-table td{text-align:left;vertical-align:top;color:#33485d;border-bottom:1px solid #edf2f7;padding:12px 14px;font-size:.9rem}.wearable-history-table thead th{color:#486178;white-space:nowrap;background:#f7fafc;font-size:.84rem;font-weight:700}.wearable-history-table tbody tr:last-child th,.wearable-history-table tbody tr:last-child td{border-bottom:none}.wearable-history-time-cell{background:#fcfdff;min-width:178px}.wearable-history-time-text{color:#20374c;font-weight:600}.wearable-history-row-flag{border-radius:999px;margin-top:6px;padding:4px 8px;font-size:.76rem;font-weight:700;display:inline-flex}.wearable-history-row-flag.critical{color:#a1261b;background:#fdecec}.wearable-history-row-flag.risk{color:#b25b11;background:#fff4e8}.wearable-stat-value{font-size:1.3rem}.wearable-stat-subtitle{color:#667085;margin-top:6px;font-size:.86rem}.wearable-doctor-summary{background:#f8fafc;border:1px solid #d0d5dd;border-radius:8px;margin:4px 0 10px;padding:8px 10px}.wearable-doctor-summary p{color:#344054;margin:2px 0;font-size:.85rem}.wearable-doctor-summary.risk{background:#fff6f5;border-color:#fecdca}.wearable-doctor-summary.critical{background:#fef3f2;border-color:#f04438}.wearable-doctor-summary.normal{background:#f6ffed;border-color:#b7ebc6}.wearable-auto-sync-card{background:#f8fbff;border:1px solid #d8e3ef;border-radius:10px;margin-bottom:16px;padding:12px 14px}.wearable-auto-sync-card p{color:#405066;margin:4px 0}.doctor-critical-card{margin-top:20px}.doctor-critical-list{flex-direction:column;gap:12px;display:flex}.doctor-critical-item{background:#fff6f5;border:1px solid #fecdca;border-radius:10px;grid-template-columns:minmax(140px,180px) 1fr;gap:14px;padding:14px 16px;display:grid}.doctor-critical-item strong{color:#912018}.doctor-critical-item p{color:#7a271a;margin:4px 0}.doctor-alert-card{margin-top:20px}.doctor-alert-list{flex-direction:column;gap:12px;display:flex}.doctor-alert-item{border-radius:10px;grid-template-columns:minmax(140px,180px) 1fr;gap:14px;padding:14px 16px;display:grid}.doctor-alert-item.critical{background:#fff6f5;border:1px solid #fecdca}.doctor-alert-item.warning{background:#fff9ef;border:1px solid #f2d6a6}.doctor-alert-item strong{display:block}.doctor-alert-item.critical strong{color:#912018}.doctor-alert-item.warning strong{color:#8a5700}.doctor-alert-item p{margin:4px 0}.doctor-alert-item.critical p{color:#7a271a}.doctor-alert-item.warning p{color:#8a5a11}.wearable-alert-consult-item.critical{background:#fff6f5;border:1px solid #fecdca}.wearable-alert-consult-item.warning{background:#fffaf0;border:1px solid #f2d6a6}.chat-section{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px #0000000d}.chat-header{background:#f8f9fa;border-bottom:1px solid #e1e8ed;justify-content:space-between;align-items:center;padding:20px;display:flex}.chat-header h2{color:#2c3e50;margin:0}.chat-section.chat-section-thread{flex-direction:column;display:flex}.chat-header.chat-header-thread{gap:12px}.chat-header.chat-header-thread h2{flex:1;min-width:0}.back-button{color:#fff;cursor:pointer;background:#6c757d;border:none;border-radius:6px;padding:8px 16px;font-size:.9rem;transition:background .3s}.back-button:hover{background:#5a6268}.conversation-list{max-height:70vh;overflow-y:auto}.conversation-item{cursor:pointer;text-align:left;background:#fff;border:none;border-bottom:1px solid #f0f0f0;align-items:center;gap:12px;width:100%;padding:14px 18px;font-family:inherit;transition:background .15s;display:flex}.conversation-item:hover{background:#f5f8fb}.conversation-item.has-unread{background:#f0f7ff}.conv-avatar{background:#e8f2ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:1.3rem;display:flex}.conv-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.conv-top-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.conv-name{color:#2c3e50;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:4px;font-size:.95rem;font-weight:600;display:flex;overflow:hidden}.conv-department{color:#999;margin-left:4px;font-size:.72rem}.conv-time{color:#aaa;white-space:nowrap;flex-shrink:0;font-size:.75rem}.conv-bottom-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.conv-preview{color:#999;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.84rem;overflow:hidden}.conv-unread-badge{color:#fff;background:#e74c3c;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:.72rem;font-weight:700;line-height:1;display:flex}.chat-toolbar{background:#f8f9fa;border-bottom:1px solid #e1e8ed;align-items:center;padding:8px 16px;display:flex}.chat-toolbar-compact{justify-content:space-between;gap:10px}.chat-toolbar-main,.call-buttons{align-items:center;gap:8px;min-width:0;display:flex}.chat-toolbar-main{flex-wrap:wrap;flex:auto}.chat-room-participants-inline{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.chat-participant-chip{color:#2a648e;background:#eef6fb;border-radius:999px;align-items:center;min-height:28px;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex}.chat-tools-menu{position:relative}.chat-tools-toggle{color:#2a648e;min-height:36px;font:inherit;cursor:pointer;background:#f5f9fc;border:1px solid #c8dce9;border-radius:10px;align-items:center;gap:5px;padding:0 11px;font-size:13px;font-weight:700;display:inline-flex}.chat-tools-panel{z-index:20;background:#fff;border:1px solid #cfe1ed;border-radius:12px;gap:4px;min-width:188px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 24px #234e6c24}.chat-tools-panel button{color:#2a648e;width:100%;min-height:38px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:flex-start;align-items:center;gap:6px;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex}.chat-tools-panel button:hover:not(:disabled){background:#eef6fb}.chat-window-embedded{width:100%;max-width:none;min-height:0;margin:0;padding:0}.clinical-summary-btn,.clinical-record-btn{color:#174f86;min-height:28px;font:inherit;cursor:pointer;background:#eef6ff;border:1px solid #2563a7;border-radius:4px;padding:3px 10px;font-size:.82rem;font-weight:600}.clinical-record-btn{color:#8d2732;background:#fff3f4;border-color:#a33a45}.clinical-record-btn.recording{color:#fff;background:#a33a45}.clinical-summary-btn:disabled,.clinical-record-btn:disabled{cursor:not-allowed;opacity:.55}.clinical-summary-panel{color:#173f36;background:#edf8f4;border-bottom:1px solid #b9d9cf;max-height:220px;padding:12px 16px;font-size:.88rem;line-height:1.55;overflow-y:auto}.clinical-summary-panel.error{color:#8d2732;background:#fff4f5;border-color:#efc2c7}.clinical-summary-panel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.clinical-summary-panel-head button{color:currentColor;cursor:pointer;background:0 0;border:0;width:28px;height:28px;padding:0;font-size:1.2rem}.clinical-summary-panel p{margin:6px 0 0}.clinical-summary-result>div{margin-top:8px}.clinical-summary-result ul,.clinical-log-section ul{margin:4px 0 0;padding-left:20px}.clinical-summary-saved{color:#087a63;font-weight:700}.clinical-log-preview{color:#475467;margin-top:8px;line-height:1.6}.clinical-log-item{min-width:0}.clinical-log-detail{color:#344054;margin-top:12px;line-height:1.65}.clinical-log-detail>p{white-space:pre-wrap;margin:0 0 10px}.clinical-log-section{margin-top:10px}.clinical-log-transcript{border-top:1px solid #d8dee8;margin-top:14px;padding-top:10px}.clinical-log-transcript summary{color:#2563a7;cursor:pointer;font-weight:600}.clinical-log-transcript pre{white-space:pre-wrap;word-break:break-word;max-height:260px;font:inherit;margin:10px 0 0;font-size:.86rem;overflow:auto}@media (width<=720px){.chat-section.chat-section-thread .clinical-summary-btn,.chat-section.chat-section-thread .clinical-record-btn{min-height:28px;padding:3px 8px;font-size:.76rem}.clinical-summary-panel{max-height:180px;padding:10px 12px}}.empty-state{text-align:center;color:#666;padding:60px 20px}.empty-state p:first-child{color:#999;margin-bottom:10px;font-size:1.2rem}.empty-state p:last-child{font-size:.9rem}.chat-window{background:#fff;border-radius:12px;flex-direction:column;height:min(600px,68vh);min-height:420px;display:flex;position:relative;overflow:hidden}.chat-room-participants{display:none}.message-sender .level-badge{vertical-align:middle;padding:0 5px;font-size:.78rem}.chat-messages{overscroll-behavior:contain;overflow-anchor:none;-webkit-overflow-scrolling:touch;background:#f8f9fa;flex-direction:column;flex:1;gap:12px;min-height:0;padding:20px;display:flex;overflow-y:auto}.chat-loading,.chat-empty{color:#666;flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}.chat-loading .loading-spinner.small{border-width:3px;width:30px;height:30px;margin-bottom:15px}.chat-empty p:first-child{color:#999;margin-bottom:8px;font-size:1.1rem}.chat-empty p:last-child{font-size:.9rem}.chat-message{flex-direction:column;max-width:70%;animation:.3s ease-out messageSlideIn;display:flex}.chat-message.own{align-self:flex-end;align-items:flex-end}.chat-message.other{align-self:flex-start;align-items:flex-start}.message-sender{color:#6c757d;margin:0 8px 4px;font-size:.78rem}.message-content{word-wrap:break-word;white-space:pre-wrap;background:#fff;border-radius:18px;padding:12px 16px;font-size:.95rem;line-height:1.4;box-shadow:0 1px 3px #0000001a}.chat-message.own .message-content{color:#fff;background:linear-gradient(135deg,#3498db,#2980b9)}.chat-message.other .message-content{color:#333;background:#fff}.message-content.message-content-template{color:#0f172a;background:#fff;min-width:min(280px,100%);padding:0;overflow:hidden}.chat-message.own .message-content.message-content-template,.chat-message.other .message-content.message-content-template{color:#0f172a;background:#fff}.message-template-card{background:linear-gradient(#f8fafcfa,#f1f5f9fa),radial-gradient(circle at 100% 0,#0ea5e929,#0000 42%);flex-direction:column;gap:10px;padding:14px 16px;display:flex}.message-template-badge{color:#0f766e;letter-spacing:.04em;background:#0891b21f;border-radius:999px;align-self:flex-start;padding:4px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.message-template-title{color:#0f172a;font-size:1rem;font-weight:700}.message-template-description{color:#475467;font-size:.86rem;line-height:1.5}.message-template-text{color:#1f2937;white-space:pre-wrap;word-break:break-word;line-height:1.7}.message-meta{opacity:.7;align-items:center;gap:8px;margin-top:4px;font-size:.82rem;display:flex}.chat-message.own .message-meta{justify-content:flex-end}.message-time{color:#666}.message-status{border-radius:10px;padding:2px 6px;font-size:.8rem}.message-status.read{color:#28a745;background:#28a7451a}.message-status.sent{color:#6c757d;background:#6c757d1a}.chat-message.system-reminder{align-self:center;max-width:90%;margin:8px auto}.chat-message.system-reminder .medication-expiry-reminder{color:#e65100;text-align:center;background:#fff8e1;border:1px solid #ffe082;border-radius:10px;padding:10px 16px;font-size:.92rem;line-height:1.5}.chat-message.system-reminder .medication-expiry-reminder .reminder-icon{margin-right:6px}.chat-message.system-reminder .message-meta{justify-content:center}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-input-area{z-index:4;background:#fff;border-top:1px solid #e1e8ed;padding:20px;position:sticky;bottom:0}.input-container{align-items:flex-end;gap:12px;display:flex}.input-container textarea{resize:none;border:2px solid #e1e8ed;border-radius:20px;outline:none;flex:1;min-height:44px;max-height:120px;padding:12px 16px;font-family:inherit;font-size:1rem;transition:border-color .3s}.input-container textarea:focus{border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.input-container textarea:disabled{opacity:.7;cursor:not-allowed}.send-button{color:#fff;cursor:pointer;white-space:nowrap;background:#3498db;border:none;border-radius:20px;padding:12px 24px;font-size:1rem;font-weight:500;transition:all .3s}.send-button:hover:not(:disabled){background:#2980b9;transform:translateY(-1px);box-shadow:0 3px 10px #3498db4d}.send-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.assessment-list-section h2,.assessment-detail-section h2,.patient-assessment-section h2{color:#2c3e50;margin-bottom:20px}.assessment-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;display:grid}.assessment-card{background:#fff;border:1px solid #e1e8ed;border-radius:12px;padding:20px;box-shadow:0 2px 10px #0000000d}.assessment-card h3{color:#2c3e50;margin-bottom:10px}.assessment-card p{color:#666;margin-bottom:16px}.assessment-detail-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.assessment-content-card{background:#fff;border:1px solid #e1e8ed;border-radius:12px;margin-bottom:20px;padding:20px;box-shadow:0 2px 10px #0000000d}.assessment-content-card>h3{color:#2c3e50;margin-bottom:12px}.assessment-form-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:14px;display:grid}.assessment-option-group{margin-bottom:14px}.assessment-option-group>label{color:#333;margin-bottom:8px;font-weight:500;display:block}.assessment-option-items{flex-wrap:wrap;gap:10px 16px;display:flex}.assessment-option-column{flex-direction:column;gap:8px;display:flex}.assessment-option-item{color:#444;align-items:center;gap:6px;font-size:.95rem;display:inline-flex}.assessment-system-card{border-top:1px solid #e9ecef;margin-top:20px;padding-top:16px}.assessment-system-card h3{color:#2c3e50;margin-bottom:12px}.assessment-content-card pre,.assessment-content{white-space:pre-wrap;word-break:break-word;margin:0;font-family:inherit;line-height:1.6}.assessment-actions{background:#fff;border:1px solid #e1e8ed;border-radius:12px;padding:20px;box-shadow:0 2px 10px #0000000d}.assessment-assign-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;display:flex}.assessment-assign-row label{color:#555;font-weight:500}.assessment-assign-row select{border:2px solid #e1e8ed;border-radius:8px;width:min(100%,320px);min-width:0;padding:10px 12px;font-size:.95rem}.assessment-item{border-left-color:#28a745}.assessment-list-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.assessment-list-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.assessment-title-line{color:#1f2d3d;font-weight:600}.assessment-meta{color:#7b8ba3;margin-top:4px;font-size:.85rem}.assessment-toggle{color:#2d8cf0;cursor:pointer;background:#fff;border:1px solid #2d8cf0;border-radius:6px;padding:6px 10px;font-weight:600}.assessment-toggle:hover{background:#e8f2ff}.saved-assessment-section{margin-top:24px}.saved-assessment-section h3{color:#2c3e50;margin-bottom:12px}.saved-assessment-list{flex-direction:column;gap:12px;display:flex}.saved-assessment-card{background:#fff;border:1px solid #e1e8ed;border-radius:10px;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:14px;display:flex}.saved-assessment-meta h4{color:#2c3e50;margin-bottom:4px}.saved-assessment-meta p{color:#666;margin:2px 0;font-size:.9rem}.saved-assessment-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.saved-assessment-actions select{border:2px solid #e1e8ed;border-radius:8px;width:min(100%,320px);min-width:0;padding:10px 12px;font-size:.95rem}.delete-button{color:#fff;cursor:pointer;background:#dc3545;border:none;border-radius:8px;padding:10px 14px;font-size:.9rem;transition:background .2s}.delete-button:hover:not(:disabled){background:#c82333}.delete-button:disabled{opacity:.7;cursor:not-allowed}.doctor-permanent-qr{margin-top:24px}.schedule-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 10px #0000000d}.schedule-section h2{color:#2c3e50;margin-bottom:16px}.schedule-form{margin-bottom:20px}.schedule-mode-toggle{border:1px solid #3498db;border-radius:8px;gap:0;margin-bottom:16px;display:flex;overflow:hidden}.mode-btn{color:#3498db;cursor:pointer;background:#fff;border:none;flex:1;padding:8px 16px;font-size:16px;transition:background .2s,color .2s}.mode-btn.active{color:#fff;background:#3498db}.weekday-checkboxes{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.weekday-chip{cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #d1d5db;border-radius:20px;align-items:center;gap:4px;padding:6px 14px;font-size:16px;transition:background .2s,border-color .2s;display:inline-flex}.weekday-chip input[type=checkbox]{display:none}.weekday-chip.selected{color:#2980b9;background:#e8f4fd;border-color:#3498db;font-weight:500}.schedule-form-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.schedule-list{flex-direction:column;gap:10px;display:flex}.schedule-card{background:#fafbfc;border:1px solid #e1e8ed;border-radius:10px;padding:14px}.schedule-card h3{color:#2c3e50;margin-bottom:8px;font-size:1rem}.schedule-card p{color:#555;margin:4px 0}.schedule-card-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}@media (width<=768px){.chat-window{height:500px}.chat-messages{padding:15px}.chat-message{max-width:85%}.chat-input-area{padding:15px}.input-container{gap:8px}.send-button{padding:10px 20px;font-size:.9rem}}.app-header{background:radial-gradient(circle at 0 0,#ffffff38,#0000 28%),linear-gradient(135deg,#153b6b 0%,#1f6d8a 52%,#2d9a73 100%)}.app-nav{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f5f9fce6;border-bottom:1px solid #153b6b14;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 20px;display:grid;position:sticky;top:0}.nav-button-rich{color:#34516f;background:linear-gradient(#fffffffa,#ecf5f8f5);border:1px solid #153b6b17;border-radius:22px;justify-content:space-between;align-items:center;min-height:84px;padding:16px 18px;display:flex;position:relative;box-shadow:0 10px 24px #1633570d}.nav-button-rich:hover:not(:disabled),.nav-button-rich.active{color:#113b63;background:linear-gradient(135deg,#dff3f8fa,#e6f7eefa);border-color:#1f6d8a38;transform:translateY(-1px);box-shadow:0 14px 30px #153b6b1a}.nav-button-rich:disabled{opacity:.55;cursor:not-allowed}.nav-button-main{align-items:center;gap:14px;display:flex}.nav-button-copy{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.nav-button-copy strong{font-size:1rem;font-weight:700}.nav-button-copy span{color:#617a93;font-size:.82rem}.nav-title-short{display:none}.nav-subtitle{display:inline}.nav-icon{flex:none;width:24px;height:24px}.patient-ai-intake-view{flex-direction:column;gap:18px;display:flex}.patient-ai-intake-header{align-items:flex-start}.patient-ai-intake-toolbar{gap:10px;display:flex}.patient-ai-intake-status-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.patient-ai-intake-status-card{background:linear-gradient(135deg,#eef7ff 0%,#f8fbff 100%);border:1px solid #d8e8f7;border-radius:14px;padding:14px 16px}.patient-ai-intake-status-card span{color:#5f7285;margin-bottom:6px;font-size:.82rem;display:block}.patient-ai-intake-status-card strong{color:#143a52;font-size:1rem}.patient-ai-intake-thread{background:linear-gradient(#f7fbfe 0%,#eef5fb 100%);border:1px solid #d8e4ef;border-radius:18px;flex-direction:column;gap:14px;min-height:280px;max-height:520px;padding:18px;display:flex;overflow-y:auto}.patient-ai-intake-empty{color:#6a7c8f}.patient-ai-intake-bubble{white-space:pre-wrap;border-radius:18px;max-width:86%;padding:14px 16px;line-height:1.6;box-shadow:0 10px 24px #193d6014}.patient-ai-intake-bubble.assistant{background:#fff;border-top-left-radius:8px;align-self:flex-start}.patient-ai-intake-bubble.user{color:#fff;background:linear-gradient(135deg,#176087 0%,#1e7aa7 100%);border-top-right-radius:8px;align-self:flex-end}.patient-ai-intake-bubble-role{opacity:.8;margin-bottom:6px;font-size:.78rem;font-weight:700}.patient-ai-intake-bubble-loading{opacity:.86}.patient-ai-intake-bubble.streaming .patient-ai-intake-bubble-content{border-left:2px solid #2a7fff;padding-left:8px}.streaming-cursor{color:#2a7fff;margin-left:1px;font-weight:700;animation:.8s steps(2,start) infinite blink-cursor;display:inline}@keyframes blink-cursor{0%,to{opacity:1}50%{opacity:0}}.patient-ai-intake-error{color:#bf3d3d;background:#fff2f0;border-radius:12px;padding:12px 14px}.patient-ai-intake-missing{color:#8b5e16;background:#fff8e8;border-radius:14px;flex-wrap:wrap;gap:8px;padding:14px 16px;display:flex}.patient-ai-intake-summary-card{background:#fbfdff;border:1px solid #d7e3ec;border-radius:18px;flex-direction:column;gap:14px;padding:18px;display:flex}.patient-ai-intake-summary-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.patient-ai-intake-summary-header h4{margin:0 0 6px}.patient-ai-intake-summary-header p{color:#6b7a90;margin:0;font-size:.9rem}.patient-ai-intake-summary-pre{white-space:pre-wrap;color:#1f2d3d;margin:0;font-family:inherit;line-height:1.7}.patient-ai-intake-form{flex-direction:column;gap:12px;display:flex}.patient-ai-intake-form textarea{resize:vertical;width:100%;font:inherit;background:#fff;border:1px solid #cdd9e4;border-radius:16px;padding:14px 16px;line-height:1.6}.patient-ai-intake-actions{justify-content:flex-end;gap:10px;display:flex}.voice-mode-container{background:linear-gradient(135deg,#f0f4ff 0%,#e8f0fe 100%);border-radius:16px;flex-direction:column;align-items:center;gap:20px;margin-bottom:12px;padding:24px 16px;display:flex}.voice-mode-visual{flex-direction:column;align-items:center;gap:12px;display:flex}.voice-orb{background:linear-gradient(135deg,#4285f4,#34a853);border-radius:50%;justify-content:center;align-items:center;width:100px;height:100px;transition:transform .3s,box-shadow .3s;display:flex;box-shadow:0 4px 20px #4285f440}.voice-orb.listening{animation:1.2s infinite voicePulse;box-shadow:0 0 30px #4285f480}.voice-orb.speaking{background:linear-gradient(135deg,#34a853,#fbbc04);animation:.8s infinite voicePulse;box-shadow:0 0 30px #34a85380}.voice-orb.thinking{background:linear-gradient(135deg,#fbbc04,#ea4335);animation:1.5s infinite voiceThink}@keyframes voicePulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes voiceThink{0%,to{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.04)}}.voice-orb-inner{font-size:2rem}.voice-mode-status{color:#3c4858;margin:0;font-size:.95rem}.voice-interim-text{color:#4285f4;text-align:center;max-width:360px;margin:0;font-size:1rem;font-style:italic}.voice-error-text{color:#ef4444;text-align:center;margin:4px 0 0;font-size:.85rem}.voice-mode-controls{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.voice-mic-btn{color:#fff;cursor:pointer;background:#4285f4;border:none;border-radius:24px;padding:10px 22px;font-size:.95rem;font-weight:600;transition:background .2s}.voice-mic-btn:hover{background:#3367d6}.voice-mic-btn-active{background:#ea4335}.voice-mic-btn-active:hover{background:#c5221f}.assessment-progress-bar-container{align-items:center;gap:12px;margin-bottom:8px;padding:8px 0;display:flex}.assessment-progress-bar{background:#e5e9ef;border-radius:4px;flex:1;height:8px;overflow:hidden}.assessment-progress-bar-fill{background:linear-gradient(90deg,#4285f4,#34a853);border-radius:4px;height:100%;transition:width .4s}.assessment-progress-label{color:#6b7a90;white-space:nowrap;font-size:.85rem}.hospital-score-field{min-width:0}.hospital-score-trigger{color:#31536b;text-align:left;cursor:pointer;background:#f7fafc;border:1px solid #b9c8d5;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px 12px;display:flex}.hospital-score-trigger:hover{background:#eef7fb;border-color:#34799e}.hospital-score-trigger.has-score{color:#0c6f5b;background:#eff9f5;border-color:#78b9aa}.hospital-score-trigger span{min-width:0;font-size:16px;font-weight:700}.hospital-score-trigger small{color:#6f7d86;flex:none;font-size:12px}.hospital-score-modal-overlay{z-index:1400;background:#101e279e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.hospital-score-modal{background:#fff;border-radius:8px;flex-direction:column;width:min(820px,100%);max-height:min(90vh,900px);display:flex;overflow:hidden;box-shadow:0 22px 60px #0a1c2647}.hospital-score-modal-header{border-bottom:1px solid #dfe7eb;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 20px;display:flex}.hospital-score-modal-header span{color:#6b7880;margin-bottom:2px;font-size:12px;display:block}.hospital-score-modal-header h3{color:#1d313d;margin:0;font-size:21px}.hospital-score-close{color:#53636c;cursor:pointer;background:#eef2f4;border:0;border-radius:50%;width:36px;height:36px;padding:0;font-size:26px;line-height:1}.hospital-score-modal-body{background:#f7f9fa;min-height:0;padding:18px 20px 24px;overflow-y:auto}.hospital-score-note{color:#4f626e;background:#edf5f8;border-left:4px solid #34799e;margin:0 0 16px;padding:10px 12px}.hospital-score-items{gap:14px;display:grid}.hospital-score-item{background:#fff;border:1px solid #dbe3e6;border-radius:6px;min-width:0;margin:0;padding:14px}.hospital-score-item legend{color:#253b47;align-items:center;gap:8px;padding:0 6px;font-weight:700;display:flex}.hospital-score-item legend span{color:#fff;background:#34799e;border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;display:grid}.hospital-score-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.hospital-score-options label{cursor:pointer;background:#fff;border:1px solid #dce3e6;border-radius:5px;grid-template-columns:auto 58px minmax(0,1fr);align-items:center;gap:8px;min-height:64px;padding:10px 12px;display:grid}.hospital-score-options label.selected{background:#eaf7f2;border-color:#16816b}.hospital-score-options input{width:17px;height:17px;margin:0}.hospital-score-options strong{color:#176c5b;white-space:nowrap}.hospital-score-options span{color:#4f5f68;min-width:0;line-height:1.45}.hospital-score-check-group{background:#fff;border:1px solid #dbe3e6;border-radius:6px;margin:0 0 14px;padding:14px}.hospital-score-check-group h4{color:#253b47;margin:0 0 10px}.hospital-score-check-group>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.hospital-score-check{color:#344852;cursor:pointer;background:#fff;border:1px solid #e0e6e8;border-radius:5px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-height:46px;padding:8px 10px;display:grid}.hospital-score-check.selected{background:#eaf7f2;border-color:#16816b}.hospital-score-check input{width:17px;height:17px}.hospital-score-check span{color:#344852;min-width:0;line-height:1.4}.hospital-score-check strong{color:#176c5b}.hospital-score-modal-footer{background:#fff;border-top:1px solid #dfe7eb;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:18px;padding:14px 20px;display:grid}.hospital-score-total{align-items:baseline;gap:9px;min-width:0;display:flex}.hospital-score-total span,.hospital-score-progress{color:#68757d;font-size:13px}.hospital-score-total strong{color:#0f715d;font-size:30px}.hospital-score-total small{color:#52636d;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hospital-score-modal-actions{gap:8px;display:flex}.hospital-score-modal-actions button{color:#3f5059;cursor:pointer;background:#fff;border:1px solid #c8d3d8;border-radius:5px;min-height:40px;padding:8px 14px}.hospital-score-modal-actions button.primary{color:#fff;background:#13735f;border-color:#13735f}.hospital-score-modal-actions button:disabled{opacity:.45;cursor:not-allowed}@media (width<=700px){.hospital-score-modal-overlay{align-items:end;padding:0}.hospital-score-modal{border-radius:8px 8px 0 0;width:100%;max-height:94vh}.hospital-score-options,.hospital-score-check-group>div{grid-template-columns:1fr}.hospital-score-modal-footer{grid-template-columns:1fr auto;gap:10px}.hospital-score-progress{text-align:right}.hospital-score-modal-actions{grid-column:1/-1}.hospital-score-modal-actions button{flex:1}}.assessment-result-section{margin:16px 0}.assessment-result-section h5{color:#1f2d3d;margin:0 0 8px;font-size:1rem}.assessment-result-table{border-collapse:collapse;width:100%;font-size:.9rem}.assessment-result-table th,.assessment-result-table td{text-align:left;border:1px solid #d0dae6;padding:8px 12px}.assessment-result-table th{color:#3c4858;background:#f0f4fa;font-weight:600}.assessment-result-table td{color:#1f2d3d}.assessment-result-total td{background:#f0f9f4;font-weight:600}.nav-badge{color:#fff;background:#d93025;border-radius:999px;justify-content:center;align-items:center;min-width:24px;height:24px;padding:0 7px;font-size:.78rem;font-weight:700;display:inline-flex}.nav-badge-warm{background:#d97706}.section-subtitle{color:#61748a;margin-top:6px;font-size:.92rem}.section-actions-row{flex-wrap:wrap;gap:10px;display:flex}.action-button-secondary{color:#174a77;background:#e7f1f7}.action-button-secondary:hover:not(:disabled){color:#113b63;background:#d4e7f3}.daily-round-card{flex-direction:column;gap:16px;display:flex}.daily-round-actions{flex-wrap:wrap;align-items:stretch;gap:10px;display:flex}.file-upload-button{cursor:pointer;text-align:center;justify-content:center;align-items:center;display:inline-flex;position:relative;overflow:hidden}.file-upload-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.file-upload-button:has(input:disabled){opacity:.65;cursor:not-allowed}.file-upload-button:has(input:disabled) input{cursor:not-allowed}.action-button-warm{background:linear-gradient(135deg,#f59e0b,#ea580c)}.action-button-warm:hover:not(:disabled){background:linear-gradient(135deg,#e28b00,#d24b09)}.patient-content-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-top:24px;margin-bottom:24px;display:grid}.content-card,.content-section-card{background:#fff;border:1px solid #e3edf4;border-radius:18px;box-shadow:0 10px 24px #1c3a5b0f}.content-card{padding:20px}.feature-card{background:radial-gradient(circle at 100% 0,#2d9a7314,#0000 36%),linear-gradient(#fff 0%,#f7fbfd 100%)}.content-card-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.content-card-header h3{color:#183b56;margin-bottom:6px}.content-card-header p,.content-card-body p{color:#526779}.content-card-body{flex-direction:column;gap:8px;display:flex}.content-card-empty{color:#6b7f92;background:#f4f8fb;border-radius:14px;padding:18px}.dashboard-card-kicker{color:#29506b;letter-spacing:.04em;background:#183b5614;border-radius:999px;align-items:center;gap:6px;margin-bottom:8px;padding:5px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.doctor-consultation-card{border-color:#caddea;flex-direction:column;gap:16px;display:flex}.doctor-consultation-card-featured{background:radial-gradient(circle at 100% 0,#167a9c29,#0000 34%),radial-gradient(circle at 0 100%,#3ab3841f,#0000 28%),linear-gradient(#fff 0%,#f5fbff 100%);box-shadow:0 16px 34px #1448691c}.doctor-consultation-header{align-items:center}.doctor-consultation-refresh{white-space:nowrap}.doctor-consultation-overview{background:linear-gradient(135deg,#0f5b7814,#24aa7814);border-radius:16px;align-items:center;gap:16px;padding:14px 16px;display:flex}.doctor-consultation-count{flex-direction:column;gap:4px;min-width:104px;display:flex}.doctor-consultation-count strong{color:#0f5b78;font-size:1.9rem;line-height:1}.doctor-consultation-count span{color:#526779;font-size:.88rem}.doctor-consultation-hint{color:#3d5b6f;margin:0;line-height:1.6}.doctor-consultation-incoming{background:linear-gradient(135deg,#eff7ff 0%,#f7fffb 100%);border:1px solid #cfe2f3;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.doctor-consultation-incoming-info{flex-direction:column;gap:4px;display:flex}.doctor-consultation-incoming-info strong{color:#183b56}.doctor-consultation-incoming-info span{color:#5a7184}.doctor-consultation-incoming-actions{gap:10px;width:min(100%,260px);display:flex}.doctor-consultation-assist-section{background:#ffffffc7;border:1px solid #d8e6ef;border-radius:16px;flex-direction:column;gap:12px;padding:14px 16px;display:flex}.doctor-consultation-assist-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.doctor-consultation-assist-title{flex-direction:column;gap:4px;display:flex}.doctor-consultation-assist-title strong{color:#183b56}.doctor-consultation-assist-title span,.doctor-consultation-assist-loading,.doctor-consultation-assist-more{color:#60778a;font-size:.9rem}.doctor-consultation-assist-list{flex-direction:column;gap:10px;display:flex}.doctor-consultation-assist-item{background:linear-gradient(135deg,#105f7c0f,#2096700a);border:1px solid #7fa9c447;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.doctor-consultation-assist-item-info{flex-direction:column;flex:1;gap:4px;min-width:220px;display:flex}.doctor-consultation-assist-item-info strong{color:#173a53}.doctor-consultation-assist-item-info span{color:#567083;font-size:.9rem;line-height:1.5}.doctor-consultation-assist-empty{text-align:left;background:0 0;padding:0}.doctor-consultation-body{flex-direction:column;gap:12px;display:flex}.doctor-consultation-label{color:#183b56;font-size:.92rem;font-weight:600}.doctor-consultation-select{color:#183b56;background:#fff;border:1px solid #c7d6e2;border-radius:12px;width:100%;padding:12px 14px;font-size:.95rem}.doctor-consultation-select:disabled{color:#7b8da0;background:#f5f7fa}.doctor-call-select{width:100%;min-width:0;position:relative}.doctor-call-select-trigger{color:#183b56;text-align:left;cursor:pointer;background:#fff;border:1px solid #c7d6e2;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 16px;font-size:16px;line-height:1.35;display:flex}.doctor-call-select-trigger:focus-visible,.doctor-call-select.is-open .doctor-call-select-trigger{border-color:#3b82c4;outline:none;box-shadow:0 0 0 3px #3b82c424}.doctor-call-select-trigger:disabled{color:#7b8da0;cursor:default;background:#f5f7fa}.doctor-call-select-arrow{border-bottom:2px solid;border-right:2px solid;flex:none;width:9px;height:9px;transition:transform .16s;transform:rotate(45deg)translateY(-2px)}.doctor-call-select.is-open .doctor-call-select-arrow{transform:rotate(225deg)translate(-2px,-2px)}.doctor-call-select-options{background:#fff;border:1px solid #c7d6e2;border-radius:12px;max-height:220px;margin-top:6px;padding:6px;display:grid;overflow-y:auto;box-shadow:0 10px 24px #234d6d1f}.doctor-call-select-options button{color:#294a63;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:46px;padding:10px 12px;font-size:16px;line-height:1.35;display:flex}.doctor-call-select-options button:hover,.doctor-call-select-options button:focus-visible{background:#eff7fd;outline:none}.doctor-call-select-options button.selected{color:#1768b2;background:#e5f2fc;font-weight:700}.doctor-consultation-peer-card{background:#f7fbfd;border:1px solid #d8e4ed;border-radius:14px;flex-direction:column;gap:5px;padding:14px 16px;display:flex}.doctor-consultation-peer-card strong{color:#183b56}.doctor-consultation-peer-card span{color:#60778a;font-size:.9rem}.doctor-consultation-actions{flex-wrap:wrap;gap:10px;display:flex}.doctor-consultation-actions .call-initiate-btn{border-radius:10px;padding:8px 14px;font-size:.9rem}.doctor-consultation-actions .call-initiate-btn:disabled{opacity:.5;cursor:not-allowed;background:0 0}.dashboard-collapsible-layout{flex-direction:column;gap:16px;margin-top:16px;display:flex}.dashboard-collapsible-card{flex-direction:column;gap:0;display:flex}.dashboard-collapsible-card.critical{border-color:#efc3c3}.dashboard-collapsible-card.warning{border-color:#f0d9b1}.dashboard-collapsible-card.utility{border-color:#cddded}.dashboard-collapsible-card.feedback,.dashboard-collapsible-card.feedback-emphasis{border-color:#eadfce}.dashboard-collapsible-card.feedback-emphasis{box-shadow:0 14px 28px #e497261c}.dashboard-collapsible-toggle{cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:flex-start;gap:16px;width:100%;padding:0;display:flex}.dashboard-collapsible-heading h3{color:#183b56;margin:0 0 6px}.dashboard-collapsible-heading p{color:#566b7d;margin:0;line-height:1.6}.dashboard-collapsible-meta{flex-direction:column;align-items:flex-end;gap:8px;min-width:140px;display:flex}.dashboard-collapsible-summary{color:#31536c;white-space:nowrap;background:#183b5614;border-radius:999px;justify-content:center;align-items:center;min-height:32px;padding:6px 12px;font-size:.84rem;font-weight:600;display:inline-flex}.dashboard-collapsible-chevron{color:#0f5b78;font-size:.9rem;font-weight:700}.dashboard-collapsible-body{border-top:1px solid #e3ecf2;flex-direction:column;gap:14px;margin-top:16px;padding-top:16px;display:flex}.dashboard-collapsible-stack{flex-direction:column;gap:14px;display:flex}.dashboard-collapsible-body .content-card,.dashboard-collapsible-body .qr-display{box-shadow:none}.dashboard-collapsible-qr-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.dashboard-collapsible-qr-grid .doctor-permanent-qr,.dashboard-collapsible-qr-grid .doctor-feedback-qr,.dashboard-collapsible-qr-grid .doctor-aiar-login-qr{margin-top:0}.ezviz-integration-card{flex-direction:column;gap:14px;display:flex}.ezviz-register-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.ezviz-inline-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.ezviz-secret-text{color:#7a3f1a;background:#fff2db;border:1px solid #f0d4a3;border-radius:8px;padding:6px 10px;font-size:12px}.ezviz-device-list{flex-direction:column;gap:8px;display:flex}.ezviz-device-item{border:1px solid #d7e4dc;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.ezviz-device-side{flex-direction:column;gap:8px;min-width:280px;display:flex}.ezviz-device-bind-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.ezviz-device-bind-row .doctor-consultation-select,.ezviz-device-bind-row .app-select{min-width:180px}.ezviz-device-main{flex-direction:column;gap:4px;display:flex}.ezviz-device-main span{color:#61776d;font-size:12px}.ezviz-device-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.ezviz-call-box{border-top:1px dashed #c7d6cd;padding-top:12px}.ezviz-call-box h4{margin:0 0 8px}.ezviz-call-grid{grid-template-columns:minmax(180px,1.4fr) minmax(180px,1fr) minmax(120px,.9fr) auto;gap:10px;display:grid}@media (width<=768px){.doctor-consultation-header,.doctor-consultation-overview,.doctor-consultation-incoming,.doctor-consultation-assist-header,.doctor-consultation-assist-item,.dashboard-collapsible-toggle{flex-direction:column;align-items:stretch}.doctor-consultation-count{min-width:0}.doctor-consultation-incoming-actions,.doctor-consultation-assist-item .doctor-consultation-incoming-actions{width:100%}.doctor-consultation-actions{flex-direction:column}.doctor-consultation-actions .call-initiate-btn{justify-content:center;width:100%}.dashboard-collapsible-meta{align-items:flex-start;min-width:0}.dashboard-collapsible-summary{white-space:normal}.dashboard-collapsible-qr-grid,.ezviz-call-grid{grid-template-columns:1fr}}.content-section-card{padding:24px}.content-form-grid{flex-direction:column;gap:14px;display:flex}.upload-preview-list,.record-image-grid,.message-image-grid,.chat-pending-images{grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:10px;display:grid}.upload-preview-list{margin-top:12px}.upload-preview-item,.chat-pending-image-item{flex-direction:column;gap:8px;display:flex}.image-preview-button,.record-image-link,.message-image-link{cursor:zoom-in;background:0 0;border:none;padding:0;display:block}.upload-preview-image,.record-image,.message-image,.chat-pending-image{aspect-ratio:1;object-fit:cover;background:#eef4f7;border:1px solid #d8e6ee;border-radius:12px;width:100%}.image-preview-modal{padding:16px}.image-preview-card{flex-direction:column;width:min(960px,100vw - 32px);height:min(960px,100dvh - 32px);max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.image-preview-media-frame{flex:auto;place-items:center;min-width:0;min-height:0;padding:0 16px 16px;display:grid;overflow:auto}.image-preview-modal-image{object-fit:contain;background:#0f172a;border-radius:12px;width:auto;max-width:100%;height:auto;max-height:100%;margin:0 auto;display:block}.message-text{white-space:pre-wrap}.message-image-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin-top:10px}.message-image{aspect-ratio:1.1}.chat-image-input{display:none}.chat-image-trigger,.chat-pending-remove{color:#174a77;cursor:pointer;background:#e4eef4;border:none;border-radius:14px;font-weight:600}.chat-image-trigger{white-space:nowrap;padding:12px 14px}.chat-pending-remove{padding:8px 10px}.doctor-permanent-qr{text-align:center;align-items:center;width:100%;margin-top:24px}.doctor-permanent-qr canvas,.doctor-permanent-qr svg{margin:0 auto;display:block}.qr-display.doctor-permanent-qr,.doctor-feedback-qr,.doctor-aiar-login-qr{place-items:center}.doctor-feedback-card{background:linear-gradient(#fffdfa 0%,#fff7ee 100%);border-color:#f0e3cf}.doctor-feedback-badge{color:#9a4f00;background:#ffe1b6;border-radius:999px;align-items:center;margin-left:10px;padding:4px 10px;font-size:.8rem;font-weight:700;display:inline-flex}.doctor-feedback-mark-read{white-space:nowrap}.doctor-feedback-blocks{flex-direction:column;gap:14px;display:flex}.doctor-feedback-section{flex-direction:column;gap:12px;display:flex}.doctor-feedback-section-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.doctor-feedback-section-header h4{color:#25374a;margin:0;font-size:1rem}.doctor-feedback-section-header span{color:#6d7b87;font-size:.9rem}.doctor-feedback-list{flex-direction:column;gap:12px;display:flex}.doctor-feedback-history-list{max-height:560px;padding-right:4px;overflow:auto}.doctor-feedback-history-toggle{cursor:pointer;text-align:left;background:#ffffffe0;border:1px solid #eadfce;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:14px 16px;display:flex}.doctor-feedback-history-toggle strong{color:#25374a;display:block}.doctor-feedback-history-toggle span{color:#6d7b87;margin-top:4px;font-size:.9rem;display:block}.doctor-feedback-item{background:#ffffffeb;border:1px solid #eadfce;border-radius:12px;padding:14px 16px}.doctor-feedback-item-unread{border-color:#f6c27a;box-shadow:0 4px 18px #e4972614}.doctor-feedback-item-read{background:#fffcf7e0}.doctor-feedback-item-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.doctor-feedback-item-header strong{color:#213547;display:block}.doctor-feedback-item-header span{color:#6c7a86;margin-top:4px;font-size:.88rem;display:block}.doctor-feedback-item-meta{text-align:right}.doctor-feedback-item-pill{color:#af5d00;background:#ffedd3;border-radius:999px;justify-content:center;align-items:center;padding:3px 9px;font-size:.76rem;font-weight:700;display:inline-flex}.doctor-feedback-item-pill-read{color:#556372;background:#edf2f7}.doctor-feedback-item-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-bottom:10px;display:flex}.doctor-feedback-delete-button{min-height:40px;padding:8px 14px}.doctor-feedback-item-content{color:#31424f;margin:0;line-height:1.7}.doctor-feedback-image-row{gap:8px;margin-top:10px;display:flex}.doctor-feedback-audio-row{margin-top:10px}.doctor-feedback-audio-player{width:100%;max-width:360px}.feedback-text-input{box-sizing:border-box;border:1.5px solid #e0e0e0;border-radius:10px;width:100%;padding:10px 12px;font-family:inherit;font-size:15px}.feedback-text-input:focus{border-color:#1a73e8;outline:none}.public-feedback-page{box-sizing:border-box;background:linear-gradient(#eaf5fd 0%,#f7fafc 46%,#edf4f8 100%);min-height:100vh;padding:18px 14px 30px}.public-feedback-shell{max-width:560px;margin:0 auto}.public-feedback-card{background:#fff;border:1px solid #d5e4ef;border-radius:8px;padding:20px;box-shadow:0 12px 34px #1f517717}.public-feedback-hero{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.public-feedback-badge{color:#0875d1;background:#e4f2ff;border-radius:6px;align-items:center;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.public-feedback-hero h2{color:#173654;margin:10px 0 5px;font-size:26px;line-height:1.3}.public-feedback-hero p{color:#698197;margin:0;font-size:13px;line-height:1.6}.public-feedback-doctor-card{background:#edf7ff;border:1px solid #cae1f2;border-radius:8px;align-items:center;gap:12px;margin-bottom:16px;padding:13px 14px;display:flex}.public-feedback-doctor-icon{color:#0875d1;background:#fff;border-radius:8px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.public-feedback-doctor-card>div>span{color:#6c8499;margin-bottom:2px;font-size:11px;font-weight:700;display:block}.public-feedback-doctor-card strong{color:#173654;font-size:16px;display:block}.public-feedback-doctor-card p{color:#607a91;margin:3px 0 0;font-size:12px}.public-feedback-note{color:#8a5a17;font-size:.92rem;line-height:1.6}.public-feedback-form{flex-direction:column;gap:15px;display:flex}.public-feedback-field{position:relative}.public-feedback-field-head,.public-feedback-section-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.public-feedback-field-head>span,.public-feedback-section-title>span{color:#7a90a3;font-size:11px}.public-feedback-section-title strong{color:#314f68;font-size:14px}.public-feedback-textarea{resize:vertical;box-sizing:border-box;color:#173654;background:#fbfdff;border:1px solid #cbdde9;border-radius:8px;width:100%;min-height:118px;padding:12px 13px 28px;font:14px/1.65 inherit;display:block}.public-feedback-textarea:focus{border-color:#1686dc;outline:2px solid #087bd224}.public-feedback-counter{color:#8ba0b1;font-size:11px;position:absolute;bottom:8px;right:11px}.public-feedback-voice-head{margin-bottom:-5px}.public-feedback-voice-actions{flex-wrap:wrap;align-items:stretch;gap:10px;display:flex}.feedback-btn.public-feedback-record-button,.feedback-btn.public-feedback-submit-button{width:100%;min-height:48px;box-shadow:none;border-radius:7px;font-size:15px;font-weight:800}.feedback-btn.public-feedback-record-button{color:#0875d1;background:#fff;border-color:#a9cde7;justify-content:center;align-items:center;gap:7px;display:inline-flex}.feedback-btn.public-feedback-stop-button{border-radius:7px;min-height:46px;font-size:14px;font-weight:700}.public-feedback-contact-note{margin:2px 0 0}.public-feedback-voice-status{flex:100%;margin:0}.public-feedback-audio-card{background:#f4f9fd;border:1px solid #cfe2ef;border-radius:8px;padding:12px 14px}.public-feedback-audio-header{color:#31424f;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:.92rem;display:flex}.public-feedback-audio-player{width:100%}.public-feedback-audio-remove{margin-top:10px}.public-feedback-inline-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.public-feedback-label{color:#314f68;margin-bottom:7px;font-size:14px;font-weight:700;display:block}.public-feedback-field-head .public-feedback-label,.public-feedback-voice-head .public-feedback-label{margin-bottom:0}.public-feedback-actions{margin-top:2px}.public-feedback-success{padding:30px 0 12px}@media (width<=960px){.app-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=768px){.app{padding-bottom:0}.auth-container,.bind-container,.qr-display,.dashboard,.content-card,.content-section-card,.patient-card,.assessment-card,.assessment-content-card,.assessment-actions,.saved-assessment-card,.schedule-section,.wearable-form-card,.wearable-history-card,.chat-section{border-radius:16px}.toast-container{top:10px;left:auto;right:14px}.toast{box-sizing:border-box;width:calc(100vw - 24px);min-width:min(340px,100vw - 24px);max-width:calc(100vw - 24px)}.doctor-feedback-item-header,.public-feedback-hero{flex-direction:column}.doctor-feedback-item-meta{text-align:left}.public-feedback-inline-grid{grid-template-columns:1fr}.app-header{padding:16px 0 14px}.header-content{flex-direction:column;align-items:flex-start;gap:12px}.header-content h1{font-size:1.35rem;line-height:1.25}.user-info{flex-wrap:wrap}.role-switch-group,.daily-round-actions{width:100%}.app-nav{z-index:40;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f4f8fbf5;border-top:1px solid #153b6b14;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -8px 24px #113b6314}.nav-button-rich{min-height:64px;box-shadow:none;border-radius:16px;justify-content:center;padding:10px 8px}.nav-button-main{flex-direction:column;justify-content:center;gap:4px;width:100%}.nav-button-copy{text-align:center;align-items:center;min-width:0}.nav-button-copy strong{letter-spacing:.01em;font-size:.88rem;line-height:1.1}.nav-title-full{display:none}.nav-title-short{display:inline}.nav-subtitle{display:none}.nav-icon{width:22px;height:22px}.nav-badge{min-width:20px;height:20px;padding:0 6px;font-size:.78rem;position:absolute;top:6px;right:6px}.content-card-header,.section-title-row,.assessment-detail-header,.chat-header{flex-direction:column;align-items:flex-start}.section-actions-row,.quick-actions,.bind-code-row,.patient-ai-intake-status-row{width:100%}.role-switch-button,.section-actions-row .action-button,.quick-actions .action-button,.patient-ai-intake-toolbar .action-button,.patient-ai-intake-actions .action-button,.bind-code-row .action-button,.schedule-card-actions .action-button,.daily-round-actions .action-button,.daily-round-actions .delete-button{flex:100%}.patient-ai-intake-bubble{max-width:100%}.patient-ai-intake-summary-header{flex-direction:column}.daily-round-actions>*{min-height:46px}.daily-round-card .patient-form-meta,.daily-round-card .form-group label,.daily-round-card textarea{overflow-wrap:anywhere}.daily-round-card textarea{min-height:160px;line-height:1.6}.daily-round-card .file-upload-button{width:100%}.app-main{padding:18px 14px 120px}.stats-grid,.patient-content-grid,.patients-grid,.wearable-grid,.assessment-list,.assessment-form-grid,.schedule-form-grid,.wearable-form-grid{grid-template-columns:minmax(0,1fr)}.doctor-critical-item,.doctor-alert-item,.assessment-list-header,.saved-assessment-card,.saved-assessment-actions,.consult-item,.wearable-list-head{flex-direction:column;grid-template-columns:minmax(0,1fr);align-items:flex-start}.assessment-assign-row select,.saved-assessment-actions select,.bind-code-box,.patient-top-actions .action-button{width:100%}.bind-code-row{flex-direction:column}.doctor-critical-item,.doctor-alert-item{gap:8px}.modal-card{border-radius:14px;width:min(100%,100vw - 24px);max-height:min(88vh,760px);padding:16px}.modal-header{align-items:flex-start;gap:10px}.patient-advice-modal,.image-preview-card{width:min(100%,100vw - 20px)}.medication-form,.medication-history,.wearable-form-card,.wearable-history-card,.schedule-section,.assessment-content-card,.assessment-actions{padding:18px 16px}.medication-list-item,.wearable-list-item,.schedule-card,.submission-item.assessment-item{padding:14px 12px}.medication-list-item p,.wearable-list-item p,.schedule-card p,.assessment-meta,.wearable-list-head,.assessment-title-line,.consult-meta,.patient-advice-modal-meta,.doctor-critical-item p,.doctor-alert-item p,.schedule-card h3,.consult-name,.modal-header h3,.doctor-critical-item strong,.doctor-alert-item strong{word-break:break-word}.wearable-list-head{gap:4px}.assessment-toggle,.consult-item .action-button,.schedule-card .action-button,.schedule-card .delete-button,.wearable-form-card .action-button,.wearable-form-card .delete-button{justify-content:center;width:100%}.schedule-card .delete-button,.wearable-form-card .delete-button{margin-top:8px}.assessment-list-header{gap:10px}.assessment-list-header>div,.section-title-row>div,.wearable-auto-sync-card,.submission-content.assessment-content{width:100%}.submission-content.assessment-content{padding-top:4px;overflow-x:auto}.patient-advice-content{margin-top:12px;padding:12px;font-size:.92rem;line-height:1.6}.ai-structured-section-list{grid-template-columns:1fr}.image-preview-modal-image{border-radius:10px}.chat-header h2,.section-title-row h2,.assessment-detail-header h2{font-size:1.12rem;line-height:1.35}.section-subtitle,.patient-form-meta,.medication-item-time{line-height:1.45}.message-image-grid,.chat-pending-images,.upload-preview-list,.record-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.input-container{flex-wrap:wrap}.chat-window{height:calc(100dvh - 290px);min-height:360px;max-height:560px}.chat-messages{padding:14px}.chat-message{max-width:92%}.chat-input-area{padding:14px}.chat-image-trigger,.send-button,.input-container textarea{width:100%}.chat-section.chat-section-thread{border-radius:16px;min-height:calc(100dvh - 176px)}.chat-section.chat-section-thread .chat-header{flex-direction:row;justify-content:flex-start;align-items:center;gap:10px;padding:12px 12px 10px}.chat-section.chat-section-thread .chat-header h2{white-space:nowrap;text-overflow:ellipsis;font-size:.98rem;overflow:hidden}.chat-section.chat-section-thread .back-button{border-radius:999px;flex:none;padding:7px 12px;font-size:.82rem}.chat-section.chat-section-thread .chat-window{border-radius:0;flex:auto;height:auto;min-height:0;max-height:none;overflow:visible}.chat-section.chat-section-thread .chat-toolbar{flex-wrap:wrap;justify-content:space-between;gap:8px;padding:6px 10px}.chat-section.chat-section-thread .invite-senior-btn{margin-left:0;padding:2px 8px;font-size:.78rem}.chat-section.chat-section-thread .template-library-btn{padding:2px 8px;font-size:.78rem}.chat-section.chat-section-thread .call-buttons{gap:4px}.chat-section.chat-section-thread .call-initiate-btn{padding:3px 8px;font-size:.76rem}.chat-section.chat-section-thread .chat-room-participants{display:none}.chat-section.chat-section-thread .chat-messages{padding:12px 10px;padding-bottom:calc(150px + env(safe-area-inset-bottom,0px));gap:10px}.chat-section.chat-section-thread .chat-message{max-width:96%}.chat-section.chat-section-thread .message-content{border-radius:16px;padding:12px 14px;font-size:1rem;line-height:1.6}.chat-section.chat-section-thread .message-content.message-content-template{padding:0}.chat-section.chat-section-thread .message-template-card{gap:10px;padding:14px}.chat-section.chat-section-thread .message-template-title{font-size:1.02rem}.chat-section.chat-section-thread .message-template-description,.chat-section.chat-section-thread .message-template-text{font-size:.94rem;line-height:1.7}.chat-section.chat-section-thread .message-sender{margin:0 6px 3px;font-size:.74rem}.chat-section.chat-section-thread .message-meta{margin-top:3px;font-size:.74rem}.chat-section.chat-section-thread .chat-input-area{left:14px;right:14px;bottom:calc(82px + env(safe-area-inset-bottom,0px));z-index:45;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border:1px solid #cbd9e5f2;border-radius:18px;padding:10px;position:fixed;box-shadow:0 -10px 24px #0f172a14}.chat-section.chat-section-thread .input-container{flex-wrap:nowrap;align-items:flex-end;gap:8px}.chat-section.chat-section-thread .chat-image-trigger,.chat-section.chat-section-thread .send-button{border-radius:14px;flex:none;width:auto;min-height:44px;padding:10px 12px;font-size:.86rem}.chat-section.chat-section-thread .input-container textarea{border-radius:16px;flex:auto;width:auto;min-width:0;min-height:44px;max-height:96px;padding:10px 12px;font-size:16px}.chat-section.chat-section-thread .chat-pending-images{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.template-library-card-header,.admin-template-card-header{flex-direction:column}.template-send-btn{width:100%}.admin-template-upload-row{align-items:stretch}}@media (width<=520px){.modal-card{padding:14px}.close-button{background:#f2f4f7;border-radius:999px;min-width:36px;min-height:36px}.consult-list{gap:10px}.consult-item{padding:10px}.consult-item .action-button,.schedule-card .delete-button{min-height:42px}.doctor-critical-item,.doctor-alert-item{gap:10px;padding:12px}.schedule-section h2,.patient-advice-modal .modal-header h3{font-size:1.1rem}.schedule-card h3,.consult-name{font-size:.98rem;line-height:1.4}}.patient-card-simple{padding:14px 18px}.patient-simple-row{align-items:center;gap:10px;display:flex}.patient-name-text{color:#2c3e50;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:1.05rem;font-weight:600;line-height:1.4;overflow:hidden}.action-button-small{min-width:unset;white-space:nowrap;border-radius:6px;padding:4px 12px;font-size:.82rem;line-height:1.3}.patient-name-link{color:#2c3e50;cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-size:1.05rem;font-weight:600;line-height:1.4}.patient-name-link:hover{color:#007bff;text-decoration:underline}.chat-button-small{min-width:unset;padding:4px 10px;font-size:.85rem;line-height:1}.patient-note-row{margin-top:6px}.patient-note-edit{align-items:center;gap:6px;display:flex}.patient-note-input{border:1px solid #ced4da;border-radius:6px;outline:none;flex:1;padding:5px 8px;font-size:.85rem;transition:border-color .2s}.patient-note-input:focus{border-color:#007bff}.patient-note-save-btn,.patient-note-cancel-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:6px;padding:4px 10px;font-size:.8rem}.patient-note-save-btn{color:#fff;background:#28a745}.patient-note-save-btn:hover{background:#218838}.patient-note-cancel-btn{color:#495057;background:#e9ecef}.patient-note-cancel-btn:hover{background:#dee2e6}.patient-note-display{color:#888;cursor:pointer;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;width:100%;padding:2px 0;font-size:.85rem;overflow:hidden}.patient-note-display:hover{color:#495057}.patient-list-tabs{background:#eef3f8;border-radius:999px;align-items:center;gap:8px;margin-bottom:12px;padding:4px;display:inline-flex}.patient-list-tab{color:#5b6b79;cursor:pointer;background:0 0;border:none;border-radius:999px;padding:8px 14px;font-size:.9rem;font-weight:600;transition:background .2s,color .2s,box-shadow .2s}.patient-list-tab.active{color:#1f3b57;background:#fff;box-shadow:0 4px 12px #1f3b571f}.patient-list-caption{color:#66788a;margin:0 0 16px;font-size:.9rem}.patient-list-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;margin-bottom:12px;display:flex}.patient-search-input{color:#23384d;background:#fff;border:1px solid #d7e1ea;border-radius:12px;flex:260px;min-width:min(100%,320px);padding:10px 14px;font-size:.94rem}.patient-search-input:focus{border-color:#6d9dc7;outline:none;box-shadow:0 0 0 3px #6d9dc729}.patient-search-meta{color:#6a7886;white-space:nowrap;font-size:.86rem}.patient-card-meta-row{color:#73808c;flex-wrap:wrap;gap:8px 12px;margin-top:8px;font-size:.82rem;display:flex}.patient-card-actions{justify-content:flex-end;margin-top:10px;display:flex}.patient-status-badge{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:4px 10px;font-size:.76rem;font-weight:700;display:inline-flex}.patient-status-badge.active{color:#fff;background:#16794a;box-shadow:0 1px 2px #0f5c3738}.patient-status-badge.lost{color:#c05a12;background:#fff1e8}.patient-status-meta{color:#748191;font-size:.82rem}.patient-followup-status-help{color:#617183;margin:0 0 10px;font-size:.82rem;line-height:1.55}.patient-detail-header{margin-bottom:16px}.patient-detail-note-card{background:linear-gradient(#fff 0%,#f8fbff 100%);border:1px solid #e5edf5;border-radius:12px;margin-top:14px;padding:12px 14px}.patient-detail-note-label{color:#667085;margin-bottom:8px;font-size:.82rem;font-weight:600}.patient-detail-note-display{color:#344054;white-space:pre-wrap;text-overflow:unset;line-height:1.6;overflow:visible}.patient-detail-note-edit{flex-wrap:wrap;align-items:flex-start}.patient-detail-note-edit .patient-note-input{flex:320px}.patient-detail-name-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.patient-detail-name-row h3{color:#2c3e50;margin:0;font-size:1.15rem}.patient-detail-title-group{flex-direction:column;gap:8px;display:flex}.patient-detail-status-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.patient-detail-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.patient-detail-modules{flex-direction:column;gap:12px;display:flex}.patient-detail-module{background:linear-gradient(#fbfdff 0%,#f7fbff 100%);border:1px solid #e5edf5;border-radius:12px;padding:14px 16px}.patient-detail-module-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.patient-detail-module-title-group{flex:1;min-width:0}.patient-detail-module-title-group h4{color:#1f2d3d;margin:0;font-size:1rem}.patient-detail-module-summary{color:#425466;white-space:pre-line;margin:8px 0 0;font-size:.9rem;line-height:1.6}.patient-detail-module-summary.risk,.patient-detail-module-summary.critical,.patient-detail-module-summary.normal{border-radius:8px;padding:8px 10px}.patient-detail-module-summary.risk{color:#9a6700;background:#fff7e6}.patient-detail-module-summary.critical{color:#b42318;background:#fef3f2}.patient-detail-module-summary.normal{color:#1f845a;background:#ecfdf3}.patient-detail-module-empty{margin-top:8px}.patient-detail-module-content{border-top:1px solid #e8eef4;margin-top:12px;padding-top:12px}.patient-detail-monitor-entry{color:#1f2d3d;cursor:pointer;text-align:left;background:#f7fbff;border:1px solid #cfe0ef;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:76px;padding:14px 16px;display:flex}.patient-detail-monitor-entry:hover{background:#eef7ff;border-color:#5f93bf}.patient-detail-monitor-entry.risk{background:#fffaf0;border-color:#e6b95c}.patient-detail-monitor-entry.critical{background:#fff5f4;border-color:#e59b95}.patient-detail-monitor-copy{gap:6px;min-width:0;display:grid}.patient-detail-monitor-copy strong{font-size:1rem}.patient-detail-monitor-copy small{color:#526579;font-size:.86rem;line-height:1.5}.patient-detail-monitor-command{color:#1769a0;flex:none;font-size:.9rem;font-weight:700}.patient-detail-rich-content{background:#fff;border:1px solid #e1e8ed;border-radius:10px;padding:12px}.patient-detail-rich-content .patient-form-meta+.patient-form-meta{margin-top:6px}.patient-detail-inline-list{margin:6px 0 0;padding-left:18px}.patient-detail-chronic-item+.patient-detail-chronic-item{margin-top:10px}.patient-detail-chronic-summary{color:#37536b;margin-top:6px;line-height:1.6}.patient-detail-chronic-notes{margin-top:8px}.patient-detail-chronic-notes summary{cursor:pointer;color:#1d6d96;font-weight:600}.patient-detail-chronic-note-list{flex-direction:column;gap:8px;margin:10px 0 0;display:flex}.patient-detail-chronic-note-item{background:#f6fbff;border:1px solid #d9e8f2;border-radius:10px;padding:10px 12px}.patient-detail-chronic-note-time{color:#6b8093;margin-bottom:4px;font-size:.8rem}.patient-detail-record-item,.patient-detail-assessment-item{display:block}.patient-detail-assessment-item .assessment-list-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.patient-detail-assessment-body{margin-top:10px}.patient-detail-intake-content{white-space:pre-wrap;word-break:break-word;margin-top:8px}@media (width<=768px){.patient-detail-name-row{flex-wrap:wrap;align-items:stretch}.patient-detail-name-row .chat-button{justify-content:center;width:100%}.patient-detail-module{padding:12px}.patient-detail-module-header{flex-direction:column;align-items:stretch}.patient-detail-module-header .assessment-toggle{width:100%}.patient-detail-assessment-item .assessment-list-header{flex-direction:column}.assessment-list-actions{flex-wrap:wrap;width:100%}.assessment-list-actions .assessment-toggle,.assessment-list-actions .delete-button{flex:calc(50% - 6px);min-width:120px}.wearable-doctor-summary p,.patient-detail-module-summary,.patient-form-meta,.patient-form-content{word-break:break-word}}@media (width<=640px){.patient-detail-monitor-entry{flex-direction:column;align-items:stretch;gap:10px;min-height:0;padding:12px}.patient-detail-monitor-command{align-self:flex-end}.patient-detail-module-title-group h4{font-size:.95rem}.patient-detail-module-summary{font-size:.86rem}.patient-detail-rich-content{padding:10px}.patient-detail-inline-list{padding-left:16px}.assessment-list-actions .assessment-toggle,.assessment-list-actions .delete-button{flex:100%}}.assessment-positive-summary{color:#856404;white-space:pre-line;background:#fff3cd;border-radius:6px;margin-top:4px;padding:6px 10px;font-size:.82rem;line-height:1.5}.assessment-list-header{flex:1;min-width:0}.assessment-list-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.patient-form-item{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 0;display:flex}.patient-form-item:last-child{border-bottom:none}.admin-panel{padding:0}.admin-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.admin-header h2{color:#2c3e50;margin:0;font-size:1.3rem}.admin-stats{flex-wrap:wrap;gap:16px;display:flex}.stat-item{color:#555;background:#f0f4f8;border-radius:20px;padding:6px 14px;font-size:.88rem}.stat-item strong{color:#007bff;margin-left:4px}.admin-message{color:#155724;background:#d4edda;border-radius:8px;margin-bottom:16px;padding:10px 16px;font-size:.9rem;animation:.3s fadeIn}.admin-tabs{border:1px solid #dee2e6;border-radius:10px;gap:0;margin-bottom:20px;display:flex;overflow:hidden}.admin-tab{cursor:pointer;color:#555;background:#f8f9fa;border:none;flex:1;padding:12px 16px;font-size:.92rem;font-weight:500;transition:all .2s}.admin-tab:not(:last-child){border-right:1px solid #dee2e6}.admin-tab.active{color:#fff;background:#007bff}.admin-tab:hover:not(.active){background:#e9ecef}.admin-section{animation:.3s fadeIn}.admin-section-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.admin-section-header h3{color:#2c3e50;margin:0;font-size:1.1rem}.admin-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 8px 20px #1018280a}.admin-tag{color:#1f4f8a;background:#eef6ff;border-radius:999px;align-items:center;padding:4px 10px;font-size:.82rem;line-height:1.2;display:inline-flex}.admin-btn-refresh{cursor:pointer;color:#555;background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:6px 14px;font-size:.85rem}.admin-btn-refresh:hover{background:#f8f9fa}.admin-btn-primary{color:#fff;cursor:pointer;background:#007bff;border:none;border-radius:6px;padding:8px 18px;font-size:.9rem;font-weight:500;transition:background .2s}.admin-btn-primary:hover{background:#0056b3}.admin-btn-primary:disabled{cursor:not-allowed;background:#a0c4ff}.admin-btn-small{color:#007bff;cursor:pointer;background:#fff;border:1px solid #007bff;border-radius:4px;padding:4px 10px;font-size:.82rem}.admin-btn-small:hover{color:#fff;background:#007bff}.admin-btn-danger{color:#dc3545;border-color:#dc3545}.admin-btn-danger:hover{color:#fff;background:#dc3545}.admin-btn-success{color:#28a745;background:#e8f5e9;border-color:#28a745}.admin-btn-success:hover{color:#fff;background:#28a745}.role-badge{border-radius:4px;padding:2px 8px;font-size:16px;font-weight:500;display:inline-block}.role-badge.role-doctor{color:#1565c0;background:#e3f2fd}.role-badge.role-family_doctor{color:#7b1fa2;background:#f3e5f5}.training-role-badge{white-space:nowrap;border-radius:4px;padding:2px 8px;font-size:14px;font-weight:600;display:inline-block}.training-role-badge.training-role-mentor{color:#2e7d32;background:#e8f5e9}.training-role-badge.training-role-trainee{color:#f57f17;background:#fff8e1}.training-role-badge.training-role-none{color:#868e96;background:#f1f3f5}.admin-file-upload{align-items:center;display:inline-flex;position:relative}.admin-file-upload input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.admin-file-upload .admin-btn-primary{pointer-events:none}.region-tag{color:#e65100;background:#fff3e0;border-radius:4px;padding:2px 8px;font-size:14px;font-weight:500;display:inline-block}.auth-region-badge{color:#2e7d32;background:#e8f5e9;border-radius:16px;margin-top:8px;padding:4px 16px;font-size:16px;font-weight:500;display:inline-block}.admin-table-wrapper{border:1px solid #e9ecef;border-radius:8px;overflow-x:auto}.admin-table{border-collapse:collapse;width:100%;font-size:.88rem}.admin-table th{text-align:left;color:#495057;white-space:nowrap;background:#f8f9fa;border-bottom:2px solid #dee2e6;padding:10px 14px;font-weight:600}.admin-table td{color:#333;border-bottom:1px solid #f0f0f0;padding:10px 14px}.admin-table tbody tr:hover{background:#f8f9fa}.admin-conversation-summary{flex-wrap:wrap;gap:12px;margin:12px 0 20px;display:flex}.admin-conversation-list{flex-direction:column;gap:16px;display:flex}.admin-conversation-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;overflow:hidden;box-shadow:0 8px 20px #1018280a}.admin-conversation-card-header{background:linear-gradient(135deg,#f8fafc,#eef2f6);border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.admin-conversation-title{color:#0f172a;font-size:1rem;font-weight:700}.admin-conversation-meta{color:#667085;margin-top:4px;font-size:.84rem}.admin-conversation-counts{color:#475467;flex-wrap:wrap;gap:10px;font-size:.85rem;display:flex}.admin-conversation-items{flex-direction:column;display:flex}.admin-conversation-item{border-top:1px solid #f2f4f7;padding:14px 18px}.admin-conversation-item:first-child{border-top:none}.admin-conversation-item-message{background:#fff}.admin-conversation-item-call{background:#f9fafb}.admin-conversation-item-header{color:#101828;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}.admin-conversation-item-body{color:#344054;white-space:pre-wrap;word-break:break-word;line-height:1.6}.admin-conversation-item-footer{color:#667085;margin-top:6px;font-size:.84rem}.admin-conversation-call-summary{color:#1d2939;white-space:pre-wrap;word-break:break-word;background:#eef4ff;border-radius:10px;margin-top:10px;padding:10px 12px;line-height:1.6}.admin-table select{border:1px solid #007bff;border-radius:4px;padding:4px 8px;font-size:.85rem}.level-badge{letter-spacing:.02em;white-space:nowrap;vertical-align:middle;color:#495057;background:#e9ecef;border-radius:12px;padding:2px 10px;font-size:.78rem;font-weight:600;display:inline-block}.level-badge.level-普通医生{color:#495057;background:#e9ecef}.level-badge.level-主治医生{color:#0c5460;background:#d1ecf1}.level-badge.level-副主任医师{color:#004085;background:#cce5ff}.level-badge.level-主任医师{color:#856404;background:#fff3cd;box-shadow:0 0 0 1px #85640426}.level-badge.level-专家{color:#fff;background:linear-gradient(135deg,#ff9a56,#ff6b6b);box-shadow:0 1px 4px #ff6b6b59}.doctor-name-with-level{align-items:center;gap:6px;display:inline-flex}.doctor-name-with-level .level-badge{padding:1px 7px;font-size:.8rem}.admin-loading,.admin-empty{text-align:center;color:#888;padding:32px;font-size:.92rem}.admin-hint{color:#666;margin-bottom:12px;font-size:.88rem}.admin-hint code{background:#f0f0f0;border-radius:3px;padding:2px 6px;font-size:.85rem}.admin-import-form{background:#f8f9fa;border-radius:10px;margin-bottom:20px;padding:18px}.admin-import-textarea{resize:vertical;border:1px solid #dee2e6;border-radius:8px;width:100%;margin-bottom:12px;padding:12px;font-family:Courier New,monospace;font-size:.9rem}.admin-import-textarea:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.admin-import-options{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.admin-import-options label{color:#555;flex-direction:column;gap:4px;font-size:.88rem;display:flex}.admin-import-options select{border:1px solid #dee2e6;border-radius:6px;padding:8px 12px;font-size:.88rem}.admin-import-result{color:#155724;background:#d4edda;border-radius:8px;margin-top:12px;padding:12px;font-size:.88rem}.admin-import-errors{color:#721c24;margin-top:8px;padding-left:20px}.admin-import-errors li{margin-bottom:4px}.admin-perm-form{background:#f8f9fa;border-radius:10px;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:20px;padding:16px;display:flex}.admin-perm-form label{color:#555;flex-direction:column;gap:4px;font-size:.88rem;display:flex}.admin-perm-form select{border:1px solid #dee2e6;border-radius:6px;min-width:180px;padding:8px 12px;font-size:.88rem}.perm-arrow{color:#007bff;padding-bottom:6px;font-size:.9rem;font-weight:600}.invite-senior-btn{color:#007bff;cursor:pointer;background:0 0;border:1px dashed #007bff;border-radius:4px;margin-left:12px;padding:3px 10px;font-size:.82rem;transition:all .2s;display:inline-block}.invite-senior-btn:hover{color:#fff;background:#007bff;border-style:solid}.chat-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.template-library-btn{color:#0f766e;cursor:pointer;background:#0f766e14;border:1px solid #0f766e;border-radius:4px;justify-content:center;align-items:center;padding:3px 10px;font-size:.82rem;transition:all .2s;display:inline-flex}.template-library-btn:hover{color:#fff;background:#0f766e}.template-library-modal{width:min(560px,92vw)}.template-library-search{margin-bottom:12px}.template-library-list{flex-direction:column;gap:12px;display:flex}.template-library-card{background:linear-gradient(#fff,#f8fafc);border:1px solid #e4e7ec;border-radius:14px;padding:14px}.template-library-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.template-library-card-header strong{color:#101828;font-size:.98rem;display:block}.template-library-card-header p{color:#667085;margin:4px 0 0;font-size:.84rem;line-height:1.5}.template-library-card-text{color:#1f2937;white-space:pre-wrap;margin-top:10px;line-height:1.7}.template-send-btn{flex:none}.invite-modal-overlay{z-index:10000;background:#0006;justify-content:center;align-items:center;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.invite-modal{background:#fff;border-radius:16px;width:min(420px,90vw);max-height:75vh;animation:.2s slideUp;overflow:hidden;box-shadow:0 16px 48px #0000002e}@keyframes slideUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}.invite-modal-header{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:18px 20px 14px;display:flex}.invite-modal-header h3{color:#1a1a1a;margin:0;font-size:17px;font-weight:600}.invite-modal-close{cursor:pointer;color:#666;background:#f5f5f5;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:18px;transition:all .15s;display:flex}.invite-modal-close:hover{color:#333;background:#e8e8e8}.invite-modal-body{max-height:55vh;padding:16px 20px 20px;overflow-y:auto}.invite-loading{color:#1a73e8;justify-content:center;align-items:center;gap:10px;padding:32px 0;font-size:15px;display:flex}.invite-loading .spinner{border:2px solid #b3d4fc;border-top-color:#1a73e8;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin;display:inline-block}.invite-empty{text-align:center;padding:32px 16px}.invite-empty-icon{margin-bottom:12px;font-size:40px}.invite-empty p{color:#555;margin:0;font-size:15px;font-weight:500}.invite-empty-hint{color:#999!important;margin-top:6px!important;font-size:15px!important;font-weight:400!important}.invite-doctor-list{flex-direction:column;gap:10px;display:flex}.invite-doctor-item{background:#f8fafc;border:1px solid #e8ecf0;border-radius:12px;justify-content:space-between;align-items:center;padding:14px 16px;transition:all .15s;display:flex}.invite-doctor-item:hover{background:#eef4ff;border-color:#b3d4fc}.invite-doctor-info{flex-direction:column;gap:3px;display:flex}.invite-doctor-info strong{color:#1a1a1a;font-size:15px}.invite-doctor-info span{color:#888;font-size:15px}.invite-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#1a73e8;border:none;border-radius:8px;padding:7px 16px;font-size:15px;font-weight:500;transition:background .15s}.invite-btn:hover{background:#1557b0}.call-buttons{gap:6px;margin-left:auto;display:flex}.call-initiate-btn{color:#28a745;cursor:pointer;background:0 0;border:1px solid #28a745;border-radius:4px;align-items:center;gap:4px;padding:3px 10px;font-size:.82rem;transition:all .2s;display:inline-flex}.call-initiate-btn.video{color:#6f42c1;border-color:#6f42c1}.call-initiate-btn:hover{color:#fff;background:#28a745}.call-initiate-btn.video:hover{color:#fff;background:#6f42c1}.video-call-overlay{z-index:20000;background:#000;flex-direction:column;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.video-call-container{flex-direction:column;width:100%;height:100%;display:flex;position:relative}.video-call-container.audio-mode{justify-content:center;align-items:center;gap:24px;padding:40px 20px}.video-call-streams{background:#1a1a2e;position:absolute;inset:0}.remote-video-wrapper{position:absolute;inset:0}.remote-video{width:100%;height:100%}video.remote-video,video.local-video{object-fit:cover;position:absolute;inset:0}.remote-video div,.remote-video video{top:0;left:0;object-fit:cover!important;width:100%!important;height:100%!important;position:absolute!important}.video-placeholder{color:#fff9;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:1rem;display:flex;position:absolute;inset:0}.video-placeholder-icon{font-size:4rem}.local-video-wrapper{top:calc(env(safe-area-inset-top,0px) + 16px);z-index:2;background:#2a2a3e;border:2px solid #ffffff4d;border-radius:12px;width:110px;height:150px;position:absolute;right:16px;overflow:hidden;box-shadow:0 4px 16px #0006}.local-video{width:100%;height:100%}.local-video div,.local-video video{top:0;left:0;object-fit:cover!important;width:100%!important;height:100%!important;position:absolute!important}.local-video-hint{z-index:3;color:#fff;background:#00000061;border-radius:999px;padding:2px 6px;font-size:11px;line-height:1.3;position:absolute;bottom:6px;right:7px}.audio-call-avatar{flex-direction:column;align-items:center;gap:16px;padding:40px 0;display:flex}.audio-avatar-icon{background:linear-gradient(135deg,#3498db,#2980b9);border-radius:50%;justify-content:center;align-items:center;width:100px;height:100px;font-size:3rem;display:flex;box-shadow:0 0 30px #3498db66}.audio-call-name{color:#fff;font-size:1.3rem;font-weight:600}.call-status-bar{text-align:center}.video-mode .call-status-bar{top:calc(env(safe-area-inset-top,0px) + 20px);z-index:3;text-align:left;position:absolute;left:20px}.call-status-text{color:#ffffffe6;text-shadow:0 1px 4px #0009;font-size:1rem}.call-status-text.pulse{animation:1.5s ease-in-out infinite callPulse}.call-status-text.error{color:#e74c3c}@keyframes callPulse{0%,to{opacity:.6}50%{opacity:1}}.call-controls{justify-content:center;align-items:flex-start;gap:24px;display:flex}.video-mode .call-controls{bottom:calc(env(safe-area-inset-bottom,0px) + 32px);z-index:3;position:absolute;left:0;right:0}.call-btn{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:16px;flex-direction:column;align-items:center;gap:6px;min-width:64px;padding:14px 18px;font-size:.8rem;transition:background .2s;display:flex}.call-btn:hover{background:#ffffff40}.call-btn.active{background:#ffffff4d}.call-btn-icon{font-size:1.5rem}.call-btn-hangup{background:#e74c3c}.call-btn-hangup:hover{background:#c0392b}.incoming-call-overlay{-webkit-backdrop-filter:blur(7px)saturate(.92);z-index:20000;background:radial-gradient(circle at 50% 34%,#ffffff2e,#0000 34%),#1714119e;justify-content:center;align-items:center;padding:28px;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.incoming-call-overlay .incoming-call-card{background:linear-gradient(#fffffffa 0%,#fafdf9f5 100%);border:1px solid #ffffffd1;border-radius:30px;flex-direction:column;justify-content:center;align-items:center;gap:18px;width:min(86vw,440px);min-height:420px;padding:26px 30px 28px;animation:.26s cubic-bezier(.2,.8,.2,1) incomingCallLift;display:flex;position:relative;overflow:hidden;box-shadow:0 28px 80px #12192657,inset 0 1px #ffffffeb}.incoming-call-overlay .incoming-call-card:before{content:"";pointer-events:none;background:linear-gradient(135deg,#22c55e24,#3b82f614);height:112px;position:absolute;inset:0 0 auto}.incoming-call-overlay .incoming-call-card:after{content:"";background:linear-gradient(90deg,#0000,#0f172a1a,#0000);width:160px;height:1px;position:absolute;top:72px}@keyframes incomingCallLift{0%{opacity:0;transform:translateY(26px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.incoming-call-overlay .incoming-call-kicker{color:#64748b;letter-spacing:.04em;align-items:center;gap:8px;font-size:.82rem;font-weight:700;display:inline-flex;position:absolute;top:22px;left:50%;transform:translate(-50%)}.incoming-call-overlay .incoming-call-kicker span{background:#22c55e;border-radius:999px;width:8px;height:8px;animation:1.4s ease-in-out infinite callPulse;box-shadow:0 0 0 6px #22c55e24}.incoming-call-overlay .incoming-call-icon{color:#0f766e;background:linear-gradient(#ecfdf5 0%,#dff7eb 100%);border-radius:999px;place-items:center;width:86px;height:86px;margin-top:18px;animation:1.5s ease-in-out infinite callPulse;display:grid;position:relative;box-shadow:0 16px 34px #0f766e2e,inset 0 1px #ffffffdb}.incoming-call-overlay .incoming-call-info{text-align:center;position:relative}.incoming-call-overlay .incoming-call-name{color:#243142;margin-bottom:12px;font-size:clamp(2rem,7vw,2.6rem);font-weight:800;line-height:1.12}.incoming-call-overlay .incoming-call-card--care-screen .incoming-call-name{font-size:clamp(1.72rem,6vw,2.18rem)}.incoming-call-overlay .incoming-call-type{color:#64748b;font-size:1.05rem;font-weight:700}.incoming-call-overlay .incoming-call-hint{color:#94a3b8;margin-top:10px;font-size:.88rem;line-height:1.5}.incoming-call-overlay .incoming-call-actions{gap:18px;width:100%;margin-top:16px;display:flex}.incoming-call-overlay .incoming-call-btn{cursor:pointer;border:none;border-radius:18px;flex:1;min-height:74px;padding:18px 0;font-size:1.18rem;font-weight:800;transition:transform .16s,box-shadow .16s,background .16s}.incoming-call-overlay .incoming-call-btn.reject{color:#e23d3d;background:#fff1f2;box-shadow:inset 0 0 0 1px #f871711f}.incoming-call-overlay .incoming-call-btn.reject:hover{color:#fff;background:#ef4444;box-shadow:0 14px 28px #ef44443d}.incoming-call-overlay .incoming-call-btn.accept{color:#16a34a;background:linear-gradient(#dcfce7 0%,#c9f7d8 100%);box-shadow:inset 0 0 0 1px #22c55e1f}.incoming-call-overlay .incoming-call-btn.accept:hover{color:#fff;background:#22c55e;box-shadow:0 14px 28px #22c55e3d}.incoming-call-overlay .incoming-call-btn:active{transform:scale(.98)}@media (width<=480px){.incoming-call-overlay{padding:18px}.incoming-call-overlay .incoming-call-card{border-radius:28px;width:min(92vw,420px);min-height:390px;padding:24px 22px}.incoming-call-overlay .incoming-call-actions{gap:12px}.incoming-call-overlay .incoming-call-btn{border-radius:16px;min-height:66px}}.call-summary-panel{z-index:10000;background:#fff;border-radius:12px;width:380px;max-height:60vh;padding:16px;position:fixed;bottom:80px;right:16px;overflow-y:auto;box-shadow:0 8px 30px #00000026}.call-summary-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.call-summary-header h4{margin:0;font-size:1rem}.call-summary-close{cursor:pointer;color:#999;background:0 0;border:none;padding:0 4px;font-size:1.3rem}.call-summary-loading{text-align:center;color:#666;padding:20px 0}.call-summary-loading p{margin-top:8px;font-size:.85rem}.call-summary-content .summary-section{margin-bottom:10px;font-size:.9rem;line-height:1.6}.call-summary-content .summary-section strong{color:#333}.call-summary-content .summary-section ul{margin:4px 0 0 18px;padding:0}.call-summary-content .summary-section li{margin-bottom:3px}.call-summary-error{color:#e74c3c;font-size:.85rem}@media (width<=768px){.call-summary-panel{width:calc(100% - 32px);bottom:60px;right:16px}.admin-tabs{flex-direction:column}.admin-tab:not(:last-child){border-bottom:1px solid #dee2e6;border-right:none}.admin-perm-form{flex-direction:column;align-items:stretch}.perm-arrow{text-align:center}.admin-import-options{flex-direction:column;align-items:stretch}.admin-table{font-size:.8rem}.admin-table th,.admin-table td{padding:8px 10px}.admin-conversation-card-header,.admin-conversation-item-header{flex-direction:column;align-items:flex-start}}.admin-message-error{color:#721c24;background:#f8d7da}.admin-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.admin-toolbar-right{gap:8px;margin-left:auto;display:flex}.admin-search{border:1px solid #dee2e6;border-radius:8px;min-width:180px;padding:8px 14px;font-size:.88rem}.admin-search:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.admin-binding-id{color:#1f2937;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.85rem;font-weight:700}.admin-input{border:1px solid #dee2e6;border-radius:6px;width:100%;padding:8px 12px;font-size:.88rem}.admin-input:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.admin-input-sm{border:1px solid #007bff;border-radius:4px;width:100%;padding:4px 8px;font-size:.85rem}.admin-add-form{background:#f8f9fa;border:1px solid #e9ecef;border-radius:10px;margin-bottom:20px;padding:18px}.admin-form-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;display:grid}.admin-link{color:#007bff;cursor:pointer;font-weight:500}.admin-link:hover{text-decoration:underline}.admin-actions{white-space:nowrap;gap:6px;display:flex}.admin-text-muted{color:#888;font-size:.82rem}.admin-template-editor{margin-bottom:20px;padding:16px}.admin-template-textarea{margin-top:12px}.admin-template-upload-row{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.admin-template-preview-grid,.admin-template-image-row{grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:10px;display:grid}.admin-health-video-row{background:#f7fafc;border:1px solid #dfe6ec;border-radius:8px;grid-template-columns:minmax(240px,420px) minmax(180px,1fr);align-items:start;gap:16px;margin-top:14px;padding:14px;display:grid}.admin-health-type-switch{background:#eef3f6;border:1px solid #d7e0e7;border-radius:8px;gap:4px;margin-top:16px;padding:4px;display:inline-flex}.admin-health-type-switch button{color:#526170;cursor:pointer;background:0 0;border:0;border-radius:6px;min-width:120px;padding:9px 14px;font-weight:700}.admin-health-type-switch button.active{color:#174f4a;background:#fff;box-shadow:0 2px 8px #1f32401f}.admin-health-file-panel{background:#f7fafc;border:1px solid #dfe6ec;border-radius:8px;margin-top:14px;padding:16px}.admin-health-editor-panel{background:#fff;border:1px solid #d7e0e7;border-radius:8px;margin-top:14px;overflow:hidden}.admin-health-editor-toolbar{background:#f3f6f8;border-bottom:1px solid #dfe6ec;flex-wrap:wrap;gap:6px;padding:10px;display:flex}.admin-health-editor-toolbar button,.admin-health-editor-toolbar select{color:#263746;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-height:34px;padding:6px 10px}.admin-health-editor-toolbar button:disabled{cursor:wait;opacity:.65}.admin-health-rich-editor{color:#1f2937;overflow-wrap:anywhere;outline:none;min-height:360px;padding:20px;font-size:16px;line-height:1.75}.admin-health-rich-editor:empty:before{color:#94a3b8;content:attr(data-placeholder);pointer-events:none}.admin-health-rich-editor img{max-width:100%;height:auto}.admin-health-file-panel>.admin-text-muted{margin-left:10px}.admin-health-selected-file{color:#374151;background:#fff;border-radius:6px;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;padding:12px;display:flex}.admin-health-selected-file a{color:#0f766e;font-weight:700}.admin-health-video-row video,.admin-health-list-video{background:#111827;border-radius:6px;width:100%;max-height:360px;display:block}.admin-health-video-row>div{justify-items:start;gap:12px;display:grid}.admin-health-publish-row{background:#f7fafc;border:1px solid #dfe6ec;border-radius:8px;flex-wrap:wrap;align-items:center;gap:20px;margin-top:16px;padding:14px;display:flex}.admin-health-publish-row label{color:#374151;align-items:center;gap:10px;font-weight:600;display:flex}.admin-health-publish-row select{color:#1f2937;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-width:130px;padding:8px 10px}.admin-health-checkbox input{width:18px;height:18px}.admin-health-list-video{max-width:560px;margin-top:14px}.admin-health-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.admin-health-stats>div{background:#fff;border:1px solid #dfe6ec;border-radius:8px;align-items:baseline;gap:5px;min-height:92px;padding:15px 16px;display:flex}.admin-health-stats>div.highlight{background:#edf8f6;border-color:#b9ddd8}.admin-health-stats small{color:#667085;align-self:flex-start;margin-right:auto;font-size:13px;font-weight:700}.admin-health-stats strong{color:#173f3b;font-variant-numeric:tabular-nums;font-size:28px}.admin-health-stats span{color:#667085;font-size:13px}.admin-health-open-count{color:#376e68;background:#e7f4f2;border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;display:inline-flex}.admin-health-open-count strong{font-variant-numeric:tabular-nums}@media (width<=720px){.admin-health-video-row,.admin-health-stats{grid-template-columns:1fr}.admin-health-stats>div{min-height:72px}}.admin-template-preview-grid{margin-top:12px}.admin-template-preview-item{background:#f8fafc;border:1px solid #e4e7ec;border-radius:12px;min-height:110px;position:relative;overflow:hidden}.admin-template-preview-image,.admin-template-image-thumb{aspect-ratio:1;object-fit:cover;width:100%;height:100%;display:block}.admin-template-remove{color:#fff;cursor:pointer;background:#0f172ab8;border:none;border-radius:999px;padding:4px 10px;font-size:.76rem;position:absolute;bottom:8px;right:8px}.admin-template-list{flex-direction:column;gap:14px;display:flex}.admin-template-card{padding:16px}.admin-template-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-template-title-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.admin-template-description{color:#667085;margin:6px 0 0;font-size:.88rem;line-height:1.5}.admin-template-text{white-space:pre-wrap;color:#1f2937;margin-top:12px;line-height:1.7}.admin-template-image-row{margin-top:12px}.admin-modal-overlay{z-index:1000;background:#00000073;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.admin-modal{background:#fff;border-radius:12px;width:min(460px,95vw);max-height:80vh;padding:24px;overflow-y:auto;box-shadow:0 8px 30px #00000026}.admin-modal-lg{width:min(720px,95vw)}.admin-modal-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.admin-modal-header h3{color:#2c3e50;margin:0;font-size:1.1rem}.admin-modal-close{color:#888;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:1.2rem}.admin-modal-close:hover{color:#333;background:#f0f0f0}.admin-modal-actions{gap:10px;margin-top:16px;display:flex}.admin-doctor-qr-modal{width:min(430px,95vw)}.admin-doctor-qr-summary{color:#334155;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}.admin-doctor-qr-summary strong{color:#172554;font-size:1.05rem}.admin-doctor-qr-summary span{color:#64748b;font-size:.86rem}.admin-doctor-qr-canvas{background:#fff;border:1px solid #dbe3ea;width:fit-content;max-width:100%;margin:0 auto;padding:14px;display:flex}.admin-doctor-qr-canvas canvas{aspect-ratio:1;display:block;width:min(256px,68vw)!important;height:auto!important}.admin-doctor-qr-description{color:#475569;text-align:center;margin:16px 0 10px;font-size:.9rem;line-height:1.6}.admin-doctor-qr-link{color:#475569;overflow-wrap:anywhere;background:#f8fafc;border:1px solid #dbe3ea;border-radius:6px;padding:10px 12px;font-size:.78rem;line-height:1.5}.admin-doctor-qr-notice{color:#166534;text-align:center;margin-top:10px;font-size:.86rem}.admin-doctor-qr-actions{justify-content:center}.admin-detail-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:12px;display:grid}.admin-detail-item{flex-direction:column;gap:2px;display:flex}.admin-detail-label{color:#888;font-size:.82rem;font-weight:500}.admin-detail-submissions{flex-direction:column;gap:10px;max-height:400px;display:flex;overflow-y:auto}.admin-submission-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px;padding:12px}.admin-submission-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.admin-submission-type{color:#007bff;font-size:.88rem;font-weight:600}.admin-submission-time{color:#888;font-size:.8rem}.admin-submission-pre{white-space:pre-wrap;word-break:break-all;color:#333;background:#f0f4f8;border-radius:6px;max-height:300px;margin:0;padding:10px 14px;font-family:Courier New,monospace;font-size:.82rem;overflow-y:auto}.admin-row-expanded>td{border-bottom-color:#0000}.admin-edit-textarea{resize:vertical;border:1px solid #dee2e6;border-radius:6px;width:100%;padding:10px;font-family:Courier New,monospace;font-size:.85rem}.admin-edit-textarea:focus{border-color:#007bff;outline:none}.admin-edit-actions{gap:8px;margin-top:8px;display:flex}.admin-pagination{color:#555;justify-content:center;align-items:center;gap:16px;margin-top:16px;padding:12px 0;font-size:.88rem;display:flex}.admin-perm-row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.admin-perm-row label{color:#555;flex-direction:column;gap:4px;font-size:.88rem;display:flex}.admin-perm-row select{border:1px solid #dee2e6;border-radius:6px;min-width:180px;padding:8px 12px;font-size:.88rem}@media (width<=768px){.admin-toolbar{flex-direction:column;align-items:stretch}.admin-toolbar-right{margin-left:0}.admin-search{min-width:auto}.admin-form-grid{grid-template-columns:1fr}.admin-detail-grid{grid-template-columns:1fr 1fr}.admin-actions{flex-direction:column;gap:4px}.admin-perm-row{flex-direction:column;align-items:stretch}.admin-modal-lg{width:95vw}.admin-pagination{gap:8px}}.feedback-fab{color:#fff;cursor:pointer;z-index:9990;background:linear-gradient(135deg,#1a73e8,#4a90d9);border:none;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;font-size:22px;transition:all .2s;display:flex;position:fixed;bottom:80px;right:20px;box-shadow:0 4px 16px #1a73e859}.feedback-fab-has-unread{border-radius:999px;gap:8px;width:auto;min-width:56px;padding:0 14px}.feedback-fab-icon{justify-content:center;align-items:center;line-height:1;display:inline-flex}.feedback-fab-badge{letter-spacing:.02em;white-space:nowrap;font-size:12px;font-weight:600}.feedback-fab:hover{transform:scale(1.08);box-shadow:0 6px 24px #1a73e873}.feedback-fab:active{transform:scale(.95)}.feedback-overlay{z-index:10000;background:#0006;justify-content:center;align-items:center;animation:.15s fadeIn;display:flex;position:fixed;inset:0}.feedback-modal{background:#fff;border-radius:16px;flex-direction:column;width:min(440px,92vw);max-height:80vh;animation:.2s slideUp;display:flex;overflow:hidden;box-shadow:0 16px 48px #0000002e}.feedback-header{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:18px 20px 14px;display:flex}.feedback-header h3{color:#1a1a1a;margin:0;font-size:17px}.feedback-close{cursor:pointer;color:#666;background:#f5f5f5;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:18px;transition:all .15s;display:flex}.feedback-close:hover{color:#333;background:#e8e8e8}.feedback-body{flex:1;padding:16px 20px 20px;overflow-y:auto}.feedback-textarea{resize:vertical;box-sizing:border-box;border:1.5px solid #e0e0e0;border-radius:10px;width:100%;padding:12px 14px;font-family:inherit;font-size:15px;transition:border-color .15s}.feedback-textarea:focus{border-color:#1a73e8;outline:none}.feedback-char-count{text-align:right;color:#aaa;margin-top:4px;font-size:16px}.feedback-image-section{margin-top:12px}.feedback-image-preview{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.feedback-image-item{border:1px solid #e8e8e8;border-radius:8px;width:72px;height:72px;position:relative;overflow:hidden}.feedback-image-item img{object-fit:cover;width:100%;height:100%}.feedback-image-remove{color:#fff;cursor:pointer;background:#0000008c;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:16px;display:flex;position:absolute;top:2px;right:2px}.feedback-error{color:#c54040;background:#fef0f0;border-radius:8px;margin-top:10px;padding:8px 12px;font-size:15px}.feedback-actions{justify-content:space-between;gap:10px;margin-top:16px;display:flex}.feedback-btn{cursor:pointer;border:none;border-radius:10px;padding:10px 20px;font-size:16px;font-weight:500;transition:all .15s}.feedback-btn-primary{color:#fff;background:#1a73e8}.feedback-btn-primary:hover{background:#1557b0}.feedback-btn-primary:disabled{opacity:.5;cursor:not-allowed}.feedback-btn-outline{color:#333;background:#f5f5f5;border:1px solid #e0e0e0}.feedback-btn-outline:hover{background:#eee}.feedback-success{text-align:center;padding:20px 0}.feedback-success-icon{margin-bottom:12px;font-size:48px}.feedback-success h4{color:#333;margin:0 0 8px;font-size:17px}.feedback-success p{color:#888;margin:0;font-size:16px}.feedback-success-actions{justify-content:center;gap:10px;margin-top:20px;display:flex}.feedback-reply-notice{background:linear-gradient(135deg,#eef6ff,#f7fbff);border:1px solid #d6e7ff;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:12px 14px;display:flex}.feedback-reply-notice strong{color:#1557b0;margin-bottom:4px;font-size:15px;display:block}.feedback-reply-notice p{color:#4b5b75;margin:0;font-size:14px;line-height:1.5}.feedback-reply-notice .feedback-btn{flex-shrink:0}.feedback-history-item{border:1px solid #e8ecf0;border-radius:10px;margin-bottom:10px;padding:14px}.feedback-history-meta{align-items:center;gap:10px;margin-bottom:8px;display:flex}.feedback-status{border-radius:12px;padding:2px 10px;font-size:16px;font-weight:500;display:inline-block}.feedback-status-pending{color:#856404;background:#fff3cd}.feedback-status-replied{color:#155724;background:#d4edda}.feedback-history-date{color:#999;font-size:16px}.feedback-history-content{color:#333;font-size:16px;line-height:1.6}.feedback-history-images{gap:6px;margin-top:8px;display:flex}.feedback-thumb{object-fit:cover;border:1px solid #eee;border-radius:6px;width:56px;height:56px}.feedback-reply-box{background:#f0f7ff;border-left:3px solid #1a73e8;border-radius:8px;margin-top:10px;padding:10px 12px}.feedback-reply-box strong{color:#1a73e8;font-size:15px}.feedback-reply-box p{color:#333;margin:4px 0 0;font-size:16px}.feedback-reply-date{color:#999;margin-top:4px;font-size:16px;display:block}.feedback-empty{text-align:center;color:#999;padding:24px}@media (width<=640px){.feedback-fab-has-unread{padding:0 12px}.feedback-reply-notice{flex-direction:column;align-items:stretch}.feedback-reply-notice .feedback-btn{width:100%}}.admin-feedback-list{flex-direction:column;gap:14px;display:flex}.admin-feedback-card{background:#fff;border:1px solid #e8ecf0;border-radius:12px;padding:16px;transition:box-shadow .15s}.admin-feedback-card:hover{box-shadow:0 2px 12px #0000000f}.admin-feedback-pending{border-left:4px solid #ffc107}.admin-feedback-replied{border-left:4px solid #28a745}.admin-feedback-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.admin-feedback-user{align-items:center;gap:8px;display:flex}.admin-feedback-role{font-size:15px}.admin-feedback-meta{align-items:center;gap:10px;display:flex}.admin-feedback-date{color:#999;font-size:16px}.admin-feedback-content{color:#333;white-space:pre-wrap;margin-bottom:10px;font-size:16px;line-height:1.6}.admin-feedback-images{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.admin-feedback-thumb{object-fit:cover;cursor:pointer;border:1px solid #eee;border-radius:8px;width:80px;height:80px;transition:opacity .15s}.admin-feedback-thumb:hover{opacity:.8}.admin-feedback-reply-display{background:#f0f7ff;border-left:3px solid #1a73e8;border-radius:8px;margin-bottom:10px;padding:10px 12px;font-size:16px}.admin-feedback-reply-date{color:#999;margin-top:4px;font-size:16px;display:block}.admin-feedback-actions{align-items:flex-start;gap:8px;display:flex}.admin-feedback-reply-form{flex:1}.admin-feedback-reply-input{resize:vertical;box-sizing:border-box;border:1.5px solid #e0e0e0;border-radius:8px;width:100%;padding:10px 12px;font-family:inherit;font-size:16px}.admin-feedback-reply-input:focus{border-color:#1a73e8;outline:none}.admin-doctor-feedback-list{gap:14px}.admin-doctor-feedback-card-hidden{background:#fffaf1;border-left:4px solid #d97706}.admin-doctor-feedback-summary{color:#6a7784;margin:8px 0 0}.admin-doctor-feedback-meta-line{color:#5f6f7f;margin-top:6px;font-size:14px}.admin-doctor-feedback-audio-list{flex-direction:column;gap:10px;margin-top:12px;display:flex}.searchable-select{width:100%;position:relative}.searchable-select-input-wrap{align-items:center;display:flex;position:relative}.searchable-select-input{box-sizing:border-box;background:#fff;border:1.5px solid #e0e0e0;border-radius:8px;width:100%;padding:10px 60px 10px 12px;font-family:inherit;font-size:16px;transition:border-color .2s}.searchable-select-input:focus{border-color:#1a73e8;outline:none}.searchable-select-clear{color:#999;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:18px;line-height:1;position:absolute;right:28px}.searchable-select-clear:hover{color:#333}.searchable-select-arrow{color:#999;cursor:pointer;-webkit-user-select:none;user-select:none;font-size:16px;position:absolute;right:10px}.searchable-select-dropdown{z-index:100;background:#fff;border:1.5px solid #e0e0e0;border-top:none;border-radius:0 0 8px 8px;max-height:260px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 4px 12px #0000001a}.searchable-select-group-label{color:#888;background:#f5f5f5;padding:6px 12px;font-size:16px;font-weight:600;position:sticky;top:0}.searchable-select-option{cursor:pointer;justify-content:space-between;align-items:center;padding:8px 12px;font-size:16px;transition:background .15s;display:flex}.searchable-select-option:hover{background:#e8f0fe}.searchable-select-option.selected{background:#d2e3fc;font-weight:600}.searchable-select-option-hint{color:#999;margin-left:8px;font-size:16px}.searchable-select-empty{text-align:center;color:#999;padding:12px;font-size:15px}.invite-code-card .invite-code-body{flex-direction:column;align-items:center;gap:12px;padding:16px 0 8px;display:flex}.invite-code-display{background:#f0f7ff;border:1.5px dashed #1a73e8;border-radius:10px;align-items:center;gap:16px;padding:12px 20px;display:flex}.invite-code-value{letter-spacing:4px;color:#1a73e8;font-family:Courier New,Courier,monospace;font-size:28px;font-weight:700}.invite-code-timer{color:#e67700;white-space:nowrap;font-size:15px;font-weight:600}.form-hint{color:#888;margin-top:4px;font-size:16px}.scan-question-label{color:#333;margin-bottom:10px;font-size:1.05rem;font-weight:600;line-height:1.5;display:block}.scan-checkbox-group,.scan-radio-group{flex-wrap:wrap;gap:8px 16px;padding:4px 0;display:flex}.scan-checkbox-label,.scan-radio-label{color:#444;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;padding:6px 0;font-size:1rem;display:inline-flex}.scan-checkbox-label input[type=checkbox],.scan-radio-label input[type=radio]{accent-color:#1a73e8;cursor:pointer;appearance:auto;width:22px;min-width:22px;height:22px;box-shadow:none;border:none;border-radius:0;margin:0;padding:0}.scan-other-label{flex-wrap:wrap;width:100%}.scan-other-input{border:2px solid #e1e8ed;border-radius:8px;width:100%;max-width:300px;margin-top:6px;padding:8px 12px;font-size:.9rem;transition:border-color .3s;display:block}.scan-other-input:focus{border-color:#3498db;outline:none;box-shadow:0 0 0 3px #3498db1a}.scan-conditional{border-left:3px solid #e1e8ed;margin-top:8px;margin-left:16px;padding-left:12px}.scan-risk-assessment-text{white-space:pre-wrap;word-wrap:break-word;color:#333;background:#f8f9fb;border:1px solid #e8ecf0;border-radius:8px;margin:8px 0 0;padding:14px 16px;font-family:inherit;font-size:.93rem;line-height:1.7}.modal-overlay{z-index:9999;background:#00000080;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.scan-report-modal{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:640px;max-height:85vh;display:flex;box-shadow:0 8px 32px #0000002e}.modal-header{border-bottom:1px solid #eee;flex-shrink:0;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.modal-header h3{margin:0;font-size:1.1rem}.modal-close-button{cursor:pointer;color:#666;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:1.3rem}.modal-close-button:hover{color:#333;background:#f0f0f0}.modal-body{flex:1;padding:16px 20px;overflow-y:auto}.hp-form .content-form-grid{gap:0}.hp-section{background:#f8fbfe;border:1px solid #e8f0f6;border-radius:14px;margin-bottom:16px;padding:18px 20px}.hp-section-header{color:#1a3b5c;border-bottom:2px solid #e1edf5;align-items:center;gap:8px;margin-bottom:14px;padding-bottom:10px;font-size:1.1rem;font-weight:700;display:flex}.hp-section-icon{font-size:1.2rem}.hp-section-hint{color:#7a8fa0;margin:-6px 0 12px;font-size:.88rem}.hp-section .form-group{margin-bottom:14px}.hp-section .form-group:last-child,.hp-section .assessment-form-grid{margin-bottom:0}.hp-birthday-row{flex-wrap:wrap;gap:10px;display:flex}.hp-birthday-field{flex:92px;align-items:center;gap:6px;min-width:92px;display:flex}.hp-birthday-field input{width:100%;min-width:0}.hp-birthday-field span{color:#47627a;white-space:nowrap;font-size:.92rem}.hp-birthday-hint{color:#6f8599;margin:8px 0 0;font-size:.83rem}.hp-input-error{box-shadow:0 0 0 3px #d143431f;border-color:#d14343!important}.hp-form-error{color:#c62828;margin:8px 0 0;font-size:.84rem}.hp-bmi-badge{color:#333;background:#edf7ed;border-radius:20px;align-items:center;gap:8px;margin-top:10px;padding:8px 16px;font-size:.95rem;display:inline-flex}.hp-bmi-badge strong{color:#1a3b5c;font-size:1.1rem}.hp-bmi-label{color:#fff;border-radius:12px;padding:2px 10px;font-size:.82rem;font-weight:600;display:inline-block}.hp-section-chronic{background:linear-gradient(135deg,#fefefe 0%,#f5f9ff 100%);border-color:#d6e5f5}.hp-chronic-list{flex-direction:column;gap:12px;margin-bottom:14px;display:flex}.hp-chronic-card{background:#fff;border:1px solid #dde8f0;border-radius:12px;padding:14px 16px;transition:box-shadow .2s,border-color .2s;box-shadow:0 2px 8px #1c3a5b0d}.hp-chronic-card:hover{border-color:#b0cce4;box-shadow:0 4px 14px #1c3a5b1a}.hp-chronic-card-top{align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.hp-chronic-name-shell{flex:auto;align-items:center;gap:10px;min-width:0;display:flex}.hp-chronic-icon{flex-shrink:0;font-size:1.4rem}.hp-chronic-name-input{flex:auto;width:100%;min-width:0;background:0 0!important;border:none!important;border-bottom:2px solid #e1e8ed!important;border-radius:0!important;padding:6px 4px!important;font-size:1.05rem!important;font-weight:600!important}.hp-chronic-name-input:focus{box-shadow:none!important;border-bottom-color:#3498db!important}.hp-chronic-delete{color:#d06161;cursor:pointer;background:#fff4f4;border:1px solid #f2c7c7;border-radius:10px;flex:none;justify-content:center;align-items:center;width:40px;min-width:40px;height:40px;padding:0;font-size:1.05rem;transition:color .2s,background .2s,border-color .2s;display:inline-flex}.hp-chronic-delete:hover{color:#e74c3c;background:#fde9e7;border-color:#efb0a8}.hp-chronic-card-details{grid-template-columns:1fr 1fr;gap:10px;display:grid}.hp-chronic-field{flex-direction:column;gap:4px;display:flex}.hp-chronic-field-label{color:#8a9eb5;text-transform:uppercase;letter-spacing:.5px;font-size:.78rem;font-weight:600}.hp-chronic-field input{background:#f8fbfe;border:1px solid #e8eff5;border-radius:8px;width:100%;padding:8px 10px;font-size:.92rem;transition:border-color .2s}.hp-chronic-field input:focus{background:#fff;border-color:#3498db;outline:none}.hp-chronic-empty{text-align:center;color:#9ab0c4;background:#f5f9ff;border:1px dashed #d0dde9;border-radius:10px;margin-bottom:14px;padding:24px 16px;font-size:.95rem}.hp-chronic-add{color:#2e7d32;cursor:pointer;background:linear-gradient(135deg,#e8f5e9,#f1f8f2);border:2px dashed #81c784;border-radius:10px;width:100%;padding:12px 16px;font-size:.95rem;font-weight:600;transition:background .2s,border-color .2s}.hp-chronic-add:hover{background:linear-gradient(135deg,#c8e6c9,#e8f5e9);border-color:#66bb6a}.hp-chronic-note-composer,.hp-chronic-note-history{background:#f8fbff;border:1px solid #d9e7f1;border-radius:10px;margin-top:12px;padding:12px 14px}.hp-chronic-note-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.hp-chronic-section-title{color:#5c728a;letter-spacing:.04em;text-transform:uppercase;font-size:.82rem;font-weight:700}.hp-chronic-note-save{color:#176087;cursor:pointer;background:#fff;border:1px solid #b7d3e7;border-radius:999px;padding:8px 14px;font-size:.88rem;font-weight:600;transition:background .2s,border-color .2s,color .2s}.hp-chronic-note-save:hover{background:#edf7ff;border-color:#8dbedd}.hp-chronic-note-save:disabled{cursor:wait;opacity:.7}.hp-chronic-summary-inline{margin-top:10px}.hp-chronic-summary-text{color:#23425a;white-space:pre-wrap;margin-top:10px;line-height:1.7}.hp-chronic-summary-text.empty{color:#7e93a6}.hp-chronic-summary-time{color:#73879a;margin-top:8px;font-size:.82rem}.hp-chronic-note-composer textarea{resize:vertical;width:100%;min-height:88px;font:inherit;background:#fff;border:1px solid #d5e2ec;border-radius:10px;margin-top:10px;padding:10px 12px;line-height:1.6}.hp-chronic-note-hint{color:#72879a;font-size:.86rem;line-height:1.5}.hp-chronic-note-history summary{cursor:pointer;color:#176087;font-weight:600}.hp-chronic-note-list{flex-direction:column;gap:8px;margin-top:10px;display:flex}.hp-chronic-note-item{background:#fff;border:1px solid #dde8f0;border-radius:10px;padding:10px 12px}.hp-chronic-note-time{color:#788da1;margin-bottom:4px;font-size:.8rem}.hp-chronic-note-text{color:#20384e;white-space:pre-wrap;line-height:1.6}@media (width<=768px){.hp-section{border-radius:12px;margin-bottom:12px;padding:14px}.hp-section-header{font-size:1rem}.hp-chronic-card-details{grid-template-columns:1fr}.hp-chronic-note-actions{flex-direction:column;align-items:stretch}.hp-chronic-note-save{width:100%;min-height:44px}.hp-birthday-row{gap:8px}.hp-birthday-field{flex-basis:calc(33.333% - 6px);min-width:0}.hp-birthday-field input{min-height:44px;padding:10px 8px;font-size:16px}.hp-chronic-card{padding:12px}.hp-chronic-card-top{gap:8px}.hp-chronic-name-input{padding:10px 4px 8px!important;font-size:16px!important}.hp-chronic-delete{width:44px;min-width:44px;height:44px}.hp-chronic-field input{min-height:44px;font-size:16px}}.admin-doctor-picker{background:#fafbfc;border:1px solid #d4d9e0;border-radius:6px;flex-direction:column;gap:2px;min-width:160px;max-height:120px;padding:4px 6px;display:flex;overflow-y:auto}.admin-doctor-opt{cursor:pointer;white-space:nowrap;align-items:center;gap:6px;font-size:13px;display:flex}.admin-doctor-opt input{cursor:pointer}.admin-scope-banner{color:#214b42;background:linear-gradient(135deg,#effaf6,#f8fcfb);border:1px solid #b8d9d0;border-radius:12px;align-items:center;gap:12px;margin:0 0 16px;padding:12px 16px;display:flex}.admin-scope-banner strong{letter-spacing:.04em;font-size:13px}.admin-scope-banner span{font-size:14px}.admin-scope-banner.is-warning{color:#735a17;background:#fff9e8;border-color:#e6c778}.admin-care{color:#17324d;gap:18px;display:grid}.admin-care-heading,.admin-care-panel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.admin-care-heading span{color:#2878c2;letter-spacing:0;font-size:11px;font-weight:800}.admin-care-heading h3{margin:3px 0 0;font-size:24px}.admin-care-heading>button{color:#286ca7;background:#fff;border:1px solid #cbddea;border-radius:8px;align-items:center;gap:6px;min-height:38px;padding:0 12px;display:inline-flex}.admin-care-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.admin-care-summary article{background:#fff;border:1px solid #d6e4ee;border-top:3px solid #6d8497;border-radius:8px;min-width:0;padding:14px}.admin-care-summary article.orange{border-top-color:#f1a12d}.admin-care-summary article.red{border-top-color:#df5f5f}.admin-care-summary article.green{border-top-color:#17a574}.admin-care-summary article.blue{border-top-color:#397de6}.admin-care-summary span,.admin-care-summary strong{display:block}.admin-care-summary span{color:#6a8194;font-size:12px}.admin-care-summary strong{margin-top:7px;font-size:26px}.admin-care-layout{grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);align-items:start;gap:14px;display:grid}.admin-care-layout.lower{grid-template-columns:1fr 1fr}.admin-care-panel{background:#fff;border:1px solid #d7e3ec;border-radius:8px;min-width:0;padding:16px;box-shadow:0 5px 14px #264b670d}.admin-care-panel-head{border-bottom:1px solid #e7edf2;min-height:32px;margin-bottom:13px;padding-bottom:10px}.admin-care-panel-head h4{margin:0;font-size:17px}.admin-care-panel-head>span{color:#6c8294;font-size:12px}.admin-care-filters{grid-template-columns:minmax(0,1fr) 130px;gap:8px;margin-bottom:10px;display:grid}.admin-care-filters label{color:#61809b;border:1px solid #d6e2eb;border-radius:7px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;min-height:40px;padding:0 10px;display:grid}.admin-care-filters input,.admin-care-filters select,.admin-care-weather-form input,.admin-care-weather-form select{color:#17324d;min-width:0;height:38px;font:inherit;background:#fff;border:1px solid #d6e2eb;border-radius:7px;font-size:13px}.admin-care-filters label input{border:0;outline:0;height:36px;padding:0}.admin-care-filters select{padding:0 8px}.admin-care-subject-list{max-height:560px;overflow-y:auto}.admin-care-subject-list>button{color:#648096;text-align:left;background:0 0;border:0;border-bottom:1px solid #edf1f4;grid-template-columns:32px minmax(0,1fr) auto 16px;align-items:center;gap:9px;width:100%;min-height:58px;padding:8px 6px;display:grid}.admin-care-subject-list>button:hover,.admin-care-subject-list>button.active{background:#f0f7fd}.admin-care-subject-list>button>span:nth-child(2){min-width:0}.admin-care-subject-list strong,.admin-care-subject-list small{display:block}.admin-care-subject-list strong{color:#17324d;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.admin-care-subject-list small{color:#74899a;margin-top:3px;font-size:11px}.admin-care-subject-list em{color:#4f718d;font-size:11px;font-style:normal}.care-level{color:#fff;background:#6f8191;border-radius:7px;place-items:center;width:30px;height:30px;font-size:13px;font-weight:900;display:grid}.care-level-a{background:#d94b4b}.care-level-b{background:#ef8c2f}.care-level-c{background:#a57826}.care-level-d{background:#2479c4}.care-level-e{background:#6a70ad}.admin-care-empty{color:#8293a0;text-align:center;padding:28px 12px;font-size:13px}.admin-care-current{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:13px;display:grid}.admin-care-current div{background:#f3f8fc;border-left:3px solid #3981c6;padding:10px}.admin-care-current span,.admin-care-current strong{display:block}.admin-care-current span{color:#72899c;font-size:11px}.admin-care-current strong{margin-top:4px;font-size:13px}.admin-care-tag-groups{gap:10px;display:grid}.admin-care-tag-groups fieldset{border:1px solid #dce5ec;border-radius:7px;min-width:0;padding:8px 10px 10px}.admin-care-tag-groups legend{color:#5d768b;padding:0 5px;font-size:12px;font-weight:700}.admin-care-tag-groups fieldset>div{flex-wrap:wrap;gap:7px;display:flex}.admin-care-tag-groups label{color:#4e687e;background:#fff;border:1px solid #d9e3eb;border-radius:6px;align-items:center;gap:5px;min-height:32px;padding:0 9px;font-size:12px;display:inline-flex}.admin-care-tag-groups label.selected{color:#1c68a8;background:#eaf4fc;border-color:#5a9bd5}.admin-care-tag-groups input{width:14px;height:14px}.admin-care-tag-groups em{color:#be4b4b;font-size:10px;font-style:normal}.admin-care-primary{color:#fff;background:#2878c2;border:0;border-radius:7px;width:100%;min-height:40px;margin-top:13px;font-weight:800}.admin-care-weather-form{grid-template-columns:110px 90px minmax(140px,1fr);gap:8px;display:grid}.admin-care-weather-form input,.admin-care-weather-form select{padding:0 8px}.admin-care-weather-form input[type=datetime-local]{grid-column:span 1}.admin-care-weather-form button{color:#fff;background:#147d68;border:0;border-radius:7px;min-height:38px}.admin-care-event-list,.admin-care-request-list{margin-top:12px;display:grid}.admin-care-event-list article{border-bottom:1px solid #edf1f4;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 0;display:grid}.admin-care-event-list article>span{color:#657a89;text-align:center;background:#edf1f4;border-radius:5px;padding:4px 6px;font-size:10px}.admin-care-event-list article>span.active{color:#08725c;background:#dcf5eb}.admin-care-event-list strong,.admin-care-event-list small{display:block}.admin-care-event-list strong{font-size:13px}.admin-care-event-list small{color:#7b8d99;margin-top:3px;font-size:10px}.admin-care-event-list button{color:#b64a37;background:#fff8f6;border:1px solid #dfb2a8;border-radius:6px;min-height:32px;padding:0 9px}.admin-care-request-list article{border-bottom:1px solid #edf1f4;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:11px 0;display:grid}.admin-care-request-list strong,.admin-care-request-list small{display:block}.admin-care-request-list strong{font-size:13px}.admin-care-request-list small{color:#7b8d99;margin-top:3px;font-size:10px}.admin-care-request-list p{color:#536e83;margin:6px 0 0;font-size:12px}.admin-care-request-list article>span{align-items:center;gap:6px;display:flex}.admin-care-request-list button{color:#5e7384;background:#fff;border:1px solid #d3dfe8;border-radius:6px;min-height:32px;padding:0 9px}.admin-care-request-list button.approve{color:#08725c;background:#effbf6;border-color:#91d3bb}@media (width<=980px){.admin-care-layout,.admin-care-layout.lower{grid-template-columns:1fr}.admin-care-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=620px){.admin-care-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-care-filters{grid-template-columns:1fr}.admin-care-weather-form{grid-template-columns:1fr 1fr}.admin-care-weather-form input:first-of-type{grid-column:1/-1}}.care-role-panel{color:#17324d;background:#fff;border:1px solid #cee0ed;border-radius:8px;margin-top:14px;padding:15px;box-shadow:0 6px 16px #26527312}.care-role-panel.loading,.care-role-panel.error{color:#658096;justify-content:center;align-items:center;gap:9px;min-height:74px;font-size:13px;display:flex}.care-role-panel.error button{color:#286ca7;background:#fff;border:1px solid #c9dbe8;border-radius:7px;min-height:32px;padding:0 9px}.care-role-spinner{border:2px solid #d5e4ef;border-top-color:#2878c2;border-radius:50%;width:18px;height:18px;animation:.8s linear infinite care-role-spin}.care-role-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.care-role-head>div{min-width:0}.care-role-head span{color:#3180c2;font-size:11px;font-weight:800}.care-role-head h2{margin:3px 0 0;font-size:18px}.care-role-head>em{color:#fff;background:#397abd;border-radius:6px;flex:none;padding:5px 8px;font-size:10px;font-style:normal;font-weight:800}.care-role-head>em.level-a{background:#d94b4b}.care-role-head>em.level-b{background:#e58228}.care-role-head>em.level-c{background:#a77a27}.care-role-head>em.level-e{background:#6a70ad}.care-role-head>button{color:#2476b8;background:0 0;border:0;align-items:center;gap:4px;min-height:32px;padding:0;font-size:12px;font-weight:700;display:inline-flex}.care-role-empty{color:#7a8e9d;text-align:center;padding:22px 0 8px;font-size:13px}.care-family-schedule{border-top:1px solid #e5edf3;border-bottom:1px solid #e5edf3;grid-template-columns:1fr 1fr;gap:0;margin-top:13px;display:grid}.care-family-schedule article{min-width:0;padding:11px 8px}.care-family-schedule article+article{border-left:1px solid #e5edf3}.care-family-schedule span,.care-family-schedule strong{display:block}.care-family-schedule span{color:#72899b;font-size:10px}.care-family-schedule strong{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:12px;overflow:hidden}.care-family-labels{flex-wrap:wrap;gap:6px;margin-top:11px;display:flex}.care-family-labels span{color:#08725c;background:#e2f7ef;border-radius:6px;padding:4px 7px;font-size:10px}.care-family-labels span.weather{color:#a75a13;background:#fff0d9;align-items:center;gap:4px;display:inline-flex}.care-family-last{border-top:1px solid #edf2f5;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;margin-top:11px;padding:9px 0;display:grid}.care-family-last>span{color:#087c61;background:#e3f7ef;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.care-family-last strong,.care-family-last small{display:block}.care-family-last strong{font-size:12px}.care-family-last small{color:#718697;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;overflow:hidden}.care-role-link{color:#2476b8;background:0 0;border:0;align-items:center;gap:4px;min-height:34px;margin-top:8px;padding:0;font-size:11px;font-weight:700;display:inline-flex}.care-request-form{margin-top:11px}.care-request-form textarea{color:#17324d;width:100%;min-height:70px;font:inherit;resize:vertical;background:#fbfdff;border:1px solid #cadbe7;border-radius:7px;padding:9px;font-size:12px}.care-request-form>div{justify-content:flex-end;gap:7px;margin-top:7px;display:flex}.care-request-form button{color:#5d7487;background:#fff;border:1px solid #cbdbe7;border-radius:7px;min-height:32px;padding:0 10px}.care-request-form button.primary{color:#fff;background:#2878c2;border-color:#2878c2}.care-role-notice{color:#24765f;margin:9px 0 0;font-size:11px}.care-doctor-summary{border-top:1px solid #e4ecef;border-bottom:1px solid #e4ecef;grid-template-columns:repeat(3,1fr);margin-top:12px;display:grid}.care-doctor-summary span{color:#6e858e;text-align:center;padding:9px 6px;font-size:9px}.care-doctor-summary span+span{border-left:1px solid #e4ecef}.care-doctor-summary strong{color:#158b76;margin-bottom:3px;font-size:18px;display:block}.care-doctor-list{margin-top:8px;display:grid}.care-doctor-list article{border-bottom:1px solid #edf2f4;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:54px;display:grid}.care-doctor-list article>span{color:#fff;background:#397abd;border-radius:7px;place-items:center;width:28px;height:28px;font-size:11px;font-weight:900;display:grid}.care-doctor-list article>span.level-a{background:#d94b4b}.care-doctor-list article>span.level-b{background:#e58228}.care-doctor-list article>span.level-c{background:#a77a27}.care-doctor-list article>span.level-e{background:#6a70ad}.care-doctor-list article>span.clinical{color:#b04e42;background:#ffe9e6}.care-doctor-list strong,.care-doctor-list small{display:block}.care-doctor-list strong{font-size:12px}.care-doctor-list small{color:#708693;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;overflow:hidden}.care-doctor-list button{color:#2872ad;background:#f7fbfe;border:1px solid #bdd7e9;border-radius:6px;min-height:30px;padding:0 7px;font-size:10px}.doctor-workbench .care-role-panel{margin-top:16px}.doctor-workbench .care-role-head h2{font-size:17px}@keyframes care-role-spin{to{transform:rotate(360deg)}}@media (width<=350px){.care-role-panel{padding:12px}.care-family-schedule{grid-template-columns:1fr}.care-family-schedule article+article{border-top:1px solid #e5edf3;border-left:0}}.rhs-theme{--rhs-bg:#4f5f78;--rhs-bg-deep:#45536a;--rhs-bg-soft:#5a6b85;--rhs-yellow:#f9db57;--rhs-yellow-deep:#f2b13d;--rhs-coral:#ed6e57;--rhs-success:#3dbb6b;--rhs-cyan:#8ff0ea;--rhs-cyan-deep:#45c2bb;--rhs-ink:#20344c;--rhs-ink-soft:#5b6f86;--rhs-on-bg:#f4f7fb;--rhs-on-bg-soft:#c4d0df;--rhs-card:#fff;--rhs-card-soft:#f5f8fc;--rhs-line:#20344c1a;min-height:100vh;color:var(--rhs-on-bg);background:radial-gradient(circle at 18% 6%,#ffffff14,#0000 38%),linear-gradient(#54647e 0%,#4f5f78 46%,#475572 100%);font-family:PingFang SC,Hiragino Sans GB,-apple-system,sans-serif}.rhs-shell{box-sizing:border-box;max-width:448px;margin:0 auto;padding:19px 17px 34px}.rhs-theme .rhs-brand{justify-content:center;align-items:center;gap:11px;padding:5px 2px 2px;display:flex}.rhs-theme .rhs-brand-logo img{object-fit:cover;width:100%;height:100%;display:block}.rhs-theme .rhs-brand-name{background:linear-gradient(180deg, #fbe172 0%, var(--rhs-yellow) 100%);color:#23344a;letter-spacing:2px;border-radius:11px;align-items:center;height:47px;padding:0 16px;font-size:28px;font-weight:800;display:flex;box-shadow:0 6px 13px #f2b13d4d}.rhs-launcher-viewport{touch-action:pan-y;overscroll-behavior-x:contain;-webkit-user-select:none;user-select:none;margin-top:14px;overflow:hidden}.rhs-launcher-track{transition:transform .24s;display:flex}.rhs-page{flex:0 0 100%;min-width:0}.rhs-lead-row{justify-content:center;margin-bottom:5px;display:flex}.rhs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 17px;padding:7px;display:grid}.rhs-tile{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;flex-direction:column;align-items:center;gap:10px;padding:5px 0;display:flex;position:relative}.rhs-tile:active{opacity:.7}.rhs-tile:disabled{opacity:.45;cursor:default}.rhs-tile-icon{object-fit:contain;width:90px;height:90px}.rhs-tile-lead .rhs-tile-icon{width:100px;height:100px}.rhs-tile-label{color:var(--rhs-cyan);letter-spacing:1px;text-shadow:0 1px 4px #00000038;font-size:22px;font-weight:700}.rhs-tile-badge{box-sizing:border-box;background:var(--rhs-coral);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-size:13px;font-weight:700;display:flex;position:absolute;top:-4px;right:11px;box-shadow:0 2px 6px #ed6e5780}.rhs-pager{justify-content:center;align-items:center;gap:14px;margin:16px 0 5px;display:flex}.rhs-page-button{color:#fff;min-width:76px;min-height:34px;font:inherit;cursor:pointer;background:#ffffff29;border:1px solid #ffffffb8;border-radius:6px;padding:6px 14px;font-size:14px;font-weight:600}.rhs-page-button:disabled{color:#ffffff73;cursor:not-allowed;background:#ffffff0f;border-color:#ffffff38}.rhs-page-status{color:#ffffffd1;text-align:center;min-width:40px;font-size:13px}.rhs-theme .rhs-card{background:linear-gradient(180deg, #fff 0%, var(--rhs-card-soft) 100%);color:var(--rhs-ink);border:1px solid #fff9;border-radius:18px;margin-bottom:14px;padding:18px 14px;box-shadow:0 11px 26px #1c283c38}.rhs-theme .rhs-primary-button{background:linear-gradient(180deg, #fbe172 0%, var(--rhs-yellow) 100%);color:#233448;cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;height:52px;padding:0 14px;font-size:21px;font-weight:700;display:inline-flex;box-shadow:0 7px 15px #f2b13d57}.rhs-theme .rhs-primary-button:disabled{opacity:.55;cursor:default}.rhs-theme .rhs-secondary-button{height:46px;color:var(--rhs-ink);border:1px solid var(--rhs-line);cursor:pointer;background:#fff;border-radius:999px;justify-content:center;align-items:center;padding:0 14px;font-size:19px;display:inline-flex;box-shadow:0 5px 12px #1c283c1f}.rhs-toolbar{justify-content:center;align-items:center;gap:11px;margin:17px 0 5px;display:flex}.rhs-toolbar-chip{text-align:center;min-width:72px;color:var(--rhs-on-bg);cursor:pointer;background:#ffffff1f;border:1px solid #fff3;border-radius:999px;padding:8px 16px;font-size:17px}.rhs-theme .content-card{background:linear-gradient(180deg, #fff 0%, var(--rhs-card-soft) 100%);color:var(--rhs-ink);border:1px solid #fff9;border-radius:18px;box-shadow:0 11px 26px #1c283c38}.rhs-theme .patient-ai-intake-view{box-shadow:none;background:0 0;border:none;padding:0}.rhs-theme .patient-ai-intake-header h3{color:var(--rhs-on-bg);font-size:24px;font-weight:800}.rhs-theme .patient-ai-intake-header p,.rhs-theme .patient-ai-intake-empty{color:var(--rhs-on-bg-soft)}.rhs-theme .patient-ai-intake-status-card{color:var(--rhs-on-bg);background:#ffffff1a;border:1px solid #ffffff2e;border-radius:14px}.rhs-theme .patient-ai-intake-status-card span{color:var(--rhs-on-bg-soft)}.rhs-theme .patient-ai-intake-thread{background:linear-gradient(180deg, #fff 0%, var(--rhs-card-soft) 100%);border:1px solid #fff9;border-radius:18px;padding:14px;box-shadow:0 11px 26px #1c283c38}.rhs-theme .patient-ai-intake-bubble.assistant{background:var(--rhs-card-soft);color:var(--rhs-ink);border:1px solid var(--rhs-line);border-radius:6px 16px 16px}.rhs-theme .patient-ai-intake-bubble.user{background:linear-gradient(180deg, #fbe172 0%, var(--rhs-yellow) 100%);color:#233448;border-radius:16px 6px 16px 16px}.rhs-theme .patient-ai-intake-bubble-role{color:var(--rhs-ink-soft)}.rhs-theme .patient-ai-intake-bubble.user .patient-ai-intake-bubble-role{color:#5a4a1c}.rhs-theme .patient-ai-intake-summary-card,.rhs-theme .assessment-result-section{background:linear-gradient(180deg, #fff 0%, var(--rhs-card-soft) 100%);color:var(--rhs-ink);border:1px solid #fff9;border-radius:18px;box-shadow:0 11px 26px #1c283c38}.rhs-theme .patient-ai-intake-summary-header h4,.rhs-theme .patient-ai-intake-summary-pre{color:var(--rhs-ink)}.rhs-theme .patient-ai-intake-form textarea{border:1px solid var(--rhs-line);color:var(--rhs-ink);background:#fff;border-radius:14px}.rhs-theme .action-button{background:linear-gradient(180deg, #fbe172 0%, var(--rhs-yellow) 100%);color:#233448;border:none;border-radius:999px;font-weight:700;box-shadow:0 7px 15px #f2b13d57}.rhs-theme .action-button-secondary{color:var(--rhs-ink);border:1px solid var(--rhs-line);background:#fff;box-shadow:0 5px 12px #1c283c1f}.rhs-theme .assessment-progress-bar-container{background:#fff3;border-radius:999px}.rhs-theme .assessment-progress-bar-fill{background:var(--rhs-cyan-deep)}.rhs-theme .assessment-progress-label{color:var(--rhs-on-bg-soft)}.rhs-theme .patient-ai-intake-error{color:#ffe1da}.rhs-theme .rhs-theme{background:0 0;min-height:0}.rhs-theme .app-header,.rhs-theme .app-nav,.rhs-theme .app-main{box-sizing:border-box;width:100%;max-width:480px;margin-left:auto;margin-right:auto}.rhs-theme .app-header{box-shadow:none;color:var(--rhs-on-bg);background:0 0;border:none}.rhs-theme .app-header h1,.rhs-theme .app-header h2,.rhs-theme .app-header .header-content,.rhs-theme .app-header span{color:var(--rhs-on-bg)}.rhs-theme .app-nav{left:50%;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:1080;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#222e3ed1;border:1px solid #ffffff24;border-radius:30px;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:min(448px,100vw - 20px);padding:8px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 20px 38px #162a4247}.rhs-theme .nav-button{color:#ffffffb8;background:0 0;border:none;border-radius:22px;justify-content:center;align-items:center;min-width:0;min-height:62px;padding:8px 6px 7px;transition:background .18s,color .18s,transform .18s;display:flex;position:relative}.rhs-theme .nav-button:disabled{opacity:.42}.rhs-theme .nav-button-main{flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;display:flex}.rhs-theme .nav-icon{width:21px;height:21px}.rhs-theme .nav-button-copy{flex-direction:column;align-items:center;min-width:0;display:flex}.rhs-theme .nav-button-copy strong{font-size:11px;font-weight:700;line-height:1.2}.rhs-theme .nav-title-full{display:none}.rhs-theme .nav-title-short{display:inline}.rhs-theme .nav-subtitle{display:none}.rhs-theme .nav-button.active,.rhs-theme .nav-button.nav-button-active,.rhs-theme .nav-button[aria-current=page]{color:var(--rhs-ink);background:linear-gradient(#fff 0%,#f4f8fb 100%);transform:translateY(-1px)}.rhs-theme .nav-badge{background:var(--rhs-coral);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:800;display:inline-flex;position:absolute;top:5px;right:10px;box-shadow:0 4px 10px #ed6e5759}.rhs-theme .nav-badge.nav-badge-warm{background:var(--rhs-yellow-deep)}.rhs-theme .dashboard>h2,.rhs-theme .app-main>h2,.rhs-theme .section-title{color:var(--rhs-on-bg)}.rhs-theme .health-hub-card,.rhs-theme .med-hub-card,.rhs-theme .patient-home-card,.rhs-theme .modal-card,.rhs-theme .onboarding-card,.rhs-theme .consult-item,.rhs-theme .feature-card{background:linear-gradient(180deg, #fff 0%, var(--rhs-card-soft) 100%);color:var(--rhs-ink);border:1px solid #fff9;border-radius:18px;box-shadow:0 11px 26px #1c283c38}.rhs-theme .content-card h2,.rhs-theme .content-card h3,.rhs-theme .content-card h4,.rhs-theme .content-card p,.rhs-theme .health-hub-card h3,.rhs-theme .patient-home-card h3,.rhs-theme .med-hub-card h3,.rhs-theme .consult-item .consult-name{color:var(--rhs-ink)}.rhs-theme .action-button,.rhs-theme .auth-button,.rhs-theme .bind-button,.rhs-theme .chat-button{background:linear-gradient(180deg, #fbe172 0%, var(--rhs-yellow) 100%);color:#233448;border:none;border-radius:999px;font-weight:700;box-shadow:0 7px 15px #f2b13d57}.rhs-theme .action-button-secondary,.rhs-theme .cancel-button{color:var(--rhs-ink);border:1px solid var(--rhs-line);background:#fff;box-shadow:0 5px 12px #1c283c1f}.rhs-theme .action-button-warm{background:linear-gradient(180deg, #f59e7a 0%, var(--rhs-coral) 100%);color:#fff}.rhs-theme input,.rhs-theme textarea,.rhs-theme select{color:var(--rhs-ink);border:1px solid var(--rhs-line);background:#fff;border-radius:12px}.rhs-theme .form-group label{color:var(--rhs-ink)}.rhs-theme .health-hub-badge{background:var(--rhs-coral);color:#fff}.rhs-theme .family-banner{color:var(--rhs-on-bg);background:#ffffff1f;border:1px solid #fff3;border-radius:14px}.rhs-theme .rhs-home+.dashboard .patient-home-cards,.rhs-theme .rhs-home+.dashboard .patient-top-actions,.rhs-theme .rhs-home+.dashboard>h2{display:none}.rhs-patient .app-main,.rhs-doctor .app-main{padding-top:8px;padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}.rhs-theme .app-main-home,.rhs-theme .app-main-home>.rhs-home .rhs-shell{padding-bottom:0}.rhs-doctor .rhs-home+.dashboard>h2,.rhs-doctor .rhs-home+.dashboard>.stats-grid{display:none}.rhs-app-header{z-index:1060;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:linear-gradient(#4f5f78f5 0%,#4f5f78db 100%);max-width:448px;margin:0 auto;padding:10px 14px 8px;position:sticky;top:0}.rhs-app-header-row{grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.rhs-app-header-left,.rhs-app-header-right{align-items:center;gap:8px;display:flex}.rhs-app-header-right{justify-content:flex-end}.rhs-app-header-center{text-align:center;flex-direction:column;align-items:center;gap:2px;min-width:0;display:flex}.rhs-app-header-kicker{color:#ffffff9e;letter-spacing:.08em;font-size:11px}.rhs-app-header-title{color:#fff;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:17px;font-weight:700;line-height:1.25;overflow:hidden}.rhs-app-header-meta{color:#ffffffb8;justify-content:center;gap:12px;margin-top:8px;font-size:12px;display:flex}.rhs-header-action{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff2e;border-radius:999px;min-width:42px;height:36px;padding:0 12px;font-size:13px;font-weight:700}.rhs-header-action:disabled{opacity:.5;cursor:default}.rhs-header-back{padding:0;font-size:24px;line-height:1}.rhs-header-action.danger{background:#ed6e572e;border-color:#ffffff29}.rhs-theme .page-shell{box-sizing:border-box;padding:4px 0 24px}.rhs-theme .page-header{border-bottom:1px solid #ffffff24;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;padding:6px 2px 12px;display:flex}.rhs-theme .page-header>div:first-child{flex:1 1 0;min-width:0}.rhs-theme .page-title{color:var(--rhs-on-bg);text-shadow:0 1px 4px #0000002e;align-items:center;margin:0;font-size:24px;font-weight:800;line-height:1.22;display:flex}.rhs-theme .page-title:before{content:"";background:linear-gradient(180deg, var(--rhs-yellow) 0%, var(--rhs-yellow-deep) 100%);border-radius:999px;flex:none;width:5px;height:21px;margin-right:9px}.rhs-theme .page-subtitle{color:var(--rhs-on-bg-soft);margin:5px 0 0 14px;font-size:13px;line-height:1.62}.rhs-theme .page-back{box-sizing:border-box;cursor:pointer;min-width:66px;height:34px;color:var(--rhs-on-bg);background:#ffffff1f;border:1px solid #ffffff3d;border-radius:999px;flex:none;order:1;justify-content:center;align-items:center;margin-left:auto;padding:0 13px;font-size:15px;font-weight:600;display:inline-flex}.rhs-theme .card{background:linear-gradient(180deg, #fff 0%, var(--rhs-card-soft) 100%);color:var(--rhs-ink);border:1px solid #fff9;border-radius:18px;box-shadow:0 11px 26px #1c283c38}.rhs-theme .detail-card,.rhs-theme .form-card,.rhs-theme .list-card,.rhs-theme .empty-card{box-sizing:border-box;margin-bottom:14px;padding:16px 13px}.rhs-theme .empty-card{background:linear-gradient(#fffdf6 0%,#fbf4e3 100%)}.rhs-theme .section-title{color:var(--rhs-ink);margin-bottom:9px;font-size:20px;font-weight:700}.rhs-theme .card-title-row{border-bottom:1px solid var(--rhs-line);justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:10px;padding-bottom:9px;display:flex}.rhs-theme .card-title{color:var(--rhs-ink);font-size:19px;font-weight:700}.rhs-theme .card-subtitle{color:var(--rhs-ink-soft);font-size:14px;line-height:1.7}.rhs-theme .info-value{color:var(--rhs-ink);font-size:17px;line-height:1.7}.rhs-theme .empty-text{color:var(--rhs-ink-soft);font-size:16px;line-height:1.8}.rhs-theme .section-gap{margin-top:6px}.rhs-theme .pill{color:var(--rhs-cyan-deep);background:#45c2bb29;border-radius:999px;align-items:center;padding:5px 10px;font-size:14px;display:inline-flex}.rhs-theme .soft-divider{background:linear-gradient(90deg,#20344c00,#20344c1f,#20344c00);height:1px;margin:13px 0}.rhs-theme .field-block+.field-block{margin-top:12px}.rhs-theme .field-label{color:var(--rhs-ink-soft);margin-bottom:7px;font-size:15px}.rhs-theme .field-input{box-sizing:border-box;border:1px solid var(--rhs-line);width:100%;height:48px;color:var(--rhs-ink);background:#fff;border-radius:12px;padding:0 11px;font-size:17px;display:block}.rhs-theme .field-textarea{box-sizing:border-box;border:1px solid var(--rhs-line);width:100%;min-height:100px;color:var(--rhs-ink);background:#fff;border-radius:12px;padding:12px 11px;font-size:17px;line-height:1.7}.rhs-theme .timeline-item+.timeline-item{margin-top:10px}.rhs-theme .timeline-time{color:var(--rhs-ink-soft);margin-bottom:6px;font-size:14px}.rhs-theme .list-card .timeline-item{background:var(--rhs-card-soft);border:1px solid var(--rhs-line);box-sizing:border-box;border-radius:14px;padding:12px}.rhs-theme .list-card .timeline-item .info-value{font-weight:700}.rhs-theme .list-card .timeline-item .card-subtitle+.card-subtitle{margin-top:3px}.rhs-theme .list-card .soft-divider{display:none}.rhs-theme .med-action-row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.rhs-theme .primary-button{cursor:pointer;color:#233448;background:linear-gradient(180deg, #fbe172 0%, var(--rhs-yellow) 100%);white-space:nowrap;word-break:keep-all;overflow-wrap:normal;border:none;border-radius:999px;justify-content:center;align-items:center;width:100%;height:44px;padding:0 13px;font-size:18px;font-weight:700;display:inline-flex;box-shadow:0 7px 15px #f2b13d57}.rhs-theme .primary-button:disabled{opacity:.55;cursor:default}.rhs-theme .secondary-button{cursor:pointer;height:38px;color:var(--rhs-ink);border:1px solid var(--rhs-line);white-space:nowrap;word-break:keep-all;overflow-wrap:normal;background:#fff;border-radius:999px;justify-content:center;align-items:center;padding:0 13px;font-size:16px;display:inline-flex;box-shadow:0 5px 12px #1c283c1f}.rhs-theme .compact-button{flex-shrink:0;min-width:max-content;height:32px;padding:0 10px;font-size:14px;line-height:1}.rhs-theme .option-group{flex-wrap:wrap;gap:7px 9px;display:flex}.rhs-theme .option-label{color:var(--rhs-ink);align-items:center;gap:4px;font-size:15px;display:inline-flex}.rhs-theme .inline-option{margin-right:10px}.rhs-theme .inline-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.rhs-theme .inline-grid-item{min-width:0}.rhs-theme .action-row{gap:8px;display:flex}.rhs-theme .action-row .primary-button,.rhs-theme .action-row .secondary-button{flex:1}.rhs-theme .schedule-mode-toggle{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.rhs-theme .schedule-mode-toggle .primary-button,.rhs-theme .schedule-mode-toggle .secondary-button{width:100%;min-width:0;padding-inline:8px}.rhs-theme .chat-message.own .message-content:not(.message-content-template){background:linear-gradient(180deg, #4fccc5 0%, var(--rhs-cyan-deep) 100%);color:#fff}.rhs-theme .chat-message.other .message-content:not(.message-content-template){background:var(--rhs-card-soft);color:var(--rhs-ink);border:1px solid var(--rhs-line)}.rhs-theme .message-content:not(.message-content-template){border-radius:11px}.rhs-theme .med-delete-btn{color:var(--rhs-coral);border-color:#ed6e5766}.rhs-theme .doctor-patients-page .page-subtitle,.rhs-theme .patient-detail-page .page-subtitle,.rhs-theme .chat-page-shell .page-subtitle{max-width:320px}.rhs-theme .patient-detail-page .patient-card{background:linear-gradient(180deg, #fff 0%, var(--rhs-card-soft) 100%);border:1px solid #ffffff9e;border-radius:18px;overflow:hidden;box-shadow:0 11px 26px #1c283c38}.rhs-theme .patient-detail-page .patient-detail-header{background:radial-gradient(circle at 100% 0,#5bc9c129,#0000 42%),linear-gradient(#fff 0%,#f7fbfe 100%);padding:18px 14px 14px}.rhs-theme .patient-detail-page .patient-detail-name-row{flex-direction:column;gap:12px;display:flex}.rhs-theme .patient-detail-page .patient-detail-header-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.rhs-theme .patient-detail-page .patient-detail-header-actions>.action-button,.rhs-theme .patient-detail-page .patient-detail-header-actions>.chat-button{text-align:center;white-space:normal;overflow-wrap:anywhere;justify-content:center;align-items:center;width:100%;min-width:0;height:auto;min-height:44px;padding:10px 8px;font-size:15px;line-height:1.35;display:inline-flex}.rhs-theme .patient-detail-page .patient-detail-title-group h3{color:var(--rhs-ink);margin:0;font-size:24px}.rhs-theme .patient-detail-page .patient-detail-status-row{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.rhs-theme .patient-detail-page .patient-status-badge{border-radius:999px;align-items:center;padding:5px 10px;font-size:13px;font-weight:700;display:inline-flex}.rhs-theme .patient-detail-page .patient-status-badge.active{color:#fff;background:#16794a;box-shadow:0 1px 2px #0f5c3738}.rhs-theme .patient-detail-page .patient-status-badge.lost{color:var(--rhs-coral);background:#ec7b5e1f}.rhs-theme .patient-detail-page .patient-status-meta{color:var(--rhs-ink-soft);font-size:13px}.rhs-theme .patient-detail-page .patient-followup-status-help{max-width:520px;color:var(--rhs-ink-soft);margin:0;font-size:13px;line-height:1.55}.rhs-theme .patient-detail-page .patient-detail-note-card{border:1px solid var(--rhs-line);background:#fffc;border-radius:14px;margin-top:14px;padding:12px}.rhs-theme .patient-detail-page .patient-detail-note-label{color:var(--rhs-ink-soft);margin-bottom:8px;font-size:13px}.rhs-theme .patient-detail-page .patient-detail-modules{padding:0 14px 16px}.rhs-theme .chat-page-shell .chat-thread-summary-card{margin-bottom:12px}.rhs-theme .chat-page-shell .conversation-list{max-height:none;overflow-y:auto}.rhs-theme .chat-page-shell .conversation-item{cursor:pointer;text-align:left;background:0 0;border:none;border-bottom:1px solid #20344c14;align-items:center;gap:12px;width:100%;padding:12px 0;font-family:inherit;display:flex}.rhs-theme .chat-page-shell .conversation-item:last-child{border-bottom:none}.rhs-theme .chat-page-shell .conversation-item.has-unread{background:linear-gradient(#5bc9c112,#5bc9c105);border-radius:14px;margin-bottom:6px;padding:12px}.rhs-theme .chat-page-shell .conv-avatar{background:#4f607814;border-radius:18px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;font-size:22px;display:flex}.rhs-theme .chat-page-shell .conv-name{color:var(--rhs-ink)}.rhs-theme .chat-page-shell .conv-preview,.rhs-theme .chat-page-shell .conv-time,.rhs-theme .chat-page-shell .conv-department{color:var(--rhs-ink-soft)}.rhs-theme .chat-page-shell .conv-unread-badge{background:var(--rhs-coral)}.rhs-doctor-modal-mask{z-index:1100;background:#00000073;justify-content:center;align-items:center;padding:14px;display:flex;position:fixed;inset:0}.rhs-doctor-modal-card{background:var(--rhs-on-bg,#f4f7fb);border-radius:16px;flex-direction:column;width:100%;min-width:0;max-width:480px;max-height:88vh;display:flex;overflow:hidden}.rhs-doctor-modal-head{border-bottom:1px solid var(--rhs-line);background:#fff;flex:none;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:13px 16px;display:flex}.rhs-doctor-modal-title{color:var(--rhs-ink);font-size:16px;font-weight:700}.rhs-doctor-modal-body{flex:auto;min-width:0;max-width:100%;padding:12px 14px;overflow:hidden auto}.rhs-doctor-modal-body>.dashboard,.rhs-doctor-modal-body .dashboard-section-plain,.rhs-doctor-modal-body .content-card,.rhs-doctor-modal-body .content-card-header,.rhs-doctor-modal-body .content-card-header>div,.rhs-doctor-modal-body .ezviz-register-grid,.rhs-doctor-modal-body .ezviz-call-grid{min-width:0;max-width:100%}.rhs-doctor-modal-body .ezviz-register-grid,.rhs-doctor-modal-body .ezviz-call-grid{grid-template-columns:minmax(0,1fr)}.rhs-doctor-modal-body .ezviz-call-grid .call-initiate-btn,.rhs-doctor-modal-body .ezviz-call-grid .doctor-consultation-select,.rhs-doctor-modal-body .ezviz-call-grid .app-select{width:100%;min-width:0}.rhs-doctor-modal-body .ezviz-device-item{flex-direction:column;width:100%;min-width:0}.rhs-doctor-modal-body .ezviz-device-main{overflow-wrap:anywhere;width:100%;min-width:0}.rhs-doctor-modal-body .ezviz-device-side{width:100%;min-width:0;max-width:100%}.rhs-doctor-modal-body .ezviz-device-bind-row{grid-template-columns:minmax(0,1fr);justify-content:stretch;display:grid}.rhs-doctor-modal-body .ezviz-device-bind-row .doctor-consultation-select,.rhs-doctor-modal-body .ezviz-device-bind-row .app-select,.rhs-doctor-modal-body .ezviz-device-bind-row .feedback-btn{width:100%;min-width:0}.rhs-doctor-modal-body .ezviz-device-actions{justify-content:stretch}.rhs-doctor-modal-body .ezviz-device-actions .feedback-btn{flex:120px;min-width:0}.rhs-doctor-modal-body .ezviz-secret-text{overflow-wrap:anywhere}.rhs-doctor-modal-body [data-sec]{display:none}.rhs-doctor-modal-body[data-active=ar] [data-sec=ar],.rhs-doctor-modal-body[data-active=ezviz] [data-sec=ezviz],.rhs-doctor-modal-body[data-active=tools] [data-sec=tools],.rhs-doctor-modal-body[data-active=messages] [data-sec=messages],.rhs-doctor-modal-body[data-active=feedback] [data-sec=feedback]{display:block}@media (width<=520px){.rhs-doctor-modal-mask{padding:8px}.rhs-doctor-modal-card{max-width:100%;max-height:92vh}.rhs-doctor-modal-body{padding:10px}.rhs-doctor-modal-body .content-card{padding:14px}.rhs-doctor-modal-body .content-card-header{flex-direction:column;gap:10px}.rhs-doctor-modal-body .content-card-header>div{width:100%}.rhs-doctor-modal-body .ezviz-register-grid{grid-template-columns:minmax(0,1fr)}}.rhs-theme .patient-grid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.rhs-theme .patient-module{border:1px solid var(--rhs-line);background:#fff;border-radius:14px;min-width:0;padding:16px;box-shadow:0 8px 22px #224b8212}.rhs-theme .patient-module-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;display:flex}.rhs-theme .patient-module-head .info-value{min-width:0;color:var(--rhs-ink);flex:auto;font-size:17px;font-weight:700}.rhs-theme .patient-module-meta{min-width:0;color:var(--rhs-ink-soft);align-items:center;gap:8px;margin:2px 0 8px;font-size:12px;line-height:1.4;display:flex}.rhs-theme .patient-follow-status{color:#257e68;white-space:nowrap;background:#45c2bb24;border-radius:999px;padding:2px 6px;font-size:11px}.rhs-theme .patient-follow-status.lost{color:var(--rhs-coral);background:#ed6e571f}.rhs-theme .patient-phone{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.rhs-theme .conversation-badge{color:var(--rhs-coral);background:#ed6e571f;border-radius:999px;flex-shrink:0;padding:2px 6px;font-size:11px;line-height:1.4}.rhs-theme .conversation-badge.review{color:#99600b;background:#fff1d6}.rhs-theme .card-subtitle.patient-note-text{min-height:0;color:var(--rhs-ink-soft);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.rhs-theme .patient-module-actions{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:12px;display:grid}.rhs-theme .patient-module-actions .primary-button,.rhs-theme .patient-module-actions .compact-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .patient-module-actions .primary-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .patient-module-actions .secondary-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .patient-module-actions .compact-button{text-align:center;white-space:nowrap;flex:none;gap:6px;width:100%;min-width:0;min-height:40px;padding:8px 10px;font-size:12px;font-weight:650;line-height:1.3}.rhs-theme .patient-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.rhs-theme .patient-module-actions .patient-chat-action{color:#fff;background:#3973dd}.rhs-theme .patient-module-actions .patient-chat-action:hover:not(:disabled){background:#2f65c6}.rhs-theme .doctor-visit-review-panel{background:linear-gradient(#f4f9ff 0%,#fff 100%);border:1px solid #3973dd33;border-radius:14px;gap:10px;margin:0 0 18px;padding:14px;display:grid;box-shadow:0 8px 22px #224b820f}.rhs-theme .doctor-visit-review-panel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.rhs-theme .doctor-visit-review-panel-head span,.rhs-theme .doctor-visit-review-panel-head strong{display:block}.rhs-theme .doctor-visit-review-panel-head span{color:#3973dd;font-size:12px;font-weight:700}.rhs-theme .doctor-visit-review-panel-head strong{color:var(--rhs-ink);margin-top:2px;font-size:17px}.rhs-theme .doctor-visit-review-panel-head em{color:#1768b2;white-space:nowrap;background:#eaf2ff;border-radius:999px;padding:4px 8px;font-size:12px;font-style:normal;font-weight:700}.rhs-theme .doctor-visit-review-empty{color:#6a8496;margin:0;font-size:13px;line-height:1.55}.rhs-theme .doctor-visit-review-error{color:#a13f2b;background:#fff1ec;border-radius:10px;margin:0;padding:9px 10px;font-size:13px;line-height:1.5}.rhs-theme .doctor-visit-review-card{background:#fff;border:1px solid #3973dd29;border-radius:12px;gap:10px;padding:12px;display:grid}.rhs-theme .doctor-visit-review-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.rhs-theme .doctor-visit-review-card-head strong,.rhs-theme .doctor-visit-review-card-head span{display:block}.rhs-theme .doctor-visit-review-card-head strong{color:var(--rhs-ink);font-size:16px}.rhs-theme .doctor-visit-review-card-head span{color:var(--rhs-ink-soft);margin-top:3px;font-size:12px;line-height:1.45}.rhs-theme .doctor-visit-review-card-head button,.rhs-theme .doctor-visit-review-actions button{color:#fff;cursor:pointer;white-space:nowrap;background:#3973dd;border:0;border-radius:7px;flex:none;height:28px;padding:0 8px;font-size:12px;font-weight:700;line-height:1;min-height:28px!important}.rhs-theme .doctor-visit-review-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:6px;display:flex}.rhs-theme .doctor-visit-review-card-head button.secondary,.rhs-theme .doctor-visit-review-editor-row button.secondary,.rhs-theme .doctor-visit-review-add{color:#2f65c6;background:#edf3ff;border:1px solid #3973dd2e}.rhs-theme .doctor-visit-review-card-head button:disabled{opacity:.65;cursor:not-allowed}.rhs-theme .doctor-visit-review-editor{gap:8px;display:grid}.rhs-theme .doctor-visit-review-editor-row{grid-template-columns:22px minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.rhs-theme .doctor-visit-review-editor-row>span{color:#fff;background:#3973dd;border-radius:7px;place-items:center;width:22px;height:22px;margin-top:8px;font-size:11px;font-weight:700;display:grid}.rhs-theme .doctor-visit-review-editor-row textarea{color:#36576f;width:100%;min-height:64px;font:inherit;resize:vertical;background:#f8fbff;border:1px solid #3973dd38;border-radius:10px;padding:8px 10px;font-size:13px;line-height:1.5}.rhs-theme .doctor-visit-review-editor-row textarea::placeholder{color:#8fa3bd;font-size:12px}.rhs-theme .doctor-visit-review-editor-row button{cursor:pointer;border-radius:9px;min-height:34px;margin-top:6px;padding:0 10px;font-size:12px;font-weight:700}.rhs-theme .doctor-visit-review-add{cursor:pointer;border-radius:9px;justify-self:start;min-height:34px;padding:0 12px;font-size:13px;font-weight:700}.rhs-theme .doctor-visit-review-add:disabled,.rhs-theme .doctor-visit-review-editor-row button:disabled{opacity:.65;cursor:not-allowed}.rhs-theme .doctor-visit-review-card ol{counter-reset:doctor-review-question;gap:7px;margin:0;padding:0;list-style:none;display:grid}.rhs-theme .doctor-visit-review-card li{color:#36576f;counter-increment:doctor-review-question;background:#f5f9ff;border-radius:10px;padding:8px 10px 8px 34px;font-size:13px;line-height:1.5;position:relative}.rhs-theme .doctor-visit-review-card li:before{color:#fff;content:counter(doctor-review-question);background:#3973dd;border-radius:6px;place-items:center;width:18px;height:18px;font-size:10px;font-weight:800;display:grid;position:absolute;top:8px;left:10px}.rhs-theme .compact-primary-button{box-sizing:border-box;flex:1;justify-content:center;align-items:center;height:32px;padding:0 7px;font-size:13px;line-height:1;display:flex}.rhs-theme .hrv-value-row{align-items:baseline;gap:6px;margin:6px 0 4px;display:flex}.rhs-theme .hrv-value{color:var(--rhs-cyan-deep);font-size:41px;font-weight:800;line-height:1}.rhs-theme .hrv-unit{color:var(--rhs-ink-soft);font-size:15px}.rhs-theme .stack-row+.stack-row{margin-top:7px}.rhs-theme .info-label{color:var(--rhs-ink-soft);font-size:13px}.rhs-home-legacy-hidden{display:none}.rhs-theme .ai-voice-page{flex-direction:column;min-height:78vh;display:flex}.rhs-theme .ai-thread-card{box-sizing:border-box;flex:1;max-height:none;margin-bottom:12px;padding:14px 12px;overflow-y:auto}.rhs-theme .message-row+.message-row{margin-top:12px}.rhs-theme .assistant-row{justify-content:flex-start;display:flex}.rhs-theme .user-row{justify-content:flex-end;display:flex}.rhs-theme .message-bubble{white-space:pre-wrap;border-radius:14px;max-width:86%;padding:11px 12px;font-size:15px;line-height:1.8}.rhs-theme .assistant-bubble{background:var(--rhs-card-soft);color:var(--rhs-ink);border:1px solid var(--rhs-line);border-top-left-radius:6px;box-shadow:0 3px 8px #1c283c0f}.rhs-theme .user-bubble{background:linear-gradient(180deg, #fbe172 0%, var(--rhs-yellow) 100%);color:#233448;border-top-right-radius:6px;box-shadow:0 4px 9px #f2b13d3d}.rhs-theme .summary-text{color:var(--rhs-ink-soft);white-space:pre-wrap;font-size:14px;line-height:1.8}.rhs-theme .streaming-cursor{color:var(--rhs-cyan-deep);opacity:.8;margin-left:2px;display:inline-block}.rhs-theme .ai-voice-status{justify-content:center;align-items:center;gap:9px;margin:4px 0 12px;display:flex}.rhs-theme .ai-voice-indicator{background:#fff6;border-radius:999px;flex:none;width:14px;height:14px}.rhs-theme .ai-voice-indicator.ai-voice-listening{background:var(--rhs-cyan);animation:1.2s ease-in-out infinite aiVoicePulse}.rhs-theme .ai-voice-indicator.ai-voice-speaking{background:var(--rhs-yellow);animation:1s ease-in-out infinite aiVoicePulse}.rhs-theme .ai-voice-indicator.ai-voice-thinking{background:var(--rhs-coral);animation:.9s ease-in-out infinite aiVoicePulse}.rhs-theme .ai-voice-indicator.ai-voice-finished{background:var(--rhs-cyan-deep)}.rhs-theme .ai-voice-status-text{color:var(--rhs-on-bg);letter-spacing:.5px;font-size:16px;font-weight:600}.rhs-theme .ai-voice-finish{margin:0 4px 6px}.rhs-theme .voice-error-text{color:var(--rhs-coral);text-align:center;margin:0 0 8px;font-size:13px}@keyframes aiVoicePulse{0%{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.5)}to{opacity:.6;transform:scale(1)}}.rhs-theme .module-list{flex-direction:column;gap:12px;display:flex}.rhs-theme .module-card{text-align:left;box-sizing:border-box;cursor:pointer;border:none;width:100%;padding:14px 12px;display:block}.rhs-theme .module-card:active{opacity:.92;transform:scale(.992)}.rhs-theme .module-card .card-title:before{content:"";vertical-align:-2px;background:linear-gradient(180deg, var(--rhs-yellow) 0%, var(--rhs-yellow-deep,#f0b93d) 100%);border-radius:999px;width:4px;height:14px;margin-right:7px;display:inline-block}.rhs-theme .module-card-sage{background:linear-gradient(#fffffffa,#8ff0ea1f)}.rhs-theme .module-card-ocean{background:linear-gradient(#fffffffa,#45c2bb1f)}.rhs-theme .module-eyebrow{color:var(--rhs-ink-soft);font-size:12px}.rhs-theme .module-summary{margin-top:9px}.rhs-theme .module-footer{justify-content:space-between;align-items:flex-end;gap:8px;margin-top:8px;display:flex}.rhs-theme .module-stat{color:var(--rhs-ink);flex:1;font-size:13px;font-weight:600}.rhs-theme .module-link{color:var(--rhs-cyan-deep);white-space:nowrap;font-size:13px}.rhs-theme .chip-list{flex-wrap:wrap;gap:7px;display:flex}.rhs-theme .chip{color:var(--rhs-cyan-deep);background:#45c2bb1f;border-radius:999px;padding:5px 9px;font-size:12px}.rhs-theme .ai-portrait-suggestion{color:var(--rhs-cyan-deep);background:#45c2bb1a;border-radius:8px;padding:8px 9px}.rhs-theme .edu-topic{background:var(--rhs-card-soft);border:1px solid var(--rhs-line);border-radius:8px;margin-top:6px;padding:7px 8px}.rhs-theme .edu-topic-title{color:var(--rhs-ink);font-size:14px;font-weight:700}.rhs-theme .edu-topic-content{color:var(--rhs-ink-soft);margin-top:3px;font-size:14px;line-height:1.6}.rhs-role-sheet-mask{z-index:1200;background:#00000073;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.rhs-role-sheet{background:#f7f7f7;border-radius:14px 14px 0 0;width:100%;max-width:448px;padding:6px 0 8px;animation:.18s ease-out rhsSheetUp}@keyframes rhsSheetUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.rhs-role-sheet-title{text-align:center;color:#9aa3b0;padding:12px 16px 6px;font-size:13px}.rhs-role-sheet-item{text-align:center;width:100%;color:var(--rhs-ink);background:#fff;border:none;border-top:1px solid #ececec;padding:15px;font-size:16px;display:block}.rhs-role-sheet-item:active{background:#f0f3f8}.rhs-role-sheet-cancel{text-align:center;width:calc(100% - 16px);color:var(--rhs-ink);background:#fff;border:none;border-radius:12px;margin:8px;padding:15px;font-size:16px;font-weight:600;display:block}.rhs-role-sheet-cancel:active{background:#f0f3f8}.rhs-role-sheet--manager{max-height:min(86vh,680px);padding:10px 12px 12px;overflow-y:auto}.rhs-role-sheet-description{color:#687585;text-align:left;margin:0 8px 12px;font-size:14px;line-height:1.5}.rhs-role-sheet-section{margin:10px 0 12px}.rhs-role-sheet-section-title{color:#7d8794;margin:0 8px 6px;font-size:13px;font-weight:700}.rhs-role-sheet-role-item{text-align:left;border-radius:10px;align-items:center;gap:10px;min-height:50px;padding:12px;display:flex}.rhs-role-sheet-role-item span{flex:1}.rhs-role-sheet-role-item span strong{font-size:16px;font-weight:700;display:block}.rhs-role-sheet-role-item span small{color:#7d8794;margin-top:3px;font-size:13px;font-weight:400;display:block}.rhs-role-sheet-role-item small{color:#2b8a78;font-size:13px}.rhs-role-sheet-role-item.is-active{color:#2b8a78;background:#eef9f5}.rhs-role-sheet-bound-patients{margin-top:16px}.rhs-role-sheet-bound-patient-list{gap:8px;display:grid}.rhs-role-sheet-patient-item{text-align:left;border:1px solid #e4e9ee;min-height:56px;padding:10px 12px}.rhs-role-sheet-patient-item span{min-width:0}.rhs-role-sheet-patient-item span small{color:#7d8794}.rhs-role-sheet-patient-item>small{color:#7d8794;flex:none}.rhs-role-sheet-patient-item.is-active{border-color:#b9e4d8}.rhs-role-sheet-patient-item.is-active>small{color:#2b8a78}.rhs-role-sheet-form{gap:9px;padding:4px 8px 0;display:grid}.rhs-role-sheet-form label{color:#485463;font-size:14px;font-weight:700}.rhs-role-sheet-form input,.rhs-role-sheet-form select{box-sizing:border-box;color:#243140;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #d6dde5;border-radius:9px;padding:0 12px;font-size:16px}.rhs-role-sheet-error{color:#b94d3b;margin:2px 0;font-size:14px;line-height:1.4}.rhs-role-sheet-submit{color:#fff;min-height:48px;font:inherit;background:#2b8a78;border:0;border-radius:10px;margin-top:4px;font-size:16px;font-weight:800}.rhs-role-sheet-submit:disabled{opacity:.55}.rhs-role-sheet-form .rhs-role-sheet-cancel{width:100%;margin:0}.rhs-theme .patient-detail-ai{flex-direction:column;gap:10px;margin:12px 0;display:flex}.rhs-theme .risk-card{border-left:3px solid #0000}.rhs-theme .risk-card.risk-high{border-left-color:var(--rhs-coral)}.rhs-theme .risk-card.risk-medium{border-left-color:var(--rhs-yellow-deep,#f0b93d)}.rhs-theme .risk-card.risk-low{border-left-color:var(--rhs-cyan-deep)}.rhs-theme .risk-tier-badge{border-radius:999px;padding:3px 8px;font-size:13px;font-weight:700}.rhs-theme .risk-tier-high{color:var(--rhs-coral);background:#ed6e5729}.rhs-theme .risk-tier-medium{color:var(--rhs-yellow-deep,#f0b93d);background:#f2b13d2e}.rhs-theme .risk-tier-low{color:var(--rhs-cyan-deep);background:#45c2bb29}.rhs-theme .voiceprint-enroll-card .voiceprint-phrase{color:var(--rhs-ink,#2f3a4d);background:#4f5f780f;border-radius:10px;margin:6px 0 8px;padding:10px 12px;font-size:.92em;line-height:1.55}.rhs-theme .voiceprint-enroll-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;display:flex}.rhs-theme .voiceprint-success{color:var(--rhs-cyan-deep,#2aa39b);font-weight:600}.rhs-theme .action-button.recording{background:var(--rhs-coral,#ed6e57);animation:1.1s ease-in-out infinite rhs-voiceprint-pulse}@keyframes rhs-voiceprint-pulse{0%,to{box-shadow:0 0 #ed6e5773}50%{box-shadow:0 0 0 8px #ed6e5700}}.rhs-theme .voiceprint-enroll-card .text-button{color:var(--rhs-slate,#6b7891);cursor:pointer;background:0 0;border:none;padding:6px 4px;font-size:.9em;text-decoration:underline}.rhs-theme{--rhs-bg:#edf1ec;--rhs-bg-deep:#173a35;--rhs-bg-soft:#2b5a4f;--rhs-yellow:#c5a66a;--rhs-yellow-deep:#a8864e;--rhs-coral:#a85f50;--rhs-success:#2e765b;--rhs-cyan:#315f53;--rhs-cyan-deep:#477968;--rhs-ink:#1c3832;--rhs-ink-soft:#687b74;--rhs-on-bg:#f8faf6;--rhs-on-bg-soft:#cbd7d0;--rhs-card:#fffefa;--rhs-card-soft:#f5f7f2;--rhs-line:#1c383221;background:var(--rhs-bg);min-height:100vh;color:var(--rhs-ink);font-family:Avenir Next,PingFang SC,Hiragino Sans GB,sans-serif}.rhs-theme .app-icon{vertical-align:-.16em;flex:none;display:inline-block}.rhs-theme .rhs-shell{max-width:520px;padding:28px 20px 32px}.rhs-theme .rhs-brand{justify-content:flex-start;gap:12px;padding:0}.rhs-theme .rhs-brand-logo{border-radius:12px;width:42px;height:42px;overflow:hidden;box-shadow:0 8px 16px #1959ef38}.rhs-theme .rhs-brand-name{height:auto;color:var(--rhs-bg-deep);letter-spacing:.14em;box-shadow:none;background:0 0;border-radius:0;padding:0;font-size:22px}.rhs-theme .rhs-identity{text-align:left;color:var(--rhs-ink-soft);letter-spacing:.02em;margin:10px 0 0;font-size:13px}.rhs-theme .rhs-launcher-viewport{margin-top:20px}.rhs-theme .rhs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0}.rhs-theme .rhs-lead-row{margin-bottom:12px}.rhs-theme .rhs-tile{min-width:0;min-height:116px;color:var(--rhs-ink);background:#fffefae0;border:1px solid #1c38321a;border-radius:14px;gap:11px;padding:17px 12px 14px;transition:transform .16s,border-color .16s,box-shadow .16s;box-shadow:0 8px 20px #23433b12}.rhs-theme .rhs-tile:hover{border-color:#47796859;transform:translateY(-1px);box-shadow:0 12px 24px #23433b1c}.rhs-theme .rhs-tile:active{opacity:1;transform:translateY(1px)}.rhs-theme .rhs-tile-icon,.rhs-theme .rhs-tile-lead .rhs-tile-icon{object-fit:contain;background:#e8f0ea;border-radius:13px;width:48px;height:48px;padding:9px}.rhs-theme .rhs-tile-label{color:var(--rhs-ink);letter-spacing:.04em;text-shadow:none;font-size:15px;font-weight:650}.rhs-theme .rhs-tile-badge{background:var(--rhs-coral);min-width:19px;height:19px;box-shadow:none;font-size:11px;top:9px;right:9px}.rhs-theme .rhs-pager{gap:12px;margin:16px 0 4px}.rhs-theme .rhs-page-button{min-width:70px;min-height:32px;color:var(--rhs-ink-soft);background:0 0;border:1px solid #1c38322e;border-radius:999px;padding:6px 12px;font-size:12px}.rhs-theme .rhs-page-button:disabled{color:#687b7480;background:0 0;border-color:#1c383214}.rhs-theme .rhs-page-status{color:var(--rhs-ink-soft);font-size:12px}.rhs-theme .rhs-toolbar{border-top:1px solid #1c38321a;gap:8px;margin:20px 0 0;padding-top:16px}.rhs-theme .rhs-toolbar-chip{min-width:0;color:var(--rhs-ink-soft);background:0 0;border:1px solid #1c383229;border-radius:999px;padding:7px 12px;font-size:12px}.rhs-theme .app-main{max-width:1120px;padding:28px 20px calc(52px + env(safe-area-inset-bottom,0px));color:var(--rhs-ink)}.rhs-theme .content-card,.rhs-theme .card,.rhs-theme .patient-detail-page .patient-card,.rhs-theme .modal-card{background:var(--rhs-card);border:1px solid #1c38321a;border-radius:14px;box-shadow:0 10px 26px #1f3d3512}.rhs-theme .content-card,.rhs-theme .detail-card,.rhs-theme .form-card,.rhs-theme .list-card{padding:20px}.rhs-theme .content-card-header{gap:16px;margin-bottom:18px}.rhs-theme .content-card-header h3,.rhs-theme .card-title,.rhs-theme .section-title{color:var(--rhs-ink);letter-spacing:-.01em}.rhs-theme .content-card-header p,.rhs-theme .card-subtitle,.rhs-theme .content-card-body p{color:var(--rhs-ink-soft)}.rhs-theme .action-button,.rhs-theme .chat-button,.rhs-theme .primary-button,.rhs-theme .rhs-primary-button{background:var(--rhs-yellow);color:#243e36;height:auto;min-height:42px;box-shadow:none;border:1px solid #0000;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:650;line-height:1.3}.rhs-theme .action-button:hover:not(:disabled),.rhs-theme .chat-button:hover,.rhs-theme .primary-button:hover:not(:disabled){background:var(--rhs-yellow-deep);box-shadow:0 7px 16px #a8864e2e}.rhs-theme .action-button-secondary,.rhs-theme .secondary-button,.rhs-theme .rhs-secondary-button{background:var(--rhs-card);height:auto;min-height:42px;color:var(--rhs-ink);box-shadow:none;border:1px solid #1c383229;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600;line-height:1.3}.rhs-theme input,.rhs-theme select,.rhs-theme textarea{color:var(--rhs-ink);background:#fbfcf9;border-color:#1c383229;border-radius:10px}.rhs-theme .health-hub-badge{color:var(--rhs-success);background:#e3eee7;border-radius:999px;padding:4px 9px;font-size:12px}.rhs-theme .health-hub-badge.empty{color:var(--rhs-ink-soft);background:#eef1ed}.rhs-theme .patient-home-card{background:var(--rhs-card);border:1px solid #1c38321a;border-radius:14px;gap:14px;padding:16px;box-shadow:0 8px 20px #23433b0f}.rhs-theme .patient-home-card-header{gap:9px}.rhs-theme .patient-home-card-icon{width:38px;height:38px;color:var(--rhs-cyan-deep);background:#e8f0ea;border-radius:10px;justify-content:center;align-items:center;font-size:0;display:inline-flex}.rhs-theme .patient-home-card-header h3{color:var(--rhs-ink);font-size:16px}.rhs-theme .health-hub-card-arrow{color:var(--rhs-cyan-deep);flex:none}.rhs-theme .patient-detail-page .patient-detail-header-actions{gap:10px}.rhs-theme .patient-detail-page .patient-detail-header-actions>.action-button,.rhs-theme .patient-detail-page .patient-detail-header-actions>.chat-button{border-radius:10px;min-height:42px;padding:9px 10px;font-size:13px}.rhs-theme .patient-status-badge.active{background:var(--rhs-success)}.rhs-theme .app-nav{background:#173a35f0;border:1px solid #ffffff1a;border-radius:18px;box-shadow:0 16px 30px #173a352e}.rhs-theme .nav-button{border-radius:12px}.rhs-theme .nav-button.active{color:#f4f2e9;background:#fffefa1f}.rhs-theme .nav-button:hover:not(:disabled){background:#fffefa14}.rhs-theme .feedback-fab{background:var(--rhs-bg-deep);border-radius:14px;width:46px;height:46px;box-shadow:0 10px 20px #173a3533}@media (width<=640px){.rhs-theme .rhs-shell{padding:22px 16px 28px}.rhs-theme .app-main{padding:20px 14px calc(44px + env(safe-area-inset-bottom,0px))}.rhs-theme .content-card,.rhs-theme .detail-card,.rhs-theme .form-card,.rhs-theme .list-card{padding:16px}.rhs-theme .patient-detail-page .patient-detail-header-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=900px){.rhs-theme .rhs-shell{max-width:620px;padding-top:36px}.rhs-theme .rhs-grid{gap:16px}.rhs-theme .rhs-tile{min-height:132px}}.rhs-theme.rhs-patient,.rhs-theme.rhs-doctor{background:#f3f6f3}.rhs-theme .rhs-home{color:#193b35;background:#f3f6f3;min-height:0}.rhs-theme .rhs-home .rhs-shell{max-width:680px;padding:24px 24px 18px}.rhs-theme .rhs-home-topbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.rhs-theme .rhs-home-user{align-items:center;gap:11px;min-width:0;display:flex}.rhs-theme .rhs-home-avatar{color:#286653;background:#d8ebe3;border-radius:50%;flex:none;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.rhs-theme .rhs-home-user>div{gap:1px;min-width:0;display:grid}.rhs-theme .rhs-home-overline,.rhs-theme .rhs-section-kicker{color:#789087;letter-spacing:.16em;font-size:10px;font-weight:750;line-height:1.3}.rhs-theme .rhs-home-user strong{color:#193b35;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:700;line-height:1.35;overflow:hidden}.rhs-theme .rhs-home-icon-button{color:#477968;cursor:pointer;background:#fffefa;border:1px solid #193b351a;border-radius:12px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex;box-shadow:0 5px 14px #1d42380f}.rhs-theme .rhs-home-context{color:#536e65;justify-content:space-between;align-items:center;gap:12px;margin-top:5px;font-size:13px;line-height:1.5;display:flex}.rhs-theme .rhs-home-context span{color:#8b9a94;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.rhs-theme .rhs-home .rhs-lead-row{margin:0 0 16px}.rhs-theme .rhs-home .rhs-tile-lead{text-align:left;background:#dceee7;border:0;border-radius:22px;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;width:100%;min-height:142px;padding:22px 20px;display:grid;box-shadow:0 14px 30px #3267531c}.rhs-theme .rhs-home .rhs-tile-lead:hover{background:#d6ebe3;border:0;box-shadow:0 16px 32px #32675324}.rhs-theme .rhs-lead-copy{gap:5px;min-width:0;display:grid}.rhs-theme .rhs-tile-kicker{color:#568274;letter-spacing:.12em;font-size:11px;font-weight:700}.rhs-theme .rhs-lead-copy strong{color:#163f35;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(18px,3vw,24px);font-weight:750;line-height:1.35;overflow:hidden}.rhs-theme .rhs-lead-copy>span:last-child{color:#638277;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5;overflow:hidden}.rhs-theme .rhs-lead-mark{color:#a75d4c;background:#f3d5c5;border-radius:19px;justify-content:center;align-items:center;width:58px;height:58px;display:inline-flex}.rhs-theme .rhs-doctor-lead{background:#e2e7f5}.rhs-theme .rhs-doctor-lead:hover{background:#dce2f2!important}.rhs-theme .rhs-doctor-lead .rhs-lead-mark{color:#5365ad;background:#d3daf2}.rhs-theme .rhs-doctor-lead .rhs-tile-kicker,.rhs-theme .rhs-doctor-lead .rhs-lead-copy>span:last-child{color:#6674a8}.rhs-theme .rhs-doctor-lead .rhs-lead-copy strong{color:#24345f}.rhs-theme .rhs-section-heading{justify-content:space-between;align-items:end;gap:12px;margin:0 0 10px;display:flex}.rhs-theme .rhs-section-heading>div{gap:2px;display:grid}.rhs-theme .rhs-section-heading h2{color:#193b35;font-size:20px;font-weight:750;line-height:1.35}.rhs-theme .rhs-section-heading>span:last-child{color:#94a29c;white-space:nowrap;font-size:11px}.rhs-theme .rhs-home .rhs-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead){background:#fffefa;border:1px solid #193b3514;border-radius:16px;gap:9px;min-width:0;min-height:104px;padding:15px 6px 12px;box-shadow:0 8px 18px #1d42380e}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead):hover{background:#fff;border-color:#47796838;box-shadow:0 12px 22px #1d42381a}.rhs-theme .rhs-home .rhs-tile-icon{color:#2e765b;background:#dceee7;border-radius:14px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex}.rhs-theme .rhs-home .rhs-tile-label{color:#355c51;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;font-weight:650;line-height:1.35;overflow:hidden}.rhs-theme .rhs-home .rhs-tile-badge{background:#bd6755;min-width:17px;height:17px;padding:0 4px;font-size:10px;top:7px;right:7px}.rhs-theme .rhs-metric-strip{background:#fffefac7;border:1px solid #193b3514;border-radius:16px;grid-template-columns:repeat(3,1fr);margin:-2px 0 19px;padding:13px 0;display:grid}.rhs-theme .rhs-metric-strip>div{border-right:1px solid #193b3514;justify-items:center;gap:2px;display:grid}.rhs-theme .rhs-metric-strip>div:last-child{border-right:0}.rhs-theme .rhs-metric-strip strong{color:#254f43;font-size:21px;line-height:1.2}.rhs-theme .rhs-metric-strip strong.is-alert{color:#b45e4d}.rhs-theme .rhs-metric-strip span{color:#82958d;font-size:11px}.rhs-theme .rhs-home .rhs-pager{gap:11px;margin:17px 0 3px}.rhs-theme .rhs-home .rhs-page-button{color:#537c6d;background:#fffefa;border:1px solid #193b351f;border-radius:50%;justify-content:center;align-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;display:inline-flex}.rhs-theme .rhs-home .rhs-page-button-prev{transform:rotate(180deg)}.rhs-theme .rhs-home .rhs-page-status{gap:5px;min-width:auto;display:inline-flex}.rhs-theme .rhs-home .rhs-page-count{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.rhs-theme .rhs-home .rhs-page-dot{background:#cbd8d1;border-radius:50%;width:5px;height:5px}.rhs-theme .rhs-home .rhs-page-dot.active{background:#4f806d;border-radius:99px;width:16px}.rhs-theme .rhs-home .rhs-toolbar{border-top:1px solid #193b3514;justify-content:center;gap:6px;margin:15px 0 0;padding-top:13px}.rhs-theme .rhs-home .rhs-toolbar-chip{color:#80918a;border:0;border-radius:9px;align-items:center;gap:5px;min-height:30px;padding:5px 9px;font-size:11px;display:inline-flex}.rhs-theme .rhs-home .rhs-toolbar-chip:hover{color:#315f53;background:#e5ede8}@media (width<=640px){.rhs-theme .rhs-home .rhs-shell{padding:20px 16px 14px}.rhs-theme .rhs-home .rhs-tile-lead{border-radius:19px;min-height:132px;padding:19px 16px}.rhs-theme .rhs-lead-mark{border-radius:16px;width:50px;height:50px}.rhs-theme .rhs-lead-copy strong,.rhs-theme .rhs-section-heading h2{font-size:18px}.rhs-theme .rhs-home .rhs-grid{gap:8px}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead){min-height:96px;padding:13px 3px 10px}.rhs-theme .rhs-home .rhs-tile-icon{border-radius:12px;width:40px;height:40px}}@media (width>=800px){.rhs-theme .rhs-home .rhs-shell{padding-top:30px}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead){min-height:112px}}.rhs-theme .rhs-home{background:#f4f7fb}.rhs-theme .rhs-home .rhs-shell{background:#f4f7fb;padding-top:0;overflow:hidden}.rhs-theme .rhs-home-topbar{color:#fff;background:#3d74e8;margin:0 -24px;padding:24px 24px 9px}.rhs-theme .rhs-home-avatar{color:#fff;background:#fff3}.rhs-theme .rhs-home-overline,.rhs-theme .rhs-home-user strong{color:#fff}.rhs-theme .rhs-home-overline{opacity:.76;font-size:11px}.rhs-theme .rhs-home-user strong{font-size:20px}.rhs-theme .rhs-home-icon-button{color:#fff;background:#ffffff24;border-color:#ffffff40}.rhs-theme .rhs-home-context{color:#ffffffeb;background:#3d74e8;margin:0 -24px;padding:7px 24px 18px;font-size:14px}.rhs-theme .rhs-home-context span{color:#ffffffad;font-size:12px}.rhs-theme .rhs-tile-kicker{color:#5682d6;font-size:12px}.rhs-theme .rhs-lead-copy strong{color:#203f78;font-size:clamp(21px,3.4vw,27px)}.rhs-theme .rhs-lead-copy>span:last-child{color:#6d86ad;font-size:14px}.rhs-theme .rhs-lead-mark,.rhs-theme .rhs-doctor-lead .rhs-lead-mark{color:#3973dd;background:#d3e3ff}.rhs-theme .rhs-lead-arrow{color:#3973dd}.rhs-theme .rhs-section-heading{margin-bottom:12px}.rhs-theme .rhs-section-heading h2{color:#1d355d;font-size:22px}.rhs-theme .rhs-section-heading>span:last-child{font-size:12px}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead){background:#fff;border-color:#2e538b14;border-radius:15px;min-height:122px;padding:17px 6px 14px;box-shadow:0 7px 17px #224b8212}.rhs-theme .rhs-home .rhs-tile-icon{color:#3973dd;background:#e5efff;border-radius:15px;width:50px;height:50px}.rhs-theme .rhs-home .rhs-tile:nth-child(4n+2) .rhs-tile-icon{color:#6574cc;background:#e8edff}.rhs-theme .rhs-home .rhs-tile:nth-child(4n+3) .rhs-tile-icon{color:#c57650;background:#fff0e7}.rhs-theme .rhs-home .rhs-tile:nth-child(4n+4) .rhs-tile-icon{color:#55a269;background:#e8f5ec}.rhs-theme .rhs-metric-strip{margin-bottom:22px;padding:15px 0}.rhs-theme .rhs-metric-strip strong{color:#2b5ab1;font-size:24px}.rhs-theme .rhs-metric-strip span{font-size:12px}.rhs-theme .rhs-home .rhs-pager{margin-top:19px}.rhs-theme .rhs-home .rhs-page-button{color:#3973dd;width:34px;min-width:34px;height:34px;min-height:34px}.rhs-theme .rhs-home .rhs-toolbar-chip{min-height:36px;padding:7px 11px;font-size:13px}.rhs-theme .action-button,.rhs-theme .chat-button,.rhs-theme .primary-button,.rhs-theme .secondary-button,.rhs-theme .rhs-primary-button,.rhs-theme .rhs-secondary-button{min-height:48px;padding:12px 18px;font-size:16px}.rhs-theme input,.rhs-theme select,.rhs-theme textarea{min-height:48px;font-size:16px}.rhs-theme .nav-button{min-height:48px}.rhs-theme .nav-button-copy strong{font-size:15px}@media (width<=640px){.rhs-theme .rhs-home .rhs-shell{padding:0 16px 16px}.rhs-theme .rhs-home-topbar{margin:0 -16px;padding:20px 16px 8px}.rhs-theme .rhs-home-context{margin:0 -16px;padding:7px 16px 17px}.rhs-theme .rhs-home .rhs-tile-lead,.rhs-theme .rhs-home .rhs-doctor-lead{min-height:146px;padding:21px 17px}.rhs-theme .rhs-lead-copy strong{font-size:21px}.rhs-theme .rhs-lead-copy>span:last-child{font-size:13px}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead){min-height:112px;padding:15px 3px 12px}.rhs-theme .rhs-home .rhs-tile-icon{width:46px;height:46px}.rhs-theme .rhs-home .rhs-tile-label{font-size:13px}.rhs-theme .action-button,.rhs-theme .chat-button,.rhs-theme .primary-button,.rhs-theme .secondary-button,.rhs-theme .rhs-primary-button,.rhs-theme .rhs-secondary-button{font-size:16px}}.rhs-theme .app-main.app-main-home{width:100%;max-width:none;padding:0}.rhs-theme .rhs-home{width:100%;min-height:100vh}.rhs-theme .rhs-home .rhs-shell{flex-direction:column;width:100%;max-width:none;min-height:100vh;padding-left:clamp(18px,4vw,56px);padding-right:clamp(18px,4vw,56px);display:flex}.rhs-theme .rhs-home .rhs-home-topbar,.rhs-theme .rhs-home .rhs-home-context{margin-left:-4vw;margin-right:-4vw;padding-left:4vw;padding-right:4vw}.rhs-theme .rhs-home .rhs-home-icon-button{border-radius:14px;width:46px;height:46px}.rhs-theme .rhs-home .rhs-tile-kicker,.rhs-theme .rhs-home .rhs-section-kicker{color:#4a659d}.rhs-theme .rhs-home .rhs-section-heading>span:last-child{color:#536c88;font-size:13px}.rhs-theme .rhs-home .rhs-tile-label{color:#173765;font-size:15px}.rhs-theme .rhs-home .rhs-metric-strip strong{color:#2558b0;font-size:27px}.rhs-theme .rhs-home .rhs-metric-strip span{color:#526d63;font-size:13px}.rhs-theme .rhs-home .rhs-page-button{width:42px;min-width:42px;height:42px;min-height:42px}.rhs-theme .rhs-home .rhs-toolbar-chip{color:#46655b;min-height:42px;padding:8px 13px;font-size:14px}.rhs-theme .rhs-home .rhs-toolbar-chip:hover{color:#173f75}.rhs-theme .rhs-home .rhs-toolbar{margin-top:16px;padding-bottom:96px}.rhs-theme .rhs-bottom-tabbar{z-index:1060;min-height:calc(68px + env(safe-area-inset-bottom,0px));padding:8px clamp(12px, 3vw, 36px) calc(8px + env(safe-area-inset-bottom,0px));box-sizing:border-box;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border-top:1px solid #2b5ab11f;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #203f7817}.rhs-theme .rhs-bottom-tab{color:#61779a;min-width:0;min-height:50px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:650;display:inline-flex}.rhs-theme .rhs-bottom-tab:active{background:#e5efff}@media (width<=640px){.rhs-theme .rhs-bottom-tabbar{padding-left:8px;padding-right:8px}}.rhs-theme .action-button,.rhs-theme .chat-button,.rhs-theme .primary-button,.rhs-theme .secondary-button,.rhs-theme .rhs-primary-button,.rhs-theme .rhs-secondary-button{min-height:52px;font-size:17px;font-weight:700}.rhs-theme .content-card-header h3,.rhs-theme .card-title,.rhs-theme .section-title{color:#142f60;font-size:21px}.rhs-theme .content-card-header p,.rhs-theme .card-subtitle,.rhs-theme .content-card-body p,.rhs-theme .page-subtitle{color:#4f6788;font-size:16px}.rhs-theme.rhs-doctor .app-main:not(.app-main-home),.rhs-theme.rhs-patient .app-main:not(.app-main-home){width:100%;max-width:none;min-height:100vh;padding:0 0 calc(32px + env(safe-area-inset-bottom,0px));background:#f3f6f3}.rhs-theme.rhs-doctor .app-main:not(.app-main-home):has(.doctor-patients-page){width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-shell,.rhs-theme.rhs-patient .app-main:not(.app-main-home) .page-shell{width:100%;max-width:none;min-height:100%;padding:26px clamp(18px,4vw,56px) 36px}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-header,.rhs-theme.rhs-patient .app-main:not(.app-main-home) .page-header{border-bottom-color:#3d74e824;gap:16px;margin-bottom:20px;padding:0 0 18px}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-title,.rhs-theme.rhs-patient .app-main:not(.app-main-home) .page-title{color:#142f60;text-shadow:none}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-title:before,.rhs-theme.rhs-patient .app-main:not(.app-main-home) .page-title:before{background:#3973dd}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-subtitle,.rhs-theme.rhs-patient .app-main:not(.app-main-home) .page-subtitle{color:#4f6788}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-back,.rhs-theme.rhs-patient .app-main:not(.app-main-home) .page-back{color:#142f60;background:#fff;border-color:#1c383229;border-radius:10px;min-width:76px;height:44px;box-shadow:0 6px 16px #224b820f}.rhs-theme .action-button,.rhs-theme .chat-button,.rhs-theme .primary-button,.rhs-theme .secondary-button,.rhs-theme .rhs-primary-button,.rhs-theme .rhs-secondary-button{color:#142f60}@media (width<=640px){.rhs-theme .rhs-home .rhs-shell{padding-left:16px;padding-right:16px}.rhs-theme .rhs-home .rhs-home-topbar,.rhs-theme .rhs-home .rhs-home-context{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.rhs-theme .rhs-home .rhs-lead-copy strong{font-size:23px}.rhs-theme .rhs-home .rhs-lead-copy>span:last-child{font-size:14px}.rhs-theme .rhs-home .rhs-section-heading h2{font-size:22px}.rhs-theme .rhs-home .rhs-tile-label{font-size:14px}}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-shell.patient-detail-page{padding-top:18px}.rhs-theme.rhs-doctor .patient-detail-page .page-header{flex-wrap:nowrap;align-items:center;gap:12px;margin-bottom:14px;padding-bottom:12px}.rhs-theme.rhs-doctor .patient-detail-page .page-header>div:first-child{flex:auto;min-width:0}.rhs-theme.rhs-doctor .patient-detail-page .page-title{font-size:22px;line-height:1.25}.rhs-theme.rhs-doctor .patient-detail-page .page-subtitle{max-width:none;margin-top:4px;font-size:13px;line-height:1.45}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-header-actions{grid-template-columns:minmax(0,1fr)}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-action{min-width:0}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-status-confirmation{grid-template-columns:minmax(0,1fr) 76px;gap:8px;width:100%;display:grid}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-action-confirm,.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-action-cancel{border-radius:10px;min-width:0;min-height:44px;padding:9px 10px;font-size:14px;font-weight:700}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-action-confirm{color:#fff;background:#c05a12;border-color:#c05a12}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-action-confirm:hover:not(:disabled){background:#a94d0d}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-action-cancel{color:#7b5a4c;background:#fff;border-color:#e7c9bc}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-action-status{color:#a64b2a;background:#fff8f4;border-color:#e7bca9}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-action-status:hover:not(:disabled){color:#8d3e21;background:#fff0e9;border-color:#d99b83}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-title-group{flex-direction:row;justify-content:space-between;align-items:center;gap:12px}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-status-row{flex:none;margin-top:0}.rhs-theme.rhs-doctor .patient-detail-page .patient-followup-status-help{color:#8d5b48;background:#fff8f4;border-left:3px solid #e7bca9;border-radius:0 9px 9px 0;max-width:none;margin:-2px 0 0;padding:9px 11px;font-size:12px;line-height:1.55}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-meta p{min-width:0;color:var(--rhs-ink);gap:3px;margin:0;font-size:15px;font-weight:650;line-height:1.4;display:grid}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-meta p span{color:var(--rhs-ink-soft);font-size:13px;font-weight:500}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-note-card{background:#fff;margin-top:16px;padding:13px 14px}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-note-label{margin-bottom:6px;font-size:12px;font-weight:700}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-note-display{color:#334155;min-height:36px;padding:5px 0;font-size:16px;font-weight:650;line-height:1.5}@media (width<=520px){.rhs-theme.rhs-doctor .patient-detail-page .page-header{align-items:flex-start}.rhs-theme.rhs-doctor .patient-detail-page .page-back{min-width:68px;min-height:42px;padding:0 12px}.rhs-theme.rhs-doctor .patient-detail-page .patient-detail-meta{grid-template-columns:1fr;gap:8px}}.rhs-theme.rhs-patient,.rhs-theme.rhs-doctor{--rhs-app-ink:#172522;--rhs-app-muted:#778580;--rhs-app-line:#e5ece9;--rhs-app-canvas:#eef3f1;--rhs-app-paper:#fbfcfc;--rhs-app-teal:#0a746a;--rhs-app-mint:#e1f3ee;--rhs-app-purple:#ede9fb;--rhs-app-peach:#fbe9e2;--rhs-app-yellow:#fff3d7;background:var(--rhs-app-canvas);color:var(--rhs-app-ink)}.rhs-theme .rhs-home{background:var(--rhs-app-paper,#fbfcfc);color:var(--rhs-app-ink,#172522)}.rhs-theme .rhs-home .rhs-shell{background:var(--rhs-app-paper,#fbfcfc);max-width:760px;min-height:100dvh;padding:30px clamp(20px,4vw,48px) 108px}.rhs-theme .rhs-home .rhs-home-topbar{background:0 0;margin:0;padding:0}.rhs-theme .rhs-home .rhs-home-avatar{background:var(--rhs-app-mint,#e1f3ee);width:44px;height:44px;color:var(--rhs-app-teal,#0a746a)}.rhs-theme .rhs-home .rhs-home-overline{color:var(--rhs-app-muted,#778580);font-size:11px}.rhs-theme .rhs-home .rhs-home-user strong{color:var(--rhs-app-ink,#172522);font-size:24px}.rhs-theme .rhs-home .rhs-home-icon-button{border-color:var(--rhs-app-line,#e5ece9);color:var(--rhs-app-ink,#172522);background:#fff;box-shadow:0 5px 14px #1c383114}.rhs-theme .rhs-home .rhs-home-signout{border:1px solid var(--rhs-app-line,#e5ece9);color:#34534b;min-height:38px;font:inherit;cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:5px;padding:0 11px;font-size:13px;font-weight:650;display:inline-flex;box-shadow:0 5px 14px #1c383114}.rhs-theme .rhs-home .rhs-home-signout:hover{color:#173f35;background:#f1f8f4;border-color:#b7d3c8}.rhs-theme .rhs-home .rhs-home-context{color:var(--rhs-app-muted,#778580);background:0 0;margin:8px 0 20px;padding:0;font-size:15px}.rhs-theme .rhs-home .rhs-home-context span{color:var(--rhs-app-muted,#778580);font-size:13px}.rhs-theme .rhs-home .rhs-launcher-viewport{margin-top:0}.rhs-theme .rhs-home .rhs-tile-lead,.rhs-theme .rhs-home .rhs-doctor-lead{background:var(--rhs-app-teal,#0a746a);border:0;border-radius:12px;min-height:194px;padding:20px;box-shadow:0 14px 30px #0a746a2e}.rhs-theme .rhs-home .rhs-tile-lead:hover,.rhs-theme .rhs-home .rhs-doctor-lead:hover{background:#08695f}.rhs-theme .rhs-home .rhs-tile-kicker{color:#c5e5de;font-size:13px}.rhs-theme .rhs-home .rhs-lead-copy strong{color:#fff;font-size:clamp(24px,3.4vw,32px)}.rhs-theme .rhs-home .rhs-lead-copy>span:last-child{color:#e0f1ed;font-size:14px}.rhs-theme .rhs-home .rhs-lead-mark{color:#fff;background:#ffffff29}.rhs-theme .rhs-home .rhs-lead-arrow{color:#d5eee8}.rhs-theme .rhs-home .rhs-metric-strip{border-color:var(--rhs-app-line,#e5ece9);background:#fff;border-radius:12px;margin:18px 0 26px;padding:16px 0;box-shadow:0 7px 18px #1c38310f}.rhs-theme .rhs-home .rhs-metric-strip strong{color:var(--rhs-app-ink,#172522)}.rhs-theme .rhs-home .rhs-metric-strip span{color:var(--rhs-app-muted,#778580)}.rhs-theme .rhs-home .rhs-section-heading{margin-bottom:13px}.rhs-theme .rhs-home .rhs-section-kicker{color:var(--rhs-app-muted,#778580)}.rhs-theme .rhs-home .rhs-section-heading h2{color:var(--rhs-app-ink,#172522);font-size:22px}.rhs-theme .rhs-home .rhs-section-heading>span:last-child{color:var(--rhs-app-muted,#778580)}.rhs-theme .rhs-home .rhs-grid{gap:9px}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead){min-height:108px;box-shadow:none;background:0 0;border:0;border-radius:12px;padding:14px 5px 12px}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead):hover{box-shadow:none;background:#f2f7f5;border:0}.rhs-theme .rhs-home .rhs-tile-icon{background:var(--rhs-app-mint,#e1f3ee);width:52px;height:52px;color:var(--rhs-app-teal,#0a746a);border-radius:12px}.rhs-theme .rhs-home .rhs-tile:nth-child(4n+2) .rhs-tile-icon{background:var(--rhs-app-purple,#ede9fb);color:#6a60a8}.rhs-theme .rhs-home .rhs-tile:nth-child(4n+3) .rhs-tile-icon{background:var(--rhs-app-peach,#fbe9e2);color:#c26850}.rhs-theme .rhs-home .rhs-tile:nth-child(4n+4) .rhs-tile-icon{background:var(--rhs-app-yellow,#fff3d7);color:#a57320}.rhs-theme .rhs-home .rhs-tile-label{color:var(--rhs-app-ink,#172522);font-size:14px;font-weight:600}.rhs-theme .rhs-home .rhs-pager{margin:18px 0 0}.rhs-theme .rhs-home .rhs-page-button{border-color:var(--rhs-app-line,#e5ece9);color:var(--rhs-app-teal,#0a746a)}.rhs-theme .rhs-home .rhs-page-dot.active{background:var(--rhs-app-teal,#0a746a)}.rhs-theme .rhs-home .rhs-toolbar{border-top-color:var(--rhs-app-line,#e5ece9);margin-top:20px;padding-top:14px;padding-bottom:0}.rhs-theme .rhs-home .rhs-toolbar-chip{color:var(--rhs-app-muted,#778580)}.rhs-theme .rhs-bottom-tabbar{border-top-color:var(--rhs-app-line,#e5ece9);background:#fffffff7;box-shadow:0 -10px 26px #1c383114}.rhs-theme .rhs-bottom-tab{color:#93a09c;font-size:12px}.rhs-theme .rhs-bottom-tab.active{color:var(--rhs-app-teal,#0a746a);background:var(--rhs-app-mint,#e1f3ee)}.rhs-theme .rhs-bottom-tab:disabled{opacity:.45}@media (width<=640px){.rhs-theme .rhs-home .rhs-shell{padding:22px 16px 108px}.rhs-theme .rhs-home .rhs-home-user strong{font-size:22px}.rhs-theme .rhs-home .rhs-home-context{margin:8px 0 18px}.rhs-theme .rhs-home .rhs-tile-lead,.rhs-theme .rhs-home .rhs-doctor-lead{min-height:176px}.rhs-theme .rhs-home .rhs-tile:not(.rhs-tile-lead){min-height:100px}}.rhs-theme .rhs-home .rhs-home-section-action{background:var(--rhs-app-mint,#e1f3ee);color:var(--rhs-app-teal,#0a746a);cursor:pointer;border:0;border-radius:8px;padding:7px 9px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.35}.rhs-theme .rhs-home .rhs-home-inline-card{border:1px solid var(--rhs-app-line,#e5ece9);width:100%;color:var(--rhs-app-ink,#172522);text-align:left;background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:13px 14px;display:flex}.rhs-theme .rhs-home .rhs-home-inline-card>div{gap:4px;min-width:0;display:grid}.rhs-theme .rhs-home .rhs-home-inline-card strong{font-size:14px}.rhs-theme .rhs-home .rhs-home-inline-card span{color:var(--rhs-app-muted,#778580);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.rhs-theme .rhs-home .rhs-home-inline-details{gap:2px;display:grid}.rhs-theme .rhs-home .rhs-home-inline-details>span{display:block}.rhs-theme .rhs-home .rhs-home-inline-card-alert{background:#fff8f5;border-color:#f1d7cf}.rhs-theme .rhs-home .rhs-home-inline-card-feedback{cursor:pointer}.rhs-theme .rhs-home .rhs-home-inline-card-feedback>.app-icon{color:var(--rhs-app-teal,#0a746a);flex:none}.rhs-theme .rhs-home .rhs-home-inline-action{background:var(--rhs-app-teal,#0a746a);color:#fff;cursor:pointer;border:0;border-radius:8px;flex:none;min-width:64px;min-height:36px;font:600 13px/1.2 inherit}.rhs-theme .rhs-home .rhs-home-inline-actions{flex:none;gap:6px;display:flex}.rhs-theme .rhs-home .rhs-home-inline-action-reject{color:#a85f50;background:#fff;border:1px solid #f0d4cb}.rhs-theme .doctor-registration-qr,.rhs-theme .doctor-feedback-entry-card{border:1px solid var(--rhs-app-line,#e5ece9);background:#fff;border-radius:12px;margin-top:14px;padding:16px}.rhs-theme .doctor-registration-qr .qr-code-wrapper{margin:12px auto}.rhs-theme .doctor-feedback-entry-card{justify-content:space-between;align-items:center;gap:12px;display:flex}.rhs-theme .doctor-feedback-entry-card>div{gap:3px;display:grid}.rhs-theme .doctor-feedback-entry-card strong{color:var(--rhs-app-ink,#172522);font-size:14px}.rhs-theme .doctor-feedback-entry-card span{color:var(--rhs-app-muted,#778580);font-size:12px}.rhs-theme .doctor-feedback-entry-card .compact-button{white-space:nowrap;min-height:38px}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-shell.doctor-patients-page{max-width:760px;margin:0 auto;padding-top:18px}.rhs-theme.rhs-doctor .doctor-patients-page .page-header{flex-wrap:nowrap;gap:12px;margin-bottom:14px;padding-bottom:12px}.rhs-theme.rhs-doctor .doctor-patients-page .page-title{font-size:22px}.rhs-theme.rhs-doctor .doctor-patients-page .page-title:before{height:19px}.rhs-theme.rhs-doctor .doctor-patients-page .page-subtitle{max-width:none;margin-top:3px;font-size:13px;line-height:1.45}.rhs-theme .doctor-patients-back{color:#3973dd;cursor:pointer;background:#fff;border:1px solid #3973dd33;border-radius:10px;flex:none;place-items:center;width:42px;height:42px;padding:0;display:inline-grid;box-shadow:0 5px 14px #224b820f}.rhs-theme .doctor-patient-searchbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:18px;display:grid}.rhs-theme .doctor-patient-search-field{color:#3973dd;background:#fff;border:1px solid #3973dd38;border-radius:12px;align-items:center;gap:9px;min-width:0;height:48px;padding:0 12px;display:flex;box-shadow:0 6px 16px #224b820d}.rhs-theme .doctor-patient-search-input{color:#142f60;width:100%;min-width:0;height:100%;font:inherit;appearance:none;outline:0;padding:0;font-size:15px;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important}.rhs-theme .doctor-patient-search-input::placeholder{color:#91a4bf}.rhs-theme .doctor-patient-search-input:focus,.rhs-theme .doctor-patient-search-input:focus-visible{outline:0;box-shadow:none!important;background:0 0!important;border:0!important}.rhs-theme .doctor-patient-search-field:focus-within{border-color:#3973dd;box-shadow:0 0 0 3px #3973dd1f}.rhs-theme .doctor-patient-search-clear{color:#4f6788;cursor:pointer;background:#eef4ff;border:0;border-radius:8px;flex:none;place-items:center;width:30px;height:30px;padding:0;display:grid}.rhs-theme .doctor-patient-count{color:#3973dd;background:#eaf2ff;justify-content:center;min-width:58px;padding:8px 11px}.rhs-theme .doctor-patient-search-result{color:#6f82a0;grid-column:1/-1;margin-top:-5px;font-size:12px}.rhs-theme .doctor-patient-results{min-width:0}.rhs-theme .doctor-patient-results-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.rhs-theme .doctor-patient-results-head .card-title{font-size:18px}@media (width<=420px){.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-shell.doctor-patients-page{padding-left:14px;padding-right:14px}.rhs-theme .doctor-patient-searchbar{gap:8px}.rhs-theme .doctor-patient-count{min-width:54px;padding-inline:8px}.rhs-theme .patient-module{padding:14px}.rhs-theme .patient-module-actions .primary-button,.rhs-theme .patient-module-actions .compact-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .patient-module-actions .primary-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .patient-module-actions .secondary-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .patient-module-actions .compact-button{font-size:11px}}.rhs-theme .doctor-client-tools{margin:0 0 14px}.rhs-theme .doctor-health-plan-entry{color:#193c54;text-align:left;cursor:pointer;background:linear-gradient(110deg,#f4fbf8 0%,#fff 68%);border:1px solid #2c978433;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;padding:14px 15px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;box-shadow:0 7px 20px #20675c12}.rhs-theme .doctor-health-plan-entry:hover{border-color:#2c978461;transform:translateY(-1px);box-shadow:0 10px 24px #20675c1c}.rhs-theme .doctor-health-plan-entry:focus-visible{outline-offset:2px;outline:3px solid #2c978433}.rhs-theme .doctor-health-plan-entry-icon{color:#25836f;background:#dff3ec;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.rhs-theme .doctor-health-plan-entry-copy{gap:3px;min-width:0;display:grid}.rhs-theme .doctor-health-plan-entry-copy strong{color:#173a52;font-size:16px;line-height:1.3}.rhs-theme .doctor-health-plan-entry-copy small{color:#6f8492;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.4;overflow:hidden}.rhs-theme .doctor-health-plan-entry-status{color:#738590;white-space:nowrap;background:#edf3f5;border-radius:999px;padding:5px 9px;font-size:12px;line-height:1}.rhs-theme .doctor-health-plan-entry-status.has-pending{color:#b86618;background:#fff0dd;font-weight:700}.rhs-theme .doctor-health-plan-entry>svg:last-child{color:#7b929e}@media (width<=560px){.rhs-theme .doctor-health-plan-entry{grid-template-columns:auto minmax(0,1fr) auto;gap:10px;padding:13px}.rhs-theme .doctor-health-plan-entry-status{grid-column:2;width:fit-content;margin-top:2px}.rhs-theme .doctor-health-plan-entry>svg:last-child{grid-area:1/3/span 2}}.xm-sleep-panel{--xm-bg:#12081f;--xm-card:#30184eb8;--xm-card-border:#ba78ff2e;--xm-text:#f7f2ff;--xm-muted:#ebdcffb8;--xm-accent:#c86bff;--xm-accent-2:#ff6f8f;--xm-teal:#35d7c8;color:var(--xm-text);border:1px solid var(--xm-card-border);background:radial-gradient(circle at 100% 0,#aa4aff47,#0000 42%),linear-gradient(#1a0d2d 0%,#0d0616 100%);border-radius:24px;margin-top:16px;padding:18px 16px 20px;box-shadow:0 18px 40px #08001447}.xm-sleep-hero{margin-bottom:14px}.xm-sleep-hero h3{margin:0 0 6px;font-size:24px;font-weight:700}.xm-sleep-hero p{color:var(--xm-muted);margin:0;font-size:14px}.xm-sleep-tabs{background:#ffffff0f;border-radius:999px;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:16px;padding:4px;display:grid}.xm-sleep-tab{color:var(--xm-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:10px 12px;font-size:14px;font-weight:600}.xm-sleep-tab.active{color:#fff;background:linear-gradient(90deg,#8f3dff,#c86bff);box-shadow:0 8px 18px #8f3dff59}.xm-sleep-card{background:var(--xm-card);border:1px solid var(--xm-card-border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:22px;margin-bottom:14px;padding:16px}.xm-scene-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.xm-scene-title{font-size:18px;font-weight:700}.xm-scene-meta{color:var(--xm-muted);align-items:center;gap:10px;font-size:13px;display:flex}.xm-online-dot{background:#39d98a;border-radius:50%;width:8px;height:8px;box-shadow:0 0 10px #39d98acc}.xm-online-dot.offline{box-shadow:none;background:#8d7aa8}.xm-switch-btn,.xm-goal-btn{color:#fff;cursor:pointer;background:linear-gradient(90deg,#8f3dff,#c86bff);border:0;border-radius:999px;padding:8px 14px;font-size:13px}.xm-status-pill{background:#ffffff14;border:1px solid #ffffff1f;border-radius:999px;justify-content:center;align-items:center;min-width:132px;margin:0 auto 16px;padding:10px 18px;font-size:15px;font-weight:600;display:inline-flex}.xm-status-pill strong{color:#fff;margin-left:6px}.xm-sleep-times{grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-bottom:12px;display:grid}.xm-sleep-time-block{text-align:center}.xm-sleep-time-label{color:var(--xm-muted);margin-bottom:4px;font-size:12px}.xm-sleep-time-value{font-size:22px;font-weight:700}.xm-sleep-progress{background:#ffffff14;border-radius:999px;height:10px;margin-bottom:12px;overflow:hidden}.xm-sleep-progress>span{border-radius:inherit;background:linear-gradient(90deg,#7b2fff,#d56dff);height:100%;display:block}.xm-sleep-goals{color:var(--xm-muted);grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;font-size:12px;display:grid}.xm-metric-card{grid-template-columns:92px 1fr;align-items:center;gap:12px;display:grid}.xm-metric-head{align-items:center;gap:8px;margin-bottom:8px;font-size:15px;font-weight:600;display:flex}.xm-metric-value{font-size:42px;font-weight:700;line-height:1}.xm-metric-unit{color:var(--xm-muted);margin-top:6px;font-size:13px}.xm-metric-chart{min-height:120px}.xm-sparkline,.xm-sparkline-empty{width:100%;height:120px}.xm-sparkline-grid{stroke:#ffffff0f;stroke-width:1px}.xm-sparkline-tick{fill:#ffffff47;font-size:10px}.xm-sparkline-empty{color:var(--xm-muted);background:#ffffff0a;border-radius:16px;justify-content:center;align-items:center;font-size:12px;display:flex}.xm-action-row{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:4px;display:grid}.xm-action-btn{color:#fff;cursor:pointer;border:0;border-radius:999px;padding:12px 8px;font-size:12px;font-weight:600}.xm-action-btn.care{background:linear-gradient(90deg,#7b2fff,#d56dff)}.xm-action-btn.demo{background:linear-gradient(90deg,#ff5f45,#ff8b5d)}.xm-action-btn.alert{background:linear-gradient(90deg,#5f49ff,#8d63ff)}.xm-report-list{gap:14px;display:grid}.xm-report-card{background:var(--xm-card);border:1px solid var(--xm-card-border);border-radius:20px;padding:16px}.xm-report-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.xm-report-score{background:radial-gradient(circle at 30% 30%,#d56dff,#6d24c8);border-radius:50%;place-items:center;width:72px;height:72px;font-size:28px;font-weight:700;display:grid}.xm-report-meta h4{margin:0 0 6px;font-size:18px}.xm-report-meta p{color:var(--xm-muted);margin:0;font-size:13px}.xm-stage-bar{background:#ffffff14;border-radius:999px;height:12px;margin-bottom:12px;display:flex;overflow:hidden}.xm-stage-bar span{height:100%;display:block}.xm-stage-bar .deep{background:#6d24c8}.xm-stage-bar .light{background:#9b5de5}.xm-stage-bar .rem{background:#d56dff}.xm-stage-bar .awake{background:#ffb86b}.xm-report-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.xm-report-stat{background:#ffffff0d;border-radius:14px;padding:10px 12px}.xm-report-stat strong{margin-bottom:4px;font-size:18px;display:block}.xm-report-stat span{color:var(--xm-muted);font-size:12px}.xm-empty,.xm-error{text-align:center;color:var(--xm-muted);background:#ffffff0a;border-radius:16px;padding:18px 14px}.xm-error{color:#ffb4c7}.xm-panel-foot{color:var(--xm-muted);justify-content:space-between;align-items:center;margin-top:12px;font-size:12px;display:flex}.xm-refresh-btn{color:#fff;cursor:pointer;background:#ffffff14;border:0;border-radius:999px;padding:8px 14px}@media (width<=480px){.xm-metric-card{grid-template-columns:1fr}.xm-metric-value{font-size:36px}.xm-action-row{grid-template-columns:1fr}}.uw-panel .uw-metric-source,.uw-panel .uw-latest-report{color:#ebdcffb8;margin-top:8px;font-size:12px}.uw-panel .wearable-history-groups{margin-top:0}.uw-panel .wearable-history-group{background:#ffffff0a;border:1px solid #ba78ff2e;border-radius:18px;padding:12px}.uw-panel .wearable-history-group-header h4,.uw-panel .wearable-history-group-header p,.uw-panel .wearable-history-table th,.uw-panel .wearable-history-table td,.uw-panel .wearable-history-time-text{color:#f7f2ff}.uw-panel .wearable-history-table thead th{background:#ffffff0f}.uw-panel .wearable-history-table th,.uw-panel .wearable-history-table td{border-color:#ffffff14}.smart-device-shell{background:radial-gradient(circle at 100% 0,#aa4aff2e,#0000 42%),linear-gradient(#12081f 0%,#07040f 100%);border-radius:18px;width:100%;max-width:480px;margin:0 auto;overflow:hidden}.rhs-theme .app-main:has(.smart-device-shell){max-width:480px;padding:8px 14px 120px}.smart-device-shell-home{background:radial-gradient(circle at 100% 0,#aa4aff38,#0000 40%),linear-gradient(#12081f 0%,#07040f 100%)}.smart-device-home{padding:10px}.smart-device-panel{border-radius:18px;min-height:0;margin-top:0;padding:14px 12px 16px}.smart-device-topbar{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.smart-device-back{color:#fff;cursor:pointer;background:#ffffff14;border:0;border-radius:999px;padding:8px 14px}.smart-device-tabs{margin-bottom:18px}.smart-device-subpage{max-width:480px;margin:0 auto;padding:12px}.smart-device-subheader{align-items:center;gap:12px;margin-bottom:16px;display:flex}.smart-device-subheader h2{margin:0;font-size:22px}.xm-metric-card-compact{grid-template-columns:120px 1fr}.xm-metric-value-compact{font-size:30px}.xm-metric-chart-compact{min-height:88px}.uw-live-header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.uw-live-header h3{margin:0 0 4px;font-size:20px;line-height:1.2}.uw-live-header p{color:#ebdcffb8;margin:0;font-size:13px}.uw-live-status{color:#f7f2ff;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;flex:none;align-items:center;gap:8px;padding:8px 12px;font-size:12px;font-weight:700;display:inline-flex}.uw-live-table{gap:6px;display:grid}.uw-live-table-head,.uw-live-card{grid-template-columns:74px 72px minmax(46px,auto) minmax(0,1fr);align-items:stretch;gap:8px;display:grid}.uw-live-table-head{color:#ebdcff9e;padding:0 12px;font-size:11px;font-weight:700}.uw-live-grid{grid-template-columns:1fr;gap:8px;display:grid}.uw-live-card{background:#30184eb8;border:1px solid #ba78ff2e;border-radius:16px;min-width:0;padding:12px;position:relative}.uw-live-card.monitor{background:linear-gradient(#2d134ce6 0%,#1b0c30f0 100%);border-color:#976cff47;box-shadow:inset 0 0 0 1px #ffffff08,0 12px 28px #08001433}.uw-live-card.empty{opacity:.78}.uw-live-card-head{justify-content:center;align-items:flex-start;display:flex}.uw-live-card-head span{color:#ebdcffc7;font-size:13px;font-weight:700}.uw-live-card-value{color:#fff;align-items:center;font-size:30px;line-height:1;display:flex}.uw-live-card-unit{color:#ebdcffad;text-align:left;align-items:center;font-size:12px;display:flex}.uw-live-card .xm-sparkline,.uw-live-card .xm-sparkline-empty{grid-column:1/-1;width:100%;height:180px;margin-top:4px}.uw-live-card.monitor .xm-sparkline{background:linear-gradient(#102228b8 0%,#040c10f5 100%);border:1px solid #56ffda1c;border-radius:8px;padding:8px;box-shadow:inset 0 0 18px #24ffcf0e}.uw-live-card.monitor .xm-sparkline-monitor-empty{color:#ebdcff6b;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:flex;position:relative}.uw-live-card.monitor .xm-sparkline-monitor-empty svg{width:calc(100% - 16px);height:calc(100% - 16px);position:absolute;inset:8px}.uw-live-card.monitor .xm-sparkline-monitor-empty span{z-index:1;position:relative}.uw-live-card.monitor .uw-monitor-wave.heart{filter:drop-shadow(0 0 3px #ff5f7ac7)}.uw-live-card.monitor .uw-monitor-wave.resp{filter:drop-shadow(0 0 3px #35d7c8c2)}.uw-live-card.monitor .xm-sparkline-monitor-line{opacity:.96}.uw-live-card.monitor .xm-monitor-trace{will-change:auto}.uw-live-card.monitor .xm-monitor-grid line{stroke:#53ffd617;stroke-width:.7px;vector-effect:non-scaling-stroke}.uw-monitor-badge{z-index:1;color:#ebdcffd1;letter-spacing:.08em;align-items:center;gap:6px;font-size:10px;font-weight:800;display:inline-flex;position:absolute;top:52px;right:24px}.uw-monitor-badge span:first-child{color:#64ffd9}.uw-monitor-badge span:first-child:before{content:"";background:currentColor;border-radius:999px;width:6px;height:6px;margin-right:4px;display:inline-block;box-shadow:0 0 8px}.uw-monitor-badge span:first-child.offline{color:#ebdcff70}.uw-live-card-foot{color:#ebdcffad;grid-column:1/-1;justify-content:space-between;align-items:center;gap:4px;margin-top:-6px;font-size:11px;display:flex}.uw-live-card-foot span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.uw-live-card-foot span:last-child{white-space:nowrap;flex:none}@keyframes uw-wave-pulse{0%,to{opacity:.88}50%{opacity:1}}.uw-number-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.uw-number-card{background:#ffffff0d;border:1px solid #ffffff14;border-radius:14px;min-width:0;padding:10px}.uw-number-card span,.uw-number-card small{color:#ebdcffad;font-size:12px;display:block}.uw-number-card strong{color:#fff;overflow-wrap:anywhere;margin:4px 0 3px;font-size:20px;line-height:1.1;display:block}.uw-sleep-strip{background:#ffffff0a;border:1px solid #ffffff14;border-radius:14px;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:10px;padding:10px;display:grid}.uw-sleep-strip div{text-align:center;gap:3px;display:grid}.uw-sleep-strip span{color:#ebdcffad;font-size:12px}.uw-sleep-strip strong{color:#fff;font-size:18px}.uw-goal-label{color:#ebdcffd1;text-align:center;white-space:nowrap;font-size:13px;font-weight:600}.uw-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.uw-action-grid .xm-action-btn{border-radius:14px;min-height:42px;padding:10px 8px}.xm-action-btn.neutral{background:#ffffff1f}.uw-subview-head{align-items:center;gap:12px;margin-bottom:14px;display:flex}.uw-subview-head h4{color:#fff;margin:0;font-size:18px}@media (width<=760px){.uw-live-header{flex-direction:column;align-items:stretch;gap:8px}.uw-live-status{width:fit-content}.uw-sleep-strip{grid-template-columns:1fr}}@media (width<=430px){.rhs-theme .app-main:has(.smart-device-shell){padding-left:8px;padding-right:8px}.smart-device-shell{border-radius:8px}.smart-device-home{padding:6px}.smart-device-panel{border-radius:8px;padding:10px 6px 12px}.smart-device-topbar{min-height:36px;margin-bottom:6px}.smart-device-back,.xm-refresh-btn{min-height:34px;padding:7px 12px;font-size:13px}.uw-live-header{margin-bottom:10px}.uw-live-header h3{font-size:18px}.uw-live-header p{font-size:12px;line-height:1.5}.uw-live-status{padding:6px 9px}.uw-live-table-head,.uw-live-card{grid-template-columns:58px 54px 44px minmax(0,1fr);gap:6px}.uw-live-table-head{padding:0 8px;font-size:10px}.uw-live-card{border-radius:8px;padding:10px 8px}.uw-live-card-foot{margin-top:-6px;font-size:10px}.uw-live-card .xm-sparkline,.uw-live-card .xm-sparkline-empty{height:188px}.uw-monitor-badge{top:46px;right:16px}.uw-live-card-value{font-size:25px}.uw-live-card-head span,.uw-live-card-unit{font-size:11px}.uw-number-card,.uw-sleep-strip{border-radius:8px}.uw-number-card{padding:9px 8px}.uw-number-card strong{font-size:19px}.uw-sleep-strip{grid-template-columns:1fr auto 1fr;gap:6px;padding:9px 6px}.uw-sleep-strip strong{font-size:16px}.uw-goal-label,.uw-sleep-strip span{font-size:11px}}@media (width<=380px){.uw-live-table-head,.uw-live-card{grid-template-columns:52px 50px 40px minmax(0,1fr);gap:4px}.uw-live-card .xm-sparkline,.uw-live-card .xm-sparkline-empty{height:176px}.uw-monitor-badge{gap:4px;font-size:9px;right:12px}.uw-sleep-strip{grid-template-columns:1fr 1fr}.uw-sleep-strip>:nth-child(2){grid-area:2/1/auto/-1}}.health-education-page{width:100%}.health-education-prompt .modal-content{box-sizing:border-box;border-radius:8px;width:min(390px,100vw - 32px)}.health-education-prompt h3{color:var(--rhs-ink);margin:0;font-size:21px}.health-education-prompt p{color:var(--rhs-ink-soft);margin:12px 0 0;line-height:1.65}.health-education-prompt-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;display:grid}.health-education-prompt-actions button{width:100%}.health-education-header .page-subtitle{margin-top:5px}.health-education-summary{color:var(--rhs-on-bg);flex-direction:column;gap:5px;margin:0 2px 14px;display:flex}.health-education-summary strong{font-size:22px}.health-education-summary span{color:var(--rhs-on-bg-soft);font-size:14px}.health-education-list{gap:12px;display:grid}.health-education-card{width:100%;min-height:150px;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:8px;grid-template-columns:124px minmax(0,1fr);padding:0;display:grid;overflow:hidden}.health-education-card:active{opacity:.88}.health-education-cover{object-fit:cover;background:#e8eff4;width:124px;height:100%;min-height:150px;display:block}.health-education-cover-placeholder{color:#fff;background:#234c5b;justify-content:center;align-items:center;font-size:16px;font-weight:800;display:flex}.health-education-card-body{flex-direction:column;min-width:0;padding:14px;display:flex}.health-education-meta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.health-education-category,.health-education-type,.health-education-new{border-radius:999px;align-items:center;min-height:24px;padding:3px 8px;font-size:12px;font-weight:700;display:inline-flex}.health-education-category{color:#207f7b;background:#45c2bb26}.health-education-type{color:#536272;background:#edf1f4}.health-education-new{background:var(--rhs-coral);color:#fff}.health-education-title{color:var(--rhs-ink);margin-top:9px;font-size:17px;line-height:1.4}.health-education-description{color:var(--rhs-ink-soft);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:6px;font-size:13px;line-height:1.5;display:-webkit-box;overflow:hidden}.health-education-foot{color:var(--rhs-ink-soft);justify-content:space-between;gap:8px;margin-top:auto;padding-top:9px;font-size:11px;display:flex}.health-education-empty{text-align:center;border-radius:8px;padding:24px 18px}.health-education-empty h3{margin:0}.health-education-empty p{color:var(--rhs-ink-soft);margin:9px 0 16px}.health-education-article{border-radius:8px;padding:22px 18px}.health-education-article h1{color:var(--rhs-ink);letter-spacing:0;overflow-wrap:anywhere;margin:16px 0 0;font-size:28px;line-height:1.35}.health-education-article-summary{color:#6f5a25;background:#fff8dc;border-left:4px solid #d9a62e;margin-top:16px;padding:13px 14px;font-size:15px;line-height:1.7}.health-education-byline{border-bottom:1px solid var(--rhs-line);color:var(--rhs-ink-soft);justify-content:space-between;gap:10px;margin-top:16px;padding-bottom:16px;font-size:13px;display:flex}.health-education-video{aspect-ratio:16/9;background:#101820;border-radius:8px;width:100%;margin-top:18px;display:block}.health-education-pdf{background:#edf6f5;border:1px solid #45c2bb40;border-radius:8px;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:12px;margin-top:18px;padding:14px;display:grid}.health-education-pdf-mark{color:#fff;background:#c94f3c;border-radius:6px;justify-content:center;align-items:center;width:50px;height:58px;font-size:13px;font-weight:800;display:flex}.health-education-pdf-info{min-width:0;color:var(--rhs-ink);flex-direction:column;gap:5px;display:flex}.health-education-pdf-info strong{overflow-wrap:anywhere}.health-education-pdf-info span{color:var(--rhs-ink-soft);font-size:12px}.health-education-pdf .primary-button{box-sizing:border-box;grid-column:1/-1;width:100%;text-decoration:none}.health-education-rich-text,.health-education-plain-text{color:var(--rhs-ink);overflow-wrap:anywhere;margin-top:20px;font-size:16px;line-height:1.85}.health-education-plain-text{white-space:pre-wrap}.health-education-rich-text img,.health-education-rich-text video,.health-education-rich-text iframe{max-width:100%;height:auto}.health-education-rich-text table{max-width:100%;display:block;overflow-x:auto}.health-education-images{gap:10px;margin-top:20px;display:grid}.health-education-images img{border-radius:8px;width:100%;height:auto;display:block}.health-education-disclaimer{background:var(--rhs-card-soft);color:var(--rhs-ink-soft);border-radius:8px;margin-top:22px;padding:13px;font-size:13px;line-height:1.65}@media (width<=420px){.health-education-card{grid-template-columns:104px minmax(0,1fr)}.health-education-cover{width:104px}.health-education-card-body{padding:12px}.health-education-foot{flex-direction:column;gap:2px}.health-education-article h1{font-size:24px}}.grid-agent-dashboard{color:#1f2c32;width:min(1180px,100%);margin:0 auto}.grid-agent-app{min-height:100dvh;padding-bottom:92px}.grid-agent-tabbar{z-index:50;min-height:calc(68px + env(safe-area-inset-bottom,0px));padding:8px max(12px, calc((100vw - 520px) / 2)) calc(8px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff7;border-top:1px solid #dfe8e4;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #1938301a}.grid-agent-tabbar button{color:#7a8b85;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;align-content:center;place-items:center;gap:3px;font-size:11px;display:grid}.grid-agent-tabbar button.active{color:#087f68;background:#e6f5ef;font-weight:800}.grid-agent-tabbar button:disabled{opacity:.45;cursor:default}.grid-agent-heading{background:#fff;border-bottom:1px solid #d9e1e2;justify-content:space-between;align-items:center;gap:24px;min-height:126px;padding:28px 30px;display:flex}.grid-agent-heading h2{letter-spacing:0;margin:3px 0 6px;font-size:28px}.grid-agent-heading p{color:#6c787e;margin:0}.grid-agent-kicker{font-size:13px;font-weight:800;color:#087f68!important}.grid-agent-actions{gap:10px;display:flex}.grid-agent-actions button,.grid-filter-tabs button{color:#34454d;cursor:pointer;background:#fff;border:1px solid #cfd9db;border-radius:6px;min-height:38px;padding:8px 14px}.grid-agent-actions button.primary,.grid-filter-tabs button.active{color:#fff;background:#087f68;border-color:#087f68}.grid-agent-actions button:disabled{opacity:.55;cursor:not-allowed}.grid-agent-error{color:#8c332e;background:#fff0ee;border-left:4px solid #cf4f48;margin:18px 0;padding:12px 16px}.grid-agent-metrics{background:#fff;border:1px solid #d9e1e2;grid-template-columns:repeat(4,1fr);margin-top:18px;display:grid}.grid-agent-metrics article{border-right:1px solid #e2e8e9;min-height:154px;padding:24px}.grid-agent-metrics article:last-child{border-right:0}.grid-agent-metrics span,.grid-agent-metrics small{color:#6c787e;display:block}.grid-agent-metrics strong{margin:4px 0;font-size:34px;display:block}.grid-metric-track{background:#edf1f1;height:5px;margin-top:16px;overflow:hidden}.grid-metric-track i{background:#17a184;height:100%;display:block}.grid-agent-residents{background:#fff;border:1px solid #d9e1e2;margin-top:18px}.grid-resident-toolbar{border-bottom:1px solid #e2e8e9;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.grid-filter-tabs{flex-wrap:wrap;gap:8px;display:flex}.grid-resident-toolbar input{border:1px solid #cfd9db;border-radius:6px;width:min(320px,100%);min-height:40px;padding:8px 12px}.grid-resident-table-wrap{overflow-x:auto}.grid-agent-residents table{border-collapse:collapse;width:100%;min-width:960px}.grid-agent-residents th,.grid-agent-residents td{text-align:left;vertical-align:top;border-bottom:1px solid #edf1f2;padding:16px 18px}.grid-agent-residents th{color:#647178;background:#f6f8f8;font-size:13px}.grid-agent-residents td strong,.grid-agent-residents td small{display:block}.grid-agent-residents td small{color:#78848a;text-overflow:ellipsis;white-space:nowrap;max-width:220px;margin-top:4px;overflow:hidden}.grid-status-mark{border-radius:4px;align-items:center;min-height:25px;padding:3px 8px;font-size:12px;font-weight:800;display:inline-flex}.grid-status-mark.positive{color:#0a6f59;background:#ddf3eb}.grid-status-mark.negative{color:#9a4c3f;background:#f9e8e4}.grid-empty{color:#79868c;text-align:center!important;padding:42px!important}.grid-table-footer{color:#758188;justify-content:space-between;padding:13px 20px;font-size:13px;display:flex}.admin-section-toolbar{justify-content:space-between;align-items:center;gap:20px;display:flex}.admin-section-toolbar h3,.admin-section-toolbar h4,.admin-section-toolbar p{margin:0}.admin-section-toolbar p{color:#78838a;margin-top:4px}.admin-section-toolbar.compact{padding-bottom:16px}.admin-grid-agent-form{background:#f7f9f9;border:1px solid #dfe5e7;grid-template-columns:repeat(4,minmax(140px,1fr)) auto;align-items:end;gap:12px;margin:18px 0;padding:18px;display:grid}.admin-grid-agent-form label{color:#536168;gap:6px;font-size:13px;display:grid}.admin-grid-agent-form input,.admin-grid-agent-form select{background:#fff;border:1px solid #ccd6d8;border-radius:5px;min-height:38px;padding:7px 9px}.admin-grid-layout{grid-template-columns:280px minmax(0,1fr);gap:18px;margin-top:18px;display:grid}.admin-grid-agent-list,.admin-grid-roster{background:#fff;border:1px solid #dfe5e7}.admin-grid-agent-list{align-self:start}.admin-subsection-title{border-bottom:1px solid #e5eaeb;justify-content:space-between;padding:16px;display:flex}.admin-subsection-title h4{margin:0}.admin-grid-agent-item{color:#26343a;text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf1f2;width:100%;padding:14px 16px;display:block}.admin-grid-agent-item:hover,.admin-grid-agent-item.active{background:#e9f5f1}.admin-grid-agent-item strong,.admin-grid-agent-item span,.admin-grid-agent-item small{display:block}.admin-grid-agent-item span{color:#5d6a70;margin-top:2px}.admin-grid-agent-item small{color:#818c91;margin-top:5px}.admin-grid-roster{min-height:320px;padding:18px}.admin-empty-panel{color:#7a868c;place-items:center;min-height:280px;display:grid}.admin-grid-import-actions{gap:8px;display:flex}.admin-grid-import-actions button,.admin-grid-import-actions .admin-file-upload{cursor:pointer;background:#fff;border:1px solid #cbd5d7;border-radius:5px;align-items:center;min-height:36px;padding:7px 12px;display:inline-flex}.admin-grid-import-actions .admin-file-upload{color:#fff;background:#087f68;border-color:#087f68}.admin-grid-import-actions button.admin-primary-btn{color:#fff;background:#126391;border-color:#126391}.admin-grid-import-actions input{display:none}.admin-grid-agents .admin-import-result{border-radius:5px;margin:14px 0 0}.admin-grid-agents .admin-import-result.has-error{color:#7e463d;background:#f9e9e5}.admin-grid-agents .admin-import-result small{margin-top:4px;display:block}.admin-grid-summary{border:1px solid #e0e6e7;grid-template-columns:repeat(4,1fr);margin:0 0 16px;display:grid}.admin-grid-summary span{color:#657178;border-right:1px solid #e0e6e7;padding:12px}.admin-grid-summary span:last-child{border-right:0}.admin-grid-summary strong{color:#1d3037;font-size:20px;display:block}.admin-danger-link{color:#b14339;cursor:pointer;background:0 0;border:0}@media (width<=900px){.grid-agent-metrics{grid-template-columns:1fr 1fr}.grid-agent-metrics article:nth-child(2){border-right:0}.grid-agent-metrics article:nth-child(-n+2){border-bottom:1px solid #e2e8e9}.admin-grid-agent-form{grid-template-columns:1fr 1fr}.admin-grid-layout{grid-template-columns:1fr}.admin-section-toolbar{flex-direction:column;align-items:flex-start}.admin-grid-import-actions{flex-wrap:wrap}}@media (width<=620px){.grid-agent-heading,.grid-resident-toolbar{flex-direction:column;align-items:stretch}.grid-agent-heading{padding:22px 18px}.grid-agent-heading h2{font-size:23px}.grid-agent-actions button{flex:1}.grid-agent-metrics{grid-template-columns:1fr}.grid-agent-metrics article{border-bottom:1px solid #e2e8e9;border-right:0;min-height:128px}.grid-agent-metrics article:last-child{border-bottom:0}.grid-resident-toolbar input{width:100%}.grid-table-footer{flex-direction:column;gap:4px}.admin-grid-agent-form,.admin-grid-summary{grid-template-columns:1fr}.admin-grid-summary span{border-bottom:1px solid #e0e6e7;border-right:0}}.app-grid-agent{overscroll-behavior-x:none;background:#f5f3fa;width:100%;min-width:0;max-width:100%;overflow-x:hidden}.app-grid-agent .app-main.app-main-grid-agent{overscroll-behavior-x:none;touch-action:pan-y;width:100%;min-width:0;max-width:none;margin:0;padding:0;overflow-x:hidden}.app-main-grid-agent .grid-work-app{overscroll-behavior-x:none;touch-action:pan-y;width:100%;min-width:0;max-width:100%;overflow-x:hidden}.grid-work-app{--grid-blue:#3b93e6;--grid-blue-soft:#e8f5ff;--grid-green:#22b78c;--grid-green-soft:#e4faf2;--grid-orange:#f39438;--grid-orange-soft:#fff4e6;--grid-red:#e85d66;--grid-red-soft:#fff1f3;--grid-ink:#2a5878;--grid-text:#4a7c98;--grid-muted:#6d93a8;--grid-line:#d4ebf7;--grid-surface:#fff;min-height:100dvh;color:var(--grid-ink);letter-spacing:0;--grid-page-bg:#f5fbff;--grid-surface-muted:#f4faff;--grid-primary:#3b93e6;--grid-primary-strong:#2b82d6;--grid-success:#22b78c;--grid-warning:#e8942e;--grid-danger:#e85d66;--grid-radius-card:16px;--grid-radius-control:10px;--grid-control-height:44px;background:#f5fbff;background:var(--grid-page-bg);font-family:PingFang SC,Hiragino Sans GB,sans-serif}.grid-work-main{width:100%;max-width:760px;min-height:100dvh;padding:0 16px calc(32px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg, #e6f4ff 0, var(--grid-page-bg) 260px, #fff 100%);margin:0 auto;box-shadow:0 0 28px #4a94c40f}.grid-work-page-heading{min-height:76px;padding-top:calc(14px + env(safe-area-inset-top,0px));padding-bottom:12px}.grid-work-page-heading p{color:var(--grid-text)}.grid-work-main button,.grid-work-main input,.grid-work-main select,.grid-work-main textarea{font-size:14px}.grid-work-main button{min-height:var(--grid-control-height);border-radius:var(--grid-radius-control)}.grid-work-main .grid-work-primary-command{background:var(--grid-primary);min-height:48px}.grid-work-main .grid-work-primary-command:hover:not(:disabled){background:var(--grid-primary-strong)}.grid-work-main .grid-work-head-command,.grid-work-main .grid-work-icon-command{color:var(--grid-primary-strong);background:var(--grid-surface);border-color:#c2d9e8}.grid-work-main input,.grid-work-main select,.grid-work-main textarea{color:#17324d;background:var(--grid-surface-muted);border-color:#c6dce9}.grid-work-main textarea{min-height:112px}.grid-work-main .grid-work-error-banner{color:#a54040;background:#fff7f7;border-color:#e6bbbb}@media (width<=520px){.grid-work-main{padding-left:14px;padding-right:14px}}.grid-work-app *,.grid-work-app :before,.grid-work-app :after{box-sizing:border-box}.grid-work-app button,.grid-work-app input,.grid-work-app select,.grid-work-app textarea{font:inherit;letter-spacing:0}.grid-work-main{overscroll-behavior-x:none;background:linear-gradient(#dff1ff 0,#f1f8fd 260px,#fbfdff 100%);width:100%;max-width:760px;min-height:100dvh;margin:0 auto;padding:0 16px 24px;overflow-x:hidden;box-shadow:0 0 28px #2d658e17}.grid-work-page{width:100%;min-width:0;max-width:100%}.grid-work-home{min-height:calc(100dvh - 24px)}.grid-work-home .grid-work-page-heading span{color:#1768b2;margin-bottom:5px;font-size:17px;font-weight:800}.grid-work-home .grid-work-page-heading h1{color:#17324d;font-size:22px;font-weight:800;line-height:1.25}.grid-work-home .grid-work-page-heading p{color:var(--grid-text);margin-top:4px;font-size:13px;font-weight:700;line-height:1.4}.grid-work-page-heading{min-height:96px;padding:calc(14px + env(safe-area-inset-top,0px)) 18px 14px;background:linear-gradient(135deg,#d6edff 0%,#e4f3ff 58%,#d9efff 100%);border-bottom:1px solid #bdd9eb;border-radius:0;justify-content:space-between;align-items:center;gap:16px;margin:0 -16px;display:flex;box-shadow:0 4px 12px #2d658e12}.grid-work-page-heading>div{min-width:0}.grid-work-page-heading span{color:#1768b2;margin-bottom:3px;font-size:12px;font-weight:800;display:block}.grid-work-page-heading h1{color:#17324d;margin:0;font-size:23px;line-height:1.25}.grid-work-page-heading p{color:var(--grid-text);margin:4px 0 0;font-size:13px;font-weight:650;line-height:1.4}.grid-work-task-heading{min-height:84px;padding-top:calc(12px + env(safe-area-inset-top,0px));align-items:center;gap:12px;padding-bottom:12px}.grid-work-task-heading h1{font-size:25px}.grid-work-task-heading p{max-width:190px;font-size:12px;line-height:1.45}.grid-work-task-heading .grid-work-add-risk{border-radius:999px;flex:none;width:auto;min-height:38px;padding:0 13px;font-size:14px;box-shadow:0 8px 16px #1768b22e}.grid-work-icon-command,.grid-work-head-command{color:#1768b2;cursor:pointer;background:#ffffffc7;border:1px solid #bad6e8;border-radius:12px;flex:none;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:0 10px;display:inline-flex;box-shadow:0 4px 12px #235a8414}.grid-work-icon-command{width:42px;padding:0}.grid-work-home-actions{flex:none;align-items:center;gap:8px;display:inline-flex}.grid-work-logout-command{color:#493f36;cursor:pointer;white-space:nowrap;background:#ffffffdb;border:1px solid #e2dbd3;border-radius:12px;justify-content:center;align-items:center;width:68px;min-height:68px;padding:0;font-size:13px;font-weight:800;display:inline-flex;box-shadow:0 7px 18px #4f3f2e14}.grid-work-logout-command:hover{background:#fff;border-color:#d4c9be}.grid-work-logout-command:focus-visible{outline-offset:2px;outline:3px solid #287dcc47}.grid-work-visit-back{border-radius:50%;width:38px;min-height:38px}.grid-work-head-command.primary{border-color:var(--grid-blue);color:#fff;background:var(--grid-blue)}.grid-work-head-command:disabled,.grid-work-icon-command:disabled{opacity:.45;cursor:default}.grid-work-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:100%;margin:16px 0 22px;display:grid}.grid-work-home .grid-work-metrics{margin:18px 0 26px}.grid-work-home .grid-work-metrics article{align-content:center;min-height:138px;padding:18px 14px}.grid-work-home .grid-work-metrics article>span{font-size:15px}.grid-work-home .grid-work-metrics article>strong{margin-top:10px;font-size:32px}.grid-work-home .grid-work-metrics article>strong small{font-size:14px}.grid-work-home .grid-work-metrics article>em{margin-top:12px;padding:5px 9px;font-size:13px}.grid-work-home .grid-work-metrics article:nth-child(2){background:#fff;border-color:#c9dfed}.grid-work-home .grid-work-metrics article:nth-child(2)>strong{color:#22b78c}.grid-work-metrics article{background:#fff;border:1px solid #c9dfed;border-radius:16px;align-content:start;min-width:0;min-height:100px;padding:14px 12px;display:grid;box-shadow:0 7px 18px #2d5b7e12}.grid-work-metrics article:nth-child(2),.grid-work-metrics article:nth-child(3){background:#fff;border-color:#c9dfed}.grid-work-metrics article:first-child>strong{color:#2b82d6}.grid-work-metrics article:nth-child(2)>strong,.grid-work-metrics article:nth-child(3)>strong{color:var(--grid-ink)}.grid-work-metrics article>span{color:var(--grid-text);white-space:nowrap;font-size:15px;font-weight:650}.grid-work-metrics article>strong{color:var(--grid-ink);align-items:baseline;margin-top:8px;font-size:28px;line-height:1;display:flex}.grid-work-metrics article>strong small{color:var(--grid-text);margin-left:3px;font-size:12px;font-weight:700}.grid-work-metrics article>em{white-space:nowrap;border-radius:8px;width:fit-content;margin-top:9px;padding:4px 8px;font-size:13px;font-style:normal}.grid-work-metrics article>em.blue{color:var(--grid-blue);background:var(--grid-blue-soft)}.grid-work-metrics article>em.green{color:var(--grid-green);background:var(--grid-green-soft)}.grid-work-metrics article>em.orange{color:var(--grid-orange);background:var(--grid-orange-soft)}.grid-work-section{width:100%;min-width:0;max-width:100%;margin-top:22px}.grid-work-home .grid-work-section{margin-top:0}.grid-work-home .grid-work-section-head h2{font-size:22px}.grid-work-home .grid-work-section-head>div>span,.grid-work-home .grid-work-section-head>button{font-size:14px}.grid-work-section-head{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:12px;display:flex}.grid-work-section-head>div{min-width:0}.grid-work-section-head>div>span{color:#247ed6;font-size:14px;font-weight:700}.grid-work-section-head h2{color:var(--grid-ink);margin:3px 0 0;font-size:22px;line-height:1.35}.grid-work-section-head>button{color:var(--grid-blue);cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;padding:7px 0;display:inline-flex}.grid-work-section-head>em{color:var(--grid-text);white-space:nowrap;flex:none;font-size:13px;font-style:normal;font-weight:650}.grid-work-priority-list,.grid-work-history,.grid-work-suggestions,.grid-work-account-list,.grid-work-account-actions{border:1px solid var(--grid-line);background:#fff;border-radius:16px;width:100%;min-width:0;max-width:100%;overflow:hidden;box-shadow:0 7px 18px #2d5b7e12}.grid-work-priority-list>button,.grid-work-suggestions>button{width:100%;min-width:0;max-width:100%;min-height:72px;color:var(--grid-ink);text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #e4edf3;grid-template-columns:42px minmax(0,1fr) auto 18px;align-items:center;gap:10px;padding:11px 14px;display:grid}.grid-work-home .grid-work-priority-list{border-radius:18px}.grid-work-home .grid-work-priority-list>button{grid-template-columns:58px minmax(0,1fr) auto 22px;min-height:126px;padding:18px 20px}.grid-work-home .grid-work-priority-list>button.reminder{background:linear-gradient(90deg,#fff9f6 0,#fff 25%);border-left:4px solid #e26a4f}.grid-work-home .grid-work-priority-list>button.completed{background:linear-gradient(90deg,#f3fcf8 0,#fff 25%);border-left:4px solid #28a17f}.grid-work-home .grid-work-priority-list>button.deferred{background:linear-gradient(90deg,#fff8ef 0,#fff 25%);border-left:4px solid #c98235}.grid-work-home .grid-work-priority-avatar{width:58px;height:58px;font-size:22px}.grid-work-home .grid-work-priority-list strong{font-size:19px}.grid-work-home .grid-work-priority-list small{white-space:normal;margin-top:7px;font-size:16px;line-height:1.5}.grid-work-priority-status{justify-items:end;display:grid}.grid-work-priority-status em{color:#1768b2;background:#edf6ff;border-radius:8px;padding:6px 10px;font-size:15px;font-style:normal;font-weight:700}.grid-work-priority-status.reminder em{color:#b23c2f;background:#fff0eb}.grid-work-priority-status.completed em{color:#066f56;background:#def6ed}.grid-work-priority-status.deferred em{color:#9a5b16;background:#fff2df}.grid-work-deferred-section{margin-top:14px}.grid-work-deferred-section .grid-work-section-head>div>span{color:#a7651d}.grid-work-delay-alert{color:#a33d30;background:#fff4f1;border:1px solid #f1b7aa;border-radius:12px;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 14px;display:flex}.grid-work-delay-alert>svg{flex:none;margin-top:1px}.grid-work-delay-alert strong{font-size:14px;line-height:1.45;display:block}.grid-work-delay-alert p{color:#8d5a52;margin:4px 0 0;font-size:12px;line-height:1.5}.grid-work-priority-indicator{color:#173b59;place-items:center;width:22px;height:22px;display:grid}.grid-work-priority-indicator.completed{color:#159b82}.grid-work-home .grid-work-empty,.grid-work-home .grid-work-import-card{align-content:center;min-height:180px}.grid-work-priority-list>button:last-child,.grid-work-suggestions>button:last-child{border-bottom:0}.grid-work-priority-avatar{width:42px;height:42px;color:var(--grid-blue);background:var(--grid-blue-soft);border-radius:50%;place-items:center;font-weight:800;display:grid}.grid-work-priority-list button>span:nth-child(2),.grid-work-suggestions button>span{min-width:0}.grid-work-priority-list strong,.grid-work-priority-list small,.grid-work-suggestions strong,.grid-work-suggestions small{display:block}.grid-work-priority-list strong,.grid-work-suggestions strong{font-size:15px}.grid-work-priority-list small,.grid-work-suggestions small{color:var(--grid-text);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:12px;overflow:hidden}.grid-work-priority-list small.grid-work-priority-date{color:#41627c}.grid-work-priority-list small.grid-work-priority-deferral{color:#93550f;white-space:normal;background:#fff2df;border-radius:7px;max-width:100%;margin-top:8px;padding:5px 8px;font-size:12px;font-weight:650;line-height:1.35;display:inline-block}.grid-work-priority-list em,.grid-work-suggestions em{color:var(--grid-orange);font-size:12px;font-style:normal}.grid-work-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.grid-work-actions>button{border:1px solid var(--grid-line);min-width:0;min-height:100px;color:var(--grid-ink);text-align:left;cursor:pointer;background:#fff;border-radius:16px;align-content:start;justify-items:start;padding:14px 12px;display:grid;box-shadow:0 7px 18px #2d5b7e12}.grid-work-actions>button:disabled{opacity:.52;cursor:not-allowed}.grid-work-actions>button>span{border-radius:14px;place-items:center;width:46px;height:46px;display:grid}.grid-work-actions>button>span.blue{color:var(--grid-blue);background:var(--grid-blue-soft)}.grid-work-actions>button>span.green{color:var(--grid-green);background:var(--grid-green-soft)}.grid-work-actions>button>span.orange{color:var(--grid-orange);background:var(--grid-orange-soft)}.grid-work-actions strong,.grid-work-actions small{max-width:100%;display:block}.grid-work-actions small{color:var(--grid-muted);margin-top:4px;font-size:13px;line-height:1.4}.grid-work-empty{min-height:132px;color:var(--grid-muted);text-align:center;background:#ffffffad;border:1px solid #cfdfeb;border-radius:16px;align-content:center;place-items:center;padding:20px;display:grid}.grid-work-empty>span{width:48px;height:48px;color:var(--grid-blue);background:var(--grid-blue-soft);border-radius:50%;place-items:center;margin-bottom:10px;display:grid}.grid-work-empty strong{color:var(--grid-ink);font-size:17px}.grid-work-empty p{max-width:320px;margin:7px 0 0;font-size:15px;line-height:1.55}.grid-work-empty>button{min-height:48px;color:var(--grid-blue);cursor:pointer;background:#fff;border:1px solid #bfd2e1;border-radius:12px;margin-top:14px;padding:0 16px}.grid-work-import-card{background:#fff;border:1px solid #c8dfef;border-radius:18px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:138px;padding:18px;display:grid;box-shadow:0 8px 22px #2d5b7e14}.grid-work-import-card.pending{background:#fffaf2;border-color:#f0c98e}.grid-work-import-card.completed{background:#f1fcf8;border-color:#9fdbc8}.grid-work-import-icon{color:#fff;background:linear-gradient(135deg,#1687df,#21ad91);border-radius:16px;place-items:center;width:52px;height:52px;display:grid}.grid-work-import-card>div{min-width:0}.grid-work-import-card strong{color:var(--grid-ink);font-size:17px;display:block}.grid-work-import-card p{color:var(--grid-muted);margin:6px 0 0;font-size:14px;line-height:1.55}.grid-work-import-card>button{min-height:48px;color:var(--grid-blue);cursor:pointer;background:#fff;border:1px solid #b8d4e8;border-radius:12px;padding:0 14px;font-weight:700}.grid-work-import-card>button.primary{border-color:var(--grid-blue);color:#fff;background:var(--grid-blue)}.grid-work-import-card>button:disabled{opacity:.55}.grid-work-notice-list{gap:12px;margin-top:18px;display:grid}.grid-work-notice-list article{background:#fff;border:1px solid #d2e2ed;border-radius:16px;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:16px;display:grid;box-shadow:0 7px 18px #2d5b7e12}.grid-work-notice-list article>span{color:#fff;background:linear-gradient(135deg,#218be0,#4d79df);border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.grid-work-notice-list strong{color:var(--grid-ink);font-size:17px;display:block}.grid-work-notice-list time{color:var(--grid-muted);margin-top:4px;font-size:13px;display:block}.grid-work-notice-list p{color:var(--grid-text);margin:9px 0 0;font-size:15px;line-height:1.6}.grid-work-search{min-height:44px;color:var(--grid-blue);background:#ffffffe6;border:1px solid #c9ddea;border-radius:12px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;margin:12px 0 10px;padding:0 12px;display:grid;box-shadow:0 3px 10px #2d5b7e0d}.grid-work-search input{min-width:0;height:42px;min-height:42px;color:var(--grid-ink);outline:0;font-size:14px;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;padding:0!important}.grid-work-search input:focus,.grid-work-search input:focus-visible{box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important}.grid-work-search input::placeholder{color:#8299aa}.grid-work-search button{width:30px;height:30px;min-height:30px;color:var(--grid-muted);cursor:pointer;background:#eaf3f9;border:0;border-radius:50%;place-items:center;display:grid}.grid-work-filters,.grid-work-segments{gap:8px;padding-bottom:5px;display:flex}.grid-work-filters{scrollbar-width:none;flex-wrap:nowrap;margin:0 -16px;padding:0 16px 5px;overflow-x:auto}.grid-work-filters::-webkit-scrollbar{display:none}.grid-work-segments{scrollbar-width:none;overflow-x:auto}.grid-work-segments::-webkit-scrollbar{display:none}.grid-work-filters button,.grid-work-segments button{color:#557187;white-space:nowrap;cursor:pointer;background:#ffffffe6;border:1px solid #cedee9;border-radius:10px;flex:none;min-height:34px;padding:0 11px;font-size:12px}.grid-work-filters button.active,.grid-work-segments button.active{border-color:var(--grid-blue);color:#fff;background:var(--grid-blue)}.grid-work-resident-list{gap:12px;margin-top:14px;display:grid}.grid-work-resident-card{background:#fff;border:1px solid #cfdfeb;border-radius:14px;overflow:hidden;box-shadow:0 6px 16px #2d5b7e0f}.grid-work-resident-main{width:100%;min-height:68px;color:var(--grid-ink);text-align:left;cursor:pointer;background:#fff;border:0;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:11px;padding:12px 14px;display:grid}.grid-work-resident-avatar{width:44px;height:44px;color:var(--grid-blue);background:var(--grid-blue-soft);border-radius:14px;place-items:center;font-size:17px;font-weight:800;display:grid}.grid-work-resident-copy{min-width:0}.grid-work-resident-name{align-items:center;gap:8px;display:flex}.grid-work-resident-name strong{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.grid-care-badge{color:#fff;background:#3979b6;border-radius:7px;flex:none;padding:3px 7px;font-size:10px;font-weight:800}.grid-care-badge.level-a{background:#d94b4b}.grid-care-badge.level-b{background:#e98228}.grid-care-badge.level-c{background:#a77a27}.grid-care-badge.level-e{background:#6a70ad}.grid-work-resident-location{color:var(--grid-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:12px;display:block;overflow:hidden}.grid-work-resident-status{background:#f8fbfd;border-top:1px solid #e4edf3;border-bottom:1px solid #e4edf3;grid-template-columns:1fr 1fr;margin:0 14px;display:grid}.grid-work-resident-status>span{border-right:1px solid #e4edf3;min-width:0;padding:9px 4px}.grid-work-resident-status>span:last-child{border-right:0}.grid-work-resident-status small,.grid-work-resident-status strong{display:block}.grid-work-resident-status small{color:var(--grid-muted);font-size:11px}.grid-work-resident-status strong{color:var(--grid-text);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:12px;overflow:hidden}.grid-work-resident-status strong.overdue,.grid-work-resident-status strong.empty{color:#c86a19}.grid-work-resident-tags{flex-wrap:wrap;gap:6px;padding:10px 14px 0;display:flex}.grid-work-resident-tags span{color:var(--grid-orange);background:var(--grid-orange-soft);border-radius:6px;padding:3px 7px;font-size:11px}.grid-work-resident-tags span.care{color:#236ab0;background:#e5f1fc}.grid-work-priority-avatar.care-a{color:#b93232;background:#ffe5e5}.grid-work-priority-avatar.care-b{color:#b65b13;background:#fff0dd}.grid-work-priority-avatar.care-c{color:#866018;background:#fff4d7}.grid-work-resident-actions{grid-template-columns:1.12fr .88fr;gap:8px;padding:10px 14px 14px;display:grid}.grid-work-resident-actions button{min-height:40px;color:var(--grid-blue);cursor:pointer;background:#fff;border:1px solid #c6dbe9;border-radius:10px;justify-content:center;align-items:center;gap:6px;font-size:13px;display:inline-flex}.grid-work-resident-actions button.primary{border-color:var(--grid-blue);color:#fff;background:var(--grid-blue);box-shadow:0 5px 12px #247ed629}.grid-work-resident-actions button.warn{color:var(--grid-orange);background:#fffaf3;border-color:#ecd2b4}.grid-work-form-section,.grid-work-risk-form{border:1px solid var(--grid-line);background:#fff;border-radius:8px;margin-top:14px;padding:16px;box-shadow:0 5px 14px #36556f0d}.grid-work-visit-subject{background:#f7fbfd;border:1px solid #d8e5ec;border-radius:10px;gap:4px;margin:0 0 14px;padding:14px;display:grid}.grid-work-visit-subject span{color:var(--grid-muted);font-size:12px}.grid-work-visit-subject strong{color:var(--grid-ink);font-size:20px;line-height:1.3}.grid-work-visit-subject small{color:var(--grid-text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.grid-work-visit-focus{background:#f1faf7;border:1px solid #cfe5dd;border-radius:10px;margin:0 0 15px;padding:14px}.grid-work-visit-focus-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.grid-work-visit-focus-head>div>span{color:var(--grid-green);font-size:12px;font-weight:700}.grid-work-visit-focus-head h2{color:var(--grid-ink);margin:4px 0 0;font-size:17px}.grid-work-visit-focus-head>svg{color:var(--grid-green);flex:none}.grid-work-visit-focus ol{counter-reset:visit-focus;gap:8px;margin:12px 0 0;padding:0;list-style:none;display:grid}.grid-work-visit-focus li{color:var(--grid-text);counter-increment:visit-focus;padding-left:28px;font-size:13px;line-height:1.5;position:relative}.grid-work-visit-focus li:before{color:#fff;background:var(--grid-blue);content:counter(visit-focus);border-radius:6px;place-items:center;width:20px;height:20px;font-size:11px;font-weight:700;display:grid;position:absolute;top:0;left:0}.grid-work-visit-focus p{color:var(--grid-muted);margin:11px 0 0;font-size:13px;line-height:1.5}.grid-work-field{gap:7px;min-width:0;margin-bottom:14px;display:grid}.grid-work-field>span{color:var(--grid-text);font-size:13px;font-weight:700}.grid-work-field select,.grid-work-field textarea{width:100%;color:var(--grid-ink);background:#fff;border:1px solid #cbd9e4;border-radius:8px;outline:0}.grid-work-field select{min-height:44px;padding:0 11px}.grid-work-field textarea{resize:vertical;min-height:104px;padding:11px;line-height:1.55}.grid-work-field select:focus,.grid-work-field textarea:focus{border-color:var(--grid-blue);box-shadow:0 0 0 3px #246ca81a}.grid-work-field-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.grid-care-task-hint{border-left:3px solid var(--grid-blue);background:var(--grid-blue-soft);border-radius:0 8px 8px 0;align-content:center;gap:4px;min-height:58px;margin-bottom:14px;padding:9px 11px;display:grid}.grid-care-task-hint span{color:var(--grid-muted);font-size:11px}.grid-care-task-hint strong{color:var(--grid-text);font-size:12px}.grid-work-recorder{background:#f7fafc;border:1px solid #cedce7;border-radius:8px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:76px;margin-bottom:14px;padding:12px;display:grid}.grid-work-recorder.recording{background:#fff5f4;border-color:#e5a7a2}.grid-work-recorder-icon{width:44px;height:44px;color:var(--grid-blue);background:var(--grid-blue-soft);border-radius:50%;place-items:center;display:grid}.grid-work-recorder.recording .grid-work-recorder-icon{color:var(--grid-red);background:var(--grid-red-soft);animation:1.4s ease-in-out infinite grid-record-pulse}.grid-work-recorder>div:nth-child(2){min-width:0}.grid-work-recorder strong,.grid-work-recorder small{display:block}.grid-work-recorder strong{font-size:14px}.grid-work-recorder small{color:var(--grid-muted);margin-top:4px;font-size:12px}.grid-work-recorder>button,.grid-work-recorder-actions button{min-height:38px;color:var(--grid-text);cursor:pointer;background:#fff;border:1px solid #c6d7e4;border-radius:8px;padding:0 11px;font-size:13px}.grid-work-recorder>button.record{border-color:var(--grid-blue);color:#fff;background:var(--grid-blue)}.grid-work-recorder>button:disabled,.grid-work-recorder-actions button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.grid-work-recorder-actions{gap:6px;display:flex}.grid-work-recorder-actions button.stop{border-color:var(--grid-red);color:#fff;background:var(--grid-red)}.grid-work-form-error{color:var(--grid-red);margin:-4px 0 13px;font-size:13px;line-height:1.45}.grid-work-visit-summary>span{align-items:center;gap:7px;display:flex}.grid-work-visit-summary>span em{color:var(--grid-green);background:var(--grid-green-soft);border-radius:5px;padding:2px 6px;font-size:11px;font-style:normal;font-weight:600}.grid-work-summary-status{color:var(--grid-blue);margin:-5px 0 13px;font-size:12px}.grid-work-primary-command{color:#fff;background:var(--grid-blue);cursor:pointer;border:0;border-radius:8px;width:100%;min-height:46px;font-weight:700}.grid-work-primary-command.danger{background:var(--grid-red)}.grid-work-primary-command:disabled{opacity:.48;cursor:default}.grid-work-history{margin-top:22px;padding:14px}.grid-work-history>.grid-work-section-head{margin-bottom:7px}.grid-work-history>article{border-top:1px solid #e7edf2;padding:13px 2px}.grid-work-history>article>div{justify-content:space-between;gap:12px;display:flex}.grid-work-history>article strong{color:var(--grid-ink);font-size:14px}.grid-work-history>article span,.grid-work-history>article small{color:var(--grid-muted);font-size:12px}.grid-work-history>article p{color:var(--grid-text);margin:7px 0 0;font-size:13px;line-height:1.55}.grid-work-history .grid-work-empty{box-shadow:none;border:0}.grid-work-inline-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.grid-work-inline-head h2{margin:0;font-size:18px}.grid-work-inline-head button{width:36px;height:36px;color:var(--grid-muted);cursor:pointer;background:#eef3f7;border:0;border-radius:50%;place-items:center;display:grid}.grid-work-segments{margin:16px 0 12px}.grid-work-risk-list{gap:10px;display:grid}.grid-work-risk-card{border:1px solid var(--grid-line);background:#fff;border-left-width:4px;border-radius:8px;padding:14px}.grid-work-risk-card.high{border-left-color:var(--grid-red)}.grid-work-risk-card.medium{border-left-color:var(--grid-orange)}.grid-work-risk-card.low{border-left-color:var(--grid-blue)}.grid-work-risk-card-head,.grid-work-risk-card-foot{justify-content:space-between;align-items:center;gap:12px;display:flex}.grid-work-risk-level{border-radius:6px;padding:4px 8px;margin:0!important;font-size:11px!important}.grid-work-risk-level.high{color:var(--grid-red);background:var(--grid-red-soft)}.grid-work-risk-level.medium{color:var(--grid-orange);background:var(--grid-orange-soft)}.grid-work-risk-level.low{color:var(--grid-blue);background:var(--grid-blue-soft)}.grid-work-risk-card time{color:var(--grid-muted);font-size:12px}.grid-work-risk-card h2{margin:10px 0 6px;font-size:16px}.grid-work-risk-card p{color:var(--grid-text);margin:0;font-size:13px;line-height:1.55}.grid-work-risk-card-foot{border-top:1px solid #e8eef2;margin-top:12px;padding-top:10px}.grid-work-risk-card-foot span{color:var(--grid-muted);margin:0;font-size:12px}.grid-work-risk-card-foot button{min-height:34px;color:var(--grid-blue);cursor:pointer;background:#fff;border:1px solid #c8d8e4;border-radius:8px;padding:0 10px;font-size:12px}.grid-work-suggestions{margin-top:22px;padding:14px}.grid-work-suggestions>.grid-work-section-head{margin-bottom:7px}.grid-work-profile{border:1px solid var(--grid-line);background:#fff;border-radius:8px;align-items:center;gap:14px;min-height:86px;margin-top:14px;padding:16px;display:flex}.grid-work-profile-avatar{color:#fff;background:var(--grid-blue);border-radius:50%;place-items:center;width:54px;height:54px;font-size:21px;font-weight:800;display:grid}.grid-work-profile strong,.grid-work-profile small{display:block}.grid-work-profile strong{font-size:18px}.grid-work-profile small{color:var(--grid-muted);margin-top:5px;font-size:13px}.grid-work-account-list{margin-top:12px;padding:0 14px}.grid-work-account-list>div{border-bottom:1px solid #e7edf2;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;min-height:54px;display:grid}.grid-work-account-list>div:last-child{border-bottom:0}.grid-work-account-list span{color:var(--grid-muted);font-size:13px}.grid-work-account-list strong{color:var(--grid-text);text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.grid-work-account-list strong.danger{color:var(--grid-red)}.grid-work-account-actions{margin-top:16px}.grid-work-account-actions>button{width:100%;min-height:64px;color:var(--grid-blue);text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #e7edf2;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:10px 14px;display:grid}.grid-work-account-actions>button:last-child{border-bottom:0}.grid-work-account-actions>button:disabled{opacity:.45}.grid-work-account-actions>button span{min-width:0}.grid-work-account-actions strong,.grid-work-account-actions small{display:block}.grid-work-account-actions strong{color:var(--grid-ink);font-size:14px}.grid-work-account-actions small{color:var(--grid-muted);margin-top:4px;font-size:12px}.grid-work-account-actions>button.logout,.grid-work-account-actions>button.logout strong{color:var(--grid-red)}.grid-work-nav{z-index:120;width:min(100%,760px);min-height:calc(68px + env(safe-area-inset-bottom,0px));padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #cbdde9;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -7px 20px #2352751a}.grid-work-nav>button{color:#71899b;cursor:pointer;background:0 0;border:0;border-radius:0;align-content:center;place-items:center;gap:2px;min-width:0;min-height:54px;padding:2px 1px;display:grid}.grid-work-nav>button.active{color:var(--grid-blue);background:0 0;font-weight:700}.grid-work-nav>button>span{border-radius:9px;place-items:center;width:38px;height:27px;display:grid;position:relative}.grid-work-nav>button.active>span{background:var(--grid-blue-soft)}.grid-work-nav>button:focus-visible{outline:none}.grid-work-nav>button:focus-visible>span{outline-offset:2px;outline:2px solid #247ed647}.grid-work-nav>button>span em{color:#fff;background:var(--grid-red);border-radius:9px;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-style:normal;line-height:17px;position:absolute;top:-7px;left:15px}.grid-work-nav>button small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:13px;overflow:hidden}.admin-grid-notices{background:#f8fbfc;border:1px solid #d7e2e6;border-radius:10px;margin:16px 0;padding:16px}.admin-grid-notice-form{grid-template-columns:1fr 220px auto;gap:10px;margin-top:12px;display:grid}.admin-grid-notice-form input,.admin-grid-notice-form select,.admin-grid-notice-form textarea{font:inherit;background:#fff;border:1px solid #ccd9df;border-radius:8px;padding:10px 12px}.admin-grid-notice-form textarea{resize:vertical;grid-column:1/3}.admin-grid-notice-list{gap:8px;margin-top:12px;display:grid}.admin-grid-notice-list article{background:#fff;border-radius:8px;padding:12px}.admin-grid-notice-list strong,.admin-grid-notice-list span{display:block}.admin-grid-notice-list span{color:#718189;margin-top:3px;font-size:12px}.admin-grid-notice-list p{color:#53656e;margin:6px 0 0}.admin-grid-agent-item{position:relative}.admin-grid-request-badge{color:#b46413;background:#fff0d9;border-radius:999px;width:fit-content;margin-top:7px;padding:3px 7px;font-size:11px;font-style:normal;display:inline-flex}.grid-work-toast{z-index:500;top:calc(16px + env(safe-area-inset-top,0px));color:#fff;text-align:center;box-sizing:border-box;background:#185382f5;border-radius:8px;width:min(92vw,480px);max-width:min(92vw,480px);padding:10px 16px;font-size:13px;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 20px #18538233}.grid-work-error-banner{color:#923934;background:#fff1ef;border:1px solid #efc2bd;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:10px 12px;font-size:13px;display:flex}.grid-work-error-banner button{color:var(--grid-red);cursor:pointer;background:0 0;border:0;font-weight:700}.grid-work-state{min-height:calc(100dvh - 130px);color:var(--grid-muted);text-align:center;align-content:center;place-items:center;padding:30px;display:grid}.grid-work-state strong{color:var(--grid-ink);margin-top:13px;font-size:17px}.grid-work-state p{max-width:320px;margin:7px 0 0;font-size:13px;line-height:1.55}.grid-work-state button{color:#fff;background:var(--grid-blue);cursor:pointer;border:0;border-radius:8px;min-height:40px;margin-top:15px;padding:0 16px}.grid-work-spinner{border:3px solid #d5e2eb;border-top-color:var(--grid-blue);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite grid-spin}.grid-work-sheet-mask{z-index:350;background:#1b2b3a61;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.grid-work-sheet{width:min(100%,520px);max-height:82dvh;padding:8px 18px calc(20px + env(safe-area-inset-bottom,0px));background:#fff;border-radius:16px 16px 0 0;overflow-y:auto;box-shadow:0 -14px 34px #182b3c2e}.grid-work-sheet-handle{background:#cad7e0;border-radius:2px;width:38px;height:4px;margin:2px auto 14px}.grid-work-sheet-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.grid-work-sheet-head span{color:var(--grid-blue);font-size:12px}.grid-work-sheet-head h2{margin:4px 0 0;font-size:21px}.grid-work-sheet-head button{width:38px;height:38px;color:var(--grid-muted);cursor:pointer;background:#eef3f7;border:0;border-radius:50%;place-items:center;display:grid}.grid-work-sheet-details{border-top:1px solid #e5ebf0;margin-top:15px}.grid-work-sheet-details>div{border-bottom:1px solid #e7edf2;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;min-height:50px;display:grid}.grid-work-sheet-details span{color:var(--grid-muted);font-size:13px}.grid-work-sheet-details strong{color:var(--grid-text);text-align:right;font-size:13px;font-weight:600}.grid-work-sheet-missing{background:var(--grid-orange-soft);border-radius:8px;margin-top:13px;padding:12px}.grid-work-sheet-tags{flex-wrap:wrap;gap:6px;margin-top:13px;display:flex}.grid-work-sheet-tags span{color:#256aa7;background:#e7f2fb;border-radius:6px;padding:4px 8px;font-size:11px}.grid-work-sheet-missing span{color:var(--grid-orange);font-size:12px;font-weight:700}.grid-work-sheet-missing p{color:#7c592f;margin:5px 0 0;font-size:13px;line-height:1.5}.grid-work-sheet-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:15px;display:grid}.grid-work-sheet-actions button{min-height:44px;color:var(--grid-blue);cursor:pointer;background:#fff;border:1px solid #c6d8e5;border-radius:8px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.grid-work-sheet-actions button.warn{color:var(--grid-orange);background:#fffaf3;border-color:#edc8a4}.grid-work-visit-page{padding-bottom:calc(118px + env(safe-area-inset-bottom,0px))}.grid-work-visit-flow{gap:14px;margin-top:14px;display:grid}.grid-work-visit-section{background:#fff;border:1px solid #cfe0eb;border-radius:14px;min-width:0;padding:16px;box-shadow:0 7px 20px #2d5b7e11}.grid-work-visit-section-head{grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:10px;margin-bottom:14px;display:grid}.grid-work-visit-section-head>span{color:#1768b2;background:#e4f2fd;border-radius:10px;place-items:center;width:34px;height:34px;margin:0;font-size:12px;font-weight:800;display:grid}.grid-work-visit-section-head>div{min-width:0}.grid-work-visit-section-head h2{color:#17324d;margin:0;font-size:17px;line-height:1.35}.grid-work-visit-section-head p{color:#71899b;margin:3px 0 0;font-size:12px;line-height:1.45}.grid-work-visit-section-head>svg{color:#247ed6;margin-top:6px}.grid-work-visit-section .grid-work-visit-subject{background:#f4faff;border-color:#cce0ed;margin:0;padding:10px 12px;display:grid}.grid-work-visit-identity{gap:6px;min-width:0;display:grid}.grid-work-visit-subject .grid-work-visit-identity-head{flex-wrap:wrap;align-items:baseline;gap:6px 8px;min-width:0;display:flex}.grid-work-visit-subject .grid-work-visit-identity-head strong{color:var(--grid-ink);text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.3;overflow:hidden}.grid-work-visit-subject .grid-work-visit-identity-head small{color:#617d92;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;line-height:1.3;overflow:hidden}.grid-work-visit-subject>em{color:#b96017;white-space:nowrap;background:#fff0df;border-radius:7px;padding:4px 8px;font-size:11px;font-style:normal;font-weight:700}.grid-work-visit-subject .grid-work-visit-tags{flex-wrap:wrap;align-items:flex-start;gap:5px;min-width:0;max-width:100%;display:flex}.grid-work-visit-subject .grid-work-visit-tags span{color:#b96017;overflow-wrap:anywhere;word-break:break-word;background:#fff0df;border-radius:999px;max-width:100%;padding:2px 7px;font-size:11px;font-style:normal;font-weight:700;line-height:1.4}.grid-work-visit-details{gap:10px;margin:12px 0 0;display:grid}.grid-work-visit-details>div{border-bottom:1px solid #e6eef4;min-width:0;padding:10px 0}.grid-work-visit-details>div:last-child{border-bottom:0}.grid-work-visit-details dt{color:#71899b;margin-bottom:5px;font-size:12px}.grid-work-visit-details dd{overflow-wrap:anywhere;color:#36576f;margin:0;font-size:13px;line-height:1.5}.grid-work-visit-deferral{background:#fff9f7;border-color:#efc8bd}.grid-work-visit-deferral .grid-work-visit-section-head{margin-bottom:0}.grid-work-visit-deferral .grid-work-visit-section-head>span{color:#b94736;background:#ffebe5;font-size:18px}.grid-work-visit-deferral .grid-work-visit-section-head>button{color:#aa4032;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #e7aaa0;border-radius:9px;padding:0 12px;font-size:13px;font-weight:700}.grid-work-visit-deferral-form{margin-top:14px}.grid-work-visit-deferral-form label{color:#6f403a;margin-bottom:7px;font-size:13px;font-weight:700;display:block}.grid-work-visit-deferral-form textarea{box-sizing:border-box;color:#274d69;width:100%;min-height:96px;font:inherit;resize:vertical;background:#fff;border:1px solid #e8c4bd;border-radius:9px;padding:10px 11px;font-size:14px;line-height:1.55}.grid-work-visit-deferral-form>div{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.grid-work-visit-deferral-form button{color:#6b5e5a;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d7c3be;border-radius:8px;padding:0 13px;font-size:13px}.grid-work-visit-deferral-form button.primary{color:#fff;background:#c55545;border-color:#c55545}.grid-work-visit-deferral-form button:disabled{cursor:not-allowed;opacity:.6}.grid-work-visit-deferral-saved{color:#8c4439;overflow-wrap:anywhere;background:#ffede8;border-radius:8px;margin:12px 0 0;padding:9px 10px;font-size:13px;line-height:1.5}.grid-work-visit-section.grid-work-visit-focus{background:#fff;border-color:#c8dfed;margin:0}.grid-work-visit-section .grid-work-visit-focus-head{grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.grid-work-visit-section .grid-work-visit-focus-head>div>span{display:none}.grid-work-visit-section .grid-work-visit-focus-head h2{margin:0;font-size:18px;line-height:1.28}.grid-work-visit-section .grid-work-visit-focus-head p{color:var(--grid-text);margin-top:4px;font-size:13px;line-height:1.4}.grid-work-focus-review-actions{justify-items:end;gap:6px;display:grid}.grid-work-focus-review-actions .grid-work-flow-badge{margin:0}.grid-work-visit-section.grid-work-visit-focus ol{gap:9px;margin-top:4px}.grid-work-visit-section.grid-work-visit-focus li{color:#274d69;background:#f4f9fc;border-radius:9px;padding:11px 12px 11px 44px;font-size:15px;line-height:1.55}.grid-work-visit-section.grid-work-visit-focus li:before{background:#247ed6;top:10px;left:12px}.grid-work-visit-empty-copy{background:#f6f9fb;border-radius:9px;padding:11px 12px;margin:0!important}.grid-work-focus-review-alert{margin-top:12px}.grid-work-visit-section .grid-work-field{margin-bottom:12px}.grid-work-visit-section .grid-work-field:last-child{margin-bottom:0}.grid-work-visit-section .grid-work-field>span{color:#36576f}.grid-work-visit-section .grid-work-field select,.grid-work-visit-section .grid-work-field textarea{background:#f8fbfd;border-color:#bfd6e5}.grid-work-visit-section .grid-work-field select{font-size:16px}.grid-work-visit-section .grid-work-field textarea:disabled,.grid-work-visit-section .grid-work-field select:disabled{opacity:.72;cursor:not-allowed}.grid-work-contact-methods{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.grid-work-contact-methods button{color:#36576f;cursor:pointer;text-align:left;background:#f8fbfd;border:1px solid #c9dce8;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:2px 8px;min-width:0;min-height:0;padding:10px 12px;display:grid;box-shadow:0 5px 14px #36556f0a}.grid-work-contact-methods button>span{color:#247ed6;background:#e8f3fc;border-radius:10px;grid-row:1/span 2;place-items:center;width:34px;height:34px;display:grid}.grid-work-contact-methods button strong,.grid-work-contact-methods button small{min-width:0;display:block}.grid-work-contact-methods button strong{color:#17324d;font-size:14px;line-height:1.25}.grid-work-contact-methods button small{color:#71899b;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;overflow:hidden}.grid-work-contact-methods button.active{background:#f2f9ff;border-color:#247ed6;box-shadow:0 8px 18px #247ed61f}.grid-work-contact-methods button.active>span{color:#fff;background:linear-gradient(135deg,#247ed6,#16a5b7)}.grid-work-contact-methods button:disabled{opacity:.66;cursor:not-allowed}.grid-work-video-call-panel{background:#f5faff;border:1px solid #c9dce8;border-radius:12px;gap:7px;margin-top:12px;padding:12px;display:grid}.grid-work-video-call-panel button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#247ed6,#16a5b7);border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:44px;font-size:15px;font-weight:800;display:inline-flex;box-shadow:0 8px 18px #247ed62e}.grid-work-video-call-panel button:disabled{color:#8aa2b5;box-shadow:none;cursor:not-allowed;background:#e8f0f6}.grid-work-video-call-panel p{color:var(--grid-text);margin:0;font-size:12px;line-height:1.45}.grid-work-flow-badge{color:#71899b;white-space:nowrap;background:#edf3f7;border-radius:7px;align-self:start;margin:2px 0 0;padding:4px 7px;font-size:11px;font-style:normal;font-weight:700}.grid-work-flow-badge.recording{color:#b63f49;background:#ffe7ea}.grid-work-flow-badge.recognizing,.grid-work-flow-badge.pending{color:#b96017;background:#fff0df}.grid-work-flow-badge.summarizing{color:#6847c7;background:#eee8ff}.grid-work-flow-badge.complete,.grid-work-flow-badge.confirmed{color:#087a5e;background:#dcf8ee}.grid-work-flow-badge.review-loading{color:#1768b2;background:#e6f3ff}.grid-work-flow-badge.review-pending{color:#b96017;background:#fff0df}.grid-work-flow-badge.review-approved{color:#087a5e;background:#dcf8ee}.grid-work-flow-badge.review-needs_revision,.grid-work-flow-badge.review-unassigned,.grid-work-flow-badge.review-error{color:#bf4a32;background:#ffe9e4}.grid-work-visit-section .grid-work-recorder{background:#f5f9fc;border-color:#c9dce8;margin-bottom:12px;transition:border-color .18s,background .18s}.grid-work-visit-section .grid-work-recorder.recording{background:#fff3f4;border-color:#e8a6ac}.grid-work-visit-section .grid-work-recorder.recognizing{background:#fff8ee;border-color:#efc58f}.grid-work-visit-section .grid-work-recorder.complete{background:#f0faf7;border-color:#9fd8c7}.grid-work-recorder.recognizing .grid-work-recorder-icon{color:var(--grid-orange);background:var(--grid-orange-soft);animation:1.1s ease-in-out infinite grid-status-pulse}.grid-work-recorder.complete .grid-work-recorder-icon{color:var(--grid-green);background:var(--grid-green-soft)}.grid-work-recorder.grid-work-recorder-simple,.grid-work-visit-section .grid-work-recorder.grid-work-recorder-simple,.grid-work-visit-section .grid-work-recorder.grid-work-recorder-simple.recording,.grid-work-visit-section .grid-work-recorder.grid-work-recorder-simple.recognizing,.grid-work-visit-section .grid-work-recorder.grid-work-recorder-simple.complete{background:0 0;border:0;grid-template-columns:1fr;gap:0;min-height:0;margin-bottom:12px;padding:0;display:grid}.grid-work-recorder.grid-work-recorder-simple>button.record,.grid-work-recorder.grid-work-recorder-simple .grid-work-recorder-actions{width:100%}.grid-work-recorder.grid-work-recorder-simple>button.record,.grid-work-recorder.grid-work-recorder-simple .grid-work-recorder-actions button{min-height:48px;font-size:15px;font-weight:800}.grid-work-transcript-field{margin-bottom:0!important}.grid-work-transcript-field textarea,.grid-work-visit-summary textarea{min-height:72px;padding:9px 11px;font-size:13px;line-height:1.45}.grid-work-transcript-field textarea::placeholder,.grid-work-visit-summary textarea::placeholder{color:#8a9faf;font-size:12px}.grid-work-summary-section.summarizing{border-color:#cfc1f2}.grid-work-summary-section.pending{border-color:#e8c89f}.grid-work-summary-section.confirmed{border-color:#9ed8c7}.grid-work-summary-section .grid-work-visit-section-head{align-items:center}.grid-work-summary-generate{color:#1768b2;white-space:nowrap;cursor:pointer;background:#f5faff;border:1px solid #b9d5e7;border-radius:8px;justify-content:center;align-items:center;gap:4px;margin:0;padding:0 10px;font-weight:700;display:inline-flex;min-height:30px!important;font-size:12px!important}.grid-work-summary-generate:disabled{opacity:.46;cursor:not-allowed}.grid-work-visit-summary>span em{color:#1768b2;background:#e5f2fc}.grid-work-summary-progress{color:#6847c7;background:#f4f0ff;border-radius:9px;align-items:center;gap:8px;margin:-2px 0 12px;padding:10px 11px;font-size:12px;font-weight:700;display:flex}.grid-work-status-spinner{border:2px solid #d9cef5;border-top-color:#7250d8;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite grid-spin}.grid-work-flow-message{color:#a43d46;background:#fff3f4;border:1px solid #e8b9bd;border-radius:11px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px;font-size:12px;line-height:1.5;display:grid}.grid-work-flow-message.task{color:#9c5a1d;background:#fff8ee;border-color:#edc58f}.grid-work-flow-message button{color:inherit;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid;border-radius:8px;align-items:center;gap:5px;padding:0 9px;font-weight:700;display:inline-flex;min-height:36px!important;font-size:12px!important}.grid-work-submit-dock{z-index:180;width:min(100%,760px);min-height:calc(86px + env(safe-area-inset-bottom,0px));padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff7;border-top:1px solid #cbdde9;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -10px 26px #2352751f}.grid-work-submit-copy{align-items:center;gap:9px;min-width:0;display:flex}.grid-work-submit-state-icon{color:#1768b2;background:#e4f2fd;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.grid-work-submit-copy>span:last-child{min-width:0}.grid-work-submit-copy strong,.grid-work-submit-copy small{display:block}.grid-work-submit-copy strong{color:#17324d;font-size:13px}.grid-work-submit-copy small{color:#71899b;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;overflow:hidden}.grid-work-submit-dock>button{color:#fff;cursor:pointer;background:#247ed6;border:0;border-radius:10px;min-width:150px;min-height:48px;padding:0 16px;font-size:14px;font-weight:800}.grid-work-submit-dock>button:disabled{opacity:.46;cursor:not-allowed}.grid-work-submit-dock.submitting .grid-work-submit-state-icon{color:#6847c7;background:#eee8ff;animation:1.1s ease-in-out infinite grid-status-pulse}.grid-work-submit-dock.error{border-top-color:#e8b9bd}.grid-work-submit-dock.error .grid-work-submit-state-icon{color:#b63f49;background:#ffe7ea}.grid-work-submit-dock.error>button{background:#c84e4e}.grid-work-submit-dock.partial{border-top-color:#edc58f}.grid-work-submit-dock.partial .grid-work-submit-state-icon{color:#b96017;background:#fff0df}.grid-work-submit-dock.partial>button{background:#d98224}@media (width<=520px){.grid-work-main{width:auto;max-width:none;margin-left:0;margin-right:0;padding-left:12px;padding-right:12px}.grid-work-page-heading{margin-left:-12px;margin-right:-12px;padding-left:16px;padding-right:16px}.grid-work-filters{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.grid-work-home .grid-work-metrics{gap:8px}.grid-work-home .grid-work-metrics article{min-height:126px;padding:14px 9px}.grid-work-home .grid-work-metrics article>span{font-size:13px}.grid-work-home .grid-work-metrics article>strong{margin-top:9px;font-size:28px}.grid-work-home .grid-work-metrics article>strong small{font-size:12px}.grid-work-home .grid-work-metrics article>em{margin-top:10px;padding:4px 6px;font-size:11px}.grid-work-home .grid-work-priority-list>button{grid-template-columns:48px minmax(0,1fr) auto 18px;gap:8px;min-height:116px;padding:15px 12px}.grid-work-home .grid-work-priority-avatar{width:48px;height:48px;font-size:19px}.grid-work-home .grid-work-priority-list strong{font-size:17px}.grid-work-home .grid-work-priority-list small{margin-top:5px;font-size:12px}.grid-work-priority-status em{padding:4px 6px;font-size:11px}.grid-work-visit-section{padding:14px}.grid-work-submit-dock{padding-left:14px;padding-right:14px}.grid-work-submit-dock>button{min-width:132px;padding-inline:12px;font-size:13px}}@media (width<=380px){.grid-work-visit-section-head{grid-template-columns:32px minmax(0,1fr) auto;gap:8px}.grid-work-visit-section-head>span{width:32px;height:32px}.grid-work-visit-section .grid-work-recorder:not(.grid-work-recorder-simple){grid-template-columns:40px minmax(0,1fr)}.grid-work-recorder:not(.grid-work-recorder-simple)>button,.grid-work-recorder:not(.grid-work-recorder-simple) .grid-work-recorder-actions{grid-column:1/-1;width:100%}.grid-work-recorder-actions button{flex:1}.grid-work-summary-generate{margin-left:0}.grid-work-submit-copy small{display:none}.grid-work-submit-dock>button{min-width:126px}}@keyframes grid-spin{to{transform:rotate(360deg)}}@keyframes grid-record-pulse{50%{box-shadow:0 0 0 7px #bd453f1f}}@keyframes grid-status-pulse{50%{opacity:.78;transform:scale(1.04)}}@media (width<=380px){.grid-work-main{padding-left:12px;padding-right:12px}.grid-work-page-heading{margin-left:-12px;margin-right:-12px;padding-left:16px;padding-right:16px}.grid-work-filters{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.grid-work-metrics{gap:7px}.grid-work-metrics article{min-height:106px;padding:12px 9px}.grid-work-metrics article>span{font-size:11px}.grid-work-metrics article>strong{font-size:24px}.grid-work-metrics article>em{padding:3px 5px;font-size:10px}.grid-work-home .grid-work-metrics{margin-top:14px;margin-bottom:22px}.grid-work-home .grid-work-metrics article{min-height:122px;padding:14px 9px}.grid-work-home .grid-work-metrics article>span{font-size:12px}.grid-work-home .grid-work-metrics article>strong{margin-top:9px;font-size:27px}.grid-work-home .grid-work-metrics article>em{margin-top:10px;font-size:11px}.grid-work-home .grid-work-priority-list em{font-size:12px}.grid-work-actions{gap:7px}.grid-work-actions>button{min-height:114px;padding:12px 9px}.grid-work-actions strong{font-size:14px}.grid-work-field-row{grid-template-columns:1fr;gap:0}.grid-work-recorder:not(.grid-work-recorder-simple){grid-template-columns:40px minmax(0,1fr)}.grid-work-recorder:not(.grid-work-recorder-simple)>button,.grid-work-recorder:not(.grid-work-recorder-simple) .grid-work-recorder-actions{grid-column:1/-1;width:100%}.grid-work-recorder-actions button{flex:1}.grid-work-nav>button small{font-size:10px}}@media (width<=760px){.admin-grid-notice-form{grid-template-columns:1fr}.admin-grid-notice-form textarea{grid-column:auto}}@media (width<=430px){.grid-work-import-card{grid-template-columns:48px minmax(0,1fr)}.grid-work-import-card>button{grid-column:1/-1;width:100%}}.grid-work-tabbar{z-index:70;width:min(760px,100%);min-height:calc(68px + env(safe-area-inset-bottom,0px));padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffffa;border-top:1px solid #d8eef8;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;right:50%;transform:translate(50%);box-shadow:0 -10px 28px #4a94c414}.grid-work-tabbar button{color:#7a97ab;background:0 0;border:0;align-content:center;place-items:center;gap:3px;min-width:0;min-height:54px;padding:5px 2px;display:grid}.grid-work-tabbar button strong{font-size:12px;font-weight:700}.grid-work-tabbar-icon{place-items:center;display:grid;position:relative}.grid-work-tabbar-icon em{color:#fff;background:var(--grid-danger);text-align:center;border:2px solid #fff;border-radius:10px;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-style:normal;line-height:13px;position:absolute;top:-7px;left:14px}.grid-work-action-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.grid-work-action-metrics button{border:1px solid var(--grid-line);text-align:left;background:#fff;align-content:start;min-height:108px;padding:15px;display:grid;box-shadow:0 5px 15px #275b800f}.grid-work-action-metrics button span{color:var(--grid-muted);font-size:13px;font-weight:700}.grid-work-action-metrics button strong{color:var(--grid-ink);margin:6px 0 2px;font-size:28px;line-height:1}.grid-work-action-metrics button small{color:#758b9b;font-size:11px}.grid-work-action-metrics button.danger{background:#fff9fa;border-color:#f5c8cc}.grid-work-action-metrics button.danger strong{color:var(--grid-danger)}.grid-work-action-metrics button.warning{background:#fffbf5;border-color:#f5d9b0}.grid-work-action-metrics button.warning strong{color:#d8882a}.grid-work-home-task-section .grid-work-section-head>button{min-height:32px;color:var(--grid-primary-strong);background:#fff;border:1px solid #bfd7e7;padding:4px 10px;font-size:12px}.grid-work-home-task-section .grid-work-task-list,.grid-work-tasks-page .grid-work-task-list{gap:8px}.grid-work-home-task-section .grid-work-task-card,.grid-work-tasks-page .grid-work-task-card{border-radius:12px}.grid-work-home-task-section .grid-work-task-card-main,.grid-work-tasks-page .grid-work-task-card-main{grid-template-columns:32px minmax(0,1fr) auto;gap:8px;min-height:0;padding:8px 10px}.grid-work-home-task-section .grid-work-task-avatar,.grid-work-tasks-page .grid-work-task-avatar{border-radius:9px;width:32px;height:32px;font-size:13px}.grid-work-home-task-section .grid-work-task-copy,.grid-work-tasks-page .grid-work-task-copy{gap:1px}.grid-work-home-task-section .grid-work-task-title,.grid-work-tasks-page .grid-work-task-title{gap:6px}.grid-work-home-task-section .grid-work-task-title strong,.grid-work-tasks-page .grid-work-task-title strong{font-size:14px}.grid-work-home-task-section .grid-work-task-title em,.grid-work-tasks-page .grid-work-task-title em{padding:1px 5px;font-size:9px}.grid-work-home-task-section .grid-work-task-type,.grid-work-tasks-page .grid-work-task-type{font-size:12px;font-weight:650}.grid-work-home-task-section .grid-work-task-copy small,.grid-work-tasks-page .grid-work-task-copy small{display:none}.grid-work-home-task-section .grid-work-task-copy .grid-work-task-time,.grid-work-tasks-page .grid-work-task-copy .grid-work-task-time{font-size:10px}.grid-work-home-task-section .grid-work-task-action,.grid-work-tasks-page .grid-work-task-action{font-size:11px}.grid-work-home-task-section .grid-work-task-action svg,.grid-work-tasks-page .grid-work-task-action svg{width:12px;height:12px}.grid-work-task-list{gap:10px;display:grid}.grid-work-task-card{border:1px solid var(--grid-line);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 5px 16px #4a94c40f}.grid-work-task-card.urgent{background:#fff9fa;border-color:#f5c8cc}.grid-work-task-card.important{background:#fffbf5;border-color:#f5d9b0}.grid-work-task-card.complete{opacity:.9}.grid-work-task-card-main{text-align:left;background:0 0;border:0;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:92px;padding:13px;display:grid}.grid-work-task-avatar{width:42px;height:42px;color:var(--grid-primary-strong);background:var(--grid-blue-soft);border-radius:13px;place-items:center;font-size:16px;font-weight:800;display:grid}.grid-work-task-card.urgent .grid-work-task-avatar{color:#d45a63;background:#fff1f3}.grid-work-task-card.important .grid-work-task-avatar{color:#d8882a;background:#fff4e6}.grid-work-task-copy{gap:3px;min-width:0;display:grid}.grid-work-task-title{align-items:center;gap:8px;min-width:0;display:flex}.grid-work-task-title strong{color:var(--grid-ink);text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.grid-work-task-title em{color:var(--grid-primary-strong);background:var(--grid-blue-soft);border-radius:12px;flex:none;padding:2px 7px;font-size:10px;font-style:normal;font-weight:800}.grid-work-task-card.urgent .grid-work-task-title em{color:#d45a63;background:#fff1f3}.grid-work-task-card.important .grid-work-task-title em{color:#d8882a;background:#fff4e6}.grid-work-task-type{color:var(--grid-text);font-size:13px;font-weight:700}.grid-work-task-copy small{color:var(--grid-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;display:-webkit-box;overflow:hidden}.grid-work-task-copy .grid-work-task-time{color:#7a90a0;font-size:11px}.grid-work-task-action{color:var(--grid-primary-strong);white-space:nowrap;align-items:center;gap:2px;font-size:11px;font-weight:700;display:inline-flex}.grid-work-deferred-summary{color:#c47a28;text-align:left;background:#fff8eb;border:1px solid #f5d7a8;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;margin-top:12px;padding:13px 15px;display:grid}.grid-work-deferred-summary span{gap:2px;display:grid}.grid-work-deferred-summary strong{font-size:13px;font-weight:700}.grid-work-deferred-summary small{color:#b08a62;font-size:11px}.grid-work-add-risk{color:#fff;border:0;align-items:center;gap:5px;padding:8px 12px;display:inline-flex}.grid-work-task-segments{z-index:8;border:1px solid var(--grid-line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f2f8fcf5;border-radius:13px;margin-bottom:14px;padding:7px;position:sticky;top:0}.grid-work-task-segments button{min-width:0;padding-left:8px;padding-right:8px;font-size:12px}.grid-work-task-section{border:1px solid var(--grid-line);background:#fff;border-radius:16px;padding:16px}.grid-work-partial-error{color:#9b4444;background:#fff7f7;border:1px solid #efc1c1;border-radius:11px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:12px;padding:11px 12px;font-size:12px;display:grid}.grid-work-partial-error button{color:#9b4444;background:#fff;border:1px solid #e4b0b0;min-height:32px;padding:4px 9px}.grid-work-risk-form{border:1px solid var(--grid-line);background:#fff;border-radius:16px;gap:16px;padding:18px;display:grid}.grid-work-risk-form>label{color:var(--grid-ink);gap:7px;font-size:13px;font-weight:700;display:grid}.grid-work-risk-form select,.grid-work-risk-form textarea{background:#f7fbfd;border:1px solid #c6dce9;border-radius:10px;width:100%;padding:11px 12px}.grid-work-risk-form .caregiver-profile-choice-field{gap:7px;display:grid}.grid-work-risk-form .caregiver-profile-choice-field>span{color:var(--grid-ink);font-size:13px;font-weight:700}.grid-work-risk-form .caregiver-profile-select-trigger{background:#f7fbfd;border-color:#c6dce9;border-radius:10px;min-height:44px}.grid-work-risk-form .caregiver-profile-select-options{z-index:40;border-color:#c6dce9;max-height:240px;overflow-y:auto;box-shadow:0 10px 24px #234d6d24}.grid-work-risk-form .caregiver-profile-select-options button{color:var(--grid-text)}.grid-work-risk-form .caregiver-profile-select-options button.selected{color:var(--grid-primary-strong);background:#e5f2fc}.grid-work-risk-form fieldset{border:0;margin:0;padding:0}.grid-work-risk-form legend{color:var(--grid-ink);margin-bottom:8px;font-size:13px;font-weight:700}.grid-work-risk-levels{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.grid-work-risk-levels label{border:1px solid var(--grid-line);cursor:pointer;border-radius:11px;align-content:start;gap:4px;min-width:0;min-height:82px;padding:11px;display:grid;position:relative}.grid-work-risk-levels label.active{border-color:var(--grid-primary);background:var(--grid-blue-soft)}.grid-work-risk-levels input{opacity:0;pointer-events:none;position:absolute}.grid-work-risk-levels strong{color:var(--grid-ink);font-size:13px}.grid-work-risk-levels small{color:var(--grid-muted);font-size:10px}.grid-work-risk-form-actions{grid-template-columns:1fr 1.4fr;gap:9px;display:grid}.grid-work-risk-form-actions button{color:var(--grid-text);background:#fff;border:1px solid #c6dce9;font-size:13px}.grid-work-risk-form-actions button.primary{border-color:var(--grid-primary);color:#fff;background:var(--grid-primary)}.grid-work-task-detail-card{border:1px solid var(--grid-line);background:#fff;border-radius:16px;padding:18px}.grid-work-task-detail-card.urgent{border-top:4px solid var(--grid-danger)}.grid-work-task-detail-card.important{border-top:4px solid var(--grid-warning)}.grid-work-task-detail-head{align-items:center;gap:11px;display:flex}.grid-work-task-detail-head>span{width:42px;height:42px;color:var(--grid-primary-strong);background:var(--grid-blue-soft);border-radius:12px;place-items:center;display:grid}.grid-work-task-detail-head h2{margin:2px 0 0;font-size:20px}.grid-work-task-detail-head small{color:var(--grid-muted)}.grid-work-task-detail-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0;display:grid}.grid-work-task-detail-card dl div{background:#f4f9fc;border-radius:10px;padding:10px}.grid-work-task-detail-card dt{color:var(--grid-muted);font-size:11px}.grid-work-task-detail-card dd{color:var(--grid-ink);margin:4px 0 0;font-size:13px;font-weight:700}.grid-work-task-detail-copy{background:#f5f9fb;border-radius:11px;padding:13px}.grid-work-task-detail-copy+.grid-work-task-detail-copy{margin-top:9px}.grid-work-task-detail-copy small{color:var(--grid-muted);font-size:11px;font-weight:700}.grid-work-task-detail-copy p{color:var(--grid-text);white-space:pre-wrap;margin-top:5px}.grid-work-task-detail-copy.secondary{background:#fafafa}.grid-work-task-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px;display:grid}.grid-work-task-detail-actions button{color:var(--grid-primary-strong);background:#fff;border:1px solid #c6dce9;justify-content:center;align-items:center;gap:6px;padding:8px 12px;display:inline-flex}.grid-work-task-detail-actions button.primary{border-color:var(--grid-primary);color:#fff;background:var(--grid-primary)}.grid-work-resident-segments{scrollbar-width:none;justify-content:flex-start;overflow-x:auto}.grid-work-resident-segments button{flex:none}.grid-work-detail-actions.three-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-work-detail-actions button.risk{color:#a44a4f;background:#fff7f8;border-color:#edc0c3}.grid-work-profile-identity{border:1px solid var(--grid-line);background:#fff;border-radius:16px;align-items:center;gap:13px;padding:18px;display:flex}.grid-work-profile-identity>span{color:#fff;background:linear-gradient(135deg, var(--grid-primary), var(--grid-success));border-radius:17px;place-items:center;width:54px;height:54px;font-size:20px;font-weight:800;display:grid}.grid-work-profile-identity h2{color:var(--grid-ink);margin:0 0 4px;font-size:20px}.grid-work-profile-identity p{color:var(--grid-muted);font-size:13px}.grid-work-profile-stats{border:1px solid var(--grid-line);background:#fff;border-radius:15px;grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0;padding:14px 8px;display:grid}.grid-work-profile-stats div{text-align:center;border-right:1px solid var(--grid-line);gap:3px;display:grid}.grid-work-profile-stats div:last-child{border-right:0}.grid-work-profile-stats strong{color:var(--grid-ink);font-size:21px}.grid-work-profile-stats span{color:var(--grid-muted);font-size:11px}.grid-work-profile-section{border:1px solid var(--grid-line);background:#fff;border-radius:15px;margin-top:12px;padding:16px}.grid-work-profile-section>p{color:var(--grid-muted);margin:8px 0 13px;font-size:13px}.grid-work-profile-section>button{width:100%;color:var(--grid-primary-strong);background:#f3f9fd;border:1px solid #bed6e7}.grid-work-profile-password .change-password-title{color:var(--grid-ink);margin:0 0 6px;font-size:16px}.grid-work-profile-password .change-password-hint{color:var(--grid-muted);margin:0 0 12px;font-size:13px}.grid-work-profile-password .form-group{margin-bottom:10px}.grid-work-profile-password input{border:1px solid var(--grid-line);border-radius:10px;width:100%;min-height:42px;padding:0 12px}.grid-work-profile-section.grid-work-profile-password>button{color:#fff;background:var(--grid-primary);border:0;min-height:44px;margin-top:4px}.grid-work-profile-logout{color:#a84349;background:#fff7f8;border:1px solid #edc1c4;justify-content:center;align-items:center;gap:6px;width:100%;margin-top:16px;display:inline-flex}@media (width<=520px){.grid-work-task-card-main{grid-template-columns:40px minmax(0,1fr)}.grid-work-task-action{grid-column:2;justify-self:start}.grid-work-home-task-section .grid-work-task-card-main,.grid-work-tasks-page .grid-work-task-card-main{grid-template-columns:32px minmax(0,1fr) auto}.grid-work-home-task-section .grid-work-task-action,.grid-work-tasks-page .grid-work-task-action{grid-column:auto;justify-self:end}.grid-work-risk-levels{grid-template-columns:1fr}.grid-work-risk-levels label{min-height:64px}.grid-work-detail-actions.three-actions,.grid-work-task-detail-actions{grid-template-columns:1fr}}.grid-work-main{background:linear-gradient(#e6f4ff 0,#f5fbff 250px,#fff 100%)}.grid-work-page-heading h1{font-size:22px}.grid-work-page-heading p{font-size:13px}.grid-work-page-heading span{font-size:12px}.grid-work-metrics article{min-height:98px;padding:12px;box-shadow:0 6px 16px #4a94c40f}.grid-work-metrics article:first-child{background:#eaf6ff;border-color:#c5e4f8}.grid-work-metrics article:nth-child(2),.grid-work-metrics article:nth-child(3){background:#fff;border-color:#d4ebf7}.grid-work-metrics article>span{font-size:14px}.grid-work-metrics article>strong{margin-top:7px;font-size:25px}.grid-work-metrics article>em{margin-top:7px;font-size:12px}.grid-work-section{margin-top:22px}.grid-work-section-head h2{font-size:20px}.grid-work-section-head>div>span{font-size:13px}.grid-work-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.grid-work-actions>button{background:#fff;border-color:#d4ebf7;min-height:98px;padding:11px}.grid-work-actions>button>span{border-radius:12px;width:42px;height:42px}.grid-work-actions strong{margin-top:8px;font-size:15px}.grid-work-actions small{font-size:12px}.grid-work-import-card strong{font-size:16px}.grid-work-import-card p{font-size:13px}.grid-work-nav{border-top-color:#d4ebf7;box-shadow:0 -7px 20px #4a94c414}.grid-work-nav>button.active{background:0 0}@media (width<=380px){.grid-work-page-heading h1{font-size:21px}.grid-work-metrics article>strong{font-size:23px}.grid-work-actions>button{min-height:98px}.grid-work-actions strong{font-size:14px}}.grid-work-app{--grid-ink:#2a5878;--grid-text:#4a7c98;--grid-muted:#6d93a8}.grid-work-page-heading span{color:var(--grid-primary)}.grid-work-page-heading h1{color:var(--grid-ink)}.grid-work-page-heading p,.grid-work-metrics article>span{color:var(--grid-text);font-weight:650}.grid-work-metrics article>strong{color:var(--grid-ink)}.grid-work-metrics article>strong small{color:var(--grid-text);font-weight:700}.grid-work-section-head>div>span{color:var(--grid-blue)}.grid-work-section-head h2{color:var(--grid-ink)}.grid-work-metrics article[role=button]{cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}.grid-work-metrics article[role=button]:hover{border-color:#8ec3e8;transform:translateY(-1px);box-shadow:0 10px 22px #247ed621}.grid-work-metrics article[role=button]:focus-visible,.grid-work-resident-main:focus-visible,.grid-work-resident-actions button:focus-visible,.grid-work-segments button:focus-visible,.grid-work-search button:focus-visible{outline-offset:2px;outline:3px solid #247ed647}.grid-work-metric-page{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}.grid-work-metric-page .grid-work-page-heading{min-height:88px}.grid-work-metric-page .grid-work-search{margin-top:14px}.grid-work-metric-page .grid-work-segments{margin-top:10px}.grid-work-metric-list-section{margin-top:18px}.grid-work-list-heading{justify-content:space-between;align-items:baseline;gap:12px;min-width:0;display:flex}.grid-work-list-heading h2{color:var(--grid-ink);margin:0;font-size:19px;line-height:1.3}.grid-work-list-heading>span{color:var(--grid-muted);white-space:nowrap;font-size:12px}.grid-work-resident-card{box-shadow:0 7px 18px #2d5b7e12}.grid-work-resident-main{transition:background .16s}.grid-work-resident-main:hover{background:#f6fbff}.grid-work-resident-card.compact{border-radius:16px}.grid-work-resident-card.compact .grid-work-resident-main{grid-template-columns:48px minmax(0,1fr) 18px;gap:13px;min-height:96px;padding:16px}.grid-work-resident-card.compact .grid-work-resident-avatar{border-radius:15px;width:48px;height:48px;font-size:19px}.grid-work-resident-card.compact .grid-work-resident-copy{gap:5px;display:grid}.grid-work-resident-card.compact .grid-work-resident-location{margin-top:0;font-size:12px}.grid-work-resident-progress{background:#e5eef4;border-radius:999px;width:min(100%,180px);height:4px;margin-top:2px;display:block;overflow:hidden}.grid-work-resident-progress>span{width:100%;height:100%;display:block}.grid-work-resident-progress i{border-radius:inherit;background:linear-gradient(90deg,#2a83d2,#35ae92);height:100%;display:block}.grid-work-resident-avatar.unregistered{color:#b96a1d;background:#fff0dc}.grid-work-signing-badge{border-radius:7px;flex:none;padding:3px 7px;font-size:10px;font-style:normal;font-weight:800}.grid-work-signing-badge.signed{color:#087a5e;background:#ddf6ed}.grid-work-signing-badge.unsigned{color:#a85d19;background:#fff0d8}.grid-work-resident-actions button:disabled{opacity:.5;cursor:not-allowed}.grid-work-detail-card{background:#fff;border:1px solid #cfe1ed;border-radius:16px;margin-top:14px;padding:16px;box-shadow:0 7px 18px #2d5b7e0f}.grid-work-detail-profile{align-items:center;gap:12px;min-width:0;display:flex}.grid-work-detail-profile>div{flex:1;min-width:0}.grid-work-detail-profile h2{color:var(--grid-ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:21px;overflow:hidden}.grid-work-detail-profile p{color:var(--grid-muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:12px;overflow:hidden}.grid-work-detail-avatar{color:#176fc0;background:#e2f2ff;border-radius:16px;flex:none;place-items:center;width:52px;height:52px;font-size:21px;font-weight:800;display:grid}.grid-work-detail-avatar.unregistered{color:#b96a1d;background:#fff0dc}.grid-work-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 0;display:grid}.grid-work-detail-grid>div{background:#f7fbfd;border-radius:10px;min-width:0;padding:10px}.grid-work-detail-grid dt{color:var(--grid-muted);font-size:11px}.grid-work-detail-grid dd{color:var(--grid-text);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:13px;overflow:hidden}.grid-work-detail-focus .grid-work-list-heading{margin-bottom:12px}.grid-work-detail-focus .grid-work-list-heading svg{color:var(--grid-blue)}.grid-work-detail-focus>p{color:var(--grid-muted);margin:0;font-size:13px;line-height:1.5}.grid-work-detail-tags{flex-wrap:wrap;gap:7px;display:flex}.grid-work-detail-tags span{color:#a85d19;background:#fff0dc;border-radius:8px;padding:5px 9px;font-size:12px;font-weight:700}.grid-work-detail-task{border-left:3px solid var(--grid-blue);background:#edf7ff;border-radius:0 10px 10px 0;gap:4px;margin-top:12px;padding:12px;display:grid}.grid-work-detail-task small{color:var(--grid-blue);font-size:11px;font-weight:700}.grid-work-detail-task strong{color:var(--grid-ink);font-size:14px}.grid-work-detail-task span{color:var(--grid-muted);font-size:12px}.grid-work-detail-actions{margin-top:18px;display:grid}.grid-work-detail-actions.two-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid-work-detail-actions button{color:#fff;background:var(--grid-blue);cursor:pointer;border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:9px;min-height:52px;font-size:16px;font-weight:700;transition:background .16s,box-shadow .16s,transform .16s;display:inline-flex;box-shadow:0 8px 16px #247ed62e}.grid-work-detail-actions button.profile{color:#176fc0;box-shadow:none;background:#edf7ff;border-color:#bfddf4}.grid-work-detail-actions button:hover:not(:disabled){background:#176fc0;box-shadow:0 10px 20px #247ed63d}.grid-work-detail-actions button.profile:hover:not(:disabled){box-shadow:none;background:#e1f1ff}.grid-work-detail-actions button:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.grid-work-detail-actions button:disabled{opacity:.5;cursor:not-allowed}@media (width<=520px){.grid-work-detail-actions.two-actions{grid-template-columns:1fr}.grid-work-detail-card{padding:14px}}@media (width<=380px){.grid-work-metric-page .grid-work-page-heading{min-height:82px}.grid-work-detail-grid{gap:7px}.grid-work-detail-grid>div{padding:8px}}.grid-work-app.has-tabbar .grid-work-main{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}.grid-work-detail-actions.three-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.grid-work-detail-actions button.risk{color:#a44a4f;box-shadow:none;background:#fff7f8;border-color:#edc0c3}.grid-work-detail-actions button.risk:hover:not(:disabled){color:#963b42;box-shadow:none;background:#ffecef}@media (width<=520px){.grid-work-detail-actions.three-actions{grid-template-columns:1fr}}.grid-work-app{--grid-blue:#3b93e6;--grid-primary:#3b93e6;--grid-primary-strong:#2b82d6;--grid-muted:#6d93a8;--grid-line:#d4ebf7}.grid-work-home .grid-work-page-heading{min-height:72px;padding-top:calc(8px + env(safe-area-inset-top,0px));padding-bottom:8px}.grid-work-home .grid-work-page-heading span{color:var(--grid-primary);margin-bottom:3px;font-size:14px}.grid-work-home .grid-work-page-heading h1{font-size:21px}.grid-work-home .grid-work-page-heading p{margin-top:3px;font-size:12px}.grid-work-home .grid-work-icon-command{width:40px;min-height:40px;color:var(--grid-primary-strong);border-color:#c5e4f8}.grid-work-action-metrics{gap:8px;margin-bottom:12px}.grid-work-action-metrics button{border-color:#d4ebf7;min-height:96px;padding:12px}.grid-work-action-metrics button span,.grid-work-action-metrics button small{color:var(--grid-muted)}.grid-work-action-metrics button strong{margin-top:5px}.grid-work-home .grid-work-section-head{margin-bottom:10px}.grid-work-home .grid-work-section-head>div>span{color:var(--grid-blue)}.grid-work-home .grid-work-section-head>button{color:var(--grid-primary-strong);border-color:#c5e4f8}.grid-work-home .grid-work-empty{border-color:var(--grid-line);min-height:152px;padding:16px}.grid-work-tabbar{border-top-color:#d8eef8}.grid-work-tabbar button{color:#7a97ab}.grid-work-tabbar button.active{color:var(--grid-primary);background:#e8f5ff}.grid-work-tasks-page .grid-work-task-heading{min-height:68px;padding-top:calc(8px + env(safe-area-inset-top,0px));gap:8px;padding-bottom:8px}.grid-work-tasks-page .grid-work-task-heading h1{font-size:20px}.grid-work-tasks-page .grid-work-task-heading p{max-width:180px;font-size:11px}.grid-work-tasks-page .grid-work-task-section{background:0 0;border:0;border-radius:0;padding:0}.grid-work-tasks-page .grid-work-list-heading{margin-bottom:8px}.grid-work-tasks-page .grid-work-list-heading h2{font-size:15px}.grid-work-tasks-page .grid-work-list-heading>span{font-size:11px}.grid-work-tasks-page .grid-work-empty{border-color:var(--grid-line);background:#fff;min-height:120px;padding:14px 16px;box-shadow:0 5px 16px #275b800f}.grid-work-tasks-page .grid-work-add-risk{border-radius:999px;gap:4px;width:auto;min-height:32px;padding:0 10px;font-size:12px}.grid-work-tasks-page .grid-work-add-risk svg{width:14px;height:14px}.grid-work-tasks-page .grid-work-task-segments{border-radius:11px;margin-bottom:10px;padding:3px}.grid-work-tasks-page .grid-work-task-segments button{min-height:34px;padding-left:8px;padding-right:8px;font-size:12px}:root{--prototype-ink:#172522;--prototype-muted:#6e7d78;--prototype-line:#dfe8e4;--prototype-bg:#eef4f2;--prototype-paper:#fff}.role-prototype{min-height:100vh;color:var(--prototype-ink);background:var(--prototype-bg);grid-template-columns:244px minmax(0,1fr);font-family:PingFang SC,Noto Sans SC,-apple-system,BlinkMacSystemFont,sans-serif;display:grid}.role-prototype *{box-sizing:border-box}.role-prototype-sidebar{border-right:1px solid var(--prototype-line);background:#fbfdfc;flex-direction:column;height:100vh;padding:26px 16px;display:flex;position:sticky;top:0}.role-prototype-brand{align-items:center;gap:10px;padding:4px 8px 30px;display:flex}.role-prototype-mark{color:#fff;background:#0a746a;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.role-prototype-brand strong,.role-prototype-brand span{display:block}.role-prototype-brand strong{font-size:16px}.role-prototype-brand div span{color:var(--prototype-muted);margin-top:2px;font-size:11px}.role-prototype-sidebar-label{color:#7c8c87;letter-spacing:.08em;margin:0 8px 8px;font-size:11px;font-weight:700}.role-prototype-role-list{gap:5px;display:grid}.role-prototype-role{color:#4e605a;min-height:46px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:11px;padding:0 12px;font-size:14px;display:flex}.role-prototype-role:hover{background:#edf4f1}.role-prototype-role.active{color:#0b645b;background:#dff0eb;font-weight:700}.role-prototype-sidebar-note{color:#487167;background:#eaf4ef;border-radius:10px;gap:9px;margin-top:auto;padding:13px 10px;font-size:12px;line-height:1.55;display:flex}.role-prototype-sidebar-note svg{flex:none;margin-top:2px}.role-prototype-main{width:min(1180px,100%);margin:0 auto;padding:28px 36px 56px}.role-prototype-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.role-prototype-header p{color:var(--prototype-muted);margin:0 0 5px;font-size:13px}.role-prototype-header h1{margin:0;font-size:30px;line-height:1.25}.role-prototype-header-actions{align-items:center;gap:10px;display:flex}.role-prototype-icon-button{border:1px solid var(--prototype-line);color:#405b54;cursor:pointer;background:#fff;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.role-prototype-avatar{color:#fff;background:var(--role-accent);border-radius:50%;place-items:center;width:38px;height:38px;font-size:14px;font-weight:700;display:grid}.role-prototype-mobile-roles{display:none}.role-prototype-hero{color:#fff;background:linear-gradient(135deg, var(--role-accent), color-mix(in srgb, var(--role-accent) 76%, #29495d));min-height:170px;box-shadow:0 16px 36px color-mix(in srgb, var(--role-accent) 22%, transparent);border-radius:16px;justify-content:space-between;align-items:flex-end;gap:20px;margin-top:26px;padding:26px 28px;display:flex}.role-prototype-hero h2{margin:8px 0 6px;font-size:28px}.role-prototype-hero p{color:#ffffffd1;max-width:560px;margin:0;font-size:15px;line-height:1.6}.role-prototype-eyebrow{color:#ffffffc2;letter-spacing:.06em;align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.role-prototype-hero-status{background:#ffffff1a;border:1px solid #ffffff2e;border-radius:12px;gap:5px;min-width:190px;padding:14px;display:grid}.role-prototype-hero-status span{color:#ffffffb3;font-size:11px}.role-prototype-hero-status strong{font-size:13px;line-height:1.5}.role-prototype-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px;display:grid}.role-prototype-metric{border:1px solid var(--prototype-line);background:#fff;border-radius:14px;min-height:126px;padding:18px;box-shadow:0 5px 16px #1a38300a}.role-prototype-metric span,.role-prototype-metric small{color:var(--prototype-muted);font-size:12px;display:block}.role-prototype-metric strong{color:#173f37;margin:8px 0 5px;font-size:29px;line-height:1;display:block}.role-prototype-metric.teal strong{color:#0a746a}.role-prototype-metric.blue strong{color:#416fb1}.role-prototype-metric.coral strong{color:#ba5b4d}.role-prototype-metric.purple strong{color:#5c63b8}.role-prototype-metric.yellow strong{color:#9d641b}.role-prototype-grid{gap:16px;margin-top:16px;display:grid}.role-prototype-grid.two-columns{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.role-prototype-grid.specialist-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)}.role-prototype-grid.grid-agent-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.role-prototype-panel{border:1px solid var(--prototype-line);background:#fff;border-radius:14px;min-width:0;padding:20px;box-shadow:0 5px 16px #1a38300a}.role-prototype-panel-title{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.role-prototype-panel-title span{color:#78928a;letter-spacing:.1em;font-size:10px;font-weight:800}.role-prototype-panel-title h3{color:#1e3933;margin:4px 0 0;font-size:19px}.role-prototype-panel-title button{color:var(--role-accent);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:5px 0;font-size:12px;font-weight:700;display:inline-flex}.role-prototype-plan-card{background:#f0f7f4;border-radius:12px;gap:16px;padding:18px;display:grid}.role-prototype-person{color:#3e655b;margin-bottom:6px;font-size:13px;font-weight:700;display:block}.role-prototype-plan-card strong{color:#1e3933;font-size:16px;line-height:1.5;display:block}.role-prototype-plan-card p,.role-prototype-voice p{color:var(--prototype-muted);margin:7px 0 0;font-size:13px;line-height:1.6}.role-prototype-inline-actions{justify-content:flex-end;gap:8px;display:flex}.role-prototype-inline-actions button{color:#49665d;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c8d9d2;border-radius:8px;padding:0 12px;font-size:12px;font-weight:700}.role-prototype-inline-actions button.primary,.role-prototype-action-button{border-color:var(--role-accent);color:#fff;background:var(--role-accent)}.role-prototype-list{display:grid}.role-prototype-list-row{color:#5b716a;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #edf2ef;grid-template-columns:minmax(88px,.6fr) minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;font-size:13px;display:grid}.role-prototype-list-row:last-child{border-bottom:0}.role-prototype-list-row .role-prototype-person{color:#25463d;margin:0}.role-prototype-list-row em{color:var(--role-accent);white-space:nowrap;align-items:center;gap:3px;font-size:11px;font-style:normal;font-weight:700;display:inline-flex}.role-prototype-case p{color:var(--prototype-muted);margin:16px 0;line-height:1.65}.role-prototype-case-tags{flex-wrap:wrap;gap:7px;display:flex}.role-prototype-case-tags span{color:#4d665e;background:#eff4f1;border-radius:6px;padding:5px 8px;font-size:11px}.role-prototype-recommendation{border-left:3px solid var(--role-accent);background:#f3f6fb;border-radius:0 9px 9px 0;gap:6px;padding:15px;display:grid}.role-prototype-recommendation span{color:#617493;font-size:11px;font-weight:700}.role-prototype-recommendation strong{color:#2d4262;font-size:14px;line-height:1.65}.role-prototype-action-button{width:100%;min-height:44px;font:inherit;cursor:pointer;border:1px solid;border-radius:9px;justify-content:center;align-items:center;gap:7px;margin-top:16px;font-size:14px;font-weight:700;display:inline-flex}.role-prototype-timeline{gap:0;display:grid}.role-prototype-timeline span{color:#5b716a;border-bottom:1px solid #edf2ef;padding:14px 0;font-size:13px}.role-prototype-timeline span:last-child{border-bottom:0}.role-prototype-timeline b{width:52px;color:var(--role-accent);font-size:12px;display:inline-block}.role-prototype-care-screen{background:#fffdf9;border:1px solid #e8dcd3;border-radius:22px;max-width:580px;margin:22px auto 0;padding:20px;box-shadow:0 18px 40px #57412c17}.role-prototype-care-header{grid-template-columns:1fr auto;align-items:center;gap:4px;display:grid}.role-prototype-care-header span{color:#907f71;font-size:13px}.role-prototype-care-header strong{color:#513d32;font-size:23px}.role-prototype-care-header button{color:#a8594c;cursor:pointer;background:#f9e4de;border:0;border-radius:50%;grid-row:span 2;place-items:center;width:46px;height:46px;display:grid}.role-prototype-care-main{color:#fff;background:#bb6758;border-radius:16px;margin-top:22px;padding:25px}.role-prototype-care-main span{color:#f8dfd7;font-size:13px}.role-prototype-care-main h2{margin:10px 0;font-size:28px;line-height:1.35}.role-prototype-care-main p{color:#fdebe5;margin:0;font-size:15px;line-height:1.6}.role-prototype-care-main button{color:#934638;min-height:50px;font:inherit;cursor:pointer;background:#fff7f3;border:0;border-radius:10px;align-items:center;gap:10px;margin-top:20px;padding:0 18px;font-size:16px;font-weight:800;display:inline-flex}.role-prototype-care-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;display:grid}.role-prototype-care-actions button{color:#7c493f;min-height:112px;font:inherit;cursor:pointer;background:#fff;border:1px solid #eadbd3;border-radius:14px;place-items:center;gap:5px;font-size:15px;font-weight:700;display:grid}.role-prototype-care-actions button:last-child{color:#b2443e;background:#fff4ef}.role-prototype-care-note{color:#8a7b72;text-align:center;margin:17px 4px 3px;font-size:12px;line-height:1.6}.role-prototype-patient-app{background:#f6f8fc;border:1px solid #dfe6f0;border-radius:24px;max-width:420px;min-height:690px;margin:22px auto 0;position:relative;overflow:hidden;box-shadow:0 18px 40px #2b4e881f}.role-prototype-patient-header{color:#fff;background:linear-gradient(135deg,#3d72d5,#6f91df);justify-content:space-between;align-items:center;padding:23px 20px 18px;display:flex}.role-prototype-patient-header span,.role-prototype-patient-header strong{display:block}.role-prototype-patient-header span{color:#ffffffbf;font-size:12px}.role-prototype-patient-header strong{margin-top:4px;font-size:22px}.role-prototype-patient-header button{color:#fff;cursor:pointer;background:#ffffff1f;border:1px solid #ffffff4d;border-radius:14px;place-items:center;width:42px;height:42px;display:grid}.role-prototype-patient-content{gap:14px;padding:18px 16px 94px;display:grid}.role-prototype-patient-main{color:#fff;background:#3b73d7;border-radius:17px;padding:21px;box-shadow:0 12px 24px #3260b62b}.role-prototype-patient-main span{color:#d8e5ff;font-size:12px}.role-prototype-patient-main h2{margin:8px 0;font-size:23px;line-height:1.35}.role-prototype-patient-main p{color:#e5efff;margin:0;font-size:14px;line-height:1.6}.role-prototype-patient-main button{color:#2756ad;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:0;border-radius:9px;align-items:center;gap:6px;margin-top:17px;padding:0 12px;font-size:13px;font-weight:800;display:inline-flex}.role-prototype-patient-health{grid-template-columns:1fr 1fr;gap:12px;display:grid}.role-prototype-patient-health div{background:#fff;border:1px solid #e0e6f0;border-radius:14px;padding:16px;position:relative}.role-prototype-patient-health span,.role-prototype-patient-health em{color:#74819a;font-size:11px;font-style:normal;display:block}.role-prototype-patient-health strong{color:#243b68;margin:8px 0 5px;font-size:24px;line-height:1;display:block}.role-prototype-patient-health small{font-size:12px}.role-prototype-patient-health em{color:#26805c}.role-prototype-patient-card{background:#fff;border:1px solid #e0e6f0;border-radius:14px;align-items:center;gap:11px;padding:15px;display:flex}.role-prototype-patient-card-icon{color:#3c71d3;background:#e5efff;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.role-prototype-patient-card div{flex:1}.role-prototype-patient-card strong{color:#263e6c;font-size:14px;display:block}.role-prototype-patient-card p{color:#7a879f;margin:4px 0 0;font-size:12px;line-height:1.5}.role-prototype-patient-card button{color:#3c71d3;cursor:pointer;background:#edf3ff;border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.role-prototype-patient-tabs{min-height:74px;padding:8px 5px max(8px,env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e1e6ef;grid-template-columns:repeat(5,1fr);display:grid;position:absolute;bottom:0;left:0;right:0}.role-prototype-patient-tabs button{color:#77849b;font:inherit;cursor:pointer;background:0 0;border:0;align-content:center;place-items:center;gap:3px;font-size:10px;display:grid}.role-prototype-patient-tabs button.active{color:#2d66cf;font-weight:800}.role-prototype-patient-services{gap:10px;display:grid}.role-prototype-patient-services-title{gap:2px;display:grid}.role-prototype-patient-services-title span{color:#7d8eaa;letter-spacing:.1em;font-size:10px;font-weight:800}.role-prototype-patient-services-title strong{color:#263e6c;font-size:17px}.role-prototype-patient-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.role-prototype-patient-service-grid button{color:#2c426d;min-width:0;font:inherit;cursor:pointer;background:0 0;border:0;gap:7px;padding:0;display:grid}.role-prototype-patient-service-grid button>span{aspect-ratio:1;color:#2a7a70;background:#e1f3ee;border-radius:13px;place-items:center;width:100%;display:grid}.role-prototype-patient-service-grid button:nth-child(2)>span{color:#6559ba;background:#eee9ff}.role-prototype-patient-service-grid button:nth-child(3)>span{color:#c36d4f;background:#fbe9e2}.role-prototype-patient-service-grid button:nth-child(4)>span{color:#ad781f;background:#fff1cf}.role-prototype-patient-service-grid button strong{color:#2d405f;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;overflow:hidden}.role-prototype-entry-panel{border:1px solid var(--prototype-line);background:#fff;border-radius:14px;margin-top:16px;padding:20px;box-shadow:0 5px 16px #1a38300a}.role-prototype-entry-heading{gap:4px;margin-bottom:16px;display:grid}.role-prototype-entry-heading span{color:#78928a;letter-spacing:.1em;font-size:10px;font-weight:800}.role-prototype-entry-heading h3{color:#1e3933;margin:0;font-size:19px}.role-prototype-entry-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.role-prototype-entry-grid button{color:#2c426d;min-width:0;font:inherit;cursor:pointer;background:0 0;border:0;gap:8px;padding:0;display:grid}.role-prototype-entry-grid button>span{aspect-ratio:1;width:100%;color:var(--role-accent);background:color-mix(in srgb, var(--role-accent) 12%, #fff);border-radius:14px;place-items:center;display:grid}.role-prototype-entry-grid button strong{color:#304b43;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;overflow:hidden}.role-prototype-workflow-panel{border:1px solid var(--prototype-line);background:#fff;border-radius:14px;margin-top:16px;padding:20px;box-shadow:0 5px 16px #1a38300a}.role-prototype-workflow-layout{grid-template-columns:minmax(0,.92fr) minmax(240px,1.08fr);gap:16px;display:grid}.role-prototype-workflow-groups{gap:8px;display:grid}.role-prototype-workflow-groups>button{color:#526b63;width:100%;min-height:64px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.role-prototype-workflow-groups>button:hover{background:#f4f8f6}.role-prototype-workflow-groups>button.active{border-color:color-mix(in srgb, var(--role-accent) 26%, #dfe8e4);color:#1e5147;background:color-mix(in srgb, var(--role-accent) 10%, #fff)}.role-prototype-workflow-groups>button>svg:first-child{color:var(--role-accent)}.role-prototype-workflow-groups span{gap:3px;min-width:0;display:grid}.role-prototype-workflow-groups strong{font-size:13px}.role-prototype-workflow-groups small{color:#71827c;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;overflow:hidden}.role-prototype-workflow-detail{background:#f2f7f5;border-radius:11px;align-content:start;gap:9px;padding:18px;display:grid}.role-prototype-workflow-detail>span{color:var(--role-accent);font-size:11px;font-weight:800}.role-prototype-workflow-detail>strong{color:#2a4d44;font-size:15px;line-height:1.5}.role-prototype-workflow-detail>div{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.role-prototype-workflow-detail button{color:#36584e;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d4e2dc;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.role-prototype-workflow-detail button:hover{border-color:var(--role-accent);color:var(--role-accent)}.role-prototype-voice{min-height:260px}.role-prototype-voice.active{border-color:color-mix(in srgb, var(--role-accent) 45%, #d8e5df);background:#fbfefc}.role-prototype-record-button{color:#fff;background:var(--role-accent);width:100%;min-height:58px;font:inherit;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:9px;margin-top:22px;font-size:16px;font-weight:800;display:inline-flex}.role-prototype-transcript{background:#eff6f2;border-radius:10px;gap:8px;margin-top:16px;padding:15px;display:grid}.role-prototype-transcript span{color:#6d877e;font-size:11px;font-weight:800}.role-prototype-transcript strong{color:#36584e;font-size:13px;line-height:1.6}.role-prototype-transcript button{color:var(--role-accent);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:start;padding:0;font-size:12px;font-weight:800}.role-prototype-toast{z-index:30;color:#fff;box-sizing:border-box;background:#24443b;border-radius:10px;align-items:center;gap:8px;width:min(480px,100vw - 32px);max-width:min(480px,100vw - 32px);padding:13px 18px;font-size:13px;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 28px #162c2633}@media (width<=820px){.role-prototype{grid-template-columns:1fr}.role-prototype-sidebar{display:none}.role-prototype-main{padding:20px 16px 40px}.role-prototype-mobile-roles{gap:8px;margin:18px -16px 0;padding:0 16px 4px;display:flex;overflow-x:auto}.role-prototype-mobile-roles button{color:#61736d;min-height:34px;font:inherit;white-space:nowrap;background:#fff;border:1px solid #d9e6e1;border-radius:999px;padding:0 12px;font-size:12px}.role-prototype-mobile-roles button.active{border-color:var(--role-accent);color:#fff;background:var(--role-accent)}.role-prototype-hero{flex-direction:column;align-items:stretch;min-height:0;margin-top:16px;padding:22px}.role-prototype-hero-status{min-width:0}.role-prototype-grid.two-columns,.role-prototype-grid.specialist-grid,.role-prototype-grid.grid-agent-layout,.role-prototype-workflow-layout,.role-prototype-metrics{grid-template-columns:1fr}.role-prototype-metric{min-height:96px}.role-prototype-list-row{grid-template-columns:1fr auto}.role-prototype-list-row>span:nth-child(2){grid-area:2/1/auto/-1}.role-prototype-list-row em{grid-area:1/2}.role-prototype-header h1,.role-prototype-care-main h2{font-size:24px}.role-prototype-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.role-prototype{background:#f5f7f8;min-height:100dvh;display:block}.role-prototype-sidebar{display:none}.role-prototype-main{background:#f7faf9;width:min(100%,520px);min-height:100dvh;margin:0 auto;padding:20px 16px 96px;position:relative;box-shadow:0 0 34px #1f36301a}.role-prototype-header{align-items:flex-start}.role-prototype-header p{font-size:11px}.role-prototype-header h1{font-size:25px}.role-prototype-header-actions{gap:8px}.role-prototype-icon-button{width:38px;height:38px}.role-prototype-avatar{width:36px;height:36px}.role-prototype-mobile-roles{gap:8px;margin:16px -16px 0;padding:0 16px 4px;display:flex;overflow-x:auto}.role-prototype-mobile-roles button{color:#61736d;min-height:34px;font:inherit;white-space:nowrap;background:#fff;border:1px solid #d9e6e1;border-radius:999px;padding:0 12px;font-size:12px}.role-prototype-mobile-roles button.active{border-color:var(--role-accent);color:#fff;background:var(--role-accent)}.role-prototype-hero{border-radius:14px;flex-direction:column;align-items:stretch;gap:14px;min-height:0;margin-top:14px;padding:20px}.role-prototype-hero h2{font-size:23px}.role-prototype-hero-status{min-width:0;padding:11px}.role-prototype-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.role-prototype-metric{border-radius:12px;min-height:86px;padding:13px 10px}.role-prototype-metric strong{margin:6px 0 4px;font-size:23px}.role-prototype-metric span,.role-prototype-metric small{font-size:10px}.role-prototype-grid{gap:12px;margin-top:12px}.role-prototype-grid.two-columns,.role-prototype-grid.specialist-grid,.role-prototype-grid.grid-agent-layout,.role-prototype-workflow-layout{grid-template-columns:1fr}.role-prototype-panel,.role-prototype-workflow-panel{border-radius:12px;padding:16px}.role-prototype-panel-title h3,.role-prototype-entry-heading h3{font-size:17px}.role-prototype-app-tabbar{z-index:20;width:min(100%,520px);min-height:calc(68px + env(safe-area-inset-bottom,0px));padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff7;border-top:1px solid #e1e9e5;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -8px 22px #1c383114}.role-prototype-app-tabbar button{color:#879691;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;align-content:center;place-items:center;gap:3px;font-size:10px;display:grid}.role-prototype-app-tabbar button.active{color:var(--role-accent);background:color-mix(in srgb, var(--role-accent) 11%, #fff);font-weight:800}@media (width<=520px){.role-prototype-main{width:100%;box-shadow:none}.role-prototype-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.role-prototype-workflow-groups small{white-space:normal}.role-prototype-list-row{grid-template-columns:1fr auto}.role-prototype-list-row>span:nth-child(2){grid-area:2/1/auto/-1}.role-prototype-list-row em{grid-area:1/2}}.rhs-runtime-app{--rhs-bg:#f4f8f6;--rhs-ink:#183c36;--rhs-ink-soft:#61756f;--rhs-card:#fff;--rhs-line:#dce7e2;color:#183c36;background:#f4f8f6;min-height:100dvh}.role-runtime-doctor{background:#e5fbf3}.role-runtime-doctor .role-prototype-main{background:#e9fff6}.role-runtime-doctor .role-prototype-header h1{color:#10243c}.role-runtime-doctor .role-prototype-header p{color:#536b82}.role-runtime-doctor .role-prototype-metric{border-color:#d7ece5;box-shadow:0 5px 16px #0774620d}.role-runtime-doctor .role-prototype-metric strong{color:#079c8f}.role-runtime-doctor .role-prototype-metric.coral strong{color:#d16f42}.role-runtime-doctor .role-prototype-panel{border-color:#d7ece5}.role-runtime-doctor .role-prototype-case-tags span{color:#4b7168;background:#edf7f3}.role-runtime-doctor .role-prototype-recommendation{background:#effaf6;border-left-color:#079c8f}.role-runtime-doctor .role-prototype-recommendation strong{color:#204f47}.role-runtime-doctor .role-prototype-action-button{background:#079c8f;border-color:#079c8f}.role-runtime-doctor .role-prototype-app-tabbar button.active{color:#067e73;background:#dcf6ee}.role-runtime-doctor .role-runtime-tab-list>button>span{color:#079c8f;background:#e5f8f1}.role-prototype.role-runtime-doctor{background:#e5fbf3!important}.role-runtime-doctor,.role-runtime-family,.role-runtime-child,.role-runtime-grid{--role-surface:#f2f8fd;--role-accent:#3b82c4!important}.role-runtime-doctor .role-prototype-header,.role-runtime-family .role-prototype-header,.role-runtime-child .role-prototype-header,.role-runtime-grid .role-prototype-header{color:#17324d;background:#fff;border-bottom:1px solid #dbeaf5}.role-runtime-doctor .role-prototype-header p,.role-runtime-doctor .role-prototype-header h1,.role-runtime-family .role-prototype-header p,.role-runtime-family .role-prototype-header h1,.role-runtime-child .role-prototype-header p,.role-runtime-child .role-prototype-header h1,.role-runtime-grid .role-prototype-header p,.role-runtime-grid .role-prototype-header h1{color:#17324d}.role-prototype.role-runtime-doctor,.role-prototype.role-runtime-family,.role-prototype.role-runtime-child,.role-prototype.role-runtime-grid{background:#f2f8fd!important}.role-runtime .role-prototype-action-button{background:#3b82c4;border-color:#3b82c4}.patient-care-app{min-height:100dvh;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));color:#17324d;background:#eff7fd;font-family:PingFang SC,-apple-system,sans-serif}.patient-care-header{color:#fff;background:#3b82c4;justify-content:space-between;align-items:center;min-height:96px;padding:18px 20px;display:flex}.patient-care-header span{color:#dbeeff;font-size:16px}.patient-care-header h1{margin:4px 0 0;font-size:25px}.patient-care-header button{color:#fff;background:#ffffff24;border:1px solid #ffffff73;border-radius:14px;place-items:center;width:52px;height:52px;display:grid}.patient-care-main{gap:16px;padding:18px 16px 26px;display:grid}.patient-care-voice-card{color:#fff;background:#3b82c4;border-radius:16px;padding:24px;box-shadow:0 10px 24px #3b82c438}.patient-care-kicker{color:#5e7c96;letter-spacing:1px;font-size:14px;font-weight:800}.patient-care-voice-card .patient-care-kicker{color:#dbeeff}.patient-care-voice-card h2{margin:10px 0 8px;font-size:25px;line-height:1.35}.patient-care-voice-card p{color:#e1f0ff;margin:0;font-size:17px;line-height:1.55}.patient-care-voice-card button{color:#1d5f9d;min-height:54px;font:inherit;background:#fff;border:0;border-radius:12px;align-items:center;gap:10px;margin-top:22px;padding:0 18px;font-size:18px;font-weight:800;display:inline-flex}.patient-care-reminder,.patient-care-sos{color:#17324d;text-align:left;background:#fff;border:1px solid #d8e8f4;border-radius:14px;grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:12px;width:100%;min-height:86px;padding:14px;display:grid;box-shadow:0 6px 16px #2659800f}.patient-care-reminder-icon{color:#3b82c4;background:#e6f2fb;border-radius:12px;place-items:center;width:48px;height:48px;display:grid}.patient-care-reminder strong,.patient-care-sos strong{font-size:18px;display:block}.patient-care-reminder p,.patient-care-sos small{color:#637b91;margin:4px 0 0;font-size:16px;line-height:1.4;display:block}.patient-care-section,.patient-care-panel{background:#fff;border:1px solid #d8e8f4;border-radius:16px;padding:20px 16px;box-shadow:0 6px 16px #2659800f}.patient-care-section-head{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:16px;display:flex}.patient-care-section h2,.patient-care-panel h2{margin:0;font-size:22px}.patient-care-section-head span,.patient-care-panel>p{color:#637b91;font-size:16px}.patient-care-panel>p{margin:9px 0 18px;line-height:1.55}.patient-care-action-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.patient-care-action-grid button{color:#244c70;min-height:112px;font:inherit;background:#f9fcff;border:1px solid #d9e8f3;border-radius:14px;place-items:center;gap:8px;padding:14px 8px;font-size:17px;font-weight:800;display:grid;position:relative}.patient-care-action-grid button span{color:#3b82c4;background:#e6f2fb;border-radius:12px;place-items:center;width:46px;height:46px;display:grid}.patient-care-action-grid em{color:#fff;background:#e17858;border-radius:50%;place-items:center;min-width:21px;height:21px;font-size:12px;font-style:normal;display:grid;position:absolute;top:9px;right:9px}.patient-care-sos{color:#a8462e;background:#fff7f3;border-color:#f0cfbf}.patient-care-sos>.app-icon:first-child{color:#d45d42}.patient-care-list{display:grid}.patient-care-list button{color:#3b82c4;text-align:left;background:0 0;border:0;border-bottom:1px solid #e7eff5;grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:12px;width:100%;min-height:74px;padding:12px 0;display:grid}.patient-care-list button:last-child{border-bottom:0}.patient-care-list button>span{color:#3b82c4;background:#e6f2fb;border-radius:12px;place-items:center;width:44px;height:44px;display:grid}.patient-care-list strong,.patient-care-list small{display:block}.patient-care-list strong{color:#17324d;font-size:17px}.patient-care-list small{color:#637b91;margin-top:4px;font-size:15px;line-height:1.4}.patient-care-tabs{z-index:70;min-height:calc(72px + env(safe-area-inset-bottom,0px));padding:7px max(12px, calc((100vw - 520px) / 2)) calc(7px + env(safe-area-inset-bottom,0px));background:#fffffffa;border-top:1px solid #d5e5f1;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 22px #2250771a}.patient-care-tabs button{color:#6b8295;min-height:52px;font:inherit;background:0 0;border:0;border-radius:12px;align-content:center;place-items:center;gap:4px;font-size:14px;display:grid}.patient-care-tabs button.active{color:#236fae;background:#e6f2fb;font-weight:800}.patient-care-signout,.patient-care-alert-count{display:none}.patient-care-account-management{background:#fff;border:1px solid #d8e9f2;border-radius:16px;gap:12px;padding:18px;display:grid;box-shadow:0 8px 20px #2250770f}.patient-care-account-management__button{color:#236fae;min-height:48px;font:inherit;background:#f3f9fd;border:1px solid #c9e1ef;border-radius:12px;align-items:center;gap:10px;padding:0 14px;font-weight:800;display:flex}.patient-care-account-management__button span{text-align:left;flex:1}@media (width>=521px){.patient-care-app{width:520px;margin:0 auto;box-shadow:0 0 34px #2659801c}.patient-care-tabs{width:520px;left:50%;right:auto;transform:translate(-50%)}}.role-runtime-signout{border:1px solid var(--prototype-line);color:#42655c;min-height:38px;font:inherit;cursor:pointer;background:#fff;border-radius:9px;align-items:center;gap:5px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.role-runtime-empty{color:#71827c;margin:0;padding:18px 0;font-size:13px}.role-runtime-tab-page{border:1px solid var(--prototype-line);background:#fff;border-radius:14px;margin-top:18px;padding:18px;box-shadow:0 5px 16px #1a38300a}.role-runtime-tab-page>p{color:#71827c;margin:-3px 0 16px;font-size:13px;line-height:1.6}.role-runtime-tab-list{display:grid}.role-runtime-tab-list>button{color:#47665d;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #edf2ef;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:12px;padding:14px 0;display:grid}.role-runtime-tab-list>button:last-child{border-bottom:0}.role-runtime-tab-list>button>span{width:42px;height:42px;color:var(--role-accent);background:color-mix(in srgb, var(--role-accent) 11%, #fff);border-radius:11px;place-items:center;display:grid}.role-runtime-tab-list strong,.role-runtime-tab-list small{display:block}.role-runtime-tab-list strong{color:#29473f;font-size:14px}.role-runtime-tab-list small{color:#71827c;margin-top:4px;font-size:12px;line-height:1.45}.child-home-feed{gap:16px;margin-top:18px;display:grid}.child-home-panel{background:#fff;border:1px solid #dfe8e4;border-radius:14px;padding:24px;box-shadow:0 5px 16px #1a38300a}.child-home-panel-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.child-home-panel-head span{color:#78928a;letter-spacing:1.2px;font-size:11px;font-weight:800}.child-home-panel-head h2{color:#1e3933;margin:7px 0 0;font-size:22px}.child-home-panel-head button{color:#416fb1;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:3px 0;font-size:13px;font-weight:800;display:inline-flex}.child-home-timeline{margin-top:28px;display:grid}.child-home-timeline div{border-bottom:1px solid #edf2ef;grid-template-columns:78px minmax(0,1fr);gap:12px;padding:20px 0;display:grid}.child-home-timeline div:last-child{border-bottom:0}.child-home-timeline strong{color:#416fb1;font-size:14px}.child-home-timeline span{color:#607871;font-size:15px;line-height:1.5}.child-home-task{background:#eef6f3;border-radius:14px;margin-top:24px;padding:26px}.child-home-task>strong{color:#426f63;font-size:15px}.child-home-task h3{color:#22463d;margin:16px 0 8px;font-size:19px}.child-home-task p{color:#70847e;margin:0;font-size:14px}.child-home-task>div{justify-content:flex-end;gap:12px;margin-top:28px;display:flex}.child-home-task button{color:#48685e;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbdcd6;border-radius:9px;padding:0 15px;font-weight:700}.child-home-task button.primary{color:#fff;background:#416fb1;border-color:#416fb1}.child-home-services{margin-top:22px;display:grid}.child-home-services button{color:#416fb1;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #edf2ef;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:14px;padding:18px 12px;display:grid}.child-home-services button:first-child{background:#edf3fb;border:1px solid #b9cce7;border-radius:12px}.child-home-services button:last-child{border-bottom:0}.child-home-services span{gap:5px;display:grid}.child-home-services strong{color:#285349;font-size:16px}.child-home-services small{color:#748781;font-size:13px;line-height:1.5}.runtime-legacy-source{display:none!important}.patient-care-family-binding{background:#fff;border:1px solid #d8e8f4;border-radius:16px;padding:20px 16px;box-shadow:0 6px 16px #2659800f}.patient-care-family-binding .patient-care-section-head{margin-bottom:12px}.patient-care-family-binding .patient-care-section-head>div{min-width:0}.patient-care-family-binding .patient-care-section-head>.app-icon{color:#3b82c4;flex:none}.patient-care-family-binding .patient-care-section-head h2{margin:0;font-size:22px}.patient-care-family-binding .patient-care-section-head span{color:#637b91;margin-top:5px;font-size:15px;display:block}.patient-care-family-list{gap:8px;margin-bottom:14px;display:grid}.patient-care-family-bound{margin-top:14px}.patient-care-family-bound-label{color:#345c7d;margin:0 0 8px;font-size:15px;font-weight:700}.patient-care-family-item{background:#f3f8fc;border-radius:10px;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;display:grid}.patient-care-family-item__icon{color:#3b82c4;background:#e6f2fb;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.patient-care-family-item strong,.patient-care-family-item small{display:block}.patient-care-family-item strong{color:#17324d;font-size:16px}.patient-care-family-item--request{grid-template-columns:38px minmax(0,1fr) auto}.patient-care-family-request-actions{gap:6px;display:flex}.patient-care-family-request-button{color:#345c7d;white-space:nowrap;background:#fff;border:1px solid #c7d8e6;border-radius:8px;min-height:32px;padding:0 9px;font-size:12px;font-weight:700}.patient-care-family-request-button.primary{color:#fff;background:#3b82c4;border-color:#3b82c4}.patient-care-family-request-button:disabled{opacity:.55}.patient-care-family-item small,.patient-care-family-empty{color:#637b91;margin:4px 0 0;font-size:14px}.patient-care-family-empty{margin:0 0 12px}.patient-care-family-form{gap:7px;display:grid}.patient-care-family-form label{color:#345c7d;font-size:15px;font-weight:700}.patient-care-family-phone-row{gap:8px;display:flex}.patient-care-family-action-row{grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:8px;display:grid}.patient-care-family-role-field{gap:7px;min-width:0;display:grid}.patient-care-family-form input{color:#17324d;min-width:0;min-height:46px;font:inherit;background:#fbfdff;border:1px solid #c9ddea;border-radius:10px;flex:1;padding:0 12px;font-size:16px}.patient-care-family-role-select{gap:6px;display:grid;position:relative}.patient-care-family-role-trigger{color:#17324d;width:100%;min-height:46px;font:inherit;text-align:left;cursor:pointer;background:#fbfdff;border:1px solid #c9ddea;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;font-size:16px;display:flex}.patient-care-family-role-trigger:disabled{cursor:not-allowed;opacity:.55}.patient-care-family-role-chevron{transform:rotate(90deg)}.patient-care-family-role-menu{z-index:5;background:#fff;border:1px solid #c9ddea;border-radius:10px;gap:4px;padding:5px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;box-shadow:0 8px 18px #2659801f}.patient-care-family-role-option{color:#345c7d;min-height:38px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 10px;font-size:15px}.patient-care-family-role-option[aria-selected=true]{color:#236c5d;background:#e7f5ef}.patient-care-family-bind-button{color:#fff;width:auto;min-width:112px;min-height:46px;font:inherit;cursor:pointer;background:#3b82c4;border:0;border-radius:10px;flex:none;padding:0 14px;font-size:15px;font-weight:700}.patient-care-family-bind-button:disabled{cursor:not-allowed;opacity:.55}.patient-care-family-message{margin:9px 0 0;font-size:14px;line-height:1.45}.patient-care-family-message--success{color:#25865e}.patient-care-family-message--error{color:#b94d3b}@media (width<=390px){.patient-care-family-phone-row{flex-direction:column;align-items:stretch}.patient-care-family-bind-button{width:100%}.patient-care-family-action-row{grid-template-columns:minmax(0,1fr) minmax(104px,auto)}.patient-care-family-item--request{grid-template-columns:38px minmax(0,1fr)}.patient-care-family-request-actions{grid-column:2}}.rhs-runtime-app .rhs-shell{width:min(100%,520px);max-width:520px;min-height:100dvh;padding:22px 18px calc(102px + env(safe-area-inset-bottom,0px));background:#f4f8f6;margin:0 auto}.rhs-runtime-app .rhs-home-topbar{align-items:center;min-height:58px;padding:0}.rhs-runtime-app .rhs-home-avatar{color:#087f68;width:46px;height:46px;box-shadow:none;background:#dff3ec}.rhs-runtime-app .rhs-home-overline,.rhs-runtime-app .rhs-section-kicker{color:#7b8d87;letter-spacing:1.4px;font-size:12px;font-weight:800}.rhs-runtime-app .rhs-home-user strong{color:#183c36;margin-top:2px;font-size:25px}.rhs-runtime-app .rhs-home-signout{color:#315d53;min-height:38px;box-shadow:none;background:#fff;border:1px solid #d6e2dd;border-radius:9px;padding:8px 11px;font-size:13px}.rhs-runtime-app .rhs-home-context{color:#73847f;background:0 0;border:0;min-height:auto;margin:15px 0 17px;padding:0;font-size:14px}.rhs-runtime-app .rhs-launcher-viewport{margin-top:0}.rhs-runtime-app .rhs-tile{border-color:#e0e9e5;box-shadow:0 8px 24px #1f44370e}.rhs-runtime-app .rhs-tile-lead{color:#f7fffc;background:#0b7666;border:1px solid #d5e7df;border-radius:14px;min-height:148px;padding:22px;box-shadow:0 12px 24px #0b766629}.rhs-runtime-app .rhs-tile-lead .rhs-tile-kicker{color:#ccece3;letter-spacing:.7px}.rhs-runtime-app .rhs-tile-lead strong{color:#fff;font-size:26px;line-height:1.3}.rhs-runtime-app .rhs-tile-lead .rhs-lead-copy>span:last-child{color:#d9f3eb}.rhs-runtime-app .rhs-lead-mark{color:#e6faf3;background:#ffffff2e;width:62px;height:62px}.rhs-runtime-app .rhs-lead-arrow{color:#e6faf3}.rhs-runtime-app .rhs-metric-strip{background:#fff;border:1px solid #e0e9e5;border-radius:14px;margin:14px 0 22px;box-shadow:0 8px 24px #1f44370b}.rhs-runtime-app .rhs-metric-strip>div{border-color:#e5ece9;padding:17px 7px}.rhs-runtime-app .rhs-metric-strip strong{color:#087f68;font-size:27px}.rhs-runtime-app .rhs-metric-strip strong.is-alert{color:#bd594d}.rhs-runtime-app .rhs-metric-strip span{color:#748781;font-size:12px}.rhs-runtime-app .rhs-section-heading{align-items:end;margin:5px 0 14px}.rhs-runtime-app .rhs-section-heading h2{color:#183c36;margin-top:3px;font-size:23px}.rhs-runtime-app .rhs-section-heading>span{color:#81918c;font-size:13px}.rhs-runtime-app .rhs-grid{gap:12px}.rhs-runtime-app .rhs-grid .rhs-tile{background:#fff;border-radius:13px;min-height:116px;padding:14px 8px}.rhs-runtime-app .rhs-tile-icon{color:#087f68;background:#e0f3ec;width:48px;height:48px}.rhs-runtime-app .rhs-grid .rhs-tile:nth-child(2) .rhs-tile-icon{color:#6a63b8;background:#ece8ff}.rhs-runtime-app .rhs-grid .rhs-tile:nth-child(3) .rhs-tile-icon{color:#c56449;background:#fdeae3}.rhs-runtime-app .rhs-grid .rhs-tile:nth-child(4) .rhs-tile-icon{color:#a56b16;background:#fff0ce}.rhs-runtime-app .rhs-tile-label{color:#203e38;font-size:15px;font-weight:800}.rhs-runtime-app .rhs-tile-badge{background:#c96c59;border:2px solid #fff}.rhs-runtime-app .rhs-home-inline-card{color:#294d45;background:#fff;border:1px solid #e0e9e5;border-radius:12px;box-shadow:0 8px 22px #1f44370d}.rhs-runtime-app .rhs-home-inline-card-alert{background:#fff8f5;border-color:#f0d6cc}.rhs-runtime-app .rhs-toolbar{margin:18px 0 0}.rhs-runtime-app .rhs-toolbar-chip{color:#396259;background:#fff;border-color:#d7e4df}.rhs-runtime-app .rhs-bottom-tabbar{z-index:60;width:min(100%,520px);min-height:calc(67px + env(safe-area-inset-bottom,0px));padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px));background:#fffffffa;border-top:1px solid #dce7e2;position:fixed;bottom:0;left:50%;right:auto;transform:translate(-50%);box-shadow:0 -7px 24px #1f44371a}.rhs-runtime-app .rhs-bottom-tab{color:#83938e}.rhs-runtime-app .rhs-bottom-tab.active{color:#087f68;background:#e4f5ef}.rhs-runtime-app .rhs-bottom-tab span{font-size:11px}.rhs-child-runtime-app .rhs-tile-lead{background:#176d81}.rhs-child-runtime-app .rhs-home-avatar,.rhs-child-runtime-app .rhs-tile-icon{color:#176d81;background:#e0f2f4}.rhs-child-runtime-app .rhs-metric-strip strong{color:#176d81}.grid-agent-dashboard.grid-agent-app{width:min(100%,520px);min-height:100dvh;padding:22px 18px calc(94px + env(safe-area-inset-bottom,0px));color:#183c36;background:#f4f8f6;margin:0 auto}.grid-agent-app .grid-agent-heading{background:0 0;border:0;align-items:flex-start;min-height:auto;padding:0 0 18px}.grid-agent-app .grid-agent-heading h2{color:#183c36;margin:3px 0 4px;font-size:25px}.grid-agent-app .grid-agent-heading p{color:#748781;font-size:14px}.grid-agent-app .grid-agent-kicker{letter-spacing:1.4px;color:#087f68!important}.grid-agent-app .grid-agent-actions{gap:7px}.grid-agent-app .grid-agent-actions button{color:#42675e;border-color:#d6e2dd;border-radius:9px;min-height:36px;padding:7px 10px}.grid-agent-app .grid-agent-actions .primary{background:#087f68;border-color:#087f68}.grid-agent-app .grid-agent-metrics{background:0 0;border:0;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 18px}.grid-agent-app .grid-agent-metrics article{background:#fff;border-radius:12px;min-height:134px;padding:16px;box-shadow:0 7px 18px #1f44370b;border:1px solid #e0e9e5!important}.grid-agent-app .grid-agent-metrics strong{color:#087f68;font-size:29px}.grid-agent-app .grid-metric-track{border-radius:3px;height:4px;margin-top:12px}.grid-agent-app .grid-metric-track i{border-radius:inherit;background:#20a182}.grid-agent-app .grid-agent-residents{background:0 0;border:0;margin-top:0}.grid-agent-app .grid-resident-toolbar{border:0;padding:0;display:block}.grid-agent-app .grid-filter-tabs{flex-wrap:nowrap;margin-bottom:12px;padding-bottom:2px;display:flex;overflow-x:auto}.grid-agent-app .grid-filter-tabs button{color:#61756f;background:#fff;border-color:#dce7e2;border-radius:17px;flex:none;min-height:33px;padding:6px 10px;font-size:12px}.grid-agent-app .grid-filter-tabs button.active{color:#fff;background:#087f68;border-color:#087f68}.grid-agent-app .grid-resident-toolbar input{box-sizing:border-box;background:#fff;border-color:#dce7e2;border-radius:10px;width:100%;min-height:43px}.grid-agent-app .grid-resident-table-wrap{display:none}.grid-agent-app .grid-resident-card-list{gap:10px;margin-top:14px;display:grid}.grid-resident-card{background:#fff;border:1px solid #e0e9e5;border-radius:12px;padding:15px;box-shadow:0 7px 18px #1f44370a}.grid-resident-card-head{justify-content:space-between;align-items:start;gap:12px;display:flex}.grid-resident-card-head>div{gap:4px;display:grid}.grid-resident-card-head strong{color:#183c36;font-size:17px}.grid-resident-card-head span{color:#748781;font-size:12px}.grid-resident-card-grid{border-top:1px solid #edf2ef;border-bottom:1px solid #edf2ef;grid-template-columns:repeat(3,1fr);gap:6px;margin:13px 0 11px;padding:11px 0;display:grid}.grid-resident-card-grid>span{color:#7a8d87;gap:5px;font-size:11px;display:grid}.grid-resident-card-grid strong{color:#087f68;font-size:16px}.grid-resident-card-grid .grid-status-mark{width:fit-content;min-height:20px;padding:2px 5px;font-size:10px}.grid-resident-card p,.grid-resident-card small{color:#60746e;margin:0;font-size:12px;line-height:1.55;display:block}.grid-resident-card small{color:#a06b55;margin-top:4px}.grid-agent-app .grid-table-footer{color:#7a8d87;padding:14px 2px 0}.grid-agent-app .grid-agent-tabbar{width:min(100%,520px);padding-left:12px;padding-right:12px;left:50%;right:auto;transform:translate(-50%)}@media (width<=380px){.rhs-runtime-app .rhs-home-user strong{font-size:22px}.rhs-runtime-app .rhs-home-signout span{display:none}.grid-agent-app .grid-agent-heading{gap:10px}.grid-agent-app .grid-agent-actions button{padding:7px 8px}}.role-runtime{--role-shell-bg:#070711;--role-surface:#eef4f7;--role-paper:#fff;--role-text:#162d37;--role-muted:#72838a;--role-line:#d9e5e8;background:var(--role-shell-bg);min-height:100dvh;color:var(--role-text)}.role-runtime .role-prototype-main{background:var(--role-surface);min-height:100dvh;box-shadow:0 0 44px #00000047}.role-runtime .role-prototype-header p,.role-runtime .role-prototype-metric span,.role-runtime .role-prototype-metric small,.role-runtime .role-prototype-panel-title span,.role-runtime .role-runtime-tab-page>p{color:var(--role-muted)}.role-runtime .role-prototype-header h1,.role-runtime .role-prototype-panel-title h3,.role-runtime .role-prototype-list-row .role-prototype-person,.role-runtime .role-prototype-plan-card strong,.role-runtime .role-prototype-entry-heading h3{color:var(--role-text)}.role-runtime .role-prototype-icon-button{color:#fff;background:color-mix(in srgb, var(--role-accent) 88%, #152333);box-shadow:0 7px 18px color-mix(in srgb, var(--role-accent) 24%, transparent);border-color:#ffffff6b}.role-runtime .role-runtime-signout{border-color:color-mix(in srgb, var(--role-accent) 24%, #d9e5e8);color:var(--role-accent);background:var(--role-paper)}.role-runtime .role-prototype-metrics{gap:10px}.role-runtime .role-prototype-metric{border-color:var(--role-line);background:var(--role-paper);box-shadow:0 8px 20px #1c343e0e}.role-runtime .role-prototype-panel,.role-runtime .role-runtime-tab-page,.role-runtime .role-prototype-workflow-panel,.role-runtime .role-prototype-entry-panel{border-color:var(--role-line);background:var(--role-paper);box-shadow:0 10px 24px #1c343e0f}.role-runtime .role-prototype-case-tags span{color:#526b72;background:#edf4f3}.role-runtime .role-prototype-recommendation{background:#f1f4ff}.role-runtime .role-prototype-recommendation strong{color:#2a416d}.role-runtime .role-prototype-list-row{border-color:#e8eff0}.role-runtime .role-prototype-list-row em{color:var(--role-accent)}.role-runtime .role-prototype-action-button,.role-runtime .role-prototype-record-button{box-shadow:0 9px 18px color-mix(in srgb, var(--role-accent) 20%, transparent)}.role-runtime .role-prototype-app-tabbar{border-color:var(--role-line);background:#fffffff7;box-shadow:0 -10px 26px #1b313a21}.role-runtime-doctor{--role-surface:#e9fff6;--role-accent:#079c8f!important}.role-runtime-doctor .role-prototype-header{color:#10243c;background:#e9fff6;margin:-20px -16px 0;padding:20px 16px 18px}.role-runtime-doctor .role-prototype-header p,.role-runtime-doctor .role-prototype-header h1{color:#10243c}.role-runtime-doctor .role-prototype-metric.teal{background:#e7faf3}.role-runtime-doctor .role-prototype-metric.blue{background:#edf9f6}.role-runtime-doctor .role-prototype-metric.coral{background:#fff0eb}.role-runtime-doctor .role-prototype-recommendation{background:#effaf6}.role-runtime-family{--role-surface:#f1f7f5;--role-accent:#117d72!important}.role-runtime-family .role-prototype-header{color:#fff;background:linear-gradient(135deg,#0f6d65 0%,#32a397 100%);margin:-20px -16px 0;padding:20px 16px 18px}.role-runtime-family .role-prototype-header p,.role-runtime-family .role-prototype-header h1{color:#fff}.role-runtime-family .role-prototype-metric.teal{background:#e6f6f1}.role-runtime-family .role-prototype-metric.blue{background:#edf3ff}.role-runtime-family .role-prototype-metric.coral{background:#fff0eb}.role-runtime-family .role-prototype-plan-card{background:#eef7f4}.role-runtime-family .role-prototype-panel-title button{color:#117d72}.role-runtime-child{--role-surface:#edfafa;--role-accent:#168fb2!important}.role-runtime-child .role-prototype-header{color:#fff;background:linear-gradient(135deg,#118ca8 0%,#46c4d7 100%);margin:-20px -16px 0;padding:20px 16px 18px}.role-runtime-child .role-prototype-header p,.role-runtime-child .role-prototype-header h1{color:#fff}.role-runtime-child .role-prototype-care-main{background:linear-gradient(135deg,#1593a5,#44c6ce)}.role-runtime-grid{--role-surface:#fff6e8;--role-accent:#bd7627!important}.role-runtime-grid .role-prototype-header{color:#fff;background:linear-gradient(135deg,#b7641e 0%,#e09a3e 100%);margin:-20px -16px 0;padding:20px 16px 18px}.role-runtime-grid .role-prototype-header p,.role-runtime-grid .role-prototype-header h1{color:#fff}.role-runtime-grid .role-prototype-panel-title span,.role-runtime-grid .role-prototype-entry-heading span{color:#a76725}.role-runtime-grid .role-prototype-filter-tabs button.active{background:#bd7627}@media (width>=821px){.role-runtime .role-prototype-main{border-radius:0}}@media (width<=520px){.role-runtime .role-prototype-main{padding:20px 16px 96px}.role-runtime .role-prototype-header{margin:-20px -16px 0}}.role-prototype-home-groups{gap:14px;margin-top:16px;display:grid}.role-prototype-home-group{border:1px solid var(--role-line);background:var(--role-paper);border-radius:16px;padding:16px;box-shadow:0 10px 24px #1c343e0e}.role-prototype-home-group-header{align-items:flex-start;gap:11px;display:flex}.role-prototype-home-group-icon{width:38px;height:38px;color:var(--role-accent);background:color-mix(in srgb, var(--role-accent) 13%, #fff);border-radius:12px;flex:none;place-items:center;display:grid}.role-prototype-home-group-header>div{min-width:0}.role-prototype-home-group-kicker{color:var(--role-accent);letter-spacing:.12em;font-size:10px;font-weight:800}.role-prototype-home-group h2{color:var(--role-text);margin:3px 0 2px;font-size:18px}.role-prototype-home-group p{color:var(--role-muted);margin:0;font-size:12px;line-height:1.5}.role-prototype-home-service-grid{gap:7px;margin-top:14px;display:grid}.role-prototype-home-service{width:100%;min-height:58px;color:var(--role-accent);font:inherit;text-align:left;cursor:pointer;background:#fbfdfd;border:1px solid #e7eef0;border-radius:11px;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:8px 5px 8px 8px;display:grid}.role-prototype-home-service:hover{border-color:color-mix(in srgb, var(--role-accent) 32%, #e7eef0);background:color-mix(in srgb, var(--role-accent) 5%, #fff)}.role-prototype-home-service-icon{width:38px;height:38px;color:var(--role-accent);background:color-mix(in srgb, var(--role-accent) 12%, #fff);border-radius:10px;place-items:center;display:grid}.role-prototype-home-service-copy{gap:3px;min-width:0;display:grid}.role-prototype-home-service-copy strong{color:var(--role-text);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.role-prototype-home-service-copy small{color:var(--role-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;overflow:hidden}.role-prototype-home-service>.app-icon{color:var(--role-muted)}.role-runtime-doctor .role-prototype-home-group:nth-child(2) .role-prototype-home-service-icon{color:#168fb2;background:#e8f8fa}.role-runtime-child .role-prototype-home-group:nth-child(2) .role-prototype-home-service-icon{color:#5c63c4;background:#efedff}.role-runtime-grid .role-prototype-home-group:nth-child(2) .role-prototype-home-service-icon{color:#bd7627;background:#fff0d4}@media (width<=520px){.role-runtime .role-prototype-main{padding-bottom:96px}.role-prototype-home-group{padding:14px}}.role-runtime,.role-prototype.role-runtime-doctor,.role-prototype.role-runtime-family,.role-prototype.role-runtime-child,.role-prototype.role-runtime-grid{--role-shell-bg:#f2f8fd;--role-accent:#3b82c4!important;--role-surface:#f2f8fd!important;background:#f2f8fd!important}.role-runtime .role-prototype-main{width:min(100%,520px);padding:18px 16px calc(94px + env(safe-area-inset-bottom,0px));margin:0 auto;box-shadow:0 0 24px #25557e14;background:#f2f8fd!important}.role-runtime .role-prototype-header,.role-runtime-doctor .role-prototype-header,.role-runtime-family .role-prototype-header,.role-runtime-child .role-prototype-header,.role-runtime-grid .role-prototype-header{color:#17324d;background:#fff;border-bottom:1px solid #d8e8f4;margin:-18px -16px 0;padding:18px 16px}.role-runtime .role-prototype-header p,.role-runtime .role-prototype-header h1{color:#17324d!important}.role-runtime .role-prototype-header p{font-size:16px}.role-runtime .role-prototype-header h1{font-size:26px}.role-runtime .role-prototype-icon-button{color:#3b82c4;width:48px;height:48px;box-shadow:none;background:#f7fbff;border-color:#c7ddec}.role-runtime .role-runtime-signout{color:#285f94;border-color:#c7ddec;min-height:48px;padding:0 14px;font-size:16px}.role-runtime .role-prototype-metric{border-color:#d8e8f4;border-radius:14px;min-height:112px;padding:16px;box-shadow:0 6px 16px #25557e0f}.role-runtime .role-prototype-metric span,.role-runtime .role-prototype-metric small{font-size:16px}.role-runtime .role-prototype-metric.blue strong{color:#3b82c4}.role-runtime .role-prototype-metric.yellow strong{color:#bd8b32}.role-runtime .role-prototype-panel,.role-runtime .role-runtime-tab-page{border-color:#d8e8f4;border-radius:16px;box-shadow:0 6px 16px #25557e0f}.role-runtime .role-prototype-panel-title h3,.role-runtime .role-prototype-entry-heading h3{font-size:22px}.role-runtime .role-prototype-panel-title span,.role-runtime .role-prototype-entry-heading span{color:#63809a;font-size:14px}.role-runtime .role-prototype-plan-card{background:#eff7fd}.role-runtime .role-prototype-action-button{background:#3b82c4;border-color:#3b82c4;min-height:50px;font-size:16px}.role-runtime .role-runtime-tab-page{margin-top:18px;padding:20px 16px}.role-runtime .role-runtime-tab-page>p{margin:8px 0 16px;font-size:16px}.role-runtime .role-runtime-tab-list>button{min-height:74px;padding:12px 0}.role-runtime .role-runtime-tab-list strong{color:#17324d;font-size:17px}.role-runtime .role-runtime-tab-list small{color:#617c92;font-size:16px}.role-runtime .role-runtime-tab-list>button>span{color:#3b82c4;background:#e7f2fb;border-radius:12px;width:48px;height:48px}.role-runtime .role-prototype-app-tabbar{width:min(100%,520px);min-height:calc(72px + env(safe-area-inset-bottom,0px));padding-bottom:calc(7px + env(safe-area-inset-bottom,0px));background:#fffffffa;border-color:#d8e8f4;left:50%;right:auto;transform:translate(-50%)}.role-runtime .role-prototype-app-tabbar button{color:#688094;min-height:54px;font-size:14px}.grid-visit-recorder .role-prototype-record-button{color:#fff;background:#3b82c4;border-color:#3b82c4;border-radius:14px;width:100%;min-height:56px;font-size:17px}.grid-visit-recorder .role-prototype-record-button.active{background:#52b788;border-color:#52b788}.grid-visit-recorder .role-prototype-transcript{background:#eff7fd;border-radius:14px;gap:12px;margin-top:18px;padding:16px;display:grid}.grid-visit-recorder .role-prototype-transcript span{color:#3b82c4;font-size:16px}.grid-visit-recorder .role-prototype-transcript strong{color:#17324d;font-size:17px;line-height:1.6}.grid-visit-recorder .role-prototype-transcript div{gap:10px;display:flex}.grid-visit-recorder .role-prototype-transcript button{color:#28669f;min-height:48px;font:inherit;background:#fff;border:1px solid #b9d3e7;border-radius:10px;padding:0 12px;font-size:16px}.grid-visit-recorder .role-prototype-transcript small{color:#25865e;font-size:16px}:root{--ui-primary:#3b82c4;--ui-primary-strong:#286da9;--ui-primary-soft:#eaf3fb;--ui-success:#52b788;--ui-success-soft:#eaf7f0;--ui-warning:#d8953d;--ui-warning-soft:#fff6e6;--ui-danger:#d95c5c;--ui-danger-soft:#fff0f0;--ui-page:#f2f6fa;--ui-surface:#fbfdff;--ui-surface-muted:#f6f9fc;--ui-line:#dce7f0;--ui-text:#19324a;--ui-text-secondary:#597187;--ui-text-muted:#8193a2;--ui-radius:16px;--ui-radius-sm:12px;--ui-shadow:0 8px 22px #2b567913;--ui-shadow-raised:0 12px 28px #2b56791f}body{background:var(--ui-page);color:var(--ui-text)}.app{background:var(--ui-page)}.card,.content-card,.content-section-card,.feature-card,.modal-card,.assessment-card,.assessment-content-card,.saved-assessment-card,.wearable-form-card,.wearable-history-card,.schedule-card,.patient-card,.patient-card-simple,.health-education-card,.health-education-article,.admin-card,.admin-conversation-card,.doctor-consultation-card,.doctor-consultation-peer-card,.dashboard-collapsible-card,.ezviz-integration-card,.image-preview-card,.public-feedback-card,.public-feedback-doctor-card,.public-feedback-audio-card,.grid-resident-card{border:1px solid var(--ui-line)!important;border-radius:var(--ui-radius)!important;background:var(--ui-surface)!important;box-shadow:var(--ui-shadow)!important}.card:hover,.health-education-card:hover,.patient-card:hover,.patient-card-simple:hover{box-shadow:var(--ui-shadow-raised)!important;border-color:#c8ddec!important}.card-title,.card h2,.card h3,.content-card h2,.content-card h3,.content-section-card h2,.content-section-card h3,.page-title,.section-title{color:var(--ui-text)!important}.card-subtitle,.card p,.content-card p,.content-section-card p,.form-hint,.helper-text{color:var(--ui-text-secondary)!important}.muted,.empty-tip,.empty-state,.card small,.card time{color:var(--ui-text-muted)!important}button,.primary-button,.secondary-button,.action-button,.auth-button,.file-upload-button{border-radius:var(--ui-radius-sm);min-height:48px;font-weight:700}.primary-button,.auth-button,.action-button:not(.action-button-secondary),.role-prototype-action-button{box-shadow:0 7px 16px #3b82c42e;border-color:var(--ui-primary)!important;color:#fff!important;background:var(--ui-primary)!important}.primary-button:hover:not(:disabled),.auth-button:hover:not(:disabled),.action-button:not(.action-button-secondary):hover:not(:disabled){background:var(--ui-primary-strong)!important}.secondary-button,.action-button-secondary{color:var(--ui-primary-strong)!important;background:var(--ui-surface)!important;box-shadow:none!important;border-color:#c9dce9!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #3b82c43d}button:disabled{opacity:.55}input,select,textarea,.form-group input,.form-group select,.form-group textarea,.form-group .app-select-trigger{min-height:48px;border-radius:var(--ui-radius-sm)!important;color:var(--ui-text)!important;background:var(--ui-surface-muted)!important;border-color:#cbdce8!important}textarea,.form-group textarea{min-height:112px}input::placeholder,textarea::placeholder{color:#94a5b3}input:focus,select:focus,textarea:focus,.form-group input:focus,.form-group select:focus,.form-group textarea:focus,.app-select.is-open .app-select-trigger,.app-select-trigger:focus-visible{border-color:var(--ui-primary)!important;background:#fff!important;box-shadow:0 0 0 3px #3b82c421!important}.app-select-trigger.is-placeholder{color:#94a5b3!important}.form-group label,.form-label{font-weight:700;color:var(--ui-text-secondary)!important}.status-tag,.status-badge,.badge,.tag,.pill,.grid-status-mark,.rhs-toolbar-chip,.role-prototype-case-tags span{min-height:26px;color:var(--ui-primary-strong);background:var(--ui-primary-soft);border:1px solid #c9ddec;border-radius:999px;align-items:center;padding:3px 9px;font-size:14px;font-weight:700;display:inline-flex}.success,.positive,.stable,.online,.status-ok,.status-success,.grid-status-mark.positive{color:#287c59!important;background:var(--ui-success-soft)!important;border-color:#bee4cf!important}.warning,.pending,.waiting,.status-warning{color:#9a671d!important;background:var(--ui-warning-soft)!important;border-color:#efd9ad!important}.danger,.critical,.error,.urgent,.status-error,.grid-status-mark.negative{color:#b84646!important;background:var(--ui-danger-soft)!important;border-color:#efc1c1!important}.dashboard,.dashboard-container,.main-content,.page-container,.content-container,.grid-agent-dashboard{background:var(--ui-page)!important}.page-header,.dashboard-header,.topbar,.grid-agent-heading{border-color:var(--ui-line)!important;background:var(--ui-surface)!important}.role-runtime .role-prototype-app-tabbar,.patient-care-tabs,.rhs-runtime-app .rhs-bottom-tabbar,.grid-agent-app .grid-agent-tabbar{border-color:var(--ui-line)!important;background:#fbfdfffa!important;box-shadow:0 -8px 22px #2b56791a!important}.role-runtime .role-prototype-app-tabbar button.active,.patient-care-tabs button.active,.rhs-runtime-app .rhs-bottom-tab.active{color:var(--ui-primary-strong)!important;background:var(--ui-primary-soft)!important}.patient-care-app,.patient-care-main{background:#f4f8fc}.patient-care-reminder,.patient-care-section,.patient-care-panel{background:#fcfdff}.role-runtime-child .child-home-panel{box-shadow:var(--ui-shadow);background:#fcfdff;border-color:#d5e5ef}.role-runtime-child .child-home-task{background:#eef7f3}.role-runtime-child .child-home-task button.primary{border-color:var(--ui-primary);background:var(--ui-primary)}.role-runtime-doctor .role-prototype-plan-card,.role-runtime-grid .role-prototype-plan-card{background:#f0f7fc}.role-runtime-doctor .role-prototype-list-row,.role-runtime-grid .role-prototype-list-row{border-color:#e4edf4}.modal-content,.modal-card,.auth-container{border-color:var(--ui-line)!important;background:var(--ui-surface)!important;box-shadow:0 18px 46px #1f426029!important}.error-message,.auth-error,.alert-error{color:#ae4545!important;background:var(--ui-danger-soft)!important;border-color:#efc1c1!important}.success-message,.alert-success{color:#287c59!important;background:var(--ui-success-soft)!important;border-color:#bee4cf!important}@media (width<=520px){.card,.content-card,.content-section-card,.feature-card,.modal-card{border-radius:14px!important}}.patient-care-app{--ui-page:#edf9f4;background:linear-gradient(155deg,#edf9f4 0%,#e8f8f4 48%,#edf8fb 100%)!important}.patient-care-main{background:0 0!important}.patient-care-header{background:linear-gradient(135deg,#4eaa9a 0%,#56b8b7 100%)!important}.patient-care-voice-card{background:linear-gradient(135deg,#4a9f94 0%,#5bbeb4 100%)!important}.patient-care-reminder{background:#fbfffd!important;border-color:#c8e6dc!important}.patient-care-reminder-icon,.patient-care-action-grid button span{color:#258d7e!important;background:#e0f5ee!important}.patient-care-section,.patient-care-panel{background:#fcfffeeb!important;border-color:#d2e9e2!important}.patient-care-tabs button.active{color:#257d72!important;background:#e2f4ee!important}.role-runtime-child,.role-prototype.role-runtime-child{--role-surface:#f2f3fb!important;--role-shell-bg:#eef0fa!important;background:linear-gradient(155deg,#f0f2fc 0%,#f4f1fb 52%,#eef5fc 100%)!important}.role-runtime-child .role-prototype-main{background:0 0!important}.role-runtime-child .role-prototype-header{background:#fdfdffed!important;border-bottom-color:#dbdcef!important}.role-runtime-child .child-home-panel{background:#fdfdffeb!important;border-color:#dcdef0!important}.role-runtime-child .child-home-task{border:1px solid #dce6f1;background:#edf4f7!important}.role-runtime-family,.role-runtime-doctor,.role-prototype.role-runtime-family,.role-prototype.role-runtime-doctor{--role-surface:#edf8f7!important;--role-shell-bg:#eaf5f4!important;background:linear-gradient(155deg,#eaf7f5 0%,#edf8f7 54%,#eef7fb 100%)!important}.role-runtime-family .role-prototype-header,.role-runtime-doctor .role-prototype-header{background:#fcfffef0!important;border-bottom-color:#d3e8e4!important}.role-runtime-family .role-prototype-panel,.role-runtime-doctor .role-prototype-panel,.role-runtime-family .role-runtime-tab-page,.role-runtime-doctor .role-runtime-tab-page{background:#fcfffeed!important;border-color:#d4e8e4!important}.role-runtime-family .role-prototype-plan-card,.role-runtime-doctor .role-prototype-plan-card{background:#edf8f5!important}.role-runtime-family .role-prototype-metric.teal,.role-runtime-doctor .role-prototype-metric.teal{background:#e4f5ee!important}.role-runtime-family .role-prototype-app-tabbar button.active,.role-runtime-doctor .role-prototype-app-tabbar button.active{color:#237b72!important;background:#e2f4ef!important}.role-runtime-grid,.role-prototype.role-runtime-grid{--role-surface:#f2f6fa!important;--role-shell-bg:#eef3f8!important;background:linear-gradient(155deg,#f0f4f8 0%,#f5f7fa 54%,#edf4fa 100%)!important}.role-runtime-grid .role-prototype-main{background:0 0!important}.role-runtime-grid .role-prototype-header{background:#fcfdfff0!important;border-bottom-color:#d7e2eb!important}.role-runtime-grid .role-prototype-panel,.role-runtime-grid .role-runtime-tab-page{background:#fcfdfff0!important;border-color:#d9e4ed!important}.role-runtime-grid .role-prototype-plan-card{background:#eef4f8!important}.patient-care-app{background:linear-gradient(160deg,#dff6ec 0%,#e7f8f1 46%,#dff3f5 100%)!important}.patient-care-section,.patient-care-panel,.patient-care-reminder{background:#f6fdf9!important;box-shadow:0 10px 22px #2984701a!important}.role-runtime-child .role-prototype-header{background:linear-gradient(135deg,#f3f1fb 0%,#e7edf9 100%)!important}.role-runtime-child .child-home-panel,.role-runtime-child .role-runtime-tab-page,.role-runtime-child .role-prototype-panel{background:#faf9fe!important;box-shadow:0 10px 22px #51528d1a!important}.role-runtime-family .role-prototype-header,.role-runtime-doctor .role-prototype-header{background:linear-gradient(135deg,#eaf8f4 0%,#e4f1f3 100%)!important}.role-runtime-family .role-prototype-panel,.role-runtime-doctor .role-prototype-panel,.role-runtime-family .role-runtime-tab-page,.role-runtime-doctor .role-runtime-tab-page{background:#f8fdfb!important;box-shadow:0 10px 22px #2571651a!important}.role-runtime-grid .role-prototype-header{background:linear-gradient(135deg,#edf3f8 0%,#e0eaf2 100%)!important}.role-runtime-grid .role-prototype-panel,.role-runtime-grid .role-runtime-tab-page{background:#f7fafc!important;box-shadow:0 10px 22px #36556f1c!important}.role-runtime-grid .role-prototype-metric{border-color:#cbdbe8!important;box-shadow:0 8px 18px #36556f14!important}.role-runtime-grid .role-prototype-metric.yellow{background:#fff5e2!important}.role-runtime-grid .role-prototype-metric.teal{background:#e5f4ee!important}.role-runtime-grid .role-prototype-metric.blue{background:#e6f0fa!important}.role-runtime .role-prototype-main{min-height:100dvh;box-shadow:0 8px 22px #1f293314;padding:0 20px calc(100px + env(safe-area-inset-bottom,0px))!important}.role-runtime .role-reference-header{text-align:center;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;min-height:94px;margin:0 -20px;padding:14px 20px;display:grid;background:color-mix(in srgb, var(--role-surface) 62%, #fff)!important}.role-runtime .role-reference-header>div{min-width:0}.role-runtime .role-reference-header p{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;overflow:hidden;color:var(--ui-text-muted)!important}.role-runtime .role-reference-header h1{text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:21px;overflow:hidden;color:var(--ui-text)!important}.role-runtime .role-reference-header .role-prototype-header-actions{justify-content:flex-end}.role-runtime .role-reference-header .role-prototype-icon-button{width:48px;height:48px;color:var(--ui-primary-strong);background:var(--ui-primary-soft);border-radius:16px}.role-runtime .role-reference-header .role-reference-signout{border-radius:14px;min-height:42px;padding:0 10px;font-size:14px}.role-runtime .role-prototype-metrics{gap:12px;margin-top:20px}.role-runtime .role-prototype-metric{border-radius:22px;min-height:142px;padding:14px;background:linear-gradient(#ffffffc7,#f5fafdf2)!important}.role-runtime .role-prototype-metric span{font-size:15px;color:var(--ui-text-muted)!important}.role-runtime .role-prototype-metric small{font-size:14px}.role-runtime .role-runtime-quick-panel,.role-runtime .role-runtime-primary-panel,.role-runtime .role-runtime-home-list{border:1px solid var(--ui-line);box-shadow:var(--ui-shadow);background:linear-gradient(#ffffffb8,#f8fcfef0);border-radius:24px;margin-top:18px;padding:20px}.role-runtime .role-runtime-quick-panel .role-prototype-panel-title,.role-runtime .role-runtime-home-list .role-prototype-panel-title{margin-bottom:15px}.role-runtime .role-runtime-quick-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.role-runtime .role-runtime-quick-grid button{min-height:132px;color:var(--ui-text);background:color-mix(in srgb, var(--role-surface) 54%, #fff);text-align:left;border:1px solid #dce7ef;border-radius:20px;align-content:start;padding:16px;display:grid}.role-runtime .role-runtime-quick-grid button>span{width:48px;height:48px;color:var(--ui-primary-strong);background:#fff;border-radius:15px;place-items:center;display:grid;box-shadow:0 4px 10px #2a506f17}.role-runtime .role-runtime-quick-grid strong{color:var(--ui-text);margin-top:12px;font-size:17px;display:block}.role-runtime .role-runtime-quick-grid small{color:var(--ui-text-muted);margin-top:5px;font-size:15px;line-height:1.35;display:block}.role-runtime .role-runtime-primary-panel{grid-template-columns:minmax(0,1fr) auto;gap:12px;display:grid;position:relative}.role-runtime .role-runtime-primary-panel>div>span{color:var(--ui-success);font-size:15px;font-weight:800}.role-runtime .role-runtime-primary-panel h3{color:var(--ui-text);margin:4px 0 0;font-size:21px}.role-runtime .role-runtime-primary-panel>button{color:#fff;background:var(--ui-primary);min-height:48px;font:inherit;border:0;border-radius:16px;padding:0 16px;font-size:16px;font-weight:800}.role-runtime .role-runtime-primary-panel article{background:color-mix(in srgb, var(--role-surface) 84%, #fff);border-radius:20px;grid-column:1/-1;gap:9px;padding:16px;display:grid}.role-runtime .role-runtime-primary-panel article em{color:#9a671d;background:var(--ui-warning-soft);border-radius:999px;width:fit-content;padding:4px 10px;font-size:14px;font-style:normal;font-weight:800}.role-runtime .role-runtime-primary-panel article strong{color:var(--ui-text);font-size:18px;line-height:1.5}.role-runtime .role-runtime-primary-panel article p{color:var(--ui-text-secondary);margin:0;font-size:16px;line-height:1.55}.role-runtime .role-runtime-home-list{margin-bottom:4px}.role-runtime .role-runtime-home-list .role-prototype-list-row{min-height:78px;padding:14px 0}.role-runtime .role-runtime-home-list .role-prototype-list-row .role-prototype-person{font-size:17px}.role-runtime .role-runtime-home-list .role-prototype-list-row>span:nth-child(2){color:var(--ui-text-secondary);font-size:15px;line-height:1.45}.role-runtime .role-runtime-tab-page{border-radius:24px;margin-top:20px;padding:20px;background:linear-gradient(#ffffffc2,#f8fcfef2)!important}.role-runtime .role-runtime-tab-page .role-prototype-entry-heading{margin-bottom:8px}.role-runtime .role-runtime-tab-page>p{margin:8px 0 16px;color:var(--ui-text-secondary)!important}.role-runtime .role-runtime-tab-list>button{min-height:82px}.role-runtime .role-runtime-tab-list>button>span{background:var(--ui-primary-soft);border-radius:16px;width:48px;height:48px}.role-runtime .role-prototype-app-tabbar{min-height:calc(82px + env(safe-area-inset-bottom,0px));padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));background:#f8fcfefa!important}.role-runtime .role-prototype-app-tabbar button{border-radius:16px;min-height:58px;font-size:13px}@media (width<=380px){.role-runtime .role-runtime-quick-grid button{min-height:122px;padding:13px}.role-runtime .role-runtime-quick-grid strong{font-size:16px}.role-runtime .role-runtime-quick-grid small{font-size:14px}}.role-runtime-grid .role-prototype-main{background:#f3f7fb!important;padding-top:0!important}.role-runtime-grid .role-reference-header{color:#fff;min-height:92px;margin:0 -20px;padding:14px 20px 10px;background:linear-gradient(160deg,#5d98dc 0%,#8fc7ef 64%,#d9ecf8 100%)!important;border:0!important}.role-runtime-grid .role-reference-header p,.role-runtime-grid .role-reference-header h1{color:#fff!important}.role-runtime-grid .role-reference-header .role-prototype-icon-button{color:#fff;background:#ffffff2e;border-color:#ffffff57}.role-runtime-grid .role-reference-header .role-reference-signout{color:#fff;background:#3069a238;border-color:#ffffff6b}.role-runtime-grid .role-runtime-header-extra{background:linear-gradient(#d9ecf8 0%,#f3f7fb 92%);margin:-1px -20px 0;padding:0 20px 18px}.role-runtime-grid .grid-runtime-search{color:#6b9ac1;background:#fffffff0;border:1px solid #6594bd2e;border-radius:18px;grid-template-columns:24px minmax(0,1fr) 22px;align-items:center;gap:8px;min-height:50px;padding:0 14px;display:grid;box-shadow:0 7px 18px #4a7aa41f}.role-runtime-grid .grid-runtime-search input{min-width:0;height:46px;min-height:46px;padding:0;font-size:16px;box-shadow:none!important;color:#315b7d!important;background:0 0!important;border:0!important;border-radius:0!important}.role-runtime-grid .grid-runtime-search input::placeholder{color:#8ba6bb}.role-runtime-grid .role-prototype-metrics{margin-top:12px}.role-runtime-grid .role-prototype-metric{border-radius:20px;min-height:126px;background:#ffffffdb!important}.role-runtime-grid .role-runtime-quick-panel{box-shadow:none;background:0 0;border:0;border-radius:0;padding:6px 0 0}.role-runtime-grid .role-runtime-quick-panel .role-prototype-panel-title{padding:10px 4px 4px}.role-runtime-grid .role-runtime-quick-panel .role-prototype-panel-title span{color:#6b9ac1}.role-runtime-grid .role-runtime-quick-panel h3{font-size:21px}.role-runtime-grid .role-runtime-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.role-runtime-grid .role-runtime-quick-grid button{text-align:center;background:0 0;border:0;border-radius:18px;align-content:start;place-items:center;min-height:118px;padding:10px 4px}.role-runtime-grid .role-runtime-quick-grid button>span{color:#3e82c3;width:50px;height:50px;box-shadow:none;background:#e4f2fc;border-radius:17px}.role-runtime-grid .role-runtime-quick-grid button:nth-child(2)>span{color:#4ba37a;background:#e6f6ed}.role-runtime-grid .role-runtime-quick-grid button:nth-child(3)>span{color:#d7844a;background:#fff0e4}.role-runtime-grid .role-runtime-quick-grid button:nth-child(4)>span{color:#6c83c4;background:#ebefff}.role-runtime-grid .role-runtime-quick-grid strong{margin-top:8px;font-size:15px}.role-runtime-grid .role-runtime-quick-grid small{display:none}.role-runtime-grid .role-runtime-primary-panel,.role-runtime-grid .role-runtime-home-list{background:#fbfdff;border-radius:20px;box-shadow:0 7px 18px #32557312}.role-runtime-grid .role-runtime-primary-panel{margin-top:16px}.role-runtime-grid .role-runtime-primary-panel>div>span{color:#4388c3}.role-runtime-grid .role-runtime-primary-panel article{background:#eaf4fb}.role-runtime-grid .role-runtime-home-list{margin-top:14px}.role-runtime-grid .role-prototype-app-tabbar{border-top-color:#d8e5ef;background:#fdfefffa!important}@media (width<=380px){.role-runtime-grid .role-runtime-quick-grid strong{font-size:13px}.role-runtime-grid .role-runtime-quick-grid button>span{width:46px;height:46px}}.role-runtime-family .role-prototype-main,.role-runtime-doctor .role-prototype-main{background:0 0!important}.role-runtime-family .role-reference-header,.role-runtime-doctor .role-reference-header{background:#ffffff80!important;border-bottom:1px solid #bddbd894!important}.role-runtime-family .role-prototype-metric,.role-runtime-doctor .role-prototype-metric{border-radius:30px;min-height:156px;padding:20px 16px;background:#fff!important;border:0!important;box-shadow:0 9px 24px #2f665d1a!important}.role-runtime-family .role-prototype-metric span,.role-runtime-doctor .role-prototype-metric span{font-size:16px;line-height:1.55;color:#78909c!important}.role-runtime-family .role-prototype-metric strong,.role-runtime-doctor .role-prototype-metric strong{margin:14px 0 8px;font-size:42px;font-weight:760;line-height:1;color:#3b82c4!important}.role-runtime-family .role-prototype-metric small,.role-runtime-doctor .role-prototype-metric small{font-size:16px;line-height:1.55;color:#738a94!important}.role-runtime-family .role-runtime-quick-panel,.role-runtime-doctor .role-runtime-quick-panel,.role-runtime-family .role-runtime-primary-panel,.role-runtime-doctor .role-runtime-primary-panel,.role-runtime-family .role-runtime-home-list,.role-runtime-doctor .role-runtime-home-list,.role-runtime-family .role-runtime-tab-page,.role-runtime-doctor .role-runtime-tab-page{border-radius:28px;background:#fff!important;border:0!important;box-shadow:0 9px 24px #2f665d17!important}.role-runtime-family .role-runtime-quick-panel,.role-runtime-doctor .role-runtime-quick-panel{padding:22px}.role-runtime-family .role-runtime-quick-panel .role-prototype-panel-title h3,.role-runtime-doctor .role-runtime-quick-panel .role-prototype-panel-title h3{font-size:23px;line-height:1.35}.role-runtime-family .role-runtime-quick-grid button>span,.role-runtime-doctor .role-runtime-quick-grid button>span{color:#3681be;background:#eaf4fc;border-radius:17px;width:52px;height:52px}.role-runtime-family .role-runtime-quick-grid strong,.role-runtime-doctor .role-runtime-quick-grid strong{margin-top:13px;font-size:18px;line-height:1.3}.role-runtime-family .role-runtime-quick-grid small,.role-runtime-doctor .role-runtime-quick-grid small{font-size:16px;line-height:1.45}.role-runtime-family .role-runtime-primary-panel,.role-runtime-doctor .role-runtime-primary-panel{padding:22px}.role-runtime-family .role-runtime-primary-panel h3,.role-runtime-doctor .role-runtime-primary-panel h3{font-size:23px}.role-runtime-family .role-runtime-primary-panel article strong,.role-runtime-doctor .role-runtime-primary-panel article strong{font-size:19px}.role-runtime-family .role-runtime-primary-panel article p,.role-runtime-doctor .role-runtime-primary-panel article p{font-size:16px;line-height:1.65}.role-runtime-family .role-prototype-app-tabbar,.role-runtime-doctor .role-prototype-app-tabbar{border-top:0;box-shadow:0 -6px 20px #26524d14;background:#fffffff5!important}@media (width<=380px){.role-runtime-family .role-prototype-metric,.role-runtime-doctor .role-prototype-metric{min-height:144px;padding:16px 13px}.role-runtime-family .role-prototype-metric strong,.role-runtime-doctor .role-prototype-metric strong{font-size:37px}.role-runtime-family .role-prototype-metric span,.role-runtime-family .role-prototype-metric small,.role-runtime-doctor .role-prototype-metric span,.role-runtime-doctor .role-prototype-metric small{font-size:14px}}.role-runtime-family .role-reference-header,.role-runtime-doctor .role-reference-header{min-height:88px;background:linear-gradient(135deg,#dff6f0e0 0%,#e6f4fbeb 100%)!important;border:0!important}.role-runtime-family .role-reference-header:after,.role-runtime-doctor .role-reference-header:after{content:none}.role-runtime-family .role-prototype-metrics,.role-runtime-doctor .role-prototype-metrics{gap:16px;margin-top:28px}.role-runtime-family .role-prototype-metric,.role-runtime-doctor .role-prototype-metric{min-height:166px;padding:22px 18px;background:#fff!important;border:0!important;box-shadow:0 10px 26px #2b5d561a!important}.role-runtime-family .role-prototype-metric.teal,.role-runtime-family .role-prototype-metric.blue,.role-runtime-family .role-prototype-metric.coral,.role-runtime-doctor .role-prototype-metric.teal,.role-runtime-doctor .role-prototype-metric.blue,.role-runtime-doctor .role-prototype-metric.coral{background:#fff!important}.role-runtime-family .role-prototype-metric strong,.role-runtime-doctor .role-prototype-metric strong{letter-spacing:0;margin:17px 0 10px;font-size:46px;font-weight:800}.role-runtime-family .role-prototype-metric span,.role-runtime-doctor .role-prototype-metric span{font-size:16px;line-height:1.65}.role-runtime-family .role-prototype-metric small,.role-runtime-doctor .role-prototype-metric small{font-size:16px;line-height:1.55}.role-runtime-family .role-runtime-quick-panel,.role-runtime-doctor .role-runtime-quick-panel{border-radius:30px;margin-top:24px;padding:26px 22px;background:#fff!important;border:0!important;box-shadow:0 12px 28px #2b5d561a!important}.role-runtime-family .role-runtime-quick-panel .role-prototype-panel-title,.role-runtime-doctor .role-runtime-quick-panel .role-prototype-panel-title{margin-bottom:20px}.role-runtime-family .role-runtime-quick-panel .role-prototype-panel-title span,.role-runtime-doctor .role-runtime-quick-panel .role-prototype-panel-title span{color:#7d9c98;letter-spacing:0;font-size:14px}.role-runtime-family .role-runtime-quick-panel .role-prototype-panel-title h3,.role-runtime-doctor .role-runtime-quick-panel .role-prototype-panel-title h3{margin-top:5px;font-size:24px}.role-runtime-family .role-runtime-quick-grid,.role-runtime-doctor .role-runtime-quick-grid{gap:16px}.role-runtime-family .role-runtime-quick-grid button,.role-runtime-doctor .role-runtime-quick-grid button{background:#f8fcfb;border:0;border-radius:22px;min-height:150px;padding:18px}.role-runtime-family .role-runtime-quick-grid button>span,.role-runtime-doctor .role-runtime-quick-grid button>span{color:#fff;background:linear-gradient(135deg,#58b7a8 0%,#4e94cb 100%);border-radius:18px;width:54px;height:54px;box-shadow:0 8px 16px #459bb32e}.role-runtime-family .role-runtime-quick-grid strong,.role-runtime-doctor .role-runtime-quick-grid strong{margin-top:14px;font-size:18px}.role-runtime-family .role-runtime-quick-grid small,.role-runtime-doctor .role-runtime-quick-grid small{color:#81949d;margin-top:6px;font-size:16px}.role-runtime-family .role-runtime-primary-panel,.role-runtime-doctor .role-runtime-primary-panel,.role-runtime-family .role-runtime-home-list,.role-runtime-doctor .role-runtime-home-list{border-radius:30px;margin-top:24px;padding:24px 22px;background:#fff!important;border:0!important;box-shadow:0 10px 26px #2b5d5617!important}.role-runtime-family .role-runtime-primary-panel article,.role-runtime-doctor .role-runtime-primary-panel article{background:#eff8f5;padding:18px}.role-runtime-family .role-runtime-home-list .role-prototype-panel-title span,.role-runtime-doctor .role-runtime-home-list .role-prototype-panel-title span{color:#7d9c98;letter-spacing:0}.role-runtime-family .role-prototype-metric,.role-runtime-doctor .role-prototype-metric{border-radius:28px;flex-direction:column;justify-content:flex-start;align-items:flex-start;height:142px;min-height:142px;padding:20px 18px;display:flex}.role-runtime-family .role-prototype-metric span,.role-runtime-doctor .role-prototype-metric span{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:17px;line-height:1.3;overflow:hidden;color:#728796!important}.role-runtime-family .role-prototype-metric strong,.role-runtime-doctor .role-prototype-metric strong{margin:14px 0 0;font-size:40px;line-height:1;color:#347fbc!important}.role-runtime-family .role-prototype-metric small,.role-runtime-doctor .role-prototype-metric small{display:none}.role-runtime-family .role-prototype-metric.teal strong,.role-runtime-doctor .role-prototype-metric.teal strong{color:#347fbc!important}.role-runtime-family .role-prototype-metric.teal small,.role-runtime-doctor .role-prototype-metric.teal small{background:#fff2df;color:#ad6819!important}.role-runtime-family .role-prototype-metric.coral strong,.role-runtime-doctor .role-prototype-metric.coral strong{color:#347fbc!important}.role-runtime-family .role-prototype-metric.coral small,.role-runtime-doctor .role-prototype-metric.coral small{background:#fde9e9;color:#c84e4e!important}@media (width<=380px){.role-runtime-family .role-prototype-metric,.role-runtime-doctor .role-prototype-metric{height:128px;min-height:128px;padding:16px 14px}.role-runtime-family .role-prototype-metric span,.role-runtime-doctor .role-prototype-metric span{font-size:16px}.role-runtime-family .role-prototype-metric strong,.role-runtime-doctor .role-prototype-metric strong{font-size:36px}}.role-runtime-family .role-prototype-main,.role-runtime-doctor .role-prototype-main{box-shadow:none;background:#e8fbf4!important}.role-runtime-family .role-reference-header,.role-runtime-doctor .role-reference-header{background:0 0!important}.role-runtime-family .role-reference-header p,.role-runtime-doctor .role-reference-header p{color:#597987!important}.role-runtime-family .role-reference-header h1,.role-runtime-doctor .role-reference-header h1{color:#132d42!important}.role-runtime-family .role-reference-header .role-prototype-icon-button,.role-runtime-doctor .role-reference-header .role-prototype-icon-button{color:#168d7c;background:#f4fffb;border-color:#c5ebe0}.role-runtime-family .role-prototype-metric,.role-runtime-doctor .role-prototype-metric,.role-runtime-family .role-runtime-quick-panel,.role-runtime-doctor .role-runtime-quick-panel,.role-runtime-family .role-runtime-primary-panel,.role-runtime-doctor .role-runtime-primary-panel,.role-runtime-family .role-runtime-home-list,.role-runtime-doctor .role-runtime-home-list,.role-runtime-family .role-runtime-tab-page,.role-runtime-doctor .role-runtime-tab-page{background:#fff!important;box-shadow:0 7px 18px #1a715e17!important}.role-runtime-family .role-runtime-quick-grid button,.role-runtime-doctor .role-runtime-quick-grid button{background:#fafffd}.role-runtime-family .role-runtime-quick-grid button>span,.role-runtime-doctor .role-runtime-quick-grid button>span{color:#fff;background:#17a48e;box-shadow:0 7px 14px #17a48e2e}.role-runtime-family .role-runtime-primary-panel article,.role-runtime-doctor .role-runtime-primary-panel article{background:#effbf7}.role-runtime-family .role-runtime-primary-panel>button,.role-runtime-doctor .role-runtime-primary-panel>button{background:#119d87}.role-runtime{overflow-x:hidden}.role-runtime .role-prototype-main{padding-top:12px!important}.role-runtime .role-prototype-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:0!important}.role-runtime .role-prototype-metric{border-radius:18px;min-width:0;height:116px;min-height:116px;padding:15px 12px;overflow:hidden;border:1px solid #d7e7f1!important;box-shadow:0 6px 16px #27567712!important}.role-runtime .role-prototype-metric span,.role-runtime .role-prototype-metric small{text-overflow:ellipsis;white-space:nowrap;width:100%;line-height:1.35;display:block;overflow:hidden;color:#58738a!important;font-size:13px!important}.role-runtime .role-prototype-metric strong{white-space:nowrap;line-height:1;display:block;color:#286ca7!important;margin:10px 0 6px!important;font-size:30px!important}.role-runtime .role-runtime-quick-panel{border-radius:20px;margin-top:16px;padding:18px 16px;background:#fff!important;border:1px solid #d7e7f1!important;box-shadow:0 8px 20px #27567714!important}.role-runtime .role-runtime-quick-panel .role-prototype-panel-title{margin-bottom:14px}.role-runtime .role-runtime-quick-panel .role-prototype-panel-title span{letter-spacing:.08em;color:#4e7898!important;font-size:12px!important}.role-runtime .role-runtime-quick-panel .role-prototype-panel-title h3{margin-top:4px;color:#17324d!important;font-size:22px!important}.role-runtime .role-runtime-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.role-runtime .role-runtime-quick-grid button{color:#17324d;text-align:left;border-radius:15px;grid-template-rows:auto auto;grid-template-columns:42px minmax(0,1fr);align-content:center;align-items:center;gap:4px 10px;min-width:0;min-height:126px;padding:13px;display:grid;background:#f8fbfe!important;border:1px solid #dce9f2!important}.role-runtime .role-runtime-quick-grid button>span{border-radius:12px;grid-row:1/span 2;place-items:center;width:42px;height:42px;display:grid;color:#286ca7!important;box-shadow:none!important;background:#e5f1fa!important}.role-runtime .role-runtime-quick-grid button strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:1.3;overflow:hidden;color:#17324d!important;margin:0!important;font-size:16px!important}.role-runtime .role-runtime-quick-grid button small{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:1.35;overflow:hidden;color:#58738a!important;margin:0!important;font-size:12px!important}.role-runtime .role-runtime-primary-panel,.role-runtime .role-runtime-home-list,.role-runtime .role-prototype-panel{border-radius:20px}.role-runtime .role-runtime-primary-panel>button{white-space:nowrap;align-self:start;height:50px;min-height:50px}.role-runtime .role-prototype-main{padding-bottom:calc(126px + env(safe-area-inset-bottom,0px))!important}.role-runtime-app-header{background:#ffffffd1;border-bottom:1px solid #d7e7f1;justify-content:space-between;align-items:center;gap:12px;min-height:68px;margin:-12px -16px 14px;padding:12px 16px;display:flex}.role-runtime-app-identity{align-items:center;gap:10px;min-width:0;display:flex}.role-runtime-app-avatar{color:#286ca7;background:#e5f1fa;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.role-runtime-app-identity>div{min-width:0}.role-runtime-app-identity span{color:#58738a;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.3;display:block;overflow:hidden}.role-runtime-app-identity h1{color:#17324d;text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:20px;line-height:1.2;overflow:hidden}.role-runtime-app-notice{color:#286ca7;background:#f7fbfe;border:1px solid #cbdfea;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.role-runtime .role-prototype-metric strong{font-size:27px!important}.role-runtime .role-runtime-quick-panel .role-prototype-panel-title h3{font-size:20px!important}.role-runtime .role-prototype-app-tabbar{padding-bottom:calc(9px + env(safe-area-inset-bottom,0px))}.feedback-fab{right:max(20px,50vw - 240px);bottom:calc(88px + env(safe-area-inset-bottom,0px))}@media (width<=380px){.role-runtime .role-prototype-main{padding-left:12px;padding-right:12px}.role-runtime .role-prototype-metric{padding-left:9px;padding-right:9px}.role-runtime .role-prototype-metric span,.role-runtime .role-prototype-metric small{font-size:12px!important}.role-runtime .role-prototype-metric strong{font-size:27px!important}.role-runtime .role-runtime-quick-panel{padding-left:12px;padding-right:12px}.role-runtime .role-runtime-quick-grid button{grid-template-columns:36px minmax(0,1fr);min-height:118px;padding:10px}.role-runtime .role-runtime-quick-grid button>span{width:36px;height:36px}.role-runtime .role-runtime-quick-grid button strong{font-size:15px!important}}.role-runtime,.role-prototype.role-runtime-doctor,.role-prototype.role-runtime-family,.role-prototype.role-runtime-child,.role-prototype.role-runtime-grid{color:#17324d!important;background:#f5fbfd!important}.role-runtime .role-prototype-main{box-shadow:none!important;background:0 0!important}.role-runtime .role-runtime-app-header{background:#ffffffe6;border-bottom-color:#d6e9ef}.role-runtime .role-runtime-app-avatar{color:#267db6;background:#e1f3fb}.role-runtime .role-runtime-app-notice{color:#267db6;background:#fff;border-color:#b8dce7}.role-runtime .role-prototype-metric{background:#fff!important;border-color:#d8e9ef!important;box-shadow:0 7px 18px #2a6b8912!important}.role-runtime .role-prototype-metric.teal{background:#e7faf3!important}.role-runtime .role-prototype-metric.blue{background:#eaf3ff!important}.role-runtime .role-prototype-metric.yellow{background:#fff8e6!important}.role-runtime .role-prototype-metric.coral{background:#fff0ed!important}.role-runtime .role-prototype-metric span,.role-runtime .role-prototype-metric small{color:#527184!important}.role-runtime .role-prototype-metric strong{color:#267db6!important}.role-runtime .role-prototype-metric.teal strong{color:#159b82!important}.role-runtime .role-prototype-metric.coral strong{color:#d4574e!important}.role-runtime .role-runtime-quick-panel,.role-runtime .role-runtime-primary-panel,.role-runtime .role-runtime-home-list,.role-runtime .role-runtime-tab-page,.role-runtime .role-prototype-panel{background:#fffffff5!important;border-color:#d7e9ef!important;box-shadow:0 9px 22px #2a6b8912!important}.role-runtime .role-runtime-quick-grid button{background:#f9fdff!important;border-color:#d4e8ef!important}.role-runtime .role-runtime-quick-grid button>span{color:#267db6!important;background:#e4f3fb!important}.role-runtime .role-runtime-quick-grid button strong,.role-runtime .role-prototype-panel-title h3,.role-runtime .role-prototype-entry-heading h3{color:#17324d!important}.role-runtime .role-runtime-quick-grid button small,.role-runtime .role-prototype-panel-title span,.role-runtime .role-prototype-entry-heading span{color:#5a7788!important}.role-runtime .role-prototype-app-tabbar{border-top-color:#d4e7ee;box-shadow:0 -7px 20px #2a6b8914;background:#fffffffa!important}.role-runtime .role-prototype-app-tabbar button{color:#5c7886}.role-runtime .role-prototype-app-tabbar button.active{color:#087f73;background:#dcf5ee}.role-runtime-family,.role-runtime-doctor,.role-prototype.role-runtime-family,.role-prototype.role-runtime-doctor{background:linear-gradient(#dcf7ef 0%,#eefbf8 45%,#f5fbfd 100%)!important}.role-runtime-family .role-runtime-app-header,.role-runtime-doctor .role-runtime-app-header{background:linear-gradient(135deg,#d5f4ec 0%,#e3f3fc 100%)}.role-runtime-child .role-runtime-app-header{background:linear-gradient(135deg,#e5e5ff 0%,#e7f4ff 100%)}.role-runtime-child .role-runtime-app-avatar,.role-runtime-child .role-runtime-app-notice{color:#5b67c5;background:#f1f1ff;border-color:#cdd2fa}.role-runtime-grid,.role-prototype.role-runtime-grid{background:linear-gradient(#e2f2ff 0%,#f0f7ff 48%,#f6fbff 100%)!important}.role-runtime-grid .role-runtime-app-header{background:linear-gradient(135deg,#d7edff 0%,#e9f6ff 100%)}.role-runtime-grid .role-runtime-app-avatar,.role-runtime-grid .role-runtime-app-notice{color:#347fc5;background:#f3faff;border-color:#b9d9f0}.role-runtime-grid .role-prototype-app-tabbar button.active{color:#347fc5;background:#e5f2ff}.role-runtime-child,.role-prototype.role-runtime-child{background:linear-gradient(#f1f6ff 0%,#fbfcff 46%,#f7fcff 100%)!important}.role-runtime-child .role-runtime-app-header{background:linear-gradient(135deg,#f1f7ff 0%,#f1fffc 100%);border-bottom-color:#d4e4f7}.role-runtime-child .role-runtime-app-avatar{color:#1774d8;background:#edf6ff;border-color:#a9d2ff}.role-runtime-child .role-runtime-app-notice{color:#1774d8;background:#fff;border-color:#a9d2ff}.role-runtime-child .role-prototype-metric{border-color:#d4e5f5!important;box-shadow:0 7px 18px #3d70a80f!important}.role-runtime-child .role-prototype-metric.teal{background:#e9fff6!important}.role-runtime-child .role-prototype-metric.yellow{background:#fff9e8!important}.role-runtime-child .role-prototype-metric.blue{background:#eef2ff!important}.role-runtime-child .role-runtime-primary-panel,.role-runtime-child .role-runtime-quick-panel,.role-runtime-child .role-runtime-tab-page{background:#fffffffa!important;border-color:#d7e7f7!important;box-shadow:0 9px 22px #3d70a80f!important}.role-runtime-child .role-runtime-primary-panel article{background:#f1f6ff!important}.role-runtime-child .role-runtime-quick-grid button{background:#fbfdff!important;border-color:#d7e7f7!important}.role-runtime-child .role-runtime-quick-grid button>span{color:#1774d8!important;background:#e8f3ff!important}.role-runtime-child{--role-accent:#1677ff!important;background:#edf5ff!important}.role-runtime-child .role-prototype-main{box-shadow:0 0 24px #1b5ba314;padding:10px 14px calc(82px + env(safe-area-inset-bottom,0px))!important;background:#f4f8ff!important}.role-runtime-child .role-runtime-app-header{background:#fffffff0;border-bottom-color:#cfe1f3;min-height:56px;margin:-10px -14px 12px;padding:9px 14px}.role-runtime-child .role-runtime-app-identity{gap:8px}.role-runtime-child .role-runtime-app-avatar,.role-runtime-child .role-runtime-app-notice{color:#0873e8;background:#e5f1ff;border-radius:10px;width:36px;height:36px}.role-runtime-child .role-runtime-app-avatar{border:1px solid #b9d8f6}.role-runtime-child .role-runtime-app-notice{background:#fff;border-color:#b9d8f6}.role-runtime-child .role-runtime-app-identity span{color:#5f7993;font-size:11px}.role-runtime-child .role-runtime-app-identity h1{margin-top:1px;font-size:19px}.role-runtime-child .role-prototype-metrics{gap:8px}.role-runtime-child .role-prototype-metric{border-radius:12px;height:92px;min-height:92px;padding:11px 10px;box-shadow:0 5px 12px #24548412!important}.role-runtime-child .role-prototype-metric span,.role-runtime-child .role-prototype-metric small{font-size:11px!important}.role-runtime-child .role-prototype-metric strong{margin:7px 0 4px!important;font-size:23px!important}.role-runtime-child .role-prototype-metric.teal{background:#e6fbf1!important;border-color:#9fe4c3!important}.role-runtime-child .role-prototype-metric.teal strong{color:#079b61!important}.role-runtime-child .role-prototype-metric.yellow{background:#fff4d7!important;border-color:#ffd276!important}.role-runtime-child .role-prototype-metric.yellow strong{color:#d98200!important}.role-runtime-child .role-prototype-metric.blue{background:#e2e6ff!important;border-color:#9eafff!important}.role-runtime-child .role-prototype-metric.blue strong{color:#5148e8!important}.role-runtime-child .role-runtime-primary-panel,.role-runtime-child .role-runtime-quick-panel,.role-runtime-child .role-runtime-tab-page{border-radius:16px;margin-top:14px;padding:16px 14px;background:#fff!important;border:1px solid #cfe1f3!important;box-shadow:0 7px 16px #24548414!important}.role-runtime-child .role-runtime-primary-panel{gap:9px}.role-runtime-child .role-runtime-primary-panel>div>span{color:#0da56c;font-size:12px}.role-runtime-child .role-runtime-primary-panel h3{margin-top:2px;font-size:18px}.role-runtime-child .role-runtime-primary-panel>button{background:#1677ff;border-radius:10px;height:38px;min-height:38px;padding:0 13px;font-size:13px}.role-runtime-child .role-runtime-primary-panel article{background:#f1f5ff;border-left:3px solid #ffae19;border-radius:10px;gap:6px;padding:13px}.role-runtime-child .role-runtime-primary-panel article em{color:#a65f00;background:#fff0cc;padding:3px 8px;font-size:11px}.role-runtime-child .role-runtime-primary-panel article strong{font-size:15px;line-height:1.45}.role-runtime-child .role-runtime-primary-panel article p{font-size:13px;line-height:1.5}.role-runtime-child .role-runtime-quick-panel .role-prototype-panel-title{margin-bottom:11px}.role-runtime-child .role-runtime-quick-panel .role-prototype-panel-title span{letter-spacing:0;color:#1677ff!important;font-size:11px!important}.role-runtime-child .role-runtime-quick-panel .role-prototype-panel-title h3{margin-top:2px;font-size:18px!important}.role-runtime-child .role-runtime-quick-grid{gap:8px}.role-runtime-child .role-runtime-quick-grid button{border-radius:12px;grid-template-columns:34px minmax(0,1fr);column-gap:8px;min-height:84px;padding:10px;background:#f9fbff!important;border-color:#d6e5f3!important}.role-runtime-child .role-runtime-quick-grid button>span{border-radius:9px;width:34px;height:34px;color:#0873e8!important;background:#e3f0ff!important}.role-runtime-child .role-runtime-quick-grid button:nth-child(2)>span{color:#d95745!important;background:#ffebe7!important}.role-runtime-child .role-runtime-quick-grid button:nth-child(3)>span{color:#079b61!important;background:#e4faef!important}.role-runtime-child .role-runtime-quick-grid button:nth-child(4)>span{color:#7353ec!important;background:#ece7ff!important}.role-runtime-child .role-runtime-quick-grid button strong{font-size:14px!important}.role-runtime-child .role-runtime-quick-grid button small{font-size:11px!important}.role-runtime-child .role-runtime-tab-page>p{margin:5px 0 11px;font-size:13px}.role-runtime-child .role-prototype-entry-heading{margin-bottom:5px}.role-runtime-child .role-prototype-entry-heading h3{font-size:18px}.role-runtime-child .role-runtime-tab-list>button{min-height:62px;padding:9px 0}.role-runtime-child .role-runtime-tab-list>button>span{border-radius:10px;width:38px;height:38px}.role-runtime-child .role-runtime-tab-list strong{font-size:14px}.role-runtime-child .role-runtime-tab-list small{margin-top:2px;font-size:12px}.role-runtime-child .role-runtime-tab-list>button:first-child>span{color:#0873e8;background:#e4f1ff}.role-runtime-child .role-runtime-tab-list>button:nth-child(2)>span{color:#079b61;background:#e3faef}.role-runtime-child .role-runtime-tab-list>button:nth-child(3)>span{color:#6755d8;background:#efebff}.role-runtime-child .role-runtime-tab-list>button:nth-child(4)>span{color:#d95745;background:#ffebe7}.role-runtime-child .role-runtime-tab-list>button:nth-child(5)>span{color:#d98200;background:#fff2d5}.role-runtime-child .role-runtime-tab-list>button:nth-child(6)>span{color:#a54ea7;background:#faeafa}.role-runtime-child .role-runtime-tab-list>button.danger{color:#c64242}.role-runtime-child .role-runtime-tab-list>button.danger>span{color:#d44848;background:#ffe9e9}.role-runtime-child .role-runtime-tab-list>button.danger strong{color:#bd3e3e}.role-runtime-child .role-prototype-app-tabbar{min-height:calc(64px + env(safe-area-inset-bottom,0px));padding:6px 9px calc(6px + env(safe-area-inset-bottom,0px));border-top-color:#cfe1f3;background:#fffffffa!important}.role-runtime-child .role-prototype-app-tabbar button{color:#647e97;border-radius:10px;min-height:48px;font-size:11px}.role-runtime-child .role-prototype-app-tabbar button.active{color:#5a4ae6!important;background:#ebe9ff!important}@media (width<=350px){.role-runtime-child .role-prototype-main{padding-left:10px;padding-right:10px}.role-runtime-child .role-runtime-app-header{margin-left:-10px;margin-right:-10px}.role-runtime-child .role-prototype-metric{padding-left:7px;padding-right:7px}.role-runtime-child .role-prototype-metric span,.role-runtime-child .role-prototype-metric small{font-size:10px!important}.role-runtime-child .role-prototype-metric strong{font-size:21px!important}}.caregiver-profile-mask{z-index:700;background:#112d3d6b;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.caregiver-profile-sheet,.caregiver-profile-page{background:#fff;border:1px solid #d8eaf1;border-radius:20px;width:min(100%,520px);max-height:calc(100dvh - 32px);padding:20px;overflow-y:auto;box-shadow:0 18px 46px #1a455e38}.caregiver-profile-page{border-radius:18px;width:100%;max-width:none;max-height:none;margin-top:4px;padding:18px 16px 22px;box-shadow:0 8px 22px #2d5b7e14}.caregiver-profile-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.caregiver-profile-page .caregiver-profile-head{margin-bottom:14px}.caregiver-profile-head span{color:#1677d2;font-size:13px;font-weight:700}.caregiver-profile-head h2{color:#17324d;margin:5px 0 0;font-size:21px;line-height:1.35}.caregiver-profile-page .caregiver-profile-head h2{font-size:18px}.caregiver-profile-head button{color:#5f7890;cursor:pointer;background:#eef6fb;border:0;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.caregiver-profile-form{gap:14px;display:grid}.caregiver-profile-section{background:#f8fbfe;border:1px solid #e1edf5;border-radius:14px;gap:12px;padding:14px;display:grid}.caregiver-profile-section h3{color:#17324d;margin:0;font-size:16px;line-height:1.3}.caregiver-profile-section>p{color:#6b8498;margin:-4px 0 0;font-size:12px;font-weight:600;line-height:1.45}.caregiver-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.caregiver-profile-form label,.caregiver-profile-choice-field{color:#48657c;gap:6px;font-size:13px;font-weight:700;display:grid}.caregiver-profile-choice-field.label-hidden{gap:0}.caregiver-profile-choice-field.is-compact{align-content:start}.caregiver-profile-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.caregiver-profile-check-grid{flex-wrap:wrap;gap:10px;display:flex}.caregiver-profile-check-option{color:#48657c;cursor:pointer;background:#fafdff;border:1px solid #cfe2ef;border-radius:10px;align-items:center;gap:8px;padding:10px 12px;display:inline-flex}.caregiver-profile-check-option.is-checked{color:#1768b2;background:#edf6fc;border-color:#2587d7}.caregiver-profile-check-option input{width:16px;min-height:16px;margin:0}.caregiver-profile-check-option span{color:inherit;font-size:14px;font-weight:700}.caregiver-profile-multiselect-options{gap:8px}.caregiver-profile-multiselect-row{color:#48657c;width:100%;min-height:48px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;padding:0 16px;font-size:14px;font-weight:700}.caregiver-profile-multiselect-row:hover,.caregiver-profile-multiselect-row:focus-visible{background:#edf6fc;outline:none}.caregiver-profile-multiselect-row.is-selected{color:#1768b2;background:#e5f2fc}.caregiver-profile-multiselect-other-input{margin-top:-2px}.caregiver-profile-select{width:100%;position:relative}.caregiver-profile-select.is-compact{min-width:0}.caregiver-profile-select-trigger{color:#17324d;width:100%;min-height:42px;box-shadow:none;font:inherit;text-align:left;cursor:pointer;background:#fafdff;border:1px solid #cfe2ef;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;font-size:14px;display:flex}.caregiver-profile-select-trigger:focus-visible,.caregiver-profile-select.is-open .caregiver-profile-select-trigger{border-color:#2587d7;outline:none;box-shadow:0 0 0 3px #2587d724}.caregiver-profile-select-arrow{border-bottom:2px solid;border-right:2px solid;flex:none;width:9px;height:9px;transition:transform .16s;transform:rotate(45deg)translateY(-2px)}.caregiver-profile-select.is-open .caregiver-profile-select-arrow{transform:rotate(225deg)translate(-2px,-2px)}.caregiver-profile-select-options{z-index:20;background:#fff;border:1px solid #cfe2ef;border-radius:10px;gap:2px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;box-shadow:0 10px 24px #234d6d24}.caregiver-profile-select.is-compact .caregiver-profile-select-options{width:max-content;min-width:100%;max-width:min(280px,100vw - 48px);left:0;right:auto}.caregiver-profile-select-options button{color:#48657c;width:100%;min-height:40px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;padding:8px 10px;font-size:14px;font-weight:700;display:flex}.caregiver-profile-select.is-compact .caregiver-profile-select-options button{white-space:nowrap}.caregiver-profile-select-options button:hover,.caregiver-profile-select-options button:focus-visible{background:#edf6fc;outline:none}.caregiver-profile-select-options button.selected{color:#1768b2;background:#e5f2fc}.caregiver-profile-form input,.caregiver-profile-form select,.caregiver-profile-form textarea{color:#17324d;background:#fafdff;border:1px solid #cfe2ef;border-radius:10px;outline:0;width:100%;min-height:42px;padding:9px 11px;font-size:14px}.caregiver-profile-form textarea{resize:vertical;min-height:76px}.caregiver-profile-form input:focus,.caregiver-profile-form select:focus,.caregiver-profile-form textarea:focus{border-color:#2587d7;box-shadow:0 0 0 3px #2587d724}.caregiver-profile-medication-list{gap:10px;display:grid}.caregiver-profile-medication-row{gap:8px;display:grid}.caregiver-profile-medication-hint{color:#6b8498;margin:-2px 0 2px;font-size:12px;font-weight:600;line-height:1.5}.caregiver-profile-medication-inline-row{grid-template-columns:minmax(0,1fr) minmax(72px,.52fr) minmax(126px,.82fr) auto;align-items:start;gap:8px;width:100%;display:grid;overflow:visible}.caregiver-profile-medication-inline-row>input,.caregiver-profile-medication-inline-row>.caregiver-profile-choice-field,.caregiver-profile-medication-delete-row{min-width:0}.caregiver-profile-medication-delete-row{justify-content:flex-end;align-self:end;display:flex}.caregiver-profile-medication-inline-row .caregiver-profile-select-trigger{white-space:nowrap;min-width:0}.caregiver-profile-medication-inline-row .caregiver-profile-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.caregiver-profile-add-medication{color:#17324d;min-height:44px;font:inherit;cursor:pointer;background:#eef1f5;border:0;border-radius:12px;font-size:14px;font-weight:700}.caregiver-profile-inline-action{color:#48657c;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c7dce9;border-radius:10px;justify-self:flex-start;padding:0 12px;font-size:13px;font-weight:700}.caregiver-profile-inline-action.subtle{color:#7b8ea1;background:0 0;border:0;min-height:auto;padding:0}.caregiver-profile-inline-action.compact{min-width:64px;min-height:38px;padding:0 12px}.caregiver-profile-loading{color:#71889c;text-align:center;padding:28px 0}.caregiver-profile-error{color:#b13d37;background:#fff0ee;border-radius:9px;margin:0;padding:10px 12px;font-size:13px;line-height:1.5}.caregiver-profile-actions{justify-content:flex-end;gap:10px;padding-top:2px;display:flex}.caregiver-profile-actions button{color:#48657c;cursor:pointer;background:#fff;border:1px solid #c7dce9;border-radius:10px;min-height:42px;padding:0 15px;font-size:14px;font-weight:700}.caregiver-profile-actions button.primary{color:#fff;background:#1677d2;border-color:#1677d2}.caregiver-profile-actions button:disabled{opacity:.6;cursor:wait}@media (width<=430px){.caregiver-profile-grid{grid-template-columns:1fr}.caregiver-profile-sheet,.caregiver-profile-page{border-radius:18px;padding:17px}.caregiver-profile-head h2{font-size:19px}.caregiver-profile-page .caregiver-profile-head h2{font-size:17px}}@media (width<=560px){.caregiver-profile-medication-inline-row{grid-template-columns:minmax(0,1fr) minmax(72px,.6fr)}.caregiver-profile-medication-inline-row>.caregiver-profile-choice-field{grid-column:1}.caregiver-profile-medication-inline-row>.caregiver-profile-medication-delete-row{grid-column:2}}.role-runtime-child .child-home-feed{gap:12px;margin-top:12px}.role-runtime-child .child-home-panel{background:#ffffffe6;border-color:#d9def0;border-radius:18px;padding:16px;box-shadow:0 5px 15px #4a58970f}.role-runtime-child .child-home-panel-head{gap:8px}.role-runtime-child .child-home-panel-head span{color:#647b91;letter-spacing:.04em;font-size:11px}.role-runtime-child .child-home-panel-head h2{color:#17324d;margin-top:5px;font-size:20px}.role-runtime-child .child-home-panel-head button{font-size:12px}.role-runtime-child .child-home-timeline{margin-top:12px}.role-runtime-child .child-home-timeline div{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:12px 0}.role-runtime-child .child-home-timeline strong{color:#346ebc;font-size:14px}.role-runtime-child .child-home-timeline span{color:#536d7d;font-size:14px;line-height:1.4}.role-runtime-child .child-home-task{margin-top:13px;padding:16px}.role-runtime-child .child-home-task>strong{font-size:14px}.role-runtime-child .child-home-task h3{color:#17324d;margin:9px 0 6px;font-size:17px;line-height:1.45}.role-runtime-child .child-home-task p{color:#5d7487;font-size:13px}.role-runtime-child .child-home-task>div{gap:8px;margin-top:15px}.role-runtime-child .child-home-task button{color:#4d6579;min-height:40px;padding:0 13px;font-size:14px}.role-runtime-child .child-home-task button.primary{color:#fff;background:#347fbc}.role-runtime-child .child-home-binding{padding:0 2px 2px}.child-home-binding-head{border-left:4px solid #4f82d8;justify-content:space-between;align-items:center;gap:12px;padding:0 2px 10px 12px;display:flex}.child-home-binding-head strong{color:#202020;font-size:19px}.child-home-binding-head span{color:#725f53;font-size:13px}.child-home-binding-card{background:#fffaf3;border:1px solid #eee2d5;border-radius:20px;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:106px;padding:17px 16px;display:grid;box-shadow:0 8px 18px #71563a12}.child-home-binding-avatar{color:#fff;background:#f6aa16;border-radius:50%;place-items:center;width:58px;height:58px;display:grid}.child-home-binding-card>div{min-width:0}.child-home-binding-card>div>strong,.child-home-binding-card>div>span{display:block}.child-home-binding-card>div>strong{color:#241f1b;text-overflow:ellipsis;white-space:nowrap;font-size:20px;overflow:hidden}.child-home-binding-card>div>span{color:#6e5d53;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:14px;overflow:hidden}.child-home-binding-switch{color:#3977d1;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;padding:7px 0 7px 8px;font-size:15px;font-weight:800;display:inline-flex}.child-home-binding-options{background:#fff;border:1px solid #e1e5f1;border-radius:14px;gap:6px;margin-top:8px;padding:8px;display:grid;box-shadow:0 8px 18px #364b7e17}.child-home-binding-options button{color:#50647b;min-height:40px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;padding:0 10px;display:flex}.child-home-binding-options button.active{color:#286cc4;background:#edf4ff;font-weight:700}@media (width<=380px){.child-home-binding-card{grid-template-columns:50px minmax(0,1fr) auto;gap:10px;padding:14px 12px}.child-home-binding-avatar{width:50px;height:50px}.child-home-binding-card>div>strong{font-size:18px}.child-home-binding-switch{font-size:14px}}.doctor-workbench{--doctor-surface:#fff;--doctor-text:#123c43;--doctor-muted:#4f737b;--doctor-primary:#2878c2;--doctor-health:#159b82;min-height:100dvh;background:linear-gradient(#d7f7ef 0,#eefbf8 250px,#f6fbfd 100%)!important}.doctor-workbench .role-prototype-main{width:min(100%,520px);min-height:100dvh;color:var(--doctor-text);padding:0 18px calc(112px + env(safe-area-inset-bottom,0px))!important;box-shadow:none!important;background:0 0!important}.doctor-workbench.role-runtime-no-tabs .role-prototype-main{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))!important}.doctor-workbench.role-runtime-family-doctor.role-runtime-no-tabs .role-prototype-main,.doctor-workbench.role-runtime-hospital-doctor.role-runtime-no-tabs .role-prototype-main{padding-bottom:0!important}.doctor-workbench .role-runtime-app-header{min-height:calc(90px + env(safe-area-inset-top,0px));padding:calc(12px + env(safe-area-inset-top,0px)) 18px 12px;background:linear-gradient(135deg,#d3f6ed 0%,#e3f3fc 100%);border-bottom:1px solid #66c1b957;margin:0 -18px}.doctor-workbench .role-runtime-app-identity{gap:12px}.doctor-workbench .role-runtime-app-identity>div>span{display:none}.doctor-workbench .role-runtime-app-identity h1{margin-top:0}.doctor-workbench .role-runtime-app-avatar{color:#fff;background:linear-gradient(135deg,#18b39b,#3b8fd1);border:0;border-radius:13px;flex:none;place-items:center;width:42px;height:42px;min-height:42px;display:grid;box-shadow:0 8px 18px #2189973d}.doctor-workbench .role-runtime-app-identity span{color:#3f6f76;font-size:14px}.doctor-workbench .role-runtime-app-identity h1{color:#123c43;margin-top:0;font-size:22px}.doctor-workbench .role-runtime-app-notice{color:#168579;background:#fffffff0;border-color:#8bcfc7;border-radius:13px;width:42px;height:42px;min-height:42px;padding:0;position:relative;box-shadow:0 6px 16px #31675d1f}.doctor-workbench .role-runtime-app-notice>em{color:#fff;background:#df4f57;border:2px solid #fff;border-radius:10px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:9px;font-style:normal;font-weight:800;line-height:1;display:grid;position:absolute;top:-5px;right:-5px}.doctor-workbench-overview{justify-content:space-between;align-items:center;gap:12px;padding:24px 2px 12px;display:flex}.doctor-workbench-overview h2{color:var(--doctor-text);margin:0;font-size:23px}.doctor-workbench-overview p{max-width:100%;color:var(--doctor-muted);text-overflow:ellipsis;white-space:nowrap;margin:6px 0 0;font-size:15px;line-height:1.45;overflow:hidden}.doctor-workbench .role-prototype-metrics{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;gap:10px!important;margin:0!important}.doctor-workbench.role-runtime-family .role-prototype-metric,.doctor-workbench.role-runtime-doctor .role-prototype-metric{width:100%;min-width:0;color:var(--doctor-text);font:inherit;text-align:left;cursor:pointer;flex-direction:column;justify-content:center;align-items:flex-start;background:var(--doctor-surface)!important;border:1px solid #d5e9e8!important;border-radius:20px!important;height:108px!important;min-height:108px!important;padding:15px 14px!important;display:flex!important;box-shadow:0 8px 22px #2d5a5214!important}.doctor-workbench .role-prototype-metric span{text-overflow:ellipsis;white-space:nowrap;width:100%;line-height:1.35;overflow:hidden;color:#4f7278!important;font-size:14px!important}.doctor-workbench .role-prototype-metric small{text-overflow:ellipsis;white-space:nowrap;width:100%;margin-top:7px;line-height:1.25;display:block;overflow:hidden;color:#4f737b!important;font-size:12px!important}.doctor-workbench .role-prototype-metric strong{line-height:1;color:var(--doctor-primary)!important;margin:9px 0 0!important;font-size:33px!important}.doctor-workbench.role-runtime-family .role-prototype-metric:first-child,.doctor-workbench.role-runtime-family .role-prototype-metric:nth-child(2),.doctor-workbench.role-runtime-family .role-prototype-metric:nth-child(3),.doctor-workbench.role-runtime-doctor .role-prototype-metric:first-child,.doctor-workbench.role-runtime-doctor .role-prototype-metric:nth-child(2),.doctor-workbench.role-runtime-doctor .role-prototype-metric:nth-child(3){background:#fff!important}.doctor-workbench .role-prototype-metric.teal strong{color:var(--doctor-health)!important}.doctor-workbench .role-prototype-metric.blue strong{color:#2878c2!important}.doctor-workbench .role-prototype-metric.coral strong{color:#d4574e!important}.doctor-workbench .role-runtime-primary-panel,.doctor-workbench .role-runtime-quick-panel,.doctor-workbench .role-runtime-tab-page{background:var(--doctor-surface)!important;border:0!important;border-radius:22px!important;box-shadow:0 8px 24px #2d5a5214!important}.doctor-workbench .doctor-workbench-priority{grid-template-columns:minmax(0,1fr) auto;margin-top:16px!important;padding:20px!important}.doctor-workbench .doctor-workbench-priority>div>span{font-size:14px;color:#b4761f!important}.doctor-workbench .doctor-workbench-priority h3{color:var(--doctor-text);font-size:21px}.doctor-workbench .doctor-workbench-priority>button{border-radius:14px;min-height:48px;padding:0 15px;background:var(--doctor-primary)!important}.doctor-workbench .doctor-workbench-priority article{gap:7px;background:#f0f8f6!important;border-radius:16px!important;padding:16px!important}.doctor-workbench-person{color:#326d69;font-size:15px;font-weight:700}.doctor-workbench .doctor-workbench-priority article em{color:#9b681f;background:#fff3dc}.doctor-workbench .doctor-workbench-priority article strong{font-size:17px;line-height:1.55}.doctor-workbench .doctor-workbench-priority article p{font-size:15px;line-height:1.55}.doctor-workbench-priority-actions{justify-content:flex-end;gap:10px;margin-top:7px;display:flex}.doctor-workbench-priority-actions button{color:#47716d;min-height:44px;font:inherit;background:#fff;border:1px solid #bfd8d5;border-radius:12px;padding:0 15px;font-size:15px;font-weight:700}.doctor-workbench-priority-actions button.primary{color:#fff;background:#138b7d;border-color:#138b7d}.doctor-workbench .doctor-workbench-actions{margin-top:16px!important;padding:20px!important}.doctor-workbench .doctor-workbench-actions .role-prototype-panel-title{margin-bottom:15px}.doctor-workbench .doctor-workbench-actions .role-prototype-panel-title h3{color:var(--doctor-text);margin:0;font-size:21px!important}.doctor-workbench .doctor-workbench-actions .role-prototype-panel-title span{letter-spacing:0;margin-top:5px;font-weight:700;color:#168579!important;font-size:14px!important}.doctor-workbench .role-runtime-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.doctor-workbench .role-runtime-quick-grid button{text-align:left;align-content:center;align-items:center;gap:3px 10px;display:grid;position:relative;background:#fbfeff!important;border:1px solid #cfe6e5!important;border-radius:17px!important;grid-template-rows:auto auto!important;grid-template-columns:42px minmax(0,1fr)!important;min-height:94px!important;padding:13px!important}.doctor-workbench .role-runtime-quick-grid button>span{grid-row:1/span 2;place-items:center;display:grid;color:#fff!important;width:42px!important;height:42px!important;box-shadow:none!important;background:linear-gradient(135deg,#16a994,#347fc5)!important;border-radius:13px!important}.doctor-workbench .role-runtime-quick-grid button strong{line-height:1.3;color:#123c43!important;text-overflow:clip!important;white-space:nowrap!important;margin:0!important;font-size:16px!important;overflow:visible!important}.doctor-workbench .role-runtime-quick-grid button small{line-height:1.35;color:#4f737b!important;text-overflow:clip!important;white-space:normal!important;margin:0!important;font-size:13px!important;overflow:visible!important}.doctor-workbench .role-runtime-quick-grid .doctor-workbench-action-arrow{display:none}.doctor-workbench-activity{background:#fff;border:0;border-radius:22px;margin-top:16px;padding:20px;box-shadow:0 8px 24px #2d5a5214}.doctor-workbench-activity .role-prototype-panel-title{align-items:center;margin-bottom:12px}.doctor-workbench-activity .role-prototype-panel-title h3{color:var(--doctor-text);margin:0;font-size:21px}.doctor-workbench-activity .role-prototype-panel-title span{color:#708b89;letter-spacing:0;margin-top:5px;font-size:14px;display:block}.doctor-workbench-activity .role-prototype-panel-title>button{color:#168579;white-space:nowrap;background:0 0;border:0;align-items:center;gap:3px;min-height:44px;padding:0;font-size:15px;font-weight:700;display:inline-flex}.doctor-workbench-activity-list{display:grid}.doctor-workbench-activity-list>button{color:#244544;text-align:left;background:0 0;border:0;border-bottom:1px solid #e4eeeb;grid-template-columns:46px minmax(0,1fr) auto 18px;align-items:center;gap:11px;width:100%;min-height:88px;padding:13px 0;display:grid}.doctor-workbench-activity-list>button:last-child{border-bottom:0}.doctor-workbench-patient-avatar{color:#fff;background:linear-gradient(135deg,#4fb5a4,#438fc4);border-radius:15px;place-items:center;width:46px;height:46px;font-size:18px;font-weight:800;display:grid}.doctor-workbench-patient-avatar.warning{background:linear-gradient(135deg,#f3a23d,#e0782e)}.doctor-workbench-patient-avatar.critical{background:linear-gradient(135deg,#e96b62,#cc4f49)}.doctor-workbench-activity-list>button>span:nth-child(2){min-width:0}.doctor-workbench-activity-list strong,.doctor-workbench-activity-list small,.doctor-workbench-activity-list time{display:block}.doctor-workbench-activity-list strong{color:#173d3c;font-size:17px}.doctor-workbench-activity-list small{color:#607b79;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:15px;line-height:1.45;overflow:hidden}.doctor-workbench-activity-list time{color:#879b99;margin-top:4px;font-size:13px}.doctor-workbench-activity-list em{color:#168579;white-space:nowrap;font-size:14px;font-style:normal;font-weight:700}.doctor-workbench-activity-list>button>svg{color:#73918e}.doctor-workbench-activity-empty{color:#3b8f84;text-align:center;background:#f1faf7;border-radius:16px;align-content:center;place-items:center;min-height:132px;padding:18px;display:grid}.doctor-workbench-activity-empty strong{color:#244544;margin-top:9px;font-size:17px}.doctor-workbench-activity-empty p{color:#718987;margin:5px 0 0;font-size:14px}.doctor-workbench .role-runtime-tab-page{margin-top:18px;padding:20px}.doctor-workbench .role-prototype-app-tabbar{min-height:calc(76px + env(safe-area-inset-bottom,0px));border-top:1px solid #dce8e5;box-shadow:0 -8px 22px #254b4514;background:#fffffffa!important}.doctor-workbench .role-prototype-app-tabbar button{color:#55727b;min-height:54px;font-size:13px}.doctor-workbench .role-prototype-app-tabbar button.active{color:#087f73!important;background:#d8f3ed!important}.doctor-workbench .role-runtime-app-identity h1{font-size:20px}.doctor-workbench-overview{padding-top:20px}.doctor-workbench-overview h2{font-size:21px}.doctor-workbench-overview p{font-size:14px}.doctor-workbench .role-prototype-metric span{font-size:13px!important}.doctor-workbench .role-prototype-metric strong{font-size:29px!important}.doctor-workbench .role-prototype-metric small{font-size:11px!important}.doctor-workbench .doctor-workbench-priority h3{font-size:20px}.doctor-workbench .doctor-workbench-priority article strong{font-size:16px}.doctor-workbench .doctor-workbench-priority article p{font-size:14px}.doctor-workbench .doctor-workbench-actions .role-prototype-panel-title h3{font-size:20px!important}.doctor-workbench .role-runtime-quick-grid button strong{font-size:15px!important}.doctor-workbench .role-runtime-quick-grid button small{font-size:12px!important}@media (width<=380px){.doctor-workbench .role-prototype-main{padding-left:14px!important;padding-right:14px!important}.doctor-workbench .role-runtime-app-header{margin-left:-14px;margin-right:-14px;padding-left:17px;padding-right:17px}.doctor-workbench .role-runtime-app-identity h1{font-size:20px}.doctor-workbench .role-prototype-metric{padding:13px 10px!important}.doctor-workbench .role-prototype-metric span{font-size:13px!important}.doctor-workbench .role-prototype-metric strong{font-size:29px!important}.doctor-workbench .role-runtime-quick-grid button{grid-template-columns:38px minmax(0,1fr)!important}.doctor-workbench .role-runtime-quick-grid button>span{width:38px!important;height:38px!important}.doctor-workbench .role-runtime-quick-grid .doctor-workbench-action-arrow{display:none}.doctor-workbench-activity{padding:17px 14px}.doctor-workbench-activity-list>button{grid-template-columns:42px minmax(0,1fr) 17px}.doctor-workbench-activity-list em{display:none}.doctor-workbench-patient-avatar{width:42px;height:42px}}.rhs-theme.rhs-doctor,.rhs-theme.rhs-doctor .role-runtime,.doctor-workbench{--doctor-page-bg:#f2f7fb;--doctor-surface:#fff;--doctor-surface-muted:#f7fafc;--doctor-line:#d9e6ef;--doctor-primary:#2878c2;--doctor-primary-strong:#1f65a8;--doctor-success:#168579;--doctor-warning:#c78326;--doctor-danger:#c84e4e;--doctor-text:#17324d;--doctor-muted:#5f7890;--doctor-radius-card:16px;--doctor-radius-control:10px;--doctor-control-height:44px;--doctor-page-gutter:clamp(16px, 4vw, 32px)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home){width:100%;max-width:none;min-height:100dvh;padding:0 0 calc(32px + env(safe-area-inset-bottom,0px));background:var(--doctor-page-bg);margin:0}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-shell{width:100%;max-width:760px;min-height:100dvh;padding:24px var(--doctor-page-gutter) 40px;box-sizing:border-box;margin:0 auto}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-header{border-bottom:1px solid var(--doctor-line);justify-content:flex-start;align-items:center;gap:16px;min-height:44px;margin:0 0 20px;padding:0 0 16px;display:flex}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-header>:first-child{flex:auto;min-width:0}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-header .page-back{flex:none;order:1;margin-left:auto}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-title{color:var(--doctor-text);font-size:24px;font-weight:800;line-height:1.3}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-title:before{background:var(--doctor-primary)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-subtitle{color:var(--doctor-muted);font-size:14px;line-height:1.55}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-back{min-width:76px;min-height:var(--doctor-control-height);border-radius:var(--doctor-radius-control);color:var(--doctor-primary-strong);background:var(--doctor-surface);border:1px solid #bfd6e6;justify-content:center;align-items:center;padding:0 16px;font-size:15px;font-weight:700;display:inline-flex}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .card,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .content-card,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .detail-card,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .form-card,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .list-card{border-color:var(--doctor-line);border-radius:var(--doctor-radius-card);background:var(--doctor-surface);box-shadow:0 8px 22px #2c577712}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .card-title,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .section-title,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .info-value{color:var(--doctor-text)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .card-subtitle,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .empty-text,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .timeline-time{color:var(--doctor-muted)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) button{min-height:var(--doctor-control-height);border-radius:var(--doctor-radius-control)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .primary-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .action-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .chat-button{min-height:var(--doctor-control-height);border-radius:var(--doctor-radius-control);border-color:var(--doctor-primary);color:#fff;background:var(--doctor-primary);font-size:15px;font-weight:700}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .primary-button:hover:not(:disabled),.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .action-button:hover:not(:disabled),.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .chat-button:hover:not(:disabled){background:var(--doctor-primary-strong)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .secondary-button{min-height:var(--doctor-control-height);border-radius:var(--doctor-radius-control);color:var(--doctor-primary-strong);background:var(--doctor-surface);border-color:#bfd6e6;font-size:15px;font-weight:700}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .action-button-secondary,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .feedback-btn,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .call-initiate-btn{min-height:var(--doctor-control-height);border-radius:var(--doctor-radius-control)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .field-input,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) input,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) select,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .app-select-trigger{min-height:var(--doctor-control-height);border-radius:var(--doctor-radius-control);color:var(--doctor-text);background:var(--doctor-surface-muted);border-color:#c8dce9}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) textarea{border-radius:var(--doctor-radius-control);background:var(--doctor-surface-muted);border-color:#c8dce9}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .delete-button,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .med-delete-btn,.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .doctor-feedback-delete-button{color:var(--doctor-danger);background:#fff8f8;border-color:#e8bcbc}@media (width<=520px){.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-shell{padding-top:18px;padding-bottom:32px}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-header{margin-bottom:16px;padding-bottom:13px}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .page-title{font-size:22px}}.doctor-workbench.role-runtime-family-doctor{--doctor-text:#15345f;--doctor-muted:#617995;--doctor-primary:#1478e8;--doctor-health:#138bd0;--role-accent:#1478e8!important;background:#f1f8ff!important}.doctor-workbench.role-runtime-family-doctor .role-runtime-app-header{min-height:calc(78px + env(safe-area-inset-top,0px));padding-top:calc(9px + env(safe-area-inset-top,0px));background:linear-gradient(135deg,#82b7f6 0%,#73c5ef 56%,#69d1df 100%);border-bottom-color:#8bcbe5;padding-bottom:9px}.doctor-workbench.role-runtime-family-doctor .role-runtime-app-identity h1{color:#10375f}.doctor-workbench.role-runtime-family-doctor .role-runtime-app-avatar{color:#0c6fd8;background:#ffffffdb;border:1px solid #ffffffd1;box-shadow:0 6px 16px #2665a229}.doctor-workbench.role-runtime-family-doctor .role-runtime-app-notice{color:#0c6fd8;background:#ffffffe0;border-color:#ffffffd1;box-shadow:0 6px 16px #2665a226}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric{border-color:#cbdff0!important;border-radius:14px!important;height:90px!important;min-height:90px!important;padding:12px!important;box-shadow:0 5px 14px #2a56800e!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric:first-child{background:#e8efff!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric:nth-child(2){background:#ddf6ff!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric:nth-child(3){background:#fff0df!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric:first-child>span{color:#526f9e!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric:nth-child(2)>span{color:#397c91!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric:nth-child(3)>span{color:#94683a!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric.teal strong{color:#1478e8!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric.blue strong{color:#138bd0!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric.coral strong{color:#d5534d!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-metric.is-zero strong{color:#6b819c!important}.doctor-workbench.role-runtime-family-doctor .doctor-workbench-overview{padding-top:17px;padding-bottom:10px}.doctor-workbench.role-runtime-family-doctor .role-runtime-primary-panel,.doctor-workbench.role-runtime-family-doctor .role-runtime-quick-panel,.doctor-workbench.role-runtime-family-doctor .role-runtime-tab-page,.doctor-workbench.role-runtime-family-doctor .doctor-workbench-activity,.doctor-workbench.role-runtime-family-doctor .care-role-panel{border-color:#dbe6f0!important;border-radius:16px!important;box-shadow:0 6px 17px #2850760e!important}.doctor-workbench.role-runtime-family-doctor .doctor-workbench-priority.is-empty{display:block;margin-top:14px!important;padding:15px 17px!important}.doctor-workbench-empty-priority{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:12px;display:grid}.doctor-workbench-empty-priority>span{color:#0b9e73;background:#ddf7ed;border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.doctor-workbench-empty-priority h3{color:var(--doctor-text);margin:0;font-size:16px}.doctor-workbench-empty-priority p{color:var(--doctor-muted);margin:4px 0 0;font-size:12px;line-height:1.45}.doctor-workbench.role-runtime-family-doctor .doctor-workbench-priority article{background:#f0f6fd!important}.doctor-workbench.role-runtime-family-doctor .role-runtime-quick-grid button{background:#fbfdff!important;border-color:#c4dcf5!important}.doctor-workbench.role-runtime-family-doctor .role-runtime-quick-grid button>span{background:linear-gradient(135deg,#1778e5,#25b1d6)!important}.doctor-workbench.role-runtime-family-doctor .care-role-head span,.doctor-workbench.role-runtime-family-doctor .care-role-head>button,.doctor-workbench.role-runtime-family-doctor .care-doctor-summary strong{color:#1478d4}.doctor-workbench.role-runtime-family-doctor .doctor-workbench-activity .role-prototype-panel-title>button,.doctor-workbench.role-runtime-family-doctor .doctor-workbench-activity-list em{color:#146dcc}.doctor-workbench.role-runtime-family-doctor .doctor-workbench-activity .role-prototype-panel-title span,.doctor-workbench.role-runtime-family-doctor .doctor-workbench-activity-list small{color:#667e98}.doctor-workbench.role-runtime-family-doctor .doctor-workbench-patient-avatar.warning{color:#cf7508;background:#ffefcf}.doctor-workbench.role-runtime-family-doctor .doctor-workbench-activity-list>button>svg{color:#7890a5}.doctor-workbench.role-runtime-family-doctor .role-prototype-app-tabbar button.active{color:#0c6fd8!important;background:#dbeaff!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-app-tabbar button{border-radius:12px;min-height:48px;margin:3px 7px}.doctor-workbench.role-runtime-family-doctor,.doctor-workbench.role-runtime-hospital-doctor{--doctor-text:#f4f7fb;--doctor-muted:#c4d0df;--doctor-primary:#f9db57;--role-accent:#f9db57!important;background:radial-gradient(circle at 18% 6%,#ffffff17,#0000 34%),linear-gradient(#596a84 0%,#4f5f78 48%,#475572 100%)!important}.doctor-workbench.role-runtime-family-doctor .role-runtime-app-header,.doctor-workbench.role-runtime-hospital-doctor .role-runtime-app-header{display:none}.doctor-workbench.role-runtime-family-doctor .role-runtime-app-identity h1,.doctor-workbench.role-runtime-hospital-doctor .role-runtime-app-identity h1,.doctor-workbench.role-runtime-family-doctor .role-runtime-app-identity>div>span,.doctor-workbench.role-runtime-hospital-doctor .role-runtime-app-identity>div>span{color:#f4f7fb}.doctor-workbench.role-runtime-family-doctor .role-runtime-app-identity>div>span,.doctor-workbench.role-runtime-hospital-doctor .role-runtime-app-identity>div>span{font-size:13px;display:block}.doctor-workbench.role-runtime-family-doctor .role-runtime-app-avatar,.doctor-workbench.role-runtime-hospital-doctor .role-runtime-app-avatar,.doctor-workbench.role-runtime-family-doctor .role-runtime-app-notice,.doctor-workbench.role-runtime-hospital-doctor .role-runtime-app-notice{color:#f9db57;box-shadow:none;background:#ffffff1f;border:1px solid #ffffff47}.doctor-mini-program-home{min-height:100dvh;padding:calc(30px + env(safe-area-inset-top,0px)) 2px calc(16px + env(safe-area-inset-bottom,0px));flex-direction:column;display:flex;position:relative}.doctor-mini-program-brand{text-align:center;flex:none;position:relative}.doctor-mini-program-notice{color:#f9db57;background:#ffffff1f;border:1px solid #ffffff47;border-radius:14px;place-items:center;width:48px;height:48px;display:grid;position:absolute;top:0;right:16px}.doctor-mini-program-notice em{color:#fff;background:#e74d57;border-radius:10px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:10px;font-style:normal;font-weight:800;display:grid;position:absolute;top:-5px;right:-5px}.doctor-mini-program-brand-row{justify-content:center;align-items:center;gap:14px;display:flex}.doctor-mini-program-brand-mark{object-fit:cover;border-radius:18px;width:64px;height:64px;display:block;box-shadow:0 10px 20px #1959ef3d}.doctor-mini-program-brand-row>strong{color:#173252;background:linear-gradient(#ffe679,#ffda52);border-radius:16px;align-items:center;min-height:58px;padding:0 22px;font-size:31px;line-height:1;display:flex;box-shadow:0 10px 22px #f9cb423d}.doctor-visit-focus-home-entry{color:#245877;text-align:left;cursor:pointer;background:linear-gradient(#eef7ff 0%,#fff 100%);border:1px solid #3b93e647;border-radius:16px;gap:4px;width:calc(100% - 24px);margin:18px 12px 0;padding:14px 16px;display:grid;position:relative;box-shadow:0 8px 18px #2b82d614}.doctor-visit-focus-home-entry span{color:#2b82d6;font-size:12px;font-weight:800}.doctor-visit-focus-home-entry strong{font-size:18px}.doctor-visit-focus-home-entry small{color:#6d93a8;font-size:12px;line-height:1.45}.doctor-visit-focus-home-entry em{color:#fff;background:#e85d66;border-radius:11px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:11px;font-style:normal;font-weight:800;display:grid;position:absolute;top:12px;right:14px}.doctor-mini-program-brand>p{color:#cbd5e2;margin:18px 0 0;font-size:20px;line-height:1.3}.doctor-mini-program-grid{flex:auto;grid-template-rows:repeat(2,minmax(150px,1fr));grid-template-columns:repeat(2,minmax(0,1fr));align-content:stretch;gap:10px 16px;min-height:0;margin-top:22px;display:grid}.doctor-mini-program-grid.items-5,.doctor-mini-program-grid.items-6{grid-template-rows:repeat(3,minmax(120px,1fr));gap:2px 16px;margin-top:18px}.doctor-mini-program-grid>button{color:#fff;min-width:0;min-height:0;font:inherit;text-align:center;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;padding:6px 4px;display:flex;position:relative;overflow:visible}.doctor-mini-program-icon{color:#20344c;width:112px;height:112px;box-shadow:none;border-radius:0;justify-content:center;place-items:center;display:flex;position:relative;overflow:visible;background:0 0!important}.doctor-mini-program-badge{z-index:3;color:#fff;box-sizing:border-box;pointer-events:none;background:#f04f4f;border:2px solid #53647d;border-radius:999px;justify-content:center;align-items:center;min-width:26px;height:26px;padding:0 7px;font-size:13px;font-style:normal;font-weight:800;line-height:1;display:inline-flex;position:absolute;top:-6px;right:-6px;box-shadow:0 5px 12px #88181859}.doctor-mini-program-icon img{object-fit:contain;width:100%;height:100%;display:block}.doctor-mini-program-grid.items-5 .doctor-mini-program-icon,.doctor-mini-program-grid.items-6 .doctor-mini-program-icon{width:94px;height:94px}.doctor-mini-program-icon.blue{background:linear-gradient(#d9e9ff,#b6d2f7)}.doctor-mini-program-icon.cyan{background:linear-gradient(#d8f7f3,#aeeae3)}.doctor-mini-program-icon.amber{background:linear-gradient(#fdedc8,#f8da93)}.doctor-mini-program-icon.green{background:linear-gradient(#d9f3e0,#b3e6c3)}.doctor-mini-program-icon.rose{background:linear-gradient(#ffe3e0,#ffc8c2)}.doctor-mini-program-icon.violet{background:linear-gradient(#e7e1ff,#cabdf6)}.doctor-mini-program-grid strong{color:#8ff0ea;max-width:100%;margin-top:7px;font-size:24px;line-height:1.35}.doctor-mini-program-grid.items-5 strong,.doctor-mini-program-grid.items-6 strong{margin-top:4px;font-size:22px}.doctor-mini-program-grid small{color:#c4d0df;margin-top:5px;font-size:14px;line-height:1.4}.doctor-mini-program-grid.has-odd-item>button:last-child{grid-column:1/-1;justify-self:center;width:calc(50% - 8px)}.doctor-mini-program-pager{flex:none;grid-template-columns:92px minmax(0,1fr) 92px;align-items:center;gap:12px;margin-top:10px;display:grid}.doctor-mini-program-pager>button{color:#f4f7fb;min-height:48px;font:inherit;background:#ffffff1f;border:1px solid #ffffff52;border-radius:12px;font-size:16px;font-weight:700}.doctor-mini-program-pager>button:disabled{opacity:.36}.doctor-mini-program-pager>span{color:#c4d0df;justify-content:center;align-items:center;gap:7px;display:flex}.doctor-mini-program-pager em{font-size:14px;font-style:normal}.doctor-mini-program-signout{color:#d6deea;min-height:48px;font:inherit;background:0 0;border:0;flex:none;justify-content:center;align-items:center;gap:8px;margin:8px auto 0;padding:0 18px;font-size:16px;display:flex}.doctor-workbench.role-runtime-family-doctor .role-prototype-app-tabbar,.doctor-workbench.role-runtime-hospital-doctor .role-prototype-app-tabbar{border-top:1px solid #ffffff2e;background:#f5f8fcfa!important}.doctor-workbench.role-runtime-family-doctor .role-prototype-app-tabbar button.active,.doctor-workbench.role-runtime-hospital-doctor .role-prototype-app-tabbar button.active{color:#23344a!important;background:#f9db57!important}@media (width<=380px){.doctor-mini-program-home{padding-top:calc(24px + env(safe-area-inset-top,0px))}.doctor-mini-program-brand-mark{border-radius:16px;width:56px;height:56px}.doctor-mini-program-brand-row>strong{min-height:52px;padding:0 18px;font-size:27px}.doctor-mini-program-brand>p{margin-top:13px;font-size:18px}.doctor-mini-program-grid{gap:6px 10px;margin-top:14px}.doctor-mini-program-grid.items-5,.doctor-mini-program-grid.items-6{gap:0 10px;margin-top:10px}.doctor-mini-program-icon{width:92px;height:92px}.doctor-mini-program-grid.items-5 .doctor-mini-program-icon,.doctor-mini-program-grid.items-6 .doctor-mini-program-icon{width:76px;height:76px}.doctor-mini-program-badge{min-width:22px;height:22px;padding:0 6px;font-size:12px;top:-5px;right:-5px}.doctor-mini-program-grid strong{font-size:21px}.doctor-mini-program-grid.items-5 strong,.doctor-mini-program-grid.items-6 strong{font-size:19px}.doctor-mini-program-pager{grid-template-columns:84px minmax(0,1fr) 84px;gap:9px}.doctor-mini-program-pager>button{min-height:44px;font-size:15px}.doctor-mini-program-signout{min-height:42px;margin-top:2px;font-size:14px}}.doctor-message-summary{color:#18334e;min-height:280px}.doctor-message-summary-head{border-bottom:1px solid #dce7f0;justify-content:space-between;align-items:center;gap:12px;padding:4px 2px 14px;display:flex}.doctor-message-summary-head>div{min-width:0}.doctor-message-summary-head strong,.doctor-message-summary-head span{display:block}.doctor-message-summary-head strong{font-size:17px}.doctor-message-summary-head span{color:#6e8295;margin-top:4px;font-size:12px}.doctor-message-summary-head>button{color:#176cc1;background:#f8fbff;border:1px solid #bdd3e6;border-radius:9px;flex:none;min-height:36px;padding:0 11px;font-size:12px}.doctor-message-list{display:grid}.doctor-message-item{color:#18334e;text-align:left;background:0 0;border:0;border-bottom:1px solid #e4edf4;border-radius:0;grid-template-columns:42px minmax(0,1fr) 17px;align-items:center;gap:10px;width:100%;min-height:82px;padding:12px 2px;display:grid}.doctor-message-item:last-child{border-bottom:0}.doctor-message-item.unread{background:#f3f8ff}.doctor-message-item.grid-visit{border-left:3px solid #2386dc;padding-left:10px}.doctor-message-avatar{color:#176cc1;background:#dfeeff;border-radius:13px;place-items:center;width:42px;height:42px;font-size:15px;font-weight:800;display:grid}.doctor-message-copy{min-width:0}.doctor-message-copy>span{align-items:center;gap:7px;min-width:0;display:flex}.doctor-message-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.doctor-message-copy em{color:#c63e48;background:#ffe9eb;border-radius:7px;flex:none;padding:2px 6px;font-size:9px;font-style:normal}.doctor-message-copy i{color:#1269b5;background:#e2f1ff;border-radius:7px;flex:none;padding:2px 6px;font-size:9px;font-style:normal}.doctor-message-copy small,.doctor-message-copy time{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.doctor-message-copy small{color:#49667f;margin-top:4px;font-size:12px}.doctor-message-copy time{color:#8a9bab;margin-top:4px;font-size:10px}.doctor-message-item>svg{color:#8298aa}.doctor-message-empty,.doctor-message-state{color:#71879a;text-align:center;align-content:center;place-items:center;min-height:230px;padding:24px;display:grid}.doctor-message-empty>span{color:#397fc3;background:#e6f2fd;border-radius:16px;place-items:center;width:52px;height:52px;display:grid}.doctor-message-empty strong{color:#294760;margin-top:12px;font-size:16px}.doctor-message-empty p{color:#7c90a1;margin:5px 0 0;font-size:12px}.doctor-message-state.error{color:#b14949;gap:10px}.doctor-message-state.error button{color:#a84242;background:#fff;border:1px solid #e7bcbc;border-radius:9px;min-height:38px;padding:0 12px;font-size:12px}.doctor-message-detail{gap:14px;padding:2px;display:grid}.doctor-message-detail-back{color:#176cc1;background:0 0;border:0;align-items:center;gap:5px;width:fit-content;padding:6px 0;font-size:13px;display:inline-flex}.doctor-message-detail-heading{border-bottom:1px solid #dce7f0;padding-bottom:14px}.doctor-message-detail-heading>span{color:#60778b;background:#edf3f8;border-radius:7px;padding:4px 8px;font-size:10px;font-weight:700;display:inline-flex}.doctor-message-detail-heading>span.grid-visit{color:#1269b5;background:#e2f1ff}.doctor-message-detail-heading h3{color:#18334e;margin:9px 0 0;font-size:20px}.doctor-message-detail-heading p{color:#8395a5;margin:5px 0 0;font-size:11px}.doctor-message-detail-section{background:#f8fbfd;border:1px solid #dce7f0;border-radius:10px;padding:14px}.doctor-message-detail-section.primary{background:#edf7ff;border-color:#bddaf3}.doctor-message-detail-section strong{color:#274760;font-size:13px;display:block}.doctor-message-detail-section p{color:#49667f;white-space:pre-wrap;margin:8px 0 0;font-size:13px;line-height:1.7}.doctor-message-detail-section em{color:#16805f;align-items:center;gap:4px;margin-top:10px;font-size:10px;font-style:normal;display:inline-flex}.doctor-message-detail-facts{border:1px solid #dce7f0;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid;overflow:hidden}.doctor-message-detail-facts>div{border-bottom:1px solid #e5edf4;min-width:0;padding:11px 12px}.doctor-message-detail-facts>div:nth-child(odd){border-right:1px solid #e5edf4}.doctor-message-detail-facts>div:nth-last-child(-n+2){border-bottom:0}.doctor-message-detail-facts dt{color:#8395a5;font-size:10px}.doctor-message-detail-facts dd{color:#274760;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:12px;font-weight:700;overflow:hidden}.doctor-message-patient-link{color:#fff;background:#2386dc;border:0;border-radius:9px;min-height:42px;font-size:13px;font-weight:700}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .assessment-page-back{width:42px;min-width:42px;padding:0}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .assessment-detail-section{width:100%;max-width:760px;min-height:100dvh;padding:calc(18px + env(safe-area-inset-top,0px)) var(--doctor-page-gutter) 112px;box-sizing:border-box;margin:0 auto}.rhs-theme.rhs-doctor .assessment-detail-header{border-bottom:1px solid var(--doctor-line);flex-direction:row;justify-content:space-between;align-items:center;gap:14px;min-height:48px;margin:0 0 16px;padding:0 0 14px;display:flex}.rhs-theme.rhs-doctor .assessment-detail-header h2{min-width:0;color:var(--doctor-text);overflow-wrap:anywhere;align-items:flex-start;gap:9px;margin:0;font-size:22px;font-weight:800;line-height:1.35;display:flex}.rhs-theme.rhs-doctor .assessment-detail-header h2:before{background:var(--doctor-primary);content:"";border-radius:4px;flex:none;width:5px;height:22px;margin-top:4px}.rhs-theme.rhs-doctor .assessment-back-button{border-radius:var(--doctor-radius-control);width:42px;height:42px;min-height:42px;color:var(--doctor-primary-strong);background:var(--doctor-surface);cursor:pointer;border:1px solid #bfd6e6;flex:none;place-items:center;padding:0;display:grid;box-shadow:0 5px 14px #224b820f}.rhs-theme.rhs-doctor .assessment-detail-section .assessment-content-card{margin-bottom:16px;padding:18px}.rhs-theme.rhs-doctor .hospital-summary-assessment .assessment-content-card{padding:16px}.rhs-theme.rhs-doctor .hospital-summary-assessment .assessment-system-card{border-top-color:var(--doctor-line);margin-top:18px;padding-top:18px}.rhs-theme.rhs-doctor .hospital-summary-assessment .assessment-system-card:first-child{border-top:0;margin-top:0;padding-top:0}.rhs-theme.rhs-doctor .hospital-summary-assessment .assessment-system-card h3{color:var(--doctor-text);margin:0 0 14px;font-size:19px;line-height:1.4}.rhs-theme.rhs-doctor .hospital-summary-assessment .assessment-form-grid{gap:16px 14px;margin-bottom:0}.rhs-theme.rhs-doctor .hospital-summary-assessment .form-group{min-width:0;margin-bottom:0}.rhs-theme.rhs-doctor .hospital-summary-assessment .form-group label{margin-bottom:7px;font-size:14px;line-height:1.4}.rhs-theme.rhs-doctor .hospital-summary-assessment .form-group input,.rhs-theme.rhs-doctor .hospital-summary-assessment .form-group select,.rhs-theme.rhs-doctor .hospital-summary-assessment .form-group .app-select-trigger{height:48px;min-height:48px;padding:0 12px;font-size:15px}.rhs-theme.rhs-doctor .hospital-summary-assessment .hospital-score-trigger{border-radius:var(--doctor-radius-control);min-height:48px}.rhs-theme.rhs-doctor .assessment-detail-section .assessment-actions{z-index:170;width:min(100%,760px);padding:12px var(--doctor-page-gutter) calc(12px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid var(--doctor-line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff7;border-radius:0;margin:0;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -10px 26px #2352751c}.rhs-theme.rhs-doctor .assessment-detail-section .assessment-actions .submit-button{border-radius:var(--doctor-radius-control);color:#fff;background:var(--doctor-primary);border:0;width:100%;min-height:48px;font-size:15px;font-weight:800}.rhs-theme.rhs-doctor .assessment-detail-section .assessment-actions .submit-button:hover:not(:disabled){background:var(--doctor-primary-strong);transform:none}@media (width<=520px){.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .assessment-detail-section{padding-top:calc(14px + env(safe-area-inset-top,0px));padding-left:14px;padding-right:14px}.rhs-theme.rhs-doctor .assessment-detail-header{margin-bottom:14px;padding-bottom:12px}.rhs-theme.rhs-doctor .assessment-detail-header h2{font-size:20px}.rhs-theme.rhs-doctor .assessment-detail-header h2:before{height:20px;margin-top:3px}.rhs-theme.rhs-doctor .assessment-detail-section .assessment-content-card,.rhs-theme.rhs-doctor .hospital-summary-assessment .assessment-content-card{padding:14px}.rhs-theme.rhs-doctor .assessment-detail-section .assessment-actions{padding-left:14px;padding-right:14px}}.rhs-theme .rhs-doctor-modal-body[data-active=feedback]{background:#f3f8fd;padding:0}.rhs-theme .rhs-doctor-modal-body[data-active=feedback] .dashboard-section-plain{width:100%}.rhs-theme .rhs-doctor-modal-body[data-active=feedback] .doctor-feedback-card{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0 0 18px}.rhs-theme .doctor-feedback-intro{background:#fff;align-items:center;gap:12px;padding:20px 18px 16px;display:flex}.rhs-theme .doctor-feedback-intro-icon{color:#0875d1;background:#e6f3ff;border-radius:8px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.rhs-theme .doctor-feedback-intro h3{color:#173654;margin:0;font-size:20px;line-height:1.35}.rhs-theme .doctor-feedback-intro p{color:#6a8299;margin:4px 0 0;font-size:13px;line-height:1.55}.rhs-theme .doctor-feedback-tabs{background:#eaf2f9;border:1px solid #d9e7f3;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:12px 16px 14px;padding:4px;display:grid}.rhs-theme .doctor-feedback-tabs>button{color:#577087;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:42px;padding:8px 10px;font:700 14px/1.25 inherit;display:flex}.rhs-theme .doctor-feedback-tabs>button.active{color:#086fc3;background:#fff;box-shadow:0 2px 8px #215b891a}.rhs-theme .doctor-feedback-tabs em{color:#fff;background:#f26b4a;border-radius:10px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-style:normal;display:grid}.rhs-theme .doctor-feedback-inbox,.rhs-theme .doctor-feedback-invite{padding:0 16px}.rhs-theme .doctor-feedback-inbox-bar{justify-content:space-between;align-items:center;gap:12px;min-height:42px;margin-bottom:12px;display:flex}.rhs-theme .doctor-feedback-inbox-bar>div{gap:2px;display:grid}.rhs-theme .doctor-feedback-inbox-bar strong{color:#173654;font-size:15px}.rhs-theme .doctor-feedback-inbox-bar span{color:#7890a5;font-size:12px}.rhs-theme .doctor-feedback-read-all{color:#0875d1;background:#fff;border:1px solid #bad6ec;border-radius:7px;align-items:center;gap:5px;min-height:36px;padding:7px 10px;font:700 13px/1.2 inherit;display:inline-flex}.rhs-theme .doctor-feedback-empty{text-align:center;background:#fff;border:1px solid #dce9f4;border-radius:8px;align-content:center;place-items:center;min-height:260px;padding:30px 22px;display:grid}.rhs-theme .doctor-feedback-empty>span{color:#1686dc;background:#e8f5ff;border-radius:8px;place-items:center;width:58px;height:58px;margin-bottom:14px;display:grid}.rhs-theme .doctor-feedback-empty>strong{color:#173654;font-size:18px}.rhs-theme .doctor-feedback-empty>p{color:#6a8299;max-width:290px;margin:8px 0 18px;font-size:13px;line-height:1.65}.rhs-theme .doctor-feedback-empty>button,.rhs-theme .doctor-feedback-qr-placeholder>button{color:#fff;background:#087bd2;border:0;border-radius:7px;min-height:42px;padding:9px 18px;font:800 14px/1.25 inherit}.rhs-theme .doctor-feedback-invite-heading{background:#eaf6ff;border:1px solid #cfe2f2;border-radius:8px;align-items:flex-start;gap:12px;margin-bottom:12px;padding:15px;display:flex}.rhs-theme .doctor-feedback-invite-heading>span{color:#0875d1;background:#fff;border-radius:8px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.rhs-theme .doctor-feedback-invite-heading em{color:#0875d1;font-size:12px;font-style:normal;font-weight:800}.rhs-theme .doctor-feedback-invite-heading h4{color:#173654;margin:3px 0 4px;font-size:17px}.rhs-theme .doctor-feedback-invite-heading p{color:#648098;margin:0;font-size:12px;line-height:1.55}.rhs-theme .doctor-feedback-qr-placeholder,.rhs-theme .doctor-feedback-qr-ready{text-align:center;background:#fff;border:1px solid #dce8f2;border-radius:8px;align-content:center;place-items:center;min-height:285px;padding:24px 18px;display:grid}.rhs-theme .doctor-feedback-qr-placeholder>span{color:#087bd2;background:#eaf5ff;border-radius:8px;place-items:center;width:58px;height:58px;margin-bottom:13px;display:grid}.rhs-theme .doctor-feedback-qr-placeholder>strong{color:#173654;font-size:17px}.rhs-theme .doctor-feedback-qr-placeholder>p{color:#7890a5;margin:7px 0 17px;font-size:13px}.rhs-theme .doctor-feedback-qr-ready .qr-code-wrapper{background:#fff;border:1px solid #d6e4ef;border-radius:8px;margin:12px auto 16px;padding:10px}.rhs-theme .doctor-feedback-qr-state{color:#08795d;align-items:center;gap:5px;font-size:13px;font-weight:800;display:inline-flex}.rhs-theme .doctor-feedback-qr-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;display:grid}.rhs-theme .doctor-feedback-qr-actions>button{color:#0875d1;background:#fff;border:1px solid #b9d4e9;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:8px 10px;font:800 13px/1.2 inherit;display:inline-flex}.rhs-theme .doctor-feedback-qr-actions>button.primary{color:#fff;background:#087bd2;border-color:#087bd2}.rhs-theme .doctor-feedback-qr-error{color:#c64e3a;margin:10px 0 0;font-size:12px}.rhs-theme .doctor-feedback-invite-note{color:#587289;background:#e9f1f7;border-radius:8px;align-items:flex-start;gap:9px;margin-top:12px;padding:12px 13px;display:flex}.rhs-theme .doctor-feedback-invite-note>.app-icon{color:#28769f;flex:none;margin-top:1px}.rhs-theme .doctor-feedback-invite-note p{gap:2px;margin:0;display:grid}.rhs-theme .doctor-feedback-invite-note strong{color:#284c67;font-size:12px}.rhs-theme .doctor-feedback-invite-note span{font-size:11px;line-height:1.5}.rhs-theme .rhs-doctor-modal-body[data-active=feedback] .doctor-feedback-item,.rhs-theme .rhs-doctor-modal-body[data-active=feedback] .doctor-feedback-history-toggle{border-color:#d8e6f1;border-radius:8px}.rhs-theme .rhs-doctor-modal-body[data-active=feedback] .doctor-feedback-item-unread{border-left:4px solid #1686dc;box-shadow:0 4px 15px #15629914}.rhs-theme .rhs-doctor-modal-body[data-active=feedback] .doctor-feedback-item-read{background:#fff}@media (width<=420px){.rhs-theme .doctor-feedback-intro{padding:16px 14px 13px}.rhs-theme .doctor-feedback-tabs{margin-left:12px;margin-right:12px}.rhs-theme .doctor-feedback-inbox,.rhs-theme .doctor-feedback-invite{padding-left:12px;padding-right:12px}}.rhs-theme .chat-page-shell{color:#18364d}.rhs-theme.rhs-doctor .app-main:not(.app-main-home) .chat-page-shell-thread{width:calc(100% + var(--doctor-page-gutter) * 2);height:100%;min-height:0;margin-right:calc(var(--doctor-page-gutter) * -1);margin-left:calc(var(--doctor-page-gutter) * -1)}.rhs-theme.rhs-doctor .app-main:not(.app-main-home):has(.chat-page-shell-thread){overflow:clip hidden}.rhs-theme .chat-page-shell>.chat-page-header{border-bottom-color:#d7e6f0;margin-bottom:10px;padding-bottom:12px}.rhs-theme .chat-page-shell>.chat-page-header .page-title{letter-spacing:0;font-size:22px}.rhs-theme .chat-page-shell>.chat-page-header .page-title:before{background:#287ec2;width:4px;height:20px;margin-right:8px}.rhs-theme .chat-page-shell>.chat-page-header .page-subtitle{color:#5e7b92;font-size:13px}.rhs-theme .chat-page-shell>.chat-page-header .page-back{color:#1768ad;background:#fff;border-color:#bfd9ea;border-radius:13px;min-width:68px;min-height:42px;transform:translate(-2px)}.rhs-theme .chat-page-shell>.chat-window-shell,.rhs-theme .chat-page-shell>.chat-window-embedded{width:100%;max-width:none;min-height:0;margin:0;padding:0}.rhs-theme .chat-page-shell-thread .chat-window{background:#fff;border:1px solid #cfe1ed;border-radius:16px;height:min(720px,100dvh - 148px);min-height:520px;box-shadow:0 8px 22px #2d5d7c14}.rhs-theme .chat-page-shell .chat-toolbar-compact{background:#fff;border-bottom:1px solid #e1ebf1;justify-content:space-between;align-items:center;gap:10px;min-height:52px;padding:8px 12px;display:flex}.rhs-theme .chat-page-shell .chat-toolbar-main,.rhs-theme .chat-page-shell .call-buttons{align-items:center;gap:8px;min-width:0;display:flex}.rhs-theme .chat-page-shell .chat-toolbar-main{flex-wrap:wrap;flex:auto}.rhs-theme .chat-page-shell .chat-room-participants-inline{flex-wrap:wrap;flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.rhs-theme .chat-page-shell .chat-participant-chip{color:#2a648e;text-overflow:ellipsis;white-space:nowrap;background:#eef6fb;border-radius:999px;align-items:center;max-width:110px;min-height:28px;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex;overflow:hidden}.rhs-theme .chat-page-shell .chat-tools-menu{flex:none;position:relative}.rhs-theme .chat-page-shell .chat-tools-toggle,.rhs-theme .chat-page-shell .chat-toolbar-compact button{color:#2a648e;cursor:pointer;background:#f5f9fc;border:1px solid #c8dce9;border-radius:10px;justify-content:center;align-items:center;gap:5px;min-height:36px;padding:0 11px;font-size:13px;font-weight:700;display:inline-flex}.rhs-theme .chat-page-shell .chat-tools-toggle.open,.rhs-theme .chat-page-shell .chat-toolbar-compact button:hover:not(:disabled){color:#155e8e;background:#eaf5fc;border-color:#83b7d8}.rhs-theme .chat-page-shell .chat-toolbar-compact button:disabled{opacity:.5;cursor:not-allowed}.rhs-theme .chat-page-shell .chat-tools-panel{z-index:20;background:#fff;border:1px solid #cfe1ed;border-radius:12px;gap:4px;min-width:188px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 24px #234e6c24}.rhs-theme .chat-page-shell .chat-tools-panel button{background:0 0;border-color:#0000;justify-content:flex-start;width:100%;min-height:38px}.rhs-theme .chat-page-shell .chat-tools-panel button:hover:not(:disabled){background:#eef6fb}.rhs-theme .chat-page-shell .chat-recording-live,.rhs-theme .chat-page-shell .clinical-record-btn.recording{color:#fff;background:#c74b4b;border-color:#c74b4b}.rhs-theme .chat-page-shell .call-buttons{flex:none}.rhs-theme .chat-page-shell .chat-messages{background:#f4f8fb;gap:14px;padding:18px 16px}.rhs-theme .chat-page-shell .chat-message{max-width:76%}.rhs-theme .chat-page-shell .message-sender{color:#607c91;margin:0 6px 4px;font-size:12px}.rhs-theme .chat-page-shell .message-content{border:1px solid #d6e4ec;border-radius:14px;padding:11px 14px;font-size:14px;line-height:1.55;box-shadow:0 2px 7px #254d660d}.rhs-theme .chat-page-shell .chat-message.own .message-content:not(.message-content-template){background:#2e80bd;border-color:#2e80bd}.rhs-theme .chat-page-shell .chat-message.other .message-content:not(.message-content-template){background:#fff}.rhs-theme .chat-page-shell .message-meta{color:#6e8799;opacity:1;margin-top:5px;font-size:11px}.rhs-theme .chat-page-shell .message-time{color:#6e8799}.rhs-theme .chat-page-shell .message-status.read{color:#177c69;background:#e3f5ef}.rhs-theme .chat-page-shell .chat-input-area{background:#fff;border-top:1px solid #dce8ef;padding:12px 14px}.rhs-theme .chat-page-shell .input-container{align-items:flex-end;gap:8px}.rhs-theme .chat-page-shell .input-container textarea{color:#18364d;background:#f8fbfd;border:1px solid #c8dce9;border-radius:12px;min-height:44px;padding:10px 12px;font-size:14px}.rhs-theme .chat-page-shell .input-container textarea:focus{border-color:#2e80bd;box-shadow:0 0 0 3px #2e80bd1f}.rhs-theme .chat-page-shell .chat-image-trigger{color:#2a648e;background:#f5f9fc;border:1px solid #c8dce9;border-radius:12px;place-items:center;width:44px;height:44px;min-height:44px;padding:0;display:inline-grid}.rhs-theme .chat-page-shell .send-button{color:#fff;background:#287ec2;border:0;border-radius:12px;min-height:44px;padding:0 18px;font-size:14px;font-weight:800}.rhs-theme .chat-page-shell .send-button:hover:not(:disabled){box-shadow:none;background:#1768ad;transform:none}@media (width<=620px){.rhs-theme .chat-page-shell{padding-left:14px;padding-right:14px}.rhs-theme .chat-page-shell>.chat-page-header{align-items:flex-start}.rhs-theme .chat-page-shell>.chat-page-header .page-title{font-size:21px}.rhs-theme .chat-page-shell-thread .chat-window{height:calc(100dvh - 132px);min-height:480px}.rhs-theme .chat-page-shell .chat-toolbar-compact{flex-wrap:nowrap;align-items:center}.rhs-theme .chat-page-shell .chat-tools-toggle span{display:none}.rhs-theme .chat-page-shell .call-buttons button{min-width:0;padding:0 10px}.rhs-theme .chat-page-shell .chat-messages{padding:14px 11px}.rhs-theme .chat-page-shell .chat-message{max-width:88%}.rhs-theme .chat-page-shell .chat-input-area{padding:10px}.rhs-theme .chat-page-shell .input-container{grid-template-columns:44px minmax(0,1fr) auto;display:grid}.rhs-theme .chat-page-shell .input-container textarea{width:auto}.rhs-theme .chat-page-shell .send-button{padding:0 14px}}
