:root{--aura-blue-dark: #0B1F3B;--aura-black: #0F172A;--aura-purple: #7C3AED;--aura-blue: #3B82F6;--aura-gray: #E5E7EB;--aura-gray-soft: #F3F4F6;--aura-white: #FFFFFF;--text-primary: #0F172A;--text-secondary: #475569;--text-muted: #94A3B8;--bg: #F8FAFC;--card: #FFFFFF;--border: #E2E8F0;--success: #10B981;--warning: #F59E0B;--danger: #EF4444;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}*{box-sizing:border-box;margin:0;padding:0}html,body{background:var(--bg);color:var(--text-primary);min-height:100vh;overflow-x:hidden}a{color:var(--aura-purple);text-decoration:none}a:hover{opacity:.85}button{cursor:pointer;font-family:inherit;border:none;background:var(--aura-purple);color:#fff;padding:.55rem 1.1rem;border-radius:8px;font-weight:500;font-size:.92rem;transition:all .15s;white-space:nowrap}button:hover{background:#6d28d9}button:disabled{opacity:.5;cursor:not-allowed}button.ghost{background:transparent;color:var(--text-secondary);border:1px solid var(--border)}button.ghost:hover{background:var(--aura-gray-soft)}input,select,textarea{font-family:inherit;padding:.55rem .75rem;border:1px solid var(--border);border-radius:8px;font-size:.92rem;width:100%;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid var(--aura-purple);outline-offset:-1px;border-color:transparent}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:linear-gradient(180deg,var(--aura-blue-dark) 0%,var(--aura-black) 100%);color:#fff;padding:1.5rem 1rem;display:flex;flex-direction:column}.sidebar .brand{font-size:1.5rem;font-weight:700;letter-spacing:-.02em;margin-bottom:.2rem}.sidebar .brand-glow{background:linear-gradient(90deg,#a78bfa,#60a5fa);-webkit-background-clip:text;background-clip:text;color:transparent}.sidebar .endorsement{font-size:.72rem;color:#ffffff8c;margin-bottom:2rem}.sidebar nav a{display:block;padding:.65rem .85rem;color:#ffffffbf;border-radius:8px;margin-bottom:.25rem;font-size:.92rem;transition:all .15s}.sidebar nav a:hover,.sidebar nav a.active{background:#7c3aed40;color:#fff}.mobile-menu-btn{display:none;position:fixed;top:.75rem;left:.75rem;z-index:50;background:var(--aura-purple);color:#fff;width:40px;height:40px;border-radius:8px;align-items:center;justify-content:center;font-size:1.4rem;padding:0;box-shadow:0 4px 10px #0003}.main{padding:2rem 2.5rem;min-width:0;overflow-x:hidden}.page-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}.page-header h1{font-size:1.6rem;font-weight:600;letter-spacing:-.02em}.page-header .subtitle{color:var(--text-secondary);font-size:.92rem;margin-top:.2rem;word-break:break-word}.header-actions{flex-wrap:wrap;gap:.5rem}.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1.25rem;box-shadow:0 1px 2px #00000008}.card h3{font-size:1rem;font-weight:600;margin-bottom:1rem;color:var(--text-primary)}.grid{display:grid;gap:1rem}.grid.cols-2{grid-template-columns:repeat(2,1fr)}.grid.cols-3{grid-template-columns:repeat(3,1fr)}.grid.cols-4{grid-template-columns:repeat(4,1fr)}.kpi{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:1.1rem 1.25rem}.kpi .label{font-size:.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:.4rem}.kpi .value{font-size:1.7rem;font-weight:600;letter-spacing:-.02em;word-break:break-word}.kpi.positive .value{color:var(--success)}.kpi.negative .value{color:var(--danger)}.badge{display:inline-block;padding:.2rem .6rem;border-radius:999px;font-size:.75rem;font-weight:500;white-space:nowrap}.badge.low{background:#dcfce7;color:#166534}.badge.moderate{background:#fef3c7;color:#92400e}.badge.high{background:#fee2e2;color:#991b1b}.badge.critical{background:#dc2626;color:#fff}.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -.25rem}.table{width:100%;border-collapse:collapse;min-width:600px}.table th,.table td{padding:.7rem .75rem;text-align:left;border-bottom:1px solid var(--border);font-size:.9rem;vertical-align:top}.table th{font-weight:600;color:var(--text-secondary);font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;background:var(--bg);position:sticky;top:0;z-index:1}.table tbody tr:hover{background:var(--aura-gray-soft)}.ticker-link{background:transparent;color:var(--aura-purple);padding:0;font-weight:600;font-size:.92rem;text-decoration:underline dotted;text-underline-offset:3px}.ticker-link:hover{background:transparent;opacity:.75}.empty{text-align:center;padding:3rem 1rem;color:var(--text-muted)}.loading{display:flex;align-items:center;justify-content:center;padding:3rem;color:var(--text-muted)}.warning-list{list-style:none;margin-top:.5rem}.warning-list li{background:#fef3c7;color:#92400e;padding:.55rem .8rem;border-radius:8px;margin-bottom:.4rem;font-size:.88rem}.row{display:flex;align-items:center;gap:.5rem}.row.between{justify-content:space-between}.muted{color:var(--text-muted);font-size:.85rem}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem}.form-grid .full{grid-column:1 / -1}.form-grid label{display:block;font-size:.82rem;color:var(--text-secondary);margin-bottom:.3rem;font-weight:500}.auth-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#0b1f3b,#0f172a,#1e1b4b);padding:1.5rem}.auth-container{width:100%;max-width:1080px;display:grid;grid-template-columns:1.1fr 1fr;background:var(--card);border-radius:20px;overflow:hidden;box-shadow:0 30px 80px #00000080;min-height:620px}.auth-container.wide{max-width:1140px}.auth-side{background:linear-gradient(160deg,#0b1f3b,#1e1b4b 60%,#0f172a);color:#fff;position:relative;overflow:hidden}.auth-side:before{content:"";position:absolute;top:-120px;right:-120px;width:360px;height:360px;background:radial-gradient(circle,rgba(124,58,237,.45) 0%,transparent 70%);pointer-events:none}.auth-side:after{content:"";position:absolute;bottom:-100px;left:-80px;width:320px;height:320px;background:radial-gradient(circle,rgba(59,130,246,.35) 0%,transparent 70%);pointer-events:none}.auth-side-inner{position:relative;z-index:1;padding:2.5rem 2.2rem;display:flex;flex-direction:column;height:100%}.auth-brand-block{margin-bottom:2rem}.auth-brand-block .brand-logo{font-size:2rem;font-weight:700;letter-spacing:-.03em;line-height:1}.auth-brand-block .brand-glow{background:linear-gradient(90deg,#a78bfa,#60a5fa);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-brand-block .brand-tagline{font-size:.78rem;color:#ffffff8c;margin-top:.2rem}.auth-headline{font-size:1.85rem;font-weight:600;line-height:1.2;letter-spacing:-.02em;margin-bottom:1rem;color:#fff}.auth-headline em{font-style:normal;background:linear-gradient(90deg,#a78bfa,#60a5fa);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-pitch{font-size:.95rem;line-height:1.55;color:#ffffffbf;margin-bottom:1.75rem;max-width:380px}.auth-features{list-style:none;display:grid;gap:.85rem;margin-bottom:auto;padding-bottom:1rem}.auth-features li{display:flex;gap:.7rem;align-items:flex-start;font-size:.88rem}.auth-features .feat-icon{color:#a78bfa;font-size:.8rem;margin-top:.25rem}.auth-features li>div{display:flex;flex-direction:column}.auth-features strong{color:#fff;font-weight:500;margin-bottom:.1rem}.muted-light{color:#ffffff8c;font-size:.8rem}.auth-side-footer{padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.1);font-size:.78rem}.moss-block{display:flex;flex-direction:column;gap:.15rem;margin-bottom:.5rem}.moss-block strong{color:#fff;font-weight:600;font-size:.85rem}.moss-block span{color:#ffffff8c}.auth-links{display:flex;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}.auth-links a{color:#a78bfa;font-size:.8rem}.auth-links .sep{color:#ffffff4d}.copyright{color:#ffffff59;font-size:.72rem}.auth-main{display:grid;place-items:center;padding:2.5rem 2rem;background:#fff}.auth-form-wrap{width:100%;max-width:380px}.auth-form-wrap h2{font-size:1.5rem;font-weight:600;margin-bottom:.4rem;letter-spacing:-.01em}.auth-footer{margin-top:1.5rem;text-align:center;font-size:.9rem;color:var(--text-secondary)}.form-error{background:#fee2e2;color:#991b1b;padding:.6rem .8rem;border-radius:8px;font-size:.88rem;margin:.75rem 0}.field-error{color:var(--danger);font-size:.78rem;margin-top:.25rem}.sidebar-user{margin-top:auto;padding:1rem .85rem;border-top:1px solid rgba(255,255,255,.1);font-size:.85rem}.sidebar-user .user-name{font-weight:600;color:#fff;margin-bottom:.15rem}.sidebar-user .user-email{color:#ffffff8c;font-size:.78rem;margin-bottom:.25rem;word-break:break-all}.sidebar-user .user-role{display:inline-block;background:#7c3aed4d;color:#c4b5fd;font-size:.68rem;padding:.15rem .55rem;border-radius:999px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.sidebar-user button.ghost{background:#ffffff0f;color:#fff;border-color:#ffffff26}.sidebar-user button.ghost:hover{background:#ffffff1f}.range-pill{background:transparent;color:var(--text-secondary);border:1px solid var(--border);padding:.3rem .7rem;border-radius:999px;font-size:.78rem;font-weight:500;cursor:pointer;transition:all .15s}.range-pill:hover{background:var(--aura-gray-soft)}.range-pill.active{background:var(--aura-purple);color:#fff;border-color:var(--aura-purple)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172aa6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;z-index:100;padding:1rem;animation:fadeIn .15s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-card{background:#fff;border-radius:16px;width:100%;max-width:640px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 30px 80px #0006;overflow:hidden}.modal-header{padding:1.25rem 1.5rem;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border)}.modal-close{background:transparent;color:var(--text-muted);font-size:1.6rem;width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}.modal-close:hover{background:var(--aura-gray-soft);color:var(--text-primary)}.modal-body{padding:1.25rem 1.5rem 1.5rem;overflow-y:auto;flex:1}.modal-quote-block{display:flex;align-items:center;gap:.85rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid var(--border);flex-wrap:wrap}.modal-price{font-size:1.8rem;font-weight:600;letter-spacing:-.02em}.modal-change{font-size:.95rem;font-weight:500}.modal-change.positive{color:var(--success)}.modal-change.negative{color:var(--danger)}.modal-section{margin-bottom:1.5rem}.modal-section h3{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:.6rem}.modal-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.6rem 1.25rem}.modal-stats>div{display:flex;flex-direction:column;gap:.15rem}.modal-stats .stat-label{font-size:.72rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.modal-stats .stat-value{font-size:.95rem;font-weight:500;color:var(--text-primary)}.modal-footer{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;border-top:1px solid var(--border);margin-top:.5rem;flex-wrap:wrap;gap:.5rem}@media (max-width: 1024px){.grid.cols-4{grid-template-columns:repeat(2,1fr)}.main{padding:1.5rem}}@media (max-width: 768px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;top:0;left:-260px;width:240px;height:100vh;z-index:40;transition:left .25s ease;overflow-y:auto}.sidebar.open{left:0;box-shadow:0 0 60px #00000080}.sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:30}.sidebar-overlay.show{display:block}.mobile-menu-btn{display:flex}.main{padding:4rem 1rem 1.5rem}.page-header h1{font-size:1.35rem}.page-header{flex-direction:column;align-items:stretch}.header-actions{width:100%}.header-actions button{flex:1;min-width:140px}.grid.cols-2,.grid.cols-3,.grid.cols-4{grid-template-columns:1fr}.kpi{padding:.95rem 1rem}.kpi .value{font-size:1.4rem}.form-grid{grid-template-columns:1fr}.card{padding:1rem}.auth-container{grid-template-columns:1fr;min-height:auto}.auth-side-inner{padding:1.75rem 1.5rem}.auth-headline{font-size:1.4rem}.auth-features{display:none}.auth-side-footer{padding-top:1rem}.auth-main{padding:1.75rem 1.25rem}.modal-card{max-height:95vh;border-radius:12px}.modal-header{padding:1rem 1.1rem}.modal-body{padding:1rem 1.1rem 1.25rem}.modal-price{font-size:1.5rem}}@media (max-width: 420px){.main{padding:4rem .75rem 1.25rem}.page-header h1{font-size:1.2rem}.header-actions button{min-width:100%}.modal-stats{grid-template-columns:1fr 1fr}}
