/* JaPassa Ads (1.0.606) — site japassa.com/ads: página pública (ads/index.php) e painel do anunciante (ads/painel.php).
 * Cores aprovadas do JaPassa (80 % neutro, 15 % lilás suave, 5 % violeta). Letra Roboto da própria app (sem Google Fonts). */
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url(/assets/fonts/roboto.latin.400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url(/assets/fonts/roboto.latin-ext.400.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url(/assets/fonts/roboto.latin.700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url(/assets/fonts/roboto.latin-ext.700.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --p: #7C3AED; --ps: #6D28D9; --p2: #8B5CF6; --pl: #A78BFA; --sel: #EEE9FF;
  --bg: #F8F7FA; --sf: #FFFFFF; --tx: #17151C; --tx2: #667078; --ic: #5F676D; --dv: #E7E4EA;
  --ok: #0D874D; --bad: #C62828; --warn: #B45309;
  --sh: 0 1px 2px rgba(23, 21, 28, .05), 0 4px 16px rgba(23, 21, 28, .06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --p: #A78BFA; --ps: #8B5CF6; --sel: rgba(167, 139, 250, .16); --bg: #141218; --sf: #1C1A22; --tx: #ECEAF0; --tx2: #A09AAB; --ic: #B4AEBF; --dv: #2E2B36;
    --ok: #34D399; --bad: #F87171; --warn: #FBBF24; --sh: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.5 Roboto, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--tx); background: var(--bg); }
a { color: var(--ps); }
@media (prefers-color-scheme: dark) { a { color: var(--pl); } }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ad-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ad-narrow { max-width: 760px; }
.ad-muted { color: var(--tx2); }
.lg-d { display: none; }
@media (prefers-color-scheme: dark) { .lg-l { display: none; } .lg-d { display: block; } }

/* Botões */
.ad-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--p); color: #fff; font: 700 16px/1 Roboto, system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.ad-btn:hover { background: var(--ps); }
.ad-btn:active { transform: scale(.98); }
@media (prefers-color-scheme: dark) { .ad-btn { background: #7C3AED; color: #fff; } .ad-btn:hover { background: #6D28D9; } }
.ad-btn-s { min-height: 40px; padding: 0 18px; font-size: 15px; }
.ad-btn-g { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1.5px var(--dv); }
.ad-btn-g:hover { background: var(--sel); }
@media (prefers-color-scheme: dark) { .ad-btn-g { background: transparent; color: var(--tx); } .ad-btn-g:hover { background: var(--sel); } }
.ad-btn-w { background: #fff; color: #6D28D9; }
.ad-btn-w:hover { background: #F3EEFF; }
@media (prefers-color-scheme: dark) { .ad-btn-w { background: #fff; color: #6D28D9; } .ad-btn-w:hover { background: #F3EEFF; } }
.ad-btn:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 2px solid var(--p2); outline-offset: 2px; }

/* Topo */
.ad-top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--sf) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--dv); }
.ad-top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.ad-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.ad-logo img { height: 34px; width: auto; display: block; }
.ad-badge { font: 700 13px/1 Roboto, sans-serif; letter-spacing: .02em; color: var(--ps); background: var(--sel); padding: 5px 9px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .ad-badge { color: var(--pl); } }
.ad-top-nav { display: flex; gap: 24px; margin-left: auto; }
.ad-top-nav a { color: var(--tx2); text-decoration: none; font-size: 15px; }
.ad-top-nav a:hover { color: var(--tx); }
@media (max-width: 760px) { .ad-top-nav { display: none; } .ad-top-in { justify-content: space-between; } }

/* Início */
.ad-hero { padding: 72px 0 56px; background: radial-gradient(1100px 420px at 85% -10%, var(--sel), transparent 70%); }
.ad-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ad-hero h1 { font-size: clamp(36px, 5.2vw, 56px); letter-spacing: -.02em; }
.ad-lead { font-size: clamp(17px, 2vw, 20px); color: var(--tx2); max-width: 560px; }
.ad-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.ad-pill { display: inline-block; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--sf); box-shadow: var(--sh); color: var(--tx2); font-size: 15px; }
.ad-pill strong { color: var(--tx); }
@media (max-width: 860px) { .ad-hero { padding: 40px 0 32px; } .ad-hero-in { grid-template-columns: 1fr; gap: 32px; } }

/* Telemóvel de exemplo */
.ad-phone { justify-self: center; width: 320px; max-width: 100%; padding: 10px; border-radius: 36px; background: #17151C; box-shadow: 0 30px 60px -20px rgba(76, 29, 149, .35), var(--sh); }
.ad-phone-scr { border-radius: 28px; overflow: hidden; background: #fff; color: #17151C; padding-bottom: 8px; }
@media (prefers-color-scheme: dark) { .ad-phone { background: #000; } .ad-phone-scr { background: #1C1A22; color: #ECEAF0; } }
.ad-ph-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 12px; font-weight: 700; font-size: 18px; }
.ad-ph-top .ic { width: 22px; height: 22px; color: #5F676D; }
.ad-ph-row { display: flex; align-items: center; gap: 12px; padding: 10px 18px; }
.ad-ph-av { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.ad-ph-av.a1 { background: #0EA5E9; } .ad-ph-av.a2 { background: #16A34A; } .ad-ph-av.a3 { background: #EEE9FF; color: #6D28D9; } .ad-ph-av.a4 { background: #F97316; }
.ad-ph-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ad-ph-tx b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-ph-tx small { font-size: 13px; color: #667078; line-height: 1.35; }
.ad-ph-tx em { font-style: normal; font-size: 12px; color: #667078; margin-top: 2px; }
.ad-ph-ad { background: #FBFAFD; }
.ad-ph-more { width: 20px; height: 20px; color: #5F676D; }
@media (prefers-color-scheme: dark) { .ad-ph-tx small, .ad-ph-tx em { color: #A09AAB; } .ad-ph-ad { background: #222029; } .ad-ph-av.a3 { background: rgba(167, 139, 250, .16); color: #A78BFA; } }

/* Secções */
.ad-sec { padding: 64px 0; }
.ad-sec-alt { background: var(--sf); border-block: 1px solid var(--dv); }
.ad-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.ad-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ad-card { background: var(--sf); border: 1px solid var(--dv); border-radius: 16px; padding: 24px; }
.ad-sec-alt .ad-card { background: var(--bg); }
.ad-card p { color: var(--tx2); margin: 0; }
.ad-card-wide { grid-column: 1 / -1; }
.ad-ic { width: 28px; height: 28px; color: var(--ps); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .ad-ic { color: var(--pl); } }
.ad-ic-bad { color: var(--bad) !important; }
.ad-rules { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.ad-rules li::first-letter { text-transform: uppercase; }
.ad-rules li { padding: 6px 12px; border-radius: 999px; background: var(--sf); border: 1px solid var(--dv); color: var(--tx2); font-size: 14px; }
@media (max-width: 860px) { .ad-grid3, .ad-grid2 { grid-template-columns: 1fr; } .ad-sec { padding: 44px 0; } }

/* Preço */
.ad-price-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ad-price-card { background: linear-gradient(140deg, #7C3AED, #6D28D9 60%, #5B21B6); color: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 24px 50px -24px rgba(91, 33, 182, .55); }
.ad-price-card h2 { color: #fff; font-size: 20px; opacity: .9; }
.ad-price { font-size: 18px; margin: 0 0 6px; }
.ad-price span { font-size: clamp(48px, 7vw, 64px); font-weight: 700; letter-spacing: -.02em; margin-right: 6px; }
.ad-price-card .ad-muted { color: rgba(255, 255, 255, .8); }
.ad-ex { background: rgba(255, 255, 255, .12); border-radius: 12px; padding: 12px 14px; margin: 18px 0 24px; }
.ad-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ad-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.ad-ok { color: var(--ok); margin-top: 1px; }
@media (max-width: 860px) { .ad-price-in { grid-template-columns: 1fr; gap: 28px; } .ad-price-card { padding: 28px; } }

/* Como funciona */
.ad-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ad-steps li { background: var(--sf); border: 1px solid var(--dv); border-radius: 16px; padding: 24px; }
.ad-steps p { color: var(--tx2); margin: 0; }
.ad-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sel); color: var(--ps); font-weight: 700; margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .ad-n { color: var(--pl); } }
@media (max-width: 960px) { .ad-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ad-steps { grid-template-columns: 1fr; } }

/* Perguntas */
.ad-faq { border-bottom: 1px solid var(--dv); }
.ad-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 700; list-style: none; }
.ad-faq summary::-webkit-details-marker { display: none; }
.ad-chev { color: var(--ic); transition: transform .2s; }
.ad-faq[open] .ad-chev { transform: rotate(180deg); }
.ad-faq p { color: var(--tx2); padding: 0 0 18px; margin: 0; }

.ad-final { padding: 64px 0; text-align: center; background: linear-gradient(140deg, #7C3AED, #5B21B6); color: #fff; }
.ad-final p { opacity: .85; margin-bottom: 24px; }
.ad-foot { padding: 32px 0 40px; color: var(--tx2); font-size: 14px; }
.ad-foot a { color: var(--tx2); }
.ad-foot-in { display: grid; gap: 14px; }
.ad-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ad-langs a { text-decoration: none; }
.ad-langs a[aria-current] { color: var(--tx); font-weight: 700; }
.ad-foot p { margin: 0; }

/* 1.0.608: Termos de publicidade */
.ad-legal { padding-top: 32px; padding-bottom: 48px; }
.ad-legal h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 6px; }
.ad-legal h2 { font-size: 20px; margin: 32px 0 10px; }
.ad-legal p, .ad-legal li { color: var(--tx); line-height: 1.6; }
.ad-legal ul { padding-left: 22px; margin: 0 0 1em; }
.ad-legal li { margin: 4px 0; }
.ap-foot { padding: 24px 0 32px; font-size: 14px; color: var(--tx2); }
.ap-foot a { color: var(--tx2); }
.ad-ml { margin-left: auto; }
/* 1.0.612 — o anúncio aparece em 1.º lugar e pode ter foto (faixa 2:1) por baixo do texto */
.ad-ph-ad { flex-wrap: wrap; row-gap: 8px; }
.ad-ph-ban { flex: 0 0 100%; aspect-ratio: 2 / 1; border-radius: 10px; background: radial-gradient(circle at 25% 70%, #D9964A 0 18%, transparent 19%), radial-gradient(circle at 50% 70%, #D9964A 0 18%, transparent 19%), radial-gradient(circle at 75% 70%, #D9964A 0 18%, transparent 19%), linear-gradient(#F6E4C8, #E7C08F); }
.ad-ph-av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* ================= Painel do anunciante — 1.0.614 (novo: linhas nítidas, cartões numerados, PC e telemóvel) ================= */
[hidden] { display: none !important; }
:root { --ln: #D3D0DB; --ln2: #E7E4EA; --r: 8px; --fc: rgba(124, 58, 237, .16); --okb: #E7F6EE; --wb: #FFF7E6; --bb: #FDECEC; --ib: #F3EFFE; }
@media (prefers-color-scheme: dark) { :root { --ln: #3E3A48; --ln2: #2E2B36; --fc: rgba(167, 139, 250, .22); --okb: rgba(52, 211, 153, .12); --wb: rgba(251, 191, 36, .12); --bb: rgba(248, 113, 113, .12); --ib: rgba(167, 139, 250, .12); } }
.ap-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.ap-body .ad-top { background: var(--sf); backdrop-filter: none; }
.ap-main { flex: 1; padding: 28px 0 64px; }
.ap-muted { color: var(--tx2); }
.ap-acc { display: flex; align-items: center; gap: 10px; margin-left: auto; color: var(--tx2); font-size: 14px; }
.ap-acc b { color: var(--tx); }
.ap-acc select { font: inherit; color: var(--tx); background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 6px 8px; max-width: 220px; }
.ap-ml { margin-left: auto; }

/* Botões do painel (cantos de 8 px: mais nítidos que os redondos da página pública) */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--ln);
  background: var(--sf); color: var(--tx); font: 700 15px/1 Roboto, system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s; }
.ap-btn:hover { background: var(--bg); border-color: #BDB8C7; }
.ap-btn .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.ap-btn-p { background: #7C3AED; border-color: #7C3AED; color: #fff; }
.ap-btn-p:hover { background: #6D28D9; border-color: #6D28D9; }
.ap-btn-bad { color: var(--bad); }
.ap-btn-bad:hover { background: var(--bb); border-color: var(--bad); }
.ap-btn-s { min-height: 36px; padding: 0 12px; font-size: 14px; }
.ap-btn-w { width: 100%; min-height: 48px; }
.ap-btn:disabled { opacity: .45; cursor: default; }
@media (prefers-color-scheme: dark) { .ap-btn:hover { border-color: #57516A; } .ap-btn-p:hover { border-color: #6D28D9; } }

/* Cabeçalho da página */
.ap-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ap-top-t { min-width: 0; }
.ap-top h1 { font-size: 28px; margin: 0; letter-spacing: -.01em; overflow-wrap: anywhere; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ap-top-a { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-crumb { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--tx2); margin-bottom: 6px; min-width: 0; }
.ap-crumb a { color: var(--ps); text-decoration: none; white-space: nowrap; }
.ap-crumb a:hover { text-decoration: underline; }
.ap-crumb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-crumb .ic { width: 16px; height: 16px; color: var(--tx2); }
@media (prefers-color-scheme: dark) { .ap-crumb a { color: var(--pl); } }
.ap-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ln2); margin-bottom: 24px; }
.ap-tab { text-decoration: none; padding: 12px 14px; font: 700 15px Roboto, sans-serif; color: var(--tx2); border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 8px; }
.ap-tab:hover { color: var(--tx); }
.ap-tab[aria-selected="true"] { color: var(--ps); border-color: var(--ps); }
.ap-tab-n { font-size: 12.5px; padding: 2px 8px; border-radius: 999px; background: var(--sel); color: var(--ps); }
@media (prefers-color-scheme: dark) { .ap-tab[aria-selected="true"] { color: var(--pl); border-color: var(--pl); } .ap-tab-n { color: var(--pl); } }

/* Avisos */
.ap-msg { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); margin-bottom: 20px; font-size: 15px; background: var(--ib); border: 1px solid transparent; }
.ap-msg > .ic { width: 20px; height: 20px; flex: none; color: var(--ps); }
.ap-msg.ok { background: var(--okb); } .ap-msg.ok > .ic { color: var(--ok); }
.ap-msg.warn { background: var(--wb); } .ap-msg.warn > .ic { color: var(--warn); }
.ap-msg.bad { background: var(--bb); color: var(--bad); } .ap-msg.bad > .ic { color: var(--bad); }
.ap-msg b { color: var(--tx); }
@media (prefers-color-scheme: dark) { .ap-msg > .ic { color: var(--pl); } }

/* Números */
.ap-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.ap-kpi { display: flex; flex-direction: column; gap: 4px; background: var(--sf); border: 1px solid var(--ln2); border-radius: var(--r); padding: 16px 18px; text-decoration: none; color: inherit; min-width: 0; }
.ap-kpi > span:first-child { display: flex; align-items: center; gap: 6px; color: var(--tx2); font-size: 13.5px; font-weight: 700; }
.ap-kpi > span .ic { width: 16px; height: 16px; }
.ap-kpi b { font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.ap-kpi small { color: var(--tx2); font-size: 13px; }
.ap-kpi-cr { border-color: var(--pl); background: linear-gradient(var(--sf), var(--sf)) padding-box; box-shadow: inset 3px 0 0 #7C3AED; }
.ap-kpi-cr:hover { background: var(--ib); }
.ap-kpi-cr > span:first-child { color: var(--ps); }
@media (prefers-color-scheme: dark) { .ap-kpi-cr > span:first-child { color: var(--pl); } }
.ap-bar { display: block; height: 6px; border-radius: 99px; background: var(--ln2); overflow: hidden; margin: 6px 0 2px; }
.ap-bar i { display: block; height: 100%; border-radius: inherit; background: #7C3AED; }

/* Lista de anúncios (tabela no PC, cartões no telemóvel) */
.ap-tbl { background: var(--sf); border: 1px solid var(--ln2); border-radius: var(--r); overflow: hidden; }
.ap-tr { display: grid; grid-template-columns: minmax(0, 1fr) 170px 190px 110px 220px; gap: 16px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--ln2); }
.ap-tr[data-go] { cursor: pointer; }
.ap-tr[data-go]:hover { background: var(--bg); }
.ap-th { border-top: 0; padding-block: 10px; background: var(--bg); font-size: 12.5px; font-weight: 700; color: var(--tx2); text-transform: uppercase; letter-spacing: .04em; }
.ap-td-ad { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ap-td-tx { display: flex; flex-direction: column; min-width: 0; }
.ap-td-t { font-weight: 700; color: var(--tx); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-td-t:hover { text-decoration: underline; }
.ap-td-s { font-size: 13.5px; color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-td-v { display: flex; flex-direction: column; font-size: 14px; color: var(--tx2); }
.ap-td-v b, .ap-td-c b { color: var(--tx); }
.ap-td-v small { font-size: 12.5px; }
.ap-td-c { font-size: 14px; color: var(--tx2); }
.ap-td-a { display: flex; gap: 8px; justify-content: flex-end; }
.ap-thumb { width: 80px; height: 40px; border-radius: 6px; overflow: hidden; flex: none; background: var(--ln2); display: grid; place-items: center; }
.ap-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-thumb-i { width: 40px; margin-inline: 20px; background: var(--sel); color: var(--ps); font-weight: 700; }
@media (prefers-color-scheme: dark) { .ap-thumb-i { color: var(--pl); } }
@media (max-width: 1080px) { .ap-tr { grid-template-columns: minmax(0, 1fr) 150px 160px 90px 190px; gap: 12px; } }
@media (max-width: 900px) {
  .ap-th { display: none; }
  .ap-tr { grid-template-columns: 1fr auto; grid-template-areas: "ad ad" "st c" "v v" "a a"; gap: 10px 12px; padding: 16px; }
  .ap-tr > :nth-child(1) { grid-area: ad; } .ap-tr > :nth-child(2) { grid-area: st; } .ap-tr > :nth-child(3) { grid-area: v; } .ap-tr > :nth-child(4) { grid-area: c; text-align: right; } .ap-tr > :nth-child(5) { grid-area: a; justify-content: stretch; }
  .ap-td-a .ap-btn { flex: 1; }
  .ap-td-t, .ap-td-s { white-space: normal; }
}

/* Estado */
.ap-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; line-height: 1.2; background: var(--bg); color: var(--tx2); border: 1px solid var(--ln2); white-space: nowrap; vertical-align: middle; }
.ap-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ap-tag.st-active { color: var(--ok); background: var(--okb); border-color: transparent; }
.ap-tag.st-review, .ap-tag.st-approved { color: var(--warn); background: var(--wb); border-color: transparent; }
.ap-tag.st-rejected { color: var(--bad); background: var(--bb); border-color: transparent; }
.ap-tag.st-scheduled { color: var(--ps); background: var(--ib); border-color: transparent; }
.ap-top h1 .ap-tag { font-size: 13px; letter-spacing: 0; }
@media (prefers-color-scheme: dark) { .ap-tag.st-scheduled { color: var(--pl); } }

.ap-empty { text-align: center; padding: 56px 24px; background: var(--sf); border: 1px dashed var(--ln); border-radius: var(--r); }
.ap-empty-ic, .ap-gate-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--sel); color: var(--ps); margin-bottom: 14px; }
.ap-empty h2 { font-size: 22px; }
.ap-empty p { color: var(--tx2); }
.ap-gate { max-width: 520px; margin: 40px auto; text-align: center; background: var(--sf); border: 1px solid var(--ln2); border-radius: 12px; padding: 40px 28px; }
.ap-gate h1 { font-size: 24px; }
.ap-gate p { color: var(--tx2); }
@media (prefers-color-scheme: dark) { .ap-empty-ic, .ap-gate-ic { color: var(--pl); } }

/* Cartões */
.ap-card { background: var(--sf); border: 1px solid var(--ln2); border-radius: 12px; margin-bottom: 16px; scroll-margin-top: 84px; }
.ap-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 22px; border-bottom: 1px solid var(--ln2); }
.ap-card-h h2, .ap-card-h h3 { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 10px; }
.ap-card-h h3 { font-size: 13px; color: var(--tx2); text-transform: uppercase; letter-spacing: .05em; }
.ap-card-h h2 .ic { width: 20px; height: 20px; color: var(--ps); }
.ap-card-h > .ap-muted { font-size: 13.5px; }
.ap-card-b { padding: 20px 22px; }
.ap-card-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--ln2); }
.ap-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #7C3AED; color: #fff; font-size: 13.5px; }
@media (prefers-color-scheme: dark) { .ap-card-h h2 .ic { color: var(--pl); } }

/* Campos */
.ap-f { display: grid; gap: 6px; margin-bottom: 18px; min-width: 0; align-content: start; }
.ap-l { font-weight: 700; font-size: 14px; }
.ap-l small { font-weight: 400; color: var(--tx2); }
.ap-in { width: 100%; min-height: 44px; font: 400 16px/1.35 Roboto, system-ui, sans-serif; color: var(--tx); background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 10px 12px; }
textarea.ap-in { resize: vertical; min-height: 88px; }
select.ap-in { appearance: none; padding-right: 36px; background: var(--sf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667078' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center / 20px; }
.ap-in::placeholder { color: #9A96A3; }
.ap-in:hover { border-color: #BDB8C7; }
.ap-in:focus { outline: none; border-color: #7C3AED; box-shadow: 0 0 0 3px var(--fc); }
.ap-f.err .ap-in { border-color: var(--bad); }
.ap-ferr { color: var(--bad); font-size: 13px; }
.ap-fh { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--tx2); }
.ap-cnt { font-variant-numeric: tabular-nums; }
.ap-hint { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--tx2); margin: 0; }
.ap-hint .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.ap-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .ap-row2 { grid-template-columns: 1fr; } }
@media (prefers-color-scheme: dark) { .ap-in::placeholder { color: #7D7889; } .ap-in:hover { border-color: #57516A; } .ap-in:focus { border-color: #A78BFA; } select.ap-in { background-color: var(--sf); } }

/* Imagem: zona de largar */
.ap-drop { position: relative; display: flex; gap: 16px; align-items: center; padding: 14px; border: 1.5px dashed var(--ln); border-radius: var(--r); background: var(--bg); }
.ap-drop.over { border-color: #7C3AED; background: var(--ib); }
.ap-drop-pv { width: 200px; aspect-ratio: 2 / 1; flex: none; border-radius: 6px; overflow: hidden; display: grid; place-items: center; background: var(--sf); border: 1px solid var(--ln2); color: var(--tx2); }
.ap-drop-pv .ic { width: 32px; height: 32px; stroke-width: 1.5; }
.ap-drop-pv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-drop-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13.5px; color: var(--tx2); }
.ap-drop-tx b { color: var(--tx); font-size: 14.5px; overflow-wrap: anywhere; }
.ap-drop-tx b:empty, .ap-drop-w:empty { display: none; }
.ap-drop-w { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.ap-drop-w .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.ap-drop-w.ok { color: var(--ok); } .ap-drop-w.warn { color: var(--warn); } .ap-drop-w.info { color: var(--ps); }
.ap-drop-b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ap-drop-b label { position: relative; }
.ap-drop-b input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.ap-drop-here { display: none; position: absolute; inset: 0; border-radius: inherit; background: var(--ib); color: var(--ps); font-weight: 700; place-items: center; grid-auto-flow: column; gap: 8px; }
.ap-drop.over .ap-drop-here { display: grid; }
@media (max-width: 640px) { .ap-drop { flex-direction: column; align-items: stretch; } .ap-drop-pv { width: 100%; } }
@media (prefers-color-scheme: dark) { .ap-drop.over { border-color: #A78BFA; } .ap-drop-w.info, .ap-drop-here { color: var(--pl); } }

/* Para onde leva (botões segmentados) */
.ap-segc { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ln); border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.ap-segc label { position: relative; cursor: pointer; }
.ap-segc label + label { border-left: 1px solid var(--ln); }
.ap-segc input { position: absolute; opacity: 0; pointer-events: none; }
.ap-segc span { display: grid; place-items: center; min-height: 44px; padding: 8px 10px; text-align: center; font-weight: 700; font-size: 14.5px; color: var(--tx2); background: var(--sf); }
.ap-segc label:hover span { color: var(--tx); background: var(--bg); }
.ap-segc input:checked + span { background: var(--ib); color: var(--ps); box-shadow: inset 0 -2px 0 #7C3AED; }
.ap-segc input:focus-visible + span { outline: 2px solid #7C3AED; outline-offset: -2px; }
.ap-none { margin: 0 0 4px; padding: 12px 14px; border-radius: var(--r); background: var(--bg); font-size: 14px; }
@media (prefers-color-scheme: dark) { .ap-segc input:checked + span { color: var(--pl); box-shadow: inset 0 -2px 0 #A78BFA; } }

/* Interruptores (onde aparece, línguas) e etiquetas */
.ap-tog { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-tog label { position: relative; cursor: pointer; }
.ap-tog input { position: absolute; opacity: 0; pointer-events: none; }
.ap-tog span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ln); border-radius: var(--r); font-size: 14.5px; background: var(--sf); }
.ap-tog span .ic { width: 16px; height: 16px; stroke-width: 2.6; display: none; }
.ap-tog label:hover span { border-color: #BDB8C7; }
.ap-tog input:checked + span { border-color: #7C3AED; background: var(--ib); color: var(--ps); font-weight: 700; }
.ap-tog input:checked + span .ic { display: block; }
.ap-tog input:focus-visible + span { outline: 2px solid #7C3AED; outline-offset: 2px; }
.ap-tog-s { margin-top: 8px; }
.ap-tog-s span { min-height: 34px; font-size: 13.5px; padding: 0 10px; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ap-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 6px 0 12px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--ln2); font-size: 14px; }
.ap-chip-all { padding-right: 12px; color: var(--tx2); }
.ap-chip button { display: grid; place-items: center; border: 0; background: none; color: var(--tx2); cursor: pointer; width: 26px; height: 26px; border-radius: 6px; }
.ap-chip button .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.ap-chip button:hover { background: var(--ln2); color: var(--tx); }
.ap-add { position: relative; }
.ap-add select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; font-size: 16px; }
@media (prefers-color-scheme: dark) { .ap-tog input:checked + span { border-color: #A78BFA; color: var(--pl); } }

/* Passos */
.ap-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.ap-step { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--ln2); border-radius: var(--r); background: var(--sf); color: var(--tx2); font-size: 14.5px; text-decoration: none; }
.ap-step:hover { border-color: var(--ln); color: var(--tx); }
.ap-step-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ln2); font-size: 12.5px; font-weight: 700; flex: none; }
.ap-step-n .ic { width: 14px; height: 14px; stroke-width: 3; }
.ap-step.done .ap-step-n { background: var(--ok); border-color: var(--ok); color: #fff; }
.ap-step.cur { border-color: #7C3AED; color: var(--tx); font-weight: 700; box-shadow: 0 0 0 3px var(--fc); }
.ap-step.cur .ap-step-n { background: #7C3AED; border-color: #7C3AED; color: #fff; }
@media (max-width: 640px) { .ap-steps { grid-template-columns: repeat(4, 1fr); gap: 6px; } .ap-step { justify-content: center; padding: 8px; font-size: 0; gap: 0; } }
@media (prefers-color-scheme: dark) { .ap-step.done .ap-step-n { color: #0B1A12; } }

/* Grelha: formulário/detalhe + coluna lateral */
.ap-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.ap-side { position: sticky; top: 84px; }
.ap-main-c { min-width: 0; }
.ap-foot-f { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 22px; background: var(--sf); border: 1px solid var(--ln2); border-radius: 12px; }
.ap-foot-f p { margin: 0; font-size: 13.5px; max-width: 460px; }
.ap-foot-b { display: flex; gap: 10px; margin-left: auto; }
@media (max-width: 1000px) { .ap-grid { grid-template-columns: 1fr; } .ap-side { position: static; } }
@media (max-width: 640px) {
  .ap-foot-f { position: sticky; bottom: 0; border-radius: 12px 12px 0 0; margin-inline: -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(23, 21, 28, .08); }
  .ap-foot-f p { display: none; }
  .ap-foot-b { width: 100%; } .ap-foot-b .ap-btn { flex: 1; }
  .ap-card-b { padding: 16px; } .ap-card-h { padding: 14px 16px; }
  .ap-top h1 { font-size: 24px; }
}

/* Pré-visualização (igual à linha do Descobrir na app) */
.ap-ph { border-radius: 30px; padding: 8px; background: #17151C; }
.ap-ph-scr { border-radius: 23px; overflow: hidden; background: #fff; color: #17151C; padding-bottom: 6px; }
.ap-ph-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 10px; font-weight: 700; font-size: 16px; }
.ap-ph-top .ic { width: 20px; height: 20px; color: #5F676D; }
.ap-ph-ad { margin: 0 8px; padding: 10px; border-radius: 12px; background: #F7F5FB; }
.ap-ph-row { display: flex; gap: 10px; align-items: flex-start; }
.ap-ph-av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; flex: none; background: #EEE9FF; color: #6D28D9; }
.ap-ph-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ap-ph-tx b { font-size: 14.5px; overflow-wrap: anywhere; }
.ap-ph-tx small { font-size: 12.5px; color: #667078; line-height: 1.35; overflow-wrap: anywhere; }
.ap-ph-tx em { font-style: normal; font-size: 11.5px; color: #667078; margin-top: 2px; overflow-wrap: anywhere; }
.ap-ph-more { width: 18px; height: 18px; color: #5F676D; }
.ap-ph-pic { display: block; margin-top: 10px; aspect-ratio: 2 / 1; border-radius: 8px; background: #EAE6F0 center / cover no-repeat; }
.ap-ph-sk { display: flex; gap: 10px; align-items: center; padding: 12px 16px; }
.ap-ph-sk i { width: 40px; height: 40px; border-radius: 12px; background: #EEF0F1; flex: none; }
.ap-ph-sk span { display: grid; gap: 6px; flex: 1; }
.ap-ph-sk b { height: 8px; border-radius: 4px; background: #EEF0F1; } .ap-ph-sk b:last-child { width: 60%; }
@media (prefers-color-scheme: dark) { .ap-ph { background: #000; } .ap-ph-scr { background: #1C1A22; color: #ECEAF0; } .ap-ph-ad { background: #24212B; } .ap-ph-av { background: rgba(167, 139, 250, .16); color: #A78BFA; }
  .ap-ph-tx small, .ap-ph-tx em { color: #A09AAB; } .ap-ph-sk i, .ap-ph-sk b { background: #2A2731; } .ap-ph-pic { background-color: #2A2731; } }
.ap-dl { margin: 16px 0 0; display: grid; }
.ap-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--ln2); font-size: 14px; }
.ap-dl dt { color: var(--tx2); flex: none; }
.ap-dl dd { margin: 0; text-align: right; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.ap-dl dd small { font-weight: 400; color: var(--tx2); }

/* Detalhe: gráfico e pagamentos */
.ap-kpis-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .ap-kpis-3 { grid-template-columns: 1fr 1fr; } .ap-kpis-3 .ap-kpi:first-child { grid-column: 1 / -1; } }
.ap-chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; border-bottom: 1px solid var(--ln); }
.ap-col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.ap-col i { display: block; width: 100%; background: #A78BFA; border-radius: 3px 3px 0 0; min-height: 2px; }
.ap-col:hover i { background: #7C3AED; }
.ap-chart-x { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--tx2); margin-top: 6px; }
.ap-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ap-table th, .ap-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--ln2); }
.ap-table tr:last-child td { border-bottom: 0; }
.ap-table th { color: var(--tx2); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.ap-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ap-table .pos { color: var(--ok); font-weight: 700; } .ap-table .neg { color: var(--tx2); }

/* Faturação e crédito */
.ap-bill { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .ap-bill { grid-template-columns: 1fr; } }
.ap-cr-b { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; }
.ap-cr-b b { font-size: 30px; letter-spacing: -.01em; }
.ap-cr .ap-muted { font-size: 13.5px; }
.ap-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; padding: 12px 14px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--ln2); cursor: pointer; }
.ap-check input { accent-color: #7C3AED; width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.ap-check.err { border-color: var(--bad); }
.ap-terms { margin: 4px 0 0; }

/* Janelas (pagar, confirmar) */
.ap-dlg { border: 0; border-radius: 16px; padding: 0; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--sf); color: var(--tx); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.ap-dlg::backdrop { background: rgba(23, 21, 28, .55); }
.ap-dlg-in { padding: 24px; }
.ap-dlg h2 { font-size: 21px; margin: 0 0 2px; }
.ap-dlg-h { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ap-dlg-h .ap-muted { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.ap-dlg-f { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.ap-dlg-s { width: min(400px, calc(100vw - 24px)); }
.ap-x { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: var(--r); background: none; color: var(--tx2); cursor: pointer; }
.ap-x:hover { background: var(--bg); color: var(--tx); }
.ap-amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ap-amt { min-height: 44px; border: 1px solid var(--ln); border-radius: var(--r); background: var(--sf); color: var(--tx); font: 700 15px Roboto, sans-serif; cursor: pointer; }
.ap-amt:hover { border-color: #BDB8C7; }
.ap-amt[aria-checked="true"] { border-color: #7C3AED; background: var(--ib); color: var(--ps); box-shadow: 0 0 0 1px #7C3AED inset; }
.ap-eur { position: relative; margin-top: 8px; }
.ap-eur .ap-in { padding-right: 34px; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.ap-eur .ap-in::-webkit-outer-spin-button, .ap-eur .ap-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ap-eur span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--tx2); font-weight: 700; }
.ap-gives { font-size: 15px; color: var(--tx2); margin: -6px 0 14px; }
.ap-gives b { color: var(--tx); font-size: 18px; }
.ap-err { color: var(--bad); }
.ap-usecr { margin-bottom: 14px; }
.ap-usecr span { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.ap-usecr .ic { width: 18px; height: 18px; color: var(--ps); }
.ap-sum { margin: 0 0 14px; padding: 4px 14px; border: 1px solid var(--ln2); border-radius: var(--r); }
.ap-sum > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; }
.ap-sum > div + div { border-top: 1px solid var(--ln2); }
.ap-sum dt { color: var(--tx2); } .ap-sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.ap-sum .tot dt, .ap-sum .tot dd { color: var(--tx); font-weight: 700; font-size: 16px; }
.ap-cards { display: flex; justify-content: center; gap: 8px; margin: 2px 0 14px; }
.ap-card-l { display: grid; place-items: center; width: 58px; height: 36px; border-radius: 6px; background: #fff; border: 1px solid #E2DFE7; }
.ap-card-l svg { width: 44px; height: 22px; }
.ap-card-l.amex { background: #1F72CD; border-color: #1F72CD; }
.ap-ppb { min-height: 48px; display: grid; gap: 10px; }
.ap-ppb-i { min-height: 48px; }
.ap-ppl { text-align: center; font-size: 14px; margin: 0; }
.ap-note-s { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--tx2); margin: 14px 0 0; }
.ap-note-s .ic { width: 16px; height: 16px; flex: none; margin-top: 1px; }
#ap-crgo { margin-top: 4px; }
@media (prefers-color-scheme: dark) { .ap-amt[aria-checked="true"] { border-color: #A78BFA; color: var(--pl); box-shadow: 0 0 0 1px #A78BFA inset; } .ap-usecr .ic { color: var(--pl); } }
.ap-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #17151C; color: #fff; padding: 12px 18px; border-radius: var(--r); font-size: 15px; z-index: 50; box-shadow: var(--sh); max-width: calc(100vw - 32px); }
@media (prefers-color-scheme: dark) { .ap-toast { background: #ECEAF0; color: #17151C; } }
.ap-foot { padding: 24px 0 32px; font-size: 14px; color: var(--tx2); }
@media (max-width: 640px) { .ap-main { padding-top: 20px; } .ad-wrap { padding: 0 16px; } .ap-kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .ap-kpi b { font-size: 22px; } .ap-thumb-i { margin-inline: 0; } }

/* ================= Página /ads — 1.0.615 (foto verdadeira, garantias, «O seu painel», pagamento, letra maior) ================= */
.ad-ph-photo { background: #F6E4C8; overflow: hidden; display: block; }
.ad-ph-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-hero { padding: 56px 0 48px; }
.ad-hero-in { gap: 40px; }
.ad-guar { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0 0 18px; padding: 0; }
.ad-guar li { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 700; color: var(--tx); }
.ad-guar .ic { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.6; }
.ad-top-nav { align-items: center; }
.ad-top-me { color: var(--ps) !important; font-weight: 700; }
@media (prefers-color-scheme: dark) { .ad-top-me { color: var(--pl) !important; } }
/* letra maior nos textos pequenos */
.ad-card p, .ad-steps p { font-size: 16.5px; line-height: 1.55; }
.ad-rules li { font-size: 15px; padding: 7px 14px; }
.ad-foot { font-size: 15px; }
.ad-ph-tx small { font-size: 13.5px; }
/* Preço: lista + pagamento + nota juntos ao cartão */
.ad-price-in { gap: 48px; }
.ad-price-side { display: grid; gap: 22px; align-content: center; }
.ad-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; border: 1px solid var(--dv); border-radius: 14px; background: var(--bg); }
.ad-pay-t { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.ad-pay-t .ic { width: 18px; height: 18px; color: var(--ok); }
.ad-cards { display: flex; gap: 8px; flex-wrap: wrap; }
.ad-card-l { display: grid; place-items: center; width: 58px; height: 36px; border-radius: 6px; background: #fff; border: 1px solid #E2DFE7; }
.ad-card-l svg { width: 44px; height: 22px; }
.ad-card-l.amex { background: #1F72CD; border-color: #1F72CD; }
.ad-note { margin: 0; font-size: 15px; color: var(--tx2); }
/* O seu painel (desenhado em HTML) */
.ad-dash-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.ad-dash-txt .ad-checks { margin: 18px 0 26px; }
.ad-dash-cta .ic { width: 18px; height: 18px; }
.ad-win { border-radius: 16px; background: var(--bg); border: 1px solid var(--dv); box-shadow: 0 30px 60px -28px rgba(76, 29, 149, .35), var(--sh); overflow: hidden; }
.ad-win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--sf); border-bottom: 1px solid var(--dv); }
.ad-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dv); }
.ad-win-bar span { margin-left: 10px; font-size: 13px; color: var(--tx2); padding: 3px 12px; border-radius: 999px; background: var(--bg); }
.ad-win-b { padding: 18px; display: grid; gap: 14px; }
.ad-win-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ad-win-kpis > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--sf); border: 1px solid var(--dv); min-width: 0; }
.ad-win-kpis span { font-size: 12.5px; font-weight: 700; color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-win-kpis b { font-size: 22px; letter-spacing: -.01em; }
.ad-win-kpis small { font-size: 12.5px; color: var(--tx2); }
.ad-win-bar2 { display: block; height: 5px; border-radius: 9px; background: var(--dv); overflow: hidden; margin-top: 4px; }
.ad-win-bar2 i { display: block; height: 100%; background: #7C3AED; border-radius: inherit; }
.ad-win-chart { display: flex; align-items: flex-end; gap: 5px; height: 120px; padding: 14px; border-radius: 10px; background: var(--sf); border: 1px solid var(--dv); }
.ad-win-chart i { flex: 1; border-radius: 3px 3px 0 0; background: #A78BFA; }
.ad-win-chart i:last-child { background: #7C3AED; }
.ad-win-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--sf); border: 1px solid var(--dv); }
.ad-win-th { width: 72px; height: 36px; border-radius: 6px; overflow: hidden; flex: none; }
.ad-win-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-win-t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ad-win-t b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-win-t small { font-size: 12.5px; color: var(--tx2); }
.ad-win-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 700; color: var(--ok); background: rgba(13, 135, 77, .1); white-space: nowrap; }
.ad-win-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@media (prefers-color-scheme: dark) { .ad-win-tag { background: rgba(52, 211, 153, .12); } }
@media (max-width: 860px) { .ad-dash-in { grid-template-columns: 1fr; gap: 32px; } .ad-hero { padding: 36px 0 32px; } }
@media (max-width: 480px) { .ad-win-kpis { grid-template-columns: 1fr 1fr; } .ad-win-kpis > div:first-child { grid-column: 1 / -1; } .ad-win-b { padding: 12px; } .ad-pay { padding: 14px; } }
.ad-co { margin: 0; }
.ad-co a { color: var(--tx2); }
.ap-back { margin-bottom: 14px; gap: 6px; padding-left: 8px; }
.ap-back .ic { width: 18px; height: 18px; }
.ap-foot p { margin: 6px 0 0; }

/* ===== 1.0.619: logótipo obrigatório, medidas, botão do anúncio, especificações ===== */
.ad-ph-ad .ad-ph-tx b { white-space: normal; }
.ad-ph-logo { background: #EEE9FF; overflow: hidden; }
.ad-ph-cta { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 34px; border-radius: 9px; background: #EEE9FF; color: #6D28D9; font-weight: 700; font-size: 13px; }
.ad-ph-cta .ic { width: 15px; height: 15px; stroke-width: 2.2; }
@media (prefers-color-scheme: dark) { .ad-ph-cta { background: rgba(167, 139, 250, .16); color: #C4B5FD; } }
.ad-sub { margin: -6px 0 22px; }
.ad-spec { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .ad-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ad-spec-row:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ad-spec { grid-template-columns: 1fr; } }
.ad-spec-row { padding: 18px 18px 16px; border: 1px solid var(--ln, #E7E4EA); border-radius: 14px; background: var(--sf, #fff); }
.ad-spec-row dt { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.ad-spec-row dd { margin: 0; color: var(--tx2, #667078); font-size: 14px; line-height: 1.5; }
.ad-spec-req { border-color: #C4B5FD; box-shadow: 0 0 0 1px #EEE9FF inset; }
/* painel: duas caixas de envio (logótipo quadrado e imagem 2:1) */
.ap-l .ap-req { font-weight: 600; color: #6D28D9; font-size: .82em; }
.ap-drop-logo .ap-drop-pv { width: 112px; aspect-ratio: 1; border-radius: 14px; }
.ap-drop-w.bad { color: var(--bad); font-weight: 600; }
.ap-drop.bad { border-color: var(--bad); border-style: solid; }
.ap-fh { font-size: 13px; }
.ap-ph-av { overflow: hidden; }
.ap-ph-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-ph-cta { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 10px; min-height: 34px; border-radius: 9px; background: #EEE9FF; color: #6D28D9; font-weight: 700; font-size: 13px; }
.ap-ph-cta .ic { width: 15px; height: 15px; stroke-width: 2.2; }
@media (prefers-color-scheme: dark) { .ap-l .ap-req { color: #C4B5FD; } .ap-ph-cta { background: rgba(167, 139, 250, .16); color: #C4B5FD; } }
@media (max-width: 640px) { .ap-drop-logo .ap-drop-pv { width: 112px; align-self: center; } }
/* 1.0.620: 4.º destino («Uma conversa comigo»), interesses e vistas descontadas */
.ap-segc-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .ap-segc-4 { grid-template-columns: 1fr 1fr; } .ap-segc-4 label:nth-child(3) { border-left: 0; } .ap-segc-4 label:nth-child(n+3) { border-top: 1px solid var(--ln); } }
.ap-guard { margin: -6px 0 20px; padding: 10px 14px; border-radius: 12px; background: var(--sf); border: 1px solid var(--ln2, var(--ln)); }
.ap-guard .ic { color: var(--ok); }
.ap-guard b { color: var(--tx); }
[data-f="cats"] .ap-fh { margin-top: 6px; }
/* 1.0.620: 3 sítios + «Nunca nas conversas» (4 cartões), regra 18+, tema e aprovação ao vivo no painel */
.ad-grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .ad-grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .ad-grid4 { grid-template-columns: 1fr; } }
.ad-18 { margin: 14px 0 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ad-18t, .ap-18 { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; background: #FDECEC; color: #B42318; font-weight: 700; font-size: 12px; }
@media (prefers-color-scheme: dark) { .ad-18t, .ap-18 { background: rgba(240, 68, 56, .16); color: #FDA29B; } }
.ap-chart .ap-col { cursor: pointer; }
.ap-chart .ap-col.on i { background: #6D28D9; }
.ap-chart-r { margin: 8px 0 0; font-size: 13px; color: var(--tx2); min-height: 18px; }
.ap-chart-r b { color: var(--tx); }
.ap-dl a { color: var(--ps, #6D28D9); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.ap-live { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(23, 21, 28, .45); }
.ap-live-c { width: min(420px, 100%); padding: 28px 24px 22px; border-radius: 18px; background: var(--sf, #fff); color: var(--tx); text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.ap-live-ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #E7F6EE; color: var(--ok); }
.ap-live-ic.bad { background: #FDECEC; color: var(--bad); }
.ap-live-ic .ic { width: 28px; height: 28px; stroke-width: 2.4; }
.ap-live-c h2 { margin: 0 0 6px; font-size: 20px; }
.ap-live-c p { margin: 0 0 18px; color: var(--tx2); overflow-wrap: anywhere; }
.ap-live-b { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (prefers-color-scheme: dark) { .ap-live-ic { background: rgba(52, 211, 153, .14); } .ap-live-ic.bad { background: rgba(240, 68, 56, .16); } }
/* 1.0.621: pré-visualização — 2 comunidades de exemplo por baixo do anúncio (em vez das linhas cinzentas) */
.ap-ph-ex { display: flex; gap: 10px; align-items: center; padding: 11px 16px; border-top: 1px solid #F0EEF3; }
.ap-ph-ex:first-of-type { border-top: 0; }
.ap-ph-a1 { background: #0EA5E9 !important; color: #fff !important; }
.ap-ph-a2 { background: #16A34A !important; color: #fff !important; }
@media (prefers-color-scheme: dark) { .ap-ph-ex { border-top-color: #2A2731; } }
