:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,system-ui,sans-serif;line-height:1.47059;font-weight:400;color:#f8fafc;background-color:#0f172a;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--font-size-caption2: 11px;--font-size-caption1: 12px;--font-size-footnote: 13px;--font-size-subhead: 15px;--font-size-callout: 16px;--font-size-body: 17px;--font-size-headline: 17px;--font-size-title3: 20px;--font-size-title2: 22px;--font-size-title1: 28px;--font-size-large-title: 34px;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--ios-blue: #007AFF;--ios-gray: #8E8E93;--ios-gray2: #AEAEB2;--ios-gray3: #C7C7CC;--ios-gray4: #D1D1D6;--ios-gray5: #E5E5EA;--ios-gray6: #F2F2F7;--ios-separator: rgba(84, 84, 88, .65);--ios-link: #0A84FF;--ios-green: #34C759;--ios-red: #FF3B30;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--radius-sm: 10px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 20px;--spring-bounce: cubic-bezier(.68, -.55, .265, 1.55);--spring-smooth: cubic-bezier(.25, .46, .45, .94);--spring-quick: cubic-bezier(.4, 0, .2, 1)}@keyframes ios-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes ios-pulse{0%,to{opacity:1}50%{opacity:.5}}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#0f172a}#root{min-height:100vh;background:#0f172a}a{color:#93c5fd;text-decoration:none}a:hover{color:#bfdbfe}button{border:1px solid #374151;border-radius:8px;padding:.75em 1.5em;font-size:.875rem;font-weight:500;font-family:inherit;background:#374151;color:#f8fafc;cursor:pointer;transition:all .3s var(--spring-smooth)}button:hover{background:#4b5563;border-color:#6b7280}button:active{transform:scale(.96);transition:transform .1s var(--spring-quick)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:#3b82f6;border-color:#3b82f6;color:#fff}button.primary:hover{background:#2563eb;border-color:#2563eb}button.hero-action{background:linear-gradient(135deg,#10b981,#059669);border:2px solid #10b981;color:#fff;font-size:1.1rem;font-weight:600;padding:1rem 2rem;border-radius:12px;box-shadow:0 8px 20px #10b9814d;transform:translateY(0);transition:all .3s ease;animation:pulse-glow 2s ease-in-out infinite;position:relative;overflow:hidden}button.hero-action:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}button.hero-action:hover:before{left:100%}button.hero-action:hover{background:linear-gradient(135deg,#059669,#047857);border-color:#059669;transform:translateY(-2px);box-shadow:0 12px 28px #10b98166;animation:none}button.hero-action:disabled{background:linear-gradient(135deg,#6b7280,#4b5563);border-color:#6b7280;box-shadow:0 4px 12px #6b728033;animation:none;transform:translateY(0)}@keyframes pulse-glow{0%,to{box-shadow:0 8px 20px #10b9814d}50%{box-shadow:0 8px 20px #10b98180,0 0 30px #10b98133}}.waiting-animation{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px;background:#1e293bf2;border-radius:18px;border:1px solid rgba(71,85,105,.6)}.waiting-dots{display:flex;gap:8px}.waiting-dot{width:12px;height:12px;border-radius:50%;background:#10b981;animation:waiting-bounce 1.4s ease-in-out infinite both}.waiting-dot:nth-child(1){animation-delay:-.32s}.waiting-dot:nth-child(2){animation-delay:-.16s}.waiting-dot:nth-child(3){animation-delay:0s}@keyframes waiting-bounce{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.waiting-text{text-align:center;color:#f8fafc}.waiting-text h3{margin:0 0 8px;font-size:1.2rem;background:linear-gradient(135deg,#10b981,#059669);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.waiting-text p{margin:0;opacity:.7;font-size:.9rem;line-height:1.4}.waiting-spinner{width:40px;height:40px;border:3px solid rgba(16,185,129,.2);border-top:3px solid #10b981;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.page-shell{margin:0 auto;padding:clamp(16px,4vw,32px);max-width:1200px;height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none;padding-top:max(clamp(16px,4vw,32px),env(safe-area-inset-top));padding-bottom:max(clamp(16px,4vw,32px),env(safe-area-inset-bottom));padding-left:max(clamp(16px,4vw,32px),env(safe-area-inset-left));padding-right:max(clamp(16px,4vw,32px),env(safe-area-inset-right))}.page-shell::-webkit-scrollbar{display:none}.card{background:#334155;border:1px solid #475569;border-radius:12px;padding:clamp(20px,4vw,32px);display:flex;flex-direction:column}.chat-scroll{flex:1;margin-top:18px;padding:12px;border-radius:8px;background:#1e293b;border:1px solid #374151;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:12px;-ms-overflow-style:none;scrollbar-width:none;max-height:500px;min-height:300px}.chat-scroll::-webkit-scrollbar{display:none}.chat-input-row{display:flex;gap:10px;margin-top:18px}.chat-input-row textarea{flex:1;border-radius:8px;border:1px solid #475569;padding:12px 16px;font-size:.875rem;background:#1e293b;color:#f8fafc;transition:border-color .2s ease;resize:none;font-family:inherit;line-height:1.5;overflow-x:hidden;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none;box-sizing:border-box;word-wrap:break-word;-webkit-text-size-adjust:100%}.chat-input-row textarea::-webkit-scrollbar{display:none}.chat-input-row textarea:focus{outline:none;border-color:#3b82f6}.chat-input-row textarea::placeholder{color:#94a3b8}.message-bubble{max-width:min(80%,420px);padding:12px 16px;border-radius:8px;display:inline-flex;flex-direction:column;gap:4px;font-size:.875rem;line-height:1.45;word-break:break-word;white-space:pre-wrap;overflow-wrap:break-word}.message-meta{display:flex;justify-content:space-between;gap:12px;font-size:.75rem;opacity:.7;font-weight:500}.bubble-self{align-self:flex-end;background:#3b82f6;color:#fff;border:1px solid #2563eb}.bubble-peer{align-self:flex-start;background:#475569;color:#f8fafc;border:1px solid #64748b}.message-status{font-size:.75rem;opacity:.6;line-height:1;display:inline-flex;align-items:center;-webkit-user-select:none;user-select:none;transition:opacity .2s ease}.message-status.status-read{color:#fff;opacity:1;font-weight:600}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:.75rem;font-weight:500;background:#374151;color:#d1d5db;border:1px solid #4b5563}.status-pill.error{background:#dc2626;color:#fff;border-color:#b91c1c}.status-pill.success{background:#16a34a;color:#fff;border-color:#15803d}.landing-shell{margin:0 auto;padding:clamp(20px,5vw,48px);max-width:1200px;display:flex;flex-direction:column;gap:clamp(24px,4vw,42px);height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none;padding-top:max(clamp(20px,5vw,48px),calc(env(safe-area-inset-top) + 16px));padding-bottom:max(clamp(20px,5vw,48px),env(safe-area-inset-bottom));padding-left:max(clamp(20px,5vw,48px),env(safe-area-inset-left));padding-right:max(clamp(20px,5vw,48px),env(safe-area-inset-right))}.landing-shell::-webkit-scrollbar{display:none}.landing-shell:before{content:"";position:fixed;inset:0;background:radial-gradient(ellipse 80% 50% at 50% 40%,rgba(236,72,153,.08),rgba(59,130,246,.06) 40%,transparent 70%);pointer-events:none;z-index:0}.landing-shell>*{position:relative;z-index:1}.landing-card{background:#334155;border:1px solid #475569;border-radius:12px;padding:clamp(24px,4vw,48px)}.landing-hero{display:flex;flex-direction:column;gap:clamp(18px,3vw,28px)}.landing-hero-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.landing-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:clamp(1.8rem,4vw,2.2rem);color:#f8fafc;letter-spacing:-.02em;position:relative;cursor:default}.landing-brand span{color:#ec4899;font-size:.7em;font-weight:400;vertical-align:super;margin-left:-2px}.landing-hero-copy h1{margin:0;font-size:clamp(2.1rem,5vw,3rem);line-height:1.1;color:#f8fafc;font-weight:600}.landing-hero-copy p{margin:0;opacity:.8;font-size:1rem;max-width:60ch;color:#cbd5e1}.landing-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:10px 18px;background:#3b82f6;color:#fff;font-weight:500;border:1px solid #2563eb}.landing-cta-row,.landing-cta-buttons{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.landing-cta-row a,.landing-cta-buttons a{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:12px 24px;font-weight:500;font-size:.875rem;transition:all .2s ease;border:1px solid transparent}.landing-primary{background:#3b82f6;color:#fff;border-color:#2563eb}.landing-primary:hover{background:#2563eb}.landing-secondary{background:#0ea5e9;color:#fff;border-color:#0284c7}.landing-secondary:hover{background:#0284c7}.landing-accent{background:#22c55e;color:#fff;border-color:#16a34a}.landing-accent:hover{background:#16a34a;box-shadow:0 18px 40px #22c55e40}.landing-primary:hover,.landing-secondary:hover,.landing-accent:hover{transform:translateY(-1px)}.landing-alert{border-radius:20px;padding:18px 24px;font-weight:600;display:flex;flex-direction:column;gap:6px;color:#fff;background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 22px 44px #ef444438}.landing-alert a{color:inherit;text-decoration:underline}.landing-media{border-radius:24px;overflow:hidden;box-shadow:0 24px 48px #0f172a24}.landing-media img{display:block;width:100%;height:auto}.landing-mission-grid{display:grid;gap:20px}.landing-callout{border-radius:8px;padding:18px 22px;background:#374151;color:#d1d5db;font-weight:500;border:1px solid #4b5563}.landing-cta-footer{text-align:center;display:grid;gap:14px}.mobile-app-shell{position:fixed;inset:0;width:100vw;display:flex;flex-direction:column;background:#0f172a;overflow:hidden;padding-top:env(safe-area-inset-top,0);padding-bottom:env(safe-area-inset-bottom,0);padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}@media (max-width: 768px) and (orientation: landscape){.mobile-app-shell{padding-top:max(env(safe-area-inset-top,0),8px);padding-bottom:max(env(safe-area-inset-bottom,0),8px)}.mobile-header{padding:8px 12px}.mobile-header-title h1{font-size:1rem}.mobile-chat-container{padding:12px}}.mobile-header{flex-shrink:0;background:linear-gradient(180deg,#1e293b,#0f172a);padding:12px 16px;border-bottom:1px solid rgba(71,85,105,.3);box-shadow:0 2px 8px #0000001a}.mobile-header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.mobile-header-title{display:flex;flex-direction:column;gap:2px}.mobile-header-title h1{margin:0;font-size:1.25rem;font-weight:700;color:#f8fafc;letter-spacing:-.02em}.mobile-header-title p{margin:0;font-size:.75rem;color:#94a3b8;font-weight:500}.mobile-status{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;color:#10b981;font-weight:600}.mobile-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#10b981;box-shadow:0 0 8px #10b98199;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.mobile-actions{display:flex;gap:8px;flex-wrap:wrap}.mobile-btn{padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--radius-md);font-size:var(--font-size-headline);font-weight:var(--font-weight-semibold);border:none;cursor:pointer;transition:all .3s var(--spring-smooth);white-space:nowrap;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.mobile-btn:active{transform:scale(.95);opacity:.9;transition:transform .1s var(--spring-quick)}.mobile-btn-primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;box-shadow:0 2px 8px #3b82f64d}.mobile-btn-primary:disabled{background:#374151;color:#6b7280;box-shadow:none;opacity:.6}.mobile-btn-danger{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;box-shadow:0 2px 8px #f973164d}.mobile-btn-danger:disabled{background:#374151;color:#6b7280;box-shadow:none;opacity:.6}.mobile-btn-secondary{background:#33415599;color:#cbd5e1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(71,85,105,.4);font-weight:var(--font-weight-medium)}.mobile-chat-container{flex:1;overflow-y:auto;overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;padding:16px;background:#0f172a}.mobile-chat-container::-webkit-scrollbar{display:none}.mobile-messages{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}.mobile-message{max-width:85%;display:flex;flex-direction:column;animation:messageSlideIn .2s ease-out}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.mobile-message-self{align-self:flex-end}.mobile-message-other{align-self:flex-start}.mobile-bubble{padding:10px 15px;border-radius:18px;font-size:var(--font-size-body);line-height:1.47059;word-wrap:break-word;white-space:pre-wrap;position:relative;max-width:75%}.mobile-bubble-self{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border-bottom-right-radius:4px;box-shadow:0 1px 2px #0000001a}.mobile-bubble-other{background:#1e293b;color:#f8fafc;border-bottom-left-radius:4px;border:1px solid rgba(71,85,105,.3);box-shadow:0 1px 2px #0000000d}.mobile-bubble-meta{display:flex;justify-content:space-between;align-items:center;gap:var(--spacing-xs);margin-bottom:var(--spacing-xs);font-size:var(--font-size-caption1);opacity:.7;font-weight:var(--font-weight-semibold)}.mobile-bubble-time{font-size:var(--font-size-caption1);margin-top:var(--spacing-xs);opacity:.6}.mobile-bubble-self .mobile-bubble-time{text-align:right;color:#ffffffbf}.mobile-bubble-other .mobile-bubble-time{text-align:left;color:#64748b}.mobile-empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--spacing-xl) var(--spacing-lg);color:#64748b;font-size:var(--font-size-body);line-height:1.47059;gap:var(--spacing-md)}.mobile-empty-state-icon{font-size:var(--font-size-large-title);opacity:.6;animation:ios-pulse 2s ease-in-out infinite}.mobile-input-container{flex-shrink:0;background:#1e293bf2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:.5px solid rgba(71,85,105,.3);padding:var(--spacing-md);padding-bottom:max(var(--spacing-md),env(safe-area-inset-bottom));box-shadow:0 -1px #0000000d}.mobile-input-row{display:flex;gap:var(--spacing-xs);align-items:flex-end}.mobile-input{flex:1;background:#0f172a;border:1px solid rgba(71,85,105,.4);border-radius:20px;padding:10px 16px;font-size:var(--font-size-body);color:#f8fafc;resize:none;min-height:40px;max-height:120px;font-family:inherit;line-height:1.47059;-webkit-appearance:none;-ms-overflow-style:none;scrollbar-width:none;transition:border-color .2s ease}.mobile-input::-webkit-scrollbar{display:none}.mobile-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.mobile-input::placeholder{color:#64748b}.mobile-send-btn{flex-shrink:0;width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;color:#fff;font-size:var(--font-size-title3);font-weight:var(--font-weight-bold);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s var(--spring-smooth);box-shadow:0 1px 3px #0003}.mobile-send-btn:active{transform:scale(.88);opacity:.9;transition:transform .1s var(--spring-quick)}.mobile-send-btn:disabled{background:#374151;color:#6b7280;box-shadow:none;opacity:.5}.mobile-logout-btn{padding:6px 12px;background:#ef44441a;color:#f87171;border:1px solid rgba(239,68,68,.2);border-radius:12px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-height:32px}.mobile-logout-btn:active{background:#ef444433}@media (max-width: 640px){.card{border-radius:8px;min-height:auto}.chat-scroll{max-height:55vh}.chat-input-row{flex-direction:column}.chat-input-row input,.chat-input-row button{width:100%}.landing-card{border-radius:8px}.landing-cta-row,.landing-cta-buttons{flex-direction:column;align-items:stretch}.landing-cta-row a,.landing-cta-buttons a{width:100%}}input[type=text],input[type=email],input[type=password],textarea,select{background:#1e293b;border:1px solid #475569;border-radius:8px;padding:8px 12px;color:#f8fafc;font-size:.875rem;transition:border-color .2s ease}input[type=text]:focus,input[type=email]:focus,input[type=password]:focus,textarea:focus,select:focus{outline:none;border-color:#3b82f6}input[type=text]::placeholder,input[type=email]::placeholder,input[type=password]::placeholder,textarea::placeholder{color:#94a3b8}table{width:100%;border-collapse:collapse;background:#334155;border-radius:8px;overflow:hidden}th,td{padding:12px 16px;text-align:left;border-bottom:1px solid #475569}th{background:#475569;font-weight:600;color:#f8fafc;font-size:.875rem}td{color:#e2e8f0;font-size:.875rem}tr:last-child td{border-bottom:none}.text-sm{font-size:.875rem}.text-xs{font-size:.75rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-gray-400{color:#94a3b8}.text-gray-300{color:#cbd5e1}.text-red-400{color:#f87171}.text-green-400{color:#4ade80}.text-blue-400{color:#60a5fa}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.space-y-4>*+*{margin-top:1rem}.space-y-6>*+*{margin-top:1.5rem}.page-transition{width:100%;min-height:100vh}.page-transition-fadeOut{animation:fadeOutSlide .25s ease-out forwards}.page-transition-fadeIn{animation:fadeInSlide .3s ease-out forwards}@keyframes fadeOutSlide{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(-20px)}}@keyframes fadeInSlide{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}button,.mobile-btn,.hero-action{transition:all .25s cubic-bezier(.4,0,.2,1)}button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000026}button:not(:disabled):active{transform:translateY(0) scale(.98);transition:all .1s ease}.mobile-btn:not(:disabled):active,.hero-action:not(:disabled):active{transform:scale(.96);transition:transform .1s ease}.card,.landing-card{animation:cardSlideIn .4s cubic-bezier(.16,1,.3,1) backwards}@keyframes cardSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.card>*:nth-child(1){animation-delay:.05s}.card>*:nth-child(2){animation-delay:.1s}.card>*:nth-child(3){animation-delay:.15s}.card>*:nth-child(4){animation-delay:.2s}.card>*:nth-child(5){animation-delay:.25s}.loading-spinner{display:inline-block;width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.loading-spinner-large{width:40px;height:40px;border-width:4px}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{background:linear-gradient(90deg,#ffffff0d 25%,#ffffff1a,#ffffff0d 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:8px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}input:focus,textarea:focus,.mobile-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;transition:all .2s ease}.landing-action:hover,.landing-accent:hover{transform:translateY(-2px) scale(1.02);transition:all .3s cubic-bezier(.4,0,.2,1)}.landing-action:active,.landing-accent:active{transform:translateY(0) scale(.98)}.mobile-message,.chat-msg{animation:messageSlideIn .3s cubic-bezier(.16,1,.3,1) backwards}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.mobile-empty-state{animation:bounceIn .6s cubic-bezier(.68,-.55,.265,1.55)}@keyframes bounceIn{0%{opacity:0;transform:scale(.3)}50%{transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.waiting-spinner{animation:spin 1.2s linear infinite,pulseSlow 2s ease-in-out infinite}@keyframes pulseSlow{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}}:root{--mobile-bg-primary: #0f172a;--mobile-bg-secondary: #1e293b;--mobile-bg-tertiary: #334155;--mobile-bg-elevated: #1e293b;--mobile-label: #f8fafc;--mobile-label-secondary: #cbd5e1;--mobile-label-tertiary: #94a3b8;--mobile-label-quaternary: #64748b;--mobile-blue: #3b82f6;--mobile-blue-bright: #60a5fa;--mobile-green: #10b981;--mobile-indigo: #6366f1;--mobile-orange: #f97316;--mobile-pink: #ec4899;--mobile-purple: #a855f7;--mobile-red: #ef4444;--mobile-teal: #14b8a6;--mobile-yellow: #eab308;--mobile-gradient-blue: linear-gradient(135deg, #3b82f6, #2563eb);--mobile-gradient-purple: linear-gradient(135deg, #8b5cf6, #6366f1);--mobile-gradient-teal: linear-gradient(135deg, #14b8a6, #0d9488);--mobile-separator: rgba(71, 85, 105, .3);--mobile-separator-strong: rgba(71, 85, 105, .5);--mobile-blur-bg: rgba(30, 41, 59, .85);--mobile-shadow-sm: 0 2px 8px rgba(0, 0, 0, .15);--mobile-shadow-md: 0 4px 16px rgba(0, 0, 0, .2);--mobile-shadow-lg: 0 8px 32px rgba(0, 0, 0, .3);--mobile-glow-blue: 0 4px 20px rgba(59, 130, 246, .3)}.mobile-native-shell{position:fixed;inset:0;width:100%;height:100%;display:flex;flex-direction:column;background:var(--mobile-bg-primary);overflow:hidden;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);overscroll-behavior:none;-webkit-overflow-scrolling:touch}.mobile-nav-bar{flex-shrink:0;background:var(--mobile-blur-bg);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--mobile-separator);padding:12px 20px;min-height:56px;display:flex;align-items:center;justify-content:space-between;z-index:100}.mobile-nav-title{font-size:20px;font-weight:700;color:var(--mobile-label);letter-spacing:-.5px;flex:1;text-align:center}.mobile-nav-left,.mobile-nav-right{min-width:80px;display:flex;align-items:center}.mobile-nav-left{justify-content:flex-start}.mobile-nav-right{justify-content:flex-end}.mobile-nav-btn{background:none;border:none;color:var(--mobile-blue);font-size:18px;font-weight:500;padding:10px 14px;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px;transition:opacity .15s ease;-webkit-tap-highlight-color:transparent;border-radius:10px}.mobile-nav-btn:active{opacity:.6;background:#3b82f61a}.mobile-nav-btn:disabled{opacity:.3;cursor:not-allowed}.mobile-content{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;background:var(--mobile-bg-primary)}.mobile-content::-webkit-scrollbar{display:none}.mobile-content-padded{padding:20px}.mobile-chat-shell{height:100%;display:flex;flex-direction:column;background:var(--mobile-bg-primary)}.mobile-chat-messages{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:16px 20px;display:flex;flex-direction:column;gap:12px}.mobile-chat-messages::-webkit-scrollbar{display:none}.mobile-msg{max-width:80%;display:flex;flex-direction:column;gap:4px;animation:msgFadeIn .3s ease-out}@keyframes msgFadeIn{0%{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.mobile-msg-self{align-self:flex-end;align-items:flex-end}.mobile-msg-other{align-self:flex-start;align-items:flex-start}.mobile-msg-bubble{padding:12px 16px;border-radius:20px;font-size:18px;line-height:24px;letter-spacing:-.3px;word-wrap:break-word;white-space:pre-wrap;max-width:100%}.mobile-msg-bubble-self{background:var(--mobile-gradient-blue);color:#fff;border-bottom-right-radius:6px;box-shadow:var(--mobile-glow-blue)}.mobile-msg-bubble-other{background:var(--mobile-bg-secondary);color:var(--mobile-label);border-bottom-left-radius:6px;border:1px solid var(--mobile-separator)}.mobile-msg-meta{font-size:15px;color:var(--mobile-label-tertiary);padding:0 6px;display:flex;align-items:center;gap:8px}.mobile-msg-time{font-size:13px;color:var(--mobile-label-tertiary);padding:2px 6px}.mobile-chat-input-container{flex-shrink:0;background:var(--mobile-blur-bg);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-top:1px solid var(--mobile-separator);padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.mobile-chat-input-row{display:flex;align-items:flex-end;gap:10px}.mobile-chat-input{flex:1;background:var(--mobile-bg-secondary);border:1px solid var(--mobile-separator);border-radius:22px;padding:12px 18px;font-size:18px;line-height:24px;color:var(--mobile-label);resize:none;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;min-height:44px;max-height:120px;-webkit-appearance:none;transition:all .2s ease}.mobile-chat-input::-webkit-scrollbar{display:none}.mobile-chat-input:focus{outline:none;border-color:var(--mobile-blue);background:var(--mobile-bg-tertiary);box-shadow:0 0 0 3px #3b82f61a}.mobile-chat-input::placeholder{color:var(--mobile-label-quaternary)}.mobile-chat-send-btn{flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--mobile-gradient-blue);border:none;color:#fff;font-size:22px;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;box-shadow:var(--mobile-glow-blue);-webkit-tap-highlight-color:transparent}.mobile-chat-send-btn:active{opacity:.85;transform:scale(.94)}.mobile-chat-send-btn:disabled{background:var(--mobile-bg-tertiary);opacity:.5;cursor:not-allowed;box-shadow:none}.mobile-card{background:var(--mobile-bg-secondary);border-radius:16px;overflow:hidden;margin-bottom:20px;border:1px solid var(--mobile-separator)}.mobile-card-section{padding:20px;border-bottom:1px solid var(--mobile-separator)}.mobile-card-section:last-child{border-bottom:none}.mobile-list-item{background:var(--mobile-bg-secondary);padding:16px 20px;display:flex;align-items:center;justify-content:space-between;min-height:56px;border-bottom:1px solid var(--mobile-separator);transition:all .2s ease;-webkit-tap-highlight-color:transparent}.mobile-list-item:active{background:var(--mobile-bg-tertiary)}.mobile-list-item:last-child{border-bottom:none}.mobile-list-label{font-size:18px;font-weight:500;color:var(--mobile-label);letter-spacing:-.3px}.mobile-list-value{font-size:18px;color:var(--mobile-label-secondary);letter-spacing:-.3px}.mobile-btn-native{min-height:52px;padding:14px 24px;border-radius:14px;font-size:19px;font-weight:600;letter-spacing:-.3px;border:none;cursor:pointer;transition:all .2s ease;-webkit-tap-highlight-color:transparent;display:flex;align-items:center;justify-content:center;gap:8px}.mobile-btn-native:active{opacity:.8;transform:scale(.97)}.mobile-btn-native:disabled{opacity:.4;cursor:not-allowed}.mobile-btn-primary-native{background:var(--mobile-gradient-blue);color:#fff;box-shadow:var(--mobile-glow-blue)}.mobile-btn-danger-native{background:linear-gradient(135deg,var(--mobile-red),#dc2626);color:#fff;box-shadow:0 4px 20px #ef44444d}.mobile-btn-secondary-native{background:var(--mobile-bg-tertiary);color:var(--mobile-label);border:1px solid var(--mobile-separator)}.mobile-btn-success-native{background:linear-gradient(135deg,var(--mobile-green),#059669);color:#fff;box-shadow:0 4px 20px #10b9814d}.mobile-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 28px;text-align:center;color:var(--mobile-label-secondary)}.mobile-empty-icon{font-size:80px;opacity:.7;margin-bottom:20px}.mobile-empty-title{font-size:26px;font-weight:700;color:var(--mobile-label);margin-bottom:12px;letter-spacing:-.5px}.mobile-empty-message{font-size:18px;color:var(--mobile-label-secondary);line-height:26px;letter-spacing:-.3px}.mobile-tab-bar{flex-shrink:0;background:var(--mobile-blur-bg);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-top:1px solid var(--mobile-separator);display:flex;justify-content:space-around;padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom));height:calc(60px + env(safe-area-inset-bottom))}.mobile-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:none;border:none;cursor:pointer;padding:6px;min-height:44px;transition:all .2s ease;-webkit-tap-highlight-color:transparent;border-radius:12px}.mobile-tab:active{opacity:.6;background:#3b82f60d}.mobile-tab-icon{font-size:28px;line-height:1}.mobile-tab-label{font-size:12px;font-weight:600;letter-spacing:0}.mobile-tab-inactive{color:var(--mobile-label-tertiary)}.mobile-tab-active{color:var(--mobile-blue)}.mobile-status-dot{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:8px}.mobile-status-online{background:var(--mobile-green);box-shadow:0 0 12px var(--mobile-green);animation:statusPulse 2s ease-in-out infinite}.mobile-status-offline{background:var(--mobile-label-quaternary)}@keyframes statusPulse{0%,to{opacity:1}50%{opacity:.6}}.mobile-spinner{width:28px;height:28px;border:3px solid var(--mobile-bg-tertiary);border-top-color:var(--mobile-blue);border-radius:50%;animation:spinRotate .8s linear infinite}.mobile-spinner-large{width:48px;height:48px;border-width:4px}@keyframes spinRotate{to{transform:rotate(360deg)}}.mobile-alert{padding:16px 20px;border-radius:14px;margin-bottom:16px;font-size:17px;line-height:24px;display:flex;align-items:flex-start;flex-direction:column;gap:8px}.mobile-alert-error{background:#ef444426;color:var(--mobile-red);border:1px solid rgba(239,68,68,.3)}.mobile-alert-success{background:#10b98126;color:var(--mobile-green);border:1px solid rgba(16,185,129,.3)}.mobile-alert-info{background:#3b82f626;color:var(--mobile-blue);border:1px solid rgba(59,130,246,.3)}.mobile-badge{background:var(--mobile-red);color:#fff;font-size:14px;font-weight:700;padding:4px 8px;border-radius:12px;min-width:24px;text-align:center}.mobile-fade-in{animation:mobileFadeIn .3s ease-out}@keyframes mobileFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.mobile-slide-up{animation:mobileSlideUp .3s cubic-bezier(.25,.46,.45,.94)}@keyframes mobileSlideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (orientation: landscape) and (max-height: 450px){.mobile-nav-bar{min-height:36px;padding:4px 12px}.mobile-chat-messages{padding:8px 12px}.mobile-content-padded{padding:12px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (prefers-contrast: high){.mobile-native-shell{border:2px solid var(--ios-label)}.mobile-msg-bubble-self,.mobile-btn-primary-native{border:2px solid #FFFFFF}}
