@font-face{font-family:Raleway;src:url(/fonts/Raleway.ttf);font-weight:400}@font-face{font-family:Raleway;src:url(/fonts/Raleway-SemiBold.ttf);font-weight:600}@font-face{font-family:Raleway;src:url(/fonts/Raleway-Bold.ttf);font-weight:700}:root{color-scheme:dark;font-family:Raleway,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#080b10;color:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 18% 18%,rgba(38,160,113,.18),transparent 32%),linear-gradient(145deg,#07090d,#111821 46%,#0c1118)}button,input{font:inherit}button{cursor:pointer}.loading-screen,.auth-screen{min-height:100vh;display:grid;place-items:center;justify-items:center;align-items:center;padding:32px 20px;position:relative;overflow:hidden}.auth-panel{width:min(430px,100%);display:grid;justify-items:center;align-items:center;gap:24px;position:relative;z-index:1;padding:0}.auth-atmosphere{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at calc(100% + 80px) -120px,rgba(79,199,120,.2),transparent 32%),radial-gradient(circle at -100px calc(100% + 120px),rgba(255,255,255,.08),transparent 32%),linear-gradient(180deg,#05080a,#090c11 48%,#111d16)}.auth-hero{display:grid;justify-items:center;gap:24px;padding-top:0}.auth-mark{width:120px;height:120px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.05);border-radius:25px;background:#ffffff14;box-shadow:0 16px 36px #0000003d;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.auth-mark img{width:78px;height:78px;object-fit:contain}.auth-wordmark{display:grid;justify-items:center;gap:7px}.auth-wordmark span{color:#ffffffad;font-size:16px;font-weight:500}.auth-wordmark strong{color:#fff;font-size:46px;font-weight:700;line-height:1;letter-spacing:0}.auth-card{width:100%;display:grid;gap:16px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:26px;background:#181b25eb;box-shadow:0 24px 54px #0000003d}.auth-card label{color:inherit}.auth-card-tabs{display:inline-grid;justify-self:start;gap:8px;margin-bottom:2px;color:#fff;font-size:20px;font-weight:600}.auth-card-tabs i{display:block;width:54px;height:1px;background:#fff;opacity:.9}.auth-field{position:relative;height:60px;display:block;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#202430;padding:9px 16px 0}.auth-field span{display:block;color:#ffffffad;font-size:11px;font-weight:700;line-height:1}.auth-field input{width:100%;min-height:34px;border:0;border-radius:0;padding:10px 0 0;background:transparent;color:#fff;box-shadow:none;font-size:15px;font-weight:600}.auth-field input:focus{border-color:transparent;box-shadow:none}.auth-field:focus-within{border-color:#94f2b06b}.auth-submit{height:60px;border-radius:16px}.auth-social-button{height:60px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#202430;color:#fff;font-weight:600;transition:transform .16s ease,background .16s ease,border-color .16s ease,opacity .16s ease}.auth-social-button:hover{transform:translateY(-1px);background:#272c3a;border-color:#ffffff38}.auth-social-button:disabled{cursor:wait;opacity:.7;transform:none}.auth-social-button img{width:20px;height:20px;object-fit:contain}label{display:grid;gap:8px;color:#aeb8c8;font-size:13px;font-weight:600}input{min-height:44px;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:0 14px;background:#ffffff0f;color:#f8fafc;outline:none}input:focus{border-color:#38d39999;box-shadow:0 0 0 3px #38d3991f}.primary-button,.danger-button,.ghost-button,.logout-button,.icon-button{border:0;border-radius:12px;transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease}.primary-button{min-height:44px;padding:0 18px;color:#06120d;background:#36d399;font-weight:700}.primary-button:hover{transform:translateY(-1px);background:#5ee5b2}.primary-button:disabled{cursor:wait;opacity:.68}.danger-button{min-height:42px;padding:0 16px;color:#fff;background:#e84d4d;font-weight:700}.danger-button:hover{background:#ff6262}.ghost-button{min-height:42px;padding:0 16px;border:1px solid rgba(255,255,255,.12);color:#f8fafc;background:#ffffff0f}.ghost-button:hover,.logout-button:hover,.icon-button:hover{background:#ffffff1f}.form-error{margin:0;color:#ff8f8f;font-size:13px}.app-shell{min-height:100vh;display:grid;grid-template-columns:252px minmax(0,1fr);gap:22px;padding:14px}.sidebar{position:sticky;top:14px;align-self:start;height:calc(100vh - 28px);padding:13px 10px 18px;border:1px solid rgba(255,255,255,.14);border-radius:22px;background:linear-gradient(165deg,#1f1f2cf0,#0f1824f0);box-shadow:0 24px 70px #0000005c;overflow:hidden}.window-controls{display:flex;gap:8px;padding:1px 8px 18px}.window-controls span{width:12px;height:12px;border-radius:99px}.window-controls span:nth-child(1){background:#ff5f57}.window-controls span:nth-child(2){background:#ffbd2e}.window-controls span:nth-child(3){background:#28c840}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 18px}.brand img{width:38px;height:38px;object-fit:contain}.brand strong,.brand span{display:block}.brand strong{font-size:14px}.brand span{color:#9aa6b8;font-size:12px}.nav-group{display:grid;gap:3px;margin-top:12px}.nav-group p{margin:0;padding:0 12px 4px;color:#8d95a5;font-size:11px;font-weight:700}.nav-item{display:flex;align-items:center;gap:9px;width:100%;height:32px;border:0;border-radius:8px;padding:0 10px;background:transparent;color:#e7edf8;text-align:left}.nav-item:hover{background:#ffffff14}.nav-item.selected{color:#f8fbff;background:#ffffff1f}.nav-item.selected svg{color:#36a3ff}.workspace{min-width:0;padding:8px 8px 28px 0}.topbar{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.search-box{width:min(430px,100%);display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#ffffff0f}.search-box input{flex:1;border:0;background:transparent;box-shadow:none}.topbar-actions{display:flex;align-items:center;gap:9px}.notice{max-width:380px;color:#a8f2ce;font-size:12px}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;color:#f8fafc;background:#ffffff0f}.logout-button{height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;color:#f8fafc;background:#ffffff0f}.page-stack{display:grid;gap:16px}.page-header{display:flex;justify-content:space-between;gap:18px;align-items:start}.page-header h1{margin:0;font-size:28px;letter-spacing:0}.page-header p{margin:6px 0 0;color:#9eabbc}.metrics-grid,.chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card,.panel{border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#0f151ed1;box-shadow:0 18px 48px #00000038}.metric-card{min-height:116px;display:flex;justify-content:space-between;gap:12px;padding:18px}.metric-card p,.metric-card span,.panel-heading span{margin:0;color:#9eabbc;font-size:12px}.metric-card strong{display:block;margin:8px 0 7px;font-size:27px}.panel{padding:16px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.panel-heading h2,.conversation-heading h2{margin:0;font-size:16px}.chart-frame{height:238px;display:grid;grid-template-rows:1fr auto;gap:10px;overflow:hidden}.chart-panel{overflow:hidden}.chart-frame svg{display:block;width:100%;height:100%;min-height:0;max-height:100%;overflow:hidden;border-radius:8px;background:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:100% 25%,12.5% 100%}.chart-line{stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-line-glow{opacity:.16;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-endpoint{vector-effect:non-scaling-stroke}.chart-axis{display:flex;justify-content:space-between;color:#8e98aa;font-size:11px}.compact-activity{padding:12px 16px}.activity-row{display:grid;grid-template-columns:110px minmax(0,1fr) 150px;gap:10px;align-items:center;padding:8px 0;border-top:1px solid rgba(255,255,255,.07)}.activity-row span,.activity-row em{color:#9eabbc;font-size:12px;font-style:normal}.activity-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.table-panel{overflow-x:auto;padding:0}table{width:100%;border-collapse:collapse}th,td{padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.075);text-align:left;vertical-align:middle;font-size:13px}th{color:#9eabbc;font-size:11px;text-transform:uppercase}.identity{display:grid;gap:3px}.identity span{max-width:280px;overflow:hidden;color:#9eabbc;text-overflow:ellipsis;white-space:nowrap}.row-menu{position:relative;width:max-content}.menu-popover{position:absolute;top:40px;right:0;z-index:4;min-width:178px;padding:6px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#171d27;box-shadow:0 18px 46px #00000057}.danger-menu-item{width:100%;display:flex;align-items:center;gap:8px;border:0;border-radius:8px;padding:9px 10px;color:#ff9a9a;background:transparent;text-align:left}.danger-menu-item:hover{background:#e84d4d21}.messages-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px;min-height:calc(100vh - 98px)}.thread-list,.conversation-panel{min-height:0}.thread-list{display:flex;flex-direction:column;gap:8px}.thread-button{display:grid;gap:5px;width:100%;border:0;border-radius:8px;padding:12px;color:#f8fafc;background:transparent;text-align:left}.thread-button:hover,.thread-button.selected{background:#ffffff1a}.thread-button span,.thread-button em,.conversation-heading p,.message-bubble span{overflow:hidden;color:#9eabbc;font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.conversation-panel{display:grid;grid-template-rows:auto 1fr;gap:14px}.conversation-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}.message-scroll{min-height:0;display:flex;flex-direction:column;gap:10px;overflow-y:auto}.message-bubble{max-width:72%;display:grid;gap:4px;padding:12px;border-radius:14px;background:#ffffff12}.message-bubble p{margin:0;color:#eef4ff;line-height:1.45}.empty-state{padding:28px;color:#9eabbc;text-align:center}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#00000094;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.confirm-modal{width:min(430px,100%);display:grid;gap:12px;padding:24px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:#111821;box-shadow:0 30px 90px #00000073}.confirm-modal h2,.confirm-modal p{margin:0}.confirm-modal p{color:#aeb8c8;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.metrics-grid,.chart-grid,.messages-layout{grid-template-columns:1fr}.topbar,.page-header{flex-direction:column;align-items:stretch}}
