:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --surface-2: #f0f1f6;
  --border: #e2e4ec;
  --text: #1b1d29;
  --muted: #6b7085;
  --brand-1: #ff8a1f;
  --brand-2: #f0476b;
  --brand-3: #7c3aed;
  --brand: #e8475f;
  --brand-grad: linear-gradient(135deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --ok: #16a34a;
  --ok-bg: #e7f7ec;
  --warn: #c27803;
  --warn-bg: #fff4dc;
  --bad: #dc2626;
  --bad-bg: #fde8e8;
  --info: #2563eb;
  --info-bg: #e6eefe;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 22, 40, 0.05), 0 4px 16px rgba(20, 22, 40, 0.05);
  --sidebar-w: 264px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1017;
    --surface: #181a24;
    --surface-2: #20232f;
    --border: #2c3040;
    --text: #eceef5;
    --muted: #9aa0b5;
    --ok-bg: #12301d;
    --warn-bg: #3a2c0c;
    --bad-bg: #3a1515;
    --info-bg: #142347;
    --ok: #4ade80;
    --warn: #fbbf24;
    --bad: #f87171;
    --info: #7aa7ff;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Inter, "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }

.app { display: flex; min-height: 100vh; }

/* ---------- Sidebar ---------- */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  text-decoration: none;
  color: var(--text);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text em {
  font-style: normal;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; flex-direction: column; padding: 4px 12px; gap: 2px; }
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.93rem;
}
.nav a:hover { background: var(--surface-2); }
.nav a.active { background: var(--brand-grad); color: #fff; }
.nav .ic { width: 20px; text-align: center; opacity: 0.85; }
.nav-group {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 14px 12px 4px;
  font-weight: 600;
}
.sidebar-foot { margin-top: auto; padding: 14px 20px; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--border); }

/* ---------- Main ---------- */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar h1 { font-size: 1.3rem; font-weight: 750; flex: 1; }
.topbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.menu-btn { display: none; }
.view { padding: 24px 28px 60px; outline: none; max-width: 1400px; width: 100%; }

/* ---------- Building blocks ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card + .card, .stack > * + * { margin-top: 18px; }
.grid > .card, .grid > .stack { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.muted { color: var(--muted); }
.small { font-size: 0.84rem; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.kpi .label { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.kpi .value { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.kpi .sub { color: var(--muted); font-size: 0.8rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 16px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field.span-2 { grid-column: span 2; }
.field.span-all { grid-column: 1 / -1; }
.field label, .label-text { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.field .hint { font-size: 0.76rem; color: var(--muted); }
input, select, textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  width: 100%;
  min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); border-color: var(--brand); }
input[type="checkbox"] { width: auto; }
.input-group { display: flex; }
.input-group input { border-radius: 10px 0 0 10px; }
.input-group .addon {
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  padding: 9px 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.check { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; }
.segmented { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 2px; }
.segmented button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font: inherit; font-size: 0.85rem; cursor: pointer; color: var(--muted); }
.segmented button.on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 8px 14px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--brand-grad); color: #fff; border-color: transparent; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 5px 10px; font-size: 0.8rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.icon-btn { border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--muted); padding: 4px 8px; border-radius: 8px; }
.icon-btn:hover { background: var(--surface-2); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 10px 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
tr:last-child td { border-bottom: 0; }
td input, td select { padding: 6px 8px; font-size: 0.86rem; }
.empty { text-align: center; padding: 34px 10px; color: var(--muted); }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.brand { background: var(--brand-grad); color: #fff; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; border: 1px solid var(--border); }

/* ---------- Calculator ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 18px; align-items: start; }
.result-card { position: sticky; top: 92px; }
.big-price { font-size: 2.3rem; font-weight: 850; letter-spacing: -0.03em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.breakdown { list-style: none; padding: 0; margin: 12px 0 0; }
.breakdown li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; }
.breakdown li:last-child { border-bottom: 0; }
.breakdown li.total { font-weight: 800; font-size: 1rem; border-top: 2px solid var(--border); border-bottom: 0; margin-top: 4px; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; display: flex; margin-top: 12px; }
.bar span { display: block; height: 100%; }
.section-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin: 18px 0 10px; }

/* ---------- Deals ---------- */
.deal { display: flex; flex-direction: column; gap: 10px; position: relative; }
.deal .swatch { height: 6px; border-radius: 99px; }
.deal h3 { font-size: 1rem; }
.deal .price { font-size: 1.35rem; font-weight: 800; }
.deal .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.deal .ribbon { position: absolute; top: 14px; right: 14px; }

/* ---------- Suggestions ---------- */
.sugg { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.sugg:last-child { border-bottom: 0; }
.sugg .sicon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.sugg .sbody { flex: 1; min-width: 0; }
.sugg .sbody p { margin: 3px 0 0; color: var(--muted); font-size: 0.88rem; }
.sicon.restock { background: var(--warn-bg); color: var(--warn); }
.sicon.list { background: var(--info-bg); color: var(--info); }
.sicon.promo { background: var(--bad-bg); color: var(--bad); }
.sicon.price { background: var(--bad-bg); color: var(--bad); }
.sicon.star { background: var(--ok-bg); color: var(--ok); }
.sicon.fil { background: var(--warn-bg); color: var(--warn); }

/* ---------- Misc ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 0.9rem; padding: 10px 14px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--text); border-bottom-color: var(--brand); }
.notice { padding: 12px 14px; border-radius: 10px; font-size: 0.88rem; background: var(--info-bg); color: var(--text); border: 1px solid color-mix(in srgb, var(--info) 25%, transparent); }
.notice.warn { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.84rem; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
pre { background: var(--surface-2); padding: 12px; border-radius: 10px; overflow-x: auto; max-height: 360px; }
.carrier { display: flex; align-items: center; gap: 10px; }
.carrier img { width: 64px; height: 24px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.hero-logo { max-width: 420px; width: 100%; color: var(--text); }

.modal { border: 0; border-radius: 18px; padding: 0; width: min(720px, calc(100vw - 24px)); background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.modal::backdrop { background: rgba(10, 12, 25, 0.5); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 6px; }
.modal-body { padding: 12px 20px; max-height: 70vh; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px 18px; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(30px); background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 12px; font-size: 0.9rem; opacity: 0; transition: 0.25s; pointer-events: none; z-index: 50; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .calc-layout { grid-template-columns: 1fr; }
  .result-card { position: static; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .sidebar {
    position: fixed;
    left: 0;
    z-index: 20;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, 0.25); }
  .menu-btn { display: inline-block; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 10px; padding: 6px 10px; font-size: 1.1rem; cursor: pointer; }
  .topbar { padding: 12px 16px; }
  .topbar h1 { font-size: 1.1rem; }
  .view { padding: 16px 16px 60px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
}
.check.field { flex-direction: row; align-items: center; align-self: end; padding-bottom: 10px; }
td select { min-width: 130px; }

/* ---------- Assinatura ---------- */
.plan-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 28px; font-size: 0.9rem; background: var(--warn-bg); border-bottom: 1px solid var(--border); }
.plan-banner.trial { background: var(--info-bg); }
.plan-banner.bad { background: var(--bad-bg); }
.nav a.locked { opacity: 0.55; }
.nav a .lock { margin-left: auto; font-size: 0.75rem; }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-cards .card { display: flex; flex-direction: column; gap: 10px; }
.plan-cards .card.current { border: 2px solid var(--brand); }
.plan-cards ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; flex: 1; font-size: 0.9rem; }
.plan-cards li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 8px; }
.plan-cards .price { font-size: 1.8rem; font-weight: 850; letter-spacing: -0.02em; }
.lock-view { max-width: 560px; margin: 40px auto; text-align: center; }
.lock-view .big { font-size: 2.6rem; }
@media (max-width: 820px) { .plan-cards { grid-template-columns: 1fr; } .plan-banner { padding: 10px 16px; } }

/* Caixa de e-mail (Administração) */
.mail-grid { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .mail-grid { grid-template-columns: 1fr; } }

/* Gráfico de barras simples (Administração → Visão geral) */
.bars { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 140px; padding-top: 18px; border-bottom: 1px solid var(--border); }
.bars-max { position: absolute; top: 0; left: 0; }
.bar-hit { flex: 1; height: 100%; display: flex; align-items: flex-end; cursor: default; }
.bar-hit:hover .bar { filter: brightness(1.15); }
.bar { width: 100%; background: var(--brand); border-radius: 4px 4px 0 0; }
.bar-tip { position: fixed; z-index: 50; pointer-events: none; background: var(--text); color: var(--surface); font-size: 0.8rem; font-weight: 600; padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
.hbar { height: 8px; background: var(--surface-2); border-radius: 4px; margin-top: 4px; overflow: hidden; }
.hbar > div { height: 100%; background: var(--brand); border-radius: 4px; }

/* Chat de suporte */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; border: 0; border-radius: 999px; padding: 12px 18px; font: inherit; font-weight: 700; color: #fff; background: var(--brand-grad); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); cursor: pointer; display: flex; align-items: center; gap: 6px; }
.chat-badge { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 0.74rem; font-weight: 700; text-align: center; line-height: 18px; margin-left: auto; }
.chat-fab .chat-badge { position: absolute; top: -6px; right: -4px; border: 2px solid var(--surface); }
.chat-badge.static { margin-left: 0; }
.chat-panel { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 36px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25); overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 16px; color: #fff; background: var(--brand-grad); }
.chat-head .icon-btn { color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-body.admin { max-height: 52vh; min-height: 260px; border: 1px solid var(--border); border-radius: 12px; }
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 85%; }
.chat-msg.mine { align-self: flex-end; align-items: flex-end; }
.chat-bubble { padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface); border: 1px solid var(--border); font-size: 0.9rem; line-height: 1.45; word-break: break-word; }
.chat-msg.mine .chat-bubble { background: var(--brand); color: #fff; border-color: transparent; border-radius: 14px 14px 4px 14px; }
.chat-meta { font-size: 0.72rem; color: var(--muted); margin-top: 3px; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-form textarea { flex: 1; resize: none; }
.sup-item { display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--border); background: transparent; padding: 10px 14px; cursor: pointer; font: inherit; color: inherit; }
.sup-item.on, .sup-item:hover { background: var(--surface-2); }
#navAdmin .chat-badge { margin-left: 8px; }
@media (max-width: 600px) { .chat-fab span { display: none; } .chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); } }
.chat-panel[hidden], .chat-fab[hidden], .chat-badge[hidden] { display: none; }
.plan-cards:has(> :only-child) { grid-template-columns: minmax(0, 440px); }

/* Interruptor liga/desliga */
.switch { position: relative; display: inline-block; width: 54px; height: 30px; flex: none; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--border); transition: background 0.2s; }
.switch span::before { content: ''; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); transition: transform 0.2s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::before { transform: translateX(24px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Análise com IA */
.ai-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--brand-1) 10%, var(--surface)), color-mix(in srgb, var(--brand-3) 10%, var(--surface))); }
.ai-ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-grad); font-size: 1.7rem; }
.ai-score { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 50%; border: 6px solid currentColor; text-align: center; line-height: 1; }
.ai-score b { font-size: 2rem; }
.ai-score span { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.ai-score.ok { color: var(--ok); } .ai-score.warn { color: var(--warn); } .ai-score.bad { color: var(--bad); }
.ai-list { margin: 0; padding-left: 4px; list-style: none; display: grid; gap: 8px; }
.ai-action { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--border); }
.ai-action:first-of-type { border-top: 0; }
.ai-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-weight: 800; font-size: 0.9rem; }
.ai-spin { width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; border: 4px solid var(--border); border-top-color: var(--brand); animation: aispin 0.9s linear infinite; }
@keyframes aispin { to { transform: rotate(360deg); } }

/* App instalável: guia de instalação */
.pwa-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(10, 12, 20, 0.55); }
.pwa-box { position: relative; width: min(420px, 100%); background: var(--surface); color: var(--text); border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.pwa-box h3 { margin: 16px 0 10px; font-size: 1.15rem; }
.pwa-box ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; line-height: 1.45; }
.pwa-head { display: flex; gap: 12px; align-items: center; }
.pwa-head img { border-radius: 14px; }
.pwa-head strong { display: block; font-size: 1.05rem; }
.pwa-head span { font-size: 0.82rem; color: var(--muted); }
.pwa-x { position: absolute; top: 10px; right: 10px; border: 0; background: var(--surface-2); color: var(--text); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font: inherit; }
.pwa-key { display: inline-block; padding: 0 6px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.85em; background: var(--surface-2); }
.pwa-note { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); }
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; border: 1px solid #333; min-width: 190px; cursor: pointer; font: inherit; }
.store-btn:hover { background: #222; }
.store-btn .ico { font-size: 1.6rem; line-height: 1; }
.store-btn small { display: block; font-size: 0.7rem; opacity: 0.8; }
.store-btn b { display: block; font-size: 1.02rem; }
