.patient-theme{min-height:100vh;font-family:var(--font-sans);background:var(--bg);color:var(--text)}.portal-page{gap:16px;width:100%;min-width:0;max-width:580px;margin:0 auto;display:grid}.portal-page>*{min-width:0}.portal-page.portal-page-wide{max-width:900px}.patient-theme .card{overflow-wrap:break-word;border-radius:16px;min-width:0}.card.portal-card-muted{background:var(--surface-alt);box-shadow:none}.card.portal-card-highlight{background:var(--gold-dim);border-color:var(--gold-line)}.portal-page .empty-state{background:var(--surface);border-color:var(--border);box-shadow:var(--card-shadow);border-radius:16px}.portal-page .card .empty-state{background:var(--bg-sunken);border-color:var(--border-light);box-shadow:none;border-radius:12px}.portal-icon-tile{background:var(--tone-tint,var(--gold-light));width:40px;height:40px;color:var(--tone-text,var(--gold-text));border-radius:12px;flex:none;place-items:center;display:inline-grid}.portal-icon-tile>svg{width:18px;height:18px}.portal-meta-row{color:var(--text-mid);align-items:center;gap:8px;font-size:14px;line-height:20px;display:flex}.portal-meta-row>svg{width:15px;height:15px;color:var(--text-light);flex:none}.portal-icon-tile-round{border-radius:999px}.btn.portal-btn-46{--btn-h:46px}.btn.portal-btn-44{--btn-h:44px}.patient-theme .choice-pill{height:44px;padding:0 16px;font-size:15px}@media (max-width:767px){.patient-theme .input:not(textarea),.patient-theme .select{min-height:44px;font-size:16px}.patient-theme textarea.input{font-size:16px}}.portal-header{--btn-ghost-fg:#a3acb9;--btn-ghost-fg-hover:#edebe6;--btn-ghost-bg-hover:#94a3b817;--btn-ghost-bg-pressed:#94a3b824;--ring-offset:#0e1620;--focus-ring-color:#e3c473a6;z-index:8;min-height:64px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px 20px;background:var(--navy);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.portal-header-brand{color:#edebe6;font-size:15px;font-weight:600;line-height:20px}.portal-header-accent{color:#e3c473}.portal-header-name{color:#a3acb9;margin-top:1px;font-size:12.5px;line-height:16px}.portal-account{cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;width:44px;height:44px;padding:0;display:inline-grid}.avatar.portal-avatar{--avatar-bg:#d3ad52;--avatar-fg:#1b1408}.portal-main{max-width:100vw;min-height:calc(100vh - 64px);padding:20px 16px calc(100px + env(safe-area-inset-bottom));overflow-x:hidden}.portal-side-nav{display:none}.portal-side-nav .sidebar-link{height:40px}.portal-bottom-nav{z-index:10;height:calc(78px + env(safe-area-inset-bottom));padding:0 4px env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);align-items:stretch;display:flex;position:fixed;bottom:0;left:0;right:0}.portal-tab{min-width:0;color:var(--neutral-text);transition:color .15s var(--ease);flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:4px;font-size:12px;font-weight:500;line-height:16px;display:flex}.portal-tab-icon{width:52px;height:30px;transition:background .2s var(--ease), color .2s var(--ease);border-radius:999px;place-items:center;display:grid;position:relative}.portal-tab-icon>svg{width:20px;height:20px}.portal-tab-badge{background:var(--gold);min-width:18px;height:18px;box-shadow:0 0 0 2px var(--surface);color:#1a1408;border-radius:999px;place-items:center;padding:0 5px;font-size:11px;font-weight:700;line-height:1;display:grid;position:absolute;top:-2px;right:6px}.portal-tab-active{color:var(--text);font-weight:600}.portal-tab-active .portal-tab-icon{background:var(--btn-primary-bg);color:#e3c473}.patient-theme .fixed:has(>.toast-surface){bottom:calc(94px + env(safe-area-inset-bottom))}@media (min-width:1024px){.portal-body{align-items:flex-start;display:flex}.portal-side-nav{background:var(--surface);border:1px solid var(--border);width:232px;box-shadow:var(--card-shadow);border-radius:16px;flex-direction:column;flex:none;gap:1px;margin:20px 0 20px 20px;padding:10px;display:flex;position:sticky;top:84px}.portal-body .portal-main{flex:1;min-width:0;min-height:calc(100vh - 64px);padding:28px 32px 40px}.portal-bottom-nav{display:none}.patient-theme .fixed:has(>.toast-surface){bottom:24px}}.portal-header .skeleton{--skeleton:#94a3b81f;--skeleton-shine:#94a3b838}.portal-ring-progress{animation:portal-ring-draw .9s var(--ease) forwards}@keyframes portal-ring-draw{0%{stroke-dashoffset:var(--ring-circ,339)}}@media (prefers-reduced-motion:reduce){.portal-ring-progress{animation:none}}
