:root{--bg:#f8fafc;--bg-elevated:#fff;--primary:#2563eb;--primary-soft:#eff6ff;--primary-hover:#1d4ed8;--text-dark:#0f172a;--text-muted:#64748b;--text-subtle:#94a3b8;--border:#e2e8f0;--card-bg:#fff;--success:#16a34a;--success-bg:#f0fdf4;--danger:#dc2626;--danger-bg:#fef2f2;--warning:#d97706;--radius-sm:10px;--radius-md:14px;--radius-lg:20px;--radius-xl:24px;--shadow-sm:0 1px 2px #0f172a0a;--shadow-md:0 4px 24px #2563eb14;--shadow-card:0 12px 40px #0f172a0f;--gradient-hero:linear-gradient(135deg, #eff6ff 0%, #ecfeff 45%, #f5f3ff 100%);--font-sans:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}html,body{height:100%}body{font-family:var(--font-sans);background:var(--bg);color:var(--text-dark);-webkit-font-smoothing:antialiased;margin:0}*{box-sizing:border-box}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button{font-family:inherit}h1,h2,h3,h4,h5,h6{color:var(--text-dark);margin-top:0}.card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:22px;transition:box-shadow .2s,border-color .2s}.card:hover{box-shadow:var(--shadow-card)}.card--flat:hover{box-shadow:var(--shadow-sm)}.card--interactive{cursor:pointer;transition:transform .2s,box-shadow .2s}.card--interactive:hover{transform:translateY(-2px)}.pill{border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-block}.page-shell{padding:8px 0 40px}.page-hero{background:var(--gradient-hero);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-md);margin-bottom:24px;padding:20px 22px 22px}.page-hero__title{letter-spacing:-.02em;color:var(--text-dark);margin:0;font-size:1.5rem;font-weight:900}.page-hero__subtitle{color:var(--text-muted);max-width:36rem;margin:8px 0 0;font-size:.9rem;font-weight:500;line-height:1.45}.section-title{color:var(--text-dark);letter-spacing:-.01em;margin:0 0 14px;font-size:1rem;font-weight:800}.section-title--lg{margin-bottom:16px;font-size:1.125rem}.btn{border-radius:var(--radius-md);cursor:pointer;border:none;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-size:.9375rem;font-weight:700;transition:background .15s,opacity .15s,transform .1s;display:inline-flex}.btn:disabled{cursor:not-allowed;opacity:.72}.btn--primary{background:var(--primary);color:#fff}.btn--primary:hover:not(:disabled){background:var(--primary-hover)}.btn--secondary{background:var(--bg-elevated);color:var(--text-dark);border:1px solid var(--border)}.btn--secondary:hover:not(:disabled){background:var(--bg);border-color:var(--text-subtle)}.btn--block{width:100%}.btn--back{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--bg-elevated);width:44px;height:44px;color:var(--text-muted);cursor:pointer;justify-content:center;align-items:center;font-size:1.25rem;transition:background .15s,border-color .15s;display:inline-flex}.btn--back:hover{background:var(--bg);border-color:var(--text-subtle);color:var(--text-dark)}.input-label{color:var(--text-subtle);letter-spacing:.04em;margin-bottom:8px;font-size:.75rem;font-weight:800;display:block}.input-field{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-dark);padding:14px 16px;font-size:1rem;transition:border-color .15s,box-shadow .15s}.input-field:focus{border-color:var(--primary);background:#fff;outline:none;box-shadow:0 0 0 3px #2563eb26}.input-field::placeholder{color:var(--text-subtle)}.select-field{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text-dark);cursor:pointer;padding:14px 16px;font-size:1rem}.select-field:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #2563eb26}.lang-select{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--bg-elevated);color:var(--text-dark);cursor:pointer;padding:8px 12px;font-size:.8125rem;font-weight:600}.lang-select:focus{border-color:var(--primary);outline:none}.filter-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:22px;display:flex}.filter-chip{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:#fff;border-radius:999px;padding:9px 18px;font-size:.8125rem;font-weight:700;transition:background .15s,border-color .15s,color .15s}.filter-chip:hover{border-color:var(--text-subtle);color:var(--text-dark)}.filter-chip--active{background:var(--primary);border-color:var(--primary);color:#fff}.stat-card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:20px 22px;transition:box-shadow .2s,transform .2s}.stat-card:hover{box-shadow:var(--shadow-card)}.stat-card__value{letter-spacing:-.03em;color:var(--text-dark);margin-top:10px;font-size:1.75rem;font-weight:800;line-height:1.1}.stat-card__value--accent{color:var(--primary)}.alert-error{border-radius:var(--radius-md);background:var(--danger-bg);color:#991b1b;text-align:center;border:1px solid #fecaca;padding:14px 16px;font-size:.875rem;font-weight:600}.alert-inline{border-radius:var(--radius-md);padding:14px 16px;font-size:.875rem;font-weight:600}.auth-fullscreen{z-index:2000;background:var(--bg);flex-direction:column;align-items:center;padding:24px 16px 0;display:flex;position:fixed;inset:0;overflow-y:auto}.auth-fullscreen__body{flex:1;justify-content:center;align-items:flex-start;width:100%;padding-bottom:24px;display:flex}.auth-footer{text-align:center;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffb8;flex-shrink:0;width:100%;padding:16px 20px 24px}.auth-footer__link{color:var(--text-muted);font-size:14px;font-weight:600;text-decoration:none}.auth-footer__link:hover{color:var(--primary);text-decoration:underline}.auth-loading{color:var(--text-muted);flex-direction:column;align-items:center;gap:16px;margin-top:20vh;font-weight:600;display:flex}.auth-spinner{border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:40px;height:40px;animation:.75s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}.sidebar{border-right:1px solid var(--border);background:linear-gradient(#fff 0%,#f8fafc 100%);width:100%;max-width:272px;padding:22px 20px}.sidebar-brand{color:var(--text-dark);letter-spacing:-.02em;font-size:1.15rem;font-weight:900;line-height:1.25}.sidebar-brand span{color:var(--primary)}.doctor-nav{flex-direction:column;gap:6px;margin-top:8px;display:flex}.doctor-nav-link{border-radius:var(--radius-md);color:var(--text-muted);padding:12px 16px;font-size:.9rem;font-weight:700;text-decoration:none;transition:background .15s,color .15s;display:block}.doctor-nav-link:hover{background:var(--primary-soft);color:var(--primary);text-decoration:none}.doctor-nav-link--active{background:var(--primary-soft);color:var(--primary);box-shadow:inset 0 0 0 1px #2563eb1f}.main-content{background:var(--bg);flex:1;min-height:100vh;padding:28px 5% 48px;overflow-y:auto}.otp-pin-root{width:100%}.otp-pin-cells{justify-content:space-between;gap:8px;min-height:56px;display:flex;position:relative}.otp-pin-cell{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--bg);min-width:0;height:56px;color:var(--text-dark);flex:1;justify-content:center;align-items:center;font-size:1.375rem;font-weight:800;transition:border-color .18s,background .18s,box-shadow .18s;display:flex}.otp-pin-cell--filled{background:var(--primary-soft)}.otp-pin-cell--active{border-color:var(--primary);border-width:2px;box-shadow:0 4px 14px #2563eb1f}.otp-pin-placeholder{color:var(--text-subtle);opacity:.35;font-size:1.5rem;font-weight:600;line-height:1}.otp-cursor{background:var(--primary);border-radius:1px;width:2px;height:22px;animation:1s step-end infinite otp-blink}@keyframes otp-blink{50%{opacity:0}}.otp-pin-input{opacity:0;cursor:pointer;caret-color:#0000;background:0 0;border:none;width:100%;height:100%;font-size:16px;position:absolute;inset:0}.otp-pin-input:focus{outline:none}.landing{background:var(--gradient-hero);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:32px 20px;display:flex}.landing-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--border);border-radius:var(--radius-xl);width:100%;max-width:440px;box-shadow:var(--shadow-card);text-align:center;background:#ffffffeb;padding:36px 32px}.landing-card h1{letter-spacing:-.03em;margin-bottom:10px;font-size:1.75rem;font-weight:900}.landing-card p{color:var(--text-muted);margin-bottom:28px;font-weight:500;line-height:1.5}.landing-actions{flex-direction:column;gap:12px;display:flex}.landing-actions .btn,.landing-actions a.btn:hover{text-decoration:none}.flex{display:flex}.flex-col{flex-direction:column;display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.page-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.page-toolbar h1{letter-spacing:-.02em;margin:0;font-size:1.5rem;font-weight:900}.empty-state{text-align:center;color:var(--text-muted);border-radius:var(--radius-lg);border:1px dashed var(--border);background:var(--bg);padding:40px 24px;font-weight:600}@media (max-width:768px){.mobile-col{flex-direction:column}.mobile-w-full{width:100%}.sidebar{border-right:none;border-bottom:1px solid var(--border);max-width:100%;padding:16px}.main-content{min-height:auto;padding:18px 16px 40px;overflow-y:visible}.nav-links,.doctor-nav{flex-wrap:nowrap;gap:8px;padding-bottom:4px;overflow-x:auto;flex-direction:row!important}.doctor-nav-link{white-space:nowrap;flex-shrink:0}}.patient-shell{max-width:480px;min-height:100vh;box-shadow:0 0 0 1px var(--border);background:#f8fafc;flex-direction:column;margin:0 auto;display:flex;position:relative}.patient-shell__main{flex:1;padding-bottom:80px;overflow-y:auto}.patient-bottom-nav{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);width:100%;max-width:480px;padding:8px 4px calc(8px + env(safe-area-inset-bottom));z-index:100;background:#fffffff5;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.patient-bottom-nav__link{border-radius:var(--radius-md);color:var(--text-muted);flex-direction:column;flex:1;align-items:center;gap:4px;padding:8px 4px;font-size:11px;font-weight:700;text-decoration:none;transition:color .15s,background .15s;display:flex}.patient-bottom-nav__link:hover{color:var(--primary);text-decoration:none}.patient-bottom-nav__link--active{color:var(--primary);background:var(--primary-soft)}.patient-bottom-nav__icon{font-size:20px;line-height:1}.patient-tab{min-height:100%}.patient-hero{border-bottom:1px solid var(--border);background:linear-gradient(135deg,#fff7ed 0%,#eff6ff 50%,#ecfdf5 100%);padding:18px 20px 20px}.patient-hero--medicine{background:linear-gradient(135deg,#eff6ff 0%,#f5f3ff 50%,#ecfdf5 100%)}.patient-hero__row{justify-content:space-between;align-items:center;gap:12px;display:flex}.patient-hero__greeting{color:var(--text-muted);margin:0 0 4px;font-size:14px;font-weight:600}.patient-hero__name{letter-spacing:-.02em;margin:0;font-size:1.35rem;font-weight:900}.patient-avatar{background:var(--primary);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:16px;font-weight:800;text-decoration:none;display:flex;box-shadow:0 4px 14px #2563eb40}.patient-avatar:hover{opacity:.92;text-decoration:none}.patient-page-header{background:#f8fafc;padding:20px 20px 8px}.patient-page-header h1{letter-spacing:-.02em;margin:0;font-size:1.5rem;font-weight:900}.patient-page-header p{color:var(--text-muted);margin:4px 0 0;font-size:14px;font-weight:500}.patient-tab__body{flex-direction:column;gap:16px;padding:16px 16px 24px;display:flex}.patient-section h2{margin:0 0 12px;font-size:1rem;font-weight:800}.patient-section__header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.patient-section__header h2{margin:0}.patient-section__links a{font-size:13px;font-weight:700}.patient-section__meta{color:var(--text-muted);font-size:13px;font-weight:700}.api-loading-strip{background:linear-gradient(90deg, transparent, var(--primary), transparent);height:2px;animation:1.2s ease-in-out infinite api-strip}@keyframes api-strip{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}.status-banner{border-radius:var(--radius-lg);border:1px solid;padding:14px 16px}.status-banner__title{font-size:15px;font-weight:800}.status-banner__sub{opacity:.9;margin-top:4px;font-size:13px;font-weight:600}.stat-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stat-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex-direction:column;gap:4px;padding:14px;display:flex}.stat-card__label{color:var(--text-subtle);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:700}.stat-card__value{letter-spacing:-.02em;font-size:1.25rem;font-weight:900}.stat-card__value--sm{font-size:1rem}.stat-card__sub{color:var(--text-muted);font-size:12px;font-weight:600}.dipstick-badge{border-radius:8px;width:fit-content;padding:4px 10px;font-size:1rem;display:inline-block}.week-dipstick{flex-direction:column;gap:8px;display:flex}.week-dipstick__day{border:1px solid var(--border);border-radius:var(--radius-md);background:#fff;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.week-dipstick__date{color:var(--text-muted);font-size:13px;font-weight:600}.week-dipstick__result{border-radius:8px;padding:4px 10px;font-size:12px;font-weight:800}.progress-bar{background:var(--border);border-radius:999px;height:8px;margin-bottom:12px;overflow:hidden}.progress-bar__fill{background:var(--primary);border-radius:999px;height:100%;transition:width .3s}.task-list{flex-direction:column;gap:12px;display:flex}.task-item{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;flex-direction:column;gap:10px;padding:14px;display:flex}.task-item__main{align-items:flex-start;gap:12px;display:flex}.task-item__label{font-size:14px;font-weight:700}.task-item__label--done{color:var(--text-muted);text-decoration:line-through}.task-item__sub{color:var(--text-muted);margin-top:2px;font-size:12px;font-weight:600}.task-item__extra{color:var(--primary);margin-top:4px;font-size:12px;font-weight:700}.task-dot{border:2px solid var(--border);border-radius:50%;flex-shrink:0;width:18px;height:18px;margin-top:2px}.task-dot--done{background:var(--success);border-color:var(--success)}.task-inline-form{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.task-inline-form .input-field{flex:1;min-width:100px}.dipstick-picker{flex-wrap:wrap;gap:6px;display:flex}.dipstick-picker__btn{border-radius:var(--radius-md);border:1px solid var(--border);cursor:pointer;flex:1;min-width:52px;padding:10px 8px;font-size:12px;font-weight:800;transition:transform .1s}.dipstick-picker__btn--selected{transform:scale(1.02)}.dipstick-picker__btn:disabled{opacity:.6;cursor:not-allowed}.alert-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:#fff;margin-bottom:8px;padding:14px}.alert-card--active{background:#fef2f2;border-color:#fecaca}.alert-card__severity{text-transform:uppercase;color:var(--danger);margin-bottom:4px;font-size:11px;font-weight:800}.alert-success{background:var(--success-bg);color:#166534;border-radius:var(--radius-md);border:1px solid #bbf7d0;padding:12px 14px;font-size:14px;font-weight:600}.text-muted{color:var(--text-muted);font-weight:500}.patient-skeleton{color:var(--text-muted);text-align:center;padding:40px 20px;font-weight:600}.diary-history__row{border-bottom:1px solid var(--border);justify-content:space-between;padding:8px 0;font-size:14px;display:flex}.taper-timeline{flex-direction:column;gap:12px;display:flex}.taper-step{opacity:.6;align-items:flex-start;gap:12px;display:flex}.taper-step--active{opacity:1}.taper-step__dot{background:var(--border);border-radius:50%;flex-shrink:0;width:12px;height:12px;margin-top:4px}.taper-step--active .taper-step__dot{background:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}.medicine-dose{margin:8px 0 0;font-size:1.25rem;font-weight:800}.safety-tips{color:var(--text-muted);margin:0;padding-left:20px;font-size:14px;line-height:1.6}.care-team-list{margin:12px 0 0;padding-left:20px;font-size:14px}.profile-row{border-bottom:1px solid var(--border);justify-content:space-between;padding:10px 0;font-size:14px;display:flex}.profile-row span:first-child{color:var(--text-muted);font-weight:600}.history-timeline{flex-direction:column;gap:0;display:flex}.history-step{gap:12px;padding-bottom:16px;display:flex;position:relative}.history-step__dot{z-index:1;border-radius:50%;flex-shrink:0;width:14px;height:14px;margin-top:18px}.history-step--remission .history-step__dot{background:var(--success)}.history-step--relapse .history-step__dot{background:var(--danger)}.history-step__content{flex:1;padding:14px!important}.history-step__type{font-size:14px;font-weight:800}.patient-auth__card-wrap{width:100%;max-width:440px;margin-top:min(8vh,48px)}.patient-auth__hero{margin-bottom:20px}.patient-auth-hero{justify-content:center;align-items:center;height:152px;margin-bottom:4px;display:flex}.patient-auth__hint{color:var(--text-subtle);text-align:center;margin-top:20px;margin-bottom:0;font-size:12px;font-weight:600;line-height:1.45}.btn--sm{padding:8px 14px;font-size:13px}.btn--danger{background:var(--danger);color:#fff;border:none}.btn--danger:hover{background:#b91c1c}.profile-tab{background:#f8fafc}.profile-tab__body{gap:20px;padding-top:4px}.profile-top-bar{background:#f8fafc;align-items:center;gap:8px;padding:8px 12px 8px 8px;display:flex}.profile-top-bar h1{letter-spacing:-.02em;margin:0;font-size:1.25rem;font-weight:900}.profile-top-bar__back{width:40px;height:40px;color:var(--text-dark);border-radius:12px;justify-content:center;align-items:center;font-size:20px;font-weight:700;text-decoration:none;display:flex}.profile-top-bar__back:hover{background:#0f172a0f;text-decoration:none}.profile-hero-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.profile-hero-header__badge{color:var(--primary);letter-spacing:.3px;background:#2563eb1f;border-radius:20px;align-items:center;gap:6px;padding:5px 10px;font-size:11px;font-weight:800;display:inline-flex}.profile-hero-header__name{letter-spacing:-.03em;margin:10px 0 6px;font-size:1.75rem;font-weight:900;line-height:1.05}.profile-hero-header__subtitle{color:var(--text-muted);margin:0;font-size:14px;font-weight:500;line-height:1.35}.profile-hero-art{flex-shrink:0;width:100px;height:100px}.profile-surface-card{border:1px solid var(--border);background:#fff;border-radius:22px;padding:18px;box-shadow:0 10px 24px #2563eb0f}.profile-surface-card--flat{padding:0;overflow:hidden}.profile-section-header{align-items:flex-start;gap:12px;display:flex}.profile-section-header__icon{background:#eff6ff;border-radius:14px;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;display:flex;box-shadow:0 4px 12px #2563eb14}.profile-section-header__title{color:#94a3b8;letter-spacing:1.1px;text-transform:uppercase;font-size:12px;font-weight:800}.profile-section-header__subtitle{color:var(--text-muted);margin-top:4px;font-size:13px;line-height:1.3}.profile-completion__head{align-items:center;gap:12px;margin-bottom:14px;display:flex}.profile-completion__icon{background:#eff6ff;border-radius:14px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.profile-completion__label{color:#94a3b8;letter-spacing:1.1px;flex:1;font-size:12px;font-weight:800}.profile-completion__pct{color:var(--primary);font-size:18px;font-weight:900}.profile-completion__bar{height:10px;margin-bottom:12px}.profile-completion__body{color:var(--text-muted);margin:0;font-size:13px;font-weight:500;line-height:1.4}.profile-completion__guided{color:var(--primary);cursor:pointer;background:0 0;border:none;margin-top:10px;margin-left:auto;font-size:12px;font-weight:800;display:block}.profile-identity{align-items:center;gap:18px;display:flex}.profile-identity__avatar{width:72px;height:72px;color:var(--primary);background:linear-gradient(135deg,#dbeafe,#e0e7ff);border:3px solid #fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:22px;font-weight:900;display:flex;box-shadow:0 6px 16px #2563eb33}.profile-identity__name{letter-spacing:-.02em;font-size:20px;font-weight:900;line-height:1.15}.profile-identity__meta{color:var(--text-muted);margin-top:6px;font-size:14px;font-weight:600}.profile-identity__blood{color:#94a3b8;margin-top:4px;font-size:13px;font-weight:500}.profile-lang-row{gap:12px;padding-bottom:4px;display:flex;overflow-x:auto}.profile-lang-chip{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:#fff;border-radius:12px;flex-shrink:0;padding:12px 20px;font-size:14px;font-weight:600}.profile-lang-chip--active{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:800;box-shadow:0 4px 8px #2563eb33}.profile-threshold-row{text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:16px 20px;display:flex}.profile-threshold-row:disabled{cursor:default}.profile-threshold-row__label{color:var(--text-dark);font-size:15px;font-weight:800}.profile-threshold-row__value-wrap{align-items:center;gap:8px;display:flex}.profile-threshold-row__value{color:var(--primary);background:#f1f5f9;border-radius:8px;padding:6px 12px;font-size:14px;font-weight:800}.profile-threshold-row__add{color:var(--primary);font-size:13px;font-weight:800}.profile-threshold-row__edit{color:#94a3b8;font-size:14px}.profile-threshold-row--divider{pointer-events:none;background:#f1f5f9;height:1px;padding:0}.profile-info-banner{align-items:flex-start;gap:12px;display:flex}.profile-info-banner__icon{background:#eff6ff;border-radius:14px;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;display:flex}.profile-info-banner__title{font-size:15px;font-weight:900}.profile-info-banner__body{color:var(--text-muted);margin:4px 0 0;font-size:13px;font-weight:500;line-height:1.4}.profile-empty-state{text-align:center;padding:28px 20px}.profile-empty-state__icon{background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin-bottom:14px;font-size:28px;display:inline-flex}.profile-empty-state__title{font-size:16px;font-weight:900}.profile-empty-state__body{color:var(--text-muted);margin:6px 0 0;font-size:13px;font-weight:500;line-height:1.45}.profile-history-item{padding:16px}.profile-history-item--border{border-bottom:1px solid #f1f5f9}.profile-history-item__title{font-size:15px;font-weight:800}.profile-history-item__meta{color:var(--text-muted);margin-top:6px;font-size:12px;line-height:1.35}.profile-history-item__note{margin-top:6px;font-size:13px;line-height:1.35}.profile-caregiver{align-items:center;gap:16px;display:flex}.profile-caregiver__icon{background:#eff6ff;border-radius:16px;justify-content:center;align-items:center;width:54px;height:54px;font-size:24px;display:flex}.profile-caregiver__info{flex:1}.profile-caregiver__name{font-size:16px;font-weight:900}.profile-caregiver__relation{color:var(--text-muted);margin-top:4px;font-size:13px;font-weight:500}.profile-caregiver__phone{background:#dbeafe;border-radius:14px;justify-content:center;align-items:center;width:44px;height:44px;font-size:20px;text-decoration:none;display:flex}.profile-toggle-row{cursor:pointer;align-items:center;gap:12px;padding:16px;display:flex}.profile-toggle-row input{width:44px;height:24px;accent-color:var(--primary)}.profile-toggle-row__icon{background:#eff6ff;border-radius:12px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.profile-toggle-row__text{flex-direction:column;flex:1;gap:2px;display:flex}.profile-toggle-row__title{font-size:15px;font-weight:800}.profile-toggle-row__subtitle{color:var(--text-muted);font-size:13px;line-height:1.35}.profile-logout-btn{color:#dc2626;cursor:pointer;background:#fff;border:1.5px solid #fecaca;border-radius:16px;width:100%;margin-top:8px;padding:16px;font-size:16px;font-weight:800}.profile-logout-btn:hover{background:#fef2f2}.profile-modal-backdrop{z-index:3000;background:#0f172a73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.profile-modal{width:100%;max-width:400px;box-shadow:var(--shadow-card);background:#fff;border-radius:20px;padding:24px}.profile-modal--wide{max-width:440px}.profile-modal__title{margin:0 0 16px;font-size:1.1rem;font-weight:800}.profile-modal__body{color:var(--text-muted);margin:0 0 20px;font-size:14px;line-height:1.4}.profile-modal__actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.profile-guided__steps{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.profile-guided__step{color:var(--text-muted);background:#f1f5f9;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.profile-guided__step--active{color:var(--primary);background:#eff6ff}.profile-error-state{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:48px 24px;display:flex}.profile-error-state__icon{color:#dc2626;background:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;font-size:28px;display:flex}.profile-error-state h2{margin:0;font-size:18px;font-weight:900}.profile-error-state p{color:var(--text-muted);max-width:280px;margin:0;font-size:14px;line-height:1.4}.profile-skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%) 0 0/200% 100%;border-radius:12px;animation:1.2s ease-in-out infinite profile-shimmer}.profile-skeleton--title{width:60%;height:32px}.profile-skeleton--subtitle{width:80%;height:16px;margin-top:10px}.profile-skeleton--card{border-radius:22px;height:88px}.profile-skeleton--tall{height:140px}@keyframes profile-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.diary-tab{background:#f8fafc}.diary-hero{border-bottom:1px solid var(--border);background:linear-gradient(135deg,#ecfeff 0%,#eff6ff 50%,#f5f3ff 100%);justify-content:space-between;align-items:center;gap:8px;padding:16px 20px 20px;display:flex}.diary-hero__badge{color:var(--primary);background:#2563eb1f;border-radius:20px;align-items:center;gap:6px;padding:5px 10px;font-size:11px;font-weight:800;display:inline-flex}.diary-hero h1{letter-spacing:-.03em;margin:10px 0 6px;font-size:1.75rem;font-weight:900;line-height:1.05}.diary-hero p{color:var(--text-muted);margin:0;font-size:14px;font-weight:500;line-height:1.35}.diary-hero-art{flex-shrink:0;width:108px;height:108px}.diary-tab__body{gap:26px;padding-top:20px}.diary-section-header{align-items:flex-start;gap:12px;display:flex}.diary-section-header__icon{background:#eff6ff;border-radius:14px;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;display:flex;box-shadow:0 4px 12px #2563eb14}.diary-section-header__title{color:#94a3b8;letter-spacing:1.1px;text-transform:uppercase;font-size:12px;font-weight:800}.diary-section-header__subtitle{color:var(--text-muted);margin-top:4px;font-size:13px;line-height:1.3}.diary-surface-card{border:1px solid var(--border);background:#fff;border-radius:22px;padding:18px;box-shadow:0 10px 24px #2563eb0f}.diary-surface-card--flat{padding:18px}.diary-save-btn,.diary-outline-btn{margin-top:18px;padding:16px}.diary-alert-card{background:linear-gradient(135deg,#fef2f2,#fff1f2);border:1px solid #fecaca;border-radius:20px;gap:14px;padding:18px;display:flex;box-shadow:0 6px 16px #dc262614}.diary-alert-card__icon{background:#ffffffe6;border-radius:16px;justify-content:center;align-items:center;width:50px;height:50px;font-size:24px;display:flex}.diary-alert-card__title{color:#991b1b;font-size:15px;font-weight:900}.diary-alert-card p{color:#b91c1c;margin:6px 0 0;font-size:13px;font-weight:500;line-height:1.45}.diary-tracker__hint{color:var(--text-muted);margin:0 0 12px;font-size:12px;line-height:1.35}.diary-tracker__label{color:var(--text-muted);font-size:11px;font-weight:600;display:block}.diary-tracker__bar{height:8px;margin-top:10px}.diary-tracker__warn{color:#991b1b;margin:6px 0 0;font-size:11px;font-weight:600}.diary-tracker__warn--amber{color:#92400e}.diary-tracker__subhead{color:var(--text-dark);margin-top:14px;font-size:11px;font-weight:700}.diary-fluid-visual,.diary-urine-visual{border:1px solid var(--border);background:#f8fafc;border-radius:14px;align-items:center;gap:12px;padding:10px;display:flex}.diary-fluid-visual__icon{justify-content:center;align-items:flex-end;width:34px;height:52px;font-size:28px;display:flex;position:relative;overflow:hidden}.diary-fluid-visual__fill{background:#60a5fa;border-radius:8px;width:16px;transition:height .5s;position:absolute;bottom:8px;left:9px}.diary-urine-visual__jar{background:#fffc;border:2px solid #cbd5e1;border-radius:8px 8px 12px 12px;width:44px;height:56px;position:relative;overflow:hidden}.diary-urine-visual__fill{background:linear-gradient(#fcd34d,#d97706);transition:height .5s;position:absolute;bottom:0;left:0;right:0}.diary-fluid-visual__total strong{font-size:14px}.diary-chip-row{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.diary-chip{cursor:pointer;border:none;border-radius:20px;padding:10px 14px;font-size:13px;font-weight:800}.diary-chip--blue{color:#1e3a8a;background:#dbeafe}.diary-chip--amber{color:#92400e;background:#fef3c7}.diary-chip:disabled{opacity:.5;cursor:not-allowed}.diary-entry-list{flex-direction:column;gap:6px;margin-top:8px;display:flex}.diary-entry-list__item{border:1px solid var(--border);border-radius:12px;justify-content:space-between;padding:10px 12px;font-size:13px;font-weight:700;display:flex}.diary-entry-list__item span:last-child{color:var(--text-muted);font-size:11px;font-weight:500}.diary-entry-list__item--blue{background:#f8fafc}.diary-entry-list__item--amber{background:#fffbeb;border-color:#fde68a}.diary-snapshot-head{margin-bottom:14px;font-size:14px;font-weight:800}.diary-tag-row{flex-wrap:wrap;gap:8px;display:flex}.diary-tag{border:1px solid var(--border);color:var(--text-muted);background:#f1f5f9;border-radius:10px;padding:6px 10px;font-size:11px;font-weight:600}.diary-scale-card{border:1px solid var(--border);background:#f8fafc;border-radius:16px;margin-bottom:18px;padding:14px}.diary-scale-card__label{color:var(--text-muted);font-size:12px;font-weight:700}.diary-scale-card__value{align-items:center;gap:8px;margin-top:10px;font-size:14px;display:flex}.diary-scale-card__meta{color:var(--text-muted);margin-top:8px;font-size:12px}.diary-trend-chart{background:linear-gradient(135deg,#eff6ff,#f8fafc);border:1px solid #dbeafe;border-radius:16px;margin-top:14px;padding:12px}.diary-trend-chart__head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.diary-trend-chart__title{color:var(--text-muted);font-size:12px;font-weight:800}.diary-trend-chart__delta{color:#15803d;font-size:12px;font-weight:900}.diary-trend-chart__delta--up{color:#dc2626}.diary-trend-chart__svg{width:100%;height:auto}.diary-mini-calendar{flex-wrap:wrap;gap:10px 12px;display:flex}.diary-mini-calendar__item{flex-direction:column;align-items:center;gap:4px;display:flex}.diary-mini-calendar__bubble{border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;font-size:12px;font-weight:900;display:flex}.diary-mini-calendar__date{color:#94a3b8;font-size:10px;font-weight:600}.diary-mini-calendar__legend{color:#94a3b8;margin:16px 0 0;font-size:11px;line-height:1.35}.diary-mini-empty{text-align:center;padding:8px 0}.diary-mini-empty__icon{margin-bottom:14px;font-size:48px}.diary-mini-empty__title{font-size:15px;font-weight:800}.diary-mini-empty__body{color:var(--text-muted);margin:6px 0 0;font-size:13px;line-height:1.45}.diary-insight-footer{background:linear-gradient(135deg,#eff6ff,#f0fdfa);border:1px solid #bfdbfe;border-radius:20px;gap:14px;padding:18px;display:flex;box-shadow:0 6px 16px #2563eb0f}.diary-insight-footer__icon{background:#ffffffeb;border-radius:16px;justify-content:center;align-items:center;width:50px;height:50px;font-size:24px;display:flex}.diary-insight-footer__title{font-size:15px;font-weight:900;line-height:1.25}.diary-insight-footer p{color:var(--text-muted);margin:6px 0 0;font-size:13px;font-weight:500;line-height:1.45}.diary-sheet-backdrop{z-index:3000;background:#0f172a73;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.diary-sheet{background:#fff;border-radius:24px 24px 0 0;width:100%;max-width:480px;max-height:90vh;padding:12px 20px 28px;overflow-y:auto}.diary-sheet__handle{background:#e2e8f0;border-radius:99px;width:40px;height:4px;margin:0 auto 16px}.diary-sheet__head{gap:14px;margin-bottom:20px;display:flex}.diary-sheet__head-icon{background:#eff6ff;border-radius:16px;justify-content:center;align-items:center;width:50px;height:50px;font-size:24px;display:flex}.diary-sheet__head h2{margin:0;font-size:18px;font-weight:800}.diary-sheet__head p{color:var(--text-muted);margin:6px 0 0;font-size:13px;line-height:1.35}.diary-oedema-field{margin-bottom:12px}.diary-oedema-field__label{color:#475569;margin-bottom:8px;font-size:13px;font-weight:600}.diary-oedema-field__options{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.diary-oedema-option{border:1px solid var(--border);cursor:pointer;background:#f1f5f9;border-radius:10px;padding:8px 4px;font-size:10px;font-weight:600}.diary-oedema-option--selected{font-weight:800}.home-tab{background:#f8fafc}.home-hero{border-bottom:1px solid var(--border);background:linear-gradient(135deg,#fff7ed 0%,#eff6ff 50%,#ecfdf5 100%);justify-content:space-between;align-items:flex-start;gap:8px;padding:14px 16px 18px 20px;display:flex}.home-hero__badge{color:var(--primary);background:#2563eb1f;border-radius:20px;align-items:center;gap:6px;padding:5px 10px;font-size:11px;font-weight:800;display:inline-flex}.home-hero__greeting{color:var(--text-muted);margin:10px 0 4px;font-size:14px;font-weight:600}.home-hero h1{letter-spacing:-.03em;margin:0;font-size:1.625rem;font-weight:900;line-height:1.05}.home-hero__art-wrap{flex-shrink:0;width:118px;height:112px;position:relative}.home-hero-art{width:100px;height:100px;position:absolute;bottom:0;right:0}.home-hero__avatar{z-index:1;width:46px;height:46px;color:var(--primary);border:2px solid var(--border);background:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:15px;font-weight:800;line-height:1;text-decoration:none;display:inline-flex;position:absolute;top:0;right:0;box-shadow:0 4px 12px #2563eb1f}.home-hero__avatar:hover{opacity:.92;text-decoration:none}.home-hero__avatar-spinner{border:2.2px solid #2563eb33;border-top-color:var(--primary);border-radius:50%;width:22px;height:22px;animation:.75s linear infinite auth-spin}.home-tab__body{flex-direction:column;gap:18px;padding:8px 16px 24px;display:flex}.home-skeleton{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%) 0 0/200% 100%;border-radius:12px;animation:1.2s ease-in-out infinite profile-shimmer}.home-skeleton--title{width:45%;height:22px;margin-bottom:12px}.home-skeleton--subtitle{width:60%;height:28px;margin-bottom:24px}.home-skeleton--card{border-radius:22px;height:88px;margin-bottom:16px}.home-skeleton--tall{height:120px}.home-error-view{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:48px 24px;display:flex}.home-error-view__icon{color:#dc2626;background:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;font-size:28px;display:flex}.home-error-view h2{margin:0;font-size:18px;font-weight:900}.home-error-view p{color:var(--text-muted);margin:0;font-size:14px;line-height:1.45}.home-status{border:1px solid;border-radius:24px;padding:22px}.home-status--remission{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.home-status--relapse{color:#991b1b;background:#fef2f2;border-color:#fecaca}.home-status--watch{color:#92400e;background:#fffbeb;border-color:#fde68a}.home-status__head{align-items:center;gap:12px;display:flex}.home-status__icon{background:#ffffffa6;border-radius:14px;justify-content:center;align-items:center;width:42px;height:42px;font-size:20px;display:flex}.home-status__title{letter-spacing:-.02em;font-size:19px;font-weight:900}.home-status__sub{opacity:.92;margin:10px 0 0;font-size:13px;font-weight:500;line-height:1.4}.home-status__day{background:#ffffff8c;border:1px solid #0000000f;border-radius:12px;margin-top:16px;padding:8px 14px;font-size:12px;font-weight:800;display:inline-block}.home-stat-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.home-stat-box{border:1px solid var(--border);text-align:left;background:#fff;border-radius:20px;flex-direction:column;justify-content:space-between;min-height:118px;padding:14px;display:flex;box-shadow:0 8px 18px #2563eb0d}.home-stat-box--clickable{cursor:pointer}.home-stat-box--clickable:hover{border-color:#bfdbfe}.home-stat-box__top{color:var(--text-muted);justify-content:space-between;align-items:flex-start;gap:8px;font-size:11px;font-weight:600;display:flex}.home-stat-box__icon{border-radius:12px;justify-content:center;align-items:center;width:32px;height:32px;font-size:14px;display:flex}.home-stat-box__value{letter-spacing:-.02em;font-size:22px;font-weight:800;line-height:1.1}.home-stat-box__value--sm{font-size:16px}.home-stat-box__sub{color:#94a3b8;margin-top:4px;font-size:10px}.home-section-header{flex:1;align-items:flex-start;gap:12px;display:flex}.home-section-header__icon{background:#eff6ff;border-radius:14px;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;display:flex;box-shadow:0 4px 12px #2563eb14}.home-section-header__title{color:#94a3b8;letter-spacing:1.1px;text-transform:uppercase;font-size:12px;font-weight:800}.home-section-header__subtitle{color:var(--text-muted);margin-top:4px;font-size:13px;line-height:1.3}.home-section-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.home-section-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.home-chip-link{cursor:pointer;color:var(--primary);background:#eff6ff;border:none;border-radius:20px;align-items:center;padding:8px 12px;font-size:11px;font-weight:800;text-decoration:none;display:inline-flex}.home-chip-link--plain{background:0 0}.home-chip-link:hover{opacity:.9;text-decoration:none}.home-surface-card{border:1px solid var(--border);background:#fff;border-radius:22px;padding:18px;box-shadow:0 10px 24px #2563eb0f}.home-surface-card--flat{padding:0;overflow:hidden}.home-week-calendar__labels,.home-week-calendar__row{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.home-week-calendar__labels{color:var(--text-muted);text-align:center;margin-bottom:8px;font-size:10px;font-weight:800}.home-week-calendar__cell{justify-content:center;display:flex}.home-week-calendar__bubble{aspect-ratio:1;border:1px solid #0000;border-radius:50%;justify-content:center;align-items:center;width:100%;max-width:44px;font-size:10px;font-weight:800;display:flex}.home-week-calendar__bubble--today{border-width:2px}.home-plan-progress__head{color:var(--text-muted);justify-content:space-between;margin-bottom:6px;font-size:11px;font-weight:700;display:flex}.home-plan-progress__bar{height:6px}.home-task-item{padding:14px 16px}.home-task-item--border{border-bottom:1px solid #f1f5f9}.home-task-item__row{align-items:flex-start;gap:12px;display:flex}.home-task-check{color:#166534;cursor:default;background:#f1f5f9;border:1.5px solid #cbd5e1;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:12px;font-weight:800;display:flex}.home-task-check--done{background:#dcfce7;border-color:#22c55e}button.home-task-check{cursor:pointer}.home-task-item__body{flex:1;min-width:0}.home-task-item__label{font-size:14px;font-weight:800}.home-task-item__label--done{color:#94a3b8;text-decoration:line-through}.home-task-item__sub{color:var(--text-muted);margin-top:2px;font-size:11px}.home-task-item__recur{color:#94a3b8;margin-top:2px;font-size:10px;font-weight:600}.home-task-pill{border-radius:999px;flex-shrink:0;padding:4px 10px;font-size:10px;font-weight:700}.home-task-pill--done{color:#166534;background:#dcfce7}.home-task-pill--pending{color:#d97706;background:#fffbeb}.home-task-pill--muted{color:#475569;background:#f1f5f9}.home-task-form{margin-top:12px}.home-task-form__hint{color:var(--text-muted);margin:0 0 10px;font-size:11px;line-height:1.35}.home-btn-amber{color:#fff;border-radius:var(--radius-md);cursor:pointer;background:#d97706;border:none;padding:12px 16px;font-weight:700}.home-all-done{text-align:center;padding:32px 24px}.home-all-done__icon{background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:16px;font-size:32px;display:inline-flex}.home-all-done__title{font-size:17px;font-weight:900}.home-all-done p{color:var(--text-muted);margin:8px 0 0;font-size:13px;line-height:1.45}.medicine-tab{background:#f8fafc}.medicine-hero{border-bottom:1px solid var(--border);background:linear-gradient(135deg,#eff6ff 0%,#f5f3ff 50%,#ecfdf5 100%);justify-content:space-between;align-items:center;gap:8px;padding:16px 20px 20px;display:flex}.medicine-hero__badge{color:var(--primary);background:#2563eb1f;border-radius:20px;align-items:center;gap:6px;padding:5px 10px;font-size:11px;font-weight:800;display:inline-flex}.medicine-hero h1{letter-spacing:-.03em;margin:10px 0 6px;font-size:1.75rem;font-weight:900;line-height:1.05}.medicine-hero p{color:var(--text-muted);margin:0;font-size:14px;font-weight:500;line-height:1.35}.medicine-hero-art{flex-shrink:0;width:108px;height:108px}.medicine-tab__body{flex-direction:column;gap:18px;padding:20px 16px 24px;display:flex}.medicine-phase-hero{border-radius:var(--radius-lg);color:#fff;background:linear-gradient(135deg,#2563eb 0%,#6366f1 100%);padding:18px 20px;box-shadow:0 8px 24px #2563eb40}.medicine-phase-hero__badge{text-transform:uppercase;letter-spacing:.04em;background:#fff3;border-radius:999px;padding:4px 10px;font-size:10px;font-weight:800;display:inline-block}.medicine-phase-hero__name{margin-top:10px;font-size:1.25rem;font-weight:900}.medicine-phase-hero__dose{opacity:.95;margin-top:6px;font-size:14px}.medicine-phase-hero__dose strong{margin-right:4px;font-size:1.75rem;font-weight:900}.medicine-phase-hero__progress-head{opacity:.9;justify-content:space-between;margin-top:16px;font-size:11px;font-weight:700;display:flex}.medicine-phase-hero__bar{background:#ffffff40;margin-top:8px}.medicine-med-row{text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:12px;width:100%;padding:14px 16px;display:flex}.medicine-med-row:disabled{cursor:default}.medicine-med-row--border{border-bottom:1px solid var(--border)}.medicine-med-row__icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:20px;display:flex}.medicine-med-row__text{flex:1;min-width:0}.medicine-med-row__title{font-size:15px;font-weight:800;display:block}.medicine-med-row__title--done{color:#94a3b8;text-decoration:line-through}.medicine-med-row__sub{color:var(--text-muted);margin-top:2px;font-size:12px;display:block}.medicine-med-row__check{color:#64748b;border:2px solid #cbd5e1;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;font-weight:800;display:flex}.medicine-med-row__check--done{color:#166534;background:#dcfce7;border-color:#22c55e}.medicine-empty{text-align:center;padding:28px 20px}.medicine-empty__icon{margin-bottom:10px;font-size:36px;display:block}.medicine-empty__title{margin-bottom:6px;font-size:15px;font-weight:800}.medicine-empty p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.45}.medicine-taper{padding:16px}.medicine-taper-empty{text-align:center;color:var(--text-muted);padding:20px;font-size:13px;line-height:1.45}.medicine-taper-empty span{margin-bottom:8px;font-size:28px;display:block}.medicine-taper__item{gap:12px;display:flex}.medicine-taper__rail{flex-direction:column;flex-shrink:0;align-items:center;width:16px;display:flex}.medicine-taper__dot{background:#cbd5e1;border-radius:50%;flex-shrink:0;width:12px;height:12px}.medicine-taper__dot--active{background:var(--primary);box-shadow:0 0 0 4px #2563eb33}.medicine-taper__line{background:#e2e8f0;flex:1;width:2px;min-height:24px;margin:4px 0}.medicine-taper__card{border-radius:var(--radius-md);border:1px solid var(--border);background:#f8fafc;flex:1;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 14px;display:flex}.medicine-taper__card--active{background:#eff6ff;border-color:#2563eb40}.medicine-taper__name{font-size:14px;font-weight:800}.medicine-taper__dose{color:var(--text-muted);margin-top:2px;font-size:12px}.medicine-chip{border-radius:999px;flex-shrink:0;padding:4px 10px;font-size:10px;font-weight:700}.medicine-chip--active{color:#1d4ed8;background:#dbeafe}.medicine-chip--done{color:#166534;background:#dcfce7}.medicine-chip--next{color:#64748b;background:#f1f5f9}.medicine-safety{border-radius:var(--radius-lg);background:#fffbeb;border:1px solid #fde68a;gap:12px;padding:16px;display:flex}.medicine-safety__icon{flex-shrink:0;font-size:24px}.medicine-safety__title{color:#92400e;font-size:14px;font-weight:800}.medicine-safety p{color:#a16207;margin:4px 0 0;font-size:12px;line-height:1.45}.alerts-tab{background:#f8fafc}.alerts-top-bar{border-bottom:1px solid var(--border);background:#fff;padding:16px 20px}.alerts-top-bar h1{letter-spacing:-.02em;margin:0;font-size:1.5rem;font-weight:900}.alerts-top-bar p{color:var(--text-muted);margin:4px 0 0;font-size:13px}.alerts-tab__body{flex-direction:column;gap:16px;padding:16px;display:flex}.alerts-status-banner{border-radius:var(--radius-lg);background:#fffbeb;border:1px solid #fde68a;gap:12px;padding:14px 16px;display:flex}.alerts-status-banner--clear{background:#ecfdf5;border-color:#a7f3d0}.alerts-status-banner__icon{color:#d97706;background:#fef3c7;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;font-weight:800;display:flex}.alerts-status-banner--clear .alerts-status-banner__icon{color:#059669;background:#d1fae5}.alerts-status-banner__title{font-size:15px;font-weight:800}.alerts-status-banner p{color:var(--text-muted);margin:2px 0 0;font-size:12px;line-height:1.4}.alerts-section-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:-8px;font-size:11px;font-weight:800}.alerts-surface-card{border-radius:var(--radius-lg);border:1px solid var(--border);background:#fff;box-shadow:0 1px 3px #0f172a0a}.alerts-surface-card--flat{overflow:hidden}.alerts-pill{border-radius:999px;flex-shrink:0;padding:4px 10px;font-size:10px;font-weight:700}.alerts-pill--red{color:#b91c1c;background:#fee2e2}.alerts-pill--amber{color:#d97706;background:#fffbeb}.alerts-pill--green{color:#166534;background:#dcfce7}.alerts-pill--blue{color:#1d4ed8;background:#dbeafe}.alerts-threshold-row{justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.alerts-threshold-row--border{border-bottom:1px solid var(--border)}.alerts-threshold-row__label{font-size:13px;font-weight:700}.alerts-threshold-row__sub{color:var(--text-muted);margin-top:2px;font-size:11px;line-height:1.35}.alerts-list-item{padding:14px 16px}.alerts-list-item--border{border-bottom:1px solid var(--border)}.alerts-list-item__head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.alerts-list-item__message{flex:1;font-size:14px;font-weight:700;line-height:1.35}.alerts-list-item__date{color:var(--text-muted);margin-top:6px;font-size:11px}.alerts-whatsapp-btn{border-radius:var(--radius-md);color:#166534;background:#dcfce7;align-items:center;gap:6px;margin-top:10px;padding:8px 12px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.alerts-care-team-name{padding:14px 16px 8px;font-size:15px;font-weight:900}.alerts-doctor-row{align-items:center;gap:12px;padding:12px 16px;display:flex}.alerts-doctor-row--border{border-bottom:1px solid var(--border)}.alerts-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:13px;font-weight:800;display:flex}.alerts-avatar--blue{color:#1d4ed8;background:#dbeafe}.alerts-avatar--green{color:#166534;background:#dcfce7}.alerts-doctor-row__info{flex:1;min-width:0}.alerts-doctor-row__name{font-size:14px;font-weight:800}.alerts-doctor-row__meta{color:var(--text-muted);margin-top:2px;font-size:11px}.alerts-no-team{padding:16px}.alerts-no-team__title{margin-bottom:4px;font-size:14px;font-weight:800}.alerts-no-team p{color:var(--text-muted);margin:0 0 12px;font-size:12px;line-height:1.4}.alerts-no-team__empty{color:var(--text-muted);padding:8px 0;font-size:12px}.alerts-team-request{border-top:1px solid var(--border);align-items:center;gap:12px;padding:10px 0;display:flex}.alerts-team-request__info{flex:1;min-width:0}.alerts-team-request__name{font-size:14px;font-weight:700}.alerts-team-request__meta{color:var(--text-muted);font-size:11px}.patient-onboarding__body{width:min(100%,420px);margin:0 auto;padding:24px 20px 32px}.patient-onboarding__title{text-align:center;margin-top:8px}.patient-onboarding__subtitle{text-align:center;margin-left:auto;margin-right:auto}.patient-onboarding__actions{flex-direction:column;gap:10px;margin-top:24px;display:flex}.patient-onboarding__error{margin-top:16px}.patient-onboarding__metrics{color:var(--text-muted);margin:12px 0 0;font-size:13px;font-weight:600}.patient-onboarding__toggle{border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px}.patient-onboarding__teams{flex-direction:column;gap:10px;margin-top:12px;display:flex}.patient-onboarding__assigned{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:12px;align-items:flex-start;gap:12px;margin-top:12px;padding:14px;display:flex}.patient-onboarding__assigned-name{font-size:15px;font-weight:800}.patient-shell__main--full{padding-bottom:0}.care-team-qr-display{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px}.care-team-qr-display__head{margin-bottom:12px}.care-team-qr-display__title{margin:0;font-size:16px;font-weight:800}.care-team-qr-display__subtitle{color:var(--text-muted);margin:6px 0 0;font-size:13px;line-height:1.4}.care-team-qr-display__canvas{justify-content:center;padding:12px 0;display:flex}.care-team-qr-display__expiry{color:var(--text-muted);text-align:center;margin:0 0 12px;font-size:12px}.care-team-qr-section__intro{color:var(--text-muted);margin:0 0 12px;font-size:14px;line-height:1.45}.care-team-qr-section__grid{grid-template-columns:1fr;gap:12px;display:grid}@media (min-width:640px){.care-team-qr-section__grid{grid-template-columns:1fr 1fr}}.care-team-qr-scanner__viewport{background:#0f172a;border-radius:12px;min-height:280px;overflow:hidden}.care-team-portal{max-width:640px;margin:0 auto;padding:8px 16px 32px}.care-team-portal__subtitle{color:var(--text-muted);margin:0 0 16px;font-size:14px;line-height:1.45}.care-team-portal__card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;gap:12px;margin-bottom:12px;padding:16px;display:flex}.care-team-portal__card-title{color:#0f172a;margin:0;font-size:16px;font-weight:800}.care-team-portal__card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.care-team-portal__muted{color:var(--text-muted);margin:0;font-size:13px}.care-team-portal__list-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.care-team-portal__list-item+.care-team-portal__list-item{margin-top:10px}.care-team-portal__list-info{flex:1;min-width:0}.care-team-portal__list-name{color:#0f172a;font-size:13px;font-weight:700}.care-team-portal__list-meta{color:var(--text-muted);margin-top:2px;font-size:11px}.care-team-portal__list-message{color:#475569;margin-top:4px;font-size:13px}.care-team-portal .care-team-qr-section__intro{display:none}.care-team-qr-section__scan-btn{margin-top:12px}.care-team-portal .care-team-qr-section__grid{grid-template-columns:1fr}.care-team-portal .alert-error,.care-team-portal .alert-success{margin-bottom:12px}.doctor-diary{flex-direction:column;gap:16px;display:flex}.doctor-diary__toolbar{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.doctor-diary__title{color:#0f172a;margin:0;font-size:20px;font-weight:900}.doctor-diary__subtitle{color:var(--text-muted);margin:4px 0 0;font-size:13px;line-height:1.45}.doctor-diary__toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.doctor-diary__range-label,.doctor-diary__updating{color:var(--text-muted);font-size:12px;font-weight:600}.doctor-diary__loading,.doctor-diary-empty{color:var(--text-muted);margin:0;font-size:14px}.doctor-diary-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}@media (max-width:900px){.doctor-diary-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.doctor-diary-summary__tile{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.doctor-diary-summary__label{color:var(--text-muted);font-size:11px;font-weight:600}.doctor-diary-summary__value{color:#0f172a;margin-top:4px;font-size:18px;font-weight:900}.doctor-diary-summary__hint{color:var(--text-muted);margin-top:2px;font-size:10px}.doctor-diary-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px}.doctor-diary-card__title{color:#0f172a;margin:0 0 8px;font-size:16px;font-weight:800}.doctor-diary-card__subtitle,.doctor-diary-card__meta,.doctor-diary-card__footnote{color:var(--text-muted);margin:0 0 12px;font-size:13px;line-height:1.45}.doctor-diary-card__footnote{margin:12px 0 0;font-size:11px}.doctor-diary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}@media (max-width:768px){.doctor-diary-grid{grid-template-columns:1fr}}.doctor-diary-sections{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.doctor-diary-sections__item{cursor:pointer;align-items:center;gap:8px;font-size:13px;display:flex}.doctor-diary-dipstick{align-items:flex-end;gap:2px;min-height:120px;padding-bottom:4px;display:flex;overflow-x:auto}.doctor-diary-dipstick__bar{border-radius:4px;flex-shrink:0}.doctor-diary-bar{margin-bottom:8px}.doctor-diary-bar__head{color:var(--text-muted);justify-content:space-between;margin-bottom:4px;font-size:12px;display:flex}.doctor-diary-bar__value{color:#0f172a;font-weight:700}.doctor-diary-bar__track{background:#f8fafc;border-radius:999px;height:8px;overflow:hidden}.doctor-diary-bar__fill{background:var(--primary,#2563eb);border-radius:999px;height:100%}.doctor-diary-bar__fill--warn{background:#ef4444}.doctor-diary-weight{align-items:flex-end;gap:4px;min-height:100px;display:flex;overflow-x:auto}.doctor-diary-weight__col{flex-direction:column;flex-shrink:0;align-items:center;width:36px;display:flex}.doctor-diary-weight__bar{background:var(--primary,#2563eb);opacity:.9;border-radius:6px;width:100%}.doctor-diary-weight__label{color:var(--text-muted);text-align:center;margin-top:4px;font-size:10px}.doctor-diary-list__row{border-top:1px solid #f1f5f9;justify-content:space-between;padding:6px 0;font-size:13px;display:flex}.doctor-diary-table-wrap{overflow-x:auto}.doctor-diary-table{border-collapse:collapse;width:100%;font-size:13px}.doctor-diary-table th{text-align:left;color:var(--text-muted);padding:8px 6px;font-weight:600}.doctor-diary-table td{border-top:1px solid #f1f5f9;padding:8px 6px}.doctor-diary-steroids{flex-direction:column;gap:8px;display:flex}.doctor-diary-steroid{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.doctor-diary-steroid--active{background:#eff6ff;border-color:#bfdbfe}.doctor-diary-steroid__name{font-size:14px;font-weight:800}.doctor-diary-steroid__meta,.doctor-diary-steroid__dates{color:var(--text-muted);margin-top:4px;font-size:12px}.doctor-diary-steroid__badge{color:#2563eb;white-space:nowrap;background:#dbeafe;border-radius:99px;padding:4px 10px;font-size:11px;font-weight:800}.doctor-shell-chrome__main{padding-bottom:72px}.doctor-bottom-nav{display:none}@media (max-width:768px){.doctor-layout__sidebar{display:none}.doctor-layout__main{padding:0}.doctor-bottom-nav{display:flex}.doctor-shell-chrome__main{min-height:100vh}}.legal-page{background:var(--bg);flex-direction:column;min-height:100vh;display:flex}.legal-page__header{border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe0;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.legal-page__brand{color:var(--text-dark);font-size:1.05rem;font-weight:900;text-decoration:none}.legal-page__brand:hover{color:var(--primary);text-decoration:none}.legal-page__back{color:var(--text-muted);font-size:14px;font-weight:600;text-decoration:none}.legal-page__back:hover{color:var(--primary)}.legal-page__main{flex:1;width:100%;max-width:760px;margin:0 auto;padding:28px 20px 48px}.legal-page__hero{background:var(--gradient-hero);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-md);margin-bottom:28px;padding:24px 22px}.legal-page__title{margin:0 0 8px;font-size:1.75rem;line-height:1.2}.legal-page__subtitle{color:var(--text-muted);margin:0;font-size:15px;line-height:1.55}.legal-page__content section{margin-bottom:28px}.legal-page__content h2{margin:0 0 10px;font-size:1.15rem}.legal-page__content h3{color:var(--text-dark);margin:16px 0 8px;font-size:1rem}.legal-page__content p,.legal-page__content li{color:var(--text-muted);font-size:15px;line-height:1.65}.legal-page__content p{margin:0 0 12px}.legal-page__content ul{margin:0 0 12px;padding-left:1.25rem}.legal-page__content li{margin-bottom:8px}.legal-page__meta{color:var(--text-subtle);text-transform:uppercase;letter-spacing:.04em;margin:0 0 24px;font-size:13px;font-weight:700}.legal-page__footer{border-top:1px solid var(--border);background:#ffffffb8;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:16px 20px 24px;display:flex}.auth-footer__links{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.profile-legal-link{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--card-bg);width:100%;color:var(--text-muted);text-align:center;margin-top:12px;padding:14px 18px;font-size:14px;font-weight:700;text-decoration:none;transition:border-color .2s,color .2s;display:block}.profile-legal-link:hover{border-color:var(--primary);color:var(--primary);text-decoration:none}
