:root{--bg: #0f0e17;--surface: #161426;--surface-2: #1e1b31;--surface-3: #262240;--border: #2b2745;--border-soft: #221f3a;--text: #eae8f6;--text-dim: #9b96b8;--text-faint: #6b6688;--accent: #7d56fa;--accent-2: #9c5efc;--accent-3: #5949f8;--accent-soft: rgba(125, 86, 250, .14);--accent-text: #b9a5fd;--danger: #ef4444;--warn: #f59e0b;--ok: #22c55e;--radius: 12px;--radius-sm: 9px;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .25);--shadow-md: 0 4px 16px rgba(0, 0, 0, .35);--shadow-lg: 0 16px 48px rgba(0, 0, 0, .5);--sidebar-w: 248px;--topbar-h: 56px;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);background-image:radial-gradient(ellipse 70% 40% at 50% -10%,rgba(125,86,250,.1),transparent);background-attachment:fixed;color:var(--text);font-size:14px;line-height:1.55}::selection{background:#7d56fa66}a{color:var(--accent-text);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{letter-spacing:-.01em}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;background:var(--surface-2);border:1px solid var(--border-soft);border-radius:5px;padding:1px 5px}button{font:inherit;cursor:pointer;border:1px solid var(--border);background:var(--surface-2);color:var(--text);padding:8px 14px;border-radius:var(--radius-sm);transition:background .15s,border-color .15s,box-shadow .15s,transform .05s}button:hover{background:var(--surface-3);border-color:#3a3560}button:active{transform:translateY(1px)}button.primary{background:linear-gradient(180deg,var(--accent-2),var(--accent-3));border-color:transparent;color:#fff;font-weight:600;box-shadow:inset 0 1px #ffffff2e,0 2px 8px #5949f859}button.primary:hover{background:linear-gradient(180deg,#a873fd,#6d5ef9);box-shadow:inset 0 1px #ffffff2e,0 2px 12px #5949f880}button.danger{border-color:#5b2326;color:#fca5a5}button.danger:hover{background:#2a1416;border-color:#7a3035}button.ghost{background:transparent}button.ghost:hover{background:var(--surface-2)}button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}button.sm{padding:5px 10px;font-size:13px}input,textarea,select{font:inherit;width:100%;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);padding:9px 11px;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}input::placeholder,textarea::placeholder{color:#5e5979}textarea{resize:vertical;min-height:90px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.6}label{display:block;font-size:13px;color:var(--text-dim);margin-bottom:5px}.field{margin-bottom:14px}.help{color:var(--text-dim);font-size:12px;margin-top:4px}.layout{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-w);background:#161426b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-right:1px solid var(--border);padding:22px 14px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:40;transition:transform .22s ease}.brand{display:flex;align-items:center;gap:9px;padding:0 8px 22px}.brand img{height:30px;display:block}.brand .tag{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text);background:var(--accent-soft);border:1px solid rgba(125,86,250,.3);border-radius:999px;padding:2px 8px;margin-top:4px}.nav{display:flex;flex-direction:column;gap:3px}.nav a{color:var(--text-dim);padding:9px 11px;border-radius:var(--radius-sm);font-weight:500;display:flex;align-items:center;gap:10px;position:relative;transition:background .15s,color .15s}.nav a:hover{background:var(--surface-2);color:var(--text);text-decoration:none}.nav a.active{background:var(--accent-soft);color:var(--accent-text)}.nav a.active:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:18px;border-radius:999px;background:linear-gradient(180deg,var(--accent-2),var(--accent-3))}.nav a svg{width:17px;height:17px;flex:none;opacity:.8}.nav a.active svg{opacity:1}.sidebar .spacer{flex:1}.sidebar .footer{font-size:12px;color:var(--text-faint);padding:10px 8px 0;margin-top:8px;border-top:1px solid var(--border)}.topbar{display:none;position:sticky;top:0;height:var(--topbar-h);align-items:center;gap:12px;padding:0 14px;background:#161426d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);z-index:35}.topbar .menu-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;flex:none}.topbar .menu-btn svg{width:20px;height:20px}.topbar .brand{padding:0;flex:none}.topbar .brand img{height:26px}.topbar .spacer{flex:1}.sidebar-backdrop{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#08070e8c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:38}.main-scroll{flex:1;min-width:0;display:flex;flex-direction:column;min-height:100vh}.main{padding:30px 36px 60px;max-width:1040px;width:100%}.page-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px;gap:16px}.page-head h1{margin:0 0 4px;font-size:22px;letter-spacing:-.015em}.page-head p{margin:0;color:var(--text-dim);max-width:580px}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:30px 0 14px}.section-head:first-of-type{margin-top:0}.section-head h2{margin:0 0 3px;font-size:16px}.section-head p{margin:0;color:var(--text-dim);font-size:13px;max-width:580px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;margin-bottom:16px;box-shadow:var(--shadow-sm)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.card-head h3{margin:0;font-size:15px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.card-sub{color:var(--text-dim);font-size:12.5px;margin:-6px 0 12px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row.end{justify-content:flex-end}.grow{flex:1}.badge{font-size:11.5px;padding:2px 9px;border-radius:999px;border:1px solid var(--border);color:var(--text-dim);white-space:nowrap}.badge.on{background:#22c55e1f;color:#6ee7a0;border-color:#22c55e59}.badge.off{background:#ef44441a;color:#fca5a5;border-color:#ef444459}.badge.scope{background:var(--surface-2)}.slug{font-family:ui-monospace,monospace;font-size:12px;color:var(--text-faint)}.toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.switch{width:38px;height:22px;border-radius:999px;background:var(--border);position:relative;transition:background .15s;flex:none}.switch.on{background:linear-gradient(180deg,var(--accent-2),var(--accent-3))}.switch:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #00000059;transition:left .15s}.switch.on:after{left:18px}.notice{padding:10px 13px;border-radius:var(--radius-sm);margin-bottom:14px;font-size:13px}.notice ul{margin:6px 0 0;padding-left:18px}.notice.error{background:#ef44441a;color:#fca5a5;border:1px solid rgba(239,68,68,.35)}.notice.ok{background:#22c55e1f;color:#6ee7a0;border:1px solid rgba(34,197,94,.35)}.muted{color:var(--text-dim)}.spinner{color:var(--text-dim);padding:48px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}.spinner .ring{width:26px;height:26px;border:2.5px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty{color:var(--text-dim);padding:32px 28px;text-align:center;border:1px dashed var(--border);border-radius:var(--radius)}.mono{font-family:ui-monospace,monospace;font-size:12.5px}.pill-list{display:flex;flex-wrap:wrap;gap:6px}.kw{background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:1px 7px;font-size:12px;color:var(--text-dim)}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.toolbar .search{max-width:300px}.toolbar .count{color:var(--text-dim);font-size:12.5px;margin-left:auto}.chip{font-size:12.5px;padding:4px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);color:var(--text-dim)}.chip:hover{color:var(--text)}.chip.active{background:var(--accent-soft);border-color:#7d56fa73;color:var(--accent-text)}.card.clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.card.clickable:hover{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);transform:translateY(-1px)}.clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.crumbs{font-size:13px;margin-bottom:6px}.crumbs a{color:var(--text-dim)}.badge.status-browsing{background:var(--surface-2)}.badge.status-interested{background:#f59e0b1f;color:#fcd34d;border-color:#f59e0b59}.badge.status-ready-to-buy{background:#22c55e1f;color:#6ee7a0;border-color:#22c55e59}.chat{display:flex;flex-direction:column;gap:8px;max-width:720px}.bubble{padding:9px 13px;border-radius:14px;max-width:85%;white-space:pre-wrap;overflow-wrap:break-word}.bubble.user{align-self:flex-start;background:var(--surface-2);border:1px solid var(--border);border-bottom-left-radius:4px}.bubble.assistant{align-self:flex-end;background:#7d56fa29;border:1px solid rgba(125,86,250,.35);border-bottom-right-radius:4px}.lead-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.lead-grid label{margin-bottom:2px}.table-card{padding:6px 0;overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:13.5px}.table th{text-align:left;color:var(--text-dim);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:8px 14px;border-bottom:1px solid var(--border);white-space:nowrap}.table td{padding:10px 14px;border-bottom:1px solid var(--border);vertical-align:top}.table tr:last-child td{border-bottom:none}.table tbody tr{transition:background .12s}.table tbody tr:hover{background:#7d56fa0f}.blacklist-row{padding:7px 0;border-bottom:1px solid var(--border)}.blacklist-row:last-child{border-bottom:none}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background-image:radial-gradient(ellipse 60% 50% at 50% 0%,rgba(125,86,250,.18),transparent 70%)}.login-card{width:100%;max-width:380px;padding:32px 30px 26px;box-shadow:var(--shadow-lg)}.login-card .brand{justify-content:center;padding-bottom:26px}.login-card .brand img{height:40px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#08070ea6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px;z-index:50}.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;width:100%;max-width:560px;max-height:88vh;overflow:auto;box-shadow:var(--shadow-lg)}.modal h3{margin:0 0 16px}.checks{display:flex;flex-wrap:wrap;gap:8px}.check{display:inline-flex;gap:6px;align-items:center;padding:5px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer}.check input{width:auto}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border);border-radius:999px;border:2px solid var(--bg)}::-webkit-scrollbar-thumb:hover{background:#3a3560}@media(max-width:900px){:root{--sidebar-w: 220px}.main{padding:26px 24px 56px}.lead-grid{grid-template-columns:repeat(2,1fr)}.page-head h1{font-size:20px}}@media(max-width:720px){.topbar{display:flex}.sidebar{position:fixed;left:0;top:0;height:100vh;width:280px;transform:translate(-100%);box-shadow:var(--shadow-lg)}.sidebar.open{transform:translate(0)}.sidebar-backdrop.open{display:block}.main{padding:22px 16px 56px;max-width:none}.page-head{flex-direction:column;align-items:stretch;gap:14px}.page-head .row{justify-content:flex-end}.section-head{flex-direction:column;align-items:stretch;gap:10px}.section-head .row,.section-head button{align-self:flex-start}.lead-grid{grid-template-columns:1fr}.toolbar .search{max-width:none;width:100%}.toolbar .count{margin-left:0;width:100%}.chat{max-width:none}.bubble{max-width:92%}.modal{max-width:none;padding:18px}.modal-backdrop{padding:12px;align-items:flex-end}.modal{border-bottom-left-radius:0;border-bottom-right-radius:0;max-height:92vh}.card-head{flex-direction:column;align-items:flex-start;gap:10px}.card-head .row{align-self:flex-end}}@media(max-width:420px){.main{padding:18px 12px 48px}.card{padding:14px}.login-card{padding:24px 20px 22px}}
