@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap";:root{--bg-gradient: linear-gradient(135deg, #0b0914 0%, #120e25 40%, #030206 100%);--panel-bg: rgba(22, 17, 43, .65);--panel-border: rgba(255, 255, 255, .08);--text-primary: #f7f6fb;--text-secondary: #a9a4c2;--text-muted: #6e6a86;--accent-primary: #6c5ce7;--accent-hover: #5849c4;--accent-glow: rgba(108, 92, 231, .35);--status-analyzing: #e0aaff;--status-human: #00b894;--status-declared: #fdcb6e;--status-covert: #d63031;--font-family: "Inter", "Outfit", system-ui, -apple-system, sans-serif;--font-heading: "Outfit", sans-serif;--transition-smooth: all .3s cubic-bezier(.4, 0, .2, 1);--tooltip-bg: #1c1830}*{box-sizing:border-box}body{margin:0;padding:0;background:var(--bg-gradient);color:var(--text-primary);font-family:var(--font-family);min-height:100vh;display:flex;justify-content:center;align-items:center;overflow:hidden}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#fff3}.app-wrapper{display:flex;flex-direction:column;width:95vw;max-width:960px;height:90vh;background:var(--panel-bg);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--panel-border);border-radius:28px;box-shadow:0 24px 64px #0009;overflow:hidden;position:relative;animation:fadeIn .6s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.app-header{display:flex;align-items:center;justify-content:space-between;padding:20px 32px;border-bottom:1px solid var(--panel-border);background:#0e0b1c66}.account-chip{position:relative}.account-chip-trigger{display:inline-flex;align-items:center;gap:6px;max-width:220px;padding:6px 10px;background:#ffffff0a;border:1px solid var(--panel-border);border-radius:8px;color:var(--text-secondary);font-family:var(--font-family);font-size:.8rem;cursor:pointer;transition:var(--transition-smooth)}.account-chip-trigger:hover,.account-chip-trigger[aria-expanded=true]{color:var(--text-primary);background:#ffffff12;border-color:#ffffff2e}.account-chip-trigger:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}.account-chip-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chip-caret{flex-shrink:0;transition:transform .2s ease}.account-chip-trigger[aria-expanded=true] .account-chip-caret{transform:rotate(180deg)}.account-chip-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:200px;margin:0;padding:6px;list-style:none;background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:10px;box-shadow:0 12px 32px #00000073;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:200}.account-chip-menu li{margin:0}.account-chip-menu li+li{border-top:1px solid var(--panel-border);margin-top:4px;padding-top:4px}.account-chip-menu a,.account-chip-menu button{display:block;width:100%;box-sizing:border-box;text-align:left;padding:8px 10px;background:none;border:none;border-radius:6px;color:var(--text-muted);font-family:var(--font-family);font-size:.85rem;text-decoration:none;cursor:pointer;transition:var(--transition-smooth)}.account-chip-menu a:hover,.account-chip-menu button:hover{color:var(--text-primary);background:#ffffff0f}.account-chip-menu a:focus-visible,.account-chip-menu button:focus-visible{color:var(--text-primary);background:#ffffff0f;outline:2px solid var(--accent-primary);outline-offset:-2px}.app-logo{display:flex;align-items:center;gap:12px}.app-logo h1{font-family:var(--font-heading);font-size:1.35rem;font-weight:600;margin:0;letter-spacing:-.5px;background:linear-gradient(135deg,#fff,#c7c1e6);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.app-logo span{font-size:.75rem;font-weight:500;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-muted);border:1px solid var(--panel-border);padding:4px 8px;border-radius:6px}.status-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:99px;font-size:.8rem;font-weight:600;border:1px solid transparent;transition:var(--transition-smooth)}.status-badge.analyzing{color:var(--status-analyzing);background:#e0aaff14;border-color:#e0aaff33}.status-badge.unknown{color:var(--text-secondary);background:#a9a4c214;border-color:#a9a4c233}.status-badge.verified_human{color:var(--status-human);background:#00b89414;border-color:#00b89433}.status-badge.declared_agent{color:var(--status-declared);background:#fdcb6e14;border-color:#fdcb6e33}.status-badge.covert_agent{color:var(--status-covert);background:#d6303114;border-color:#d6303133}.chat-container{display:flex;flex:1;overflow:hidden;position:relative}.chat-messages{flex:1;overflow-y:auto;padding:32px;display:flex;flex-direction:column;gap:24px}.message{display:flex;flex-direction:column;max-width:75%;animation:messageSlideIn .3s cubic-bezier(.18,.89,.32,1.28) forwards}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.message.user{align-self:flex-end}.message.assistant{align-self:flex-start}.message-label{font-size:.75rem;font-weight:500;color:var(--text-muted);margin-bottom:6px;margin-left:12px}.message.user .message-label{margin-left:0;margin-right:12px;align-self:flex-end}.message-bubble{padding:16px 20px;border-radius:20px;font-size:.95rem;line-height:1.5;white-space:pre-wrap;position:relative;box-shadow:0 4px 12px #0000001a}.message.user .message-bubble{background:var(--accent-primary);color:#fff;border-bottom-right-radius:4px;box-shadow:0 4px 16px var(--accent-glow)}.message.assistant .message-bubble{background:#ffffff0a;color:var(--text-primary);border-bottom-left-radius:4px;border:1px solid var(--panel-border)}.chat-input-panel{padding:24px 32px 32px;border-top:1px solid var(--panel-border);background:#0e0b1c66}.chat-form{display:flex;position:relative;background:#ffffff08;border:1px solid var(--panel-border);border-radius:18px;padding:8px 8px 8px 18px;align-items:center;gap:12px;transition:var(--transition-smooth)}.chat-form:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 4px var(--accent-glow);background:#ffffff0d}.chat-input{flex:1;background:transparent;border:none;outline:none;color:var(--text-primary);font-family:var(--font-family);font-size:.95rem;resize:none;height:44px;padding-top:12px;line-height:1.4}.chat-input::placeholder{color:var(--text-muted)}.chat-submit-btn{background:var(--accent-primary);color:#fff;border:none;border-radius:14px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--transition-smooth)}.chat-submit-btn:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.chat-submit-btn:disabled{background:#ffffff0d;color:var(--text-muted);cursor:not-allowed}.telemetry-dashboard{width:280px;border-left:1px solid var(--panel-border);background:#0a081480;padding:32px 24px;display:flex;flex-direction:column;gap:28px;overflow-y:auto;animation:slideLeft .5s cubic-bezier(.4,0,.2,1)}@keyframes slideLeft{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}.dashboard-title{font-family:var(--font-heading);font-size:.9rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-muted);margin:0}.dashboard-metric{background:#ffffff05;border:1px solid var(--panel-border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:6px}.metric-label{font-size:.75rem;color:var(--text-secondary)}.metric-value{font-family:var(--font-heading);font-size:1.4rem;font-weight:600;color:var(--text-primary)}.metric-value.highlight{color:var(--status-analyzing);text-shadow:0 0 12px rgba(224,170,255,.3)}.blocked-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#07050ceb;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center;z-index:100;animation:fadeIn .4s ease-in-out}.blocked-overlay h2{font-family:var(--font-heading);font-size:2rem;color:var(--status-covert);margin:16px 0 8px;font-weight:600}.blocked-overlay p{color:var(--text-secondary);max-width:480px;line-height:1.6;margin-bottom:24px}.session-expired-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:32px;background:#07050cc7;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:100;animation:fadeIn .4s ease-in-out}.session-expired-card{width:min(92%,30rem);padding:2rem;text-align:center;background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:14px;box-shadow:0 20px 48px #00000080;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.session-expired-icon{color:var(--status-declared)}.session-expired-card h2{font-family:var(--font-heading);font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:12px 0 6px}.session-expired-card p{color:var(--text-secondary);line-height:1.6;margin:0}.session-expired-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;align-items:center;margin-top:1.5rem}.expired-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.1rem;border-radius:8px;font-family:var(--font-family);font-size:.85rem;font-weight:500;cursor:pointer;transition:var(--transition-smooth)}.expired-btn:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}.expired-btn-secondary{background:#ffffff0d;border:1px solid var(--panel-border);color:var(--text-primary)}.expired-btn-secondary:hover{background:#ffffff1a;border-color:#ffffff2e}.expired-btn-primary{background:var(--accent-primary);border:1px solid var(--accent-primary);color:#fff}.expired-btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.expired-btn:disabled{opacity:.6;cursor:not-allowed}.session-expired-hint{margin-top:.85rem!important;color:var(--text-secondary);font-size:.85rem}.session-expired-error{margin-top:1rem!important;color:var(--status-declared)}.investigations-panel{flex:1;overflow-y:auto;padding:2rem}.investigations-title{font-family:var(--font-heading);font-size:1.4rem;font-weight:600;color:var(--text-primary);margin:0 0 1.25rem}.investigations-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;color:var(--text-secondary)}.investigations-table{width:100%;border-collapse:separate;border-spacing:0;background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:12px;overflow:hidden}.investigations-table th{text-align:left;padding:.85rem 1rem;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);background:#ffffff08;border-bottom:1px solid var(--panel-border)}.investigations-table td{padding:.85rem 1rem;font-size:.85rem;color:var(--text-secondary);border-top:1px solid var(--panel-border)}.investigations-table tbody tr:first-child td{border-top:none}.investigations-table tbody tr:hover td{background:#ffffff08}.investigations-link{color:var(--accent-primary);font-family:monospace;text-decoration:none}.investigations-link:hover{color:var(--text-primary);text-decoration:underline}.retry-btn{background:#ffffff0d;border:1px solid var(--panel-border);color:var(--text-primary);padding:12px 24px;border-radius:12px;font-weight:500;cursor:pointer;transition:var(--transition-smooth)}.retry-btn:hover{background:#ffffff1a;border-color:#fff3}.spinner{border:3px solid rgba(255,255,255,.05);border-radius:50%;border-top:3px solid var(--accent-primary);width:24px;height:24px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 32px;border-top:1px solid var(--panel-border);background:#0e0b1c66;font-size:.72rem;color:var(--text-muted)}.app-footer .footer-logo{height:20px;width:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.85;margin-right:8px}.app-footer .footer-copy{display:flex;align-items:center}.app-footer .footer-links{display:flex;align-items:center;gap:14px}.app-footer .footer-links a,.app-footer .footer-links button{color:var(--text-muted);text-decoration:none;transition:var(--transition-smooth)}.app-footer .footer-links a:hover,.app-footer .footer-links button:hover{color:var(--text-primary)}.app-footer .footer-links button{background:none;border:none;padding:0;font:inherit;cursor:pointer}.app-footer a:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px;border-radius:4px;color:var(--text-primary)}.app-footer .footer-debug{font-family:monospace;color:var(--text-secondary);background:#ffffff08;border:1px solid var(--panel-border);border-radius:8px;padding:3px 8px;max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:all;-webkit-user-select:all;transition:var(--transition-smooth)}.app-footer .footer-debug:hover{color:var(--text-primary)}.app-footer .footer-tooltip{position:absolute;bottom:100%;margin-bottom:8px;padding:6px 10px;background:var(--tooltip-bg, #1c1830);border:1px solid var(--panel-border);border-radius:8px;color:var(--text-secondary);font-size:.68rem;white-space:nowrap;box-shadow:0 8px 24px #00000080;z-index:50;pointer-events:none}@media (max-width: 640px){.app-footer{flex-direction:column;gap:6px;text-align:center;padding:12px}}@media (prefers-reduced-motion: reduce){.app-footer a,.app-footer .footer-debug{transition:none}}
