/* Monitoramento PMA Rossi + FXR · Central de Tarefas 5.8.46 */
body:has(#content.pma-page) { overflow-x: hidden; }

#content.pma-page {
  --pma-ink: #12243e;
  --pma-muted: #68778b;
  --pma-line: #dfe6ef;
  --pma-soft: #f5f7fb;
  --pma-card: #fff;
  --pma-navy: #102847;
  --pma-orange: #f15b2a;
  --pma-danger: #d63c52;
  --pma-danger-soft: #fff0f2;
  --pma-ok: #0b9b6c;
  --pma-ok-soft: #eaf8f3;
  --pma-blue: #2d6bdc;
  --pma-blue-soft: #eef4ff;
  --pma-slate: #66758a;
  max-width: none;
  padding: 0;
  color: var(--pma-ink);
  background:
    radial-gradient(circle at 92% 3%, rgba(45,107,220,.08), transparent 28rem),
    linear-gradient(180deg,#eef3f8 0,#f7f9fc 26rem,#f5f7fa 100%);
}

.pma-shell { min-height: calc(100vh - 68px); padding: 26px clamp(18px,2.2vw,38px) 48px; }
.pma-shell * { box-sizing: border-box; }
.pma-shell button,.pma-shell input,.pma-shell select { font: inherit; }

.pma-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 32px;
  min-height: 224px;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(125deg,rgba(8,27,51,.98),rgba(18,60,105,.96) 65%,rgba(24,80,126,.96)),
    var(--pma-navy);
  box-shadow: 0 22px 46px rgba(17,42,75,.18);
}
.pma-hero::before,.pma-hero::after { content:""; position:absolute; z-index:-1; border-radius:50%; pointer-events:none; }
.pma-hero::before { width:310px; height:310px; right:-65px; top:-170px; border:1px solid rgba(255,255,255,.13); box-shadow:0 0 0 44px rgba(255,255,255,.035),0 0 0 94px rgba(255,255,255,.025); }
.pma-hero::after { width:190px; height:190px; right:28%; bottom:-145px; background:rgba(241,91,42,.13); filter:blur(1px); }
.pma-hero > div:first-child { align-self: center; max-width: 850px; }
.pma-hero .eyebrow { margin:16px 0 7px; color:#ff9b71; font-size:11px; font-weight:900; letter-spacing:.16em; }
.pma-hero h1 { margin:0; font-size:clamp(34px,4vw,54px); line-height:1; letter-spacing:-.045em; }
.pma-hero > div:first-child > p:last-child { max-width:780px; margin:14px 0 0; color:#c9d9eb; font-size:15px; line-height:1.6; }
.pma-live { display:inline-flex; align-items:center; gap:8px; color:#b7f6dc; font-size:12px; font-weight:800; }
.pma-live i { width:9px; height:9px; border-radius:50%; background:#34d399; box-shadow:0 0 0 6px rgba(52,211,153,.12); animation:pmaPulse 2s ease-in-out infinite; }
@keyframes pmaPulse { 50% { box-shadow:0 0 0 11px rgba(52,211,153,0); } }
.pma-hero-side { position:relative; z-index:1; align-self:stretch; display:flex; min-width:220px; flex-direction:column; justify-content:center; padding:22px 25px; border:1px solid rgba(255,255,255,.16); border-radius:19px; background:rgba(255,255,255,.08); backdrop-filter:blur(12px); }
.pma-hero-side > span { color:#9eb7d3; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.pma-hero-side > strong { margin-top:7px; font-size:24px; letter-spacing:-.03em; }
.pma-hero-side > small { margin-top:4px; color:#bcd0e4; }
.pma-catalog-pills { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.pma-catalog-pills b { display:inline-flex; align-items:center; gap:5px; padding:6px 8px; border:1px solid rgba(255,255,255,.14); border-radius:999px; color:#fff; background:rgba(255,255,255,.08); font-size:9px; }
.pma-catalog-pills small { color:#bcd0e4; font-weight:600; }
.pma-refresh { margin-top:18px; min-height:41px; border:1px solid rgba(255,255,255,.22)!important; color:#fff!important; background:rgba(255,255,255,.1)!important; }
.pma-refresh:hover { transform:translateY(-1px); background:rgba(255,255,255,.16)!important; }

.pma-kpi-grid { display:grid; grid-template-columns:1.25fr repeat(5,1fr); gap:12px; margin:-38px 18px 22px; position:relative; z-index:2; }
.pma-kpi-grid :is(button,article) { position:relative; min-width:0; min-height:112px; margin:0; padding:19px 20px; overflow:hidden; border:1px solid var(--pma-line); border-radius:17px; text-align:left; color:var(--pma-ink); background:var(--pma-card); box-shadow:0 12px 28px rgba(18,36,62,.09); transition:.2s ease; }
.pma-kpi-grid button { cursor:pointer; }
.pma-kpi-grid :is(button,article)::after { content:""; position:absolute; width:70px; height:70px; right:-28px; bottom:-30px; border-radius:50%; background:currentColor; opacity:.06; }
.pma-kpi-grid button:hover { transform:translateY(-3px); border-color:color-mix(in srgb,currentColor 38%,var(--pma-line)); box-shadow:0 18px 34px rgba(18,36,62,.13); }
.pma-kpi-grid :is(button,article) > span { display:block; color:var(--pma-muted); font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.pma-kpi-grid :is(button,article) > strong { display:block; margin:7px 0 2px; font-size:29px; line-height:1; letter-spacing:-.04em; }
.pma-kpi-grid :is(button,article) > small { color:var(--pma-muted); font-size:11px; }
.pma-kpi-grid .all { color:var(--pma-blue); }
.pma-kpi-grid .below { color:var(--pma-danger); }
.pma-kpi-grid .at { color:var(--pma-ok); }
.pma-kpi-grid .above { color:var(--pma-blue); }
.pma-kpi-grid .empty { color:var(--pma-slate); }
.pma-kpi-grid .promo { color:#e29400; }

.pma-compliance-alert { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 16px; padding:16px 19px; border:1px solid #b8e5d4; border-left:5px solid var(--pma-ok); border-radius:16px; color:#087958; background:var(--pma-ok-soft); }
.pma-compliance-alert.danger { border-color:#f0c4cb; border-left-color:var(--pma-danger); color:#ad293f; background:var(--pma-danger-soft); }
.pma-compliance-alert > div { display:grid; gap:3px; }.pma-compliance-alert span { font-size:9px; font-weight:900; letter-spacing:.11em; }.pma-compliance-alert strong { color:var(--pma-ink); font-size:14px; }.pma-compliance-alert small { color:var(--pma-muted); font-size:10px; }
.pma-compliance-alert .button { flex:none; min-height:39px; border-color:currentColor; color:inherit; background:var(--pma-card); }
.pma-command-bar { display:grid; grid-template-columns:1fr; gap:15px; align-items:stretch; padding:17px; border:1px solid var(--pma-line); border-radius:20px; background:rgba(255,255,255,.9); box-shadow:0 8px 22px rgba(18,36,62,.055); backdrop-filter:blur(10px); }
.pma-command-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:14px; border-bottom:1px solid var(--pma-line); }.pma-command-head > div:first-child { display:grid; gap:3px; }.pma-command-head > div:first-child span { color:var(--pma-orange); font-size:9px; font-weight:900; letter-spacing:.12em; }.pma-command-head > div:first-child strong { color:var(--pma-ink); font-size:14px; }.pma-command-head > div:first-child small { color:var(--pma-muted); font-size:10px; }
#pma-filter-form { display:grid; grid-template-columns:minmax(240px,1.5fr) repeat(5,minmax(135px,.72fr)) auto auto; gap:10px; align-items:end; }
#pma-filter-form label { display:flex; min-width:0; flex-direction:column; gap:6px; }
#pma-filter-form label > span { color:var(--pma-muted); font-size:9px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
#pma-filter-form input,#pma-filter-form select { width:100%; height:43px; padding:0 12px; border:1px solid #d8e0eb; border-radius:11px; outline:none; color:var(--pma-ink); background:#f8fafc; transition:.2s ease; }
#pma-filter-form input:focus,#pma-filter-form select:focus { border-color:#7aa6e8; background:#fff; box-shadow:0 0 0 4px rgba(45,107,220,.09); }
.pma-search > div { position:relative; }
.pma-search i { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:#73849a; font-size:18px; font-style:normal; }
.pma-search input { padding-left:38px!important; }
#pma-filter-form > .button { height:43px; margin:0; white-space:nowrap; }
.pma-report-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.pma-report-actions .button { display:flex; min-width:150px; height:auto; align-items:center; gap:10px; padding:10px 14px; border-radius:13px; text-decoration:none; }
.pma-report-actions b { display:grid; width:38px; height:38px; place-items:center; border-radius:10px; font-size:11px; }
.pma-report-actions span { font-size:11px; font-weight:800; line-height:1.25; }
.pma-pdf { border-color:#f0c6c9!important; color:#a92739!important; background:#fff6f7!important; }
.pma-pdf b { color:#fff; background:#d73d50; }
.pma-excel { border-color:#bfe2d3!important; color:#08724f!important; background:#f1fbf7!important; }
.pma-excel b { color:#fff; background:#0b9769; }

.pma-results-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; padding:27px 5px 14px; }
.pma-results-heading > div:first-child span { color:var(--pma-orange); font-size:10px; font-weight:900; letter-spacing:.14em; }
.pma-results-heading h2 { margin:4px 0 0; color:var(--pma-ink); font-size:22px; letter-spacing:-.025em; }
.pma-legend { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.pma-legend span { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border:1px solid var(--pma-line); border-radius:999px; color:var(--pma-muted); background:var(--pma-card); font-size:10px; font-weight:800; }
.pma-legend span::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.pma-legend .below { color:var(--pma-danger); }
.pma-legend .at { color:var(--pma-ok); }
.pma-legend .above { color:var(--pma-blue); }

.pma-product-list { display:grid; gap:13px; }
.pma-product-card { position:relative; overflow:hidden; border:1px solid var(--pma-line); border-radius:19px; background:var(--pma-card); box-shadow:0 7px 20px rgba(18,36,62,.045); transition:border-color .2s,box-shadow .2s; }
.pma-product-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:#91a0b3; }
.pma-product-card.below::before { background:var(--pma-danger); }
.pma-product-card.at::before { background:var(--pma-ok); }
.pma-product-card.above::before { background:var(--pma-blue); }
.pma-product-card:hover { border-color:#c9d5e4; box-shadow:0 13px 28px rgba(18,36,62,.08); }
.pma-product-card > header { display:grid; grid-template-columns:125px minmax(270px,1.35fr) minmax(140px,.55fr) minmax(155px,.55fr) auto; gap:18px; align-items:center; padding:17px 20px 16px 23px; }
.pma-product-card header span,.pma-price-block > span { display:block; color:var(--pma-muted); font-size:9px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.pma-product-reference strong { display:block; margin-top:4px; color:var(--pma-navy); font-size:17px; }
.pma-product-card header small { display:block; margin-top:3px; color:#8795a8; font-size:10px; }
.pma-product-name { min-width:0; }
.pma-product-name > span { color:var(--pma-orange)!important; }
.pma-product-name h3 { margin:4px 0 0; overflow:hidden; color:var(--pma-ink); font-size:14px; line-height:1.35; text-overflow:ellipsis; }
.pma-official-price strong { display:block; margin-top:4px; color:var(--pma-navy); font-size:21px; letter-spacing:-.03em; }
.pma-official-dual { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:5px; }
.pma-official-dual > span { min-width:0; padding:6px 7px; border:1px solid #e0e7f0; border-radius:9px; background:#f7f9fc; }
.pma-official-dual small { margin:0!important; font-size:7px!important; white-space:nowrap; }
.pma-official-dual strong { margin-top:2px; font-size:13px; }
.pma-product-result { min-width:0; }
.pma-status { display:inline-flex; align-items:center; gap:6px; width:max-content; max-width:100%; padding:6px 9px; border-radius:999px; font-size:9px; font-weight:900; letter-spacing:.03em; text-transform:uppercase; }
.pma-status::before { content:""; width:6px; height:6px; flex:none; border-radius:50%; background:currentColor; }
.pma-status.below { color:#bd2e45; background:var(--pma-danger-soft); }
.pma-status.at { color:#087b58; background:var(--pma-ok-soft); }
.pma-status.above { color:#225ebd; background:var(--pma-blue-soft); }
.pma-status.no_listing,.pma-status.unavailable { color:#637187; background:#f0f3f7; }
.pma-status.not_comparable { color:#74658a; background:#f4f0fa; }
.pma-competitor-button { min-height:39px; padding:0 14px!important; border-color:#cbd8e8!important; color:#153b67!important; background:#f5f8fc!important; white-space:nowrap; }
.pma-competitor-button:hover { color:#fff!important; border-color:#1b4f87!important; background:#1b4f87!important; }

.pma-product-listings { border-top:1px solid #edf1f6; background:#fafbfd; }
.pma-listing-row { position:relative; display:grid; grid-template-columns:minmax(260px,1.5fr) minmax(120px,.52fr) minmax(112px,.46fr) minmax(140px,.55fr) auto; gap:18px; align-items:center; min-height:82px; padding:12px 20px 12px 23px; border-bottom:1px solid #e9eef4; }
.pma-listing-row:last-child { border-bottom:0; }
.pma-listing-row:hover { background:#fff; }
.pma-listing-identity { display:flex; min-width:0; align-items:center; gap:12px; }
.pma-listing-thumb { width:50px; height:50px; flex:none; object-fit:contain; border:1px solid #dfe6ef; border-radius:11px; background:#fff; }
.pma-listing-identity > div { min-width:0; }
.pma-listing-identity span { display:flex; align-items:center; gap:8px; color:#30465f; font-size:10px; font-weight:900; text-transform:uppercase; }
.pma-listing-identity span b { padding:3px 6px; border-radius:999px; color:#087a56; background:#ddf5eb; font-size:8px; }
.pma-listing-identity strong { display:block; margin:4px 0 2px; overflow:hidden; color:var(--pma-ink); font-size:12px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }
.pma-listing-identity small { display:block; overflow:hidden; color:#7d8ca0; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.pma-price-block strong { display:block; margin-top:4px; font-size:16px; letter-spacing:-.02em; }
.pma-price-block small { display:block; margin-top:3px; color:#8492a4; font-size:9px; }
.pma-price-block del { color:#9aa6b5; }
.pma-difference { display:flex; width:max-content; flex-direction:column; }
.pma-difference strong { font-size:14px; }
.pma-difference small { margin-top:2px; font-size:9px; }
.pma-difference.below { color:var(--pma-danger); }
.pma-difference.at { color:var(--pma-ok); }
.pma-difference.above { color:var(--pma-blue); }
.pma-difference.neutral { color:var(--pma-muted); }
.pma-listing-state small { display:block; margin-top:5px; color:#8391a3; font-size:9px; }
.pma-open { min-height:35px; padding:0 12px!important; border-color:#d5deea!important; color:#506176!important; background:#fff!important; text-decoration:none; }
.pma-no-listing { display:flex; align-items:center; gap:13px; padding:18px 23px; color:#68778b; }
.pma-no-listing > span { display:grid; width:38px; height:38px; flex:none; place-items:center; border-radius:11px; color:#7d8da1; background:#edf1f6; font-size:22px; }
.pma-no-listing strong,.pma-no-listing small { display:block; }
.pma-no-listing strong { color:#4f6075; font-size:11px; }
.pma-no-listing small { margin-top:3px; font-size:10px; }

.pma-empty { display:grid; min-height:210px; place-content:center; gap:7px; border:1px dashed #cbd6e4; border-radius:18px; text-align:center; color:var(--pma-muted); background:rgba(255,255,255,.65); }
.pma-empty strong { color:var(--pma-ink); font-size:17px; }
.pma-unmapped,.pma-history-panel { margin-top:16px; overflow:hidden; border:1px solid var(--pma-line); border-radius:18px; background:var(--pma-card); }
.pma-unmapped summary,.pma-history-panel > summary { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:17px 20px; cursor:pointer; list-style:none; }
.pma-unmapped summary::-webkit-details-marker,.pma-history-panel > summary::-webkit-details-marker { display:none; }
.pma-unmapped summary span,.pma-history-panel summary span { display:block; color:var(--pma-orange); font-size:9px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.pma-unmapped summary strong,.pma-history-panel summary strong { display:block; margin-top:4px; color:var(--pma-ink); font-size:13px; }
.pma-unmapped summary b,.pma-history-panel summary b { padding:7px 10px; border-radius:9px; color:#44556a; background:#eef2f7; font-size:10px; }
.pma-unmapped > div { border-top:1px solid var(--pma-line); }
.pma-unmapped article { display:grid; grid-template-columns:minmax(0,1fr) 110px auto; gap:16px; align-items:center; padding:13px 20px; border-bottom:1px solid #edf1f5; }
.pma-unmapped article:last-child { border-bottom:0; }
.pma-unmapped article strong,.pma-unmapped article small { display:block; }
.pma-unmapped article strong { color:var(--pma-ink); font-size:11px; }
.pma-unmapped article small { margin-top:3px; color:var(--pma-muted); font-size:9px; }
.pma-unmapped article > span { font-weight:900; }
.pma-unmapped article a { color:#265fa8; font-size:10px; font-weight:800; text-decoration:none; }

.pma-history-content { border-top:1px solid var(--pma-line); }
.pma-history-table { width:100%; overflow:auto; }
.pma-history-head,.pma-history-table article { display:grid; grid-template-columns:105px minmax(260px,1fr) 125px 125px 145px; gap:14px; align-items:center; min-width:820px; }
.pma-history-head { padding:10px 18px; color:#7b899b; background:#f4f6f9; font-size:8px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.pma-history-table article { padding:12px 18px; border-top:1px solid #edf1f5; }
.pma-history-table article strong { color:var(--pma-ink); font-size:10px; }
.pma-history-table article small { display:block; margin-top:3px; color:var(--pma-muted); font-size:9px; }
.pma-history-table article > strong { font-size:12px; }
.pma-history-table .danger { color:var(--pma-danger); }
.pma-origin { width:max-content; padding:5px 8px; border-radius:999px; color:#2c629f; background:#edf5ff; font-size:8px; font-weight:900; text-transform:uppercase; }
.pma-origin.competitor { color:#9b4b27; background:#fff1e9; }
.pma-history-empty { display:flex; align-items:center; gap:10px; padding:22px; color:var(--pma-muted); }
.pma-history-empty strong { color:var(--pma-ok); }
.pma-history-source { display:flex; align-items:center; gap:13px; padding:14px 18px; border-top:1px solid #edf1f5; background:#fafbfd; }
.pma-history-source span { color:var(--pma-muted); font-size:9px; font-weight:900; text-transform:uppercase; }
.pma-history-source strong { color:var(--pma-ink); font-size:10px; }
.pma-history-source small { margin-left:auto; color:var(--pma-muted); font-size:9px; }

.pma-method { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin-top:18px; overflow:hidden; border:1px solid var(--pma-line); border-radius:17px; background:var(--pma-line); }
.pma-method div { padding:16px 18px; background:var(--pma-card); }
.pma-method strong,.pma-method span { display:block; }
.pma-method strong { color:var(--pma-ink); font-size:10px; }
.pma-method span { margin-top:4px; color:var(--pma-muted); font-size:9px; line-height:1.45; }

/* PMA dentro da análise de concorrência */
.competitor-pma-banner { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:28px; align-items:center; margin:0 0 16px; padding:20px 22px; overflow:hidden; border:1px solid #efcfbd; border-radius:17px; color:#25344b; background:linear-gradient(120deg,#fff8f3,#fff 62%,#f3f7fd); box-shadow:0 8px 20px rgba(44,60,80,.06); }
.competitor-pma-banner > div:first-child > span { color:#d95426; font-size:9px; font-weight:900; letter-spacing:.12em; }
.competitor-pma-banner > div:first-child > strong { display:block; margin-top:5px; font-size:14px; }
.competitor-pma-banner small { display:block; margin-top:5px; color:#718096; font-size:10px; }
.competitor-pma-banner > div:last-child { min-width:205px; padding-left:22px; border-left:1px solid #e5e9f0; }
.competitor-pma-banner > div:last-child > span { display:block; color:#738297; font-size:9px; font-weight:800; text-transform:uppercase; }
.competitor-pma-banner > div:last-child > strong { display:block; margin:4px 0; color:#132f53; font-size:22px; }
.competitor-pma-banner .text-button { padding:0; color:#d65327; font-size:9px; font-weight:900; }
.competitor-pma { display:inline-flex; flex-direction:column; gap:2px; margin-top:5px; padding:5px 7px; border-radius:8px; font-size:8px; line-height:1.2; }
.competitor-pma strong { font-size:9px; }
.competitor-pma.below { color:#b52840; background:#fff0f2; }
.competitor-pma.at { color:#087954; background:#eaf8f3; }
.competitor-pma.above { color:#265fba; background:#edf4ff; }
.competitor-pma.not_comparable { color:#74658a; background:#f4f0fa; }
.competitor-pma.compact { margin-top:4px; }

html[data-theme="black"] #content.pma-page {
  --pma-ink:#ecf2f9;
  --pma-muted:#96a5b8;
  --pma-line:#263347;
  --pma-soft:#0b111a;
  --pma-card:#0e1621;
  --pma-navy:#0a1728;
  --pma-danger-soft:#2b1118;
  --pma-ok-soft:#0d251d;
  --pma-blue-soft:#101f36;
  background:radial-gradient(circle at 92% 3%,rgba(48,116,219,.1),transparent 28rem),linear-gradient(180deg,#080d14,#0a1018 28rem,#080d14);
}
html[data-theme="black"] .pma-hero { border-color:#283950; background:linear-gradient(125deg,#0c192a,#102a49 67%,#133a60); box-shadow:0 24px 55px rgba(0,0,0,.36); }
html[data-theme="black"] .pma-kpi-grid :is(button,article) { border-color:#29364a; background:#101824; box-shadow:0 14px 28px rgba(0,0,0,.25); }
html[data-theme="black"] .pma-kpi-grid :is(button,article) > span,html[data-theme="black"] .pma-kpi-grid :is(button,article) > small { color:#8f9db0; }
html[data-theme="black"] .pma-command-bar { border-color:#273448; background:rgba(14,22,33,.93); box-shadow:0 10px 24px rgba(0,0,0,.2); }
html[data-theme="black"] .pma-command-head { border-color:#273448; }
html[data-theme="black"] .pma-compliance-alert { border-color:#285642; color:#75d6b3; background:#0d251d; }
html[data-theme="black"] .pma-compliance-alert.danger { border-color:#61303a; color:#ff9bab; background:#241117; }
html[data-theme="black"] .pma-compliance-alert .button { background:#0f1824; }
html[data-theme="black"] #pma-filter-form input,html[data-theme="black"] #pma-filter-form select { border-color:#314057; color:#edf3fb; background:#0b121c; }
html[data-theme="black"] #pma-filter-form input:focus,html[data-theme="black"] #pma-filter-form select:focus { border-color:#537fbd; background:#0c1521; }
html[data-theme="black"] .pma-pdf { border-color:#61303a!important; color:#ff9bab!important; background:#241117!important; }
html[data-theme="black"] .pma-excel { border-color:#245342!important; color:#7bd5b3!important; background:#0d211a!important; }
html[data-theme="black"] .pma-legend span { border-color:#2b384b; background:#101824; }
html[data-theme="black"] .pma-product-card { border-color:#263347; background:#0e1621; box-shadow:0 8px 20px rgba(0,0,0,.2); }
html[data-theme="black"] .pma-product-card:hover { border-color:#35465e; box-shadow:0 15px 30px rgba(0,0,0,.28); }
html[data-theme="black"] .pma-product-listings { border-color:#243044; background:#0b121b; }
html[data-theme="black"] .pma-listing-row { border-color:#222e40; }
html[data-theme="black"] .pma-listing-row:hover { background:#111b28; }
html[data-theme="black"] .pma-listing-thumb { border-color:#344155; background:#fff; }
html[data-theme="black"] .pma-listing-identity span { color:#adbbce; }
html[data-theme="black"] .pma-listing-identity span b { color:#75d6b3; background:#10281f; }
html[data-theme="black"] .pma-open { border-color:#344155!important; color:#c2cede!important; background:#121c29!important; }
html[data-theme="black"] .pma-status.no_listing,html[data-theme="black"] .pma-status.unavailable { color:#acb8c8; background:#1a2533; }
html[data-theme="black"] .pma-status.not_comparable { color:#c2b2db; background:#251f31; }
html[data-theme="black"] .pma-competitor-button { border-color:#35475e!important; color:#aed1fb!important; background:#132237!important; }
html[data-theme="black"] .pma-competitor-button:hover { color:#fff!important; background:#24598f!important; }
html[data-theme="black"] .pma-empty { border-color:#334155; background:#0c131d; }
html[data-theme="black"] .pma-unmapped,html[data-theme="black"] .pma-history-panel { border-color:#273448; background:#0e1621; }
html[data-theme="black"] .pma-unmapped summary b,html[data-theme="black"] .pma-history-panel summary b { color:#b8c5d6; background:#172332; }
html[data-theme="black"] .pma-unmapped > div,html[data-theme="black"] .pma-unmapped article,html[data-theme="black"] .pma-history-content,html[data-theme="black"] .pma-history-table article,html[data-theme="black"] .pma-history-source { border-color:#263347; }
html[data-theme="black"] .pma-history-head { color:#93a1b3; background:#121c29; }
html[data-theme="black"] .pma-history-source,html[data-theme="black"] .pma-no-listing { background:#0b121b; }
html[data-theme="black"] .pma-no-listing > span { background:#182331; }
html[data-theme="black"] .pma-method { border-color:#263347; background:#263347; }
html[data-theme="black"] .pma-method div { background:#0e1621; }
html[data-theme="black"] .competitor-pma-banner { border-color:#533527; color:#e8eef7; background:linear-gradient(120deg,#21150f,#111923 62%,#101d2d); box-shadow:0 8px 22px rgba(0,0,0,.24); }
html[data-theme="black"] .competitor-pma-banner > div:last-child { border-color:#2c394c; }
html[data-theme="black"] .competitor-pma-banner > div:last-child > strong { color:#edf3fb; }
html[data-theme="black"] .competitor-pma.below { color:#ff94a6; background:#2b1118; }
html[data-theme="black"] .competitor-pma.at { color:#72d5b1; background:#0d251d; }
html[data-theme="black"] .competitor-pma.above { color:#8dbdff; background:#101f36; }
html[data-theme="black"] .competitor-pma.not_comparable { color:#c1b1db; background:#251f31; }
html[data-theme="black"] .pma-official-dual > span { border-color:#2a3a4e; background:#101923; }

@media (max-width:1420px) {
  #pma-filter-form { grid-template-columns:minmax(230px,1.35fr) repeat(3,minmax(135px,.7fr)); }
  #pma-filter-form label:nth-of-type(4) { grid-column:auto; }
  .pma-command-bar { grid-template-columns:1fr; }
  .pma-report-actions { grid-template-columns:repeat(2,minmax(0,190px)); }
  .pma-product-card > header { grid-template-columns:110px minmax(250px,1fr) 130px 145px; }
  .pma-product-card > header .pma-competitor-button { grid-column:4; }
  .pma-listing-row { grid-template-columns:minmax(240px,1.35fr) 115px 105px 135px auto; gap:12px; }
}

@media (max-width:1100px) {
  .pma-hero { grid-template-columns:1fr; }
  .pma-hero-side { min-width:0; }
  .pma-kpi-grid { grid-template-columns:repeat(3,1fr); margin-top:-24px; }
  .pma-kpi-grid .all { grid-column:span 1; }
  .pma-product-card > header { grid-template-columns:110px minmax(210px,1fr) 135px; }
  .pma-product-result { grid-column:2; }
  .pma-product-card > header .pma-competitor-button { grid-column:3; }
  .pma-product-listings { overflow-x:auto; }
  .pma-listing-row { min-width:940px; }
  .pma-method { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:760px) {
  .pma-shell { padding:14px 11px 35px; }
  .pma-hero { min-height:0; padding:25px 22px; border-radius:19px; }
  .pma-hero h1 { font-size:37px; }
  .pma-kpi-grid { grid-template-columns:repeat(2,1fr); margin:12px 0 16px; }
  .pma-kpi-grid :is(button,article) { min-height:100px; padding:16px; }
  .pma-kpi-grid .all { grid-column:span 2; }
  .pma-compliance-alert,.pma-command-head { align-items:flex-start; flex-direction:column; }
  .pma-compliance-alert .button,.pma-report-actions { width:100%; }
  #pma-filter-form { grid-template-columns:1fr 1fr; }
  #pma-filter-form .pma-search { grid-column:span 2; }
  #pma-filter-form label:nth-of-type(4) { grid-column:span 2; }
  .pma-report-actions { grid-template-columns:1fr 1fr; }
  .pma-report-actions .button { min-width:0; padding:9px; }
  .pma-results-heading { align-items:start; flex-direction:column; }
  .pma-legend { justify-content:flex-start; }
  .pma-product-card > header { grid-template-columns:1fr 1fr; gap:14px; }
  .pma-product-name { grid-column:span 2; grid-row:1; }
  .pma-product-reference { grid-row:2; }
  .pma-official-price { grid-row:2; }
  .pma-product-result { grid-column:1; grid-row:3; }
  .pma-product-card > header .pma-competitor-button { grid-column:2; grid-row:3; }
  .pma-unmapped article { grid-template-columns:1fr auto; }
  .pma-unmapped article a { grid-column:1 / -1; }
  .pma-history-source { align-items:flex-start; flex-direction:column; }
  .pma-history-source small { margin-left:0; }
  .pma-method { grid-template-columns:1fr; }
  .competitor-pma-banner { grid-template-columns:1fr; }
  .competitor-pma-banner > div:last-child { padding:15px 0 0; border-top:1px solid #e5e9f0; border-left:0; }
}

@media (prefers-reduced-motion:reduce) {
  .pma-shell * { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}

/* Resposta direta para consulta exata por SKU */
.pma-sku-answer { display:grid; grid-template-columns:52px minmax(260px,1fr) auto auto; align-items:center; gap:18px; padding:18px 20px; border:1px solid #a9ddcb; border-radius:17px; background:linear-gradient(110deg,#f0fbf7,#fff); box-shadow:0 10px 28px rgba(20,90,68,.08); }
.pma-sku-answer.no-pma { border-color:#efc7a8; background:linear-gradient(110deg,#fff8f1,#fff); }
.pma-sku-answer-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; color:#fff; background:#14966d; font-size:1.25rem; font-weight:950; box-shadow:0 8px 18px rgba(20,150,109,.22); }
.pma-sku-answer.no-pma .pma-sku-answer-icon { background:#e56a27; box-shadow:0 8px 18px rgba(229,106,39,.2); }
.pma-sku-answer > div:nth-child(2) > span { color:#148160; font-size:.62rem; font-weight:950; letter-spacing:.1em; }
.pma-sku-answer.no-pma > div:nth-child(2) > span { color:#c95a22; }
.pma-sku-answer h2 { margin:3px 0 5px; color:#17334c; font-size:1.15rem; }
.pma-sku-answer p { margin:0; color:#627589; font-size:.72rem; line-height:1.5; }
.pma-sku-prices { display:grid; grid-template-columns:repeat(2,minmax(130px,1fr)); overflow:hidden; border:1px solid #d5e7e0; border-radius:12px; background:#fff; }
.pma-sku-prices > span { display:grid; gap:5px; padding:11px 14px; }
.pma-sku-prices > span + span { border-left:1px solid #d5e7e0; }
.pma-sku-prices small { color:#718293; font-size:.6rem; font-weight:800; }
.pma-sku-prices strong { color:#117354; font-size:1rem; }
.pma-sku-answer-state { display:grid; gap:4px; min-width:160px; padding:11px 13px; border-radius:12px; color:#166e53; background:#e9f8f2; }
.pma-sku-answer-state.danger { color:#b63848; background:#fff0f2; }
.pma-sku-answer-state strong { font-size:.76rem; }.pma-sku-answer-state small { font-size:.61rem; line-height:1.35; }
html[data-theme="black"] .pma-sku-answer { border-color:#275849; background:linear-gradient(110deg,#0d2820,#101a20); box-shadow:none; }
html[data-theme="black"] .pma-sku-answer.no-pma { border-color:#62412d; background:linear-gradient(110deg,#2a1d16,#151a20); }
html[data-theme="black"] .pma-sku-answer h2 { color:#edf4fb; } html[data-theme="black"] .pma-sku-answer p { color:#9aabbd; }
html[data-theme="black"] .pma-sku-prices { border-color:#2d493f; background:#101d21; } html[data-theme="black"] .pma-sku-prices > span + span { border-color:#2d493f; }
@media (max-width:1000px) { .pma-sku-answer { grid-template-columns:52px 1fr auto; }.pma-sku-answer-state { grid-column:2 / -1; } }
@media (max-width:650px) { .pma-sku-answer { grid-template-columns:44px 1fr; padding:15px; }.pma-sku-answer-icon { width:42px; height:42px; }.pma-sku-prices,.pma-sku-answer-state { grid-column:1 / -1; width:100%; }.pma-sku-prices { grid-template-columns:1fr 1fr; } }
