:root {
  --bg: #050505;
  --fg: #f5f5f5;
  --muted: #9b9b9b;
  --dim: #6b6b6b;
  --border: rgba(255,255,255,0.1);
  --border-strong: rgba(255,255,255,0.22);
  --card: rgba(255,255,255,0.03);
  --card-solid: #0c0c0c;
  --accent: #ffffff;
  --red: #f43f5e;
  --amber: #f59e0b;
  --green: #22c55e;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: 'Inter', system-ui, sans-serif; line-height: 1.5; }
.mono { font-family: 'JetBrains Mono', monospace; }
.dim { color: var(--dim); }
.small { font-size: 12px; }
.fg { color: var(--fg); }
a { color: inherit; text-decoration: none; }
.underline { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: #fff; color: #000; }

.grid-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(5,5,5,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-weight: 800; letter-spacing: -0.02em; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.brand-mark { color: var(--accent); text-shadow: 0 0 14px rgba(255,255,255,0.6); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }
.nav-pill { color: var(--fg) !important; background: #141414; border: 1px solid var(--border-strong); padding: 7px 16px; border-radius: 999px; }
.nav-pill:hover { border-color: #fff; }

/* Hero */
.hero { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 90px 22px 40px; text-align: center; }
.hero-announce { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 18px; margin-bottom: 30px; letter-spacing: 0.03em; }
.hero-title { font-size: clamp(42px, 7vw, 84px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; margin-bottom: 26px; }
.hero-sub { color: var(--muted); font-size: 18px; margin-bottom: 40px; }
.hero-search { max-width: 780px; margin: 0 auto; }
.hs-row { display: flex; align-items: stretch; gap: 6px; background: #0d0d0d; border: 1px solid var(--border-strong); border-radius: 14px; padding: 6px; box-shadow: 0 8px 34px rgba(0,0,0,0.5); }
.hs-select { background: #151515; border: 1px solid var(--border); color: var(--fg); border-radius: 9px; padding: 10px 12px; font-size: 13px; outline: none; min-width: 150px; }
.hs-input { flex: 1; background: none; border: none; color: var(--fg); font-size: 15px; padding: 10px 16px; outline: none; min-width: 0; }
.hs-input::placeholder { color: var(--dim); }
.hs-btn { background: var(--fg); color: #000; border: none; border-radius: 9px; padding: 10px 26px; font-weight: 700; font-size: 14px; }
.hs-btn:hover { opacity: 0.88; }
.hs-hint { margin-top: 14px; font-size: 12px; color: var(--dim); }
.hs-hint a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.hs-hint b { color: var(--fg); }
.hs-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; flex: 0 0 38px; background: #151515; border: 1px solid var(--border); border-radius: 9px; font-size: 15px; }
.hero-quick { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.hero-stats { display: flex; justify-content: center; gap: 64px; margin-top: 60px; flex-wrap: wrap; }
.hs-stat { display: flex; flex-direction: column; gap: 4px; }
.hs-stat b { font-size: 26px; font-weight: 600; }
.hs-stat span { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Features */
.features { position: relative; z-index: 1; max-width: 1120px; margin: 40px auto 0; padding: 0 22px; }
.features-title { font-size: 20px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 0 40px rgba(255,255,255,0.03); }
.f-icon { font-size: 20px; color: var(--accent); margin-bottom: 14px; text-shadow: 0 0 16px rgba(255,255,255,0.5); }
.feature h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Modules */
.modules { position: relative; z-index: 1; max-width: 1120px; margin: 80px auto 0; padding: 0 22px; }
.modules-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.modules-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.module-card { background: var(--card-solid); border: 1px solid var(--border); border-radius: 16px; padding: 26px; transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.module-card::after { content: ''; position: absolute; inset: 0; border-radius: 16px; background: radial-gradient(400px 120px at 20% 0%, rgba(255,255,255,0.05), transparent); pointer-events: none; }
.module-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 18px 50px rgba(0,0,0,0.5); }
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mc-id { font-size: 11px; letter-spacing: 0.1em; }
.module-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.mc-tagline { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.mc-desc { color: var(--dim); font-size: 13px; line-height: 1.65; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 10px; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; letter-spacing: 0.02em; }
.mc-metrics { margin-top: 14px; font-size: 11px; }

/* Pricing */
.pricing { position: relative; z-index: 1; max-width: 1120px; margin: 80px auto 0; padding: 0 22px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan-card { background: var(--card-solid); border: 1px solid var(--border); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.plan-card.popular { border-color: var(--border-strong); box-shadow: 0 0 40px rgba(255,255,255,0.05); }
.plan-name { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.plan-price { margin: 14px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.plan-headline { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.plan-features { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.plan-features li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.check { color: var(--green); }
.plan-cta { display: block; text-align: center; background: var(--fg); color: #000; border-radius: 10px; padding: 11px; font-weight: 700; font-size: 14px; }
.plan-cta.ghost { background: transparent; color: var(--fg); border: 1px solid var(--border-strong); }
.plan-cta:hover { opacity: 0.9; }

/* FAQ */
.faq { position: relative; z-index: 1; max-width: 780px; margin: 80px auto 60px; padding: 0 22px; }
.faq h2 { font-size: 22px; margin-bottom: 20px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-list details { border: 1px solid var(--border); border-radius: 12px; background: var(--card-solid); padding: 16px 18px; }
.faq-list summary { font-weight: 600; cursor: pointer; font-size: 14px; }
.faq-list details[open] summary { margin-bottom: 10px; }
.faq-list details p { color: var(--muted); font-size: 13px; line-height: 1.65; }

/* Footer */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 44px 22px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.footer-brand { font-weight: 800; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.footer p { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 18px; font-size: 13px; color: var(--dim); }
.footer-links a:hover { color: var(--fg); }

/* Auth */
.auth-wrap { position: relative; z-index: 1; min-height: calc(100vh - 160px); display: flex; align-items: center; justify-content: center; padding: 50px 20px; }
.auth-card { width: 100%; max-width: 400px; background: var(--card-solid); border: 1px solid var(--border); border-radius: 16px; padding: 36px; }
.auth-icon { font-size: 26px; margin-bottom: 16px; color: var(--accent); text-shadow: 0 0 18px rgba(255,255,255,0.6); }
.auth-title { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.auth-sub { font-size: 13px; margin-bottom: 24px; }
.auth-error { background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.35); color: #fda4af; font-size: 13px; border-radius: 10px; padding: 11px 14px; margin-bottom: 18px; }
.auth-alt { text-align: center; color: var(--dim); font-size: 13px; margin-top: 20px; }
.auth-alt a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.error-card { text-align: center; }
.error-card .auth-title { margin: 8px 0; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input { background: #0a0a0a; border: 1px solid var(--border); border-radius: 10px; color: var(--fg); padding: 12px 14px; font-size: 14px; outline: none; }
.field input:focus { border-color: var(--border-strong); }
.btn-full { width: 100%; background: var(--fg); color: #000; border: none; border-radius: 10px; padding: 13px; font-weight: 700; font-size: 14px; margin-top: 4px; }
.btn-full:hover { opacity: 0.9; }

/* Pages */
.page { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 44px 22px 80px; }
.page.narrow { max-width: 860px; }
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.page-head p { font-size: 13px; margin-top: 4px; }
.btn-ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--fg); border-radius: 9px; padding: 9px 18px; font-size: 13px; }
.btn-ghost:hover { background: #141414; }
.btn { background: var(--fg); color: #000; border: none; border-radius: 9px; padding: 10px 20px; font-weight: 700; font-size: 13px; }
.btn:hover { opacity: 0.9; }

.search-bar { display: flex; align-items: stretch; gap: 8px; background: #0d0d0d; border: 1px solid var(--border-strong); border-radius: 14px; padding: 6px; margin-bottom: 28px; }
.search-bar .hs-select { min-width: 160px; }
.search-bar .hs-btn { padding: 10px 20px; }

.results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 13px; }
.type-pill { font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
 .result-card { background: var(--card-solid); border: 1px solid var(--border); border-radius: 13px; padding: 18px; display: flex; flex-direction: column; gap: 8px; border-left: 2px solid transparent; }
 .result-card.featured { grid-column: 1 / -1; background: #101012; border-color: var(--border-strong); }
 .sevline-3 { border-left-color: var(--red); }
 .sevline-2 { border-left-color: var(--amber); }
 .sevline-1 { border-left-color: var(--green); }
.rc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rc-source { font-size: 12px; color: var(--fg); font-weight: 600; }
.rc-sev { font-size: 10px; letter-spacing: 0.06em; border-radius: 6px; padding: 2px 8px; }
.sev-0 { color: var(--muted); border: 1px solid var(--border); }
.sev-1 { color: var(--green); border: 1px solid rgba(34,197,94,0.4); }
.sev-2 { color: var(--amber); border: 1px solid rgba(245,158,11,0.4); }
.sev-3 { color: var(--red); border: 1px solid rgba(244,63,94,0.5); }
 .rc-value { font-size: 14px; color: var(--fg); font-weight: 600; word-break: break-all; }
.rc-detail { font-size: 12px; color: var(--muted); line-height: 1.55; word-break: break-word; }
.rc-foot { display: flex; justify-content: space-between; font-size: 11px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--border); }

.no-results, .search-empty { background: var(--card-solid); border: 1px dashed var(--border-strong); border-radius: 14px; padding: 48px 24px; text-align: center; }
.no-results h3, .search-empty h3 { margin: 14px 0 6px; font-size: 16px; }
.no-results p, .search-empty p { color: var(--muted); font-size: 13px; max-width: 420px; margin: 0 auto; }
.search-empty-icon { font-size: 40px; color: var(--dim); }

/* Dashboard */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat-card { background: var(--card-solid); border: 1px solid var(--border); border-radius: 13px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.stat-card span { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-card b { font-size: 22px; font-weight: 700; }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 16px; }
.panel { background: var(--card-solid); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head h2 { font-size: 16px; font-weight: 700; }
.history-list { display: flex; flex-direction: column; }
.history-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--border); font-size: 13px; flex-wrap: wrap; }
.history-row:last-child { border-bottom: none; }
.plan-switch, .add-record { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.plan-switch select { flex: 1; min-width: 160px; }
.acct-form { display: flex; flex-direction: column; gap: 4px; }
.dash-saved { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.35); color: #86efac; font-size: 13px; border-radius: 10px; padding: 11px 14px; margin-bottom: 18px; }
.mini-select { background: #0a0a0a; border: 1px solid var(--border); color: var(--fg); border-radius: 7px; padding: 5px 6px; font-size: 11px; }
.inline-form { display: inline-block; margin-right: 6px; }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; padding: 8px 10px; border-bottom: 1px solid var(--border-strong); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.del-btn { background: none; border: 1px solid var(--border); color: var(--muted); border-radius: 6px; width: 24px; height: 24px; }
.del-btn:hover { color: #fda4af; border-color: rgba(244,63,94,0.5); }

/* Code blocks */
.code-block { background: #080808; border: 1px solid var(--border); border-radius: 12px; padding: 18px; font-size: 13px; line-height: 1.7; overflow-x: auto; margin-top: 12px; }

@media (max-width: 760px) {
  .dash-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .hs-row { flex-direction: column; gap: 8px; }
  .hs-ico { display: none; }
  .hs-select { min-width: 0; }
  .nav-links { gap: 14px; font-size: 13px; }
  .page-head { flex-direction: column; align-items: flex-start; }
}

/* Locked / guest hero */
.hero-cta { display: flex; justify-content: center; gap: 12px; margin: 32px auto 60px; flex-wrap: wrap; }
.btn-hero { display: inline-block; background: var(--fg); color: #000; border: 1px solid var(--fg); border-radius: 10px; padding: 12px 28px; font-weight: 700; font-size: 14px; min-width: 160px; text-align: center; }
.btn-hero:hover { opacity: 0.88; }
.btn-hero.ghost { background: transparent; color: var(--fg); border: 1px solid var(--border-strong); }
.btn-hero.ghost:hover { border-color: #fff; background: #101010; opacity: 1; }

/* OSINT search layout (sidebar like screenshot) */
.osint-layout { display: grid; grid-template-columns: 280px 1fr; gap: 18px; align-items: start; max-width: 1220px; }
.osint-side { background: #0b0b0c; border: 1px solid var(--border); border-radius: 16px; padding: 12px; position: sticky; top: 76px; max-height: calc(100vh - 100px); overflow-y: auto; }
.osint-side-head { display: flex; align-items: center; gap: 10px; background: #131314; border: 1px solid var(--border); border-radius: 11px; padding: 11px 13px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.osint-active-ico { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: #1e1e20; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.osint-active-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osint-caret { color: var(--dim); font-size: 14px; }
.osint-filter { margin: 10px 0 4px; }
.osint-filter input { width: 100%; background: #080808; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--fg); font-size: 11px; letter-spacing: 0.08em; padding: 11px 14px; outline: none; }
.osint-filter input::placeholder { color: var(--dim); }
.osint-filter input:focus { border-color: #fff; }
.osint-group { font-size: 10px; letter-spacing: 0.22em; color: var(--dim); padding: 14px 8px 6px; }
.mod-item { width: 100%; display: flex; align-items: center; gap: 11px; background: transparent; border: none; border-radius: 10px; padding: 8px; color: var(--muted); text-align: left; }
.mod-item:hover { background: #141416; color: var(--fg); }
.mod-item.active { background: #171718; color: var(--fg); }
.mod-ico { width: 32px; height: 32px; flex: 0 0 32px; display: inline-flex; align-items: center; justify-content: center; background: #1b1b1d; border: 1px solid var(--border); border-radius: 9px; font-size: 14px; color: var(--fg); }
.mod-item.active .mod-ico { background: #232326; border-color: var(--border-strong); }
.mod-label { flex: 1; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.8); flex: 0 0 7px; }
.mod-item.locked { opacity: 0.45; cursor: not-allowed; }
.mod-item.locked:hover { background: transparent; color: var(--muted); }
.mod-locked { font-size: 9px; letter-spacing: 0.14em; color: var(--dim); }
.osint-main { min-width: 0; }
@media (max-width: 900px) {
  .osint-layout { grid-template-columns: 1fr; }
  .osint-side { position: static; max-height: none; }
}

/* Dashboard command center */
.dash-page { max-width: 1220px; }
.dash-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.dash-title b { color: var(--fg); }
.dash-sub { font-size: 12px; margin-top: 4px; }
.dash-top-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dash-pill.hl { color: var(--fg); border-color: var(--border-strong); }
.dash-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.dash-toolbar.sub { margin-bottom: 26px; }
.dash-modwrap { display: flex; align-items: center; gap: 10px; background: #0d0d0e; border: 1px solid var(--border-strong); border-radius: 11px; padding: 6px 12px 6px 6px; }
.dash-modico { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: #1c1c1e; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.dash-modselect { background: transparent; border: none; color: var(--fg); font-size: 12px; letter-spacing: 0.08em; outline: none; padding: 8px 4px; max-width: 190px; }
.dash-modselect option { background: #111; }
.dash-pill { display: inline-flex; align-items: center; gap: 6px; background: #0d0d0e; border: 1px solid var(--border); border-radius: 10px; padding: 9px 14px; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.dash-pill b { color: var(--fg); }
.dash-pill.user { color: var(--fg); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.dash-pill.dash-btn, a.dash-pill.dash-btn { cursor: pointer; color: var(--muted); }
button.dash-pill.dash-btn:hover, a.dash-pill.dash-btn:hover { color: var(--fg); border-color: var(--border-strong); background: #141416; }
.dash-command { background: radial-gradient(600px 200px at 50% 0%, rgba(255,255,255,0.05), transparent), #080809; border: 1px solid var(--border); border-radius: 20px; padding: 26px; margin-bottom: 18px; }
.dash-cmd-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.dash-side { background: #0b0b0c; border: 1px solid var(--border); border-radius: 14px; padding: 10px; }
.dash-side .osint-group { padding-top: 6px; }
.dash-side #dashQuick { display: flex; flex-direction: column; gap: 2px; }
.dash-cmd-main { text-align: center; min-width: 0; padding-top: 6px; }
.dash-logo { width: 96px; height: 96px; border-radius: 50%; filter: drop-shadow(0 0 26px rgba(255,255,255,0.18)); margin-bottom: 18px; }
.dash-modname { font-size: 11px; letter-spacing: 0.3em; margin-bottom: 22px; }
.dash-search { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 0 auto; background: #101012; border: 1px solid var(--border-strong); border-radius: 16px; padding: 8px; box-shadow: 0 12px 44px rgba(0,0,0,0.55); }
.dash-searchico { width: 42px; height: 42px; flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; background: #1d1d1f; border: 1px solid var(--border); border-radius: 11px; font-size: 17px; }
.dash-search input { flex: 1; min-width: 0; background: #08080a; border: 1px solid var(--border); border-radius: 11px; color: var(--fg); font-size: 13px; letter-spacing: 0.08em; padding: 13px 16px; outline: none; }
.dash-search input::placeholder { color: var(--dim); }
.dash-search input:focus { border-color: #fff; }
.dash-go { background: var(--fg); color: #000; border: none; border-radius: 11px; padding: 13px 26px; font-weight: 700; font-size: 12px; letter-spacing: 0.1em; }
.dash-go:hover { opacity: 0.88; }
.dash-clear { background: transparent; border: 1px solid var(--border); color: var(--dim); border-radius: 9px; width: 34px; height: 34px; flex: 0 0 34px; font-size: 12px; }
.dash-clear:hover { color: var(--fg); border-color: var(--border-strong); }
.hist-actions { display: inline-flex; align-items: center; gap: 6px; }
.mini-btn { background: transparent; border: 1px solid var(--border); color: var(--dim); border-radius: 7px; padding: 5px 10px; font-size: 10px; letter-spacing: 0.08em; font-family: 'JetBrains Mono', monospace; }
.mini-btn:hover { color: var(--fg); border-color: var(--border-strong); }
.dash-hint { margin-top: 14px; font-size: 10px; letter-spacing: 0.16em; }
.dash-quick { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.q-pill { background: transparent; border: 1px solid var(--border); color: var(--dim); border-radius: 999px; padding: 8px 16px; font-size: 10px; letter-spacing: 0.1em; font-family: 'JetBrains Mono', monospace; }
.q-pill:hover { color: var(--fg); border-color: var(--border-strong); }
.q-pill.active { color: #000; background: var(--fg); border-color: var(--fg); font-weight: 700; }
.dash-recent { margin-top: 28px; }
.dash-recent-title { font-size: 10px; letter-spacing: 0.28em; margin-bottom: 12px; }
.dash-recent-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.recent-pill { background: #101012; border: 1px solid var(--border); border-radius: 9px; color: var(--fg); font-size: 12px; padding: 8px 14px; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-pill:hover { border-color: var(--border-strong); background: #161618; }
@media (max-width: 760px) {
  .dash-search { flex-direction: column; align-items: stretch; }
  .dash-go { width: 100%; }
  .dash-cmd-grid { grid-template-columns: 1fr; }
  .dash-top { align-items: flex-start; flex-direction: column; }
}