/* ==========================================================================
   TrocaDireta — tema claro e colorido (23/10/2026, pedido do Rafael)
   Referência de clima: fundo claro, cantos bem arredondados, cores vivas (azul da marca, laranja, amarelo,
   verde e rosa), botões com sombra sólida embaixo e cartões flutuantes com ícone colorido. Fonte Inter.
   A abertura da home continua sendo a ferramenta "Eu tenho / Eu quero" (respostas da cidade ao vivo).
   Carregado depois de trocadireta.css (Ui::css). O tema dos cupons (body.theme-cupons) mantém o visual próprio.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
    --tc-azul: #185adb;
    --tc-azul-esc: #1240a8;
    --tc-laranja: #ff7a1a;
    --tc-laranja-esc: #d85f08;
    --tc-amarelo: #ffc93c;
    --tc-verde: #10b981;
    --tc-rosa: #f43f7e;
    --tc-texto: #1f2440;
    --tc-suave: #5d6483;
    --tc-fundo: #fbfcff;
    --tc-linha: #e6e9f4;

    --font-sans: "Inter", system-ui, "Segoe UI", Roboto, "Open Sans", Arial, sans-serif;
    --font-display: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    --color-primary: var(--tc-azul);
    --color-primary-strong: var(--tc-azul-esc);
    --color-primary-soft: #e8effc;
    --color-ink: #153a75;
    --color-text: var(--tc-texto);
    --color-highlight: var(--tc-laranja);
    --color-bg: var(--tc-fundo);
    --color-border: var(--tc-linha);
}

body:not(.theme-cupons) { background: var(--tc-fundo); color: var(--tc-texto); font-family: var(--font-sans); }
body:not(.theme-cupons) :is(h1, h2, h3, .section__title, .page-hero__title, .page-head__title) { font-family: var(--font-sans); font-weight: 800; letter-spacing: -0.025em; color: var(--tc-texto); }
body:not(.theme-cupons) :is(h2, .section__title) { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; }

/* ---- Botões: arredondados, cor viva e sombra sólida embaixo ---- */
body:not(.theme-cupons) .button { border-radius: 14px; font-weight: 700; transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease; }
body:not(.theme-cupons) .button:not(.button--outline):not(.button--ghost):not(.button--action):not(.button--light) { background: var(--tc-azul); border-color: var(--tc-azul); color: #fff; box-shadow: 0 4px 0 var(--tc-azul-esc); }
body:not(.theme-cupons) .button--action { background: var(--tc-laranja); border-color: var(--tc-laranja); color: #fff; box-shadow: 0 4px 0 var(--tc-laranja-esc); }
body:not(.theme-cupons) .button--action:hover { background: #ff8a33; color: #fff; }
body:not(.theme-cupons) .button--outline { background: #fff; border: 2px solid var(--tc-laranja); color: var(--tc-laranja-esc); box-shadow: 0 4px 0 #ffe1cc; }
body:not(.theme-cupons) .button--outline:hover { background: #fff6ef; }
body:not(.theme-cupons) .button:not(.button--ghost):hover { transform: translateY(-1px); }
body:not(.theme-cupons) .button:not(.button--ghost):active { transform: translateY(3px); box-shadow: 0 1px 0 transparent; }
body:not(.theme-cupons) .button--ghost { box-shadow: none; }
:focus-visible { outline: 3px solid var(--tc-laranja); outline-offset: 2px; }

/* ---- Cabeçalho claro ---- */
body:not(.theme-cupons) .header { background: rgba(255, 255, 255, .92); border-bottom: 1px solid #ffe4d1; box-shadow: none; backdrop-filter: blur(8px); }
body:not(.theme-cupons) .header__link[aria-current="page"] { color: var(--tc-laranja-esc); background: #fff3ea; border-radius: 10px; box-shadow: none; }

/* ---- Cartões: brancos, cantos 18px, borda clara e sombra colorida suave ---- */
body:not(.theme-cupons) :is(.td-lc, .td-card) { border: 1px solid var(--tc-linha); border-radius: 18px; background: #fff; box-shadow: 0 6px 0 #eef1fb; overflow: hidden; }
body:not(.theme-cupons) :is(.td-lc, .td-card):hover { border-color: #ffd2b0; box-shadow: 0 6px 0 #ffe6d4; }
body:not(.theme-cupons) :is(.td-lc__price) { color: var(--tc-laranja-esc); font-weight: 800; font-size: 1.15rem; background: none; clip-path: none; padding: 0; }
body:not(.theme-cupons) .td-card__price { background: none; clip-path: none; padding: 0; }
body:not(.theme-cupons) .td-card__price strong { color: var(--tc-laranja-esc); font-weight: 800; }
body:not(.theme-cupons) :is(.td-lc__price, .td-card__price)::before { content: none; }
body:not(.theme-cupons) :is(.td-lc__badge, .td-card__badge) { border-radius: 10px; background: #fff; color: var(--tc-texto); box-shadow: 0 2px 0 rgba(31, 36, 64, .12); }
body:not(.theme-cupons) .td-lc__btn { border-radius: 12px; border: 2px solid var(--tc-azul); background: #fff; color: var(--tc-azul); font-weight: 700; }
body:not(.theme-cupons) .td-lc__btn:hover { background: var(--tc-azul); color: #fff; }
body:not(.theme-cupons) .td-lc__pill { color: #0b7a55; background: #e3f8f0; }
body:not(.theme-cupons) .td-home-sec__kicker { text-transform: none; letter-spacing: 0; color: var(--tc-rosa); font-weight: 700; }
body:not(.theme-cupons) .section--alt { background: #fff7f0; }
body:not(.theme-cupons) .page-hero { background: none; }

/* ---- Abertura: "Eu tenho / Eu quero" ---- */
.tx-hero { position: relative; overflow: hidden; background: radial-gradient(420px 300px at 92% 8%, #ffe9d6 0, transparent 70%), radial-gradient(360px 260px at 4% 96%, #ffe0ea 0, transparent 70%), radial-gradient(420px 260px at 55% 60%, #e3f8f0 0, transparent 70%), #fffaf6; padding: clamp(28px, 5vw, 64px) 0 clamp(32px, 5vw, 64px); }
.tx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.tx-hero__top { display: flex; flex-wrap: wrap; gap: 10px; }
.tx-hero__city { display: inline-flex; align-items: center; gap: 8px; background: #fff3ea; border: 1px solid #ffd6b8; color: var(--tc-laranja-esc); border-radius: 999px; padding: 7px 14px; font-weight: 700; cursor: pointer; }
.tx-hero__city:hover { background: #ffe8d6; }
body:not(.theme-cupons) .tx-hero__title { margin: 18px 0 22px; font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 900; max-width: 15ch; }
.tx-c1 { color: var(--tc-laranja); }
.tx-c2 { color: var(--tc-rosa); }
.tx-swap { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); background: #fff; border: 2px solid #ffe1cc; border-radius: 20px; box-shadow: 0 6px 0 #ffe1cc; overflow: hidden; }
.tx-swap .button { grid-column: 1 / -1; margin: 0 14px 14px; justify-self: start; }
.tx-swap__side { display: grid; gap: 2px; padding: 14px 18px; cursor: text; }
.tx-swap__side span { font-size: .82rem; font-weight: 700; color: var(--tc-suave); }
.tx-swap__side input { border: 0; outline: 0; font: 600 1.1rem/1.3 var(--font-sans); color: var(--tc-texto); background: transparent; padding: 2px 0; min-width: 0; }
.tx-swap__side:focus-within { background: #fff8f2; }
.tx-swap__arrows { display: grid; place-items: center; width: 52px; color: #fff; }
.tx-swap__arrows svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--tc-verde); box-shadow: 0 3px 0 #0a8f63; }
.tx-hero__hint { margin: 12px 0 0; color: var(--tc-suave); font-size: .95rem; }
.tx-match { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.tx-match[hidden] { display: none; }
.tx-match__col { background: #fff; border: 1px solid var(--tc-linha); border-radius: 16px; padding: 12px 14px; box-shadow: 0 4px 0 #eef1fb; }
body:not(.theme-cupons) .tx-match__col h2 { margin: 0 0 8px; font-size: .92rem; font-weight: 800; letter-spacing: 0; color: var(--tc-azul); line-height: 1.3; }
body:not(.theme-cupons) .tx-match__col + .tx-match__col h2 { color: var(--tc-rosa); }
.tx-match__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tx-match__list a { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; color: var(--tc-texto); text-decoration: none; padding: 5px; border-radius: 10px; }
.tx-match__list a:hover { background: #f5f7ff; }
.tx-match__list img { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; background: #f1f3fa; }
.tx-match__list strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-match__list em { font-style: normal; font-weight: 800; color: var(--tc-laranja-esc); }
.tx-match__empty { color: var(--tc-suave); margin: 0; font-size: .92rem; }
.tx-match__empty a { color: var(--tc-azul); font-weight: 700; }
.tx-hero__more { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; }
.tx-hero__more a { color: var(--tc-azul); font-weight: 700; text-decoration: none; }
.tx-hero__more a:hover { text-decoration: underline; }

/* Foto real da cidade com cartões coloridos flutuando */
.tx-hero__art { position: relative; margin: 0; padding: 18px 26px 30px; }
.tx-hero__photo { background: #fff; border: 1px solid #ffe1cc; border-radius: 28px; padding: 12px; box-shadow: 0 10px 0 #ffe9d9; }
.tx-hero__photo img { display: block; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 20px; background: #fff3ea; }
.tx-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--tc-linha); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: 0 5px 0 #eef1fb; }
.tx-float strong { display: block; font-size: .92rem; font-weight: 800; color: var(--tc-texto); }
.tx-float small { display: block; font-size: .78rem; color: var(--tc-suave); }
.tx-float--a { top: 0; left: 0; }
.tx-float--b { right: 0; bottom: 70px; }
.tx-float--c { left: 10px; bottom: 0; }
.tx-float__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; }
.tx-float__ic svg { width: 22px; height: 22px; }
.tx-float__ic--green { background: var(--tc-verde); }
.tx-float__ic--orange { background: var(--tc-laranja); }
.tx-float__ic--pink { background: var(--tc-rosa); }

/* Faixa das trocas recentes da cidade */
.tx-feed { background: #fff; border-block: 1px solid var(--tc-linha); }
.tx-feed__list { display: flex; gap: 28px; overflow-x: auto; margin: 0; padding: 12px 0; list-style: none; scrollbar-width: none; }
.tx-feed__list li { flex: none; white-space: nowrap; }
.tx-feed__list b { color: var(--tc-azul); }
.tx-feed__list span { color: var(--tc-rosa); font-weight: 700; }

/* Títulos pequenos de avisos e painéis */
body:not(.theme-cupons) :is(.consent__title, .panel__title, .modal__title) { font-size: 1.05rem; letter-spacing: -0.01em; }

@media (max-width: 920px) {
    .tx-hero__grid { grid-template-columns: 1fr; }
    .tx-hero__art { max-width: 520px; }
}
@media (max-width: 640px) {
    .tx-swap { grid-template-columns: 1fr; }
    .tx-swap__arrows { width: auto; height: 46px; }
    .tx-swap__arrows svg { transform: rotate(90deg); }
    .tx-match { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { body:not(.theme-cupons) .button { transition: none; } }
/* ---- Abertura: composição cupom + troca + moeda TD$ (substitui a foto) ---- */
.tx-art { position: relative; margin: 0; min-height: 430px; }
.tx-art__blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.tx-art__blob--a { width: 300px; height: 300px; right: 10px; top: 10px; background: radial-gradient(circle at 35% 35%, #ffe28a, #ffc93c 60%, #ffb21a); opacity: .55; }
.tx-art__blob--b { width: 220px; height: 220px; left: 20px; bottom: 0; background: radial-gradient(circle at 40% 40%, #ffd1e2, #f43f7e); opacity: .22; }
.tx-art__coin { position: absolute; right: 70px; top: 0; filter: drop-shadow(0 14px 18px rgba(216, 95, 8, .28)); animation: tx-float 5s ease-in-out infinite; }
@keyframes tx-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
.tx-art__coupon { position: absolute; left: 0; top: 170px; display: grid; grid-template-columns: 1fr auto; width: min(360px, 88%); background: #fff; border-radius: 18px; box-shadow: 0 8px 0 #ffe1cc, 0 18px 30px rgba(31, 36, 64, .08); transform: rotate(-5deg); overflow: hidden; }
.tx-art__coupon-info { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 16px; align-items: center; }
.tx-art__store { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e8effc; color: var(--tc-azul); font-weight: 800; }
.tx-art__coupon-info strong { font-size: 1rem; font-weight: 800; color: var(--tc-texto); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tx-art__coupon-info small { color: var(--tc-suave); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tx-art__coupon-stub { position: relative; display: grid; place-content: center; text-align: center; padding: 12px 18px; background: var(--tc-laranja); color: #fff; border-left: 3px dashed #fff; min-width: 100px; }
.tx-art__coupon-stub::before, .tx-art__coupon-stub::after { content: ""; position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 50%; background: #fffaf6; }
.tx-art__coupon-stub::before { top: -9px; } .tx-art__coupon-stub::after { bottom: -9px; }
.tx-art__coupon-stub b { font-size: 1.7rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.tx-art__coupon-stub small { font-size: .75rem; font-weight: 700; opacity: .9; }
.tx-art__trade { position: absolute; right: 0; bottom: 70px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 20px; padding: 12px 16px 12px 12px; box-shadow: 0 8px 0 #d6f4e8, 0 18px 30px rgba(31, 36, 64, .08); transform: rotate(3deg); }
.tx-art__thumb { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: #e8effc; color: var(--tc-azul); }
.tx-art__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tx-art__thumb svg { width: 30px; height: 30px; }
.tx-art__swap { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tc-verde); color: #fff; box-shadow: 0 3px 0 #0a8f63; }
.tx-art__swap svg { width: 18px; height: 18px; }
.tx-art__trade-txt strong { display: block; font-weight: 800; font-size: .95rem; }
.tx-art__trade-txt small { display: block; color: #0b7a55; font-weight: 700; font-size: .82rem; }
.tx-art__rate { position: absolute; left: 30px; bottom: 6px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--tc-texto); color: #ffc93c; font-weight: 800; box-shadow: 0 5px 0 #0d1030; }
.tx-art__rate svg { width: 18px; height: 18px; }
@media (max-width: 920px) { .tx-art { min-height: 400px; max-width: 520px; } }
@media (max-width: 520px) { .tx-art__trade-txt { display: none; } .tx-art__coin { right: 6px; } }
@media (prefers-reduced-motion: reduce) { .tx-art__coin { animation: none; } }

/* Rodapé: títulos das colunas em amarelo (o tema claro escurecia os h2 sobre o rodapé escuro) */
body:not(.theme-cupons) .footer__title { color: var(--tc-amarelo); }
/* ---- Campo "Eu tenho / Eu quero" (23/10): dois campos com ícone, troca redonda no meio, botão na mesma linha ---- */
.tx-swap { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 #ffe1cc, 0 16px 40px rgba(255, 122, 26, .14), 0 6px 0 #ffe9d9; overflow: visible; }
.tx-swap__side { display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 68px; border-radius: 18px; background: #f7f8fc; border: 2px solid transparent; transition: border-color .15s ease, background-color .15s ease; }
.tx-swap__side:focus-within { background: #fff; box-shadow: none; }
.tx-swap__side--have:focus-within { border-color: var(--tc-laranja); }
.tx-swap__side--want:focus-within { border-color: var(--tc-rosa); }
.tx-swap__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; }
.tx-swap__ic svg { width: 21px; height: 21px; }
.tx-swap__side--have .tx-swap__ic { background: var(--tc-laranja); box-shadow: 0 3px 0 var(--tc-laranja-esc); }
.tx-swap__side--want .tx-swap__ic { background: var(--tc-rosa); box-shadow: 0 3px 0 #c81e5c; }
.tx-swap__txt { display: grid; gap: 1px; min-width: 0; flex: 1; }
.tx-swap__txt > span { font-size: .78rem; font-weight: 800; color: var(--tc-suave); letter-spacing: .01em; }
.tx-swap__txt input { border: 0; outline: 0; font: 600 1.06rem/1.3 var(--font-sans); color: var(--tc-texto); background: transparent; padding: 0; width: 100%; }
.tx-swap__txt input::placeholder { color: #a3a9c2; font-weight: 500; }
.tx-swap__arrows { position: relative; z-index: 1; width: 0; justify-self: center; }
.tx-swap__arrows svg { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; max-width: none; box-sizing: border-box; margin: -22px 0 0 -22px; padding: 11px; border-radius: 50%; background: var(--tc-verde); border: 4px solid #fff; box-shadow: 0 3px 0 #0a8f63; }
.tx-swap .button { grid-column: auto; margin: 0; justify-self: stretch; min-height: 68px; padding-inline: 28px; border-radius: 18px; font-size: 1.05rem; }
@media (max-width: 860px) {
    .tx-swap { grid-template-columns: 1fr; }
    .tx-swap__arrows { width: auto; height: 0; }
    .tx-swap__arrows svg { transform: rotate(90deg); }
    .tx-swap .button { min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .tx-swap__side { transition: none; } }
/* Logo nova (23/10): horizontal no topo; só o ícone no rodapé, no login e na lateral do login */
.footer .brand__logo--lg, .auth__aside .brand__logo--lg { height: 76px; border-radius: 20px; padding: 8px; }
.auth__brand .brand__logo--lg { height: 84px; }

/* Títulos dentro de faixas escuras herdam a cor clara da faixa (ex.: nome do plano no cabeçalho azul) */
body:not(.theme-cupons) :is(.plan-card__head, .tdc-hero, .footer) :is(h1, h2, h3, .plan-card__name) { color: inherit; }

/* Outros planos (empresa e pessoa) */
.tx-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tx-plan { display: grid; gap: 8px; align-content: start; background: #fff; border: 1px solid var(--tc-linha); border-radius: 18px; padding: 18px; box-shadow: 0 5px 0 #eef1fb; }
body:not(.theme-cupons) .tx-plan h3 { margin: 4px 0 0; font-size: 1.1rem; }
.tx-plan p { margin: 0; color: var(--tc-suave); }
.tx-plan__price { color: var(--tc-texto) !important; }
.tx-plan__price strong { color: var(--tc-laranja-esc); font-size: 1.2rem; }
.tx-plan .button { justify-self: start; margin-top: 4px; }
.tx-plan__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; }
.tx-plan__ic svg { width: 22px; height: 22px; }
.tx-plan__ic--orange { background: var(--tc-laranja); } .tx-plan__ic--blue { background: var(--tc-azul); }
.tx-plan__ic--pink { background: var(--tc-rosa); } .tx-plan__ic--green { background: var(--tc-verde); }

/* ---- Páginas de módulo (inspeção, feiras…): passo a passo, cartões lado a lado e lista com situação ---- */
.ux-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; counter-reset: ux; }
.ux-steps li { position: relative; background: #fff; border: 1px solid var(--tc-linha); border-radius: 18px; padding: 16px 16px 16px 64px; box-shadow: 0 4px 0 #eef1fb; counter-increment: ux; }
.ux-steps li::before { content: counter(ux); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; color: #fff; font-weight: 800; background: var(--tc-laranja); box-shadow: 0 3px 0 var(--tc-laranja-esc); }
.ux-steps li:nth-child(2)::before { background: var(--tc-azul); box-shadow: 0 3px 0 var(--tc-azul-esc); }
.ux-steps li:nth-child(3)::before { background: var(--tc-verde); box-shadow: 0 3px 0 #0a8f63; }
.ux-steps strong { display: block; font-weight: 800; }
.ux-steps span { color: var(--tc-suave); font-size: .92rem; }
.ux-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 24px; }
.ux-card { background: #fff; border: 1px solid var(--tc-linha); border-radius: 20px; padding: 22px; box-shadow: 0 5px 0 #eef1fb; }
.ux-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ux-card__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: var(--tc-azul); }
.ux-card__ic svg { width: 22px; height: 22px; }
.ux-card__ic--orange { background: var(--tc-laranja); } .ux-card__ic--green { background: var(--tc-verde); } .ux-card__ic--pink { background: var(--tc-rosa); }
body:not(.theme-cupons) .ux-card h2, body:not(.theme-cupons) .ux-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; }
.ux-card__sub { margin: 2px 0 0; color: var(--tc-suave); font-size: .92rem; }
.ux-card .form { display: grid; gap: 12px; }
.ux-card .form-field { margin: 0; }
.ux-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: #eef1fb; color: var(--tc-texto); white-space: nowrap; }
.ux-pill--orange { background: #fff1e6; color: var(--tc-laranja-esc); } .ux-pill--blue { background: #e8effc; color: var(--tc-azul-esc); }
.ux-pill--green { background: #e3f8f0; color: #0b7a55; } .ux-pill--gray { background: #f1f3f8; color: var(--tc-suave); } .ux-pill--pink { background: #ffe8f0; color: #c81e5c; }
.ux-list { display: grid; gap: 12px; }
.ux-item { background: #fff; border: 1px solid var(--tc-linha); border-left: 5px solid var(--tc-azul); border-radius: 16px; padding: 16px 18px; }
.ux-item--orange { border-left-color: var(--tc-laranja); } .ux-item--green { border-left-color: var(--tc-verde); } .ux-item--gray { border-left-color: #c9cfdf; }
.ux-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
body:not(.theme-cupons) .ux-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ux-item__meta { color: var(--tc-suave); font-size: .9rem; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.ux-item__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.ux-item .form { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--tc-linha); display: grid; gap: 12px; }
.ux-item .form .form-grid { gap: 12px; }
.ux-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ux-thumbs img { width: 110px; height: 84px; object-fit: cover; border-radius: 12px; }
.ux-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
@media (max-width: 820px) { .ux-steps, .ux-two { grid-template-columns: 1fr; } }

/* Indicadores coloridos (telas de números) e filtro em pílulas */
.ux-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.ux-kpi { position: relative; display: grid; gap: 2px; background: #fff; border: 1px solid var(--tc-linha); border-radius: 18px; padding: 16px 16px 16px 72px; box-shadow: 0 5px 0 #eef1fb; min-height: 96px; }
.ux-kpi__ic { position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: var(--tc-azul); }
.ux-kpi__ic svg { width: 21px; height: 21px; }
.ux-kpi small { color: var(--tc-suave); font-weight: 600; }
.ux-kpi strong { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; color: var(--tc-texto); line-height: 1.1; }
.ux-kpi em { font-style: normal; color: var(--tc-suave); font-size: .82rem; }
.ux-kpi--green .ux-kpi__ic { background: var(--tc-verde); } .ux-kpi--orange .ux-kpi__ic { background: var(--tc-laranja); } .ux-kpi--pink .ux-kpi__ic { background: var(--tc-rosa); }
.ux-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ux-rules div { background: #f7f8fc; border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.ux-rules small { color: var(--tc-suave); font-size: .8rem; }
.ux-rules strong { font-weight: 800; }
.ux-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ux-filter a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tc-linha); color: var(--tc-texto); font-weight: 700; font-size: .88rem; text-decoration: none; }
.ux-filter a:hover { border-color: var(--tc-azul); color: var(--tc-azul); }
.ux-filter a.is-on { background: var(--tc-azul); border-color: var(--tc-azul); color: #fff; }

/* Admin > Planos: edição em linha */
.pc-block { margin-top: 14px; }
.pc-grid { display: grid; gap: 8px; overflow-x: auto; }
.pc-head, .pc-row { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(calc(var(--pc-cols) - 1), minmax(110px, 1fr)); gap: 8px; align-items: center; min-width: 760px; }
.pc-head span { font-size: .8rem; font-weight: 800; color: var(--tc-suave); }
.pc-row .input { min-height: 40px; padding: 6px 10px; }
.pc-row--new { background: #fff8f2; border: 1px dashed #ffd2b0; border-radius: 12px; padding: 8px; }
.pc-subs { font-weight: 700; text-align: center; }
.pc-acts { display: flex; gap: 6px; flex-wrap: wrap; }

/* Admin > planos com tela própria: blocos coloridos de plano */
.pl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 14px 0 22px; }
.pl-tile { --pl-c: var(--tc-azul); position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--tc-linha); border-top: 6px solid var(--pl-c); border-radius: 20px; padding: 18px; box-shadow: 0 6px 0 rgba(24, 90, 219, .06); }
.pl-tile--orange { --pl-c: var(--tc-laranja); } .pl-tile--green { --pl-c: var(--tc-verde); } .pl-tile--pink { --pl-c: var(--tc-rosa); } .pl-tile--yellow { --pl-c: var(--tc-amarelo); }
.pl-tile--off { opacity: .72; border-top-color: #c9d0de; }
.pl-tile__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pl-tile__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--pl-c); color: #fff; flex: none; }
.pl-tile__ic svg { width: 21px; height: 21px; }
.pl-tile h3 { margin: 0; font-size: 1.08rem; font-weight: 800; color: var(--tc-texto); }
.pl-tile p { margin: 0; color: var(--tc-suave); font-size: .9rem; }
.pl-tile__price { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; color: var(--tc-texto); line-height: 1.1; }
.pl-tile__price small { font-size: .85rem; font-weight: 600; color: var(--tc-suave); }
.pl-tile__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-tile__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.pl-form { display: grid; gap: 14px; }
.pl-form .ux-card { margin: 0; }
.pl-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pl-events .check { background: #f6f8fd; border: 1px solid var(--tc-linha); border-radius: 12px; padding: 10px 12px; margin: 0; }
.pl-form .form-grid, .pl-tile .form-grid { max-width: none; border: 0; padding: 0; background: none; box-shadow: none; margin: 0 0 12px; }
.pl-form .form-grid--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .pl-form .form-grid--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pl-tile .form-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

/* Celular (e app): telas enxutas. Seções marcadas com .m-hide somem; filtros recolhidos atrás do botão Filtros. */
@media (max-width: 720px) {
    .m-hide { display: none !important; }
    .page-hero__lead { display: none; }
    .page-hero { margin-bottom: 12px; }
    .page-hero__title { font-size: 1.6rem; margin-bottom: 8px; }
    .td-filters { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
    .td-filters > .form-field:first-child { grid-column: 1 / -1; }
    .td-filters > .form-field:first-child .form-field__label { display: none; }
    .td-filters:not(.is-open) > .form-field:not(:first-child), .td-filters:not(.is-open) > div:not(:first-child):not(.td-filters__bar) { display: none; }
    .td-filters.is-open { grid-template-columns: 1fr 1fr; }
    .td-filters.is-open > .form-field:first-child { grid-column: 1 / -1; }
    .td-filters__toggle { display: inline-flex; }
    .td-filters > button[type=submit] { grid-column: auto; }
    .td-filters:not(.is-open) > button[type=submit] { grid-column: 2; grid-row: 2; }
    .td-filters:not(.is-open) > .td-filters__toggle { grid-column: 1; grid-row: 2; }
    .td-filters.is-open > .td-filters__toggle { grid-column: 1; }
    .tx-hero__hint { font-size: .9rem; }
    .section { padding-top: 20px; padding-bottom: 20px; }
}
.td-filters__toggle { display: none; }
@media (max-width: 720px) { .td-filters > .td-filters__toggle { display: inline-flex; justify-content: center; } }

/* Pague na entrega: ícone do caminhão nos selos, aviso da taxa no cadastro e no painel. */
.td-truck { display: inline-block; vertical-align: -2px; flex: none; }
.td-card__badge--pne { display: inline-flex; align-items: center; gap: 4px; }
.td-pne-note { margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: #e3f8f0; color: #0b5c40; font-size: .9rem; }
.td-new__pne { margin-top: 12px; display: grid; gap: 10px; }
.td-lc__badge--pne { top: auto; bottom: 10px; background: #16a34a !important; color: #fff !important; }

/* Painel da pessoa: saudação legível no fundo azul. */
.td-hub__hello :is(h1, h2) { color: #fff !important; }
.td-hub__hello p { color: #fff; }
/* Pague na entrega: endereço em destaque no pedido e aviso de responsabilidade. */
.td-pne-addr { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; padding: 14px 16px; border: 2px solid #185adb; border-radius: 16px; background: #eef3ff; }
.td-pne-addr__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: #185adb; color: #fff; }
.td-pne-addr__ic svg { width: 22px; height: 22px; }
.td-pne-addr > div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.td-pne-addr small { color: #185adb; font-weight: 800; font-size: .8rem; }
.td-pne-addr strong { font-size: 1.12rem; color: #172033; }
.td-pne-addr span { color: #4b5568; }
.td-pne-addr--falta { border-color: #f43f7e; background: #fff0f5; }
.td-pne-addr--falta .td-pne-addr__ic { background: #f43f7e; }
@media (max-width: 520px) { .td-pne-addr { flex-wrap: wrap; } .td-pne-addr .button { width: 100%; justify-content: center; } }
.td-pne-aviso { margin: 8px 0; padding: 10px 12px; border-left: 4px solid #ffc93c; border-radius: 10px; background: #fff8e1; color: #5c4400; font-size: .85rem; line-height: 1.5; }
.td-pne-addr__ic svg, .td-pne-addr__ic svg * { stroke: #fff; color: #fff; }

/* Aceite de TD$ da empresa: opção travada + aviso. */
.td-new__opt.is-locked { opacity: .6; cursor: not-allowed; }
.td-tdc-termo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0; padding: 12px 14px; border: 2px solid #ffc93c; border-radius: 16px; background: #fff8e1; }
.td-tdc-termo__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ff7a1a; color: #fff; font-weight: 900; font-size: .8rem; flex: none; }
.td-tdc-termo > div { display: grid; gap: 2px; flex: 1; min-width: 220px; }
.td-tdc-termo span { color: #5c4400; font-size: .9rem; }
/* Agenda: pedidos do pague na entrega. */
.td-pne-alerta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 16px; padding: 12px 16px; border-radius: 16px; background: #e3f8f0; border: 2px solid #10b981; color: #0b5c40; }
.td-pne-alerta > span { flex: 1; min-width: 220px; }
.td-item--pod { border-left: 4px solid #16a34a; }
.td-item--pod > svg { color: #16a34a; }
/* Patrocinado: plano atual e escolha do anúncio. */
.td-ads-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--tc-linha); border-radius: 18px; background: #fff; }
.td-ads-plan > div { display: grid; gap: 2px; }
.td-ads-plan small { color: var(--tc-suave); font-weight: 700; }
.td-ads-plan strong { font-size: 1.2rem; }
.td-ads-plan span { color: var(--tc-suave); font-size: .88rem; }
.td-ads-plan .button { margin-left: auto; }
.td-ads-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; max-height: 420px; overflow: auto; padding: 2px; }
.td-ads-pick__opt { display: flex; align-items: center; gap: 10px; padding: 8px; border: 2px solid var(--tc-linha); border-radius: 14px; background: #fff; cursor: pointer; }
.td-ads-pick__opt:has(input:checked) { border-color: #185adb; background: #eef3ff; }
.td-ads-pick__opt input { flex: none; }
.td-ads-pick__img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.td-ads-pick__img--loja { display: grid; place-items: center; background: #185adb; color: #fff; }
.td-ads-pick__opt > span:last-child { display: grid; min-width: 0; }
.td-ads-pick__opt strong { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-ads-pick__opt small { color: var(--tc-suave); }
.td-tdc-termo .td-tdc-termo__ic { color: #fff !important; }

/* Indique e ganhe: botão Copiar link legível no fundo escuro. */
.tdc-hero .td-ref-copy, .td-ref-copy { background: #fff !important; color: #153a75 !important; border-color: #fff !important; }

/* Cursos: título do banner legível no fundo escuro. */
.crs-hero h1, .crs-hero h2 { color: #fff !important; }
/* Preço em TD$ calculado: só leitura. */
.input.is-readonly, input[data-tdc-auto] { background: #f1f4fa; color: #153a75; font-weight: 800; cursor: default; }

/* Home: Quero Trocar (gente procurando) e Aluguel. */
.tx-want { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tx-want__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--tc-linha); border-radius: 18px; background: #fff; color: var(--tc-texto); text-decoration: none; box-shadow: 0 4px 0 rgba(24, 90, 219, .06); }
.tx-want__item:hover { border-color: #f43f7e; }
.tx-want__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: #ffe8f0; color: #c81e5c; }
.tx-want__ic svg { width: 24px; height: 24px; }
.tx-want__txt { display: grid; min-width: 0; flex: 1; }
.tx-want__txt small { color: var(--tc-suave); font-weight: 700; font-size: .78rem; }
.tx-want__txt strong { font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-want__txt em { font-style: normal; color: #0b7a55; font-weight: 700; font-size: .85rem; }
.tx-want__go { flex: none; padding: 6px 12px; border-radius: 999px; background: #f43f7e; color: #fff; font-weight: 800; font-size: .82rem; box-shadow: 0 3px 0 #c81e5c; }
.tx-rent { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tx-rent__item { display: grid; border: 1px solid var(--tc-linha); border-radius: 18px; overflow: hidden; background: #fff; color: var(--tc-texto); text-decoration: none; }
.tx-rent__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tx-rent__item > span { display: grid; gap: 2px; padding: 10px 12px; }
.tx-rent__item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-rent__item em { font-style: normal; font-weight: 900; color: #185adb; font-size: 1.1rem; }
.tx-rent__item small { color: var(--tc-suave); font-weight: 600; font-size: .8rem; }
/* Lojista: TrocaRetira por endereço (matriz e filiais). */
.rt-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 8px; }
.rt-unit { display: grid; gap: 6px; padding: 16px; border: 2px solid var(--tc-linha); border-radius: 20px; background: #fff; }
.rt-unit.is-on { border-color: #10b981; }
.rt-unit header { display: flex; align-items: flex-start; gap: 12px; }
.rt-unit header > div { flex: 1; min-width: 0; }
.rt-unit h3 { margin: 0; font-size: 1.05rem; }
.rt-unit header p { margin: 2px 0 0; color: var(--tc-suave); font-size: .9rem; }
.rt-unit__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px; background: #185adb; color: #fff; }
.rt-unit.is-on .rt-unit__ic { background: #10b981; }
.rt-unit__bar { height: 8px; border-radius: 99px; background: #eef1fb; overflow: hidden; margin-top: 8px; }
.rt-unit__bar span { display: block; height: 100%; background: #10b981; }
.rt-unit__form { display: grid; gap: 6px; margin-top: 6px; }
.rt-unit__form .check { margin: 0; }
.rt-unit__cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; font-size: .9rem; }
.rt-unit__cap .input { width: 90px; }
.rt-unit__form .button { justify-self: start; margin-top: 4px; }
/* Abas e filtros de categoria: quebram linha em vez de cortar (cursos, ebooks, área da empresa). */
.tabs { flex-wrap: wrap; overflow: visible; }
.tabs__tab { flex: 1 1 auto; }
.td-chips { flex-wrap: wrap; overflow: visible; }
/* Doação: prévia das fotos escolhidas. */
.td-fotos-prev { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.td-fotos-prev img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 1px solid var(--tc-linha); }
/* Menu do site: pílulas numa barra só, texto sem quebrar linha. */
@media (min-width: 1280px) {
    body:not(.theme-cupons) .header__nav, body.theme-cupons .header__nav { gap: 2px; padding: 4px; margin-left: 12px; border-radius: 999px; background: #f1f4fb; border: 1px solid #e3e8f4; }
    .header__nav .header__link { white-space: nowrap; padding: 8px 13px; border-radius: 999px; font-size: .9rem; font-weight: 700; color: #26324d; }
    .header__nav .header__link:hover { background: #fff; color: #185adb; }
    body:not(.theme-cupons) .header__nav .header__link[aria-current="page"], body.theme-cupons .header__nav .header__link[aria-current="page"] { background: #fff; color: #c2410c; box-shadow: 0 2px 0 rgba(23, 32, 51, .08); }
    .header__actions { flex-shrink: 0; }
    .header__actions .button, .header__actions a { white-space: nowrap; }
}
@media (min-width: 1280px) and (max-width: 1439px) { .header__nav .header__link[href="/como-funciona.php"] { display: none; } }
/* Doação: fotos já guardadas. */
.td-foto-salva { display: grid; justify-items: center; gap: 4px; font-size: .8rem; color: var(--tc-suave); }
.td-foto-salva img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; border: 2px solid #10b981; }
/* Menu do site (desktop): itens com ícone colorido, sem a barra cinza; o ativo vira pílula da cor do item. */
@media (min-width: 1280px) {
    body:not(.theme-cupons) .header__nav, body.theme-cupons .header__nav { gap: 4px; padding: 0; margin-left: 18px; border: 0; background: none; }
    .header__nav .header__link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px; font-size: .92rem; font-weight: 800; color: #26324d; transition: background .15s, color .15s; }
    .header__nav .header__link svg { width: 18px; height: 18px; flex: none; color: var(--hl, #185adb); }
    .header__nav .header__link:hover { background: var(--hl-bg, #eef3ff); color: var(--hl, #185adb); }
    body:not(.theme-cupons) .header__nav .header__link[aria-current="page"], body.theme-cupons .header__nav .header__link[aria-current="page"] { background: var(--hl, #185adb); color: #fff; box-shadow: 0 3px 0 rgba(23, 32, 51, .18); }
    .header__nav .header__link[aria-current="page"] svg { color: #fff; }
    .header__link--trocas { --hl: #185adb; --hl-bg: #eef3ff; }
    .header__link--quero-trocar { --hl: #db2777; --hl-bg: #ffe8f0; }
    .header__link--servicos { --hl: #0f766e; --hl-bg: #e3f8f0; }
    .header__link--aluguel { --hl: #7c3aed; --hl-bg: #f1eaff; }
    .header__link--empresas { --hl: #c2410c; --hl-bg: #fff1e6; }
    .header__link--cupons { --hl: #b45309; --hl-bg: #fff6db; }
    .header__link--como-funciona { --hl: #475569; --hl-bg: #eef1f6; }
}
@media (min-width: 1280px) and (max-width: 1439px) { .header__nav .header__link { padding: 9px 10px; gap: 5px; } .header__nav .header__link svg { width: 16px; height: 16px; } }

/* Celular: botão do menu maior (site e área logada). */
@media (max-width: 1279px) {
    .header__toggle { width: 48px; height: 48px; border-radius: 14px; border: 1px solid #d9e1ef; background: #fff; color: #153a75; }
    .header__toggle svg { width: 28px; height: 28px; }
}
.drawer__nav a { font-size: 1.05rem; padding: 14px 12px; }

/* Área logada no celular: menu em tela cheia, todos os links à mostra, separados por título. */
@media (max-width: 900px) {
    .admin-topnav__toggle { width: 48px; height: 48px; border-radius: 14px; border: 1px solid #d9e1ef; background: #fff; color: #153a75; }
    .admin-topnav__toggle svg { width: 28px; height: 28px; }
    .admin-topnav__groups.is-open { display: block; max-height: calc(100dvh - 76px); overflow-y: auto; padding: 8px 0 24px; overscroll-behavior: contain; }
    .admin-topnav__groups.is-open .admin-topnav__group { margin: 0 0 14px; }
    .admin-topnav__groups.is-open .admin-topnav__group summary { pointer-events: none; min-height: 0; padding: 6px 4px; border: 0; background: none; font-size: .8rem; font-weight: 900; letter-spacing: .02em; color: #6b7690; }
    .admin-topnav__groups.is-open .admin-topnav__group summary::after, .admin-topnav__groups.is-open .admin-topnav__group summary::before { display: none; }
    .admin-topnav__groups.is-open .admin-topnav__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0; padding: 0; border: 0; background: none; max-height: none; }
    .admin-topnav__groups.is-open .sidenav__link { min-height: 48px; padding: 10px 12px; border-radius: 12px; font-size: 1rem; font-weight: 700; }
    .admin-topnav__groups.is-open .sidenav__link svg { width: 20px; height: 20px; }
    html.dash-menu-open, html.dash-menu-open body { overflow: hidden; }
}
.td-solid-rec { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0; padding: 8px 12px; border-radius: 12px; background: #e3f8f0; color: #0b5c40; }

.td-parc { display: block; margin-top: 4px; color: #0b7a55; font-weight: 700; }
.td-parc strong { font-size: 1.25rem; color: #0b7a55; }
.td-x { border: 0; background: none; color: inherit; font-weight: 900; cursor: pointer; padding: 0 2px; }

/* Aluguel: selo, preço por dia e bloco na página do anúncio. */
.td-card__badge--rent, .td-lc__media[href] .td-lc__badge:has(svg) { }
.td-card__badge--rent { display: inline-flex; align-items: center; gap: 4px; background: #7c3aed !important; color: #fff !important; }
.td-card__badge--rent svg { width: 14px; height: 14px; }
article.td-lc[data-type^="aluguel"] .td-lc__badge { background: #7c3aed; color: #fff; }
article.td-lc[data-type^="aluguel"] .td-lc__price { color: #7c3aed; }
.td-rent-box { display: grid; gap: 10px; margin: 0 0 14px; padding: 16px; border: 2px solid #7c3aed; border-radius: 18px; background: #f7f2ff; }
.td-rent-box__top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0; }
.td-rent-box__top strong { font-size: 1.6rem; font-weight: 900; color: #5b21b6; }
.td-rent-box__top small { color: #5b21b6; font-weight: 700; }
.td-rent-box__top em { font-style: normal; color: #0b7a55; font-weight: 800; }
.td-rent-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.td-rent-box li { display: flex; align-items: flex-start; gap: 8px; }
.td-rent-box li svg { width: 18px; height: 18px; flex: none; color: #7c3aed; margin-top: 2px; }
/* Chips das formas de negociar (cartões e anúncio). */
.td-mchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.td-mchip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; line-height: 1.2; border: 1px solid transparent; }
.td-mchip svg { width: 14px; height: 14px; flex: none; }
.td-mchip--trade { background: #ffe8f0; color: #be185d; border-color: #fbcfe0; }
.td-mchip--money { background: #e8effc; color: #1e4fb8; border-color: #cddcf8; }
.td-mchip--tdc { background: #fff3d6; color: #9a5b00; border-color: #fde3a6; }
.td-mchip--rent { background: #f1eaff; color: #6d28d9; border-color: #ddd0fb; }
.td-mchip--none { background: #f1f3f8; color: #5b6478; }
/* Usados: aceito, com endereço e conversa. */
.td-usado-ok { padding: 8px 10px; border-radius: 12px; background: #e3f8f0; color: #0b5c40; font-size: .88rem; }
.td-usado-ok .button { margin-top: 6px; }
.uz-tabs { margin-bottom: 14px; }.uz-phs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.uz-ph { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 1px solid var(--tc-linha); }
.uz-val { display: grid; gap: 6px; min-width: 200px; justify-items: start; }
.uz-val small { color: var(--tc-suave); font-weight: 700; }
.uz-val strong { font-size: 1.4rem; font-weight: 900; color: #0b7a55; }

/* Franqueado > Anúncios locais: barra de ações em massa */
.td-mod__bulk{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;padding:10px 14px;border-radius:14px;background:#EEF4FF;border:1px solid #C9D9FB}
.td-mod__bulk[hidden]{display:none}
.td-mod__bulk .input{width:auto;min-width:140px}

/* Menu do site (desktop): item não encolhe (o fundo cobre todo o texto); em telas menores, menos espaço e sem "Como funciona" (fica no rodapé e no menu). */
@media (min-width: 1280px) {
    .header__nav { min-width: 0; }
    .header__nav .header__link { flex: none; white-space: nowrap; }
}
@media (min-width: 1280px) {
    .header__nav .header__link[href="/como-funciona.php"] { display: none; }
    .header__nav .header__link { padding: 8px 10px; gap: 5px; font-size: .88rem; }
}
@media (min-width: 1280px) and (max-width: 1539px) {
    .header__nav .header__link svg { display: none; }
}
@media (min-width: 1540px) {
    .header > .container { width: min(1480px, 100% - 2 * var(--gutter)); }
}

/* Saldo de TD$ no topo dos painéis, ao lado do sino */
.td-tdc-chip{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px 0 4px;border-radius:999px;background:#FFF6DB;border:1px solid #FFC93C;color:#153A75;font-weight:700;font-size:.9rem;text-decoration:none;white-space:nowrap}
.td-tdc-chip:hover{background:#FFEDB3;text-decoration:none}
.td-tdc-chip__c{display:grid;place-items:center;height:28px;min-width:28px;padding:0 6px;border-radius:999px;background:#FFC93C;color:#153A75;font-size:.7rem;font-weight:800;letter-spacing:-.02em}
@media (max-width:420px){.td-tdc-chip{padding-right:8px;font-size:.82rem}}
.admin-topnav__group[data-href] summary::after{display:none}

/* Atalhos da abertura da home: botões ovais, cada um com uma cor do menu do topo */
.tx-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-pills a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s; }
.tx-pills a:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(21,58,117,.12); text-decoration: none; }
.tx-pills a:nth-child(1) { background: #fff1e6; color: #c2410c; border-color: #ffd2b0; }
.tx-pills a:nth-child(2) { background: #eef3ff; color: #185adb; border-color: #c9d8ff; }
.tx-pills a:nth-child(3) { background: #e3f8f0; color: #0f766e; border-color: #b6ead6; }
.tx-pills a:nth-child(4) { background: #fff6db; color: #b45309; border-color: #ffe39a; }
.tx-pills a:nth-child(5) { background: #ffe8f0; color: #db2777; border-color: #ffc2d6; }
.tx-pills a:nth-child(6) { background: #f1eaff; color: #7c3aed; border-color: #dccbff; }

/* Busca rápida da home */
.tx-qs { position: relative; margin: 4px 0 14px; }
.tx-qs__ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #185adb; display: flex; pointer-events: none; }
.tx-qs__ic svg { width: 20px; height: 20px; }
.tx-qs__in { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 1.5px solid #d6e0f2; border-radius: 999px; background: #fff; font: inherit; font-size: 1rem; color: #172033; box-shadow: 0 4px 14px rgba(21,58,117,.06); }
.tx-qs__in:focus { outline: none; border-color: #185adb; box-shadow: 0 0 0 4px rgba(24,90,219,.14); }
.tx-qs__res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; background: #fff; border: 1px solid #e3e8f2; border-radius: 18px; box-shadow: 0 18px 40px rgba(21,58,117,.18); max-height: min(420px, 65vh); overflow-y: auto; padding: 6px; }
.tx-qs__it { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: #172033; text-decoration: none; }
.tx-qs__it:hover, .tx-qs__it:focus { background: #f5f7fb; text-decoration: none; }
.tx-qs__it img, .tx-qs__ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: #eef3ff; display: grid; place-items: center; color: #185adb; font-weight: 800; }
.tx-qs__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tx-qs__t small { color: #6b7690; font-size: .78rem; }
.tx-qs__t strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-qs__it em { font-style: normal; font-weight: 800; color: #0f766e; white-space: nowrap; }
.tx-qs__all { display: block; text-align: center; padding: 10px; font-weight: 700; color: #185adb; }
.tx-qs__none { margin: 0; padding: 14px; color: #475569; }

/* Celular: Quero Trocar, aluguel e oportunidades em carrossel (arrastar para o lado), como "Agora em" */
@media (max-width: 720px) {
    .m-car, .m-car-grids .td-grid, .m-car-grids .grid--coupons, .m-car-grids .td-company-grid { display: flex !important; flex-wrap: nowrap !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; grid-template-columns: none !important; }
    .m-car::-webkit-scrollbar, .m-car-grids .td-grid::-webkit-scrollbar, .m-car-grids .grid--coupons::-webkit-scrollbar, .m-car-grids .td-company-grid::-webkit-scrollbar { display: none; }
    .m-car > *, .m-car-grids .td-grid > *, .m-car-grids .grid--coupons > *, .m-car-grids .td-company-grid > * { flex: 0 0 min(260px, 78vw); scroll-snap-align: start; }
    .tx-pills a { min-height: 36px; padding: 0 14px; font-size: .85rem; }
}

/* Aviso contra golpe (sem link, boleto ou cobrança do TrocaDireta por mensagem) */
.td-safe { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, #fff7e6 0%, #ffe9ef 100%); border: 2px solid #ffc93c; box-shadow: 0 6px 0 rgba(244,63,126,.12); color: #3b1d06; }
.td-safe__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #ff7a1a; color: #fff; box-shadow: 0 4px 0 #c2410c; animation: tdSafe 2.4s ease-in-out 2; }
.td-safe__ic svg { width: 26px; height: 26px; }
.td-safe__txt strong { display: block; font-size: 1.02rem; color: #9a3412; line-height: 1.3; }
.td-safe__txt p { margin: 4px 0 0; font-size: .92rem; line-height: 1.45; color: #4a2a12; }
.td-safe__txt a { color: #be185d; font-weight: 700; }
.td-safe--compact { margin-bottom: 18px; padding: 12px 14px; border-radius: 16px; }
.td-safe--compact .td-safe__ic { width: 38px; height: 38px; border-radius: 12px; }
.td-safe--compact .td-safe__ic svg { width: 22px; height: 22px; }
.td-safe-wrap { padding: 8px 0 28px; }
@keyframes tdSafe { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-10deg); } 20% { transform: rotate(10deg); } 30% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .td-safe__ic { animation: none; } }
@media (max-width: 600px) { .td-safe { padding: 14px; gap: 12px; } .td-safe__txt strong { font-size: .95rem; } .td-safe__txt p { font-size: .86rem; } }
.td-safe-home{padding-top:24px;padding-bottom:4px}
.td-safe__title { display: inline-block; margin-bottom: 6px; padding: 4px 12px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 1.05rem; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; box-shadow: 0 3px 0 #9f1239; }
.td-safe--compact .td-safe__title { font-size: .9rem; padding: 3px 10px; margin-bottom: 4px; }
@media (max-width: 600px) { .td-safe__title { font-size: .9rem; } }

/* Escolher cidade digitando */
.td-citys { display: grid; gap: 6px; padding: 6px 4px; min-width: 240px; }
.td-citys__lb { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: #475569; }
.td-citys__in { height: 42px; border-radius: 12px; }
.td-citys__list { list-style: none; margin: 0; padding: 4px; border: 1px solid #e3e8f2; border-radius: 12px; background: #fff; max-height: 240px; overflow-y: auto; box-shadow: 0 10px 24px rgba(21,58,117,.12); }
.td-citys__list button { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font: inherit; color: #172033; cursor: pointer; }
.td-citys__list button:hover, .td-citys__list button:focus { background: #eef3ff; color: #185adb; }
.td-citys__none { padding: 8px 10px; color: #6b7690; font-size: .88rem; }
.dropdown__menu [data-city-type-box] { padding: 0 6px 6px; }
.dropdown__menu .td-citys__list button { min-height: 0; }
.td-citys-drawer { margin-top: 8px; }
.td-citys-drawer > summary { list-style: none; }
.td-citys-drawer > summary::-webkit-details-marker { display: none; }

/* Pop-up: cidade sem publicações */
.td-emptycity { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(21,58,117,.45); backdrop-filter: blur(3px); }
.td-emptycity[hidden] { display: none; }
.td-emptycity__box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 26px; padding: 30px 26px 24px; text-align: center; box-shadow: 0 24px 60px rgba(21,58,117,.3); animation: tdPop .25s ease-out; }
.td-emptycity__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f4fa; color: #475569; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.td-emptycity__ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #185adb, #f43f7e); color: #fff; box-shadow: 0 6px 0 #153a75; margin-bottom: 14px; }
.td-emptycity__ic svg { width: 32px; height: 32px; }
.td-emptycity h2 { margin: 0 0 8px; font-size: 1.45rem; line-height: 1.2; color: #172033; }
.td-emptycity p { margin: 0 0 18px; color: #475569; }
.td-emptycity__acts { display: grid; gap: 10px; }
.td-emptycity__acts .button { justify-content: center; width: 100%; }
.td-emptycity__fr { background: #10b981; color: #fff; border-color: #10b981; box-shadow: 0 4px 0 #047857; }
.td-emptycity__fr:hover { background: #059669; color: #fff; }
@keyframes tdPop { from { transform: translateY(12px) scale(.97); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .td-emptycity__box { animation: none; } }

/* Estoque: valor total, foto e pagamento do lote */
.td-stk__total { margin: 8px 0 0; padding: 10px 14px; border-radius: 14px; background: #e3f8f0; color: #0f766e; font-weight: 600; }
.td-stk__total strong { font-size: 1.15rem; }
.td-stk__photo { display: flex; align-items: center; gap: 10px; padding: 14px; border: 2px dashed #c9d8ff; border-radius: 16px; background: #f5f8ff; cursor: pointer; color: #185adb; font-weight: 700; }
.td-stk__photo input { max-width: 220px; }
.td-lotpay { margin: 16px 0; padding: 16px; border-radius: 18px; background: #fffaf0; border: 1.5px solid #ffe39a; display: grid; gap: 10px; }
.td-lotpay__tdc { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; border: 2px solid #ffc93c; }
.td-lotpay__tdc input { margin-top: 3px; accent-color: #ff7a1a; }

/* Novo lote: escolha dos itens em cartões */
.td-lotpick { display: grid; gap: 10px; }
.td-lotpick__it { display: grid; grid-template-columns: auto 56px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid #e3e8f2; border-radius: 18px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.td-lotpick__it.is-on { border-color: #185adb; box-shadow: 0 4px 0 rgba(24,90,219,.18); background: #f5f8ff; }
.td-lotpick__it input { width: 20px; height: 20px; accent-color: #185adb; }
.td-lotpick__img { width: 56px; height: 56px; border-radius: 14px; background: #eef3ff; display: grid; place-items: center; color: #185adb; overflow: hidden; }
.td-lotpick__img img { width: 100%; height: 100%; object-fit: cover; }
.td-lotpick__tx { display: grid; min-width: 0; }
.td-lotpick__tx small { color: #6b7690; }
.td-lotpick__v { font-weight: 800; color: #0f766e; white-space: nowrap; }
.td-lotpay__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 16px; border-radius: 16px; background: #153a75; color: #fff; }
.td-lotpay__total span { font-weight: 600; opacity: .85; }
.td-lotpay__total strong { font-size: 1.6rem; color: #ffc93c; }
.td-lotpay__total small { opacity: .85; }
.td-stkhow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 16px; padding: 14px 16px; border-radius: 18px; background: #eef3ff; border: 1.5px solid #c9d8ff; color: #153a75; }
.td-stkhow > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #185adb; color: #fff; }
.td-stkhow p { flex: 1; min-width: 220px; margin: 0; }
@media (max-width: 600px) { .td-lotpick__it { grid-template-columns: auto 44px 1fr; } .td-lotpick__v { grid-column: 2 / -1; } .td-lotpick__img { width: 44px; height: 44px; } }

/* Botões de escolha (tipo de oferta, condição, o que aceita, pagamento) */
.td-chipset { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 8px 0 4px; }
.td-chipset legend { width: 100%; margin-bottom: 6px; font-weight: 700; font-size: .9rem; color: #172033; }
.td-chipset label { position: relative; cursor: pointer; }
.td-chipset input { position: absolute; opacity: 0; pointer-events: none; }
.td-chipset span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 2px solid #d6e0f2; border-radius: 999px; background: #fff; font-weight: 700; color: #153a75; transition: background .15s, border-color .15s; }
.td-chipset span svg { width: 18px; height: 18px; }
.td-chipset input:checked + span { background: #185adb; border-color: #185adb; color: #fff; box-shadow: 0 3px 0 #153a75; }
.td-chipset input:focus-visible + span { outline: 3px solid #ffc93c; outline-offset: 2px; }
.td-chipset[hidden] { display: none; }
.td-lotpickup { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #e3f8f0; color: #0f5132; margin-bottom: 12px; }
.td-lotpickup > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #10b981; color: #fff; flex: none; }
.td-lotpickup p { margin: 0; } .td-lotpickup strong { display: block; }
/* Vender lote: item novo na mesma tela */
.td-lotnew { margin-top: 12px; border: 2px dashed #c9d8ff; border-radius: 18px; background: #f8faff; }
.td-lotnew > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 800; color: #185adb; }
.td-lotnew > summary::-webkit-details-marker { display: none; }
.td-lotnew[open] > summary { border-bottom: 1px solid #dfe7f7; }
.td-lotnew__body { padding: 14px 16px 16px; }

.td-lotdue { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff1e6; border: 1.5px solid #ffd2b0; color: #9a3412; margin: 10px 0; }
.td-lotdue svg { flex: none; margin-top: 2px; }
.td-stkhow a { font-weight: 700; }

/* Vender lote: campos que aparecem conforme as escolhas */
.td-new__form .form-field[hidden], .td-chipset[hidden] { display: none !important; }
[data-lot-step2].is-off { opacity: .55; }
.td-lotpick__warn { color: #b45309; font-weight: 600; }
.td-lotpick__it:has(input:disabled) { opacity: .6; cursor: not-allowed; }

/* Selos de lote nos cartões */
body:not(.theme-cupons) .td-lotbadge { color: #fff !important; }
body:not(.theme-cupons) .td-lotbadge--vencimento { background: #f43f5e !important; }
body:not(.theme-cupons) .td-lotbadge--atacado { background: #185adb !important; }
body:not(.theme-cupons) .td-lotbadge--excedente { background: #0f766e !important; }
body:not(.theme-cupons) .td-lotbadge--equipamento { background: #7c3aed !important; }
body:not(.theme-cupons) .td-lotbadge--due, body:not(.theme-cupons) .td-lc__badge--due { background: #ffc93c !important; color: #172033 !important; }
.td-lc__badge--due { top: auto; bottom: 10px; }

/* Painel: Indique e ganhe */
.td-refbox { display: grid; grid-template-columns: auto 1fr auto; gap: 14px 18px; align-items: center; margin: 18px 0; padding: 18px 20px; border-radius: 24px; background: linear-gradient(120deg, #185adb, #153a75); color: #fff; box-shadow: 0 5px 0 #0f2a57; }
.td-refbox__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #ffc93c; color: #153a75; }
.td-refbox__ic svg { width: 28px; height: 28px; }
.td-refbox h2 { margin: 0 0 4px; font-size: 1.2rem; color: #fff; }
.td-refbox p { margin: 0 0 8px; opacity: .92; } .td-refbox p a { color: #ffc93c; font-weight: 700; }
.td-refbox .input { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.td-refbox__go { display: grid; gap: 8px; } .td-refbox__go .button--outline { background: #fff; color: #153a75; }
@media (max-width: 760px) { .td-refbox { grid-template-columns: 1fr; } .td-refbox__ic { display: none; } }
/* Planos do pague na entrega */
.td-pne-plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: stretch; }
.td-pne-plan { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; border: 2px solid #e3e8f2; box-shadow: 0 4px 0 rgba(21,58,117,.08); }
.td-pne-plan header { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 30px; }
.td-pne-plan__price { font-size: 1.75rem; }
.td-pne-plan__lim { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #e3f8f0; color: #0f766e; font-size: .9rem; }
.td-pne-plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: #3b4661; font-size: .92rem; }
.td-pne-plan__list li { position: relative; padding-left: 22px; }
.td-pne-plan__list li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2.5px solid #10b981; border-bottom: 2.5px solid #10b981; transform: rotate(-45deg); }
.td-pne-plan__foot { margin-top: auto; padding-top: 6px; }
.td-pne-plan__warn { color: #b45309; font-weight: 600; font-size: .88rem; }
.td-pne-plan.is-current { border-color: #10b981; box-shadow: 0 0 0 3px #bbf7d0; }
.td-pne-plan.is-top { border-color: #ff7a1a; box-shadow: 0 5px 0 #ffd2b0; }
.td-pne-plan__tag { padding: 3px 10px; border-radius: 999px; background: #ff7a1a; color: #fff; font-weight: 800; font-size: .75rem; white-space: nowrap; }
/* Meu plano: todos os planos */
.td-myplans { margin-top: 28px; }
.td-myplans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 12px; }
.td-myplans__it { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 20px; background: #fff; border: 2px solid #e3e8f2; }
.td-myplans__it.is-on { border-color: #10b981; background: #f3fcf8; }
.td-myplans__it header { display: flex; align-items: center; gap: 10px; }
.td-myplans__it h3 { margin: 0; font-size: 1rem; flex: 1; }
.td-myplans__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #eef3ff; color: #185adb; flex: none; }
.td-myplans__it.is-on .td-myplans__ic { background: #10b981; color: #fff; }
.td-myplans__st { padding: 2px 10px; border-radius: 999px; background: #eef3ff; color: #153a75; font-weight: 700; font-size: .75rem; }
.td-myplans__it.is-on .td-myplans__st { background: #10b981; color: #fff; }
.td-myplans__now { margin: 0; font-weight: 700; color: #172033; }
.td-myplans__it p { margin: 0; } .td-myplans__it .button { margin-top: auto; align-self: flex-start; }
/* Indique e ganhe: versão clara (substitui a azul) */
.td-hub .td-refbox { background: linear-gradient(100deg, #fff8e6 0%, #ffffff 55%, #eef3ff 100%); color: #172033; border: 2px solid #ffd98a; box-shadow: 0 5px 0 #ffd98a; }
.td-hub .td-refbox h2 { color: #153a75; font-size: 1.25rem; font-weight: 800; }
.td-hub .td-refbox h2 b { color: #ff7a1a; }
.td-hub .td-refbox p { color: #3b4661; opacity: 1; }
.td-hub .td-refbox p a { color: #185adb; }
.td-hub .td-refbox .input { background: #fff; color: #153a75; border: 1.5px dashed #9bb5ec; font-weight: 600; }
.td-hub .td-refbox__ic { background: #ff7a1a; color: #fff; box-shadow: 0 3px 0 #c2410c; }
.td-hub .td-refbox__go .button--action { background: #10b981; border-color: #10b981; color: #fff; box-shadow: 0 3px 0 #047857; }
.td-hub .td-refbox__go .button--outline { background: #fff; color: #185adb; border-color: #185adb; box-shadow: 0 3px 0 #c9d8ff; }
/* Visitantes do site */
.td-vis__filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.td-vis__filters .td-chipset { margin: 0; } .td-vis__filters .select, .td-vis__filters .input { width: auto; min-width: 180px; }
.td-vis__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.td-vis__k { padding: 16px; border-radius: 20px; background: #fff; border: 2px solid #e3e8f2; display: grid; gap: 2px; }
.td-vis__k small { color: #6b7690; font-weight: 700; } .td-vis__k strong { font-size: 1.7rem; color: #153a75; } .td-vis__k em { font-style: normal; color: #6b7690; font-size: .85rem; }
.td-vis__k--on { background: #e3f8f0; border-color: #10b981; } .td-vis__k--on strong { color: #0f766e; }
.td-vis__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.td-vis__grid h2, .td-vis__path + h2 { font-size: 1.05rem; margin: 0 0 10px; }
.td-vis__wide { grid-column: 1 / -1; }
.td-vis__days, .td-vis__hours { display: flex; align-items: flex-end; gap: 4px; height: 150px; overflow-x: auto; }
.td-vis__days span, .td-vis__hours span { flex: 1 0 22px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; font-size: .7rem; color: #6b7690; }
.td-vis__days i, .td-vis__hours i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: #185adb; }
.td-vis__hours i { background: #ff7a1a; } .td-vis__days b { color: #153a75; font-size: .72rem; }
.td-vis__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-vis__bars li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; overflow: hidden; z-index: 0; font-size: .9rem; }
.td-vis__bars li i { position: absolute; inset: 0 auto 0 0; background: #eef3ff; z-index: -1; border-radius: 10px; }
.td-vis__bars li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .td-vis__bars li small { color: #6b7690; }
.td-vis__bars li b { color: #153a75; }
.td-vis__path { margin: 0; padding-left: 20px; display: grid; gap: 8px; } .td-vis__path li span { color: #6b7690; margin-right: 8px; font-size: .85rem; } .td-vis__path small { display: block; color: #6b7690; }

/* Empresas: chamada para cadastrar */
.td-cademp { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; max-width: 760px; padding: 14px 18px; border-radius: 20px; background: #fff4e8; border: 2px solid #ffd2b0; }
.td-cademp > div { flex: 1; min-width: 220px; } .td-cademp p { margin: 2px 0 0; color: #3b4661; } .td-cademp strong { color: #153a75; font-size: 1.05rem; }
.td-cademp__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #ff7a1a; color: #fff; }
/* Monitor do sistema */
.td-iamon__body { line-height: 1.6; color: #172033; } .td-iamon__body ul { margin: 4px 0 10px; padding-left: 20px; } .td-iamon__body strong { color: #153a75; }
.td-iamon__k { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: #eef3ff; color: #153a75; white-space: nowrap; }
.td-iamon__k--fatal, .td-iamon__k--exception { background: #fde2e7; color: #be123c; } .td-iamon__k--safe { background: #fff4e0; color: #b45309; } .td-iamon__k--404 { background: #f1f5f9; color: #475569; }

/* Home: TrocaSolidária */
.td-doahome__box { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding: 30px; border-radius: 28px; background: linear-gradient(120deg, #fff0f4 0%, #fff8ec 60%, #eefbf5 100%); border: 2px solid #ffd0dc; box-shadow: 0 6px 0 #ffd0dc; overflow: hidden; }
.td-doahome__art { position: relative; height: 220px; }
.td-doahome__gift { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); display: grid; place-items: center; width: 120px; height: 120px; border-radius: 34px; background: #f43f7e; color: #fff; box-shadow: 0 8px 0 #be185d; }
.td-doahome__gift svg { width: 62px; height: 62px; }
.td-doahome__h { position: absolute; color: #f43f7e; animation: td-float 4s ease-in-out infinite; }
.td-doahome__h svg { width: 100%; height: 100%; display: block; }
.td-doahome__h--1 { width: 54px; height: 54px; left: 8%; top: 6%; color: #ff7a1a; }
.td-doahome__h--2 { width: 38px; height: 38px; right: 6%; top: 18%; animation-delay: 1.2s; }
.td-doahome__h--3 { width: 46px; height: 46px; right: 16%; bottom: 4%; color: #10b981; animation-delay: 2.1s; }
@keyframes td-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@media (prefers-reduced-motion: reduce) { .td-doahome__h { animation: none; } }
.td-doahome__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; color: #be185d; font-weight: 800; font-size: .85rem; box-shadow: 0 2px 0 #ffd0dc; }
.td-doahome__tag svg, .td-doahome__orgs svg, .td-doahome__btn svg { width: 16px; height: 16px; }
.td-doahome h2 { margin: 10px 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: #172033; line-height: 1.1; }
.td-doahome__lead { margin: 0 0 14px; color: #3b4661; font-size: 1.05rem; max-width: 62ch; }
.td-doahome__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.td-doahome__list li { display: flex; gap: 10px; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.8); }
.td-doahome__list li > span { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: #fde2ea; color: #be185d; }
.td-doahome__list li:nth-child(2) > span { background: #fff1dc; color: #c2410c; } .td-doahome__list li:nth-child(3) > span { background: #dcf7ea; color: #047857; }
.td-doahome__list strong { display: block; color: #172033; font-size: .95rem; } .td-doahome__list small { color: #5b6680; line-height: 1.35; display: block; margin-top: 2px; }
.td-doahome__orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; color: #be185d; font-weight: 700; font-size: .9rem; }
.td-doahome__orgs b { padding: 3px 10px; border-radius: 999px; background: #fff; color: #172033; font-weight: 700; }
.td-doahome__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.td-doahome__btn { background: #f43f7e !important; border-color: #f43f7e !important; color: #fff !important; box-shadow: 0 4px 0 #be185d !important; }
@media (max-width: 900px) { .td-doahome__box { grid-template-columns: 1fr; padding: 22px 18px; } .td-doahome__art { height: 130px; } .td-doahome__gift { width: 86px; height: 86px; border-radius: 26px; } .td-doahome__gift svg { width: 44px; height: 44px; } .td-doahome__list { grid-template-columns: 1fr; } }

/* Doar item: retirada */
.td-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0 12px; }
.td-pick__it { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 16px; background: #f8faff; border: 1.5px solid #e3e8f2; }
.td-pick__it strong { display: block; color: #172033; font-size: .95rem; } .td-pick__it small { display: block; color: #5b6680; line-height: 1.35; margin-top: 2px; }
.td-pick__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; }
.td-pick__ic--pin { background: #eef3ff; color: #185adb; } .td-pick__ic--lock { background: #fff1dc; color: #c2410c; } .td-pick__ic--ok { background: #dcf7ea; color: #047857; }
.td-pick__orgs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 12px; border-radius: 14px; background: #fff0f4; }
.td-pick__orgs > span { font-weight: 700; color: #be185d; font-size: .9rem; }
.td-pick__orgs b { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; background: #fff; color: #172033; font-weight: 700; font-size: .9rem; }
.td-pick__orgs b svg { width: 16px; height: 16px; color: #10b981; }
@media (max-width: 760px) { .td-pick { grid-template-columns: 1fr; } }
/* Página da empresa: nome longo não sobe por cima da capa (só o logo fica sobre a capa) */
.store-profile__name { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.15; overflow-wrap: anywhere; }
@media (min-width: 768px) {
    .store-profile__head { align-items: start; }
    .store-profile__head > div, .store-profile__head > .cluster { padding-top: 60px; }
}

.td-unit-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #eef3ff; color: #153a75; font-weight: 800; font-size: .72rem; vertical-align: middle; }
.td-unit-tag--filial { background: #fff1dc; color: #c2410c; }

.td-locf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; } .td-locf .td-course__search { flex: 1 1 260px; } .td-locf .select { width: auto; min-width: 170px; }
.td-unit-of { display: flex; align-items: center; gap: 6px; margin: 4px 0 2px; color: #c2410c; font-weight: 600; font-size: .9rem; } .td-unit-of svg { width: 15px; height: 15px; } .td-unit-of a { color: #153a75; }
/* Filtros sem recarregar: resultados esmaecem enquanto carregam */
#conteudo.is-loading .table-wrap, #conteudo.is-loading .td-notes, #conteudo.is-loading .td-dir, #conteudo.is-loading .td-vis__grid, #conteudo.is-loading .td-grid, #conteudo.is-loading .listing-grid { opacity: .45; transition: opacity .15s; pointer-events: none; }
/* Como funciona (guia das páginas) */
.td-pguide { margin: 0 0 18px; border-radius: 24px; background: linear-gradient(115deg, #eef3ff 0%, #fff7ec 100%); border: 2px solid #d6e2ff; box-shadow: 0 5px 0 #d6e2ff; overflow: hidden; }
.td-pguide > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.td-pguide > summary::-webkit-details-marker { display: none; }
.td-pguide > summary strong { color: #153a75; font-size: 1.05rem; }
.td-pguide > summary em { margin-left: auto; font-style: normal; color: #185adb; font-weight: 700; font-size: .85rem; }
.td-pguide[open] > summary em { display: none; }
.td-pguide__badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: #185adb; color: #fff; box-shadow: 0 3px 0 #153a75; }
.td-pguide__badge svg { width: 18px; height: 18px; }
.td-pguide__steps { list-style: none; margin: 0; padding: 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.td-pguide__st { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 3px 0 rgba(21,58,117,.08); }
.td-pguide__ic { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; color: #fff; }
.td-pguide__ic svg { width: 22px; height: 22px; }
.td-pguide__ic b { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #ffc93c; color: #172033; font-size: .72rem; border: 2px solid #fff; }
.td-pguide__st--1 .td-pguide__ic { background: #185adb; box-shadow: 0 3px 0 #153a75; }
.td-pguide__st--2 .td-pguide__ic { background: #ff7a1a; box-shadow: 0 3px 0 #c2410c; }
.td-pguide__st--3 .td-pguide__ic { background: #10b981; box-shadow: 0 3px 0 #047857; }
.td-pguide__st strong { display: block; color: #172033; } .td-pguide__st small { display: block; margin-top: 2px; color: #5b6680; line-height: 1.4; font-size: .88rem; }
.td-pguide__ex { margin: 12px 18px 0; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1.5px dashed #ffb27a; color: #3b4661; font-size: .92rem; }
.td-pguide__ex span { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: #ff7a1a; color: #fff; font-weight: 800; font-size: .75rem; }
.td-pguide__ok { display: block; margin: 10px 18px 14px auto; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: #185adb; font-weight: 700; cursor: pointer; }
.td-pguide__ok:hover { background: #fff; }
@media (max-width: 760px) { .td-pguide__steps { grid-template-columns: 1fr; } }

/* Busca do painel */
.td-psearch { position: relative; margin: 0 0 18px; z-index: 20; }
.td-psearch__box { display: flex; align-items: center; gap: 10px; padding: 0 18px; min-height: 58px; border-radius: 20px; background: #fff; border: 2px solid #c9d8ff; box-shadow: 0 4px 0 #dbe6ff; }
.td-psearch__box:focus-within { border-color: #185adb; }
.td-psearch__box svg { width: 22px; height: 22px; color: #185adb; flex: none; }
.td-psearch__box input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.05rem; color: #172033; min-width: 0; }
.td-psearch__out { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: 70vh; overflow: auto; padding: 12px; border-radius: 20px; background: #fff; border: 1.5px solid #e3e8f2; box-shadow: 0 18px 40px rgba(21,58,117,.18); }
.td-psearch__h { margin: 4px 6px 8px; font-weight: 800; font-size: .8rem; color: #6b7690; }
.td-psearch__sc { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-bottom: 10px; }
.td-psearch__sc a { display: grid; padding: 10px 12px; border-radius: 14px; background: #eef3ff; text-decoration: none; color: #153a75; }
.td-psearch__sc a:hover, .td-psearch__sc a:focus { background: #185adb; color: #fff; } .td-psearch__sc a:hover small, .td-psearch__sc a:focus small { color: #dbe6ff; }
.td-psearch__sc small { color: #6b7690; font-size: .78rem; }
.td-psearch__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.td-psearch__list a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; text-decoration: none; color: #172033; }
.td-psearch__list a:hover { background: #f5f8ff; }
.td-psearch__list img, .td-psearch__ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #eef3ff; flex: none; }
.td-psearch__list span { flex: 1; min-width: 0; display: grid; } .td-psearch__list small { color: #6b7690; } .td-psearch__list b { color: #0f766e; white-space: nowrap; }
.td-psearch__none { margin: 6px; color: #6b7690; }

/* Busca no topo, ao lado do logo */
.admin-topnav__head .td-psearch { flex: 1 1 420px; max-width: 560px; margin: 0 16px; }
.admin-topnav__head .td-psearch__box { min-height: 44px; border-radius: 999px; box-shadow: none; border-width: 1.5px; padding: 0 14px; }
.admin-topnav__head .td-psearch__box input { font-size: .95rem; }
.admin-topnav__head .td-psearch__out { min-width: min(560px, 92vw); }
@media (max-width: 760px) {
    .admin-topnav__head { flex-wrap: wrap; }
    .admin-topnav__head .td-psearch { order: 10; flex: 1 1 100%; max-width: none; margin: 8px 0 4px; }
    .admin-topnav__head .td-psearch__out { min-width: 0; }
}

/* Empresas credenciadas para doações */
.td-credhero { margin-bottom: 26px; }
.td-credhero__t { margin: 10px 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: #172033; line-height: 1.1; }
.td-cred__h { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 1.2rem; color: #be185d; } .td-cred__h svg { width: 20px; height: 20px; }
.td-cred { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.td-cred__card { border-radius: 26px; background: #fff; border: 2px solid #ffd0dc; box-shadow: 0 6px 0 #ffe4ec; overflow: hidden; display: flex; flex-direction: column; }
.td-cred__cover { position: relative; height: 120px; background: linear-gradient(120deg, #f43f7e, #ff7a1a); background-size: cover; background-position: center; }
.td-cred__seal { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: #fff; color: #047857; font-weight: 800; font-size: .78rem; }
.td-cred__seal svg { width: 15px; height: 15px; }
.td-cred__body { position: relative; padding: 46px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.td-cred__logo { position: absolute; left: 20px; top: -42px; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 22px; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(190,24,93,.18); overflow: hidden; font-weight: 900; font-size: 1.4rem; color: #be185d; }
.td-cred__logo img { width: 100%; height: 100%; object-fit: contain; }
.td-cred__body h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; } .td-cred__body h3 a { color: #172033; text-decoration: none; }
.td-cred__desc { margin: 0; color: #5b6680; font-size: .92rem; }
.td-cred__addr { display: flex; gap: 8px; margin: 0; padding: 8px 10px; border-radius: 14px; background: #fff5f8; color: #3b4661; font-size: .9rem; }
.td-cred__addr svg { width: 16px; height: 16px; color: #f43f7e; flex: none; margin-top: 2px; } .td-cred__addr small { display: block; color: #6b7690; }
.td-cred__go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.td-cred__wa { background: #10b981 !important; border-color: #10b981 !important; color: #fff !important; box-shadow: 0 3px 0 #047857 !important; }
/* Como funciona: fechado por padrão, aberto só quando a pessoa clica */
.td-pguide:not([open]) { box-shadow: 0 3px 0 #d6e2ff; }
.td-pguide:not([open]) > summary { padding: 10px 14px; }
.td-pguide > summary em { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #185adb; color: #fff !important; box-shadow: 0 3px 0 #153a75; }
.td-pguide[open] > summary em { display: none; }
@media (max-width: 600px) { .td-pguide > summary strong { font-size: .95rem; } .td-pguide > summary em { padding: 5px 10px; font-size: .8rem; } }
/* Admin TrocaClub: desafios */
.td-club__h { margin: 22px 0 12px; font-size: 1.2rem; color: #153a75; }
.td-club { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.td-club__card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 22px; background: #fff; border: 2px solid #e3e8f2; box-shadow: 0 4px 0 rgba(21,58,117,.07); }
.td-club__card.is-editing { border-color: #185adb; box-shadow: 0 0 0 3px #c9d8ff; }
.td-club__card header { display: flex; gap: 12px; align-items: center; }
.td-club__card h3 { margin: 0; font-size: 1.05rem; color: #172033; }
.td-club__ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; background: #fff1dc; color: #c2410c; }
.td-club__st { display: inline-block; margin-top: 3px; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: #eef3ff; color: #153a75; }
.td-club__card--on .td-club__st { background: #10b981; color: #fff; } .td-club__card--on .td-club__ic { background: #dcf7ea; color: #047857; }
.td-club__card--soon .td-club__st { background: #ffc93c; color: #172033; }
.td-club__card--end .td-club__st, .td-club__card--off .td-club__st { background: #e5e7eb; color: #475569; }
.td-club__card--end, .td-club__card--off { opacity: .8; }
.td-club__desc { margin: 0; color: #5b6680; font-size: .92rem; }
.td-club__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.td-club__facts div { padding: 8px 10px; border-radius: 12px; background: #f5f8ff; } .td-club__facts dt { font-size: .74rem; color: #6b7690; font-weight: 700; } .td-club__facts dd { margin: 0; font-weight: 800; color: #172033; }
.td-club__prize { color: #c2410c !important; }
.td-club__when { display: flex; align-items: center; gap: 6px; margin: 0; color: #5b6680; font-size: .85rem; } .td-club__when svg { width: 15px; height: 15px; }
.td-club__card .button { align-self: flex-start; margin-top: auto; }
.td-club__form { margin-top: 10px; scroll-margin-top: 90px; }
.td-club__ex { margin-top: 18px; } .td-club__ex > summary { cursor: pointer; font-weight: 700; color: #185adb; }

/* Sino piscando nos painéis (pendências) e pop-up "esperando há mais de 1 dia" */
.td-pbell { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px 3px 6px; border-radius: 999px; background: #eef1f7; color: #8a93a6; font-style: normal; font-weight: 800; font-size: .78rem; }
.td-hub__link .td-pbell svg { width: 14px; height: 14px; flex: 0 0 14px; color: currentColor; transform-origin: 50% 10%; }
.td-pbell.is-on { background: #F43F7E; color: #fff; box-shadow: 0 0 0 0 rgba(244,63,126,.55); animation: td-pbell-pulse 1.6s ease-out infinite; }
.td-hub__link .td-pbell.is-on svg { animation: td-pbell-ring 1.6s ease-in-out infinite; }
.td-pbell em { font-style: normal; }
@keyframes td-pbell-pulse { 0% { box-shadow: 0 0 0 0 rgba(244,63,126,.55); } 70% { box-shadow: 0 0 0 9px rgba(244,63,126,0); } 100% { box-shadow: 0 0 0 0 rgba(244,63,126,0); } }
@keyframes td-pbell-ring { 0%, 55%, 100% { transform: rotate(0); } 10% { transform: rotate(16deg); } 20% { transform: rotate(-14deg); } 30% { transform: rotate(10deg); } 40% { transform: rotate(-6deg); } }
.td-pendpop { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(21,58,117,.45); }
.td-pendpop__card { width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 26px 22px 20px; box-shadow: 0 8px 0 #153A75, 0 24px 60px rgba(21,58,117,.3); text-align: center; animation: td-pop-in .25s ease-out; }
.td-pendpop__ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: #FFF1E6; font-size: 1.8rem; box-shadow: 0 4px 0 #FF7A1A; }
.td-pendpop h2 { margin: 14px 0 6px; font-size: 1.35rem; color: #172033; }
.td-pendpop p { margin: 0 0 14px; color: #5b6478; }
.td-pendpop__list { display: grid; gap: 8px; margin-bottom: 16px; text-align: left; }
.td-pendpop__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: #F5F8FF; color: #172033; font-weight: 700; text-decoration: none; }
.td-pendpop__row:hover { background: #E8F0FF; }
.td-pendpop__row b { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #F43F7E; color: #fff; }
.td-pendpop__act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@keyframes td-pop-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 600px) {
  .td-pendpop { place-items: end center; padding: 0; }
  .td-pendpop__card { width: 100%; border-radius: 24px 24px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(21,58,117,.25); }
  .td-pendpop__act .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .td-pbell.is-on, .td-hub__link .td-pbell.is-on svg, .td-pendpop__card { animation: none; } }
.td-club__notes { list-style: none; margin: 12px 0 0; padding: 12px 14px; display: grid; gap: 6px; border-radius: 14px; background: #F0FBF6; color: #14532d; font-size: .92rem; }
.td-club__notes li { display: flex; gap: 8px; align-items: flex-start; }
.td-club__notes svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: #10B981; }

/* Nova campanha de cupom: tipo em cartões, valores em frases e aviso de fidelidade */
.td-ctype { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: -4px 0 14px 34px; }
.td-ctype .td-new__opt { gap: 8px; padding: 10px 12px; font-size: .94rem; }
.td-ctype .td-new__opt svg { width: 18px; height: 18px; color: #185ADB; flex: 0 0 18px; }
.td-ctype .td-new__opt input { margin: 0; }
.td-loy__in--wide input { width: 90px; }
.td-loy__in--text input { width: min(260px, 52vw); text-align: left; }
.td-loy__in--date input { width: auto; min-width: 140px; }
.td-loy .td-loy__line small { font-weight: 500; font-size: .85rem; }
.td-loy [data-cval][hidden] { display: none; }
.td-cloy { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px; background: #FFF6E5; border: 2px solid #FFE0A3; }
.td-cloy > div { flex: 1 1 260px; }
.td-cloy p { margin: 4px 0 0; color: #5b4a1f; font-size: .92rem; }
.td-cloy__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #FF7A1A; color: #fff; box-shadow: 0 4px 0 #C2410C; }
.td-cloy__ic svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .td-ctype { margin-left: 0; grid-template-columns: 1fr 1fr; } }

/* Proposta mínima, denúncia no chat e suspensão de conta */
.td-minoffer { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #FFF1E6; color: #C2410C; font-size: .82rem; font-weight: 700; }
.wa__ibtn--report { color: #F43F7E; }
.td-report { width: min(520px, calc(100% - 24px)); border: 0; border-radius: 24px; padding: 0; box-shadow: 0 8px 0 #153A75, 0 24px 60px rgba(21,58,117,.3); }
.td-report::backdrop { background: rgba(21,58,117,.45); }
.td-report form { display: grid; gap: 14px; padding: 22px; }
.td-report header { display: flex; gap: 12px; align-items: flex-start; }
.td-report h2 { margin: 0; font-size: 1.25rem; color: #172033; }
.td-report header p { margin: 4px 0 0; color: #5b6478; font-size: .92rem; }
.td-report__ic { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; background: #F43F7E; color: #fff; box-shadow: 0 4px 0 #be185d; }
.td-report__ic svg { width: 22px; height: 22px; }
.td-report__cats { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.td-report__cats legend { font-weight: 700; margin-bottom: 6px; }
.td-report__cats .td-new__opt { padding: 10px 12px; font-size: .92rem; }
.td-report__act { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .td-report { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; } .td-report__cats { grid-template-columns: 1fr; } .td-report__act .button { flex: 1; } }
.td-susp { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; vertical-align: middle; }
.td-susp summary { list-style: none; cursor: pointer; }
.td-susp summary::-webkit-details-marker { display: none; }
.td-susp__box { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: 280px; display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 12px 34px rgba(21,58,117,.22); text-align: left; }
.td-susp__tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #FFE4EC; color: #be185d; font-weight: 800; font-size: .82rem; }
.td-susp__tag svg { width: 14px; height: 14px; }
.td-susp--on small { color: #5b6478; }
@media (max-width: 600px) { .td-susp__box { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; } }

/* Primeiros passos nos painéis */
.td-steps { margin: 0 0 var(--space-5, 20px); padding: 18px; border-radius: 22px; background: linear-gradient(135deg, #EEF3FF, #FFF6E5); border: 2px solid #dbe6ff; }
.td-steps header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.td-steps header > div { flex: 1 1 220px; }
.td-steps h2 { margin: 0; font-size: 1.2rem; color: #153A75; }
.td-steps header p { margin: 2px 0 0; color: #5b6478; font-size: .92rem; }
.td-steps__bar { flex: 0 0 160px; height: 10px; border-radius: 999px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px #dbe6ff; }
.td-steps__bar i { display: block; height: 100%; background: #10B981; border-radius: 999px; }
.td-steps__x { border: 0; background: none; font-size: 1.6rem; line-height: 1; color: #8a93a6; cursor: pointer; padding: 0 4px; }
.td-steps ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.td-steps li a { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 16px; background: #fff; color: #172033; text-decoration: none; box-shadow: 0 3px 0 rgba(21,58,117,.08); height: 100%; }
.td-steps li a:hover { box-shadow: 0 3px 0 #185ADB; }
.td-steps li strong { display: block; font-size: .95rem; }
.td-steps li small { color: #5b6478; font-size: .84rem; }
.td-steps__ck { flex: 0 0 26px; height: 26px; border-radius: 50%; border: 2px solid #b9c8e8; display: grid; place-items: center; }
.td-steps__ck svg { width: 15px; height: 15px; }
.td-steps li.is-done a { opacity: .7; }
.td-steps li.is-done .td-steps__ck { background: #10B981; border-color: #10B981; color: #fff; }
.td-steps li.is-done strong { text-decoration: line-through; }
@media (max-width: 600px) { .td-steps__bar { flex-basis: 100%; } }

/* Escrever anúncio com IA */
.td-aiwrite { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #F3EEFF, #EEF3FF); border: 2px dashed #c7b8ff; }
.td-aiwrite__ic { font-size: 1.6rem; line-height: 1; }
.td-aiwrite__body { flex: 1; display: grid; gap: 6px; }
.td-aiwrite__body strong { color: #4c1d95; }
.td-aiwrite__body small { color: #5b6478; }
.td-aiwrite__row { display: flex; gap: 8px; }
.td-aiwrite__row .input { flex: 1; min-width: 0; }
.td-aiwrite__msg { margin: 0; font-size: .88rem; color: #4c1d95; font-weight: 600; min-height: 1em; }
@media (max-width: 600px) { .td-aiwrite__row { flex-direction: column; } }
.td-airisk { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.td-airisk--baixo { background: #DCF7EA; color: #047857; }
.td-airisk--medio { background: #FFF1D6; color: #9a5b00; }
.td-airisk--alto { background: #FFE4EC; color: #be185d; }
.td-aiflag { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-aiflag li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Recebedor do Pix na tela de pagamento */
.td-payee { display: flex; gap: 14px; align-items: flex-start; margin: 18px 0 8px; padding: 16px 18px; background: #ECFDF5; border: 1.5px solid #10B981; border-radius: 16px; }
.td-payee__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #10B981; color: #fff; }
.td-payee__ic svg { width: 24px; height: 24px; }
.td-payee__body { flex: 1; min-width: 0; }
.td-payee__title { display: block; font-size: 1.02rem; color: #172033; }
.td-payee__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; margin: 10px 0; padding: 10px 0; border-top: 1px dashed #6EE7B7; border-bottom: 1px dashed #6EE7B7; }
.td-payee__row small { color: #475569; font-size: .84rem; }
.td-payee__row b { color: #065F46; font-size: 1.08rem; font-weight: 800; letter-spacing: .02em; }
.td-payee__body p { margin: 0; color: #334155; font-size: .9rem; line-height: 1.45; }
@media (max-width: 480px) { .td-payee { padding: 14px; gap: 10px; } .td-payee__ic { width: 36px; height: 36px; border-radius: 11px; } }

/* Anexo no chamado de suporte e formulários de liberação */
.td-chamado-file { display: block; margin-top: 8px; padding: 8px 12px; background: #EFF4FF; border-radius: 10px; color: #153A75; font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.td-chamado-file:hover { background: #DCE7FF; }
.td-grants { max-width: 900px; }
.td-grants__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.td-grants__tab { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; background: #fff; border: 1.5px solid #E3E8F1; border-radius: 999px; color: #172033; font-weight: 700; text-decoration: none; }
.td-grants__tab span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #185ADB; }
.td-grants__tab svg { width: 18px; height: 18px; }
.td-grants__tab--orange span { background: #FF7A1A; }
.td-grants__tab--green span { background: #10B981; }
.td-grants__tab--pink span { background: #F43F7E; }
.td-grants__tab:hover { border-color: #185ADB; }
.td-grants__tab.is-active { background: #172033; border-color: #172033; color: #fff; }
.td-grants__pane { background: #fff; border: 1px solid #E3E8F1; border-radius: 24px; padding: 28px; }
.td-grants__pane[hidden], .td-grants [data-product][hidden], .td-grants [data-grant-to][hidden] { display: none; }
.td-grants__pane > h2 { margin: 0 0 4px; font-size: 1.35rem; color: #172033; }
.td-grants__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 20px 0; padding: 0; border: 0; }
.td-grants__products legend { padding: 0; margin-bottom: 8px; font-weight: 700; color: #172033; }
.td-grants__product { position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: 10px; align-items: center; padding: 12px; border: 1.5px solid #E3E8F1; border-radius: 16px; cursor: pointer; }
.td-grants__product input { position: absolute; opacity: 0; pointer-events: none; }
.td-grants__pic { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #EFF4FF; color: #185ADB; }
.td-grants__pic svg { width: 20px; height: 20px; }
.td-grants__product strong { font-size: .94rem; line-height: 1.2; color: #172033; }
.td-grants__product small { color: #64748B; font-size: .8rem; }
.td-grants__product:hover { border-color: #185ADB; }
.td-grants__product:has(input:checked) { border-color: #185ADB; background: #EFF4FF; box-shadow: 0 0 0 1px #185ADB; }
.td-grants__product:has(input:checked) .td-grants__pic { background: #185ADB; color: #fff; }
.td-grants__product:has(input:focus-visible) { outline: 2px solid #185ADB; outline-offset: 2px; }
.td-grants__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; margin-top: 16px; }
.td-grants__wide { grid-column: 1 / -1; }
.td-grants__for { margin: 26px 0 0; }
.td-grants__meter { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 4px; }
.td-grants__meter > div { flex: 1 1 180px; padding: 14px 16px; background: #ECFDF5; border-radius: 16px; }
.td-grants__meter small { display: block; color: #475569; }
.td-grants__meter strong { font-size: 1.25rem; color: #065F46; }
.td-grants__caps { margin-top: 20px; }
.td-grants__history { margin-top: var(--space-5); }
.td-grants__acts { display: flex; gap: var(--space-2); justify-content: flex-end; }
.td-grants__edit { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: var(--space-3); align-items: end; }
@media (max-width: 720px) { .td-grants__edit { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .td-grants__pane { padding: 18px; border-radius: 18px; } .td-grants__fields { grid-template-columns: minmax(0, 1fr); } .td-grants__for { margin-top: 8px; } }

/* Montar proposta: itens em uma coluna (o .td-pick genérico daqui é de 3 colunas e quebrava esta tela) */
.td-compose .panel { container-type: inline-size; }
.td-compose .td-pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 14px 0 0; }
.td-compose .td-pick__row { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; background: #fff; border: 1.5px solid #E3E8F1; border-radius: 16px; }
.td-compose .td-pick__row:has(.td-pick__ctl.is-on) { background: #EFF4FF; border-color: #185ADB; border-radius: 16px; }
.td-compose .td-item__img { width: 68px; height: 68px; border-radius: 12px; }
.td-compose .td-pick__row label { min-width: 0; cursor: default; }
.td-compose .td-pick__row strong { display: block; font-size: .98rem; line-height: 1.25; color: #172033; overflow-wrap: anywhere; }
.td-compose .td-pick__row small { display: block; margin-top: 4px; line-height: 1.4; }
.td-compose .td-minoffer { display: block; width: fit-content; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #FFF1E6; color: #C2410C; font-size: .8rem; font-weight: 700; }
.td-compose .td-pick__btn { min-width: 124px; white-space: nowrap; }
@container (max-width: 430px) {
    .td-compose .td-pick__row { grid-template-columns: 56px minmax(0, 1fr); }
    .td-compose .td-item__img { width: 56px; height: 56px; }
    .td-compose .td-pick__ctl { grid-column: 1 / -1; align-items: stretch; }
    .td-compose .td-pick__step { align-self: center; }
}

/* Negociação: quem entrega o quê, de quem é a vez e o que fazer */
.td-deal__turn { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding: 14px 18px; border-radius: 18px; background: #EFF4FF; color: #153A75; }
.td-deal__turn > span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: #185ADB; color: #fff; }
.td-deal__turn svg { width: 22px; height: 22px; }
.td-deal__turn strong { display: block; font-size: 1.05rem; }
.td-deal__turn p { margin: 2px 0 0; font-size: .92rem; }
.td-deal__turn--you { background: #FFF1E6; color: #9A3412; }
.td-deal__turn--you > span { background: #FF7A1A; }
.td-deal__turn--ok { background: #ECFDF5; color: #065F46; }
.td-deal__turn--ok > span { background: #10B981; }
.td-deal__card { padding: 24px; background: #fff; border: 1px solid #E3E8F1; border-radius: 24px; }
.td-deal { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
.td-deal__side { align-self: stretch; padding: 16px; border-radius: 18px; background: #F5F8FF; }
.td-deal__side--get { background: #ECFDF5; }
.td-deal__side header { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.td-deal__side header span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #185ADB; color: #fff; }
.td-deal__side--get header span { background: #10B981; }
.td-deal__side header svg { width: 18px; height: 18px; }
.td-deal__side h3 { margin: 0; font-size: 1rem; color: #172033; }
.td-deal__side ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.td-deal__item { display: flex; gap: 12px; align-items: center; padding: 8px; background: #fff; border-radius: 14px; }
.td-deal__item img { flex: none; width: 60px; height: 60px; border-radius: 10px; object-fit: cover; }
.td-deal__item span { min-width: 0; }
.td-deal__item a { display: block; color: #172033; font-weight: 700; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.td-deal__item a:hover { color: #185ADB; }
.td-deal__item small { color: #5B6680; }
.td-deal__value { margin: 8px 0 0; font-size: 1.3rem; font-weight: 800; color: #172033; }
.td-deal__none { margin: 0; color: #5B6680; }
.td-deal__swap { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FF7A1A; color: #fff; }
.td-deal__swap svg { width: 20px; height: 20px; }
.td-deal__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 20px 0 8px; }
.td-deal__facts dt { color: #5B6680; font-size: .85rem; }
.td-deal__facts dd { margin: 2px 0 0; color: #172033; font-weight: 600; overflow-wrap: anywhere; }
.td-deal__wide { grid-column: 1 / -1; }
.td-deal__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.td-deal__more { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.td-deal__offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; margin-top: 18px; padding: 16px; border-radius: 18px; background: #FFF8F1; }
.td-sticky-cta--row { gap: 8px; }
.td-sticky-cta--row form { flex: 1; min-width: 0; }
.td-sticky-cta--row .button { flex: 1; min-width: 0; padding-left: 10px; padding-right: 10px; }
@media (max-width: 720px) {
    .td-deal { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
    .td-deal__swap { justify-self: center; transform: rotate(90deg); }
    .td-deal__card { padding: 16px; border-radius: 18px; }
    .td-deal__facts, .td-deal__offer { grid-template-columns: minmax(0, 1fr); }
    .td-deal__more { margin-left: 0; }
}

@media (max-width: 899px) { .td-sticky-cta--row { display: flex; } .td-sticky-cta--row[hidden] { display: none; } }

/* Liberações: buscar pessoa por nome ou CPF */
.td-person { position: relative; }
.td-person__list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; max-height: 280px; overflow-y: auto; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #E3E8F1; border-radius: 14px; box-shadow: 0 10px 30px rgba(23, 32, 51, .14); }
.td-person__list[hidden] { display: none; }
.td-person__list button { display: block; width: 100%; padding: 8px 10px; background: none; border: 0; border-radius: 10px; text-align: left; font: inherit; font-weight: 700; color: #172033; cursor: pointer; }
.td-person__list button:hover, .td-person__list button:focus-visible { background: #EFF4FF; }
.td-person__list small { display: block; font-weight: 400; color: #5B6680; }
.td-person__none { padding: 8px 10px; color: #5B6680; }

/* Tráfego pago: selo, painel do impulsionamento e métricas */
.td-boost-on { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #ECFDF5; color: #065F46; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.td-boost-on svg { width: 14px; height: 14px; }
.td-mboost { padding: 20px; background: #F5F8FF; border: 1.5px solid #E3E8F1; border-radius: 20px; }
.td-mboost.is-on { background: #ECFDF5; border-color: #10B981; }
.td-mboost__head { display: flex; gap: 12px; align-items: center; }
.td-mboost__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: #185ADB; color: #fff; }
.td-mboost.is-on .td-mboost__ic { background: #10B981; }
.td-mboost__ic svg { width: 22px; height: 22px; }
.td-mboost__head strong { font-size: 1.08rem; color: #172033; }
.td-mboost__head p { margin: 2px 0 0; color: #475569; font-size: .9rem; }
.td-mboost__bar { height: 10px; margin: 14px 0 0; overflow: hidden; border-radius: 999px; background: #fff; }
.td-mboost__bar i { display: block; height: 100%; border-radius: 999px; background: #10B981; }
.td-mboost__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.td-mboost__nums > div { padding: 12px 14px; background: #fff; border-radius: 14px; }
.td-mboost__nums small { display: block; color: #5B6680; }
.td-mboost__nums strong { display: block; font-size: 1.45rem; color: #172033; }
.td-mboost__nums em { font-style: normal; font-size: .82rem; font-weight: 700; }
.td-mboost__nums em.is-up { color: #047857; }
.td-mboost__nums em.is-down { color: #B91C1C; }
.td-mboost__note { display: block; margin-top: 10px; color: #5B6680; }
@media (min-width: 720px) { .td-metrics__kpis--6 { grid-template-columns: repeat(3, 1fr); } }
.td-mtip { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 16px; background: #FFF8E6; border-radius: 14px; color: #713F12; }
.td-mtip svg { flex: none; width: 20px; height: 20px; }
.td-metrics__two { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.td-metrics__bars--wide li { grid-template-columns: minmax(90px, 130px) 1fr 48px; }
@media (max-width: 720px) { .td-mboost__nums, .td-metrics__two { grid-template-columns: minmax(0, 1fr); } }
.td-safe-top { padding-top: 20px; }
.td-safe-top + .section, .td-safe-top + .section--tight { padding-top: 12px; }
.td-safe-top + .section .page-hero, .td-safe-top + .page-hero { padding-top: 0; margin-top: 0; }
.td-safe-top + .section > .container > :first-child { margin-top: 0; }
/* Categoria com digitação */
.td-combo { position: relative; }
.td-combo__select { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.td-combo__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 260px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; box-shadow: 0 12px 30px rgba(15, 25, 50, .16); }
.td-combo__list[hidden] { display: none; }
.td-combo__list li { padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.td-combo__list li:hover, .td-combo__list li.is-active { background: #eef3fe; color: #185adb; }
.td-combo__list li.is-empty { color: var(--color-muted, #5b6680); cursor: default; background: none; }

/* Passos da página de convite: linha do tempo no celular, três colunas ligadas no computador */
.td-cv { padding-top: 40px; padding-bottom: 40px; }
.td-cv__title { margin: 0 0 22px; font-size: clamp(1.6rem, 4vw, 2.2rem); color: #153A75; letter-spacing: -.02em; }
.td-cv__steps { --cv-line: #dbe6ff; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.td-cv__steps::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 60px; width: 4px; border-radius: 4px; background: var(--cv-line); }
.td-cv__step { --cv: #185ADB; --cv-dark: #153A75; --cv-soft: #EEF3FF; position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px; background: #fff; border: 2px solid var(--cv-soft); border-radius: 22px; box-shadow: 0 5px 0 var(--cv-soft); min-width: 0; }
.td-cv__step--la { --cv: #FF7A1A; --cv-dark: #A84A06; --cv-soft: #FFEBDD; }
.td-cv__step--ve { --cv: #10B981; --cv-dark: #06694A; --cv-soft: #DDF7EC; }
.td-cv__n { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--cv); color: #fff; font-size: 1.5rem; font-weight: 900; box-shadow: 0 4px 0 var(--cv-dark); }
.td-cv__step--la .td-cv__n, .td-cv__step--ve .td-cv__n { color: #172033; }
.td-cv__step > div { min-width: 0; flex: 1; }
.td-cv__step h3 { margin: 2px 0 4px; font-size: 1.15rem; font-weight: 800; color: #172033; }
.td-cv__step p { margin: 0; color: #4a5468; font-size: .97rem; line-height: 1.45; }
.td-cv__step p.td-cv__chip { margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: var(--cv-soft); color: var(--cv-dark); font-weight: 800; font-size: .92rem; }
.td-cv__step p.td-cv__chip + p.td-cv__chip { margin-top: 6px; }
@media (min-width: 860px) {
  .td-cv { padding-top: 56px; padding-bottom: 56px; }
  .td-cv__steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .td-cv__steps::before { left: 8%; right: 8%; top: 50px; bottom: auto; width: auto; height: 4px; }
  .td-cv__step { flex-direction: column; padding: 24px; }
  .td-cv__n { width: 56px; height: 56px; flex-basis: 56px; font-size: 1.7rem; }
  .td-cv__step h3 { font-size: 1.3rem; }
}
