/* Actual Visibility app — same look as actualvisibility.com */
:root {
  color-scheme: light;
  --bg: #ffffff; --panel: #f3f4f5; --card: #ffffff; --ink: #0c0d0e; --ink-2: #4b4f55; --ink-3: #8a8f96;
  --rule: #e4e6e9; --brand: #0d5c57; --brand-ink: #fff; --sub-bg: #cfe8e3; --sub-ink: #0b3d39;
  --bad: #b42318; --bad-bg: #fdecea;
  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(12,13,14,.04), 0 8px 24px rgba(12,13,14,.06);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--panel); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
h1 { font-size: 28px; line-height: 1.2; margin: 8px 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 18px; margin: 0 0 10px; }
p { margin: 0 0 12px; }
.page { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
main.page { padding-top: 24px; padding-bottom: 48px; min-height: 70vh; }
main.narrow { max-width: 560px; }

.topbar { background: var(--bg); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 10; }
.topbar .page { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); text-decoration: none; border-radius: 999px; padding: 8px 16px 8px 12px; font-weight: 600; white-space: nowrap; }
.logo svg { width: 20px; height: 20px; }
.orgname { font-weight: 600; color: var(--ink-2); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 7px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover { background: var(--panel); }
.nav a[aria-current="page"] { background: var(--sub-bg); color: var(--sub-ink); font-weight: 600; }
.right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.right form { margin: 0; }
.who { color: var(--ink-3); font-size: 14px; }

.card { background: var(--card); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card.placeholder { border: 1px dashed var(--rule); box-shadow: none; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid3 .card { margin-bottom: 0; }
.grid3 + .card, .grid3 + section { margin-top: 16px; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .grid3, .cols { grid-template-columns: 1fr; } .who { display: none; } }
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn.small { padding: 6px 12px; font-size: 14px; }
.btn.danger { background: var(--bad); }
.btn.google { background: #fff; color: var(--ink); border: 1px solid var(--rule); width: 100%; }
.btn.google svg { width: 18px; height: 18px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-3); margin: 16px 0; font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.stack { display: grid; gap: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
input[type=email], input[type=search], input:not([type]), select { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px; background: #fff; font-weight: 400; min-width: 0; }
.row input { flex: 1; min-width: 200px; }

.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.fine { color: var(--ink-3); font-size: 13px; margin-top: 12px; }
.error { color: var(--bad); background: var(--bad-bg); padding: 10px 12px; border-radius: 10px; }
.flash { background: var(--sub-bg); color: var(--sub-ink); padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--panel); color: var(--ink-2); vertical-align: middle; }
.pill.ok { background: var(--sub-bg); color: var(--sub-ink); }
.price strong { font-size: 24px; }
.kicker { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.big { font-size: 34px; font-weight: 700; margin: 0 0 6px; }
.big span { font-size: 16px; font-weight: 500; color: var(--ink-3); }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); padding: 8px 6px; border-bottom: 1px solid var(--rule); }
.table td { padding: 10px 6px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.table .actions form { margin: 0; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }

.tools { max-height: 460px; overflow: auto; border: 1px solid var(--rule); border-radius: 12px; margin: 10px 0 14px; }
.tool { display: flex; align-items: center; gap: 10px; font-weight: 400; padding: 9px 12px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.tool:last-child { border-bottom: 0; }
.tool .muted { margin-left: auto; }
.filter { width: 100%; }
.logo-preview { max-height: 60px; max-width: 260px; background: var(--panel); padding: 8px; border-radius: 8px; }

.foot { color: var(--ink-3); font-size: 13px; padding-top: 10px; padding-bottom: 30px; }
