:root{--color-primary: #1E255E;--color-primary-hover: #161B46;--color-primary-subtle: #EEF2F6;--color-text-main: #1E293B;--color-text-muted: #64748B;--color-text-light: #94A3B8;--color-bg-page: #F8F9FA;--color-bg-card: #FFFFFF;--color-border: #E2E8F0;--color-border-subtle: #F1F5F9;--pastel-blue-bg: #E0ECFC;--pastel-blue-text: #1D4ED8;--pastel-yellow-bg: #FEF9C3;--pastel-yellow-text: #B45309;--pastel-mint-bg: #DCFCE7;--pastel-mint-text: #047857;--pastel-pink-bg: #FCE7F3;--pastel-pink-text: #BE185D;--pastel-lavender-bg: #EDE9FE;--pastel-lavender-text: #6D28D9;--color-emergency: #DC2626;--color-emergency-bg: #FEF2F2;--color-emergency-border: #FECACA;--font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--radius-sm: 8px;--radius-md: 14px;--radius-card: 20px;--radius-xl: 24px;--radius-pill: 9999px;--shadow-subtle: 0 2px 8px rgba(30, 41, 59, .04);--shadow-card: 0 8px 24px rgba(30, 41, 59, .05);--shadow-float: 0 12px 32px rgba(30, 41, 59, .08);--shadow-modal: 0 24px 60px rgba(15, 23, 42, .16);--transition-fast: .15s ease;--transition-normal: .25s ease}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{background-color:var(--color-bg-page);color:var(--color-text-main);font-family:var(--font-body);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden;min-height:100vh}h1,h2,h3,h4,h5,h6{font-family:var(--font-display);font-weight:700;color:var(--color-primary);line-height:1.2}button{font-family:var(--font-body);border:none;background:none;cursor:pointer;font-size:.9rem;font-weight:600;transition:all var(--transition-fast)}input,select,textarea{font-family:var(--font-body);font-size:.9rem}a{color:inherit;text-decoration:none}.app-container{display:flex;flex-direction:column;min-height:100vh}.main-content{flex:1;max-width:1240px;width:100%;margin:0 auto;padding:1.5rem 1.5rem 4rem}.global-header{position:sticky;top:0;z-index:90;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--color-border)}.header-container{max-width:1240px;margin:0 auto;padding:.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.header-brand{display:flex;align-items:center;gap:.65rem;cursor:pointer}.header-brand-logo-img{height:40px;width:auto;max-width:210px;object-fit:contain;display:block;transition:transform var(--transition-fast)}.header-brand:hover .header-brand-logo-img{transform:scale(1.02)}.header-logo-icon{width:36px;height:36px;border-radius:10px;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #1e255e33}.header-brand-title{font-size:1.25rem;font-weight:800;letter-spacing:-.02em;color:var(--color-primary)}.header-brand-subtitle{font-size:.7rem;color:var(--color-text-muted);font-weight:500;margin-top:-2px}.header-nav-pills{display:flex;align-items:center;gap:.25rem;background:#f1f5f9;padding:.25rem .35rem;border-radius:var(--radius-pill)}.nav-pill{padding:.45rem 1rem;border-radius:var(--radius-pill);font-size:.85rem;font-weight:600;color:var(--color-text-muted);transition:all var(--transition-fast)}.nav-pill:hover{color:var(--color-primary);background:#ffffffb3}.nav-pill.active{background:var(--color-primary);color:#fff;box-shadow:0 2px 8px #1e255e33}.header-right-actions{display:flex;align-items:center;gap:.75rem}.btn-header-emergency{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .85rem;border-radius:var(--radius-pill);background:var(--color-emergency-bg);border:1px solid var(--color-emergency-border);color:var(--color-emergency);font-size:.825rem;font-weight:700;transition:all var(--transition-fast)}.btn-header-emergency:hover{background:#fee2e2}.emergency-dot{width:7px;height:7px;border-radius:50%;background:var(--color-emergency);animation:pulseDot 1.8s infinite}@keyframes pulseDot{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.4);opacity:.6}}.btn-header-lang{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .75rem;border-radius:var(--radius-pill);background:#fff;border:1px solid var(--color-border);font-size:.8rem;font-weight:700;color:var(--color-text-muted)}.btn-header-lang .lang-active{color:var(--color-primary)}.lang-divider{color:#cbd5e1;font-size:.75rem}.header-avatar-circle{width:34px;height:34px;border-radius:50%;overflow:hidden;background:#e2e8f0;cursor:pointer;border:2px solid #FFFFFF;box-shadow:var(--shadow-subtle);display:flex;align-items:center;justify-content:center}.header-avatar-fallback{font-size:.85rem;font-weight:700;color:var(--color-primary)}.btn-primary-dark{background:var(--color-primary);color:#fff;padding:.75rem 1.6rem;border-radius:var(--radius-pill);font-size:.95rem;font-weight:700;display:inline-flex;align-items:center;gap:.5rem;box-shadow:0 4px 14px #1e255e33;transition:all var(--transition-fast)}.btn-primary-dark:hover{background:var(--color-primary-hover);transform:translateY(-1px);box-shadow:0 6px 18px #1e255e40}.btn-secondary-outline{background:#fff;color:var(--color-text-main);padding:.75rem 1.4rem;border-radius:var(--radius-pill);border:1px solid var(--color-border);font-size:.92rem;font-weight:600;display:inline-flex;align-items:center;gap:.5rem;box-shadow:var(--shadow-subtle);transition:all var(--transition-fast)}.btn-secondary-outline:hover{border-color:#cbd5e1;background:#f8fafc}.btn-icon-subtle{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--color-text-muted);transition:all var(--transition-fast)}.btn-icon-subtle:hover{background:#f1f5f9;color:var(--color-primary)}.home-editorial-page{padding-top:1rem}.home-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:3.5rem;margin-bottom:4rem;min-height:440px}.hero-feature-pill{display:inline-flex;align-items:center;gap:.4rem;background:var(--pastel-blue-bg);color:var(--pastel-blue-text);padding:.35rem .9rem;border-radius:var(--radius-pill);font-size:.825rem;font-weight:700;margin-bottom:1.25rem}.pill-sparkle-icon{color:var(--pastel-blue-text)}.home-hero-title{font-size:clamp(2.6rem,5vw,4rem);font-weight:800;line-height:1.05;letter-spacing:-.03em;color:var(--color-primary);margin-bottom:1.25rem}.hero-title-accent{color:var(--color-text-main);opacity:.92}.home-hero-subtitle{font-size:1.1rem;color:var(--color-text-muted);line-height:1.6;max-width:520px;margin-bottom:2rem}.home-hero-cta-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.home-hero-visual-wrapper{position:relative;display:flex;justify-content:center}.hero-doctor-card{position:relative;width:100%;max-width:420px;height:440px;border-radius:var(--radius-xl);overflow:visible}.hero-doctor-img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius-xl);box-shadow:var(--shadow-float)}.floating-card{position:absolute;background:#fff;padding:.6rem .9rem;border-radius:var(--radius-pill);box-shadow:var(--shadow-float);border:1px solid rgba(226,232,240,.8);display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:all var(--transition-fast);z-index:10}.floating-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px #1e293b1f}.floating-icon-circle{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center}.floating-icon-circle.blue{background:var(--pastel-blue-bg);color:var(--pastel-blue-text)}.floating-icon-circle.cyan{background:#e0f2fe;color:#0284c7}.floating-icon-circle.pink{background:var(--pastel-pink-bg);color:var(--pastel-pink-text)}.floating-card-text{font-size:.825rem;font-weight:700;color:var(--color-primary)}.floating-card-title{font-size:.825rem;font-weight:700;color:var(--color-text-main)}.float-ask{top:15%;left:-12%}.float-upload{top:48%;right:-8%;border-radius:14px;padding:.65rem 1rem}.float-prepare{bottom:12%;right:-4%;border-radius:14px;padding:.65rem 1rem}.floating-voice-pill{position:absolute;top:6%;right:6%;background:#fff;padding:.45rem .8rem;border-radius:var(--radius-pill);box-shadow:var(--shadow-float);display:flex;align-items:center;gap:.5rem;cursor:pointer;color:var(--color-primary)}.soundwave-bars{display:flex;align-items:center;gap:2px;height:14px}.soundwave-bars span{display:inline-block;width:2.5px;height:100%;background:var(--color-primary);border-radius:2px;animation:wave 1.2s infinite ease-in-out}.soundwave-bars span:nth-child(1){animation-delay:0s;height:40%}.soundwave-bars span:nth-child(2){animation-delay:.2s;height:100%}.soundwave-bars span:nth-child(3){animation-delay:.4s;height:70%}.soundwave-bars span:nth-child(4){animation-delay:.1s;height:50%}@keyframes wave{0%,to{transform:scaleY(.4)}50%{transform:scaleY(1)}}.home-pillars-section{margin-top:1rem}.home-pillars-title{font-size:1.5rem;font-weight:800;color:var(--color-primary);margin-bottom:1.5rem}.home-pillars-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}.pillar-card{border-radius:var(--radius-card);padding:1.75rem 1.4rem;display:flex;flex-direction:column;transition:all var(--transition-fast);border:1px solid rgba(226,232,240,.6)}.pillar-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-card)}.pillar-card.pastel-blue{background:var(--pastel-blue-bg)}.pillar-card.pastel-yellow{background:var(--pastel-yellow-bg)}.pillar-card.pastel-mint{background:var(--pastel-mint-bg)}.pillar-card.pastel-pink{background:var(--pastel-pink-bg)}.pillar-icon-circle{width:44px;height:44px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;box-shadow:0 4px 10px #0000000a}.pillar-icon-circle.blue{color:var(--pastel-blue-text)}.pillar-icon-circle.yellow{color:var(--pastel-yellow-text)}.pillar-icon-circle.mint{color:var(--pastel-mint-text)}.pillar-icon-circle.pink{color:var(--pastel-pink-text)}.pillar-heading{font-size:1.2rem;font-weight:800;color:var(--color-primary);margin-bottom:.5rem}.pillar-desc{font-size:.875rem;color:var(--color-text-main);line-height:1.5;opacity:.85}.assistant-workspace-page{padding-top:.25rem;display:flex;flex-direction:column;gap:1.25rem}.assistant-header-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.assistant-header-titles{display:flex;flex-direction:column;gap:.25rem}.assistant-title-row{display:flex;align-items:center;gap:.75rem}.assistant-title{font-size:1.75rem;font-weight:800;color:var(--color-primary);letter-spacing:-.02em}.assistant-badge-pill{display:inline-flex;align-items:center;gap:.35rem;font-size:.72rem;font-weight:700;color:#6d28d9;background:var(--pastel-lavender-bg);padding:.2rem .65rem;border-radius:var(--radius-pill)}.assistant-subtitle{font-size:.92rem;color:var(--color-text-muted)}.assistant-header-actions{display:flex;align-items:center;gap:.75rem}.assistant-mode-toggle{display:flex;background:#f1f5f9;padding:.25rem;border-radius:var(--radius-pill);gap:.25rem}.mode-toggle-btn{padding:.4rem 1.15rem;border-radius:var(--radius-pill);font-size:.85rem;font-weight:700;color:var(--color-text-muted);transition:all var(--transition-fast)}.mode-toggle-btn:hover{color:var(--color-primary)}.mode-toggle-btn.active{background:var(--color-primary);color:#fff;box-shadow:0 2px 6px #1e255e33}.assistant-content-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:1.5rem;height:calc(100vh - 210px);min-height:560px;max-height:700px;align-items:stretch}.assistant-conversation-card{background:#fff;border-radius:var(--radius-card);border:1px solid var(--color-border);box-shadow:var(--shadow-card);display:flex;flex-direction:column;overflow:hidden;height:100%}.conversation-card-topbar{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1.5rem;background:#faf9fe;border-bottom:1px solid rgba(30,37,94,.06)}.conversation-status-indicator{display:flex;align-items:center;gap:.5rem}.live-status-dot{width:7px;height:7px;border-radius:50%;background:#10b981;box-shadow:0 0 8px #10b98199;animation:pulseDot 2s infinite}.live-status-text{font-size:.78rem;font-weight:700;color:var(--color-primary);text-transform:uppercase;letter-spacing:.05em}.btn-new-chat-subtle{display:inline-flex;align-items:center;gap:.35rem;background:transparent;border:1px solid rgba(30,37,94,.12);border-radius:14px;padding:.25rem .65rem;font-size:.75rem;font-weight:600;color:var(--color-text-muted);cursor:pointer;transition:all .15s ease}.btn-new-chat-subtle:hover{background:#fff;border-color:var(--color-primary);color:var(--color-primary)}.assistant-welcome-hero{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid rgba(30,37,94,.08);border-radius:var(--radius-card);padding:1.5rem;margin-bottom:.75rem;animation:heroFadeIn .3s ease-out}@keyframes heroFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.welcome-hero-badge{display:inline-flex;align-items:center;gap:.4rem;background:#1e255e12;color:var(--color-primary);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:.2rem .6rem;border-radius:12px;margin-bottom:.5rem}.welcome-hero-title{font-size:1.35rem;font-weight:800;color:var(--color-primary);margin-bottom:.35rem}.welcome-hero-desc{font-size:.88rem;color:var(--color-text-muted);line-height:1.5;margin-bottom:1.25rem;max-width:600px}.welcome-cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}@media (max-width: 768px){.welcome-cards-grid{grid-template-columns:1fr}}.welcome-action-card{display:flex;align-items:flex-start;gap:.75rem;background:#fff;border:1px solid rgba(30,37,94,.08);border-radius:14px;padding:.85rem 1rem;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px #00000005}.welcome-action-card:hover{border-color:#6366f1;transform:translateY(-2px);box-shadow:0 6px 16px #6366f11a}.welcome-card-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.welcome-card-icon.bg-indigo{background:#eef2ff;color:#4f46e5}.welcome-card-icon.bg-rose{background:#ffe4e6;color:#e11d48}.welcome-card-icon.bg-emerald{background:#ecfdf5;color:#059669}.welcome-card-icon.bg-amber{background:#fef3c7;color:#d97706}.welcome-card-content{flex:1}.welcome-card-title{font-size:.86rem;font-weight:700;color:var(--color-primary);margin-bottom:.15rem}.welcome-card-desc{font-size:.75rem;color:var(--color-text-muted);line-height:1.4}.assistant-chat-stream{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.assistant-msg-row{display:flex;gap:.85rem;max-width:86%;animation:messageSlideIn .25s ease-out}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.assistant-msg-row.bot-row{align-self:flex-start}.assistant-msg-row.user-row{align-self:flex-end;flex-direction:row-reverse}.assistant-msg-avatar{width:36px;height:36px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border:2px solid #E0E7FF;box-shadow:0 2px 8px #1e255e1f;margin-top:.2rem}.assistant-avatar-tiny{width:100%;height:100%;object-fit:cover}.assistant-msg-bubble-wrap{display:flex;flex-direction:column;max-width:100%}.msg-sender-meta{display:flex;align-items:center;gap:.45rem;margin-bottom:.35rem;font-size:.74rem}.msg-sender-meta.user-meta{justify-content:flex-end}.msg-sender-title{font-weight:700;color:var(--color-primary)}.msg-clinician-tag{background:#ecfdf5;color:#059669;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.1rem .45rem;border-radius:10px;border:1px solid #A7F3D0}.msg-sender-timestamp{color:var(--color-text-light);font-size:.7rem}.assistant-bubble{padding:1.05rem 1.25rem;border-radius:18px;font-size:.92rem;line-height:1.62;transition:box-shadow .2s ease}.assistant-bubble.bot-bubble{background:#fff;color:#1e255e;border:1px solid #E2E8F0;border-top-left-radius:4px;box-shadow:0 4px 16px #1e255e0d}.assistant-bubble.user-bubble{background:linear-gradient(135deg,#1e255e,#2a3378);color:#fff;border-top-right-radius:4px;box-shadow:0 4px 18px #1e255e33}.msg-actions-toolbar{display:flex;align-items:center;gap:.4rem;margin-top:.45rem}.msg-action-pill{display:inline-flex;align-items:center;gap:.35rem;background:#1e255e0a;border:1px solid rgba(30,37,94,.08);border-radius:12px;padding:.25rem .55rem;font-size:.72rem;font-weight:600;color:var(--color-text-muted);cursor:pointer;transition:all .15s ease}.msg-action-pill:hover{background:#fff;border-color:#1e255e33;color:var(--color-primary);transform:translateY(-1px)}.msg-action-pill.active-speaking{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8;animation:pulseSpeech 1.5s infinite}@keyframes pulseSpeech{0%,to{opacity:1}50%{opacity:.65}}.formatted-bubble-body{display:flex;flex-direction:column;gap:.6rem}.bubble-section-heading{font-size:1rem;font-weight:800;color:#1e255e;margin-top:.85rem;margin-bottom:.25rem;display:flex;align-items:center;gap:.5rem;padding-bottom:.35rem;border-bottom:1.5px solid rgba(30,37,94,.08)}.heading-accent-bar{width:4px;height:16px;border-radius:2px;background:#4f46e5;display:inline-block}.user-bubble .bubble-section-heading{color:#fff;border-bottom:1.5px solid rgba(255,255,255,.2)}.user-bubble .heading-accent-bar{background:#38bdf8}.bubble-paragraph{margin:0;line-height:1.62}.bubble-bullet-list,.bubble-numbered-list{margin:.35rem 0;padding-left:1.35rem;display:flex;flex-direction:column;gap:.45rem}.bubble-bullet-item,.bubble-numbered-item{line-height:1.55}.bubble-bold{font-weight:700}.bot-bubble .bubble-bold{color:#0f172a}.user-bubble .bubble-bold{color:#fff}.bubble-italic{font-style:italic;opacity:.9}.bubble-code-pill{background:#1e255e12;padding:.15rem .4rem;border-radius:5px;font-family:monospace;font-size:.85em;color:#4f46e5}.user-bubble .bubble-code-pill{background:#ffffff26;color:#e0e7ff}.bubble-callout-card{display:flex;align-items:flex-start;gap:.65rem;padding:.85rem 1rem;border-radius:12px;margin:.5rem 0;font-size:.88rem;line-height:1.52}.bubble-callout-card.callout-info{background:#eff6ff;border-left:4px solid #3B82F6;color:#1e3a8a}.bubble-callout-card.callout-warning{background:#fffbeb;border-left:4px solid #F59E0B;color:#92400e}.bubble-callout-card.callout-success{background:#ecfdf5;border-left:4px solid #10B981;color:#065f46}.callout-icon-col{flex-shrink:0;margin-top:1px}.callout-content-col{flex:1}.bubble-table-wrapper{overflow-x:auto;margin:.6rem 0;border-radius:10px;border:1px solid rgba(30,37,94,.12);box-shadow:0 2px 6px #00000005}.bubble-table{width:100%;border-collapse:collapse;font-size:.84rem;text-align:left}.bubble-table th{background:#f8fafc;color:var(--color-primary);font-weight:700;padding:.65rem .85rem;border-bottom:1.5px solid rgba(30,37,94,.1);text-transform:capitalize}.bubble-table td{padding:.6rem .85rem;border-bottom:1px solid rgba(30,37,94,.06);color:var(--color-text-main)}.bubble-table tr:last-child td{border-bottom:none}.bubble-table tr:nth-child(2n){background:#f8fafc99}.cell-highlight-amber{background:#fef3c7!important;color:#92400e!important;font-weight:700}.cell-highlight-green{background:#ecfdf5!important;color:#065f46!important;font-weight:600}.typing-row{align-self:flex-start}.typing-bubble{background:#fff;border:1px solid #E2E8F0;padding:.85rem 1.15rem}.typing-status-line{display:flex;align-items:center;gap:.75rem}.typing-shimmer-text{font-size:.84rem;font-weight:600;color:#4f46e5;letter-spacing:.01em}.typing-dots-anim{display:flex;gap:4px;align-items:center}.typing-dots-anim span{width:6px;height:6px;border-radius:50%;background:#818cf8;animation:typingBounce 1.2s infinite ease-in-out}.typing-dots-anim span:nth-child(2){animation-delay:.2s}.typing-dots-anim span:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,80%,to{transform:scale(.6);opacity:.5}40%{transform:scale(1.15);opacity:1}}.assistant-suggestion-pills{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.65rem}.chat-suggestion-chip{background:#fff;border:1px solid #DDD6FE;padding:.35rem .85rem;border-radius:var(--radius-pill);font-size:.8rem;font-weight:600;color:var(--color-primary);box-shadow:0 1px 3px #1e255e0a;transition:all var(--transition-fast)}.chat-suggestion-chip:hover{background:var(--pastel-lavender-bg);border-color:#c4b5fd;color:#5b21b6;transform:translateY(-1px)}.assistant-quick-actions-bar{display:flex;align-items:center;gap:.5rem;padding:.5rem 1.5rem;overflow-x:auto;background:#faf9fe;border-top:1px solid #F1F5F9}.assistant-composer-wrapper{padding:.85rem 1.25rem .65rem;background:#fff;border-top:1px solid var(--color-border-subtle)}.assistant-composer-bar{display:flex;align-items:center;gap:.5rem;background:#f8fafc;border:1px solid var(--color-border);border-radius:var(--radius-pill);padding:.35rem .5rem .35rem .85rem;transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.assistant-composer-bar:focus-within{border-color:#94a3b8;background:#fff;box-shadow:0 0 0 3px #1e255e0d}.assistant-composer-input{flex:1;border:none;background:transparent;outline:none;font-size:.92rem;color:var(--color-text-main)}.btn-composer-attach,.btn-composer-mic{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--color-text-muted);transition:all var(--transition-fast)}.btn-composer-attach:hover,.btn-composer-mic:hover{color:var(--color-primary);background:#e2e8f0}.btn-composer-mic.listening{background:#fee2e2;color:#dc2626}.btn-composer-send{width:36px;height:36px;border-radius:50%;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #1e255e40;transition:all var(--transition-fast)}.btn-composer-send:hover{background:var(--color-primary-hover);transform:scale(1.04)}.assistant-disclaimer-strip{display:flex;align-items:center;justify-content:center;gap:.35rem;font-size:.72rem;color:var(--color-text-light);text-align:center;margin-top:.45rem}.assistant-voice-view{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem 1.5rem;background:linear-gradient(180deg,#faf8ff,#fff);text-align:center}.voice-view-center{display:flex;flex-direction:column;align-items:center;gap:1rem;max-width:440px}.voice-view-mic-circle{width:72px;height:72px;border-radius:50%;background:var(--color-primary);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #1e255e40;transition:all var(--transition-fast)}.voice-view-mic-circle.active-pulse{background:#dc2626;box-shadow:0 0 0 8px #dc262633,0 8px 24px #dc26264d;animation:pulseVoiceRing 1.8s infinite}@keyframes pulseVoiceRing{0%{box-shadow:0 0 #dc262659}70%{box-shadow:0 0 0 16px #dc262600}to{box-shadow:0 0 #dc262600}}.voice-view-status{font-size:1.25rem;font-weight:800;color:var(--color-primary)}.voice-waveform-strip{display:flex;align-items:center;gap:4px;height:24px}.voice-waveform-strip span{width:4px;height:6px;background:#94a3b8;border-radius:2px;transition:all .2s ease}.voice-waveform-strip.animating span{background:#3b82f6;animation:voiceWave .8s infinite ease-in-out alternate}.voice-waveform-strip.animating span:nth-child(2){animation-delay:.15s}.voice-waveform-strip.animating span:nth-child(3){animation-delay:.3s}.voice-waveform-strip.animating span:nth-child(4){animation-delay:.45s}.voice-waveform-strip.animating span:nth-child(5){animation-delay:.2s}.voice-waveform-strip.animating span:nth-child(6){animation-delay:.35s}.voice-waveform-strip.animating span:nth-child(7){animation-delay:.1s}@keyframes voiceWave{0%{height:6px}to{height:26px}}.voice-view-hint{font-size:.88rem;color:var(--color-text-muted);line-height:1.5}.voice-prompt-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:.5rem}.voice-doctor-pill-row{display:inline-flex;align-items:center;gap:.5rem;background:#1e255e0d;border:1px solid rgba(30,37,94,.12);padding:.3rem .75rem;border-radius:20px;margin-bottom:.5rem}.voice-doctor-label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted)}.voice-doctor-select{background:transparent;border:none;font-size:.82rem;font-weight:700;color:var(--color-primary);outline:none;cursor:pointer}.voice-view-mic-circle.transcribing{background:#3b82f6;box-shadow:0 0 0 6px #3b82f640}.spin-animate{animation:spinIcon 1s linear infinite}@keyframes spinIcon{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-voice-interrupt{display:inline-flex;align-items:center;gap:.45rem;background:#dc2626;color:#fff;border:none;padding:.45rem 1rem;border-radius:20px;font-size:.82rem;font-weight:700;cursor:pointer;box-shadow:0 4px 12px #dc262640;transition:all .2s ease}.btn-voice-interrupt:hover{background:#b91c1c;transform:translateY(-1px)}.voice-latest-response-card{width:100%;max-width:460px;background:#fff;border:1px solid rgba(30,37,94,.1);border-radius:var(--radius-card);padding:1.15rem;text-align:left;box-shadow:0 4px 16px #1e255e0f;margin-top:.5rem}.voice-response-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid rgba(30,37,94,.07)}.voice-response-doctor{display:flex;align-items:center;gap:.45rem;font-size:.8rem;font-weight:700;color:var(--color-primary)}.voice-doctor-mini-thumb{width:22px;height:22px;border-radius:50%;object-fit:cover}.voice-response-actions{display:flex;align-items:center;gap:.4rem}.btn-replay-voice{display:inline-flex;align-items:center;gap:.35rem;background:#1e255e0f;color:var(--color-primary);border:none;padding:.3rem .65rem;border-radius:14px;font-size:.75rem;font-weight:700;cursor:pointer;transition:all .15s ease}.btn-replay-voice:hover{background:#1e255e1f}.voice-response-text{font-size:.86rem;line-height:1.55;color:var(--color-text-main);max-height:200px;overflow-y:auto}.companion-voice-picker{display:flex;flex-direction:column;gap:.35rem;width:100%;text-align:left;margin-top:.5rem}.companion-voice-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#ffffffa6}.companion-voice-select{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.45rem .65rem;border-radius:8px;font-size:.8rem;outline:none;cursor:pointer}.companion-voice-select option{background:#1e255e;color:#fff}.assistant-companion-card{background:#1e255e;color:#fff;border-radius:var(--radius-card);padding:2rem 1.5rem;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:1.15rem;height:100%;box-shadow:var(--shadow-card)}.companion-header-label{display:inline-flex;align-items:center;gap:.4rem;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6ee7b7}.companion-avatar-circle{width:100px;height:100px;border-radius:50%;overflow:hidden;border:3.5px solid rgba(255,255,255,.22);box-shadow:0 8px 24px #0000004d}.companion-avatar-img{width:100%;height:100%;object-fit:cover}.companion-status-row{display:flex;align-items:center;gap:.5rem;font-size:.88rem;font-weight:700;color:#fff}.companion-status-dot{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 8px #10b981}.companion-status-dot.pulse{background:#38bdf8;box-shadow:0 0 10px #38bdf8;animation:pulseDot 1.2s infinite}@keyframes pulseDot{0%{transform:scale(1);opacity:1}50%{transform:scale(1.3);opacity:.7}to{transform:scale(1);opacity:1}}.companion-soundwave{display:flex;align-items:center;gap:4px;height:18px}.companion-soundwave span{width:3px;height:6px;background:#ffffff59;border-radius:2px;transition:all .2s ease}.companion-soundwave.active span{background:#38bdf8;animation:companionBeat .75s infinite ease-in-out alternate}.companion-soundwave.active span:nth-child(2){animation-delay:.2s}.companion-soundwave.active span:nth-child(3){animation-delay:.4s}.companion-soundwave.active span:nth-child(4){animation-delay:.15s}.companion-soundwave.active span:nth-child(5){animation-delay:.3s}@keyframes companionBeat{0%{height:6px}to{height:18px}}.companion-speech-copy{font-size:.88rem;line-height:1.5;color:#ffffffd1;max-width:240px;margin:0}.companion-controls-row{display:flex;align-items:center;gap:.5rem}.companion-pill-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .85rem;border-radius:var(--radius-pill);background:#ffffff1a;color:#fff;font-size:.78rem;font-weight:600;border:1px solid rgba(255,255,255,.2);transition:all var(--transition-fast)}.companion-pill-btn:hover{background:#fff3}.assistant-inline-assessment{display:flex;flex-direction:column;padding:1.5rem;height:100%;overflow-y:auto}.assessment-card-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:1rem;border-bottom:1px solid var(--color-border-subtle);margin-bottom:1.25rem}.assessment-step-badge{background:var(--pastel-blue-bg);color:var(--pastel-blue-text);font-size:.75rem;font-weight:700;padding:.2rem .6rem;border-radius:var(--radius-pill)}.symptom-chips-grid{display:flex;flex-wrap:wrap;gap:.5rem}.symptom-select-chip{background:#f8fafc;border:1px solid var(--color-border);padding:.5rem 1rem;border-radius:var(--radius-pill);font-size:.85rem;font-weight:600;color:var(--color-text-main);display:inline-flex;align-items:center;gap:.4rem;transition:all var(--transition-fast)}.symptom-select-chip:hover{border-color:#94a3b8}.symptom-select-chip.selected{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.assessment-summary-box{background:#f8fafc;border:1px solid var(--color-border);border-radius:12px;padding:1rem;font-size:.9rem}.myhealth-dashboard-page{padding-top:.5rem}.myhealth-top-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.myhealth-heading{font-size:1.75rem;font-weight:800;color:var(--color-primary);letter-spacing:-.02em}.myhealth-subheading{font-size:.92rem;color:var(--color-text-muted);margin-top:.2rem}.timeframe-dropdown-wrap{position:relative;display:inline-flex;align-items:center}.timeframe-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid var(--color-border);padding:.45rem 2.2rem .45rem 1rem;border-radius:var(--radius-pill);font-size:.85rem;font-weight:600;color:var(--color-text-main);cursor:pointer;box-shadow:var(--shadow-subtle);transition:all var(--transition-fast)}.timeframe-select:hover{border-color:#cbd5e1}.dropdown-caret{position:absolute;right:.9rem;pointer-events:none;color:var(--color-text-muted)}.health-overview-card-container{background:linear-gradient(180deg,#fff,#f9fbff);background-image:radial-gradient(circle at 92% 10%,rgba(16,185,129,.04) 0%,rgba(59,130,246,.04) 40%,transparent 70%);border:1px solid #E2E8F0;border-radius:24px;box-shadow:0 10px 30px #1e293b0a;padding:1.85rem 2rem;margin-bottom:1.75rem;position:relative;overflow:hidden}.health-overview-top-section{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.health-score-main-col{flex:1;min-width:0}.health-score-badges-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.85rem}.health-score-pill-badge{display:inline-flex;align-items:center;gap:.35rem;background:#eff6ff;color:#2563eb;border:1px solid #DBEAFE;padding:.28rem .75rem;border-radius:9999px;font-size:.78rem;font-weight:700;letter-spacing:.01em}.heart-icon-beat{color:#ef4444;fill:#fee2e2}.health-trend-pill-badge{display:inline-flex;align-items:center;gap:.35rem;background:#ecfdf5;color:#059669;border:1px solid #A7F3D0;padding:.28rem .75rem;border-radius:9999px;font-size:.78rem;font-weight:700}.health-history-subtle-btn,.health-sync-subtle-btn{display:inline-flex;align-items:center;gap:.3rem;background:#fff;border:1px solid #E2E8F0;color:#64748b;padding:.28rem .65rem;border-radius:9999px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all var(--transition-fast)}.health-history-subtle-btn:hover,.health-sync-subtle-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#1e293b}.health-score-title-row{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap}.health-score-label{font-size:1.15rem;font-weight:700;color:var(--color-primary)}.health-score-digits-wrap{display:inline-flex;align-items:baseline;gap:.35rem}.health-score-number{font-size:2.75rem;font-weight:800;font-family:var(--font-display);color:#059669;line-height:1}.health-score-denominator{font-size:1.35rem;font-weight:600;color:#94a3b8}.health-score-supporting-text{font-size:.88rem;color:var(--color-text-muted);margin-top:.35rem;line-height:1.45}.health-score-progress-wrapper{margin-top:1.25rem;max-width:100%}.health-score-progress-track{width:100%;height:13px;background:#eef2f6;border-radius:9999px;overflow:hidden;position:relative}.health-score-progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#06b6d4,#10b981);border-radius:9999px;transition:width .8s cubic-bezier(.4,0,.2,1);box-shadow:0 0 10px #10b98140}.health-score-progress-labels{display:flex;justify-content:space-between;margin-top:.5rem;font-size:.75rem}.progress-label-col{display:flex;flex-direction:column}.progress-label-col.left{text-align:left}.progress-label-col.center{text-align:center}.progress-label-col.right{text-align:right}.progress-label-num{font-weight:700;color:#64748b;font-size:.78rem}.progress-label-desc{color:#94a3b8;font-size:.72rem;font-weight:500;margin-top:1px}.health-progress-insight-card{background:#fff;border:1px solid #E2E8F0;border-radius:18px;padding:1.25rem 1.4rem;box-shadow:0 4px 16px #1e293b08;display:flex;gap:.9rem;align-items:flex-start;max-width:320px;flex-shrink:0;align-self:flex-start;transition:all var(--transition-fast)}.health-progress-insight-card:hover{box-shadow:0 6px 20px #1e293b0d;border-color:#cbd5e1}.insight-mint-icon-wrap{width:38px;height:38px;border-radius:11px;background:#ecfdf5;color:#059669;border:1px solid #A7F3D0;display:flex;align-items:center;justify-content:center;flex-shrink:0}.insight-content-wrap{flex:1}.insight-title{font-size:.92rem;font-weight:800;color:var(--color-primary);margin:0;line-height:1.35}.insight-text{font-size:.81rem;color:var(--color-text-muted);margin:.3rem 0 0;line-height:1.45}.health-query-section-box{background:#f4f7fd;border:1px solid #E2E8F0;border-radius:20px;padding:1.4rem 1.6rem;margin-top:1.6rem}.query-section-header{margin-bottom:.95rem}.query-title-row{display:flex;align-items:center;gap:.5rem}.query-sparkle-wrap{color:#2563eb;display:flex;align-items:center;justify-content:center}.query-main-heading{font-size:1.05rem;font-weight:800;color:var(--color-primary);margin:0}.query-subheading{font-size:.84rem;color:var(--color-text-muted);margin:.2rem 0 0}.suggested-questions-row{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.95rem}.suggested-question-pill{background:#fff;border:1px solid #E2E8F0;color:#334155;padding:.42rem .95rem;border-radius:9999px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all var(--transition-fast);box-shadow:0 1px 3px #1e293b05}.suggested-question-pill:hover:not(:disabled){background:#eef4ff;border-color:#bfdbfe;color:#1d4ed8;transform:translateY(-1px)}.suggested-question-pill:disabled{opacity:.6;cursor:not-allowed}.query-input-container{background:#fff;border:1px solid #CBD5E1;border-radius:9999px;padding:.35rem .45rem .35rem 1.2rem;display:flex;align-items:center;gap:.6rem;box-shadow:0 2px 8px #1e293b08;transition:border-color var(--transition-fast),box-shadow var(--transition-fast)}.query-input-container:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.query-text-input{flex:1;border:none;background:transparent;outline:none;font-size:.88rem;color:var(--color-text-main);padding:.35rem 0}.query-text-input::placeholder{color:#94a3b8}.query-input-actions{display:flex;align-items:center;gap:.35rem}.query-mic-btn{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#64748b;background:transparent;cursor:pointer;position:relative;transition:all var(--transition-fast)}.query-mic-btn:hover{color:#2563eb;background:#eff6ff}.query-mic-btn.listening-active{color:#ef4444;background:#fef2f2}.mic-pulse-ring{position:absolute;width:100%;height:100%;border-radius:50%;border:2px solid #EF4444;animation:pulseRing 1.2s infinite ease-out}@keyframes pulseRing{0%{transform:scale(.95);opacity:.8}to{transform:scale(1.4);opacity:0}}.query-send-btn{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px #2563eb4d;transition:all var(--transition-fast)}.query-send-btn:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 10px #2563eb59}.query-send-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.query-voice-notice{font-size:.78rem;color:#b45309;background:#fef9c3;border-radius:8px;padding:.4rem .75rem;margin-top:.6rem}.query-answer-bubble{margin-top:1rem;background:#fff;border:1px solid #E2E8F0;border-left:4px solid #2563EB;border-radius:14px;padding:1rem 1.25rem;box-shadow:0 2px 8px #1e293b08;animation:fadeIn .25s ease}.query-answer-header{margin-bottom:.4rem}.query-answer-badge{display:inline-flex;align-items:center;gap:.35rem;font-size:.74rem;font-weight:800;color:#2563eb;text-transform:uppercase;letter-spacing:.05em}.query-answer-text{font-size:.88rem;color:var(--color-text-main);line-height:1.55;margin:0}.health-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;margin-bottom:1.75rem}.health-stat-card{border-radius:22px;padding:1.45rem;cursor:pointer;transition:all var(--transition-fast);position:relative;overflow:hidden;box-shadow:0 4px 16px #1e293b08}.health-stat-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #1e293b0f}.stat-card-watermark{position:absolute;right:-8px;bottom:-8px;opacity:.09;pointer-events:none;transition:transform .3s ease,opacity .3s ease}.health-stat-card:hover .stat-card-watermark{transform:scale(1.08) rotate(-4deg);opacity:.13}.health-stat-card.pastel-blue{background:#eaf2fd;border:1px solid #D2E3FB}.health-stat-card.pastel-yellow{background:#fef8e7;border:1px solid #FCE8B3}.health-stat-card.pastel-pink{background:#fdf1f7;border:1px solid #F9D2E5}.health-stat-card.pastel-mint{background:#eaf8f1;border:1px solid #C7EFE0}.stat-card-top{display:flex;align-items:center;justify-content:flex-start;margin-bottom:.2rem}.stat-icon-wrap{width:36px;height:36px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #1e293b0a}.stat-icon-wrap.blue{color:#2563eb}.stat-icon-wrap.yellow{color:#d97706}.stat-icon-wrap.pink{color:#db2777}.stat-icon-wrap.mint{color:#059669}.stat-number{font-size:2.35rem;font-weight:800;font-family:var(--font-display);color:var(--color-primary);line-height:1;margin:.75rem 0 .3rem}.stat-label{font-size:.95rem;font-weight:800;color:var(--color-primary);margin-bottom:.75rem}.stat-action-link{display:flex;align-items:center;gap:.3rem;font-size:.8rem;font-weight:700;color:var(--color-primary);opacity:.8;transition:gap var(--transition-fast),opacity var(--transition-fast)}.health-stat-card:hover .stat-action-link{gap:.5rem;opacity:1}.health-middle-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.dashboard-panel-card{background:#fff;border-radius:20px;border:1px solid #E8EEF5;box-shadow:0 4px 20px #1e293b08;padding:1.5rem;transition:box-shadow var(--transition-fast)}.dashboard-panel-card:hover{box-shadow:0 6px 24px #1e293b0d}.panel-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.panel-title{font-size:1.15rem;font-weight:800;color:var(--color-primary);margin:0}.btn-panel-link{font-size:.82rem;font-weight:700;color:#2563eb;background:transparent;padding:.3rem .65rem;border-radius:8px;transition:all var(--transition-fast)}.btn-panel-link:hover{background:#eff6ff}.timeline-vertical-flow{display:flex;flex-direction:column}.timeline-item-row{display:grid;grid-template-columns:90px 24px 1fr;gap:.75rem;cursor:pointer;padding:.45rem 0;transition:all var(--transition-fast)}.timeline-item-row:hover .timeline-event-title{color:#2563eb}.timeline-date-col{font-size:.8rem;font-weight:700;color:var(--color-text-muted);padding-top:2px}.timeline-node-col{display:flex;flex-direction:column;align-items:center;position:relative}.timeline-dot{width:10px;height:10px;border-radius:50%;margin-top:6px;z-index:2}.dot-blue{background:#3b82f6;box-shadow:0 0 0 3px #dbeafe}.dot-mint{background:#10b981;box-shadow:0 0 0 3px #d1fae5}.dot-pink{background:#ec4899;box-shadow:0 0 0 3px #fce7f3}.dot-lavender{background:#8b5cf6;box-shadow:0 0 0 3px #ede9fe}.timeline-line{width:2px;flex:1;background:#e2e8f0;margin:4px 0}.timeline-event-title{font-size:.9rem;font-weight:700;color:var(--color-primary);transition:color var(--transition-fast)}.timeline-event-sub{font-size:.78rem;color:var(--color-text-muted);margin-top:1px}.recent-docs-list{display:flex;flex-direction:column;gap:.75rem}.recent-doc-row{display:flex;align-items:center;gap:.75rem;padding:.7rem .85rem;border-radius:14px;border:1px solid #F1F5F9;background:#f8fafc;cursor:pointer;transition:all var(--transition-fast)}.recent-doc-row:hover{background:#fff;border-color:#cbd5e1;box-shadow:var(--shadow-subtle);transform:translateY(-1px)}.recent-doc-icon-wrap{width:36px;height:36px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 1px 3px #1e293b0a}.recent-doc-meta{flex:1}.recent-doc-name{font-size:.88rem;font-weight:700;color:var(--color-primary)}.recent-doc-date{font-size:.75rem;color:var(--color-text-muted);margin-top:1px}.badge-processed{background:#dcfce7;color:#166534;border:1px solid #BBF7D0;font-size:.725rem;font-weight:700;padding:.2rem .6rem;border-radius:var(--radius-pill)}.badge-analyzing{background:#fef3c7;color:#92400e;border:1px solid #FDE68A;font-size:.725rem;font-weight:700;padding:.2rem .6rem;border-radius:var(--radius-pill)}.health-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.medications-cards-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.medication-item-card{background:#f8fafc;border:1px solid var(--color-border);border-radius:14px;padding:.95rem;transition:all var(--transition-fast)}.medication-item-card:hover{background:#fff;border-color:#cbd5e1;box-shadow:var(--shadow-subtle)}.med-name{font-size:.88rem;font-weight:800;color:var(--color-primary);margin-bottom:.25rem}.med-dosage{font-size:.75rem;color:var(--color-text-muted)}.doctor-brief-feature-card{background:linear-gradient(135deg,#fff,#f8faff);border-color:#dce6fd}.doctor-brief-body-row{display:flex;align-items:center;gap:1rem}.brief-clipboard-icon{width:48px;height:48px;border-radius:12px;background:#eff6ff;color:#2563eb;border:1px solid #DBEAFE;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-subtle)}.brief-text-wrap{flex:1}.brief-appointment-label{font-size:.8rem;color:var(--color-text-muted)}.brief-headline{font-size:.95rem;font-weight:800;color:var(--color-primary);margin-top:1px}.btn-view-brief{background:var(--color-primary);color:#fff;padding:.55rem 1.1rem;border-radius:var(--radius-pill);font-size:.825rem;font-weight:700;box-shadow:0 2px 8px #1e255e33}.btn-view-brief:hover{background:var(--color-primary-hover)}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:150;display:flex;justify-content:flex-end}.drawer-panel{width:100%;max-width:520px;background:#fff;height:100%;box-shadow:-8px 0 32px #00000026;display:flex;flex-direction:column;animation:slideDrawer .25s ease-out}@keyframes slideDrawer{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{padding:1.25rem 1.5rem;border-bottom:1px solid var(--color-border);display:flex;align-items:center;justify-content:space-between}.drawer-title{font-size:1.25rem;font-weight:800;color:var(--color-primary)}.drawer-subtitle{font-size:.8rem;color:var(--color-text-muted)}.drawer-body{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem}.drawer-footer{padding:1rem 1.5rem;border-top:1px solid var(--color-border);display:flex;align-items:center;justify-content:space-between;background:#f8fafc}.brief-section-box{background:#f8fafc;border:1px solid var(--color-border);border-radius:14px;padding:1.15rem}.brief-section-title{font-size:.92rem;font-weight:800;color:var(--color-primary);margin-bottom:.75rem}.overview-stats-grid{display:flex;flex-direction:column;gap:.6rem;font-size:.875rem}.subtle-label{display:block;font-size:.725rem;text-transform:uppercase;color:var(--color-text-muted);font-weight:700}.brief-check-list{list-style:none;display:flex;flex-direction:column;gap:.5rem;font-size:.85rem}.brief-check-list li{display:flex;align-items:center;gap:.5rem}.brief-questions-list{list-style:none;display:flex;flex-direction:column;gap:.6rem}.brief-questions-list li{display:flex;gap:.5rem;font-size:.85rem;line-height:1.45}.question-bullet{background:var(--color-primary);color:#fff;font-size:.7rem;font-weight:800;padding:.15rem .4rem;border-radius:4px;height:fit-content}.documents-unified-page{padding-top:.5rem}.docs-page-header{margin-bottom:1.5rem}.docs-page-title{font-size:1.8rem;font-weight:800;color:var(--color-primary)}.docs-page-subtitle{font-size:.95rem;color:var(--color-text-muted)}.docs-upload-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.docs-dropzone-card{background:#fff;border:2px dashed #CBD5E1;border-radius:var(--radius-card);padding:2.5rem 1.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;transition:all var(--transition-fast)}.docs-dropzone-card:hover{border-color:var(--color-primary);background:#f8faff}.dropzone-cloud-icon{width:52px;height:52px;border-radius:50%;background:var(--pastel-blue-bg);color:var(--pastel-blue-text);display:flex;align-items:center;justify-content:center;margin-bottom:1rem}.dropzone-title{font-size:1.1rem;font-weight:800;color:var(--color-primary);margin-bottom:.25rem}.dropzone-meta{font-size:.8rem;color:var(--color-text-muted);margin-bottom:1.25rem}.btn-browse-files{background:var(--color-primary);color:#fff;padding:.55rem 1.4rem;border-radius:var(--radius-pill);font-size:.85rem;font-weight:700}.docs-visual-card{background:#f0f4ff;border-radius:var(--radius-card);border:1px solid #DCE6FD;display:flex;align-items:center;justify-content:center;padding:1.5rem;position:relative}.visual-sheet-wrapper{position:relative;width:220px;height:180px}.visual-sheet{width:130px;height:160px;background:#fff;border-radius:12px;box-shadow:var(--shadow-card);padding:1.25rem 1rem;display:flex;flex-direction:column;gap:.6rem;margin:0 auto}.sheet-line{height:5px;background:#e2e8f0;border-radius:4px}.sheet-line.long{width:90%}.sheet-line.medium{width:65%}.sheet-line.short{width:45%}.sheet-badge{position:absolute;padding:.35rem .75rem;border-radius:var(--radius-pill);font-size:.75rem;font-weight:700;box-shadow:var(--shadow-subtle)}.badge-blood{top:10px;right:0;background:#e0ecfc;color:#1d4ed8}.badge-rx{top:65px;right:-15px;background:#fce7f3;color:#be185d}.badge-ct{bottom:15px;right:10px;background:#ede9fe;color:#6d28d9}.docs-content-grid{display:grid;grid-template-columns:310px 1fr;gap:1.5rem;align-items:start}.docs-list-panel{background:#fff;border-radius:var(--radius-card);border:1px solid var(--color-border);box-shadow:var(--shadow-card);padding:1.25rem;min-width:0}.docs-list-header-row{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:1rem;gap:.6rem}.docs-list-title{font-size:1.15rem;font-weight:800;color:var(--color-primary)}.docs-filter-pills{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.filter-pill{padding:.25rem .65rem;border-radius:var(--radius-pill);font-size:.75rem;font-weight:600;background:#f8fafc;color:var(--color-text-muted);border:1px solid var(--color-border-subtle);cursor:pointer;transition:all .15s ease}.filter-pill:hover{background:#f1f5f9}.filter-pill.active{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.docs-table-container{display:flex;flex-direction:column;gap:.5rem}.doc-table-row{display:flex;align-items:center;gap:.75rem;padding:.75rem .85rem;border-radius:12px;border:1px solid var(--color-border-subtle);background:#fff;cursor:pointer;transition:all var(--transition-fast);min-width:0}.doc-table-row:hover{background:#f8fafc;border-color:#cbd5e1}.doc-table-row.selected{border-color:var(--color-primary);background:#f8faff;box-shadow:0 0 0 1px var(--color-primary)}.doc-icon-col{width:36px;height:36px;border-radius:10px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;flex-shrink:0}.doc-info-col{flex:1;min-width:0;overflow:hidden}.doc-name-text{font-size:.875rem;font-weight:700;color:var(--color-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-facility-sub{font-size:.72rem;color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.doc-status-col{flex-shrink:0}.btn-row-view{display:none}.doc-analysis-panel{background:#fff;border-radius:var(--radius-card);border:1px solid var(--color-border);box-shadow:var(--shadow-card);display:flex;flex-direction:column;overflow:hidden;min-width:0}border: 1px solid var(--color-border); box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; } .analysis-panel-header{padding:1.25rem;border-bottom:1px solid var(--color-border);display:flex;align-items:center;justify-content:space-between}.analysis-doc-title{font-size:1rem;font-weight:800;color:var(--color-primary)}.analysis-doc-subtitle{font-size:.75rem;color:var(--color-text-muted);margin-top:2px}.analysis-tab-pills{display:flex;padding:.5rem 1rem;background:#f8fafc;border-bottom:1px solid var(--color-border-subtle);gap:.4rem}.analysis-tab-pill{flex:1;padding:.35rem .5rem;border-radius:var(--radius-pill);font-size:.78rem;font-weight:700;color:var(--color-text-muted);text-align:center}.analysis-tab-pill.active{background:var(--color-primary);color:#fff}.analysis-panel-body{padding:1.25rem;min-height:280px}.extracted-metrics-table{display:flex;flex-direction:column;gap:.5rem}.metrics-table-header{display:grid;grid-template-columns:1fr 100px 70px;font-size:.75rem;font-weight:700;text-transform:uppercase;color:var(--color-text-muted);padding-bottom:.4rem;border-bottom:1px solid var(--color-border-subtle)}.metrics-table-row{display:grid;grid-template-columns:1fr 100px 70px;align-items:center;font-size:.85rem;padding:.4rem 0;border-bottom:1px solid #F1F5F9}.metric-test-name{font-weight:600;color:var(--color-text-main)}.metric-test-val{font-weight:700;color:var(--color-primary)}.metric-badge{font-size:.725rem;font-weight:700;padding:.15rem .45rem;border-radius:var(--radius-pill);text-align:center}.metric-badge.normal{background:#dcfce7;color:#166534}.metric-badge.high{background:#fee2e2;color:#991b1b}.metric-badge.low{background:#fef3c7;color:#92400e}.analysis-panel-footer{padding:1rem 1.25rem;border-top:1px solid var(--color-border);background:#f8fafc;display:flex;gap:.75rem}.btn-ask-careai-full{flex:1;background:var(--color-primary);color:#fff;padding:.7rem 1.2rem;border-radius:var(--radius-pill);font-size:.875rem;font-weight:700;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all var(--transition-fast)}.btn-ask-careai-full:hover{background:var(--color-primary-hover);transform:translateY(-1px)}.doc-preview-pane-wrapper{position:relative;background:#f1f5f9;border-radius:12px;overflow:hidden;border:1px solid var(--color-border);min-height:480px;display:flex;flex-direction:column}.doc-preview-toolbar{display:flex;align-items:center;justify-content:space-between;padding:.5rem .85rem;background:#fff;border-bottom:1px solid var(--color-border-subtle);font-size:.78rem;color:var(--color-text-muted)}.preview-toolbar-btn-group{display:flex;align-items:center;gap:.35rem}.preview-tool-btn{background:#f8fafc;border:1px solid var(--color-border-subtle);border-radius:6px;padding:.3rem .5rem;font-size:.75rem;color:var(--color-text-main);display:inline-flex;align-items:center;gap:.3rem;cursor:pointer;transition:all .15s ease}.preview-tool-btn:hover{background:#e2e8f0;color:var(--color-primary)}.doc-preview-canvas{position:relative;flex:1;overflow:auto;padding:1.75rem;display:flex;justify-content:center;align-items:flex-start;background:#f1f5f9;min-height:480px}.doc-preview-image-clean{max-width:100%;width:auto;max-height:760px;object-fit:contain;border-radius:8px;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000000d;border:1px solid #CBD5E1;background:#fff;display:block}.authentic-lab-sheet{width:100%;max-width:620px;background:#fff;border:1px solid #CBD5E1;border-radius:6px;box-shadow:0 10px 25px -5px #00000014,0 8px 10px -6px #0000000a;padding:2rem 2.25rem;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;color:#1e293b;position:relative;transition:transform .2s ease}.lab-sheet-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #0F172A;padding-bottom:1rem;margin-bottom:1.25rem}.lab-sheet-brand h2{font-size:1.15rem;font-weight:900;letter-spacing:-.01em;color:#0f172a;margin-bottom:.2rem;text-transform:uppercase}.lab-sheet-accreditations{font-size:.68rem;font-weight:700;color:#0284c7;letter-spacing:.04em;text-transform:uppercase}.lab-sheet-ref-meta{text-align:right;font-size:.72rem;color:#64748b;line-height:1.45}.lab-sheet-patient-grid{display:grid;grid-template-columns:1fr 1fr;gap:.6rem 1.5rem;background:#f8fafc;border:1px solid #E2E8F0;border-radius:6px;padding:.85rem 1rem;margin-bottom:1.25rem;font-size:.78rem}.patient-field-row{display:flex;justify-content:space-between;border-bottom:1px dashed #E2E8F0;padding-bottom:.25rem}.patient-field-row:last-child{border-bottom:none;padding-bottom:0}.patient-field-label{color:#64748b;font-weight:600}.patient-field-val{color:#0f172a;font-weight:700}.lab-department-title{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#334155;background:#f1f5f9;padding:.35rem .6rem;border-left:3px solid #0284C7;margin-bottom:.75rem}.lab-sheet-table{width:100%;border-collapse:collapse;font-size:.78rem;margin-bottom:1.5rem}.lab-sheet-table th{text-align:left;padding:.45rem .5rem;border-bottom:1.5px solid #0F172A;font-weight:800;color:#0f172a;text-transform:uppercase;font-size:.7rem;letter-spacing:.03em}.lab-sheet-table td{padding:.5rem;border-bottom:1px solid #E2E8F0;color:#1e293b;vertical-align:middle}.lab-sheet-table tr.flagged-row td{background:#fffbeb}.lab-sheet-table tr.flagged-row td.test-val-col{color:#b45309;font-weight:800}.lab-sheet-footer-sign{display:flex;justify-content:space-between;align-items:flex-end;border-top:1px solid #CBD5E1;padding-top:1rem;margin-top:1.5rem;font-size:.72rem;color:#64748b}.lab-sheet-watermark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-30deg);font-size:3.5rem;font-weight:900;color:#0284c70a;pointer-events:none;white-space:nowrap;letter-spacing:.1em;text-transform:uppercase}.vision-scanner-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#0f172a8c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem}.vision-laser-beam{position:absolute;left:0;right:0;height:3px;background:linear-gradient(90deg,transparent,#38BDF8,#00F0FF,#38BDF8,transparent);box-shadow:0 0 15px 3px #38bdf8b3,0 0 30px 6px #00f0ff66;animation:scanLaser 2.2s infinite ease-in-out;pointer-events:none}@keyframes scanLaser{0%{top:4%;opacity:.5}50%{top:92%;opacity:1}to{top:4%;opacity:.5}}.vision-scanner-hud{background:#0f172ae0;border:1px solid rgba(56,189,248,.4);box-shadow:0 10px 30px #0006,0 0 20px #38bdf833;border-radius:12px;padding:1.5rem 1.75rem;max-width:380px;width:100%;color:#fff;text-align:center;position:relative;z-index:25}.vision-hud-title{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.95rem;font-weight:800;color:#38bdf8;letter-spacing:.02em;margin-bottom:.5rem}.vision-hud-status{font-size:.825rem;color:#e2e8f0;margin-bottom:1rem}.vision-telemetry-steps{display:flex;flex-direction:column;gap:.45rem;text-align:left;font-size:.75rem}.telemetry-step-item{display:flex;align-items:center;gap:.5rem;color:#94a3b8;padding:.25rem .5rem;border-radius:4px;background:#ffffff0a}.telemetry-step-item.active{color:#38bdf8;background:#38bdf81f;font-weight:700}.telemetry-step-item.done{color:#4ade80}.structured-extraction-wrap{display:flex;flex-direction:column;gap:1.25rem}.extraction-summary-card{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #BAE6FD;border-radius:10px;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem}.extraction-meta-badges{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.badge-confidence{background:#0284c7;color:#fff;font-size:.75rem;font-weight:700;padding:.25rem .65rem;border-radius:var(--radius-pill);display:inline-flex;align-items:center;gap:.35rem}.badge-biomarkers-count{background:#fff;color:#0369a1;border:1px solid #BAE6FD;font-size:.75rem;font-weight:700;padding:.25rem .65rem;border-radius:var(--radius-pill)}.structured-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.structured-search-box{display:flex;align-items:center;background:#f8fafc;border:1px solid var(--color-border);border-radius:var(--radius-pill);padding:.35rem .75rem;gap:.4rem;flex:1;min-width:180px}.structured-search-input{border:none;background:transparent;outline:none;font-size:.8rem;color:var(--color-text-main);width:100%}.filter-chip-group{display:flex;gap:.35rem}.filter-chip-btn{font-size:.75rem;font-weight:700;padding:.25rem .6rem;border-radius:var(--radius-pill);border:1px solid var(--color-border-subtle);background:#fff;color:var(--color-text-muted);cursor:pointer;transition:all .15s ease}.filter-chip-btn.active{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.structured-clinical-table-container{border:1px solid var(--color-border);border-radius:10px;overflow:hidden;background:#fff}.structured-clinical-table{width:100%;border-collapse:collapse;font-size:.825rem}.structured-clinical-table th{background:#f8fafc;padding:.65rem .85rem;font-weight:700;text-align:left;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);border-bottom:1px solid var(--color-border)}.structured-clinical-table td{padding:.75rem .85rem;border-bottom:1px solid #F1F5F9;vertical-align:middle}.param-name-cell{display:flex;flex-direction:column;gap:2px}.param-name-title{font-weight:700;color:#0f172a}.param-category-tag{font-size:.68rem;color:#64748b;font-weight:500}.param-result-bold{font-weight:800;font-size:.9rem;color:var(--color-primary)}.param-ref-range{font-size:.78rem;color:#64748b}.status-pill-badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.725rem;font-weight:700;padding:.2rem .55rem;border-radius:var(--radius-pill)}.status-pill-badge.normal{background:#dcfce7;color:#15803d;border:1px solid #BBF7D0}.status-pill-badge.high{background:#fee2e2;color:#b91c1c;border:1px solid #FECACA}.status-pill-badge.low{background:#ede9fe;color:#6d28d9;border:1px solid #DDD6FE}.status-pill-badge.attention,.status-pill-badge.borderline{background:#fef3c7;color:#b45309;border:1px solid #FDE68A}.observations-clinical-card{background:#f8fafc;border:1px solid var(--color-border);border-radius:10px;padding:1rem 1.25rem}.observations-clinical-title{font-size:.85rem;font-weight:800;color:var(--color-primary);margin-bottom:.5rem;display:flex;align-items:center;gap:.4rem}.observations-clinical-list{padding-left:1.2rem;font-size:.825rem;line-height:1.6;color:var(--color-text-main)}.docs-content-grid.dual-view-active{grid-template-columns:280px 1fr!important}.dual-view-split-container{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media (max-width: 1024px){.dual-view-split-container{grid-template-columns:1fr}}.appointments-unified-page{padding-top:.5rem}.appointments-page-header{margin-bottom:1.25rem}.appointments-page-title{font-size:1.8rem;font-weight:800;color:var(--color-primary)}.appointments-search-bar-wrap{margin-bottom:1rem}.search-input-box{display:flex;align-items:center;background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-pill);padding:.5rem 1rem;box-shadow:var(--shadow-subtle)}.search-lens-icon{color:var(--color-text-muted);margin-right:.6rem}.search-input-field{flex:1;border:none;background:transparent;outline:none;font-size:.92rem;color:var(--color-text-main)}.appointments-filters-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:2rem}.filter-select-wrap{position:relative;display:inline-flex;align-items:center}.filter-select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid var(--color-border);padding:.4rem 2rem .4rem .9rem;border-radius:var(--radius-pill);font-size:.825rem;font-weight:600;color:var(--color-text-main);cursor:pointer;box-shadow:var(--shadow-subtle)}.filter-caret{position:absolute;right:.75rem;pointer-events:none;color:var(--color-text-muted)}.appointments-content-grid{display:grid;grid-template-columns:1fr 340px;gap:1.5rem;align-items:start}.doctors-list-col{display:flex;flex-direction:column;gap:1rem}.doctor-card-editorial{background:#fff;border-radius:var(--radius-card);border:1px solid var(--color-border);box-shadow:var(--shadow-card);padding:1.25rem 1.5rem;display:grid;grid-template-columns:70px 1fr 180px;align-items:center;gap:1.25rem;transition:all var(--transition-fast)}.doctor-card-editorial:hover{transform:translateY(-2px);box-shadow:var(--shadow-float)}.doctor-avatar-wrap{width:70px;height:70px;border-radius:50%;overflow:hidden;border:2px solid var(--pastel-blue-bg)}.doctor-avatar-img{width:100%;height:100%;object-fit:cover}.doctor-info-wrap{display:flex;flex-direction:column}.doctor-name{font-size:1.1rem;font-weight:800;color:var(--color-primary)}.doctor-spec-title{font-size:.85rem;color:var(--color-text-muted);margin-bottom:.4rem}.doctor-meta-line{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.doctor-rating-badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.78rem;font-weight:700;color:#854d0e}.doctor-lang-tags{display:flex;gap:.35rem}.lang-tag{background:#f1f5f9;color:var(--color-text-muted);font-size:.725rem;font-weight:600;padding:.15rem .45rem;border-radius:4px}.doctor-booking-col{display:flex;flex-direction:column;align-items:flex-end}.next-avail-label{font-size:.725rem;color:var(--color-text-muted)}.next-avail-time{font-size:.825rem;font-weight:800;color:#059669;margin-bottom:.6rem}.hospital-map-card{background:#fff;border-radius:var(--radius-card);border:1px solid var(--color-border);box-shadow:var(--shadow-card);overflow:hidden}.hospital-map-visual{height:200px;background:#e8eef5;position:relative;overflow:hidden}.map-road-network{position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(#CBD5E1 1px,transparent 1px),linear-gradient(to right,rgba(203,213,225,.4) 1px,transparent 1px),linear-gradient(to bottom,rgba(203,213,225,.4) 1px,transparent 1px);background-size:30px 30px,60px 60px,60px 60px}.hospital-map-pin{position:absolute;transform:translate(-50%,-50%);cursor:pointer;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));transition:transform .2s ease}.hospital-map-pin:hover{transform:translate(-50%,-50%) scale(1.2)}.map-hospital-overlay{position:absolute;bottom:10px;left:10px;background:#fff;padding:.4rem .75rem;border-radius:8px;box-shadow:var(--shadow-subtle)}.overlay-hosp-name{font-size:.78rem;font-weight:800;color:var(--color-primary)}.overlay-hosp-dist{font-size:.7rem;color:var(--color-text-muted)}.nearby-hospitals-section{padding:1.25rem}.nearby-title{font-size:1rem;font-weight:800;color:var(--color-primary);margin-bottom:.75rem}.nearby-list{display:flex;flex-direction:column;gap:.6rem}.nearby-hospital-item{display:flex;align-items:center;justify-content:space-between;padding:.5rem .6rem;border-radius:10px;background:#f8fafc;border:1px solid var(--color-border-subtle)}.nearby-item-left{display:flex;align-items:center;gap:.6rem}.nearby-pin-circle{width:28px;height:28px;border-radius:50%;background:#fee2e2;color:#dc2626;display:flex;align-items:center;justify-content:center}.nearby-name{font-size:.825rem;font-weight:700;color:var(--color-primary)}.nearby-dist{font-size:.725rem;color:var(--color-text-muted)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:200;display:flex;align-items:center;justify-content:center;padding:1.5rem}.emergency-modal-card{width:100%;max-width:680px;background:#fff;border-radius:var(--radius-xl);box-shadow:var(--shadow-modal);padding:2rem;display:flex;flex-direction:column;gap:1.5rem;animation:modalScale .2s ease-out;max-height:90vh;overflow-y:auto}@keyframes modalScale{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.emergency-modal-header{display:flex;align-items:flex-start;justify-content:space-between}.emergency-alert-badge-group{display:flex;align-items:flex-start;gap:1rem}.emergency-alert-icon{width:48px;height:48px;border-radius:14px;background:#fee2e2;display:flex;align-items:center;justify-content:center;flex-shrink:0}.emergency-modal-title{font-size:1.4rem;font-weight:800;color:#dc2626}.emergency-modal-subtitle{font-size:.85rem;color:var(--color-text-muted);max-width:460px;line-height:1.45;margin-top:.15rem}.modal-close-btn{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--color-text-muted)}.modal-close-btn:hover{background:#f1f5f9;color:var(--color-text-main)}.emergency-actions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.emergency-action-tile{background:#f8fafc;border:1px solid var(--color-border);border-radius:16px;padding:1.25rem 1rem;display:flex;flex-direction:column;align-items:center;text-align:center;cursor:pointer;transition:all var(--transition-fast)}.emergency-action-tile:hover{transform:translateY(-2px);border-color:#cbd5e1;box-shadow:var(--shadow-subtle)}.emergency-action-tile.active{border-color:#dc2626;background:#fff5f5}.action-tile-icon-wrap{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:.75rem}.emergency-action-tile h4{font-size:.875rem;font-weight:800;color:var(--color-primary);margin-bottom:.2rem}.action-tile-sub{font-size:.725rem;color:var(--color-text-muted)}.emergency-body-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:1.25rem;align-items:stretch}.emergency-map-container{background:#e8eef5;border-radius:14px;overflow:hidden;position:relative;min-height:220px;display:flex;flex-direction:column;justify-content:flex-end}.emergency-map-visual{position:absolute;top:0;right:0;bottom:0;left:0;background:#dce5f0;background-image:radial-gradient(#CBD5E1 1px,transparent 1px);background-size:20px 20px}.map-pin-patient{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center}.pin-circle{width:28px;height:28px;border-radius:50%;background:#3b82f6;color:#fff;font-size:.65rem;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px #fff}.map-pin-hospital{position:absolute;color:#dc2626;cursor:pointer;display:flex;flex-direction:column;align-items:center;transform:translate(-50%,-100%);transition:transform .2s ease}.map-pin-hospital:hover,.map-pin-hospital.active{transform:translate(-50%,-100%) scale(1.2)}.map-pin-label{font-size:.65rem;font-weight:700;background:#fff;color:#dc2626;padding:.1rem .35rem;border-radius:4px;box-shadow:var(--shadow-subtle);margin-top:-2px}.emergency-selected-card{position:relative;z-index:5;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:.75rem 1rem;margin:.5rem;border-radius:10px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow-subtle)}.emergency-selected-card h4{font-size:.85rem;font-weight:800;color:var(--color-primary)}.emergency-selected-card p{font-size:.7rem;color:var(--color-text-muted)}.selected-meta{display:flex;align-items:center;gap:.5rem;font-size:.68rem;color:var(--color-text-muted);margin-top:.2rem}.btn-call-hospital{background:#dc2626;color:#fff;padding:.45rem .85rem;border-radius:var(--radius-pill);font-size:.75rem;font-weight:700;display:inline-flex;align-items:center;gap:.3rem}.emergency-hospitals-list{display:flex;flex-direction:column;justify-content:space-between}.hospitals-list-title{font-size:.95rem;font-weight:800;color:var(--color-primary);margin-bottom:.5rem}.hospitals-scroll-wrap{display:flex;flex-direction:column;gap:.5rem}.hospital-item-row{display:flex;align-items:center;justify-content:space-between;padding:.55rem .75rem;border-radius:10px;background:#f8fafc;border:1px solid var(--color-border-subtle);cursor:pointer}.hospital-item-row.active{border-color:#dc2626;background:#fff5f5}.hospital-item-left{display:flex;align-items:center;gap:.6rem}.hospital-pin-circle{width:28px;height:28px;border-radius:50%;background:#fee2e2;color:#dc2626;display:flex;align-items:center;justify-content:center}.hospital-name{font-size:.85rem;font-weight:700;color:var(--color-primary)}.hospital-dist{font-size:.7rem;color:var(--color-text-muted)}.btn-circle-call{width:28px;height:28px;border-radius:50%;background:#fff;border:1px solid var(--color-border);color:#dc2626;display:flex;align-items:center;justify-content:center}.helpline-quick-pills{display:flex;gap:.5rem;margin-top:.75rem}.helpline-pill{flex:1;background:#f8fafc;border:1px solid var(--color-border);padding:.4rem .6rem;border-radius:8px;display:flex;flex-direction:column;font-size:.7rem;color:var(--color-text-muted)}.helpline-pill strong{font-size:.85rem;color:#dc2626}.modal-card-compact{width:100%;max-width:480px;background:#fff;border-radius:var(--radius-card);box-shadow:var(--shadow-modal);padding:1.5rem}.modal-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.mobile-bottom-bar{display:none;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--color-border);padding:.4rem .5rem;z-index:100;justify-content:space-around;box-shadow:0 -4px 16px #0000000a}.bottom-nav-item{display:flex;flex-direction:column;align-items:center;gap:.2rem;font-size:.68rem;font-weight:600;color:var(--color-text-muted);padding:.25rem .5rem}.bottom-nav-item.active{color:var(--color-primary);font-weight:800}.bottom-nav-emergency{color:var(--color-emergency)}.footer-outer-wrapper{margin-top:auto;width:100%}.clinical-notice-section{background:#f8fafc;border-top:1px solid var(--color-border);padding:1.75rem 1.5rem}.clinical-notice-container{max-width:1240px;margin:0 auto}.clinical-notice-card{background:#fffbeb;border:1px solid #FDE68A;border-radius:16px;padding:1.25rem 1.5rem;display:flex;align-items:flex-start;gap:1rem}.clinical-notice-icon{color:#d97706;flex-shrink:0;margin-top:2px}.clinical-notice-body{display:flex;flex-direction:column;gap:.25rem}.clinical-notice-title{font-size:.92rem;font-weight:800;color:#92400e}.clinical-notice-text{font-size:.88rem;line-height:1.55;color:#78350f;margin:0}.clinical-notice-emergency{font-size:.85rem;font-weight:700;line-height:1.5;color:#b45309;margin:.25rem 0 0}.app-footer{background:#0f172a;color:#f8fafc;padding:56px 1.5rem 32px;width:100%}.footer-container{max-width:1240px;margin:0 auto;display:flex;flex-direction:column;gap:3rem}.footer-main-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3.5rem}.footer-brand-col{display:flex;flex-direction:column;gap:.85rem;max-width:440px}.footer-brand-header{display:flex;align-items:center;gap:.65rem}.footer-logo-badge{width:36px;height:36px;border-radius:10px;background:#1e255e;border:1px solid rgba(255,255,255,.15);color:#38bdf8;display:flex;align-items:center;justify-content:center}.footer-logo-img{width:34px;height:34px;object-fit:contain;border-radius:8px;background:#fffffff2;padding:3px;display:block}.footer-brand-name{font-size:1.35rem;font-weight:800;color:#fff;letter-spacing:-.02em}.footer-tagline{font-size:.95rem;font-weight:600;color:#e2e8f0;margin:0}.footer-description{font-size:.88rem;line-height:1.6;color:#94a3b8;margin:0}.footer-nav-col{display:flex;flex-direction:column;gap:1rem}.footer-col-title{font-size:.85rem;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:.06em}.footer-nav-list{list-style:none;display:flex;flex-direction:column;gap:.7rem;padding:0;margin:0}.footer-nav-link{font-size:.9rem;color:#94a3b8;background:none;border:none;padding:0;cursor:pointer;text-align:left;font-weight:500;transition:color var(--transition-fast)}.footer-nav-link:hover{color:#38bdf8}.footer-nav-static{font-size:.9rem;color:#94a3b8;cursor:default}.footer-divider{height:1px;background:#ffffff1a;width:100%}.footer-bottom-row{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;font-size:.84rem;color:#94a3b8;flex-wrap:wrap}.footer-copyright{color:#94a3b8}.footer-attribution{color:#64748b;font-weight:500}.header-avatar-container{position:relative;display:inline-flex;align-items:center}.header-avatar-circle{width:38px;height:38px;border-radius:50%;overflow:hidden;border:2px solid var(--color-border);cursor:pointer;display:flex;align-items:center;justify-content:center;background:#fff;position:relative;transition:all var(--transition-fast);padding:0}.header-avatar-circle:hover,.header-avatar-circle.active{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb2e;transform:translateY(-1px)}.header-avatar-img{width:100%;height:100%;object-fit:cover}.header-avatar-fallback{font-size:.95rem;font-weight:800;color:var(--color-primary);display:none}.profile-dropdown-menu{position:absolute;top:calc(100% + 12px);right:0;width:290px;background:#fff;border-radius:20px;border:1px solid #E2E8F0;box-shadow:0 16px 40px #0f172a1f,0 2px 8px #0f172a0a;padding:.75rem;z-index:220;animation:menuDrop .2s cubic-bezier(.16,1,.3,1)}@keyframes menuDrop{0%{opacity:0;transform:translateY(-8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.profile-menu-user-header{display:flex;align-items:center;gap:.75rem;padding:.5rem .6rem .75rem}.menu-user-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid #E2E8F0;flex-shrink:0}.menu-user-meta{flex:1;min-width:0}.menu-user-name-row{display:flex;align-items:center;gap:.35rem}.menu-user-name{font-size:.95rem;font-weight:800;color:var(--color-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu-verified-icon{color:#10b981;flex-shrink:0}.menu-user-email{font-size:.78rem;color:var(--color-text-muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-menu-divider{height:1px;background:#f1f5f9;margin:.4rem 0}.profile-menu-items-list{display:flex;flex-direction:column;gap:.2rem}.profile-menu-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.65rem .75rem;border-radius:12px;background:transparent;border:none;cursor:pointer;text-align:left;transition:all var(--transition-fast)}.profile-menu-item:hover{background:#f8fafc;transform:translate(2px)}.profile-menu-item.logout:hover{background:#fef2f2}.menu-item-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f8fafc;border:1px solid #E2E8F0;color:#1e1b4b}.menu-item-icon.red{background:#fef2f2;border-color:#fee2e2;color:#dc2626}.menu-item-text-wrap{flex:1;min-width:0}.menu-item-title{display:block;font-size:.88rem;font-weight:700;color:var(--color-primary)}.profile-menu-item.logout .menu-item-title{color:#dc2626}.menu-item-sub{display:block;font-size:.72rem;color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu-chevron{color:#94a3b8;opacity:.7}.profile-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:250;display:flex;align-items:center;justify-content:center;padding:1.5rem;overflow-y:auto}.profile-modal-dialog{width:100%;max-width:960px;background:#fff;border-radius:20px;box-shadow:0 20px 48px #0f172a1f,0 1px 3px #0000000a;border:1px solid #E2E8F0;overflow:hidden;display:flex;flex-direction:column;max-height:90vh;animation:modalScale .22s cubic-bezier(.16,1,.3,1);margin:auto}.profile-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 2rem;border-bottom:1px solid #F1F5F9;background:#fff}.modal-header-branding{display:flex;align-items:center;gap:.85rem}.profile-brand-icon{width:40px;height:40px;border-radius:10px;background:#f8fafc;color:#1e1b4b;border:1px solid #E2E8F0;display:flex;align-items:center;justify-content:center;flex-shrink:0}.profile-modal-title{font-size:1.18rem;font-weight:700;color:#1e1b4b;margin:0;letter-spacing:-.01em}.profile-modal-sub{font-size:.82rem;color:#64748b;margin:.15rem 0 0}.profile-modal-close-btn{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#64748b;background:#fff;border:1px solid #E2E8F0;cursor:pointer;transition:all var(--transition-fast)}.profile-modal-close-btn:hover{background:#f8fafc;color:#0f172a;border-color:#cbd5e1}.profile-success-banner{display:flex;align-items:center;gap:.75rem;background:#ecfdf5;border-bottom:1px solid #A7F3D0;color:#065f46;padding:.75rem 2rem;font-size:.86rem;font-weight:600;animation:fadeIn .2s ease}.banner-check-icon{color:#059669;flex-shrink:0}.banner-text{flex:1}.banner-dismiss-btn{background:transparent;border:none;color:#059669;cursor:pointer;display:flex;align-items:center}.profile-modal-tabs-bar{display:flex;gap:.5rem;padding:.75rem 2rem;background:#fafbfd;border-bottom:1px solid #E2E8F0;overflow-x:auto}.profile-tab-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1.15rem;border-radius:10px;font-size:.86rem;font-weight:600;color:#64748b;background:transparent;border:1px solid transparent;cursor:pointer;transition:all var(--transition-fast);white-space:nowrap}.profile-tab-btn:hover{background:#fff;color:#1e1b4b;border-color:#e2e8f0}.profile-tab-btn.active{background:#fff;color:#1e1b4b;border-color:#cbd5e1;box-shadow:0 1px 3px #0000000a}.tab-mode-tag{background:#eef2ff;color:#3730a3;font-size:.68rem;font-weight:700;padding:.15rem .5rem;border-radius:9999px;text-transform:uppercase}.profile-modal-body{padding:2rem;overflow-y:auto;flex:1;background:#fafaf9}.profile-view-card{display:flex;flex-direction:column;gap:1.5rem}.profile-header-card{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.5rem;background:#fff;border:1px solid #E2E8F0;border-radius:16px;box-shadow:0 1px 3px #00000008}.profile-header-left{display:flex;align-items:center;gap:1.25rem}.profile-avatar-wrap{position:relative;width:76px;height:76px;flex-shrink:0}.profile-avatar-large{width:100%;height:100%;border-radius:50%;object-fit:cover;border:2px solid #E2E8F0;box-shadow:0 1px 4px #0000000a}.profile-verified-badge{position:absolute;bottom:0;right:0;width:24px;height:24px;border-radius:50%;background:#059669;color:#fff;border:2px solid #FFFFFF;display:flex;align-items:center;justify-content:center}.profile-header-info{display:flex;flex-direction:column}.profile-header-name{font-size:1.35rem;font-weight:700;color:#1e1b4b;margin:0;letter-spacing:-.01em}.profile-header-email{font-size:.88rem;color:#64748b;margin:.15rem 0 .4rem}.profile-header-meta{display:flex;align-items:center;gap:.5rem;font-size:.78rem;color:#94a3b8;font-weight:500}.profile-meta-id{color:#64748b;font-weight:600}.profile-meta-dot{color:#cbd5e1}.profile-meta-status{color:#059669;font-weight:600}.btn-profile-edit-trigger{display:inline-flex;align-items:center;gap:.45rem;background:#fff;border:1px solid #CBD5E1;color:#1e1b4b;padding:.55rem 1.15rem;border-radius:10px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all var(--transition-fast);white-space:nowrap}.btn-profile-edit-trigger:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}.profile-section-container{display:flex;flex-direction:column;gap:1rem}.profile-section-header{display:flex;align-items:center;justify-content:space-between}.profile-section-heading{font-size:1.1rem;font-weight:700;color:#1e1b4b;margin:0;letter-spacing:-.01em}.profile-section-subheading{font-size:.82rem;color:#64748b;margin:.15rem 0 0}.profile-fields-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem}.profile-field-tile{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:.95rem 1.15rem;cursor:pointer;transition:all var(--transition-fast)}.profile-field-tile:hover{background:#fff;border-color:#cbd5e1;box-shadow:0 2px 8px #00000008}.profile-field-tile:hover .field-subtle-edit-icon{opacity:1;color:#2563eb}.field-tile-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.3rem}.field-tile-label{font-size:.74rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.field-subtle-edit-icon{opacity:0;transition:all var(--transition-fast)}.field-tile-value{font-size:.95rem;font-weight:600;color:#1e1b4b;display:block}.field-full-span{grid-column:span 2}.profile-edit-form{display:flex;flex-direction:column;gap:1.5rem}.profile-photo-change-row{display:flex;align-items:center;gap:1.5rem;padding:1.25rem 1.5rem;background:#fff;border:1px solid #E2E8F0;border-radius:16px;box-shadow:0 1px 3px #00000005}.profile-avatar-preview-wrap{position:relative;width:76px;height:76px;flex-shrink:0}.profile-camera-badge-btn{position:absolute;bottom:0;right:0;width:26px;height:26px;border-radius:50%;background:#1e1b4b;color:#fff;border:2px solid #FFFFFF;display:flex;align-items:center;justify-content:center;cursor:pointer}.photo-actions-title{font-size:.95rem;font-weight:700;color:#1e1b4b;margin:0}.photo-actions-sub{font-size:.8rem;color:#64748b;margin:.15rem 0 .65rem}.photo-buttons-group{display:flex;gap:.6rem}.btn-change-photo{background:#fff;border:1px solid #CBD5E1;color:#1e1b4b;padding:.45rem .95rem;border-radius:8px;font-size:.82rem;font-weight:600;cursor:pointer;transition:all var(--transition-fast)}.btn-change-photo:hover{background:#f8fafc;border-color:#94a3b8}.btn-reset-photo{background:transparent;border:1px solid transparent;color:#64748b;padding:.45rem .85rem;border-radius:8px;font-size:.82rem;font-weight:500;cursor:pointer}.btn-reset-photo:hover{color:#dc2626;background:#fef2f2}.form-fields-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.editable-field-group{display:flex;flex-direction:column;gap:.35rem}.editable-field-label{display:flex;align-items:center;gap:.4rem;font-size:.76rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.03em}.field-label-icon{color:#64748b;display:flex;align-items:center}.field-required-star{color:#dc2626;font-weight:700}.field-input-wrapper,.field-select-wrapper{position:relative;width:100%}.editable-field-input,.editable-field-select{width:100%;border:1px solid #CBD5E1;border-radius:10px;padding:.65rem .9rem;font-size:.9rem;color:#1e1b4b;background:#fff;outline:none;font-family:var(--font-body);transition:all var(--transition-fast)}.editable-field-input:focus,.editable-field-select:focus{border-color:#1e1b4b;box-shadow:0 0 0 3px #1e1b4b14}.editable-field-select{cursor:pointer}.field-help-text{font-size:.74rem;color:#64748b;margin-top:.2rem}.profile-form-actions-row{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding-top:1.25rem;border-top:1px solid #E2E8F0}.btn-profile-cancel{background:#fff;color:#475569;border:1px solid #CBD5E1;padding:.6rem 1.35rem;border-radius:10px;font-size:.88rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:.45rem;transition:all var(--transition-fast)}.btn-profile-cancel:hover{background:#f8fafc;color:#0f172a;border-color:#94a3b8}.btn-profile-save{background:#1e1b4b;color:#fff;border:1px solid #1E1B4B;padding:.6rem 1.6rem;border-radius:10px;font-size:.88rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:.45rem;box-shadow:0 2px 6px #1e1b4b26;transition:all var(--transition-fast)}.btn-profile-save:hover{background:#2e2a72;border-color:#2e2a72;box-shadow:0 4px 12px #1e1b4b33}.health-profile-view{display:flex;flex-direction:column;gap:1.5rem}.system-vitals-safety-card{background:#fff;border:1px solid #E2E8F0;border-radius:16px;padding:1.25rem 1.5rem;box-shadow:0 1px 3px #00000008}.vitals-safety-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.15rem}.safety-badge{display:inline-flex;align-items:center;gap:.4rem;background:#f8fafc;color:#475569;border:1px solid #E2E8F0;padding:.28rem .75rem;border-radius:6px;font-size:.76rem;font-weight:600;letter-spacing:.02em}.btn-report-incorrect{display:inline-flex;align-items:center;gap:.4rem;font-size:.76rem;font-weight:600;color:#64748b;background:#fff;border:1px solid #E2E8F0;padding:.3rem .75rem;border-radius:6px;cursor:pointer;transition:all var(--transition-fast)}.btn-report-incorrect:hover{background:#f8fafc;color:#0f172a;border-color:#cbd5e1}.system-vitals-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:.9rem}.system-vital-box{background:#f8fafc;border:1px solid #E2E8F0;border-radius:12px;padding:.9rem 1.1rem}.vital-box-label{display:block;font-size:.74rem;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.02em}.vital-box-val-wrap{display:inline-flex;align-items:baseline;gap:.3rem;margin:.2rem 0}.vital-box-number{font-size:1.7rem;font-weight:700;font-family:var(--font-display);line-height:1;color:#1e1b4b}.vital-box-number.mint{color:#059669}.vital-box-number.neutral{color:#1e1b4b}.vital-box-total{font-size:.95rem;color:#94a3b8;font-weight:500}.vital-tier-badge{display:inline-block;background:#ecfdf5;color:#065f46;border:1px solid #A7F3D0;padding:.2rem .7rem;border-radius:9999px;font-size:.8rem;font-weight:600;margin:.35rem 0 .2rem}.vital-box-sub{display:block;font-size:.72rem;color:#64748b}.system-ai-summary-note{display:flex;align-items:flex-start;gap:.6rem;background:#f8fafc;border:1px solid #E2E8F0;border-radius:10px;padding:.75rem .95rem}.summary-note-icon{color:#2563eb;margin-top:2px;flex-shrink:0}.summary-note-text{font-size:.82rem;color:#334155;line-height:1.45;margin:0}.health-section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.health-section-title{font-size:1.1rem;font-weight:700;color:#1e1b4b;margin:0;letter-spacing:-.01em}.health-section-sub{font-size:.82rem;color:#64748b;margin:.15rem 0 0}.health-cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.health-info-card{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:1.25rem;box-shadow:0 1px 3px #00000005;display:flex;flex-direction:column;gap:.75rem}.health-info-card.full-width{grid-column:span 2}.health-card-header{display:flex;align-items:center;gap:.6rem}.health-icon-wrap{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.health-icon-wrap.indigo{background:#eef2ff;color:#3730a3}.health-icon-wrap.emergency-red{background:#fef2f2;color:#dc2626}.health-card-title{font-size:.92rem;font-weight:700;color:#1e1b4b;margin:0}.blood-badge-clean{display:inline-block;background:#f8fafc;border:1px solid #CBD5E1;color:#1e1b4b;font-size:1.35rem;font-weight:700;font-family:var(--font-display);padding:.35rem 1rem;border-radius:10px}.health-chips-wrap{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.health-chip.neutral{display:inline-flex;align-items:center;gap:.4rem;background:#f8fafc;border:1px solid #E2E8F0;color:#334155;padding:.32rem .8rem;border-radius:9999px;font-size:.82rem;font-weight:500}.health-chip.neutral.editable{padding-right:.5rem}.chip-remove-btn{background:transparent;border:none;color:#64748b;cursor:pointer;display:flex;align-items:center;padding:0}.chip-remove-btn:hover{color:#dc2626}.btn-add-chip-trigger{display:inline-flex;align-items:center;gap:.35rem;background:#fff;border:1px dashed #CBD5E1;color:#475569;padding:.32rem .75rem;border-radius:9999px;font-size:.78rem;font-weight:500;cursor:pointer;transition:all var(--transition-fast)}.btn-add-chip-trigger:hover{background:#f8fafc;border-color:#94a3b8;color:#1e1b4b}.btn-add-chip-trigger.inline-block{align-self:flex-start;margin-top:.35rem}.chip-add-input-row{display:inline-flex;align-items:center;gap:.35rem;background:#fff;border:1px solid #1E1B4B;border-radius:9999px;padding:.2rem .4rem .2rem .75rem;box-shadow:0 0 0 2px #1e1b4b14}.chip-inline-input{border:none;background:transparent;outline:none;font-size:.82rem;width:140px;font-family:var(--font-body);color:#1e1b4b}.btn-chip-confirm{background:#1e1b4b;color:#fff;border:none;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}.btn-chip-cancel{background:transparent;color:#64748b;border:none;cursor:pointer;display:flex;align-items:center}.health-empty-text{font-size:.82rem;color:#64748b;font-style:italic}.medications-cards-list{display:flex;flex-direction:column;gap:.5rem}.medication-view-pill{display:flex;align-items:center;justify-content:space-between;padding:.7rem .95rem;background:#f8fafc;border:1px solid #E2E8F0;border-radius:10px}.med-pill-left{display:flex;align-items:center;gap:.6rem}.med-pill-name{font-size:.88rem;color:#1e1b4b;font-weight:600}.med-pill-dosage{font-size:.78rem;color:#64748b}.med-pill-right{display:flex;align-items:center;gap:.6rem}.med-pill-timing{font-size:.78rem;color:#475569;font-weight:500}.med-pill-tag.neutral{background:#eef2ff;color:#3730a3;font-size:.7rem;font-weight:600;padding:.15rem .5rem;border-radius:6px}.btn-remove-med{background:transparent;border:none;color:#94a3b8;cursor:pointer;display:flex;align-items:center;padding:.2rem;border-radius:6px;transition:all var(--transition-fast)}.btn-remove-med:hover{color:#dc2626;background:#fef2f2}.add-medication-panel{background:#f8fafc;border:1px solid #E2E8F0;border-radius:12px;padding:.9rem;display:flex;flex-direction:column;gap:.75rem;margin-bottom:.5rem}.add-med-title{font-size:.84rem;font-weight:700;color:#1e1b4b;margin:0}.add-med-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem}.add-med-actions{display:flex;justify-content:flex-end;gap:.6rem}.add-med-actions .btn-chip-confirm{width:auto;border-radius:8px;padding:.35rem .85rem;gap:.3rem;font-size:.78rem;font-weight:600}.add-med-actions .btn-chip-cancel{font-size:.78rem;color:#64748b}.emergency-contact-display .emergency-name{font-size:.95rem;font-weight:700;color:#1e1b4b}.emergency-meta{font-size:.82rem;color:#64748b;margin-top:.15rem}.emergency-phone-link{color:#2563eb;font-weight:600;text-decoration:none}.emergency-phone-link:hover{text-decoration:underline}.preferences-list{display:flex;flex-direction:column;gap:.45rem}.pref-item{display:flex;justify-content:space-between;font-size:.82rem}.pref-label{color:#64748b}.pref-value{font-weight:600;color:#1e1b4b}.sub-fields-group{display:flex;flex-direction:column;gap:.65rem}.account-settings-container{display:flex;flex-direction:column;gap:1.25rem}.settings-section-card{background:#fff;border:1px solid #E2E8F0;border-radius:14px;padding:1.35rem;box-shadow:0 1px 3px #00000005}.settings-section-header{display:flex;align-items:center;gap:.85rem;margin-bottom:1.15rem}.settings-icon-wrap{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f8fafc;border:1px solid #E2E8F0;color:#1e1b4b}.settings-section-title{font-size:.95rem;font-weight:700;color:#1e1b4b;margin:0}.settings-section-sub{font-size:.78rem;color:#64748b;margin:.15rem 0 0}.settings-toggles-list{display:flex;flex-direction:column;gap:.85rem}.settings-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;padding:.35rem 0}.toggle-title{display:block;font-size:.88rem;font-weight:600;color:#1e1b4b}.toggle-desc{display:block;font-size:.76rem;color:#64748b;margin-top:.15rem}.settings-toggle-switch{width:20px;height:20px;accent-color:#1E1B4B;cursor:pointer}.settings-action-tile{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:#f8fafc;border:1px solid #E2E8F0;border-radius:10px;margin-top:.35rem}.action-tile-left{display:flex;align-items:center;gap:.75rem}.tile-icon{color:#1e1b4b}.tile-title{display:block;font-size:.86rem;font-weight:600;color:#1e1b4b}.tile-sub{display:block;font-size:.72rem;color:#64748b}@media (max-width: 1024px){.home-hero-grid{grid-template-columns:1fr;gap:2.5rem;text-align:center}.home-hero-copy{display:flex;flex-direction:column;align-items:center}.home-hero-cta-row{justify-content:center}.home-pillars-grid{grid-template-columns:repeat(2,1fr)}.assistant-content-grid{grid-template-columns:1fr;height:auto;max-height:none}.assistant-conversation-card{height:560px}.assistant-companion-card{height:auto;padding:1.75rem 1.25rem}.health-middle-grid,.health-bottom-grid,.docs-content-grid,.docs-upload-hero-grid,.appointments-content-grid,.emergency-body-grid{grid-template-columns:1fr}}@media (max-width: 768px){.header-nav-pills{display:none}.mobile-bottom-bar{display:flex}.assistant-title{font-size:1.4rem}.assistant-conversation-card{height:500px}.footer-main-grid{grid-template-columns:1fr;gap:2.25rem}.app-footer{padding:40px 1.25rem 28px}.footer-bottom-row{flex-direction:column;align-items:flex-start;gap:.5rem}.main-content{padding-bottom:5rem}.health-stats-grid{grid-template-columns:repeat(2,1fr)}.health-overview-top-section{flex-direction:column;gap:1.25rem}.health-progress-insight-card{max-width:100%;width:100%}.health-overview-card-container{padding:1.25rem}.profile-modal-backdrop{padding:.75rem}.profile-modal-dialog{max-height:95vh;border-radius:20px}.profile-modal-header{padding:1.1rem 1.25rem}.profile-modal-tabs-bar{padding:.5rem 1rem}.profile-modal-body{padding:1.25rem}.profile-header-card{flex-direction:column;text-align:center;gap:1rem;padding:1.25rem}.profile-header-left{flex-direction:column;text-align:center;gap:.85rem}.profile-header-meta{justify-content:center}.btn-profile-edit-trigger{width:100%;justify-content:center}.profile-fields-grid,.form-fields-grid,.health-cards-grid,.system-vitals-stats-row,.add-med-grid{grid-template-columns:1fr}.field-full-span,.health-info-card.full-width{grid-column:span 1}.profile-photo-change-row{flex-direction:column;text-align:center}.photo-buttons-group{justify-content:center}.profile-dropdown-menu{right:-10px;width:275px}.doctor-card-editorial{grid-template-columns:60px 1fr;gap:1rem}.doctor-booking-col{grid-column:span 2;align-items:stretch;margin-top:.5rem}.doctor-booking-col button{width:100%;justify-content:center}}@media (max-width: 480px){.home-pillars-grid,.health-stats-grid,.emergency-actions-grid{grid-template-columns:1fr}}.login-screen-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:2.5rem 1.25rem;background:radial-gradient(circle at 10% 20%,#e0ecfcb3,#f8f9faf5,#dcfce759 90%)}.login-ambient-blob{position:absolute;border-radius:50%;filter:blur(80px);pointer-events:none;z-index:1;opacity:.75}.login-ambient-blob.blob-1{top:-5%;left:12%;width:380px;height:380px;background:#0284c726;animation:floatSlow 14s ease-in-out infinite alternate}.login-ambient-blob.blob-2{bottom:-8%;right:12%;width:420px;height:420px;background:#10b9811f;animation:floatSlow 18s ease-in-out infinite alternate-reverse}.login-ambient-blob.blob-3{top:45%;right:32%;width:320px;height:320px;background:#7c3aed14}@keyframes floatSlow{0%{transform:translateY(0) scale(1)}to{transform:translateY(-24px) scale(1.05)}}.login-card-container{position:relative;z-index:10;width:100%;max-width:530px;background:#fffffff0;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(226,232,240,.95);border-radius:24px;padding:2.25rem 2.25rem 1.75rem;box-shadow:0 20px 48px -12px #1e255e1f,0 1px 3px #0000000a}.login-brand-header{text-align:center;margin-bottom:1.5rem}.login-brand-badge-row{display:inline-flex;align-items:center;justify-content:center;gap:.75rem}.login-logo-glow{width:50px;height:50px;border-radius:14px;background:#e0ecfc;border:1.5px solid rgba(2,132,199,.25);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px #0284c726}.brand-title-group{display:flex;align-items:baseline;gap:.5rem}.login-title{font-family:var(--font-display);font-size:2rem;font-weight:800;color:var(--color-primary);line-height:1;letter-spacing:-.02em}.platform-tag{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;padding:2px 8px;border-radius:var(--radius-pill);background:var(--color-primary-subtle);color:var(--color-primary)}.login-subtitle{font-size:.9rem;color:var(--color-text-muted);margin-top:.45rem;line-height:1.4}.gateway-badge{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:600;color:#047857;background:#dcfce7;border:1px solid #BBF7D0;padding:4px 12px;border-radius:var(--radius-pill);margin-top:.75rem}.auth-tab-group{display:grid;grid-template-columns:1fr 1fr;background:#f1f5f9;border-radius:14px;padding:4px;margin-bottom:1.35rem;border:1px solid #E2E8F0}.auth-tab-btn{display:flex;align-items:center;justify-content:center;gap:.45rem;padding:.65rem 1rem;border-radius:10px;font-size:.88rem;font-weight:600;color:var(--color-text-muted);background:transparent;border:none;cursor:pointer;transition:all .2s ease}.auth-tab-btn:hover{color:var(--color-text-main)}.auth-tab-btn.active{background:#fff;color:var(--color-primary);box-shadow:0 2px 8px #0f172a12}.login-error-banner{display:flex;align-items:center;gap:.6rem;padding:.75rem 1rem;border-radius:12px;background:#fef2f2;border:1px solid #FECACA;color:#b91c1c;font-size:.85rem;font-weight:500;margin-bottom:1.25rem}.login-success-banner{display:flex;align-items:center;gap:.6rem;padding:.75rem 1rem;border-radius:12px;background:#ecfdf5;border:1px solid #A7F3D0;color:#047857;font-size:.85rem;font-weight:500;margin-bottom:1.25rem}.demo-presets-section{margin-bottom:1.25rem}.section-label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.45rem}.section-label{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted)}.section-badge-hint{font-size:.72rem;font-weight:600;color:#0284c7;background:#e0ecfc;padding:1px 7px;border-radius:var(--radius-pill)}.presets-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.preset-card{border:1.5px solid #E2E8F0;border-radius:12px;padding:.65rem .6rem;text-align:left;background:#fff;cursor:pointer;transition:all .2s ease}.preset-card:hover{border-color:#94a3b8;transform:translateY(-2px);box-shadow:0 4px 12px #1e255e0f}.preset-card.selected{border-color:#0284c7;background:#f0f9ff;box-shadow:0 0 0 2px #0284c72e}.preset-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:.35rem}.preset-icon-circle{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center}.preset-role{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.preset-name{font-size:.82rem;font-weight:700;color:var(--color-text-main);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preset-desc{font-size:.7rem;color:var(--color-text-muted);line-height:1.25;margin-top:.2rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.login-form,.register-form{display:flex;flex-direction:column}.form-row-2col{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.input-group{margin-bottom:.95rem;display:flex;flex-direction:column;gap:.35rem}.input-group label{font-size:.82rem;font-weight:600;color:var(--color-text-main)}.label-with-action{display:flex;align-items:center;justify-content:space-between}.input-hint{font-size:.74rem;color:var(--color-text-muted);font-weight:500}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:12px;color:#94a3b8;pointer-events:none}.input-wrapper input{width:100%;padding:.72rem 1rem .72rem 2.45rem;border-radius:12px;border:1.5px solid #E2E8F0;background:#f8fafc;font-size:.9rem;color:var(--color-text-main);transition:all .2s ease}.input-wrapper input:focus{outline:none;border-color:#0284c7;background:#fff;box-shadow:0 0 0 3px #0284c71f}.input-wrapper input::placeholder{color:#94a3b8}.eye-toggle-btn{position:absolute;right:10px;background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:color .15s ease}.eye-toggle-btn:hover{color:var(--color-text-main)}.role-selector-grid{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.2rem}.role-select-card{border:1.5px solid #E2E8F0;border-radius:14px;padding:.75rem;text-align:left;background:#f8fafc;cursor:pointer;transition:all .2s ease}.role-select-card:hover{border-color:#cbd5e1;background:#fff}.role-select-card.active{border-color:#0284c7;background:#f0f9ff;box-shadow:0 0 0 2px #0284c729}.role-card-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.3rem}.role-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center}.role-icon.patient{background:#e0ecfc;color:#0284c7}.role-icon.doctor{background:#dcfce7;color:#059669}.role-title{font-size:.84rem;font-weight:700;color:var(--color-text-main)}.role-description{font-size:.72rem;color:var(--color-text-muted);line-height:1.3}.password-meter-wrap{margin-bottom:.95rem;background:#f8fafc;border-radius:10px;padding:.45rem .65rem;border:1px solid #E2E8F0}.meter-label-row{display:flex;justify-content:space-between;font-size:.74rem;color:var(--color-text-muted);margin-bottom:.35rem}.strength-text{font-weight:700;color:var(--color-text-main)}.meter-track{height:4px;background:#e2e8f0;border-radius:9999px;overflow:hidden}.meter-bar{height:100%;border-radius:9999px;transition:width .3s ease,background-color .3s ease}.meter-bar.strength-0,.meter-bar.strength-1{background:#ef4444}.meter-bar.strength-2{background:#f59e0b}.meter-bar.strength-3{background:#0284c7}.meter-bar.strength-4{background:#10b981}.login-submit-btn{width:100%;padding:.85rem 1.25rem;border-radius:14px;background:linear-gradient(135deg,#1e255e,#161b46);color:#fff;font-size:.95rem;font-weight:700;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 6px 18px #1e255e38;cursor:pointer;transition:all .2s ease;margin-top:.5rem;border:none}.login-submit-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 24px #1e255e4d}.login-submit-btn:active:not(:disabled){transform:translateY(0)}.login-submit-btn:disabled{opacity:.7;cursor:not-allowed}.btn-normal-content{display:inline-flex;align-items:center;gap:.5rem}.btn-spinner-content{display:inline-flex;align-items:center;gap:.6rem;font-size:.9rem}.auth-switch-prompt{display:flex;align-items:center;justify-content:center;gap:.4rem;font-size:.84rem;color:var(--color-text-muted);margin-top:1.25rem}.switch-link-btn{background:none;border:none;color:#0284c7;font-weight:700;font-size:.84rem;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:3px;transition:color .15s ease}.switch-link-btn:hover{color:#0369a1}.login-footer-info{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.45rem;margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #F1F5F9}.footer-pill{display:inline-flex;align-items:center;gap:.35rem;font-size:.73rem;color:var(--color-text-muted);background:#f8fafc;border:1px solid #E2E8F0;padding:3px 9px;border-radius:var(--radius-pill)}@media (max-width: 540px){.login-card-container{padding:1.75rem 1.25rem 1.25rem}.presets-grid,.form-row-2col,.role-selector-grid{grid-template-columns:1fr}}
