/* Auditoría Pack · same design language as thepackmarketing.com (light, quiet, one lime accent) */
:root {
  --bg: #ffffff; --bg-alt: #f5f5f7; --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b;
  --line: #d2d2d7; --hair: rgba(0,0,0,.08);
  --lime: #a3e635; --lime-soft: #ecfccb; --lime-ink: #4d7c0f;
  --red: #d70015; --red-soft: #fdecee; --amber: #b25000; --amber-soft: #fff4e5; --blue: #0071e3; --blue-soft: #e8f2fd; --ok: #248a3d; --ok-soft: #eaf7ee;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg-alt); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 20px; }
em { font-style: normal; background: linear-gradient(90deg, #4d7c0f, #16a34a); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(245,245,247,.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.top-in { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; }
.brand i { width: 34px; height: 17px; background: currentColor; -webkit-mask: url(/assets/img/fox-mask.png) center/contain no-repeat; mask: url(/assets/img/fox-mask.png) center/contain no-repeat; }
.brand b { font-weight: 800; } .brand span { font-weight: 400; }
.lang { display: flex; background: #e8e8ed; border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* Intro */
.intro { padding-top: 64px; padding-bottom: 32px; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(163,230,53,.3); }
h1 { font-size: clamp(36px, 6.4vw, 60px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; margin: 0 auto; max-width: 760px; text-wrap: balance; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--ink-2); max-width: 640px; margin: 18px auto 0; text-wrap: pretty; }

/* Cards */
.card { background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 30px rgba(0,0,0,.04); }
h2 { font-size: 24px; letter-spacing: -0.025em; margin: 0 0 6px; }
h3 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 6px; }
.help { color: var(--ink-2); margin: 0 0 16px; font-size: 16px; }
.setup { display: grid; gap: 36px; }
.step h2 { display: flex; align-items: center; gap: 12px; }
.step .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; display: grid; place-items: center; }

.margin { display: flex; align-items: center; gap: 20px; }
.margin input { flex: 1; accent-color: var(--lime-ink); height: 28px; }
.margin output { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; min-width: 84px; text-align: right; font-variant-numeric: tabular-nums; }
.be { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); background: var(--lime-soft); border-radius: var(--r-sm); padding: 10px 14px; }
.be b { color: var(--lime-ink); }
/* WhatsApp sales (optional) */
.wa { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.wa-toggle { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; cursor: pointer; }
.wa-toggle input { width: 22px; height: 22px; accent-color: var(--lime-ink); flex: none; }
.wa-fields { margin-top: 14px; }
.wa-fields .help { margin-bottom: 12px; font-size: 15px; }
.wa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wa-grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.wa-app { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); }
.wa-app a { color: var(--lime-ink); font-weight: 600; }
@media (max-width: 520px) { .wa-grid { grid-template-columns: 1fr; } }

.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 36px 20px; border: 2px dashed var(--line); border-radius: var(--r-md); background: var(--bg-alt); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--lime-ink); background: var(--lime-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.drop svg { width: 34px; height: 34px; color: var(--lime-ink); }
.drop span { font-size: 17px; } .drop small { color: var(--ink-3); font-size: 14px; }
.setup-links { margin-top: 14px; text-align: center; }
.link { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 600; cursor: pointer; font-size: 16px; }
.link:hover { text-decoration: underline; }
.how { margin-top: 18px; border-top: 1px solid var(--hair); padding-top: 14px; }
.how summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.how ol { margin: 12px 0 0; padding-left: 22px; color: var(--ink-2); font-size: 15px; display: grid; gap: 6px; }
.how b { color: var(--ink); }
.privacy { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }
.privacy svg { width: 16px; height: 16px; flex: none; }
.err { color: var(--red); background: var(--red-soft); border-radius: var(--r-sm); padding: 10px 14px; font-size: 15px; margin: 14px 0 0; }

/* Mapping */
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px 18px; margin: 8px 0 24px; }
.map-grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.map-grid label small { color: var(--red); font-weight: 500; }
.input, .map-grid select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 16px; }
.input:focus, .map-grid select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; cursor: pointer; text-decoration: none; transition: transform .15s, opacity .15s; }
.btn:hover { opacity: .9; } .btn:active { transform: scale(.98); } .btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* Report */
.report { padding-top: 48px; padding-bottom: 24px; }
.rep-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rep-head h2 { font-size: 34px; margin: 0; }
.meta { color: var(--ink-2); margin: 4px 0 0; font-size: 15px; }
.rep-actions { display: flex; gap: 18px; }

.score-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.ring { position: relative; width: 140px; height: 140px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring .track { stroke: #ececf0; }
.ring .bar { stroke: var(--c, var(--lime-ink)); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1s cubic-bezier(.22,.61,.36,1); }
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num b { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.ring-num span { font-size: 13px; color: var(--ink-3); }
.grade { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 0; color: var(--c); }
.grade-text { margin: 4px 0 0; font-size: 18px; color: var(--ink-2); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 14px 0 0; }
.kpi { background: #fff; border-radius: var(--r-md); padding: 18px 20px; }
.kpi p { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.kpi b { display: block; font-size: 28px; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 13px; color: var(--ink-3); }
.kpi.bad b { color: var(--red); } .kpi.good b { color: var(--ok); }

.sec { font-size: 24px; margin: 40px 0 14px; }
.findings { display: grid; gap: 12px; }
.find { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #fff; border-radius: var(--r-md); padding: 20px 22px; border-left: 5px solid var(--c); }
.find .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--cs); color: var(--c); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.find h4 { margin: 2px 0 4px; font-size: 18px; letter-spacing: -0.015em; }
.find p { margin: 0; color: var(--ink-2); font-size: 16px; }
.sev-critical { --c: var(--red); --cs: var(--red-soft); }
.sev-warning { --c: var(--amber); --cs: var(--amber-soft); }
.sev-info { --c: var(--blue); --cs: var(--blue-soft); }
.sev-good { --c: var(--ok); --cs: var(--ok-soft); }

/* Lock */
.locked { display: grid; margin-top: 12px; }
.locked > * { grid-area: 1 / 1; }
.blur { filter: blur(7px); opacity: .55; pointer-events: none; user-select: none; max-height: 640px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.lock { align-self: start; justify-self: center; margin-top: 24px; width: min(520px, 100%); display: grid; gap: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.14); }
.lock h3 { font-size: 26px; }
.lock .help { margin: 0; }
.lock label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.lock .btn { width: 100%; margin-top: 6px; background: var(--lime); color: #000; }
.gets { list-style: none; padding: 0; margin: 2px 0 4px; display: grid; gap: 6px; font-size: 15px; }
.gets li { display: flex; gap: 10px; align-items: center; }
.gets li::before { content: '✓'; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--lime-soft); color: var(--lime-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.legal { font-size: 12px; color: var(--ink-3); margin: 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

.plan { margin: 0; padding: 26px 26px 26px 50px; display: grid; gap: 12px; }
.plan li { padding-left: 6px; }
.plan li::marker { font-weight: 800; color: var(--lime-ink); }

.tbl { background: #fff; border-radius: var(--r-md); padding: 6px 0; margin-bottom: 14px; overflow-x: auto; }
.tbl h4 { margin: 12px 20px 6px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.tbl h4 i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 20px; text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; white-space: normal; min-width: 180px; }
th { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; }
td { border-top: 1px solid var(--hair); }
td small { display: block; color: var(--ink-3); font-size: 12px; }
.row-btns { margin-top: 18px; }

.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.offer { display: flex; flex-direction: column; align-items: flex-start; }
.offer .btn { margin-top: auto; }
.offer.dark { background: #000; color: #f5f5f7; } .offer.dark .help { color: #a1a1a6; } .offer.dark .btn { background: var(--lime); color: #000; }
.price { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; } .price b { font-size: 26px; color: var(--ink); }
.ok { color: var(--ok); font-weight: 600; margin: 12px 0 0; }

.disclaimer { margin: 36px 0 0; font-size: 13px; color: var(--ink-3); text-align: center; }
.foot { padding-top: 32px; padding-bottom: 48px; font-size: 13px; color: var(--ink-3); text-align: center; }

@media (max-width: 640px) {
  .card { padding: 24px 20px; border-radius: 22px; }
  .intro { padding-top: 40px; }
  .score-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .offers { grid-template-columns: 1fr; }
  .rep-head h2 { font-size: 28px; }
  th, td { padding: 9px 12px; }
}

@media print {
  body { background: #fff; }
  .top, #intro, #setup, #mapping, .no-print, .foot, #locked { display: none !important; }
  .report { padding-top: 0; }
  .card, .kpi, .find, .tbl { box-shadow: none; border: 1px solid #e5e5ea; break-inside: avoid; }
  #full { display: block !important; }
}

/* ---------- PackScore on the computer (/app/) ---------- */
.brand .grad { font-weight: 800; background: linear-gradient(90deg, #4d7c0f, #16a34a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top-right { display: flex; align-items: center; gap: 14px; }
.who { font-size: 13px; color: var(--ink-2); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boot { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e2e2e7; border-top-color: var(--lime-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.auth { padding-top: 56px; padding-bottom: 24px; }
.auth-card { max-width: 480px; margin: 0 auto; }
.auth-card h1 { font-size: 34px; text-align: left; margin: 0 0 8px; }
.auth-card .badge { margin-bottom: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #ececf0; border-radius: 12px; padding: 3px; margin: 18px 0 16px; }
.seg button { border: 0; background: none; padding: 9px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
#auth-form { display: grid; gap: 12px; }
#auth-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.btn.lime { background: var(--lime); color: #000; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; }
.link { border: 0; background: none; padding: 0; color: var(--lime-ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.app-note { text-align: center; font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.app-note a { color: var(--lime-ink); font-weight: 600; }
.legal a { color: var(--lime-ink); }
.legal.left { text-align: left; margin-top: 12px; }

.tabs { display: flex; gap: 6px; padding-top: 22px; padding-bottom: 16px; overflow-x: auto; }
.tabs button { flex: none; border: 0; background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.tabs button[aria-selected="true"] { background: var(--lime); color: #000; }
.view { padding-bottom: 24px; display: grid; gap: 16px; }
.view.report { display: block; }
.view .card h2 { margin-bottom: 6px; }

.drop { display: grid; justify-items: center; gap: 6px; padding: 36px 20px; border: 2px dashed #c7c7cc; border-radius: var(--r-md); background: var(--bg-alt); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--lime-ink); background: var(--lime-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop svg { width: 34px; height: 34px; color: var(--lime-ink); }
.drop small { color: var(--ink-3); font-size: 14px; }
.how { margin-top: 16px; }
.how summary { cursor: pointer; font-weight: 600; color: var(--lime-ink); }
.how ol { margin: 10px 0 0; padding-left: 22px; color: var(--ink-2); display: grid; gap: 6px; font-size: 15px; }

.list { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r-md); padding: 14px 18px; box-shadow: 0 1px 2px rgba(0,0,0,.04); cursor: default; }
#history-list .row { cursor: pointer; }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-main small { color: var(--ink-3); font-size: 13px; }
.pill { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: var(--c); box-shadow: inset 0 0 0 4px var(--c); }
.pill.wa { --c: var(--ok); width: 34px; height: 34px; font-size: 15px; box-shadow: none; background: var(--ok-soft); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.danger-link { color: var(--red); font-size: 14px; }
.btn.danger { background: var(--red); }
.amt { font-variant-numeric: tabular-nums; font-size: 18px; }
.day { margin: 14px 4px 2px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.center { text-align: center; }
.empty { text-align: center; }

.real h3 { margin-bottom: 10px; }
.real-row { display: flex; align-items: center; gap: 22px; }
.real-row small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.real-row b { font-size: 34px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.real-row b.muted { color: var(--ink-3); font-size: 28px; } .real-row b.good { color: var(--ok); } .real-row b.warn { color: var(--amber); }
.real-row .arrow { color: var(--ink-3); font-size: 22px; }
.real .help { margin: 12px 0 0; font-size: 15px; }

.sale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 16px; }
.sale-grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sale-grid .wide { grid-column: span 2; }
select.input { appearance: auto; }
.export { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.export .help { margin: 0; font-size: 15px; }

.settings { display: grid; gap: 4px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--hair); }
.set-row .help { margin: 2px 0 0; font-size: 14px; }
.set-row.toggle { cursor: pointer; }
.set-row.toggle span { display: grid; }
.set-row input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--lime-ink); flex: none; }
.set-row .margin { min-width: 260px; display: flex; align-items: center; gap: 14px; }
.set-row .margin input { flex: 1; accent-color: var(--lime-ink); }
.set-row .margin output { font-weight: 800; font-size: 22px; min-width: 56px; text-align: right; }
.input.narrow { width: auto; min-width: 200px; }
.row-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.back { margin-bottom: 8px; }
.plan-card { padding: 22px 26px; }
.plan-head { font-size: 14px; color: var(--ink-3); font-weight: 600; text-align: right; margin-bottom: 6px; }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--hair); cursor: pointer; }
.step:first-child { border-top: 0; }
.step input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ok); flex: none; }
.step.on span { text-decoration: line-through; color: var(--ink-3); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #1d1d1f; color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 50; }

@media (max-width: 640px) {
  .who { display: none; }
  .auth { padding-top: 28px; }
  .sale-grid { grid-template-columns: 1fr; } .sale-grid .wide { grid-column: auto; }
  .export, .set-row { flex-direction: column; align-items: stretch; }
  .set-row .margin { min-width: 0; }
  .row { flex-wrap: wrap; }
  .row-main { flex-basis: calc(100% - 70px); }
}

/* Meta Ads connection */
.meta-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.meta-head h2 { margin: 0 0 2px; }
.meta-head .help { margin: 0; }
.meta-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #0064e0; color: #fff; display: grid; place-items: center; }
.meta-ic svg { width: 24px; height: 24px; }
.meta-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.meta-row label { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.meta-row label.narrow { flex: 0 1 150px; }
.meta-row .btn { flex: 0 0 auto; }
.meta-links { margin-top: 12px; font-size: 14px; color: #8a8a8e; }


/* ---------- Both themes: new font, wolf logo, green accents, theme button ---------- */
:root { --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --brand: linear-gradient(90deg, #a3e635, #4ade80); }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; }
h1 { font-weight: 400; }
.brand i { width: 30px; height: 18px; background: linear-gradient(90deg, #4d7c0f, #16a34a); -webkit-mask-image: url(/assets/img/wolf.svg); mask-image: url(/assets/img/wolf.svg); }
.btn.lime, .lock .btn { background: var(--brand); color: #0a0a0a; }
.tabs button[aria-selected="true"] { background: var(--brand); color: #0a0a0a; }
.theme-btn { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: #e8e8ed; color: var(--ink-2); cursor: pointer; }
.theme-btn:hover { color: var(--ink); }
.theme-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-btn .i-sun { display: none; }
.theme-btn .i-moon { fill: currentColor; stroke: none; }
html[data-theme="dark"] .theme-btn { background: rgba(255,255,255,.06); border: 1px solid var(--hair); }
html[data-theme="dark"] .theme-btn .i-sun { display: block; }
html[data-theme="dark"] .theme-btn .i-moon { display: none; }
html[data-theme="light"] body { background: radial-gradient(1100px 520px at 50% -160px, rgba(163,230,53,.18), transparent 70%), var(--bg-alt) no-repeat; }
html[data-theme="light"] .card { border: 1px solid rgba(0,0,0,.04); }

/* ==========================================================================
   2026 redesign (DARK mode): same black + green look as the new thepackmarketing.com.
   Only colors, type and surfaces change here; layout and behavior stay the same.
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1114; --bg-alt: #07080a; --ink: #f3f4f1; --ink-2: #a6a9b0; --ink-3: #6f737a;
  --line: rgba(255,255,255,.12); --hair: rgba(255,255,255,.07);
  --panel-2: #16191d;
  --lime: #a3e635; --mint: #4ade80; --lime-soft: rgba(163,230,53,.12); --lime-ink: #a3e635;
  --red: #ff6b6b; --red-soft: rgba(255,107,107,.12); --amber: #fbbf24; --amber-soft: rgba(251,191,36,.12);
  --blue: #60a5fa; --blue-soft: rgba(96,165,250,.12); --ok: #4ade80; --ok-soft: rgba(74,222,128,.12);
  --brand: linear-gradient(90deg, #a3e635, #4ade80);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[data-theme="dark"] body { background: radial-gradient(1100px 520px at 50% -160px, rgba(101,163,13,.22), transparent 70%), var(--bg-alt) no-repeat; letter-spacing: -0.01em; }
html[data-theme="dark"] :focus-visible { outline-color: var(--lime); }
html[data-theme="dark"] em, html[data-theme="dark"] .brand .grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3 { font-weight: 500; letter-spacing: -0.035em; }
html[data-theme="dark"] h1 { font-weight: 400; }

/* Header: floating dark glass bar like the site */
html[data-theme="dark"] .top { background: rgba(10,11,13,.72); border-bottom: 1px solid var(--hair); }
html[data-theme="dark"] .brand { color: #fff; }
html[data-theme="dark"] .brand i { width: 30px; height: 18px; background: var(--brand); -webkit-mask-image: url(/assets/img/wolf.svg); mask-image: url(/assets/img/wolf.svg); }
html[data-theme="dark"] .brand b { font-weight: 700; }
html[data-theme="dark"] .lang { background: rgba(255,255,255,.06); border: 1px solid var(--hair); }
html[data-theme="dark"] .lang button[aria-pressed="true"] { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
html[data-theme="dark"] .who { color: var(--ink-3); }

/* Surfaces */
html[data-theme="dark"] .card { background: linear-gradient(180deg, rgba(22,25,29,.92), rgba(15,17,20,.92)); border: 1px solid var(--hair); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
html[data-theme="dark"] .kpi, html[data-theme="dark"] .find, html[data-theme="dark"] .tbl, html[data-theme="dark"] .row { background: var(--bg); border: 1px solid var(--hair); box-shadow: none; }
html[data-theme="dark"] .find { border-left: 4px solid var(--c); }
html[data-theme="dark"] .badge { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--ink-2); font-weight: 500; }
html[data-theme="dark"] .offer.dark { background: linear-gradient(135deg, #0b0d09, #1b2611); border-color: rgba(163,230,53,.3); }

/* Controls */
html[data-theme="dark"] .input, html[data-theme="dark"] .map-grid select { background: #0a0b0d; border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .input::placeholder { color: var(--ink-3); }
html[data-theme="dark"] .input:focus, html[data-theme="dark"] .map-grid select:focus { outline-color: var(--lime); }
html[data-theme="dark"] .btn { background: #f3f4f1; color: #0a0a0a; }
html[data-theme="dark"] .btn.lime, html[data-theme="dark"] .lock .btn, html[data-theme="dark"] .offer.dark .btn { background: var(--brand); color: #0a0a0a; }
html[data-theme="dark"] .btn.lime:hover { box-shadow: 0 8px 30px rgba(163,230,53,.3); opacity: 1; }
html[data-theme="dark"] .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .btn.ghost:hover { background: rgba(255,255,255,.06); opacity: 1; }
html[data-theme="dark"] .btn.danger { background: rgba(255,107,107,.14); color: var(--red); border: 1px solid rgba(255,107,107,.35); }
html[data-theme="dark"] .link { color: var(--lime); }
html[data-theme="dark"] .seg { background: rgba(255,255,255,.05); border: 1px solid var(--hair); }
html[data-theme="dark"] .seg button[aria-selected="true"] { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
html[data-theme="dark"] .tabs button { background: rgba(255,255,255,.05); border: 1px solid var(--hair); box-shadow: none; }
html[data-theme="dark"] .tabs button:hover { color: #fff; }
html[data-theme="dark"] .tabs button[aria-selected="true"] { background: var(--brand); color: #0a0a0a; border-color: transparent; }
html[data-theme="dark"] .drop { background: rgba(255,255,255,.02); border-color: rgba(163,230,53,.28); }
html[data-theme="dark"] .drop:hover, html[data-theme="dark"] .drop.over { background: var(--lime-soft); border-color: var(--lime); }
html[data-theme="dark"] .spinner { border-color: rgba(255,255,255,.1); border-top-color: var(--lime); }
html[data-theme="dark"] .ring .track { stroke: rgba(255,255,255,.08); }
html[data-theme="dark"] .ring .bar { filter: drop-shadow(0 0 8px rgba(163,230,53,.35)); }
html[data-theme="dark"] .be { background: var(--lime-soft); border: 1px solid rgba(163,230,53,.2); }
html[data-theme="dark"] .toast { background: var(--panel-2); border: 1px solid var(--line); color: #fff; }
html[data-theme="dark"] .real-row b.good { color: var(--mint); }
html[data-theme="dark"] .meta-links { color: var(--ink-3); }

/* Print stays light so reports print cleanly */
@media print {
  :root { color-scheme: light; --bg: #fff; --bg-alt: #fff; --ink: #1d1d1f; --ink-2: #55575d; --ink-3: #86868b; --line: #d2d2d7; --hair: #e5e5ea;
    --lime-ink: #4d7c0f; --red: #d70015; --amber: #b25000; --ok: #248a3d; --blue: #0071e3; }
  body { background: #fff; }
  .card, .kpi, .find, .tbl, .row { background: #fff; }
}
.link.danger-link { color: var(--red); }
.pill { line-height: 1; align-self: center; }
.pill.wa { font-size: 16px; padding: 0; margin: 0; border: 0; }
