/* Viziradar — shared chrome (topbar, footer, list/card/button primitives).
   Linked by every page; the single source of truth for the common topbar so it
   can't drift. Page-specific styles (home hero, radar shell) stay inline. */
:root { --line:#e3e7ec; --muted:#8a93a0; --bg2:#f5f7fa; --accent:#2a6cdf; }
* { box-sizing:border-box; }
body { margin:0; font:15px/1.5 -apple-system, system-ui, sans-serif; color:#1d1d1f; background:#f5f7fa; }
a { color:var(--accent); }

/* ── topbar ── */
.vr-bar { display:flex; align-items:center; gap:8px; padding:10px 18px; background:#fff; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.vr-brand { display:inline-flex; align-items:center; gap:7px; font-size:18px; font-weight:700; color:#1d1d1f; text-decoration:none; }
.vr-brand:hover { color:var(--accent); }
.vr-ico { color:var(--accent); flex:none; }
.vr-nav { display:flex; align-items:center; gap:4px; margin-left:auto; }
.vr-cat { font-size:13px; padding:5px 11px; border-radius:14px; color:#41506a; text-decoration:none; border:1px solid transparent; cursor:pointer; }
.vr-cat:hover { background:#eef2f8; }
.vr-cat.on { background:var(--accent); color:#fff; }
details.acct { position:relative; }
details.acct > summary { list-style:none; cursor:pointer; font-size:13px; padding:5px 11px; border-radius:14px; color:#41506a; }
details.acct > summary::-webkit-details-marker { display:none; }
details.acct > summary:hover { background:#eef2f8; }
details.acct .menu { position:absolute; right:0; top:calc(100% + 4px); background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:0 8px 24px rgba(20,40,80,.12); min-width:170px; padding:5px; z-index:50; }
details.acct .menu a { display:block; padding:8px 12px; border-radius:7px; color:#1d1d1f; text-decoration:none; font-size:14px; }
details.acct .menu a:hover { background:#eef2f8; }

/* ── list/content pages ── */
.vr-wrap { max-width:760px; margin:28px auto 60px; padding:0 16px; }
.vr-wrap h1 { font-size:22px; font-weight:700; }
.vr-toolbar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin:14px 0 16px; }
.vr-search { flex:1; min-width:200px; font:inherit; padding:9px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.chips { display:flex; gap:6px; flex-wrap:wrap; }
.chip { font-size:12.5px; padding:4px 10px; border-radius:13px; background:#fff; border:1px solid var(--line); color:#41506a; text-decoration:none; cursor:pointer; }
.chip:hover { background:#eef2f8; }
.chip.on { background:var(--accent); color:#fff; border-color:var(--accent); }

/* ── radar row cards ── */
.rcard { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #e7ebf0; border-radius:12px; padding:13px 15px; margin-bottom:10px; }
.rcard .ttl { font-weight:600; min-width:0; }
.rcard .ttl a { color:inherit; text-decoration:none; }
.rcard .ttl a:hover { color:var(--accent); }
.rcard .grow { flex:1; min-width:0; }
.rcard.stack { flex-direction:column; align-items:stretch; gap:9px; }
.rcard.stack .rrow { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }

/* ── badges + meta ── */
.badge-cat { font-size:11px; font-weight:600; background:#eef2f8; color:#41506a; border-radius:10px; padding:3px 9px; white-space:nowrap; }
.badge-lens { font-size:11px; font-weight:600; background:#e7eefb; color:#1a4480; border-radius:10px; padding:3px 9px; white-space:nowrap; }
.badge-priv { font-size:11px; background:#f3f0e6; color:#7a5200; border-radius:10px; padding:3px 9px; white-space:nowrap; }
.meta { font-size:12px; color:var(--muted); white-space:nowrap; }

/* ── buttons ── */
.ract { display:flex; gap:5px; flex-wrap:wrap; }
.btn { font:inherit; font-size:13px; padding:6px 11px; border:1px solid var(--line); border-radius:8px; background:#fff; cursor:pointer; color:#1d1d1f; text-decoration:none; display:inline-block; }
.btn:hover { background:#eef2f8; }
.btn.primary { background:var(--accent); color:#fff; border-color:var(--accent); }
.btn.danger { color:#b00020; border-color:#e3b1b1; }
.btn.sm { font-size:12px; padding:4px 9px; }

/* ── misc ── */
.empty { color:var(--muted); font-size:14px; padding:20px 0; }
.vr-foot { text-align:center; color:#aeb6c0; font-size:12px; padding:22px; }
.vr-foot a { color:#8a93a0; }
