@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Inter+Tight:wght@500;600;700;800&display=swap');
:root{--bg:#f5f7f8;--surface:#fff;--panel:#fff;--text:#0a0a0a;--muted:#667078;--accent:#00b9c7;--accent-hover:#0097a3;--accent-soft:#d8f8fb;--border:#dfe5e7;--success:#16a34a;--warning:#d97706;--danger:#dc2626;--sidebar:#0a0a0a;--sidebar-hover:#171a1b}html[data-theme='dark']{--bg:#0a0a0a;--surface:#111313;--panel:#111313;--text:#e5e5e5;--muted:#929a9f;--accent:#00f0ff;--accent-hover:#46f5ff;--accent-soft:#073b40;--border:#252a2c;--success:#22c55e;--warning:#f59e0b;--danger:#ef4444;--sidebar:#070707;--sidebar-hover:#15191a}*{box-sizing:border-box}html{color-scheme:light;overflow-x:hidden}html[data-theme='dark']{color-scheme:dark}body{margin:0;min-height:100vh;max-width:100%;overflow-x:hidden;font-family:'Inter',Arial,sans-serif;background:var(--bg);color:var(--text);transition:background .2s,color .2s}.brand,.auth-brand,h1,h2,h3,h4,h5,h6,.eyebrow,.feature-kicker,.pain-label,.platform-marquee-label{font-family:'Inter Tight','Inter',Arial,sans-serif}img,svg,video,canvas{max-width:100%}table{max-width:100%}pre{max-width:100%;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere}.hero{width:min(900px,calc(100% - 40px));min-height:100vh;margin:auto;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.eyebrow{color:var(--accent);font-weight:700;letter-spacing:.08em}h1,h2,h3,h4,h5,h6{color:var(--text)}h1{font-size:clamp(3rem,9vw,6rem);margin:.2rem 0 1rem}.hero>p:not(.eyebrow){color:var(--muted);font-size:1.15rem;max-width:650px;line-height:1.6}.cta{margin-top:1.5rem;padding:.9rem 1.2rem;border-radius:.75rem;background:var(--accent);color:#001214;text-decoration:none;font-weight:800}a{color:var(--accent)}input,select,textarea,button{font:inherit;max-width:100%}select{appearance:auto;color-scheme:light;background:var(--surface);color:var(--text);border-color:var(--border)}select option,select optgroup{background:var(--surface);color:var(--text)}select option{padding:8px 10px;font:inherit}html[data-theme='dark'] select{color-scheme:dark}html[data-theme='dark'] select option,html[data-theme='dark'] select optgroup{background:#111313;color:#e5e5e5}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85}body.nav-open{overflow:hidden}.panel,.stat-card,.opps-total,.opp-card,.content-stats article,.search-box,.settings-nav,.settings-section,.account-card{color:var(--text)}.panel,.stat-card,.opps-total,.opp-card,.content-stats article,.settings-nav,.settings-section{background:var(--surface);border-color:var(--border)}.search-box,.selects select,.settings-section input,.settings-section select,.settings-section textarea,.keyword-box input{background:var(--surface);color:var(--text);border-color:var(--border)}.message-item,.inbox-row,.feedback-item,.account-card,.toggle-row,.opportunity-card{border-color:var(--border)}html[data-theme='dark'] .auth-card label,html[data-theme='dark'] .auth-card .auth-row,html[data-theme='dark'] .auth-card .check{color:var(--text)}html[data-theme='dark'] .auth-card h1,html[data-theme='dark'] .auth-card h2,html[data-theme='dark'] .auth-card h3{color:#e5e5e5}html[data-theme='dark'] .auth-card>p{color:#929a9f}html[data-theme='dark'] .auth-card input:not([type='checkbox']){background:#0f1010;color:#e5e5e5;border-color:#2a3032}html[data-theme='dark'] .auth-card input:not([type='checkbox'])::placeholder{color:#929a9f}html[data-theme='dark'] .auth-card input:not([type='checkbox']):focus{background:#111313;color:#e5e5e5}html[data-theme='dark'] .auth-switch{color:#929a9f!important}html[data-theme='dark'] .auth-switch a,html[data-theme='dark'] .forgot-link{color:#00f0ff!important}html[data-theme='dark'] footer,html[data-theme='dark'] footer p,html[data-theme='dark'] footer small{color:#929a9f}.sidebar a{color:#929a9f}.sidebar a.active,.sidebar a:hover{color:#0a0a0a}html[data-theme='dark'] .sidebar a{color:#929a9f}html[data-theme='dark'] .sidebar a.active,html[data-theme='dark'] .sidebar a:hover{color:#e5e5e5}.skeleton{position:relative;display:block;overflow:hidden;background:var(--border);border-radius:8px;color:transparent!important;pointer-events:none;user-select:none}.skeleton::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);animation:sai-shimmer 1.25s ease-in-out infinite}html[data-theme='dark'] .skeleton::after{background:linear-gradient(90deg,transparent,rgba(0,240,255,.08),transparent)}.skeleton-text{height:12px;width:72%;margin:7px 0}.skeleton-text.short{width:42%}.skeleton-text.long{width:88%}.skeleton-title{height:18px;width:48%;margin:8px 0 14px}.skeleton-avatar{width:40px;height:40px;border-radius:50%}.skeleton-card{height:92px;width:100%;border-radius:14px;margin-bottom:10px}.skeleton-row{height:64px;width:100%;border-radius:12px;margin-bottom:10px}.skeleton-line-group{display:flex;flex-direction:column;gap:7px}.skeleton-message{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:14px;border:1px solid var(--border);border-radius:14px;margin-bottom:10px}.skeleton-message-copy{min-width:0}.skeleton-opportunity{min-height:128px;padding:16px;border:1px solid var(--border);border-radius:14px;margin-bottom:12px}.skeleton-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.route-switching .main-content{cursor:progress}@keyframes sai-shimmer{100%{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){.skeleton::after{animation:none;transform:none;opacity:.2}}@media (max-width:700px){.skeleton-grid{grid-template-columns:1fr}}

/* NeuralPulse brand lockup: keep existing layout footprint while replacing the legacy image lockup. */
.brand,.auth-brand{position:relative;display:inline-flex;align-items:center;width:210px;height:50px;overflow:hidden;box-sizing:border-box;color:transparent!important;font-size:0!important;line-height:0;text-decoration:none;flex:0 0 210px;gap:10px;padding:0}
.brand::before,.auth-brand::before{content:"";display:block;width:34px;height:34px;flex:0 0 34px;border:2px solid var(--accent);border-radius:11px 15px 11px 15px;transform:rotate(-8deg);box-shadow:0 0 18px color-mix(in srgb,var(--accent) 20%,transparent);background:radial-gradient(circle at 52% 48%,var(--accent) 0 3px,transparent 4px),linear-gradient(90deg,transparent 40%,var(--accent) 41% 46%,transparent 47%) center/18px 12px no-repeat}
.brand::after,.auth-brand::after{content:"NEURALPULSE";display:block;flex:1;color:var(--text);font-family:'Inter Tight','Inter',sans-serif;font-size:19px;font-weight:800;letter-spacing:.08em;line-height:1}
.brand span,.auth-brand span,.brand .brand-accent,.auth-brand .brand-accent{display:none!important}
html[data-theme='dark'] .brand::before,html[data-theme='dark'] .auth-brand::before{box-shadow:0 0 20px rgba(0,240,255,.22)}
@media(max-width:700px){.brand,.auth-brand{width:184px;height:44px;flex-basis:184px;gap:8px}.brand::before,.auth-brand::before{width:30px;height:30px;flex-basis:30px}.brand::after,.auth-brand::after{font-size:16px}}
@media(max-width:380px){.brand,.auth-brand{width:170px;height:41px;flex-basis:170px}.brand::before,.auth-brand::before{width:28px;height:28px;flex-basis:28px}.brand::after,.auth-brand::after{font-size:14px}}


/* Notification menu device control. */
.device-notification-control{padding:12px 14px;border-bottom:1px solid var(--border);background:var(--surface)}
.device-notification-button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s}
.device-notification-button::before{content:'🔔';font-size:14px;line-height:1}
.device-notification-button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
.device-notification-button:active:not(:disabled){transform:translateY(1px)}
.device-notification-button.is-enabled{border-color:color-mix(in srgb,var(--success) 45%,var(--border));background:color-mix(in srgb,var(--success) 10%,var(--surface));color:var(--success);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--success) 10%,transparent)}
.device-notification-button.is-enabled::before{content:'✓';font-weight:900}
.device-notification-button:disabled{opacity:1;cursor:default}
/* Device notification prompt: inherits the active NeuralPulse light/dark theme. */
.push-prompt-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,6,23,.48);backdrop-filter:blur(3px)}.push-prompt-card{width:min(420px,100%);padding:26px;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:0 20px 60px rgba(0,0,0,.22);transition:background .2s,color .2s,border-color .2s}.push-prompt-icon{width:44px;height:44px;display:grid;place-items:center;margin-bottom:14px;border-radius:12px;background:var(--accent-soft);font-size:21px}.push-prompt-card h3{margin:0 0 8px;color:var(--text);font-size:20px}.push-prompt-card p{margin:0 0 22px;color:var(--muted);line-height:1.55;font-size:14px}.push-prompt-actions{display:flex;gap:10px;justify-content:flex-end}.push-prompt-actions .secondary-button,.push-prompt-actions .primary-button{min-height:40px;padding:9px 14px;border-radius:9px;font-weight:800;cursor:pointer}.push-prompt-actions .secondary-button{border:1px solid var(--border);background:var(--surface);color:var(--text)}.push-prompt-actions .primary-button{border:1px solid var(--accent);background:var(--accent);color:#001214}.push-prompt-actions button:disabled{opacity:.65;cursor:wait}html[data-theme='dark'] .push-prompt-overlay{background:rgba(0,0,0,.68)}html[data-theme='dark'] .push-prompt-card{box-shadow:0 24px 70px rgba(0,0,0,.55)}@media(max-width:480px){.push-prompt-card{padding:22px;border-radius:16px}.push-prompt-actions{flex-direction:column-reverse}.push-prompt-actions button{width:100%}}
