@import"https://fonts.googleapis.com/css2?family=Petit+Formal+Script&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;500;600;700;800&display=swap";*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-text-size-adjust:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f7fbfd;color:#1a2a33;line-height:1.6;min-height:100vh}img,video{max-width:100%;display:block}button{cursor:pointer;font:inherit;border:none;background:none}a{color:inherit;text-decoration:none}input,textarea,select{font:inherit}:root{--brand: #3494BA;--brand-dark: #236E8F;--brand-darker: #194F68;--brand-light: #D6EEF7;--brand-50: #EBF6FB;--brand-100: #C2E3F2;--ink: #1A2A33;--ink-mid: #3D5563;--ink-muted: #7A95A3;--surface: #FFFFFF;--surface-bg: #F7FBFD;--surface-2: #EEF5F9;--border: rgba(52, 148, 186, .15);--border-mid: rgba(52, 148, 186, .25);--border-strong:rgba(52, 148, 186, .4);--success: #2E9E6B;--success-bg: #E8F7F1;--warning: #C47D18;--warning-bg: #FEF6E8;--danger: #C93535;--danger-bg: #FEEDED;--crisis: #8B1A1A;--crisis-bg: #FEE2E2;--r-sm: 8px;--r-md: 12px;--r-lg: 18px;--r-xl: 24px;--r-full: 9999px;--shadow-sm: 0 1px 3px rgba(52,148,186,.08), 0 1px 2px rgba(0,0,0,.04);--shadow-md: 0 4px 12px rgba(52,148,186,.12), 0 2px 4px rgba(0,0,0,.05);--shadow-card: 0 2px 8px rgba(52,148,186,.1);--nav-h: 66px;--max-w: 500px;--page-px: 20px}@media (prefers-color-scheme: dark){:root{--ink: #E8F4F9;--ink-mid: #A8C8D8;--ink-muted: #6A90A0;--surface: #0E1E26;--surface-bg: #091418;--surface-2: #162330;--border: rgba(52,148,186,.18);--border-mid: rgba(52,148,186,.28);--border-strong:rgba(52,148,186,.45);--brand-50: #0D2230;--brand-100: #143344;--brand-light: #1A3F52}body{background:#091418}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.wordmark{font-family:Petit Formal Script,cursive;color:var(--brand);line-height:1.1}h1{font-size:1.75rem;font-weight:700;line-height:1.2;letter-spacing:-.02em;color:var(--ink)}h2{font-size:1.2rem;font-weight:600;line-height:1.3;color:var(--ink)}h3{font-size:1rem;font-weight:600;color:var(--ink)}p{color:var(--ink-mid)}.section-title{font-size:.9375rem;font-weight:600;color:var(--ink);margin-bottom:12px}.caption{font-size:.75rem;color:var(--ink-muted)}.label{font-size:.8125rem;font-weight:500;color:var(--ink-muted)}.logo-mark{width:44px;height:44px;background:var(--brand);border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.logo-mark img{width:32px;height:32px;object-fit:contain}.logo-mark svg{width:28px;height:28px}.logo-inline{display:flex;align-items:center;gap:10px}.logo-inline .wordmark{font-size:1.5rem}.logo-stacked{display:flex;flex-direction:column;align-items:center;gap:8px}.logo-stacked .logo-mark{width:64px;height:64px;border-radius:var(--r-md)}.logo-stacked .logo-mark img{width:48px;height:48px}.logo-stacked .wordmark{font-size:2rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 24px;font-size:.9375rem;font-weight:600;border-radius:var(--r-md);transition:all .15s ease;white-space:nowrap}.btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.btn:active{transform:scale(.98)}.btn-primary{background:var(--brand);color:#fff;box-shadow:0 2px 8px #3494ba4d}.btn-primary:hover{background:var(--brand-dark);box-shadow:0 4px 12px #3494ba59}.btn-secondary{background:var(--brand-50);color:var(--brand-dark);border:1px solid var(--border-mid)}.btn-secondary:hover{background:var(--brand-100)}.btn-ghost{background:transparent;color:var(--ink-mid);border:1px solid var(--border-mid)}.btn-ghost:hover{background:var(--surface-2)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#a82020}.btn-full{width:100%}.btn-sm{padding:8px 16px;font-size:.8125rem;border-radius:var(--r-sm)}.btn-lg{padding:16px 32px;font-size:1rem}.link-btn{color:var(--brand);font-weight:500;text-decoration:underline;text-underline-offset:3px;background:none;border:none;font-size:inherit;cursor:pointer}.form-group{display:flex;flex-direction:column;gap:6px}.form-label{font-size:.875rem;font-weight:500;color:var(--ink-mid)}.form-input{width:100%;padding:12px 14px;border:1px solid var(--border-mid);border-radius:var(--r-md);background:var(--surface);color:var(--ink);font-size:.9375rem;transition:border-color .15s,box-shadow .15s}.form-input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #3494ba26}.form-input::placeholder{color:var(--ink-muted)}.form-error{font-size:.8125rem;color:var(--danger)}.form-hint{font-size:.8125rem;color:var(--ink-muted)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:18px;box-shadow:var(--shadow-card)}.card-sm{padding:14px;border-radius:var(--r-md)}.badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:var(--r-full);font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.badge-brand{background:var(--brand-50);color:var(--brand-dark)}.badge-success{background:var(--success-bg);color:var(--success)}.badge-warning{background:var(--warning-bg);color:var(--warning)}.badge-danger{background:var(--danger-bg);color:var(--danger)}.badge-crisis{background:var(--crisis-bg);color:var(--crisis)}.severity-minimal{background:var(--success-bg);color:var(--success)}.severity-mild{background:var(--warning-bg);color:var(--warning)}.severity-moderate{background:var(--danger-bg);color:var(--danger)}.severity-moderately_severe,.severity-severe{background:var(--crisis-bg);color:var(--crisis)}.spinner{width:28px;height:28px;border:2.5px solid var(--border-mid);border-top-color:var(--brand);border-radius:50%;animation:spin .75s linear infinite}.spinner-sm{width:18px;height:18px;border-width:2px}@keyframes spin{to{transform:rotate(360deg)}}.page-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:14px}.page-loader p{font-size:.875rem;color:var(--ink-muted)}.app-shell{display:flex;flex-direction:column;min-height:100vh}.screen-scroll{flex:1;overflow-y:auto;padding-bottom:calc(var(--nav-h) + 20px)}.screen-inner{max-width:var(--max-w);margin:0 auto;padding:24px var(--page-px) 0}.topbar{display:flex;align-items:center;justify-content:space-between;padding:14px var(--page-px);border-bottom:1px solid var(--border);background:var(--surface);position:sticky;top:0;z-index:50}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:var(--nav-h);background:var(--surface);border-top:1px solid var(--border);display:flex;z-index:100;padding-bottom:env(safe-area-inset-bottom,0)}.nav-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--ink-muted);font-size:.65rem;font-weight:500;transition:color .15s;padding:6px 4px 4px;letter-spacing:.02em;text-transform:uppercase}.nav-tab:hover,.nav-tab.active{color:var(--brand)}.nav-tab svg{width:22px;height:22px;stroke-width:1.8}.nav-tab.active svg{stroke-width:2.2}.nav-dot{width:5px;height:5px;background:var(--brand);border-radius:50%;margin-top:-10px;margin-bottom:2px;opacity:0}.nav-tab.active .nav-dot{opacity:1}.auth-screen{min-height:100vh;display:flex;flex-direction:column;background:var(--surface-bg)}.auth-hero{background:var(--brand);padding:48px 32px 40px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}.auth-hero .logo-mark{width:72px;height:72px;border-radius:var(--r-lg);background:#fff3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-hero .logo-mark img{width:52px;height:52px}.auth-hero .wordmark{font-size:2.25rem;color:#fff}.auth-hero .tagline{font-size:.875rem;color:#fffc;font-style:italic}.auth-body{flex:1;background:var(--surface);border-radius:var(--r-xl) var(--r-xl) 0 0;margin-top:-20px;padding:32px var(--page-px) 40px;display:flex;flex-direction:column;gap:20px}.auth-title{font-size:1.375rem;font-weight:700;color:var(--ink)}.auth-subtitle{font-size:.875rem;color:var(--ink-muted);margin-top:4px}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-divider{display:flex;align-items:center;gap:12px;font-size:.8125rem;color:var(--ink-muted)}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border-mid)}.auth-footer{text-align:center;font-size:.875rem;color:var(--ink-muted)}.auth-footer a,.auth-footer button{color:var(--brand);font-weight:600}.password-wrapper{position:relative}.password-toggle{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--ink-muted);padding:4px}.onboarding-screen{min-height:100vh;background:var(--surface-bg);display:flex;flex-direction:column}.onboarding-header{padding:20px var(--page-px) 0;display:flex;align-items:center;justify-content:space-between}.step-dots{display:flex;gap:6px}.step-dot{width:8px;height:8px;border-radius:50%;background:var(--border-mid);transition:all .2s}.step-dot.active{background:var(--brand);width:24px;border-radius:4px}.step-dot.completed{background:var(--brand-dark)}.onboarding-content{flex:1;display:flex;flex-direction:column;padding:32px var(--page-px);gap:24px}.stage-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stage-card{padding:18px 14px;border:2px solid var(--border);border-radius:var(--r-lg);background:var(--surface);display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;cursor:pointer;transition:all .15s}.stage-card:hover{border-color:var(--brand-dark);background:var(--brand-50)}.stage-card.selected{border-color:var(--brand);background:var(--brand-50);box-shadow:0 0 0 3px #3494ba33}.stage-card-icon{font-size:2rem}.stage-card-label{font-size:.875rem;font-weight:600;color:var(--ink)}.stage-card-sub{font-size:.75rem;color:var(--ink-muted)}.onboarding-footer{padding:16px var(--page-px) 32px;display:flex;flex-direction:column;gap:10px}.dashboard{display:flex;flex-direction:column;gap:24px}.greeting-top{display:flex;justify-content:space-between;align-items:flex-start}.greeting-text h1{font-size:1.5rem}.greeting-stage{font-size:.8125rem;color:var(--ink-muted);margin-top:3px}.avatar-btn{width:40px;height:40px;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;font-size:.9375rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.crisis-banner{background:var(--crisis-bg);border:1px solid rgba(139,26,26,.25);border-radius:var(--r-lg);padding:18px}.crisis-banner-title{font-size:.9375rem;font-weight:700;color:var(--crisis);display:flex;align-items:center;gap:8px;margin-bottom:12px}.crisis-banner-actions{display:flex;gap:8px;flex-wrap:wrap}.btn-crisis{padding:9px 16px;background:var(--crisis);color:#fff;border-radius:var(--r-md);font-size:.875rem;font-weight:700}.btn-crisis-outline{padding:9px 16px;border:2px solid var(--crisis);color:var(--crisis);border-radius:var(--r-md);font-size:.875rem;font-weight:700;background:transparent}.quick-actions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.quick-action{display:flex;flex-direction:column;align-items:center;gap:7px;padding:16px 8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);color:var(--ink);transition:all .15s;box-shadow:var(--shadow-sm)}.quick-action:hover{border-color:var(--brand);background:var(--brand-50);transform:translateY(-1px);box-shadow:var(--shadow-md)}.quick-action-icon{font-size:1.625rem}.quick-action-label{font-size:.6875rem;font-weight:600;color:var(--ink-mid);text-align:center;line-height:1.3}.chart-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.chart-legend{display:flex;gap:14px}.legend-item{display:flex;align-items:center;gap:5px;font-size:.75rem;color:var(--ink-muted)}.legend-dot{width:8px;height:8px;border-radius:50%}.assessment-item{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);margin-bottom:8px;box-shadow:var(--shadow-sm)}.assessment-type-label{font-weight:600;font-size:.875rem;color:var(--ink)}.assessment-score{font-size:.75rem;color:var(--ink-muted);margin-top:2px}.assessment-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.assessment-date-label{font-size:.75rem;color:var(--ink-muted)}.section-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.see-all-btn{font-size:.8125rem;color:var(--brand);font-weight:500}.care-plan-nudge{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:linear-gradient(135deg,var(--brand-50) 0%,var(--brand-100) 100%);border:1px solid var(--border-mid);border-radius:var(--r-lg);color:var(--ink)}.care-plan-nudge h3{font-size:.9375rem;margin-bottom:2px}.care-plan-nudge p{font-size:.8125rem;color:var(--ink-muted)}.care-plan-arrow{color:var(--brand);font-size:1.25rem}.mood-screen{display:flex;flex-direction:column;gap:24px}.mood-emoji-scale{display:flex;justify-content:space-between;align-items:flex-end;padding:8px 0}.mood-emoji-btn{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border-radius:var(--r-md);transition:all .15s;flex:1}.mood-emoji-btn:hover{background:var(--brand-50)}.mood-emoji-btn.active{background:var(--brand-50);box-shadow:0 0 0 2px var(--brand)}.mood-emoji{font-size:1.75rem;transition:transform .15s}.mood-emoji-btn.active .mood-emoji{transform:scale(1.2)}.mood-score-label{font-size:.625rem;font-weight:600;color:var(--ink-muted)}.slider-section{display:flex;flex-direction:column;gap:16px}.slider-row{display:flex;flex-direction:column;gap:8px}.slider-header{display:flex;justify-content:space-between;align-items:center}.slider-label{font-size:.875rem;font-weight:500;color:var(--ink)}.slider-value{font-size:.875rem;font-weight:700;color:var(--brand)}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:6px;background:var(--brand-light);border-radius:var(--r-full);outline:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;background:var(--brand);box-shadow:0 2px 6px #3494ba66;cursor:pointer;transition:transform .1s}input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.15)}.mood-tags-grid{display:flex;flex-wrap:wrap;gap:8px}.mood-tag{padding:6px 14px;border:1px solid var(--border-mid);border-radius:var(--r-full);font-size:.8125rem;color:var(--ink-mid);background:var(--surface);transition:all .15s}.mood-tag:hover{border-color:var(--brand);color:var(--brand)}.mood-tag.selected{background:var(--brand-50);border-color:var(--brand);color:var(--brand-dark);font-weight:600}.mood-note-area{width:100%;min-height:90px;padding:12px 14px;border:1px solid var(--border-mid);border-radius:var(--r-md);background:var(--surface);color:var(--ink);font-size:.9375rem;resize:vertical;transition:border-color .15s,box-shadow .15s}.mood-note-area:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #3494ba1f}.mood-note-area::placeholder{color:var(--ink-muted)}.streak-banner{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--brand-50);border:1px solid var(--border);border-radius:var(--r-lg)}.streak-icon{font-size:1.75rem}.streak-text{font-weight:600;font-size:.9375rem;color:var(--ink)}.streak-sub{font-size:.75rem;color:var(--ink-muted)}.companion-screen{display:flex;flex-direction:column;height:calc(100dvh - var(--nav-h));max-width:var(--max-w);margin:0 auto;width:100%}.companion-topbar{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0}.companion-avatar-wrap{width:42px;height:42px;background:var(--brand);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0}.companion-info h2{font-size:.9375rem;font-weight:600;color:var(--ink)}.companion-info p{font-size:.75rem;color:var(--ink-muted)}.help-now-btn{margin-left:auto;padding:6px 12px;border:1.5px solid var(--danger);border-radius:var(--r-full);font-size:.75rem;font-weight:700;color:var(--danger);background:transparent;flex-shrink:0;transition:all .15s}.help-now-btn:hover{background:var(--danger-bg)}.crisis-panel{background:var(--crisis-bg);border-bottom:1px solid rgba(139,26,26,.2);padding:16px;flex-shrink:0}.crisis-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.crisis-panel-head h3{font-size:.9375rem;font-weight:700;color:var(--crisis)}.crisis-close-btn{color:var(--ink-muted);padding:2px 6px;font-size:1rem}.crisis-message{font-size:.875rem;color:var(--ink-mid);margin-bottom:12px}.crisis-links{display:flex;flex-direction:column;gap:8px}.crisis-link{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;background:var(--surface);border-radius:var(--r-md);border:1px solid rgba(139,26,26,.15);font-size:.875rem;transition:background .15s}.crisis-link:hover{background:var(--surface-2)}.crisis-link strong{color:var(--ink)}.crisis-link span{color:var(--brand);font-weight:600}.messages-list{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:14px}.starters-wrap{margin-top:auto}.starters-label{font-size:.75rem;color:var(--ink-muted);margin-bottom:8px}.starter-chips{display:flex;flex-direction:column;gap:6px}.starter-chip{text-align:left;padding:11px 14px;border:1px solid var(--border-mid);border-radius:var(--r-md);background:var(--surface);font-size:.875rem;color:var(--ink-mid);transition:all .15s}.starter-chip:hover{background:var(--brand-50);border-color:var(--brand);color:var(--brand-dark)}.msg-row{display:flex;gap:8px;max-width:88%}.msg-row-user{align-self:flex-end;flex-direction:row-reverse}.msg-avatar{width:30px;height:30px;border-radius:50%;flex-shrink:0;background:var(--brand);display:flex;align-items:center;justify-content:center;font-size:.875rem;margin-top:2px}.msg-bubble{padding:11px 14px;border-radius:var(--r-lg);font-size:.9375rem;line-height:1.55}.msg-row-assistant .msg-bubble{background:var(--surface);border:1px solid var(--border);border-radius:4px var(--r-lg) var(--r-lg) var(--r-lg);box-shadow:var(--shadow-sm);color:var(--ink)}.msg-row-user .msg-bubble{background:var(--brand);color:#fff;border-radius:var(--r-lg) 4px var(--r-lg) var(--r-lg)}.typing-dots{display:flex;gap:5px;align-items:center;padding:4px 0}.typing-dots span{width:8px;height:8px;background:var(--ink-muted);border-radius:50%;animation:bounce 1.3s ease-in-out infinite}.typing-dots span:nth-child(2){animation-delay:.22s}.typing-dots span:nth-child(3){animation-delay:.44s}@keyframes bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-7px)}}.input-bar{display:flex;align-items:flex-end;gap:10px;padding:12px 14px;border-top:1px solid var(--border);background:var(--surface);flex-shrink:0}.companion-textarea{flex:1;resize:none;padding:10px 14px;border:1px solid var(--border-mid);border-radius:var(--r-lg);background:var(--surface-2);color:var(--ink);font-size:.9375rem;max-height:120px;overflow-y:auto;transition:border-color .15s,box-shadow .15s;line-height:1.5}.companion-textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #3494ba1f}.companion-textarea::placeholder{color:var(--ink-muted)}.send-btn{width:42px;height:42px;background:var(--brand);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.125rem;flex-shrink:0;transition:all .15s;box-shadow:0 2px 8px #3494ba59}.send-btn:hover{background:var(--brand-dark)}.send-btn:disabled{background:var(--border-mid);box-shadow:none}.companion-disclaimer{text-align:center;font-size:.6875rem;color:var(--ink-muted);padding:6px 16px 10px;background:var(--surface)}.assessment-intro{display:flex;flex-direction:column;gap:20px}.instrument-icon{font-size:3rem}.instrument-about{background:var(--surface-2);border-radius:var(--r-md);padding:16px;display:flex;flex-direction:column;gap:8px}.instrument-about-item{display:flex;align-items:center;gap:10px;font-size:.875rem;color:var(--ink-mid)}.instrument-about-item svg{color:var(--brand);flex-shrink:0}.assessment-safe-notice{background:var(--brand-50);border:1px solid var(--border-mid);border-radius:var(--r-md);padding:14px;font-size:.875rem;color:var(--ink-mid);line-height:1.5}.progress-bar-wrap{margin-bottom:24px}.progress-track{height:5px;background:var(--surface-2);border-radius:var(--r-full);overflow:hidden;margin-bottom:8px}.progress-fill{height:100%;background:var(--brand);border-radius:var(--r-full);transition:width .35s ease}.progress-meta{display:flex;justify-content:space-between}.progress-num{font-size:.8125rem;font-weight:600;color:var(--brand)}.progress-type{font-size:.75rem;color:var(--ink-muted)}.question-context{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-muted);margin-bottom:10px}.question-text{font-size:1.1875rem;font-weight:600;line-height:1.45;color:var(--ink);margin-bottom:24px}.crisis-q-notice{background:var(--warning-bg);border:1px solid rgba(196,125,24,.25);border-radius:var(--r-sm);padding:11px 14px;font-size:.8125rem;color:var(--warning);margin-bottom:16px}.options-stack{display:flex;flex-direction:column;gap:10px}.option-btn{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1.5px solid var(--border-mid);border-radius:var(--r-md);background:var(--surface);text-align:left;transition:all .15s;box-shadow:var(--shadow-sm)}.option-btn:hover{border-color:var(--brand);background:var(--brand-50)}.option-btn.selected{border-color:var(--brand);background:var(--brand-50);box-shadow:0 0 0 3px #3494ba26}.option-num{width:30px;height:30px;flex-shrink:0;border-radius:50%;border:1.5px solid var(--border-mid);display:flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:700;color:var(--ink-muted);transition:all .15s}.option-btn.selected .option-num{background:var(--brand);border-color:var(--brand);color:#fff}.option-text{font-size:.9375rem;color:var(--ink);line-height:1.4}.submitting-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#f7fbfdeb;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;z-index:200}.submitting-overlay p{font-size:.9375rem;color:var(--ink-mid)}.result-card{display:flex;flex-direction:column;gap:20px}.crisis-result{background:var(--crisis-bg);border:2px solid rgba(139,26,26,.3);border-radius:var(--r-lg);padding:22px;text-align:center}.crisis-result h2{font-size:1.125rem;color:var(--crisis);margin-bottom:14px}.crisis-hotlines{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:14px}.hotline-btn{padding:11px 22px;background:var(--crisis);color:#fff;border-radius:var(--r-md);font-weight:700;font-size:.9375rem}.score-ring{text-align:center;padding:20px 0 8px}.score-big{font-size:4.5rem;font-weight:800;color:var(--brand);line-height:1}.score-denom{font-size:1.25rem;color:var(--ink-muted)}.score-label{font-size:1rem;color:var(--ink-mid);margin-top:4px}.severity-row{display:flex;justify-content:center}.recs-card{background:var(--surface-2);border-radius:var(--r-lg);padding:18px}.recs-card h3{margin-bottom:12px}.recs-list{display:flex;flex-direction:column;gap:10px}.recs-list li{font-size:.9375rem;color:var(--ink-mid);padding-left:22px;position:relative;line-height:1.5}.recs-list li:before{content:"→";position:absolute;left:0;color:var(--brand);font-weight:700}.result-actions{display:flex;flex-direction:column;gap:10px}.back-nav-btn{font-size:.875rem;color:var(--ink-muted);display:flex;align-items:center;gap:4px;margin-bottom:8px}.care-plan-screen{display:flex;flex-direction:column;gap:24px}.care-header-card{background:var(--brand);border-radius:var(--r-xl);padding:22px;color:#fff}.care-header-card h2{color:#fff;margin-bottom:6px}.care-header-card p{color:#fffc;font-size:.875rem}.care-progress-bar{height:8px;background:#ffffff40;border-radius:var(--r-full);overflow:hidden;margin-top:16px}.care-progress-fill{height:100%;background:#fff;border-radius:var(--r-full);transition:width .5s ease}.care-progress-label{font-size:.75rem;color:#ffffffbf;margin-top:6px}.task-list{display:flex;flex-direction:column;gap:10px}.task-item{display:flex;align-items:center;gap:14px;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--shadow-sm);transition:all .15s}.task-item.completed{opacity:.55}.task-check{width:24px;height:24px;flex-shrink:0;border-radius:50%;border:2px solid var(--border-mid);display:flex;align-items:center;justify-content:center;transition:all .2s;cursor:pointer}.task-check.done{background:var(--brand);border-color:var(--brand);color:#fff}.task-check svg{width:13px;height:13px}.task-content{flex:1}.task-title{font-size:.9375rem;font-weight:500;color:var(--ink)}.task-category{font-size:.75rem;color:var(--ink-muted);margin-top:2px}.task-item.completed .task-title{text-decoration:line-through}.goal-card{padding:16px 18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-sm)}.goal-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px}.goal-title{font-size:.9375rem;font-weight:600;color:var(--ink)}.goal-progress-bar{height:5px;background:var(--surface-2);border-radius:var(--r-full);overflow:hidden}.goal-progress-fill{height:100%;background:var(--brand);border-radius:var(--r-full);transition:width .5s}.crisis-screen{min-height:100vh;background:var(--surface);display:flex;flex-direction:column}.crisis-screen-hero{background:var(--crisis);padding:40px 20px 32px;text-align:center;color:#fff}.crisis-screen-hero h1{color:#fff;font-size:1.625rem;margin-bottom:8px}.crisis-screen-hero p{color:#ffffffd9;font-size:.9375rem}.crisis-screen-body{flex:1;padding:28px 20px 40px;display:flex;flex-direction:column;gap:16px;max-width:500px;margin:0 auto;width:100%}.crisis-resource-card{padding:20px;border-radius:var(--r-lg);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:16px}.crisis-resource-icon{font-size:2rem;flex-shrink:0}.crisis-resource-name{font-weight:700;font-size:.9375rem;color:var(--ink);margin-bottom:2px}.crisis-resource-desc{font-size:.8125rem;color:var(--ink-muted)}.crisis-resource-action{margin-left:auto;flex-shrink:0;padding:9px 16px;background:var(--brand);color:#fff;border-radius:var(--r-md);font-size:.8125rem;font-weight:700}.profile-screen{display:flex;flex-direction:column;gap:20px}.profile-hero{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 0 8px;text-align:center}.profile-avatar{width:72px;height:72px;border-radius:50%;background:var(--brand);display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:700;color:#fff;box-shadow:var(--shadow-md)}.profile-name{font-size:1.25rem;font-weight:700;color:var(--ink)}.profile-email{font-size:.875rem;color:var(--ink-muted)}.settings-label{font-size:.75rem;font-weight:700;color:var(--ink-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px;padding-left:4px}.settings-list{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-sm)}.settings-item{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid var(--border);font-size:.9375rem;color:var(--ink)}.settings-item:last-child{border-bottom:none}.settings-item-right{color:var(--ink-muted);font-size:.875rem;display:flex;align-items:center;gap:6px}@keyframes fadeSlideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:fadeSlideUp .3s ease both}[dir=rtl] body,[dir=rtl] input,[dir=rtl] textarea,[dir=rtl] button,[dir=rtl] select{font-family:Noto Kufi Arabic,-apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:0}[dir=rtl] .wordmark{font-family:Petit Formal Script,cursive;letter-spacing:normal}[dir=rtl] .bottom-nav{flex-direction:row-reverse}[dir=rtl] .sidebar{left:auto;right:0;border-right:none;border-left:1px solid var(--border)}[dir=rtl] .main{margin-left:0;margin-right:var(--sidebar-w)}[dir=rtl] .dashboard-greeting .greeting-top,[dir=rtl] .section-row,[dir=rtl] .section-header,[dir=rtl] .chart-card-header,[dir=rtl] .companion-topbar,[dir=rtl] .assessment-item,[dir=rtl] .task-item,[dir=rtl] .settings-item,[dir=rtl] .slider-header,[dir=rtl] .care-header,[dir=rtl] .input-bar,[dir=rtl] .crisis-panel-head,[dir=rtl] .profile-hero,[dir=rtl] .care-plan-nudge,[dir=rtl] .topbar,[dir=rtl] .topbar-right,[dir=rtl] .crisis-resource-card,[dir=rtl] .provider-chip,[dir=rtl] .alert-item,[dir=rtl] .score-row,[dir=rtl] .score-row-left{flex-direction:row-reverse}[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3,[dir=rtl] p,[dir=rtl] label,[dir=rtl] .form-label,[dir=rtl] .section-title,[dir=rtl] .caption,[dir=rtl] .label{text-align:right}[dir=rtl] .auth-hero{direction:rtl}[dir=rtl] .greeting-stage{text-align:right}[dir=rtl] .msg-row{flex-direction:row-reverse}[dir=rtl] .msg-row-user{flex-direction:row}[dir=rtl] .msg-row-assistant .msg-bubble{border-radius:var(--r-lg) 4px var(--r-lg) var(--r-lg)}[dir=rtl] .msg-row-user .msg-bubble{border-radius:4px var(--r-lg) var(--r-lg) var(--r-lg)}[dir=rtl] .companion-textarea{text-align:right}[dir=rtl] .form-input,[dir=rtl] .search-input,[dir=rtl] .mood-note-area{text-align:right;direction:rtl}[dir=rtl] .password-toggle{right:auto;left:14px}[dir=rtl] .option-btn,[dir=rtl] .back-nav-btn{flex-direction:row-reverse}[dir=rtl] .recs-list li{padding-left:0;padding-right:22px}[dir=rtl] .recs-list li:before{left:auto;right:0}[dir=rtl] .task-content{text-align:right}[dir=rtl] .streak-banner{flex-direction:row-reverse}[dir=rtl] .care-plan-arrow{transform:scaleX(-1)}[dir=rtl] .stage-cards{direction:rtl}[dir=rtl] .stage-card{text-align:right;align-items:flex-end}[dir=rtl] .onboarding-footer{direction:rtl}[dir=rtl] .settings-item{flex-direction:row-reverse}[dir=rtl] .nav-tab{direction:rtl}[dir=rtl] .nav-badge,[dir=rtl] .nav-dot{margin-left:0;margin-right:auto}[dir=rtl] .tabs{flex-direction:row-reverse}[dir=rtl] .crisis-resource-action{margin-left:0;margin-right:auto}[dir=rtl] .crisis-resource-card{flex-direction:row-reverse}[dir=rtl] .auth-body{text-align:right;direction:rtl}[dir=rtl] .auth-form,[dir=rtl] .auth-divider,[dir=rtl] .auth-footer{direction:rtl}[dir=rtl] .step-dots{flex-direction:row-reverse}[dir=rtl] .drawer{right:auto;left:0;border-left:none;border-right:1px solid var(--border);animation:slideInRTL .25s ease}@keyframes slideInRTL{0%{transform:translate(-40px);opacity:0}to{transform:translate(0);opacity:1}}[dir=rtl] .drawer-close{right:auto;left:20px}[dir=rtl] .drawer-patient-header{padding-right:0;padding-left:40px;text-align:right}[dir=rtl] .nav-item{flex-direction:row-reverse}[dir=rtl] .nav-badge{margin-left:0;margin-right:auto}[dir=rtl] .sidebar-footer,[dir=rtl] .table-header,[dir=rtl] .table-row{direction:rtl}[dir=rtl] .patient-name,[dir=rtl] .patient-email{text-align:right}[dir=rtl] .score-history{direction:rtl}[dir=rtl] .alert-info{text-align:right}[dir=rtl] h1{font-size:1.625rem;line-height:1.4}[dir=rtl] h2{line-height:1.5}[dir=rtl] p{line-height:1.8}[dir=rtl] .score-big,[dir=rtl] .score-num,[dir=rtl] .stat-value,[dir=rtl] .slider-value{unicode-bidi:plaintext}.lang-switcher{display:flex;align-items:center;gap:6px}.lang-btn{padding:5px 12px;border-radius:var(--r-full);font-size:.8125rem;font-weight:600;border:1.5px solid var(--border-mid);color:var(--ink-mid);background:var(--surface);transition:all .15s;cursor:pointer}.lang-btn:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-50)}.lang-btn.active{background:var(--brand);color:#fff;border-color:var(--brand)}.lang-btn[lang=ar]{font-family:Noto Kufi Arabic,sans-serif}
