/* TRURACK Marketing — paleta do kit de marca: Grafite, Chumbo, Névoa, Prata e Sinal (verde LED).
   Cartões brancos, pílulas cinza, acento grafite→chumbo, fonte Outfit. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');
:root {
  color-scheme: light;
  --bg: #e6e8ea;
  --bg-2: #dcdfe2;
  --surface: #ffffff;
  --surface-2: #F3F4F5;
  --surface-3: #e4e6e8;
  --cinza: #AEB4BA;
  --cinza-escuro: #868d94;
  --border: #e4e6e8;
  --border-strong: #cdd1d5;
  --text: #1D2024;
  --text-2: #43484E;
  --muted: #6b7279;
  --magenta: #43484E;
  --rosa: #0B7D4D;
  --rosa-claro: #dcf5ea;
  --magenta-texto: #1D2024;
  --grad: linear-gradient(90deg, #1D2024 0%, #2c3035 55%, #43484E 100%);
  --grad-v: linear-gradient(180deg, #1D2024 0%, #43484E 100%);
  --grad-suave: linear-gradient(135deg, rgba(29,32,36,0.08), rgba(25,217,139,0.12));
  --verde: #0B7D4D;
  --verde-claro: #dcf5ea;
  --verde-texto: #0B7D4D;
  --warn: #f0a51e;
  --warn-claro: #fff1d6;
  --bad: #e23d6d;
  --info: #3b82f6;
  --info-claro: #e3ecff;
  --ok: var(--verde);
  --radius: 22px;
  --radius-sm: 14px;
  --pill: 999px;
  --sombra: 0 10px 30px rgba(28,35,51,0.08), 0 1px 2px rgba(28,35,51,0.04);
  --sombra-forte: 0 18px 44px rgba(28,35,51,0.14);
  --sombra-grad: 0 10px 24px rgba(29,32,36,0.28);
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --sidebar: 250px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
body { background: radial-gradient(900px 500px at 100% 0%, rgba(255,255,255,0.55), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(255,255,255,0.35), transparent 60%), var(--bg); }
h1, h2, h3 { margin: 0 0 8px; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 22px; }
h3 { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; font-weight: 700; }
a { color: var(--magenta-texto); }
button, input, select, textarea { font: inherit; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: var(--mono); font-size: 12px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- layout */
.layout { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); flex: none; background: var(--surface); border-right: 1px solid rgba(255,255,255,0.6); display: flex; flex-direction: column; padding: 22px 14px 18px; position: sticky; top: 0; height: 100vh; box-shadow: var(--sombra); z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-sub { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; flex-direction: column; gap: 3px; overflow: auto; }
.nav button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; color: var(--text-2); padding: 10px 12px; border-radius: var(--pill); cursor: pointer; font-weight: 600; font-size: 13px; position: relative; }
.nav button svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav button:hover { background: var(--surface-2); color: var(--text); }
.nav button.active { background: var(--grad); color: #fff; box-shadow: var(--sombra-grad); }
.nav button .badge-n { margin-left: auto; background: var(--rosa); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--pill); }
.nav button.active .badge-n { background: #fff; color: var(--magenta-texto); }
.nav .sep { height: 1px; background: var(--border); margin: 10px 8px; }
.nav .grupo { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; padding: 10px 12px 4px; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 10px 4px 0; }
.content { flex: 1; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 30px; background: rgba(214,224,233,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.topbar .titulo { font-size: 20px; font-weight: 800; }
.topbar .sub { color: var(--muted); font-size: 12px; font-weight: 500; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.relogio { color: var(--text-2); font-variant-numeric: tabular-nums; font-weight: 600; background: var(--surface); padding: 8px 14px; border-radius: var(--pill); box-shadow: var(--sombra); }
.badge { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; border-radius: var(--pill); font-weight: 700; }
.badge.exemplo { background: var(--warn-claro); color: #9a6500; }
.badge.shopify { background: var(--verde-claro); color: var(--verde-texto); }
main { padding: 8px 30px 70px; max-width: 1560px; }
.tab { display: none; }
.tab.active { display: block; }
@media (max-width: 900px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; }
  .brand { border: 0; padding: 0; margin: 0 10px 0 0; }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .nav .sep, .nav .grupo { display: none; }
  .sidebar-foot { margin: 0 0 0 auto; flex-direction: row; }
  main { padding: 8px 16px 40px; }
  .topbar { padding: 12px 16px; }
}

/* ---- controles */
input[type=text], input[type=search], input[type=email], input[type=number], input[type=date], input[type=time], input[type=url], input[type=password], select, textarea {
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); border-radius: var(--radius-sm); padding: 9px 13px; outline: none; min-width: 0; box-shadow: inset 0 1px 2px rgba(28,35,51,0.04);
}
input:focus, select:focus, textarea:focus { border-color: var(--rosa); box-shadow: 0 0 0 3px rgba(25,217,139,0.18); }
select { appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; border-radius: var(--pill); }
textarea { width: 100%; min-height: 90px; resize: vertical; line-height: 1.5; }
label.campo { display: flex; flex-direction: column; gap: 5px; color: var(--text-2); font-size: 12px; font-weight: 600; }
.btn { background: var(--cinza); color: #fff; border: 0; border-radius: var(--pill); padding: 10px 18px; cursor: pointer; white-space: nowrap; font-weight: 600; text-decoration: none; display: inline-block; box-shadow: 0 6px 16px rgba(142,154,171,0.35); transition: transform .08s, box-shadow .15s, filter .15s; }
.btn:hover { filter: brightness(0.96); }
.btn:active { transform: translateY(1px); }
.btn.primary, .btn.rosa { background: var(--grad); color: #fff; box-shadow: var(--sombra-grad); }
.btn.primary:hover, .btn.rosa:hover { filter: brightness(1.05); }
.btn.small { padding: 6px 13px; font-size: 12px; }
.btn.ghost { background: var(--surface); color: var(--text-2); box-shadow: var(--sombra); border: 1px solid var(--border); }
.btn.ghost:hover { color: var(--text); }
.btn.outline { background: var(--surface); color: var(--magenta-texto); box-shadow: none; border: 2px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; }
.btn.danger { color: #fff; background: var(--bad); box-shadow: 0 6px 16px rgba(226,61,109,0.3); }
.btn.ghost.danger { background: var(--surface); color: var(--bad); }
.btn:disabled { opacity: 0.45; cursor: default; filter: none; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.cabecalho { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; }
.cabecalho .muted { max-width: 820px; line-height: 1.5; }
.segmentos { display: inline-flex; background: var(--cinza); border-radius: var(--pill); padding: 4px; gap: 2px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.08); }
.segmentos button { background: transparent; border: 0; color: #fff; font-weight: 600; padding: 7px 14px; border-radius: var(--pill); cursor: pointer; font-size: 12px; }
.segmentos button.active { background: var(--grad); box-shadow: var(--sombra-grad); }

.grid { display: grid; gap: 16px; }
.grid.kpis { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid.dois { grid-template-columns: 1fr 1fr; }
.grid.tres { grid-template-columns: repeat(3, 1fr); }
.grid.lado { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .grid.dois, .grid.tres, .grid.lado { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 0; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--sombra); }
.card.destacado { background: var(--grad); color: #fff; box-shadow: var(--sombra-grad); }
.card.destacado h3, .card.destacado .muted, .card.destacado .rotulo { color: rgba(255,255,255,0.85); }
.card.suave { background: var(--grad-suave); }
.kpi { display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.kpi .valor { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.kpi .rotulo { color: var(--muted); font-size: 12px; font-weight: 600; }
.kpi .delta { font-size: 12px; font-weight: 700; }
.kpi .delta.up { color: var(--verde-texto); }
.kpi .delta.down { color: var(--bad); }
.card.destacado .delta.up, .card.destacado .delta.down { color: #fff; }
.kpi .icone { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.kpi .icone svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kpi .icone.menta { background: var(--verde-claro); color: var(--verde-texto); }
.kpi .icone.rosa { background: var(--rosa-claro); color: var(--magenta-texto); }
.card.destacado .icone { background: rgba(255,255,255,0.22); color: #fff; }
.kpi.click { cursor: pointer; transition: transform .12s, box-shadow .15s; }
.kpi.click:hover { transform: translateY(-2px); box-shadow: var(--sombra-forte); }
.kpi.destaque { background: var(--grad); color: #fff; box-shadow: var(--sombra-grad); }
.kpi.destaque .rotulo, .kpi.destaque .muted { color: rgba(255,255,255,0.85); }
.kpi.destaque .delta.up, .kpi.destaque .delta.down { color: #fff; }
.kpi.destaque-rosa { background: var(--grad-suave); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
tr:hover td { background: var(--surface-2); }
tr.sel td { background: var(--grad-suave); }
td.acoes { white-space: nowrap; text-align: right; }
.tabela-wrap { overflow: auto; max-height: 60vh; border-radius: var(--radius-sm); }
.link { color: var(--text); cursor: pointer; font-weight: 700; text-decoration: underline; text-decoration-color: var(--border-strong); }
.link:hover { color: var(--magenta-texto); }
.pill { display: inline-block; font-size: 11px; padding: 4px 10px; border-radius: var(--pill); background: var(--surface-3); color: var(--text-2); margin: 2px 4px 2px 0; font-weight: 600; }
.pill.ok { background: var(--verde-claro); color: var(--verde-texto); }
.pill.warn { background: var(--warn-claro); color: #9a6500; }
.pill.bad { background: #ffe1ea; color: var(--bad); }
.pill.info { background: var(--info-claro); color: #2452b8; }
.pill.rosa { background: var(--grad); color: #fff; }
.pill.link-pill { cursor: pointer; }
.pill.link-pill:hover { background: var(--rosa-claro); color: var(--magenta-texto); }

/* ---- agenda */
.agenda { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1200px) { .agenda { grid-template-columns: 1fr 1fr; } }
.slot { background: var(--surface); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; position: relative; box-shadow: var(--sombra); border-top: 5px solid var(--cinza); }
.slot .hora { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.slot .nome-hora { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.slot.feito { border-top-color: var(--verde); }
.slot.feito .hora { color: var(--verde-texto); }
.slot.atrasado { border-top-color: var(--bad); }
.slot.atrasado .hora { color: var(--bad); }
.slot.agora { border-top: 5px solid transparent; border-image: var(--grad) 1; box-shadow: var(--sombra-forte); }
.slot.agora .hora { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slot .status { position: absolute; top: 14px; right: 14px; }
.slot .tema { font-weight: 700; }
.slot .assunto { color: var(--text-2); }
.slot .segmento { color: var(--muted); font-size: 12px; }
.slot .acoes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

.lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lista li { background: var(--surface-2); border-radius: var(--radius-sm); padding: 11px 13px; display: flex; gap: 10px; align-items: flex-start; }
.lista li .corpo { flex: 1; min-width: 0; }
.lista li .titulo { font-weight: 700; }
.lista li .detalhe { color: var(--text-2); font-size: 13px; margin-top: 2px; }
.lista li.concluida .titulo { text-decoration: line-through; color: var(--muted); }
.check { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--magenta); cursor: pointer; }
.prio { width: 6px; align-self: stretch; border-radius: 3px; background: var(--cinza); }
.prio.alta { background: var(--grad-v); }
.prio.media { background: var(--warn); }

/* ---- gráficos (SVG inline) */
.grafico { width: 100%; height: auto; display: block; }
.grafico text { font-family: var(--font); font-size: 11px; fill: var(--muted); font-weight: 600; }
.grafico .eixo { stroke: var(--border); }
.grafico .barra-verde { fill: url(#gradVerde); }
.grafico .barra-menta { fill: var(--surface-3); }
.grafico .barra-rosa { fill: url(#gradRosa); }
.grafico .barra-rosa-claro { fill: var(--rosa-claro); }
.legenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); margin-top: 8px; font-weight: 600; }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.barras-h { display: flex; flex-direction: column; gap: 9px; }
.barras-h .item { display: grid; grid-template-columns: minmax(120px, 1.2fr) 3fr auto; gap: 10px; align-items: center; font-size: 13px; }
.barras-h .nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.barras-h .trilho { height: 12px; background: var(--surface-3); border-radius: 6px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,0.06); }
.barras-h .trilho > span { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
.barras-h .trilho > span.rosa { background: var(--grad); }
.barras-h .trilho > span.verde { background: var(--verde); }
.barras-h .num { font-variant-numeric: tabular-nums; color: var(--text-2); white-space: nowrap; font-weight: 600; }
.donut { display: flex; gap: 18px; align-items: center; }
.donut svg { width: 130px; height: 130px; flex: none; }
.anel { position: relative; width: 120px; height: 120px; }
.anel svg { width: 120px; height: 120px; }
.anel .centro { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 20px; }
.anel .centro small { display: block; font-size: 10px; color: var(--muted); font-weight: 600; }

/* ---- drawer e modal */
.drawer { position: fixed; inset: 0; z-index: 50; background: rgba(28,35,51,0.35); display: flex; justify-content: flex-end; }
.drawer-inner { width: min(800px, 100%); height: 100%; background: var(--surface); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.18); border-radius: var(--radius) 0 0 var(--radius); }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 20px 24px 14px; border-bottom: 1px solid var(--border); }
.drawer-body { padding: 16px 24px 40px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(28,35,51,0.35); display: grid; place-items: center; padding: 20px; }
.modal-inner { width: min(720px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--sombra-forte); }
.modal-inner #modal-body { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; padding: 11px 20px; border-radius: var(--pill); font-weight: 700; z-index: 100; box-shadow: var(--sombra-grad); }
.previa { white-space: pre-wrap; font-family: var(--font); background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px; line-height: 1.5; }
.ajuda { color: var(--text-2); font-size: 13px; line-height: 1.55; }
.ajuda code, .ajuda .mono { background: var(--surface-3); padding: 1px 5px; border-radius: 5px; }
.aviso { background: var(--warn-claro); color: #8a5a00; border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 600; }
.erro { background: #ffe1ea; color: var(--bad); border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 600; }
.barra { height: 12px; background: var(--surface-3); border-radius: 6px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,0.06); }
.barra > span { display: block; height: 100%; background: var(--grad); border-radius: 6px; }
.vazio { color: var(--muted); padding: 22px; text-align: center; font-weight: 600; }

/* produtos do mês */
.produtos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; max-height: 520px; overflow: auto; padding: 2px; }
.produto-tile { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.produto-tile.feito { opacity: 0.7; outline: 2px solid var(--verde); }
.produto-tile img, .produto-tile .sem-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--surface-3); display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.produto-tile .pt-titulo { font-weight: 700; font-size: 13px; line-height: 1.3; max-height: 2.6em; overflow: hidden; }

/* notificações */
.notif { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); }
.notif .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 16px; background: var(--surface-3); }
.notif.venda .ico, .notif.venda_email .ico { background: var(--verde-claro); }
.notif.cupom .ico { background: var(--rosa-claro); }
.notif.abertura .ico, .notif.clique .ico { background: var(--info-claro); }
.notif.carrinho .ico { background: var(--warn-claro); }
.notif.erro .ico { background: #ffe1ea; }
.notif .quando { color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }
.notif.nova { outline: 2px solid rgba(25,217,139,0.35); }

/* notificações por categoria */
.notif-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-top: 16px; }
.notif-card { display: flex; flex-direction: column; min-width: 0; }
.notif-card .topo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.notif-card .topo .ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; background: var(--surface-3); flex: none; }
.notif-card .topo .titulo { font-weight: 800; font-size: 15px; }
.notif-card .topo .num { margin-left: auto; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.notif-card.venda .topo .ico { background: var(--verde-claro); } .notif-card.cupom .topo .ico { background: var(--rosa-claro); }
.notif-card.abertura .topo .ico, .notif-card.clique .topo .ico { background: var(--info-claro); } .notif-card.carrinho .topo .ico { background: var(--warn-claro); }
.notif-card.erro .topo .ico { background: #ffe1ea; }
.notif-card .itens { display: flex; flex-direction: column; gap: 8px; }
.notif-card .notif { padding: 10px 12px; }
.notif-card .notif .ico { width: 30px; height: 30px; border-radius: 10px; font-size: 13px; }
.notif-card .mais { align-self: center; margin-top: 10px; }
.notif-card.venda_email .topo .ico { background: var(--grad); }
/* seleção de clientes / produtos no e-mail livre */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-3); border-radius: var(--pill); padding: 5px 10px; font-size: 12px; font-weight: 600; }
.chip img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.chip button { border: 0; background: transparent; cursor: pointer; font-size: 14px; line-height: 1; color: var(--text-2); padding: 0; }
.chip button:hover { color: var(--bad); }
.escolha-lista { max-height: 240px; overflow: auto; }
.escolha-lista li { cursor: pointer; }
.escolha-lista li.sel { outline: 2px solid rgba(25,217,139,0.45); }
.modo-botoes button.primary { pointer-events: none; }

/* barra de filtros padrão das abas */
.card.filtros { padding: 12px 16px; margin-bottom: 14px; }
.card.filtros .row { gap: 10px; }
.card.filtros .campo { margin: 0; }
.campo.inline { flex-direction: row; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.campo.inline input { width: auto; }
.chip.sel { background: var(--grad); color: #fff; }
.chip.sel .muted { color: rgba(255,255,255,0.8); }
button.chip { border: 0; cursor: pointer; font-family: inherit; }
/* cards de tarefas */
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tcard { display: flex; flex-direction: column; }
.tcard .topo { display: flex; gap: 12px; align-items: flex-start; }
.tcard .topo .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--rosa-claro); display: grid; place-items: center; font-size: 20px; flex: none; }
.tcard .topo .titulo { font-weight: 800; font-size: 15px; line-height: 1.25; }
.tcard.feita { opacity: 0.75; }
.tcard.feita .topo .ico { background: var(--verde-claro); }
.tcard.aviso-card { border-left: 5px solid var(--warn); }
.semana-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.dia-semana { background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px; min-height: 120px; }
.dia-semana.hoje { outline: 2px solid var(--rosa); background: var(--rosa-claro); }
.dia-semana .nome { font-weight: 800; text-transform: capitalize; margin-bottom: 6px; }
.dia-semana .item { font-size: 11px; line-height: 1.3; margin: 4px 0; color: var(--text-2); }
@media (max-width: 1100px) { .semana-grade { grid-template-columns: repeat(2, 1fr); } }
/* faixas clicáveis (carrinhos / R$ 0) */
.faixas { display: flex; flex-wrap: wrap; gap: 8px; }
.faixa { border: 0; cursor: pointer; background: var(--surface-2); border-radius: var(--radius-sm); padding: 10px 14px; text-align: left; font-family: inherit; min-width: 130px; }
.faixa .n { font-size: 22px; font-weight: 800; line-height: 1.1; }
.faixa .r { font-size: 11px; color: var(--muted); font-weight: 600; }
.faixa.sel { background: var(--grad); color: #fff; box-shadow: var(--sombra-grad); }
.faixa.sel .r { color: rgba(255,255,255,0.85); }
/* grupos de segmentos (cross-sell) */
.seg-grupo { margin-top: 12px; }
.seg-grupo h4 { margin: 0 0 4px; font-size: 13px; }
.seg-grupo .lista li { align-items: center; }
