/* =====================================================================
   liv.ia — camada de identidade (claro primeiro, escuro como consequência)
   Vidro discreto, botões com volume, tipografia do sistema da Apple.
   Carregado depois do app.css: redefine as variáveis e os componentes.
   ===================================================================== */
:root, :root[data-theme="light"] {
  --bg: #F4F1EE; --bg-2: #F4F1EE;
  --surface: rgba(255,255,255,.66); --surface-2: rgba(255,255,255,.55); --surface-3: rgba(36,18,28,.06);
  --solid: #FFFFFF;
  --border: rgba(36,18,28,.08); --border-strong: rgba(36,18,28,.14);
  --text: #24121C; --text-2: #5B4250; --muted: #8E7884;
  --accent: #E2306B; --accent-2: #F04D82; --accent-ink: #fff; --accent-soft: rgba(226,48,107,.09);
  --accent-glow: 0 0 0 4px rgba(226,48,107,.12);
  --ok: #167A48; --warn: #B7791F; --danger: #D0264F;
  --sage: #CBEA6B; --sage-ink: #2F4A00;
  --pink: #E2306B; --wine: #24121C;
  --shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(255,255,255,.6), 0 24px 44px -30px rgba(80,25,50,.35);
  --shadow-sm: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(255,255,255,.6), 0 18px 36px -30px rgba(80,25,50,.3);
  --glass: rgba(255,255,255,.62); --glass-2: rgba(255,255,255,.78); --glass-line: rgba(255,255,255,.85);
  --blur: saturate(180%) blur(26px);
  --hair: rgba(36,18,28,.08);
  --money: #167A48;
  --bubble: #E3F9D3; --bubble-ink: #13221A;
  --a1: #FFFFFF; --a2: #EDE3DE; --a3: #FFFFFF;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  --sfd: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0E0C0D; --bg-2: #0E0C0D;
  --surface: rgba(32,28,30,.62); --surface-2: rgba(44,39,42,.6); --surface-3: rgba(255,255,255,.07);
  --solid: #1B181A;
  --border: rgba(255,255,255,.08); --border-strong: rgba(255,255,255,.14);
  --text: #F7F2F4; --text-2: #CFC3C9; --muted: #978A91;
  --accent: #FF4D88; --accent-2: #FF6E9E; --accent-soft: rgba(255,77,136,.14);
  --ok: #7BE3A6; --warn: #F2C26B; --danger: #FF7B96; --money: #7BE3A6;
  --sage: #CBEA6B; --sage-ink: #1E2E00;
  --shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 0 0 1px rgba(255,255,255,.06), 0 28px 50px -30px rgba(0,0,0,.85);
  --shadow-sm: 0 1px 0 rgba(255,255,255,.06) inset, 0 0 0 1px rgba(255,255,255,.06), 0 18px 36px -28px rgba(0,0,0,.8);
  --glass: rgba(30,27,29,.6); --glass-2: rgba(42,38,41,.78); --glass-line: rgba(255,255,255,.08);
  --hair: rgba(255,255,255,.08);
  --bubble: #0B4A3B; --bubble-ink: #E9EDEF;
  --a1: rgba(255,255,255,.04); --a2: rgba(255,255,255,.02); --a3: rgba(255,77,136,.06);
  color-scheme: dark;
}

/* ---------- base ---------- */
html, body { background: var(--bg); }
body { font-family: var(--sf); font-size: 15px; line-height: 1.47; letter-spacing: -.011em; color: var(--text); background-image: none; font-feature-settings: "tnum" 1; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(640px 520px at 6% -6%, var(--a1), transparent 70%), radial-gradient(720px 600px at 96% 18%, var(--a2), transparent 70%), radial-gradient(800px 600px at 40% 110%, var(--a3), transparent 70%); }
h1, h2, h3, h4 { font-family: var(--sfd); letter-spacing: -.022em; }
h1 { font-size: 34px; font-weight: 700; line-height: 1.08; letter-spacing: -.028em; }
::selection { background: rgba(226,48,107,.18); }
.wordmark { font-family: var(--sfd); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-style: normal; }
.wordmark i { font-style: normal; color: var(--accent); }
.glass { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }

/* ---------- menu lateral flutuante de vidro ---------- */
:root { --sidebar: 288px; }
.sidebar { top: 16px; height: calc(100vh - 32px); margin: 16px 0 16px 16px; padding: 22px 16px; border: 0; border-radius: 28px;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); gap: 4px; }
.brand { padding: 2px 6px 16px; gap: 12px; }
.brand .brand-ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2.5px var(--solid), 0 6px 16px -6px rgba(80,25,50,.5); flex: none; }
.brand b.wordmark { font-size: 26px; }
.brand span { font-size: 12.5px; margin-top: 3px; display: block; }
.nav-label { text-transform: none; letter-spacing: 0; font-size: 12px; padding: 16px 12px 6px; }
details.nav-group > summary.nav-label { cursor: pointer; }
.nav a { gap: 11px; padding: 9px 12px; border-radius: 14px; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav a .ic { width: auto; height: auto; background: none; border-radius: 0; opacity: .7; }
.nav a:hover { background: var(--surface-3); }
.nav a.active { background: var(--glass-2); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px var(--glass-line), 0 8px 18px -12px rgba(80,25,50,.45); }
:root[data-theme="dark"] .nav a.active { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.07); }
.nav a.active::before { display: none; }
.nav a.active .ic { background: none; color: var(--text); opacity: 1; }
.nav a .count { background: var(--surface-3); color: var(--text-2); font-weight: 700; }
.sidebar .foot { display: none; }

/* ---------- botões com volume (3D discreto) ---------- */
.btn, .b3 { position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 999px; font-weight: 600; white-space: nowrap;
  background: var(--glass-2); color: var(--text); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--glass-line), 0 8px 18px -12px rgba(80,25,50,.4); }
.btn::before, .b3::before { content: ""; position: absolute; left: 1px; right: 1px; top: 1px; height: 50%; border-radius: 999px 999px 12px 12px; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); z-index: -1; opacity: .45; pointer-events: none; }
:root[data-theme="dark"] .btn, :root[data-theme="dark"] .b3 { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08), 0 8px 18px -12px rgba(0,0,0,.7); }
:root[data-theme="dark"] .btn::before { opacity: .12; }
.btn:hover { background: var(--glass-2); filter: brightness(1.02); }
.btn.primary, .b3.rosa { color: #fff; background: linear-gradient(180deg, #F04D82 0%, #E2306B 60%, #D02660 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 1px rgba(120,0,40,.2), 0 10px 20px -10px rgba(226,48,107,.7), 0 1px 2px rgba(150,20,60,.25); }
.btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 14px 26px -10px rgba(226,48,107,.75); }
.btn.dark, .b3.tinta { color: #FFF6F9; background: linear-gradient(180deg, #3A2230 0%, #26131D 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 18px -10px rgba(36,18,28,.75), 0 1px 2px rgba(36,18,28,.2); }
.btn.dark::before, .b3.tinta::before { opacity: .2; }
:root[data-theme="dark"] .btn.dark, :root[data-theme="dark"] .b3.tinta { color: #17121A; background: linear-gradient(180deg, #FFFFFF, #ECE7EA); box-shadow: inset 0 1px 0 #fff, 0 8px 16px -10px rgba(0,0,0,.8); }
.btn.ghost { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn.ghost::before { display: none; }
.btn.danger { color: var(--danger); }
.btn.block { width: 100%; justify-content: center; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--glass-line), 0 8px 18px -12px rgba(80,25,50,.4); color: var(--text-2); }
:root[data-theme="dark"] .iconbtn { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08); }
.iconbtn .dot { background: var(--accent); box-shadow: 0 0 0 2px var(--solid); animation: none; top: 9px; right: 10px; }
.avatar { border-radius: 50%; background: linear-gradient(180deg, #3A2230, #24121C); }

/* botão "Colar link de produto" (acima de Visão geral) */
.cta-link { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 50px; margin: 0 0 10px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 14.5px var(--sf); letter-spacing: -.01em; color: #fff; position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #F04D82 0%, #E2306B 60%, #D02660 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 1px rgba(120,0,40,.2), 0 12px 24px -12px rgba(226,48,107,.8), 0 1px 2px rgba(150,20,60,.25); transition: transform .2s, box-shadow .2s; }
.cta-link::before { content: ""; position: absolute; left: 1px; right: 1px; top: 1px; height: 50%; border-radius: 999px 999px 12px 12px; background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)); opacity: .45; z-index: -1; }
.cta-link:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 16px 28px -12px rgba(226,48,107,.85); }
.cta-link:active { transform: translateY(1px) scale(.99); }

/* ---------- topo ---------- */
.topbar { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 18px 36px 0; }
.topbar.scrolled { box-shadow: none; background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); padding-bottom: 12px; }
.topbar .title { font-weight: 600; color: var(--muted); }
.topbar-search .input { border-radius: 999px; background: var(--glass-2); border: 0; box-shadow: inset 0 0 0 1px var(--glass-line), 0 8px 18px -14px rgba(80,25,50,.4); }
.content { padding: 22px 36px 72px; max-width: 1320px; }
.page-head p { color: var(--text-2); font-size: 15px; }

/* ---------- superfícies ---------- */
.card { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 0; border-radius: 24px; box-shadow: var(--shadow-sm); }
.card:hover { border-color: transparent; }
.card-head h3 { font-size: 17px; font-weight: 600; }
.kpi .value { font-family: var(--sfd); font-weight: 700; letter-spacing: -.03em; }
.input, select.input, textarea.input { border-radius: 14px; border: 0; background: var(--solid); box-shadow: inset 0 0 0 1px var(--border-strong); }
:root[data-theme="dark"] .input, :root[data-theme="dark"] select.input, :root[data-theme="dark"] textarea.input { background: rgba(255,255,255,.05); }
.input:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.pills { background: var(--surface-3); border: 0; padding: 3px; }
.pills a.active, .pills button.active { background: var(--solid); color: var(--text); box-shadow: 0 1px 2px rgba(36,18,28,.12), 0 4px 10px -6px rgba(36,18,28,.25); }
:root[data-theme="dark"] .pills a.active, :root[data-theme="dark"] .pills button.active { background: rgba(255,255,255,.14); }
.chip { background: var(--glass-2); border: 0; box-shadow: inset 0 0 0 1px var(--border); }
.badge { border: 0; background: var(--surface-3); }
.badge.pink { background: var(--accent-soft); color: var(--accent); }
.badge.lime, .badge.ok { background: rgba(22,122,72,.1); color: var(--ok); }
.table th { text-transform: none; letter-spacing: 0; font-size: 12.5px; background: transparent; border-bottom: 1px solid var(--hair); }
.table td { border-bottom: 1px solid var(--hair); }
.empty { border: 0; background: var(--surface-3); border-radius: 20px; }
.flash { background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 0; border-radius: 18px; box-shadow: var(--shadow); }
.progress { background: var(--surface-3); }
.progress > i { background: var(--accent); }
.tabs { border-bottom-color: var(--hair); }
.tabs a.active { border-color: var(--text); }

/* ---------- cartão de produto (catálogo e onde mais aparecer) ---------- */
.products { gap: 18px; }
.pcard { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 0; border-radius: 24px; padding: 10px; box-shadow: var(--shadow-sm); }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pcard .img { border-radius: 18px; background: #F2F2F4; }
.pcard .store-tag { top: auto; bottom: 10px; left: auto; right: 10px; background: rgba(255,255,255,.82) !important; color: #24121C !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-shadow: none; }
.pcard .store-tag.has-logo img { filter: none; }
.pcard .fav { background: rgba(255,255,255,.8); color: #24121C; }
.pcard .body { padding: 12px 6px 4px; }
.pcard .title { font-size: 14.5px; letter-spacing: -.012em; }
.pcard .price { font-family: var(--sfd); font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.pcard .comm { background: transparent !important; padding: 0; }
.pcard .comm b { color: var(--money) !important; }
.pcard .btn.primary { background: linear-gradient(180deg, #3A2230 0%, #26131D 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 18px -10px rgba(36,18,28,.7); }
:root[data-theme="dark"] .pcard .btn.primary { color: #17121A; background: linear-gradient(180deg, #FFFFFF, #ECE7EA); }

/* ---------- barra do celular ---------- */
@media (max-width: 760px) {
  :root { --tabbar-h: 66px; }
  .tabbar { left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); height: var(--tabbar-h); padding: 6px; border: 0; border-radius: 26px; grid-template-columns: repeat(5, 1fr);
    background: var(--glass-2); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); overflow: visible; }
  body { padding-bottom: calc(var(--tabbar-h) + 24px + var(--safe-b)); }
  .tabbar .active { color: var(--text); }
  .tabbar .active svg.i { color: var(--accent); }
  .tabbar .active::before { display: none; }
  .tabbar .tb-mid { color: var(--text); }
  .tabbar .tb-mid b { width: 56px; height: 56px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(180deg, #F04D82 0%, #E2306B 60%, #D02660 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 22px -10px rgba(226,48,107,.85), 0 0 0 5px var(--bg); }
  .sidebar { margin: 0; top: 0; height: 100dvh; border-radius: 0 28px 28px 0; background: var(--glass-2); }
  .topbar { padding: calc(12px + var(--safe-t)) 16px 6px; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
  .content { padding: 12px 16px 24px; }
  h1 { font-size: 30px; }
}

/* ---------- janela "Colar link de produto" ---------- */
html.ql-lock, html.ql-lock body { overflow: hidden; }
.ql-veil { position: fixed; inset: 0; z-index: 140; background: rgba(36,18,28,.22); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); opacity: 0; transition: opacity .2s; }
.ql-veil.on { opacity: 1; }
.ql-modal { position: fixed; z-index: 141; left: 50%; top: 6vh; width: min(980px, calc(100% - 32px)); max-height: 88vh; overflow: auto; transform: translate(-50%, 14px) scale(.98); opacity: 0;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s; border-radius: 32px; scrollbar-width: none; }
.ql-modal.on { transform: translate(-50%, 0) scale(1); opacity: 1; }
.ql-modal .ql { position: relative; padding: 28px 30px 30px; border-radius: 32px; background: var(--glass-2); -webkit-backdrop-filter: saturate(180%) blur(34px); backdrop-filter: saturate(180%) blur(34px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(255,255,255,.6), 0 50px 100px -40px rgba(60,15,35,.55); }
:root[data-theme="dark"] .ql-modal .ql { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.06), 0 50px 100px -40px rgba(0,0,0,.9); }
.ql-x { position: absolute; right: 20px; top: 20px; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text-2);
  background: var(--glass-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--glass-line), 0 8px 18px -12px rgba(80,25,50,.4); }
.ql-head h2 { font-size: 28px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; padding-right: 56px; }
.ql-head p { color: var(--text-2); margin-top: 6px; }
.ql-form { display: flex; gap: 8px; margin-top: 20px; padding: 7px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 2px 6px rgba(80,25,50,.10), inset 0 0 0 1px var(--glass-line); }
.ql-in { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 16px; color: var(--muted); }
.ql-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 500 15px var(--sf); text-overflow: ellipsis; padding: 12px 0; }
.ql-paste, .ql-sec, .ql-lk button, .ql-again { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14px var(--sf); color: var(--text); white-space: nowrap;
  background: var(--glass-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--glass-line), 0 8px 18px -12px rgba(80,25,50,.4); }
:root[data-theme="dark"] .ql-paste, :root[data-theme="dark"] .ql-sec, :root[data-theme="dark"] .ql-lk button, :root[data-theme="dark"] .ql-again, :root[data-theme="dark"] .ql-x { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08); }
.ql-paste { padding: 0 18px; }
.ql-go { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14.5px var(--sf); color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, #F04D82 0%, #E2306B 60%, #D02660 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 20px -10px rgba(226,48,107,.75); }
.ql-go[disabled] { opacity: .8; cursor: progress; }
.ql-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: qlspin .7s linear infinite; }
.ql-go.is-busy .ql-spin { display: inline-block; }
.ql-go.is-busy span::after { content: "…"; }
@keyframes qlspin { to { transform: rotate(360deg); } }
.ql-err { margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(208,38,79,.08); color: var(--danger); font-weight: 600; font-size: 14px; }
.ql-res { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 16px; margin-top: 20px; }
.ql-col { padding: 20px; border-radius: 24px; background: var(--glass); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1px var(--glass-line); min-width: 0; }
:root[data-theme="dark"] .ql-col { box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 0 1px rgba(255,255,255,.06); }
.ql-lb { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 10px; }
.ql-lb small { font-weight: 500; }
.ql-pd { display: flex; gap: 16px; }
.ql-ph { position: relative; width: 104px; height: 104px; flex: none; border-radius: 18px; overflow: hidden; background: #F2F2F4; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.ql-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ql-ph img[hidden] { display: none; }
.ql-pi { min-width: 0; }
.ql-t { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.012em; }
.ql-s { font-size: 12.5px; color: var(--muted); }
.ql-pz { margin-top: 8px; } .ql-pz b { font-family: var(--sfd); font-weight: 600; font-size: 28px; letter-spacing: -.025em; } .ql-pz s { color: var(--muted); font-size: 13px; margin-left: 8px; }
.ql-gn { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--money); }
.ql-warn { margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: rgba(183,121,31,.1); color: var(--warn); font-size: 13px; font-weight: 600; }
.ql-lk { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--glass-line); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ql-lk span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.ql-lk button { height: 38px; padding: 0 14px; font-size: 13px; }
.ql-col textarea { width: 100%; border: 0; outline: 0; resize: none; background: var(--bubble); color: var(--bubble-ink); border-radius: 6px 20px 20px 20px; padding: 14px 16px; font: 14px/1.5 var(--sf); box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.ql-acts { display: flex; gap: 8px; margin-top: 12px; }
.ql-send { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; border-radius: 999px; color: #fff; font-weight: 600; white-space: nowrap;
  background: linear-gradient(180deg, #2BC56C 0%, #1DAE58 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 20px -10px rgba(29,174,88,.7); }
.ql-sec { height: 50px; padding: 0 18px; }
.ql-sec.done, .ql-lk button.done { color: var(--money); }
.ql-fix p { color: var(--text-2); font-size: 14px; margin-bottom: 12px; }
.ql-fix input { width: 100%; border: 0; outline: 0; background: var(--solid); box-shadow: inset 0 0 0 1px var(--border-strong); border-radius: 14px; padding: 12px 14px; font: 15px var(--sf); color: var(--text); margin-bottom: 8px; }
.ql-fix input:focus { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.ql-fix-row { display: flex; gap: 8px; }
.ql-fix .ql-go { margin-top: 4px; }
.ql-fix[hidden], #ql-msg[hidden], .ql-res[hidden], .ql-err[hidden], .ql-warn[hidden] { display: none; }
.ql-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ql-again { height: 42px; padding: 0 16px; }
.ql-open { color: var(--muted); font-weight: 600; font-size: 13.5px; }
@media (max-width: 760px) {
  .ql-modal { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92dvh; border-radius: 30px 30px 0 0; transform: translateY(40px); }
  .ql-modal.on { transform: none; }
  .ql-modal .ql { border-radius: 30px 30px 0 0; padding: 22px 16px calc(24px + var(--safe-b)); }
  .ql-head h2 { font-size: 23px; }
  .ql-form { flex-wrap: wrap; border-radius: 24px; }
  .ql-in { flex-basis: 100%; padding: 4px 8px; }
  .ql-in input { font-size: 16px; }
  .ql-paste { flex: 1; min-height: 46px; }
  .ql-go { flex: 2; }
  .ql-res { grid-template-columns: minmax(0,1fr); }
  .ql-col { padding: 16px; }
  .ql-ph { width: 84px; height: 84px; }
  .ql-fix-row { flex-direction: column; gap: 0; }
  .ql-fix input { font-size: 16px; }
  .ql-acts { flex-wrap: wrap; } .ql-send { flex-basis: 100%; } .ql-sec { flex: 1; }
}

/* ---------- login ---------- */
body.login { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.login-card { width: min(400px, 100%); padding: 34px 30px 30px; border-radius: 32px; text-align: center; }
.login-card .field { text-align: left; margin-top: 22px; }
.login-ph { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; box-shadow: 0 0 0 3px var(--solid), 0 10px 24px -10px rgba(80,25,50,.5); }
.wordmark.big { font-size: 40px; }
.login-sub { color: var(--text-2); margin-top: 8px; }

/* =====================================================================
   Visão geral: vitrine à esquerda, semana e situação à direita
   ===================================================================== */
.home-head { align-items: flex-end; margin-bottom: 8px; }
.home-head h1 { font-size: 46px; letter-spacing: -.032em; }
.home-head p { max-width: 38em; font-size: 16px; margin-top: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: #22C276; box-shadow: 0 0 0 4px rgba(34,194,118,.18); }
.live-pill.warn i { background: #E2A13A; box-shadow: 0 0 0 4px rgba(226,161,58,.2); }
.live-pill.bad i { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.delta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.delta.up { color: var(--ok); } .delta.down { color: var(--danger); }
.delta .vs { color: var(--muted); font-weight: 500; }
.home-lay { display: grid; grid-template-columns: minmax(0,1fr) 316px; gap: 24px; align-items: start; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 26px 0 16px; }
.sec-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -.022em; line-height: 1.15; }
.sec-head p { color: var(--text-2); margin-top: 4px; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.vitrine { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.of { display: flex; flex-direction: column; border-radius: 26px; padding: 10px 10px 14px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; min-width: 0; }
.of:hover { transform: translateY(-3px); }
.of-im { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #F2F2F4; }
.of-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.of:hover .of-im img { transform: scale(1.03); }
.of-off, .of-lj { position: absolute; bottom: 10px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #24121C; background: rgba(255,255,255,.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.of-off { left: 10px; } .of-lj { right: 10px; font-weight: 600; }
.of-b { display: flex; flex-direction: column; flex: 1; padding: 12px 6px 0; min-width: 0; }
.of-t { font-weight: 600; font-size: 15px; line-height: 1.33; letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.of-pr { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.of-pr b { font-family: var(--sfd); font-weight: 600; font-size: 24px; letter-spacing: -.025em; line-height: 1; }
.of-pr b small { font-size: .55em; margin-right: 2px; letter-spacing: 0; }
.of-pr s { color: var(--muted); font-size: 12.5px; }
.of-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 8px; font-size: 13px; color: var(--text-2); }
.of-meta b { color: var(--money); }
.of-meta .fg { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.of-ft { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.of-ft .b3 { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; font-size: 14px; }
.of-ft .b3.orb { flex: none; width: 44px; padding: 0; }
.home-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; margin-top: 26px; }
.side-card { display: block; border-radius: 24px; padding: 20px 22px; }
.side-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.side-card .sub { font-size: 12.5px; color: var(--muted); }
.wc-lb { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.wc-v { font-family: var(--sfd); font-weight: 700; font-size: 40px; letter-spacing: -.03em; line-height: 1.05; margin: 4px 0 6px; }
.wc-v small { font-size: .48em; font-weight: 600; }
.wc-bars { display: flex; align-items: flex-end; gap: 6px; height: 48px; margin-top: 16px; }
.wc-bars i { flex: 1; min-height: 8px; border-radius: 6px; background: rgba(36,18,28,.08); }
:root[data-theme="dark"] .wc-bars i { background: rgba(255,255,255,.1); }
.wc-bars i.hoje { background: var(--accent); }
.wc-ln { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--hair); }
.wc-ln:first-of-type { margin-top: 14px; }
.wc-ln span { color: var(--text-2); font-size: 14px; }
.wc-ln b { font-family: var(--sfd); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.wc-ln em { font-style: normal; font-family: var(--sf); font-size: 12px; font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.wc-ln em.up { color: var(--ok); } .wc-ln em.down { color: var(--danger); }
.wc-goal { padding-top: 12px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--text-2); }
.wc-goal > div:first-child { display: flex; justify-content: space-between; margin-bottom: 8px; }
.health { padding-bottom: 8px; }
.health .hl { display: flex; align-items: center; gap: 10px; padding: 10px 2px; font-size: 14px; font-weight: 600; border-top: 1px solid var(--hair); }
.health h3 + .hl { border-top: 0; margin-top: 6px; }
.health .hl i { width: 7px; height: 7px; border-radius: 50%; background: #22C276; flex: none; }
.health .hl small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.health .hl.warn i { background: #E2A13A; }
.health .hl.bad { color: var(--danger); } .health .hl.bad i { background: var(--accent); } .health .hl.bad small { color: var(--danger); font-weight: 700; }
@media (max-width: 1200px) { .vitrine { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 980px) { .home-lay { grid-template-columns: minmax(0,1fr); } .home-side { position: static; order: -1; margin-top: 10px; } }
@media (max-width: 760px) {
  .home-head h1 { font-size: 34px; } .home-head p { font-size: 15px; } .home-head .btn-row { display: none; }
  .sec-head { margin-top: 26px; } .sec-head h2 { font-size: 22px; }
  .vitrine { gap: 12px; }
  .of { border-radius: 22px; padding: 8px 8px 10px; }
  .of-b { padding: 10px 4px 0; } .of-t { font-size: 13.5px; min-height: 36px; }
  .of-pr { flex-direction: column; align-items: flex-start; gap: 2px; } .of-pr b { font-size: 21px; }
  .of-lj, .of .of-meta .fg, .of .of-ft .orb { display: none; }
  .of-ft .b3 { height: 40px; font-size: 13px; }
  .side-card { padding: 18px; }
}

/* ---------- menos cor no resto do painel ---------- */
.btn.live { background: var(--glass-2) !important; color: var(--text) !important; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--glass-line), 0 8px 18px -12px rgba(80,25,50,.4) !important; }
.btn.live svg.i { color: var(--accent) !important; }
.card.accent-card { background: var(--glass); color: var(--text); box-shadow: var(--shadow-sm); }
.card.accent-card::after { display: none; }
.card.accent-card .muted { color: var(--muted); }
.card.accent-card .value { color: var(--text); }
.cat-icon { background: var(--glass-2) !important; color: var(--text-2) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--glass-line), 0 8px 18px -12px rgba(80,25,50,.35) !important; }
.cat-icon::before, .cat-icon::after { display: none !important; }
.cat-tile.active .cat-icon { background: linear-gradient(180deg, #3A2230, #24121C) !important; color: #fff !important; }
:root[data-theme="dark"] .cat-tile.active .cat-icon { background: #fff !important; color: #17121A !important; }
.cat-tile .cat-count { background: var(--surface-3) !important; color: var(--text-2) !important; }
.score-badge, .pcard .badge.pink { background: var(--surface-3); color: var(--text-2); }
.cat-icon svg, .cat-icon svg.i { color: var(--text-2) !important; stroke: currentColor; }
.cat-tile.active .cat-icon svg, .cat-tile.active .cat-icon svg.i { color: #fff !important; }
:root[data-theme="dark"] .cat-tile.active .cat-icon svg { color: #17121A !important; }
.card.accent-card .label, .card.accent-card .small, .card.accent-card .muted { color: var(--muted) !important; }
.card.accent-card .delta { background: rgba(22,122,72,.1); color: var(--ok); }
.cat-tabs { background: var(--surface-3) !important; border: 0 !important; box-shadow: none !important; }
.cat-tabs a.active, .cat-tabs a.on { background: var(--solid) !important; color: var(--text) !important; box-shadow: 0 1px 2px rgba(36,18,28,.12), 0 4px 10px -6px rgba(36,18,28,.25) !important; }
:root[data-theme="dark"] .cat-tabs a.active { background: rgba(255,255,255,.14) !important; }
.ql em { font-style: normal; }

/* menu lateral: sem rótulo no primeiro grupo, ajustes presos embaixo */
.sidebar .nav-end { margin-top: auto; padding-top: 12px; }
.nav a .count { margin-left: auto; padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--surface-3); color: var(--text-2); box-shadow: none; }
.nav a .count[title] { cursor: help; }
.nav-label { padding: 18px 12px 6px; }
/* atalhos em Configurações */
.tools-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
.tool { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 20px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow-sm); transition: transform .2s; }
.tool:hover { transform: translateY(-2px); }
.tool svg { color: var(--text-2); flex: none; margin-top: 2px; }
.tool b { display: block; font-size: 14.5px; font-weight: 600; }
.tool span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .tools-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- vidro de verdade: a arte do grupo, quase branca, atrás de tudo ---------- */
.wall { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #F3F1EF; }
.wall img { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(80px) saturate(.3); opacity: .7; transform: scale(1.1); }
.wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(247,246,245,.82), rgba(247,246,245,.74) 45%, rgba(247,246,245,.86)); }
:root[data-theme="dark"] .wall { background: #110E10; }
:root[data-theme="dark"] .wall img { opacity: .45; filter: blur(90px) saturate(.4) brightness(.5); }
:root[data-theme="dark"] .wall::after { background: linear-gradient(180deg, rgba(14,11,13,.6), rgba(14,11,13,.72)); }
html, body { background: transparent; }
html { background: #F3F1EF; } :root[data-theme="dark"] { background: #110E10; }
body::before { display: none; }
:root, :root[data-theme="light"] { --glass: rgba(255,255,255,.4); --glass-2: rgba(255,255,255,.56); --blur: saturate(190%) blur(30px);
  --shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,255,255,.5), 0 30px 60px -36px rgba(70,20,40,.4), 0 2px 8px -4px rgba(70,20,40,.1);
  --shadow-sm: inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,255,255,.5), 0 24px 48px -34px rgba(70,20,40,.35), 0 2px 6px -4px rgba(70,20,40,.08); }
:root[data-theme="dark"] { --glass: rgba(30,25,28,.45); --glass-2: rgba(42,36,40,.58);
  --shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -36px rgba(0,0,0,.9);
  --shadow-sm: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.06), 0 24px 48px -34px rgba(0,0,0,.85); }
.glass, .card, .pcard, .sidebar, .of, .side-card { background-image: radial-gradient(120% 60% at 10% 0%, rgba(255,255,255,.4), transparent 60%); }
:root[data-theme="dark"] .glass, :root[data-theme="dark"] .card, :root[data-theme="dark"] .pcard, :root[data-theme="dark"] .sidebar, :root[data-theme="dark"] .of, :root[data-theme="dark"] .side-card { background-image: radial-gradient(120% 60% at 10% 0%, rgba(255,255,255,.06), transparent 60%); }
.nav a.active { background: rgba(255,255,255,.66); }
:root[data-theme="dark"] .nav a.active { background: rgba(255,255,255,.1); }
.input, select.input, textarea.input { background: rgba(255,255,255,.72); }
.ql-modal .ql { background: rgba(255,255,255,.5); -webkit-backdrop-filter: saturate(190%) blur(40px); backdrop-filter: saturate(190%) blur(40px); }
:root[data-theme="dark"] .ql-modal .ql { background: rgba(30,24,28,.6); }
.ql-veil { background: rgba(36,18,28,.12); }
.of-ft .b3 svg, .ql-send svg { width: 18px !important; height: 18px !important; flex: none; }

/* =====================================================================
   Revisão de botões e textos (nada cortado, nada em duas linhas)
   ===================================================================== */
.btn, .b3, .cta-link, .ql-go, .ql-paste, .ql-sec, .ql-send { overflow: visible; }
.btn, .b3 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; flex-shrink: 0; min-height: 42px; padding: 0 18px; line-height: 1; text-decoration: none; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn.xs { min-height: 30px; padding: 0 11px; font-size: 12.5px; }
.btn.block { display: flex; width: 100%; }
.btn svg, .b3 svg { flex: none; }
.chip, .badge, .pill, .count, .pills a, .pills button, .tabs a, .cat-tabs a, .hs, .live-pill, .miner-pill, .delta, .store-tag, .cat-name { white-space: nowrap; }
.btn-row { flex-wrap: wrap; }
.page-head .btn-row { flex-wrap: wrap; justify-content: flex-end; }
.card-head { flex-wrap: wrap; row-gap: 8px; }
.card-head h3 { white-space: nowrap; }
/* cartões da Visão geral: o botão nunca corta; em colunas estreitas a vitrine vira 2 colunas */
.home-main { container-type: inline-size; }
.of-ft .b3.tinta { flex: 1 1 auto; min-width: 0; padding: 0 14px; font-size: 14px; }
@container (max-width: 820px) { .vitrine { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@container (max-width: 470px) { .of-ft .b3.tinta { font-size: 13px; padding: 0 10px; gap: 6px; } }
/* luz e verde fora: Busca ao vivo e status do minerador em tom neutro */
.btn.live::before, .btn.live::after { display: none !important; }
.btn.live { filter: none !important; }
.miner-pill { color: var(--text-2) !important; background: var(--glass-2); border: 0; box-shadow: inset 0 0 0 1px var(--glass-line); padding: 6px 12px; }
.miner-pill.ok i { background: #22C276; animation: none; box-shadow: none; }
.miner-pill.slow { color: var(--warn) !important; } .miner-pill.stopped { color: var(--danger) !important; }
.live-pill { flex-shrink: 0; }
/* contador das categorias legível */
.cat-count { background: var(--solid) !important; color: var(--text) !important; border: 0 !important; box-shadow: 0 1px 3px rgba(36,18,28,.18) !important; font-weight: 700; }
.cat-tile.active .cat-count { background: var(--accent) !important; color: #fff !important; }
.cat-tile .cat-name { color: var(--text-2); }
.cat-tile.active .cat-name { color: var(--text); font-weight: 600; }
/* busca do catálogo: ordenação na mesma linha */
@media (min-width: 761px) { #filters > .flex { flex-wrap: nowrap; } #filters > .flex .search { flex: 1 1 auto; min-width: 0; } }
/* lista chave/valor (Área técnica e afins) */
.kv { grid-template-columns: minmax(130px, auto) 1fr; }
.kv dt { white-space: nowrap; }
.kv dd { text-align: right; overflow-wrap: anywhere; }
details > summary > span:first-child { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.fold-meta { max-width: 45%; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
/* sino: o número vira um selo no canto do ícone */
#bell-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 11px/1 var(--sf); box-shadow: 0 0 0 2px var(--bg, #F3F1EF); }
#bell-count.hide { display: none !important; }
.iconbtn:has(#bell-count:not(.hide)) .dot { display: none; }
/* número do menu legível */
.nav a .count { color: var(--text); background: rgba(36,18,28,.07); }
:root[data-theme="dark"] .nav a .count { background: rgba(255,255,255,.1); }
.tabbar .tb-count { background: var(--accent); color: #fff; }
/* botão sempre no pé do cartão, todos na mesma altura */
.products { align-items: stretch; }
.pcard { height: 100%; }
.pcard .body { flex: 1 1 auto; }
.pcard .body > .btn:last-child, .pcard .body > a.btn:last-child { margin-top: auto !important; }
.pcard .body > .meta { margin-bottom: 8px; }
.seeds-bulk { flex-wrap: nowrap; max-width: 100%; }
/* prévia da presell: tela de celular de verdade (390 px) reduzida, sem nada sobreposto */
.phone-stage { display: grid; place-items: center; }
.phone-frame { width: 281px; height: 590px; border-radius: 40px; padding: 8px; background: #17121A; box-shadow: 0 30px 60px -30px rgba(36,18,28,.6), inset 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; position: relative; }
.phone-frame iframe { position: absolute; top: 8px; left: 8px; width: 390px; height: 798px; border: 0; border-radius: 44px; transform: scale(.6795); transform-origin: 0 0; background: #fff; }
/* tabelas: nunca cortam o último botão; títulos com espaço */
.card:has(> .table), .card:has(.table) { overflow-x: auto; }
.table { min-width: 640px; }
.table td .btn, .table td .b3 { min-height: 34px; }
.table td:first-child { min-width: 220px; }
.cat-tabs a.active b { background: rgba(36,18,28,.08); color: var(--text); }
:root[data-theme="dark"] .cat-tabs a.active b { background: rgba(255,255,255,.14); color: var(--text); }
@media (max-width: 760px) { .badge { max-width: 100%; overflow: hidden; text-overflow: ellipsis; } }
@media (min-width: 761px) { #filters > .flex > .search { width: auto !important; flex: 1 1 260px; } #filters > .flex > select.input { flex: 0 0 210px; } }
.grid-3 > .card:not(.span-2) .kv { grid-template-columns: 1fr; gap: 2px 0; }
.grid-3 > .card:not(.span-2) .kv dd { text-align: left; margin-bottom: 8px; }
@media (min-width: 761px) { #filters > .flex.gap-2 { display: flex !important; flex-wrap: nowrap !important; } #filters > .flex.gap-2 > .search-go { flex: 1 1 auto !important; flex-basis: auto !important; } }
.seeds-bulk { overflow-x: auto; scrollbar-width: none; }
@media (max-width: 760px) {
  .btn { max-width: 100%; }
  .table .btn.xs { min-height: 30px; padding: 0 10px; }
  .card:has(.table) { padding-left: 12px; padding-right: 12px; }
}
/* entrada das seções sem desfoque nem atraso (o desfoque apagava o vidro em alguns navegadores) */
html.js .reveal, html.js .reveal.in { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
/* catálogo: lojas na mesma linha da busca, sem espaço sobrando */
#filters .store-chips { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 0 1 auto; min-width: 0; margin: 0; }
#filters .store-chips::-webkit-scrollbar { display: none; }
#filters .store-chips .chip { height: 42px; flex: none; }
@media (max-width: 760px) { #filters > .flex.gap-2 > .store-chips { grid-column: span 2; } }
/* campo de arquivo (Importar CSV e afins) com o mesmo botão do painel */
input[type=file] { font: 500 13.5px var(--sf); color: var(--text-2); max-width: 100%; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; }
input[type=file]::file-selector-button { font: 600 13.5px var(--sf); color: var(--text); margin-right: 10px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--glass-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--border-strong), 0 6px 14px -10px rgba(80,25,50,.4); }
input[type=file]::file-selector-button:hover { background: #fff; }
@media (min-width: 761px) {
  #filters > .flex.gap-2 > .search-go { flex: 1 1 320px !important; min-width: 240px; }
  #filters > .flex.gap-2 > select.input { flex: 0 0 200px !important; width: 200px !important; }
  #filters .store-chips { flex: 0 1 auto; max-width: 46%; }
}
@media (min-width: 761px) {
  #filters > .flex.gap-2 > .search-go { flex: 1 1 0% !important; min-width: 260px !important; }
  #filters > .flex.gap-2 > .store-chips { flex: 0 1 auto !important; max-width: 40%; }
}
@media (min-width: 761px) {
  #filters > .flex.gap-2 > .search-go { min-width: 200px !important; }
  #filters > .flex.gap-2 > select.input { flex: 0 0 176px !important; width: 176px !important; }
  #filters > .flex.gap-2 > .store-chips { max-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
  #filters .store-chips .chip { padding: 0 12px; font-size: 13px; gap: 6px; }
}
/* catálogo: linha 2 = lojas à esquerda, ordenação à direita */
.filters-row2 { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.filters-row2 .store-chips { flex: 1 1 auto !important; max-width: none !important; -webkit-mask-image: none !important; mask-image: none !important; overflow-x: auto; }
.filters-row2 select.input { flex: 0 0 210px; width: 210px; margin-left: auto; }
#filters > .flex.gap-2 > .search-go { flex: 1 1 auto !important; }
@media (max-width: 760px) { .filters-row2 { flex-wrap: wrap; } .filters-row2 select.input { flex: 1 1 100%; width: 100%; } }
.clear-btn.is-idle { display: none !important; }
@media (max-width: 760px) { #filters:not(.show-filters) > .filters-row2 { display: none; } }
.chip-iso { height: 42px; padding: 0 12px 0 8px !important; gap: 7px !important; font-weight: 600; }
.chip-iso input { position: absolute; opacity: 0; pointer-events: none; }
.chip-iso.active { box-shadow: inset 0 0 0 1.5px var(--text) !important; background: var(--solid) !important; }

/* =====================================================================
   Conexões: lista de lojas à esquerda, a loja escolhida à direita
   ===================================================================== */
.cx { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; }
.cx-list { position: sticky; top: 84px; padding: 12px; border-radius: 22px; max-height: calc(100vh - 110px); overflow: auto; }
.cx-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 13px; background: var(--surface-3); color: var(--muted); margin-bottom: 6px; }
.cx-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 500 14.5px var(--sf); color: var(--text); }
.cx-search:focus-within { box-shadow: var(--accent-glow); color: var(--text-2); }
.cx-search input::-webkit-search-cancel-button { opacity: .5; }
.cx-group { margin-top: 10px; }
.cx-group h2 { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; padding: 0 8px; font: 600 12.5px var(--sf); color: var(--muted); letter-spacing: 0; }
.cx-group h2 span { font-weight: 500; opacity: .8; }
.cx-row { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 14px; color: var(--text); text-decoration: none; transition: background .15s; }
.cx-row:hover { background: var(--surface-3); }
.cx-row.on { background: var(--glass-2); box-shadow: var(--shadow-sm); }
.cx-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cx-row-t b { font: 600 14.5px var(--sf); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-row-t small { font: 400 12.5px var(--sf); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .45; }
.cx-dot.ok { background: var(--ok); opacity: 1; }
.cx-dot.warn { background: var(--warn); opacity: 1; }
.cx-dot.danger { background: var(--danger); opacity: 1; }
.cx-none { margin: 14px 8px 6px; font-size: 13.5px; color: var(--text-2); }

.cx-logo { flex: none; display: grid; place-items: center; width: var(--sz); height: var(--sz); border-radius: calc(var(--sz) * .26); overflow: hidden; background: var(--c); font: 700 calc(var(--sz) * .42) var(--sfd); box-shadow: 0 0 0 1px var(--hair), 0 6px 14px -8px rgba(36,18,28,.35); }
.cx-logo img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }

.cx-pane { border-radius: 26px; padding: 28px; }
.cx-pane[hidden] { display: none !important; }
.cx-back { display: none; }
.cx-head { display: flex; align-items: flex-start; gap: 18px; }
.cx-head-t { flex: 1; min-width: 0; }
.cx-head h2 { margin: 0; font: 700 26px/1.15 var(--sfd); letter-spacing: -.02em; }
.cx-head p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.cx-status { margin-top: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 99px; background: var(--surface-3); font: 600 13px var(--sf); color: var(--text-2); white-space: nowrap; }
.cx-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.cx-status.ok i { background: var(--ok); } .cx-status.warn i { background: var(--warn); } .cx-status.danger i { background: var(--danger); }
.cx-status.danger { color: var(--danger); }

.cx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 22px 0 0; border-radius: 16px; overflow: hidden; background: var(--hair); }
.cx-facts div { background: var(--glass-2); padding: 12px 16px; }
.cx-facts dt { font: 500 12.5px var(--sf); color: var(--muted); }
.cx-facts dd { margin: 2px 0 0; font: 600 14.5px var(--sf); color: var(--text); }

.cx-msg { margin-top: 14px; padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.45; background: var(--surface-3); color: var(--text-2); word-break: break-word; }
.cx-msg.bad { background: color-mix(in srgb, var(--danger) 9%, transparent); color: var(--danger); }
.cx-msg.ok { background: color-mix(in srgb, var(--ok) 8%, transparent); color: var(--ok); }

.cx-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px 28px; margin-top: 26px; }
.cx-body h3 { margin: 0 0 12px; font: 650 16px var(--sfd); letter-spacing: -.01em; }
.cx-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; }
.cx-steps li { counter-increment: st; position: relative; padding-left: 38px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.cx-steps li::before { content: counter(st); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); box-shadow: var(--shadow-sm); font: 650 13px var(--sf); color: var(--text); }
.cx-steps li b { color: var(--text); font-weight: 600; }
.cx-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cx-form .field { margin: 0; }
.cx-form .help { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.cx-box { padding: 14px 16px; border-radius: 16px; background: var(--surface-3); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cx-box p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.cx-box-h { display: flex; width: 100%; justify-content: space-between; gap: 10px; align-items: center; }
.cx-tag { font: 600 12px var(--sf); padding: 3px 9px; border-radius: 99px; background: var(--glass-2); }
.cx-tag.ok { color: var(--ok); } .cx-tag.warn { color: var(--warn); }
.cx-copy { display: flex; gap: 8px; align-items: center; width: 100%; min-width: 0; }
.cx-copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; padding: 7px 10px; border-radius: 10px; background: var(--glass-2); }
.cx-more { border-top: 1px solid var(--hair); padding-top: 12px; }
.cx-more summary { cursor: pointer; font: 600 14px var(--sf); color: var(--text-2); list-style: none; display: flex; align-items: center; gap: 8px; }
.cx-more summary::-webkit-details-marker { display: none; }
.cx-more summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
.cx-more[open] summary::before { transform: rotate(45deg); }
.cx-more > .field { margin-top: 12px; }
.cx-look { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin-top: 12px; }
.cx-look .field:first-child { flex: 1; min-width: 180px; }
.cx-look .switch { height: 44px; }
.cx-color { width: 64px !important; height: 44px; padding: 4px !important; }
.cx-acts { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.cx-del { margin-left: auto; color: var(--danger) !important; }
.cx-try { grid-column: 1 / -1; border-top: 1px solid var(--hair); padding-top: 20px; }
.cx-try h3 { margin-bottom: 4px; }
.cx-try p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.cx-try-row { display: flex; gap: 10px; }
.cx-try-row .input { flex: 1; min-width: 0; }

@media (max-width: 1360px) { .cx-body { grid-template-columns: 1fr; } .cx-steps { padding: 18px 20px; border-radius: 18px; background: var(--surface-3); } }
@media (max-width: 900px) {
  .cx { grid-template-columns: 1fr; }
  .cx-list { position: static; max-height: none; }
  .cx.is-open .cx-list { display: none; }
  .cx:not(.is-open) .cx-panes { display: none; }
  .cx-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0 0 14px; font: 600 14.5px var(--sf); color: var(--accent); cursor: pointer; }
  .cx-pane { padding: 18px; border-radius: 22px; }
  .cx-head { flex-wrap: wrap; gap: 12px; }
  .cx-head h2 { font-size: 22px; }
  .cx-facts { grid-template-columns: 1fr; }
  .cx-facts div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 10px 14px; }
  .cx-facts dd { margin: 0; text-align: right; }
  .cx-try-row { flex-direction: column; }
  .cx-acts .btn { flex: 1; }
  .cx-del { margin-left: 0; }
}

/* Colar link: acompanhar o produto */
.ql-track { display: grid; gap: 8px; margin-top: 12px; }
.ql-tk { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 14px; border: 0; border-radius: 16px; cursor: pointer;
  background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--glass-line); color: var(--text-2); font: inherit; transition: background .15s, box-shadow .15s; }
.ql-tk:hover { background: var(--solid); }
.ql-tk > svg { flex: none; color: var(--muted); }
.ql-tk span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ql-tk b { font: 600 14px var(--sf); color: var(--text); }
.ql-tk small { font: 400 12.5px var(--sf); color: var(--muted); }
.ql-tk[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
.ql-tk[aria-pressed="true"] > svg { color: var(--accent); }
#ql-fav[aria-pressed="true"] > svg { fill: currentColor; }
.ql-tk:disabled { cursor: default; }

/* Colar link: escolha entre texto completo e objetivo */
.ql-msg-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ql-msg-h .ql-lb { margin: 0; }
.ql-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-3); flex: none; }
.ql-seg button { border: 0; background: none; cursor: pointer; height: 30px; padding: 0 14px; border-radius: 999px; font: 600 13px var(--sf); color: var(--muted); white-space: nowrap; }
.ql-seg button[aria-checked="true"] { background: var(--solid); color: var(--text); box-shadow: 0 1px 3px rgba(36,18,28,.12), inset 0 0 0 1px var(--glass-line); }
.ql-msg-h + textarea, #ql-msg textarea { margin-top: 10px; }
#ql-text.swap { animation: qlSwap .28s ease; }
@keyframes qlSwap { from { opacity: .35; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #ql-text.swap { animation: none; } }
.ql-acts { flex-wrap: wrap; }
.ql-acts .ql-send { flex: 1 1 100%; justify-content: center; }
.ql-acts .ql-sec { flex: 1 1 0; min-width: 0; }
.ql-acts .ql-sec[hidden] { display: none; }
@media (max-width: 600px) { .ql-msg-h .ql-lb small { display: none; } .ql-msg-h { align-items: center; } }

/* Resultados: cartões de vendas por loja não espremem no celular */
@media (max-width: 900px) { .sync-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 620px) { .sync-grid { grid-template-columns: 1fr !important; } }

/* ---------- foto do produto no "Colar link" (copiar, baixar, colar quando a loja não manda) ---------- */
.ql-photo { margin-top: 12px; }
.ql-photo.is-busy { opacity: .55; pointer-events: none; }
.ql-photo-ok, .ql-photo-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ql-photo-ok[hidden], .ql-photo-no[hidden] { display: none; }
.ql-pbtn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font: 600 13px var(--sf); color: var(--text); text-decoration: none; background: rgba(36,18,28,.06); }
.ql-pbtn:hover { background: rgba(36,18,28,.1); }
.ql-pbtn:focus-visible { outline: 2px solid var(--accent, #E2306B); outline-offset: 2px; }
.ql-pbtn em { font-style: normal; }
.ql-pbtn.done { color: var(--money); }
.ql-pbtn-q { color: var(--muted); }
.ql-photo-no { border: 1.5px dashed rgba(226,48,107,.45); border-radius: 16px; padding: 12px 14px; background: rgba(226,48,107,.05); }
.ql-photo-no p { margin: 0 0 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ql-photo-no p b { color: var(--text); }
:root[data-theme="dark"] .ql-pbtn { background: rgba(255,255,255,.08); }
:root[data-theme="dark"] .ql-pbtn:hover { background: rgba(255,255,255,.14); }
@media (max-width: 640px) { .ql-photo-ok .ql-pbtn, .ql-photo-acts .ql-pbtn { flex: 1 1 auto; justify-content: center; } }

/* ---------- enviar com foto + formulário manual com foto ---------- */
.ql-send[hidden], .ql-howto[hidden] { display: none !important; }
button.ql-send { border: 0; cursor: pointer; font: 600 15px var(--sf); }
.ql-acts .ql-send.ql-send-alt { flex: 1 1 0; min-width: 0; background: rgba(36,18,28,.06); color: var(--text); box-shadow: none; }
.ql-acts .ql-send.ql-send-alt svg { color: #25D366; }
:root[data-theme="dark"] .ql-acts .ql-send.ql-send-alt { background: rgba(255,255,255,.08); }
.ql-howto { margin-top: 12px; padding: 12px 14px; border-radius: 16px; font-size: 13px; line-height: 1.5; color: var(--text-2); background: rgba(37,211,102,.09); box-shadow: inset 0 0 0 1px rgba(37,211,102,.28); }
.ql-howto b { color: var(--text); }
.ql-howto kbd { font: 600 11px var(--sf); padding: 1px 6px; border-radius: 6px; background: var(--solid); box-shadow: inset 0 0 0 1px var(--border-strong); }
.ql-howto a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--money); }
.ql-fix-photo:empty { display: none; }
.ql-fix-photo { margin: 2px 0 12px; }
.ql-fix-photo .ql-photo { margin-top: 0; }

/* ---------- Conexões: conferência da conta que recebe a comissão ---------- */
.cx-verify { margin: 0 0 18px; padding: 16px 18px; border-radius: 18px; background: rgba(226,48,107,.06); box-shadow: inset 0 0 0 1.5px rgba(226,48,107,.35); }
.cx-verify h3 { margin: 0 0 6px; font-size: 16px; }
.cx-verify p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.cx-verify .cx-id { color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; padding: 2px 6px; border-radius: 6px; background: var(--solid); box-shadow: inset 0 0 0 1px var(--border-strong); }
.cx-verify .cx-verify-n { font-size: 13px; color: var(--muted); }
.cx-verify .btn { margin-top: 4px; }

/* ---------- preço conferido + corrigir (Colar link) ---------- */
.ql-pchk { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.ql-pchk[hidden] { display: none; }
.ql-pchk button { border: 0; background: none; padding: 0; font: 600 12px var(--sf); color: var(--accent, #E2306B); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ql-pz small { font-size: 12px; font-weight: 600; color: var(--muted); }
.ql-fix-back { display: block; margin-top: 10px; border: 0; background: none; padding: 0; font: 600 13px var(--sf); color: var(--muted); cursor: pointer; }
.ql-fix-back[hidden] { display: none; }

/* Botão Voltar do produto (19/11/2026): volta para a página, filtros e rolagem de onde a Lívia veio */
.page-product .topbar .title { display: flex; align-items: center; gap: 0; min-width: 0; }
.page-product .topbar .title .crumb { margin-right: 5px; }
.page-product .topbar .title .crumb, .page-product .topbar .title .crumb-name { white-space: nowrap; }
.page-product .topbar .title .crumb-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; margin-right: 14px; padding: 0 16px 0 5px; border-radius: 999px;
  background: var(--glass-2); color: var(--text); text-decoration: none; font: 600 14px/1.3 var(--sf); white-space: nowrap;
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--glass-line), 0 8px 18px -12px rgba(80,25,50,.45);
  transition: transform .18s ease, box-shadow .18s ease; -webkit-tap-highlight-color: transparent; }
.back-btn svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; flex: none; background: var(--text); color: var(--bg, #fff);
  transition: transform .2s cubic-bezier(.3,.7,.4,1); }
.back-btn .bb-t, .back-btn .bb-s { display: inline-block; line-height: 1.3; padding: 2px 0 3px; }
.back-btn .bb-s { font-weight: 500; color: var(--muted); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.back-btn .bb-s::before { content: ""; display: inline-block; width: 1px; height: 14px; margin: 0 9px 0 1px; vertical-align: -3px; background: currentColor; opacity: .35; }
.back-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px var(--glass-line), 0 12px 22px -12px rgba(80,25,50,.5); }
.back-btn:hover svg { transform: translateX(-2px); }
.back-btn:active { transform: scale(.97); }
.back-btn:focus-visible { outline: 2px solid var(--pink, #E2306B); outline-offset: 3px; }
.back-btn.going svg { transform: translateX(-4px); }
:root[data-theme="dark"] .back-btn, :root[data-theme="dark"] .back-btn:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), inset 0 0 0 1px rgba(255,255,255,.08), 0 8px 18px -12px rgba(0,0,0,.7); }
@media (prefers-reduced-motion: reduce) { .back-btn, .back-btn svg { transition: none; } }
@media (max-width: 1100px) { .page-product .topbar .title .crumb { display: none; } }
@media (max-width: 760px) {
  .back-btn { margin-right: 10px; }
  .back-btn { height: 36px; padding: 0 13px 0 4px; font-size: 14px; }
  .back-btn svg { width: 28px; height: 28px; padding: 6.5px; }
  .back-btn .bb-s { display: none; }
  .page-product .topbar .title .crumb-name { font-size: 14px; }
}

/* Prévia do link no WhatsApp (20/11/2026): o cartão com a foto e o "CLIQUE AQUI" que o grupo vê */
.wa-bubble .wa-cta { display: block; max-width: 280px; margin: -4px 0 8px; padding: 8px 10px; border-radius: 0 0 8px 8px; background: rgba(127,127,127,.14); font: 700 13px var(--sf); color: inherit; text-align: center; letter-spacing: .02em; }
@media (max-width: 760px) { .wa-bubble .wa-cta { max-width: 220px; font-size: 12px; } }

/* Página do produto (20/11/2026): a mensagem com o "Enviar no grupo" vem primeiro em tela de uma coluna (iPad e celular) */
@media (max-width: 1100px) {
  body.page-product .product-main { display: contents; }
  body.page-product #mensagem { order: -1; }
}
body.page-product #mensagem .send-row { margin: 0 0 12px; }
body.page-product #mensagem .send-row { flex-wrap: nowrap; }
body.page-product #mensagem .more-dots { width: 46px; min-height: 46px; padding: 0; justify-content: center; }
body.page-product #mensagem .more-pop { right: 0; left: auto; }
@media (max-width: 760px) {
  body.page-product #mensagem .send-row { display: grid; grid-template-columns: 1fr 46px; }
  body.page-product #mensagem .send-row .btn[onclick^="copyText"] { display: none; } /* a barra fixa embaixo já tem Copiar */
  body.page-product #mensagem .more-dots { width: 46px; }
}
body.page-product #mensagem .more-pop { background: var(--solid); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 30; }
body.page-product #mensagem .more-pop .btn { justify-content: flex-start; }

/* Mesmo produto mais barato em outra loja/vendedor (20/11/2026) */
body.page-product .cheaper-note { display: block; margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--lime, #C8FF2E) 22%, var(--solid)); border: 1px solid color-mix(in srgb, #5d8a00 30%, transparent); color: var(--text); text-decoration: none; }
body.page-product .cheaper-note b { display: block; font-size: 15px; }
body.page-product .cheaper-note span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.product-summary .also-in { margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: var(--surface-3, rgba(0,0,0,.04)); }
.product-summary .also-h { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.product-summary .also-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--text); text-decoration: none; border-top: 1px solid var(--border); }
.product-summary .also-row:first-of-type { border-top: 0; }
.product-summary .also-st { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.product-summary .also-low { color: #2f7d16; }
@media (max-width: 760px) { .product-summary .also-in { grid-column: 1 / -1; } }
.ql-cheaper { display: block; text-decoration: none; background: color-mix(in srgb, #C8FF2E 25%, var(--solid)); color: #2f5d00; }
