/* App da equipe: celular primeiro; barra inferior no celular, lateral no computador. */
body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(246, 241, 234, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.topbar h1 { font-size: 22px; }
.topbar .who { font-size: 13px; color: var(--muted); text-align: right; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 9px; min-height: 58px;
  font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.tabbar a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current=page] { color: var(--gold-d); }

main { padding: 16px; max-width: 1100px; margin: 0 auto; }
.screen-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.screen-head h2 { font-size: 26px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.scroll-x { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.card + .card { margin-top: 12px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.list .item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; text-decoration: none; color: inherit; width: 100%; background: none; border: 0; text-align: left; cursor: pointer; }
.list .item:hover { background: var(--gold-t); }
.item b { display: block; font-weight: 600; }
.empty { padding: 28px 8px; text-align: center; color: var(--muted); }

/* ---------- agenda ---------- */
.daynav { display: flex; align-items: center; gap: 6px; }
.daynav label { position: relative; }
.daynav .label { font-family: var(--display); font-size: 20px; min-width: 150px; text-align: center; }
.cal-line { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); pointer-events: none; }
.cal-line.half { background: color-mix(in srgb, var(--gold) 18%, white); }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.iconbtn:hover { background: var(--gold-t); }
.iconbtn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.cal { display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
.cal-head { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 8px; font-weight: 600; font-size: 14px; text-align: center; }
.cal-head i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.cal-times { position: relative; border-right: 1px solid var(--line); }
.cal-times span { position: absolute; right: 6px; font-size: 11.5px; color: var(--muted); transform: translateY(-50%); }
.cal-col { position: relative; border-right: 1px solid var(--line); cursor: pointer; }
.cal-col:last-child { border-right: 0; }
.cal-off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold) 15%, white) 0 6px, color-mix(in srgb, var(--gold) 22%, white) 6px 12px); pointer-events: none; }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--bad); z-index: 2; pointer-events: none; }
.cal-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.appt {
  position: absolute; left: 4px; right: 4px; z-index: 1; border-radius: 8px; padding: 5px 8px; overflow: hidden;
  background: var(--gold-t); border-left: 4px solid var(--gold); font-size: 13px; line-height: 1.25; cursor: pointer; text-align: left; border-top: 0; border-right: 0; border-bottom: 0;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.appt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt span { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt.confirmado { background: color-mix(in srgb, var(--gold) 31%, white); }
.appt.em_atendimento { background: var(--pink); border-left-color: #b9867f; }
.appt.concluido { background: var(--ok-t); border-left-color: var(--ok); }
.appt.faltou { background: var(--bad-t); border-left-color: var(--bad); }
.appt.cancelado { background: color-mix(in srgb, var(--gold) 13%, white); border-left-color: color-mix(in srgb, var(--gold) 59%, white); opacity: .7; }
.appt.cancelado b { text-decoration: line-through; }
.appt.online::after { content: "marcou online"; font-size: 10.5px; font-weight: 700; color: var(--gold-d); letter-spacing: .04em; text-transform: uppercase; }
.cal-block { position: absolute; left: 4px; right: 4px; border-radius: 8px; background: color-mix(in srgb, var(--gold) 26%, white); color: var(--muted); font-size: 12.5px; padding: 4px 8px; cursor: pointer; border: 1px dashed color-mix(in srgb, var(--gold) 51%, white); text-align: left; }

.fab {
  position: fixed; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 25;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--ink) 18%, transparent);
}

.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gold-t); color: var(--gold-d); }
.status.concluido { background: var(--ok-t); color: var(--ok); }
.status.faltou, .status.cancelado { background: var(--bad-t); color: var(--bad); }
.status.em_atendimento { background: var(--pink); color: #8a5a54; }

/* ---------- sheet (painel que sobe) ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: color-mix(in srgb, var(--ink) 35%, transparent); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow: auto; background: var(--ivory);
  border-radius: 18px 18px 0 0; padding: 0 16px calc(18px + env(safe-area-inset-bottom));
  animation: up .18s ease-out;
}
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 10px; background: var(--ivory); }
.sheet-head h2 { font-size: 22px; }
.sheet .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.results { margin: -4px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); max-height: 220px; overflow: auto; }
.results button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; }
.results button:hover { background: var(--gold-t); }
.picked { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--gold-t); margin-bottom: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.stats div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.stats b { display: block; font-family: var(--display); font-size: 22px; font-weight: 400; }
.stats span { font-size: 12px; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 12px 18px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-l); }
.timeline li.nota::before { background: var(--gold); }
.timeline small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- funis ---------- */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 82vw); gap: 12px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.stage { background: color-mix(in srgb, var(--gold) 20%, white); border-radius: var(--radius); padding: 10px; scroll-snap-align: start; min-height: 200px; }
.stage h3 { font-family: var(--body); font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; margin: 2px 4px 10px; }
.stage.won h3 { color: var(--ok); }
.stage.lost h3 { color: var(--bad); }
.deal { display: block; width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.deal:hover { border-color: var(--gold-l); }
.deal b { display: block; font-weight: 600; }
.deal span { display: block; font-size: 12.5px; color: var(--muted); }
.deal .late { color: var(--bad); font-weight: 600; }

/* ---------- login ---------- */
.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.login form { width: 100%; max-width: 360px; }
.login .brand { justify-content: center; margin-bottom: 28px; }
.login .brand img { width: 46px; height: 56px; }
.login .brand b { font-size: 28px; }
.credito { margin: 22px auto 8px; max-width: 420px; text-align: center; font-size: 11.5px; line-height: 1.5; color: var(--muted, #8a8580); opacity: .85; }
.err { color: var(--bad); font-size: 14px; margin: 0 0 12px; }
.link-esqueci { display: block; margin: 14px auto 0; background: none; border: 0; padding: 6px 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

#toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; pointer-events: none; }
#toast div { background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-size: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.2); animation: up .18s ease-out; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 12px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--gold); }
.hours { display: grid; grid-template-columns: 52px 1fr 1fr; gap: 6px 8px; align-items: center; font-size: 14px; }
.hours input { min-height: 38px; padding: 6px 8px; }
.price-row { display: grid; grid-template-columns: 1fr 110px 90px; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 14px; }
.price-row input { min-height: 38px; }

@media (min-width: 900px) {
  body { padding-bottom: 0; padding-left: 92px; }
  .tabbar { top: 0; right: auto; width: 92px; grid-template-columns: 1fr; grid-auto-rows: 76px; align-content: start; border-top: 0; border-right: 1px solid var(--line); padding-top: 70px; }
  .fab { bottom: 24px; right: 24px; }
  #toast { bottom: 24px; }
  .board { grid-auto-columns: 260px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: 18px; max-height: 88vh; }
}
.chip.small-chip { min-height: 32px; font-size: 13px; padding: 0 12px; }

/* agenda de 7 dias */
.cal.wk .appt { font-size: 12px; padding: 3px 5px; border-left-width: 3px; }
.cal.wk .appt.online::after { content: none; }
.cal-head.daylink { border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font: inherit; font-weight: 600; font-size: 13.5px; }
.cal-head.daylink:hover { background: var(--gold-t); }
.cal-head.daylink.today { color: var(--gold-d); }
.cal-col.is-today { background: color-mix(in srgb, var(--gold) 5%, white); }
.chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

/* =================== acabamento visual (16/nov/2026) =================== */
:root { --shadow-1: 0 1px 2px color-mix(in srgb, var(--ink) 5%, transparent), 0 2px 8px color-mix(in srgb, var(--ink) 5%, transparent); --shadow-2: 0 4px 14px color-mix(in srgb, var(--ink) 10%, transparent), 0 1px 3px color-mix(in srgb, var(--ink) 6%, transparent); --ease: cubic-bezier(.2, .7, .2, 1); }
body { background: radial-gradient(1200px 600px at 100% -10%, color-mix(in srgb, var(--gold) 22%, white) 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, var(--pink) 0%, transparent 55%), var(--ivory); background-attachment: fixed; }
main { animation: fadein .28s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }

/* menu */
.tabbar { grid-template-columns: repeat(var(--tabs, 5), 1fr); box-shadow: 0 -6px 20px color-mix(in srgb, var(--ink) 5%, transparent); }
.tabbar a { position: relative; transition: color .2s var(--ease); }
.tabbar a svg { transition: transform .2s var(--ease); }
.tabbar a:hover { color: var(--gold-d); }
.tabbar a:hover svg { transform: translateY(-1px); }
.tabbar a[aria-current=page]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold-l), var(--gold)); }
.tabbar a[aria-current=page] svg { stroke-width: 2; }
@media (min-width: 900px) {
  .tabbar { grid-template-columns: 1fr; box-shadow: 4px 0 20px color-mix(in srgb, var(--ink) 4%, transparent); }
  .tabbar a { margin: 0 10px; border-radius: 14px; justify-content: center; }
  .tabbar a:hover { background: var(--gold-t); }
  .tabbar a[aria-current=page] { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 17%, white), color-mix(in srgb, var(--gold) 25%, white)); }
  .tabbar a[aria-current=page]::before { top: 18%; bottom: 18%; left: -10px; right: auto; width: 3px; height: auto; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--gold-l), var(--gold)); }
}

/* cartões, botões e chips */
.card { border-radius: 16px; box-shadow: var(--shadow-1); border-color: color-mix(in srgb, var(--gold) 27%, white); }
.card + .card { margin-top: 14px; }
.list .item { border-radius: 10px; transition: background .15s var(--ease), padding .15s var(--ease); }
.list .item:hover { padding-left: 8px; }
.btn { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 91%, white), var(--gold)); box-shadow: 0 2px 6px color-mix(in srgb, var(--gold-d) 25%, transparent); transition: background .2s, box-shadow .2s, transform .08s; }
/* ícone dentro de botão: sempre do tamanho do texto (sem isto, um svg sem medida ocupa o botão inteiro) */
.btn svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.btn:hover { background: linear-gradient(180deg, var(--gold), var(--gold-d)); box-shadow: 0 4px 12px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.btn.ghost, .btn.quiet, .btn.danger { background: transparent; box-shadow: none; }
.btn.quiet { background: var(--paper); }
.btn.quiet:hover, .btn.ghost:hover { background: var(--gold-t); box-shadow: var(--shadow-1); }
.chip { transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.chip:hover:not([aria-pressed=true]):not(:disabled) { border-color: var(--gold-l); background: color-mix(in srgb, var(--gold) 5%, white); }
.chip[aria-pressed=true] { box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 18%, transparent); }
.iconbtn { transition: background .15s, box-shadow .15s; }
.iconbtn:hover { box-shadow: var(--shadow-1); }

/* agenda */
.cal { border-radius: 16px; box-shadow: var(--shadow-1); }
.cal-head { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 8%, white)); }
.appt { box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 8%, transparent); transition: transform .12s var(--ease), box-shadow .12s var(--ease); }
.appt:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); z-index: 4; }
.cal.wk .appt em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--gold-d); line-height: 1.2; }
.cal.wk .appt b { font-size: 12.5px; }
.cal.wk .appt span { font-size: 11px; }
.cal-now { box-shadow: 0 0 0 2px rgba(161, 69, 58, .12); }
.fab { box-shadow: 0 10px 26px color-mix(in srgb, var(--gold-d) 35%, transparent); }

/* painel que sobe */
.sheet-backdrop { backdrop-filter: blur(3px); animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; } }
.sheet { box-shadow: 0 -10px 40px color-mix(in srgb, var(--ink) 20%, transparent); }

/* números da ficha */
.stats div { border-radius: 14px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.stats div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-l), var(--gold)); }

/* concluir: forma de pagamento */
fieldset.pay { border: 0; padding: 0; margin: 0; }
fieldset.pay legend { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; padding: 0; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; inset: 0; }
.pay-opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 600; font-size: 14px; text-align: center; cursor: pointer; transition: all .15s; }
.pay-opt input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 3px 10px color-mix(in srgb, var(--ink) 20%, transparent); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ADM */
.badge-admin { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-d); background: var(--gold-t); border: 1px solid var(--gold-l); padding: 4px 10px; border-radius: 999px; }
.seg { display: inline-flex; background: color-mix(in srgb, var(--gold) 20%, white); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .15s; }
.seg button[aria-pressed=true] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }
.range .field { min-width: 150px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-1); }
.kpi span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; margin-top: 2px; }
.kpi.accent { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 0%, var(--ink))); border-color: color-mix(in srgb, var(--gold) 0%, var(--ink)); color: #fff; }
.kpi.accent span { color: var(--gold-l); }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 8px; border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, white); white-space: nowrap; }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--gold) 9%, white); }
.tbl .n { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .dot, .chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.tbl input.pct { width: 64px; min-height: 34px; padding: 4px 8px; text-align: right; transition: background .3s; }
.tbl input.pct.saved { background: var(--ok-t); border-color: var(--ok); }
.warn { color: var(--wait); font-weight: 600; }
.notice { background: color-mix(in srgb, var(--gold) 15%, white); border: 1px solid #ecd6a6; border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.notice p { margin: 4px 0; }
details.card summary { cursor: pointer; list-style: none; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after { content: "mostrar"; float: right; font-size: 13px; color: var(--gold-d); font-weight: 600; margin-top: 4px; }
details.card[open] summary::after { content: "esconder"; }
details.card[open] summary { margin-bottom: 10px; }
.paybars { margin-top: 14px; display: grid; gap: 8px; }
.paybars > div { display: grid; grid-template-columns: 130px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.paybars .bar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 20%, white); overflow: hidden; }
.paybars .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-l), var(--gold)); }
.how ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.fees { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 12px; align-items: end; }
.fees .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) {
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .fees { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ADM: agendamentos e financeiro */
.kpis-3 { grid-template-columns: repeat(3, 1fr); }
.kpi small { font-family: var(--body); font-size: 13px; }
.grid-2 { display: grid; gap: 14px; margin-top: 14px; }
.grid-2 .card + .card { margin-top: 0; }
.tbl td.wrap { white-space: normal; min-width: 180px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gold-t); color: var(--gold-d); white-space: nowrap; }
.tag.lancamento { background: var(--pink); color: #8a5a54; }
.linkbtn { border: 0; background: none; color: var(--bad); font-weight: 600; font-size: 13px; cursor: pointer; padding: 4px; }
.linkbtn:hover { text-decoration: underline; }
@media (max-width: 600px) { .kpis-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* =================== janela do horário, ficha, calendário e ocupação (16/nov/2026) =================== */
:root { --wa: #25d366; --wa-d: #128c4a; }
.avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 46%, white), var(--gold) 55%, var(--gold-d)); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .03em;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--gold-l), 0 6px 14px color-mix(in srgb, var(--gold-d) 25%, transparent); }
.avatar.lg { width: 58px; height: 58px; font-size: 20px; }
.avatar.xl { width: 72px; height: 72px; font-size: 24px; }
.client-name { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.12; letter-spacing: .01em; margin: 0 0 6px;
  background: linear-gradient(90deg, var(--ink), color-mix(in srgb, var(--gold) 34%, var(--ink))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.client-hero .client-name { font-size: clamp(26px, 4vw, 36px); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 16%, white); color: var(--muted); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); }
.pill svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.pill.gold { background: var(--gold-t); color: var(--gold-d); border-color: var(--gold-l); }
.pill.bad { background: var(--bad-t); color: var(--bad); border-color: #e9b8b0; }

.appt-hero { display: flex; gap: 14px; align-items: center; padding: 14px; margin: 0 0 12px; border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 5%, white), color-mix(in srgb, var(--gold) 17%, white)); border: 1px solid color-mix(in srgb, var(--gold) 31%, white); }
.who-block { min-width: 0; flex: 1; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.info { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 23%, white); }
.info.wide { grid-column: 1 / -1; }
.info .ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-t); color: var(--gold-d); }
.info .ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.info b { display: block; font-weight: 600; font-size: 14.5px; }
.info em { display: block; font-style: normal; font-size: 13px; color: var(--gold-d); font-weight: 600; }
.info .note { font-weight: 500; font-size: 14px; }
.status-actions { padding-top: 12px; border-top: 1px dashed color-mix(in srgb, var(--gold) 33%, white); }
.link-actions { margin-top: 10px; }
@media (max-width: 480px) { .info-grid { grid-template-columns: 1fr; } }

/* botão do WhatsApp */
.btn.wa-btn { background: linear-gradient(180deg, #2fdc70, var(--wa)); border-color: var(--wa); color: #fff; box-shadow: 0 3px 10px rgba(37, 211, 102, .3); }
.btn.wa-btn:hover { background: linear-gradient(180deg, var(--wa), var(--wa-d)); border-color: var(--wa-d); }
.btn.wa-btn svg.wa, svg.wa { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* alerta de faltas */
.miss-alert { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, #c0392b, #8e2a20); box-shadow: 0 6px 18px rgba(161, 69, 58, .35); animation: pulse-bad 2.4s ease-in-out infinite; }
.miss-alert svg { flex: none; width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.miss-alert b { display: block; font-size: 15px; }
.miss-alert small { display: block; font-size: 13px; opacity: .9; }
@keyframes pulse-bad { 0%, 100% { box-shadow: 0 6px 18px rgba(161, 69, 58, .35); } 50% { box-shadow: 0 6px 26px rgba(192, 57, 43, .6); } }

/* ficha da cliente */
.client-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 18px 20px; margin-bottom: 14px; border-radius: 20px;
  background: radial-gradient(500px 160px at 0% 0%, color-mix(in srgb, var(--gold) 15%, white), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 14%, white)); border: 1px solid color-mix(in srgb, var(--gold) 31%, white); box-shadow: var(--shadow-1); }
.hero-actions { margin-left: auto; }

/* folhinha de calendário */
.datepick { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 2px 6px; border-radius: 14px; font: inherit; color: inherit; }
.datepick:hover { background: var(--gold-t); }
.calbadge { display: inline-flex; flex-direction: column; align-items: center; width: 50px; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 31%, white), 0 4px 10px color-mix(in srgb, var(--ink) 12%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 28%, white); line-height: 1; }
.calbadge i { display: block; width: 100%; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #fff; text-align: center; padding: 3px 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); }
.calbadge b { font-family: var(--display); font-weight: 400; font-size: 22px; padding: 3px 0 0; color: var(--ink); }
.calbadge small { font-size: 9px; font-weight: 700; color: var(--muted); letter-spacing: .06em; padding: 1px 0 4px; }
.agenda-head { align-items: center; }

/* ocupação */
.occcard { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); box-shadow: var(--shadow-1); }
.occcard strong { display: block; font-size: 14px; }
.occcard small { display: block; font-size: 12px; color: var(--muted); }
.ring { --c: var(--ok); position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), color-mix(in srgb, var(--gold) 20%, white) 0); display: inline-flex; align-items: center; justify-content: center; transition: background .4s; }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--paper); }
.ring b { position: relative; font-size: 13px; font-weight: 800; }
.occcard.mid .ring { --c: #d3a34d; }
.occcard.full .ring { --c: var(--bad); }
.occcard.off .ring { --c: color-mix(in srgb, var(--gold) 45%, white); }
.occbar { display: block; position: relative; height: 5px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 20%, white); overflow: hidden; margin-top: 5px; width: 100%; }
.occbar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8fc7a0, var(--ok)); transition: width .5s var(--ease); }
.occbar.mid > i { background: linear-gradient(90deg, #ecc781, #d3a34d); }
.occbar.full > i { background: linear-gradient(90deg, #e08c80, var(--bad)); }
.occbar.mini { display: inline-block; width: 26px; height: 6px; margin: 0 4px 0 0; vertical-align: middle; }
.occtxt { display: block; font-size: 10.5px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.cal-head .occbar { max-width: 140px; margin-left: auto; margin-right: auto; }

/* cabeçalho dos dias na agenda de 7 dias */
.cal-head.daylink { padding: 6px 6px 7px; }
.dl-top { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.dl-wd { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.dl-day { font-family: var(--display); font-size: 20px; font-weight: 400; color: var(--ink); line-height: 1; }
.dl-n { font-size: 11px; color: var(--muted); font-weight: 600; }
.cal-head.daylink.today .dl-day { color: #fff; background: var(--gold); border-radius: 50%; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.cal.wk .appt { background: color-mix(in srgb, var(--pc, var(--gold)) 14%, color-mix(in srgb, var(--gold) 2%, white)); }
.cal.wk .appt.concluido { background: var(--ok-t); }
.cal.wk .appt.faltou { background: var(--bad-t); }
.cal.wk .cal-block { font-size: 11px; padding: 3px 5px; }
.appt em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--gold-d); line-height: 1.2; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px; }
.legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
@media (max-width: 700px) { .occcard { width: 100%; } }

/* =================== etiquetas da cliente na agenda (16/nov/2026) =================== */
.ctags { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cal.wk .appt em .ctags { margin: 0 0 0 4px; vertical-align: -2px; gap: 2px; }
.ctag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px 0 5px; border-radius: 999px; font-size: 11px; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; line-height: 1; border: 1px solid transparent; }
.ctag svg { width: 13px; height: 13px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctag.compact { width: 18px; height: 18px; padding: 0; justify-content: center; }
.ctag.compact svg { width: 11px; height: 11px; }
.ctag.nova { background: linear-gradient(135deg, #e8f3ff, #d4e8fb); color: #2563a8; border-color: #bcd8f5; }
.ctag.cliente { background: linear-gradient(135deg, #fbe9ec, #f6d6dc); color: #a24a5c; border-color: #efc3cc; }
.ctag.cliente svg { fill: currentColor; fill-opacity: .25; }
.ctag.vip { background: linear-gradient(135deg, #f9e7b9, #e9c56f); color: #6b4a10; border-color: #d9ad4c; box-shadow: 0 1px 4px rgba(201, 150, 44, .35); }
.ctag.vip svg { fill: #fff3c8; }
.ctag.master { position: relative; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 31%, var(--ink)) 55%, color-mix(in srgb, var(--gold) 0%, var(--ink))); color: #f3d38b; border-color: color-mix(in srgb, var(--gold) 76%, var(--ink));
  box-shadow: 0 1px 6px color-mix(in srgb, var(--gold-d) 45%, transparent); }
.ctag.master svg { fill: #f3d38b; fill-opacity: .35; }
.ctag.master::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 236, 180, .55), transparent); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ctag.atencao { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 20%, white), #fbdc8a); color: #8a5a00; border-color: #efc35a; }
.ctag.risco { background: linear-gradient(135deg, #e0483a, #9f2b20); color: #fff; border-color: #8e2a20; animation: risk-pulse 1.8s ease-in-out infinite; }
.ctag.risco svg { fill: #ffd2c6; fill-opacity: .6; }
@keyframes risk-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 72, 58, .55); } 50% { box-shadow: 0 0 0 4px rgba(224, 72, 58, 0); } }

/* o card inteiro sinaliza o comportamento */
.appt.atencao { box-shadow: inset 0 0 0 1px #efc35a, 0 1px 3px color-mix(in srgb, var(--ink) 8%, transparent); }
.appt.risco { box-shadow: inset 0 0 0 2px #e0483a, 0 2px 8px rgba(224, 72, 58, .25); }
.appt.risco::before { content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 16px 16px 0; border-color: transparent #e0483a transparent transparent; }
.appt.master { background-image: linear-gradient(135deg, rgba(243, 211, 139, .25), transparent 60%); }
.appt.vip { background-image: linear-gradient(135deg, rgba(233, 197, 111, .18), transparent 60%); }

.tags-legend { margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 23%, white); gap: 8px 16px; }
.tags-legend .lg-tip { font-size: 12px; }
/* dentro do card da agenda, as etiquetas não herdam o estilo de texto do card */
.appt span.ctags { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; overflow: visible; white-space: normal; color: inherit; }
.appt span.ctag { display: inline-flex; overflow: hidden; color: inherit; }
.appt span.ctag > span { display: inline; color: inherit; overflow: visible; }
.appt span.ctag.nova { color: #2563a8; } .appt span.ctag.cliente { color: #a24a5c; } .appt span.ctag.vip { color: #6b4a10; }
.appt span.ctag.master { color: #f3d38b; } .appt span.ctag.atencao { color: #8a5a00; } .appt span.ctag.risco { color: #fff; }
.cal.wk .appt em span.ctags { margin: 0 0 0 4px; gap: 2px; vertical-align: -3px; flex-wrap: nowrap; }

/* =================== ranking de clientes (16/nov/2026) =================== */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; margin: 6px 0 16px; }
.pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--ink);
  padding: 22px 12px 0; border-radius: 20px 20px 14px 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 13%, white)); border: 1px solid color-mix(in srgb, var(--gold) 31%, white);
  box-shadow: var(--shadow-1); transition: transform .18s var(--ease), box-shadow .18s var(--ease); overflow: hidden; }
.pod:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.pod-1 { padding-top: 30px; background: radial-gradient(260px 140px at 50% 0%, #fbeccb, transparent 70%), linear-gradient(180deg, color-mix(in srgb, var(--gold) 6%, white), #f6e7c8); border-color: #e6c77f; }
.pod-crown { position: absolute; top: 4px; color: #d4a437; animation: crown-float 2.6s ease-in-out infinite; }
.pod-crown svg { width: 26px; height: 26px; fill: #f3cf6d; stroke: #b8862a; stroke-width: 1.4; }
@keyframes crown-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-3px) rotate(4deg); } }
.medal { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15), 0 3px 8px rgba(0, 0, 0, .18); }
.medal::after { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; transform: translate(-50%, -4px) rotate(45deg); background: inherit; z-index: -1; }
.medal.ouro { background: linear-gradient(135deg, #ffe08a, #d4a437 55%, #a87b17); }
.medal.prata { background: linear-gradient(135deg, #f4f6f8, #b8c0c8 55%, #8a949e); color: #3b4249; }
.medal.bronze { background: linear-gradient(135deg, #f3c39a, color-mix(in srgb, var(--gold) 98%, white) 55%, color-mix(in srgb, var(--gold) 69%, var(--ink))); }
.pod-name { font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.15; margin-top: 2px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pod-1 .pod-name { font-size: 20px; }
.pod-main { font-weight: 800; font-size: 18px; color: var(--gold-d); }
.pod-1 .pod-main { font-size: 22px; }
.pod-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.pod-step { align-self: stretch; margin: 4px -12px 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-size: 22px; }
.pod-step i { font-style: normal; }
.pod-1 .pod-step { height: 64px; background: linear-gradient(180deg, #e2b85a, #b8862a); }
.pod-2 .pod-step { height: 44px; background: linear-gradient(180deg, #c9d0d6, #8a949e); }
.pod-3 .pod-step { height: 32px; background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 72%, white), color-mix(in srgb, var(--gold) 81%, var(--ink))); }
.pod .ctag { margin-top: 2px; }

.ranklist { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ranklist li + li { border-top: 1px solid color-mix(in srgb, var(--gold) 18%, white); }
.rank-row { display: grid; grid-template-columns: 34px 40px minmax(0, 1.4fr) minmax(60px, 1fr) auto; gap: 12px; align-items: center; padding: 10px 6px; text-decoration: none; color: inherit; border-radius: 12px; transition: background .15s; }
.rank-row:hover { background: color-mix(in srgb, var(--gold) 9%, white); }
.rank-pos { width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: var(--gold-d); background: var(--gold-t); border: 1px solid var(--gold-l); }
.rank-who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-tags { display: flex; align-items: center; gap: 6px; }
.rank-tags small { color: var(--muted); font-size: 12px; }
.rank-bar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 20%, white); overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-l), var(--gold)); }
.rank-val { text-align: right; }
.rank-val b { display: block; font-weight: 800; color: var(--ink); white-space: nowrap; }
.rank-val small { color: var(--muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 640px) {
  .podium { gap: 6px; }
  .pod { padding: 18px 6px 0; }
  .pod-name { font-size: 14px; } .pod-1 .pod-name { font-size: 16px; }
  .pod-main { font-size: 15px; } .pod-1 .pod-main { font-size: 17px; }
  .avatar.xl { width: 56px; height: 56px; font-size: 19px; }
  .rank-row { grid-template-columns: 30px 36px minmax(0, 1fr) auto; }
  .rank-bar { display: none; }
}

/* excluir agendamento */
.danger-zone { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #ecc9c3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.danger-zone small { color: var(--muted); font-size: 12px; flex: 1; min-width: 200px; }
.btn-del { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e9b8b0; background: #fff6f4; color: var(--bad); font-weight: 700; font-size: 13.5px;
  padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.btn-del svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-del:hover { background: var(--bad); color: #fff; box-shadow: 0 4px 12px rgba(161, 69, 58, .3); }

/* =================== escala de ocupação (16/nov/2026): verde > 70, amarelo 40–70, vermelho 10–40, preto < 10 =================== */
.occbar { height: 7px; }
.occbar > i { background: color-mix(in srgb, var(--gold) 45%, white); }
/* verde: destaque máximo */
.occbar.top { background: #d9f2e1; box-shadow: 0 0 0 1px #9fd8b2, 0 0 10px rgba(34, 160, 84, .35); }
.occbar.top > i { position: relative; overflow: hidden; background: linear-gradient(90deg, #34c46b, #12924a); }
.occbar.top > i::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: occ-shine 2.2s ease-in-out infinite; }
@keyframes occ-shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(120%); } }
/* amarelo */
.occbar.mid > i { background: linear-gradient(90deg, #f6d36b, #e2a91d); }
/* vermelho */
.occbar.low { background: #f6e1dd; }
.occbar.low > i { background: linear-gradient(90deg, #ec7a6c, #c0392b); }
/* preto: destaque máximo de alerta */
.occbar.zero { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--gold) 0%, var(--ink)) 0 6px, color-mix(in srgb, var(--gold) 23%, var(--ink)) 6px 12px); background-size: 34px 34px;
  box-shadow: 0 0 0 1px #000, 0 0 10px rgba(0, 0, 0, .35); animation: occ-stripes 1.2s linear infinite; }
@keyframes occ-stripes { to { background-position: 34px 0; } }
.occbar.zero > i { background: #fff; }

.occtxt { display: inline-flex; align-items: center; gap: 4px; justify-content: center; padding: 1px 7px; border-radius: 999px; margin-top: 4px; }
.occtxt svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.occtxt span { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 9.5px; }
.occtxt.mid { color: #a3750a; }
.occtxt.low { color: var(--bad); }
.occtxt.top { color: #fff; background: linear-gradient(135deg, #2bbd63, #0f8a44); box-shadow: 0 2px 8px rgba(18, 146, 74, .4); animation: occ-glow 2s ease-in-out infinite; }
.occtxt.top svg { fill: #d8ffe6; }
.occtxt.zero { color: #fff; background: color-mix(in srgb, var(--gold) 0%, var(--ink)); box-shadow: 0 0 0 0 rgba(0, 0, 0, .5); animation: occ-pulse 1.6s ease-in-out infinite; }
@keyframes occ-glow { 0%, 100% { box-shadow: 0 2px 8px rgba(18, 146, 74, .35); } 50% { box-shadow: 0 2px 16px rgba(18, 146, 74, .7); } }
@keyframes occ-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 55%, transparent); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 0%, transparent); } }
.cal-head:has(.occbar.top) { background: linear-gradient(180deg, #f1fbf4, #e3f6ea); }
.cal-head:has(.occbar.zero) { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 12%, white), color-mix(in srgb, var(--gold) 23%, white)); }

/* anel e cartão de ocupação */
.occcard.top .ring { --c: #1fa85a; box-shadow: 0 0 0 3px #d9f2e1, 0 0 16px rgba(31, 168, 90, .45); animation: occ-glow 2s ease-in-out infinite; }
.occcard.mid .ring { --c: #e2a91d; }
.occcard.low .ring { --c: #c0392b; }
.occcard.zero .ring { --c: color-mix(in srgb, var(--gold) 0%, var(--ink)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 23%, white); animation: occ-pulse 1.6s ease-in-out infinite; }
.occcard.top { border-color: #9fd8b2; background: linear-gradient(135deg, #f4fcf6, color-mix(in srgb, var(--gold) 2%, white)); }
.occcard.zero { border-color: color-mix(in srgb, var(--gold) 0%, var(--ink)); background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, white), color-mix(in srgb, var(--gold) 2%, white)); }
.occflag { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }
.occflag svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.occflag.top { color: #fff; background: linear-gradient(135deg, #2bbd63, #0f8a44); }
.occflag.zero { color: #fff; background: color-mix(in srgb, var(--gold) 0%, var(--ink)); }
.occbar.mini.zero { animation: none; }

/* =================== quadro do topo da agenda (16/nov/2026) =================== */
main { overflow-x: clip; }
.agenda-toolbar { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px; margin: 0 0 12px; border-radius: 18px;
  background: radial-gradient(420px 140px at 0% 0%, color-mix(in srgb, var(--gold) 15%, white), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 15%, white));
  border: 1px solid color-mix(in srgb, var(--gold) 31%, white); box-shadow: var(--shadow-1); min-width: 0; }
.tb-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tb-date .iconbtn { flex: none; }
.tb-datebtn { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 34%, white); background: var(--paper); cursor: pointer; font: inherit; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.tb-datebtn:hover { border-color: var(--gold-l); box-shadow: var(--shadow-1); }
.tb-datebtn svg { width: 18px; height: 18px; flex: none; stroke: var(--gold-d); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.tb-datebtn span { font-family: var(--display); font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-today { flex: none; }
.tb-filters { gap: 8px; }
.tb-select { flex: 1; min-width: 0; position: relative; display: block; margin: 0; }
.tb-select small { position: absolute; top: 5px; left: 14px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-d); pointer-events: none; }
.tb-select select { width: 100%; height: 48px; padding: 16px 34px 2px 13px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--gold) 34%, white); background-color: var(--paper);
  font-weight: 600; font-size: 15px; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6835' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
.tb-select select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-t); outline: none; }
.tb-occ { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ring txt" "bar bar"; gap: 6px 10px; padding: 8px 10px; border-radius: 14px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 23%, white); }
.tb-occ .ring { grid-area: ring; }
.tb-occ-txt { grid-area: txt; min-width: 0; }
.tb-occ-txt strong { display: block; font-size: 14px; }
.tb-occ-txt small { display: block; font-size: 12px; color: var(--muted); }
.tb-occ .occbar { grid-area: bar; margin: 0; }
.ring.sm { width: 44px; height: 44px; }
.ring.sm::before { inset: 5px; }
.ring.sm b { font-size: 12px; }
.tb-occ.top { border-color: #9fd8b2; background: linear-gradient(135deg, #f4fcf6, color-mix(in srgb, var(--gold) 2%, white)); }
.tb-occ.top .ring { --c: #1fa85a; box-shadow: 0 0 0 3px #d9f2e1, 0 0 14px rgba(31, 168, 90, .45); animation: occ-glow 2s ease-in-out infinite; }
.tb-occ.mid .ring { --c: #e2a91d; }
.tb-occ.low .ring { --c: #c0392b; }
.tb-occ.zero { border-color: color-mix(in srgb, var(--gold) 0%, var(--ink)); }
.tb-occ.zero .ring { --c: color-mix(in srgb, var(--gold) 0%, var(--ink)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 23%, white); animation: occ-pulse 1.6s ease-in-out infinite; }
.tb-occ.off .ring { --c: color-mix(in srgb, var(--gold) 45%, white); }
@media (min-width: 900px) {
  .agenda-toolbar { grid-template-columns: minmax(280px, 1.1fr) minmax(300px, 1fr) minmax(260px, .9fr); align-items: center; padding: 12px 14px; }
  .tb-occ { grid-template-columns: auto minmax(0, 1fr) 90px; grid-template-areas: "ring txt bar"; align-items: center; }
}
@media (max-width: 480px) { .tb-select select { font-size: 14px; padding-right: 30px; padding-left: 12px; background-position: right 8px center; } .tb-select small { left: 12px; } .tb-datebtn span { font-size: 17px; } }
@media (min-width: 900px) { .agenda-toolbar { grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr); } .tb-occ { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) minmax(160px, 38%); grid-template-areas: "ring txt bar"; } .tb-occ-txt strong { white-space: nowrap; } }

/* =================== ajustes 16/nov (madrugada): contraste, ocupação central, ações, logo e foto =================== */
/* quadro da agenda com mais contraste */
.agenda-toolbar { background: radial-gradient(520px 160px at 0% 0%, #f6e3c4, transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--gold) 11%, white), color-mix(in srgb, var(--gold) 25%, white));
  border: 1px solid color-mix(in srgb, var(--gold) 53%, white); box-shadow: 0 2px 0 color-mix(in srgb, var(--gold) 31%, white), 0 8px 22px color-mix(in srgb, var(--ink) 12%, transparent); }
.tb-datebtn, .tb-select select { border-color: color-mix(in srgb, var(--gold) 62%, white); background-color: color-mix(in srgb, var(--gold) 2%, white); box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent); }
.tb-datebtn span { color: var(--ink); }
.tb-select small { color: color-mix(in srgb, var(--gold) 61%, var(--ink)); }
.tb-select select { font-weight: 700; }
.agenda-toolbar .iconbtn { border-color: color-mix(in srgb, var(--gold) 62%, white); background: color-mix(in srgb, var(--gold) 2%, white); }
/* ocupação centralizada */
.tb-occ { justify-content: center; border-color: color-mix(in srgb, var(--gold) 44%, white); }
@media (min-width: 900px) {
  .tb-occ { grid-template-columns: auto auto minmax(220px, 360px); justify-content: center; column-gap: 18px; }
}

/* janela do horário: ações distribuídas */
.appt-actions { display: grid; gap: 8px; padding-top: 12px; border-top: 1px dashed color-mix(in srgb, var(--gold) 33%, white); }
.aa-main .btn { width: 100%; min-height: 48px; font-size: 16px; }
.aa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.aa-grid .btn { width: 100%; min-height: 42px; }
.aa-links { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.aa-links .btn { width: 100%; min-height: 42px; padding: 0 10px; font-size: 14px; }
.aa-links .btn:only-child { grid-column: 1 / -1; }
@media (max-width: 480px) { .aa-links { grid-template-columns: 1fr 1fr; } .aa-links .aa-wa { grid-column: 1 / -1; } }

/* topo: logo centralizada e foto */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.tb-spacer { display: block; }
.topbar .brand { justify-self: center; }
.topbar .brand img { width: 34px; height: 41px; filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--gold-d) 25%, transparent)); }
.topbar .brand b { font-size: 22px; letter-spacing: .32em;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 0%, var(--ink)), color-mix(in srgb, var(--gold) 53%, var(--ink)) 60%, color-mix(in srgb, var(--gold) 100%, white)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.topbar .who { justify-self: end; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: 13px; }
.topbar .who .avatar { width: 34px; height: 34px; font-size: 12px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold-l); }
.who-name { white-space: nowrap; }
@media (max-width: 700px) { .who-name { display: none; } .topbar .brand b { font-size: 20px; } }
@media (min-width: 900px) { .tb-spacer { display: block; } }
.avatar.photo { padding: 0; overflow: hidden; background: #eee; }
.avatar.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
/* Mais: foto de perfil */
.profile-row { display: flex; align-items: center; gap: 16px; }
.profile-name { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; }
.photo-pick { position: relative; cursor: pointer; flex: none; }
.photo-cam { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff; }
.photo-cam svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.occtxt { white-space: nowrap; }
@media (max-width: 480px) { .aa-links > :nth-child(2):last-child { grid-column: 1 / -1; } }

/* =================== 16/nov (manhã): data em destaque, menus próprios, arrastar, logo =================== */
/* logo um pouco maior */
.topbar .brand img { width: 38px; height: 46px; }
.topbar .brand b { font-size: 24px; letter-spacing: .34em; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .8)); }
@media (max-width: 700px) { .topbar .brand b { font-size: 22px; } .topbar .brand img { width: 34px; height: 41px; } }

/* botão da data */
.tb-datebtn { height: 46px; gap: 10px; padding: 0 10px 0 6px; justify-content: space-between;
  background: linear-gradient(180deg, #ffffff, color-mix(in srgb, var(--gold) 11%, white)); border: 1.5px solid color-mix(in srgb, var(--gold) 76%, white); box-shadow: 0 2px 0 color-mix(in srgb, var(--gold) 34%, white), 0 6px 14px color-mix(in srgb, var(--gold-d) 14%, transparent); position: relative; overflow: hidden; }
.tb-datebtn::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shine 4.5s ease-in-out infinite; pointer-events: none; }
.tb-calic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 76%, white), var(--gold-d)); box-shadow: 0 3px 8px color-mix(in srgb, var(--gold-d) 35%, transparent); }
.tb-calic svg { width: 18px; height: 18px; stroke: #fff; }
.tb-lbl { flex: 1; text-align: center; font-family: var(--display); font-size: 19px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-chev svg { width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2.4; }
.today-pill { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; padding: 3px 8px; border-radius: 999px;
  background: linear-gradient(135deg, #2bbd63, #0f8a44); box-shadow: 0 2px 8px rgba(18, 146, 74, .35); }
.tb-datebtn.is-today { border-color: #1fa85a; box-shadow: 0 2px 0 #cfeedd, 0 6px 16px rgba(31, 168, 90, .18); }
.tb-datebtn.is-today .tb-calic { background: linear-gradient(135deg, #34c46b, #0f8a44); }
/* setas com movimento */
.agenda-toolbar .iconbtn { width: 42px; height: 42px; transition: transform .15s var(--ease), background .15s, box-shadow .15s; }
.agenda-toolbar .iconbtn svg { transition: transform .2s var(--ease); }
.agenda-toolbar .iconbtn:hover { background: var(--gold); border-color: var(--gold); box-shadow: 0 4px 12px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.agenda-toolbar .iconbtn:hover svg { stroke: #fff; }
.agenda-toolbar [data-day="-1"]:hover svg, .agenda-toolbar [data-week="-1"]:hover svg { transform: translateX(-3px); }
.agenda-toolbar [data-day="1"]:hover svg, .agenda-toolbar [data-week="1"]:hover svg { transform: translateX(3px); }
.agenda-toolbar .iconbtn:active { transform: scale(.9); }
.agenda-toolbar [data-day="-1"]:active svg, .agenda-toolbar [data-week="-1"]:active svg { transform: translateX(-5px); }
.agenda-toolbar [data-day="1"]:active svg, .agenda-toolbar [data-week="1"]:active svg { transform: translateX(5px); }

/* Período e Profissional: menores, centralizados, menu próprio */
.tb-filters { justify-content: center; }
.dd { position: relative; flex: 1; max-width: 230px; min-width: 0; }
.dd-btn { width: 100%; height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 6px;
  padding: 3px 10px 3px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--gold) 62%, white); background: color-mix(in srgb, var(--gold) 2%, white); cursor: pointer; text-align: left; font: inherit; color: var(--ink);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent); transition: border-color .15s, box-shadow .15s; }
.dd-btn small { grid-column: 1; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--gold) 61%, var(--ink)); line-height: 1.1; }
.dd-btn b { grid-column: 1; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.dd-chev { grid-column: 2; grid-row: 1 / 3; display: inline-flex; transition: transform .2s var(--ease); }
.dd-chev svg { width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2.4; }
.dd-btn:hover { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-t); }
.dd.open .dd-btn { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-t); }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd-menu { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: 260px; padding: 6px; border-radius: 14px;
  background: color-mix(in srgb, var(--gold) 2%, white); border: 1px solid color-mix(in srgb, var(--gold) 37%, white); box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 18%, transparent), 0 2px 6px color-mix(in srgb, var(--ink) 8%, transparent);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top; pointer-events: none; transition: opacity .16s ease, transform .16s var(--ease); }
.dd:last-child .dd-menu { left: auto; right: 0; }
.dd.open .dd-menu { opacity: 1; transform: none; pointer-events: auto; }
.dd-opt { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; background: none; border-radius: 10px; cursor: pointer; font: inherit;
  font-size: 14.5px; color: var(--ink); text-align: left; transition: background .12s; }
.dd-opt:hover { background: var(--gold-t); }
.dd-opt.on { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 20%, white), color-mix(in srgb, var(--gold) 28%, white)); font-weight: 700; }
.dd-ic { width: 28px; height: 28px; flex: none; border-radius: 8px; background: color-mix(in srgb, var(--gold) 18%, white); display: inline-flex; align-items: center; justify-content: center; }
.dd-ic svg { width: 15px; height: 15px; stroke: var(--gold-d); fill: none; stroke-width: 2; stroke-linecap: round; }
.dd-opt.on .dd-ic { background: var(--gold); } .dd-opt.on .dd-ic svg { stroke: #fff; }
.dd-opt .dot { width: 12px; height: 12px; border-radius: 50%; margin: 0 8px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px color-mix(in srgb, var(--gold) 37%, white); }
.dd-check { margin-left: auto; display: inline-flex; } .dd-check svg { width: 16px; height: 16px; stroke: var(--ok); fill: none; stroke-width: 2.6; }

/* ocupação um pouco menor */
.tb-occ { padding: 6px 10px; gap: 4px 10px; }
.ring.sm { width: 38px; height: 38px; } .ring.sm::before { inset: 4px; } .ring.sm b { font-size: 11px; }
.tb-occ-txt strong { font-size: 13px; } .tb-occ-txt small { font-size: 11.5px; }
.tb-occ .occbar { height: 6px; }

/* semana: aviso de tocar no dia e dias com cara de botão */
.pick-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 8px; font-size: 13px; color: color-mix(in srgb, var(--gold) 53%, var(--ink)); }
.pick-hint b { color: var(--gold-d); }
.ph-ic svg { width: 20px; height: 20px; stroke: var(--gold-d); fill: color-mix(in srgb, var(--gold) 10%, white); stroke-width: 1.6; stroke-linejoin: round; animation: tap 1.6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes tap { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(2px) scale(.92); } 60% { transform: translateY(0) scale(1); } }
.cal-head.daylink { position: relative; transition: background .15s, box-shadow .15s; }
.cal-head.daylink:hover, .cal-head.daylink:active { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 13%, white), #f3e3c8); box-shadow: inset 0 -2px 0 var(--gold); }
.dl-go { display: inline-flex; margin-left: 2px; opacity: .55; }
.dl-go svg { width: 12px; height: 12px; stroke: var(--gold-d); fill: none; stroke-width: 2.6; }
.cal-head.daylink:hover .dl-go { opacity: 1; transform: translateX(2px); }

/* arrastar para o lado */
.cal-wrap { position: relative; }
.cal-wrap::before, .cal-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 26px; pointer-events: none; z-index: 6; opacity: 0; transition: opacity .2s; border-radius: 16px; }
.cal-wrap::after { right: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 14%, transparent)); }
.cal-wrap::before { left: 52px; background: linear-gradient(270deg, transparent, color-mix(in srgb, var(--ink) 12%, transparent)); }
.cal-wrap.more-right::after, .cal-wrap.more-left::before { opacity: 1; }
.swipe-hint { position: absolute; z-index: 7; right: 8px; top: 64px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 82%, transparent); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; }
.swipe-hint svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.6; animation: nudge 1.1s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.cal-wrap.more-right:not(.swiped) .swipe-hint { opacity: 1; transform: none; }

/* clientes: quantas vezes veio */
.visit-count { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 3px; padding: 1px 9px; border-radius: 999px; font-size: 12px;
  background: var(--gold-t); color: var(--gold-d); border: 1px solid var(--gold-l); }
.visit-count b { display: inline; color: var(--ink); font-size: 13px; }

/* celular: quadro mais enxuto e colunas mais estreitas */
@media (max-width: 480px) {
  .agenda-toolbar { padding: 10px; gap: 8px; }
  .tb-lbl { font-size: 17px; }
  .cal { --tcol: 44px; --wkcol: 96px; --daycol: 132px; }
  .cal-wrap::before { left: 44px; }
  .cal.wk .appt b { font-size: 12px; }
  .cal.wk .appt span { font-size: 10.5px; }
}
@media (max-width: 480px) { .tb-chev { display: none; } .tb-calic { width: 30px; height: 30px; border-radius: 9px; } .tb-calic svg { width: 16px; height: 16px; } .tb-datebtn { gap: 6px; padding: 0 8px 0 5px; } .tb-lbl { font-size: 16px; } .today-pill { font-size: 9px; padding: 2px 6px; } .agenda-toolbar .iconbtn { width: 38px; height: 38px; } .tb-date { gap: 6px; } }
@media (max-width: 480px) { .cal.wk .dl-n { display: none; } .cal.wk .occtxt.top span { display: none; } .cal.wk .dl-top { flex-wrap: nowrap; gap: 4px; } .cal.wk .occtxt { max-width: 100%; overflow: hidden; } }

/* =================== calendário próprio, botões de status e legenda (16/nov) =================== */
.tb-date { position: relative; }
.calpop { position: absolute; z-index: 45; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(320px, calc(100vw - 32px)); padding: 12px;
  border-radius: 18px; background: color-mix(in srgb, var(--gold) 2%, white); border: 1px solid color-mix(in srgb, var(--gold) 37%, white); box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 22%, transparent), 0 2px 6px color-mix(in srgb, var(--ink) 8%, transparent);
  animation: cp-in .16s var(--ease); }
@keyframes cp-in { from { opacity: 0; transform: translate(-50%, -6px) scale(.98); } }
.cp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cp-head b { font-family: var(--display); font-weight: 400; font-size: 19px; text-transform: capitalize; }
.cp-head b span { color: var(--gold-d); }
.cp-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 37%, white); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
.cp-nav:hover { background: var(--gold); border-color: var(--gold); } .cp-nav:hover svg { stroke: #fff; }
.cp-nav svg { width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2.4; }
.cp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cp-wd span { text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); padding: 4px 0; }
.cp-wd span.we { color: var(--gold-d); }
.cp-day { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); transition: background .12s, transform .1s; }
.cp-day:hover { background: var(--gold-t); }
.cp-day:active { transform: scale(.92); }
.cp-day.we { color: color-mix(in srgb, var(--gold) 76%, var(--ink)); }
.cp-day.out { color: color-mix(in srgb, var(--gold) 51%, white); font-weight: 500; }
.cp-day.today { box-shadow: inset 0 0 0 2px #1fa85a; color: #0f8a44; font-weight: 800; }
.cp-day.sel { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 76%, white), var(--gold-d)); color: #fff; box-shadow: 0 3px 8px color-mix(in srgb, var(--gold-d) 35%, transparent); }
.cp-day.sel.today { box-shadow: 0 0 0 2px #1fa85a, 0 3px 8px color-mix(in srgb, var(--gold-d) 35%, transparent); }
.cp-day.sel:not(.sel-start):not(.sel-end) { border-radius: 4px; }
.cp-day.sel-start { border-radius: 10px 4px 4px 10px; } .cp-day.sel-end { border-radius: 4px 10px 10px 4px; }
.cp-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--gold) 20%, white); }
.cp-foot .btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

/* botões de status com ícone e explicação */
.st-btn { justify-content: flex-start; gap: 10px; text-align: left; padding: 8px 12px; min-height: 54px !important; height: auto; border-radius: 16px; }
.st-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .7); }
.st-ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.st-txt b { font-size: 14.5px; font-weight: 700; }
.st-txt small { font-size: 11.5px; font-weight: 500; opacity: .8; }
.aa-main .st-btn { justify-content: center; min-height: 58px !important; }
.aa-main .st-btn .st-ic { background: rgba(255, 255, 255, .22); }
.aa-main .st-btn .st-txt { text-align: left; }
.st-confirmado { border-color: #b9dcc5 !important; } .st-confirmado .st-ic { background: #e3f3e9; color: #1d8a4a; }
.st-em_atendimento { border-color: color-mix(in srgb, var(--gold) 46%, white) !important; } .st-em_atendimento .st-ic { background: color-mix(in srgb, var(--gold) 18%, white); color: #a3750a; }
.st-agendado .st-ic { background: color-mix(in srgb, var(--gold) 19%, white); color: var(--muted); }
.st-faltou .st-ic { background: #fbe4df; color: var(--bad); }
.st-cancelado .st-ic { background: color-mix(in srgb, var(--gold) 15%, white); color: #8a7a6c; }
.st-cancelado { color: color-mix(in srgb, var(--gold) 76%, var(--ink)) !important; border-color: color-mix(in srgb, var(--gold) 40%, white) !important; }
.st-btn.danger:hover .st-ic, .st-btn.quiet:hover .st-ic { background: #fff; }

/* legenda recolhida */
.legend-box { margin-top: 10px; }
.legend-box summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 37%, white);
  background: color-mix(in srgb, var(--gold) 2%, white); font-size: 13px; font-weight: 700; color: var(--gold-d); box-shadow: var(--shadow-1); transition: background .15s; }
.legend-box summary::-webkit-details-marker { display: none; }
.legend-box summary:hover { background: var(--gold-t); }
.legend-box summary svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.legend-box .lb-close { display: none; } .legend-box[open] .lb-open { display: none; } .legend-box[open] .lb-close { display: inline; }
.legend-box[open] > div { animation: fade .2s ease-out; }
.legend-box .legend { margin-top: 8px; }
.st-cancelado { color: #8e3b30 !important; border-color: #d9a9a0 !important; background: color-mix(in srgb, var(--gold) 3%, white) !important; } .st-cancelado .st-ic { background: #f6e1dd; color: #a1453a; } .st-btn .st-txt small { opacity: .85; }

/* WhatsApp: lembrar (verde cheio) e conversar (contorno verde); horário com início e fim */
.aa-links { grid-template-columns: 1fr 1fr; }
.aa-links .btn.wa-btn.aa-wa2 { background: #fff; color: #128c4a; border: 1.5px solid #25d366; box-shadow: none; }
.aa-links .btn.wa-btn.aa-wa2:hover { background: #e9fbf0; }
@media (max-width: 480px) { .aa-links .aa-wa { grid-column: auto; } .aa-links .btn { font-size: 13px; padding: 0 8px; } .aa-links .btn.wa-btn span { white-space: nowrap; } }
.when-range { display: flex !important; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.wr-from, .wr-to { display: inline-block; padding: 1px 8px; border-radius: 8px; background: var(--gold-t); color: var(--gold-d); font-weight: 800; font-size: 13px; }
.wr-dur { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.wr-dur::before { content: "· "; }
.appt em .t-end { font-weight: 600; opacity: .8; }
.aa-links .btn { min-width: 0; overflow: hidden; }

/* =================== CHAT — WhatsApp com a identidade do salão =================== */
main.main-chat { max-width: 1240px; padding-top: 10px; padding-bottom: 10px; }
.chat-app { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: calc(100dvh - 92px); border-radius: 20px; overflow: hidden;
  background: color-mix(in srgb, var(--gold) 2%, white); border: 1px solid color-mix(in srgb, var(--gold) 37%, white); box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 12%, transparent); }
@media (max-width: 899px) { .chat-app { height: calc(100dvh - 150px - env(safe-area-inset-bottom)); grid-template-columns: 1fr; border-radius: 16px; }
  .chat-app.has-open .chat-list { display: none; } .chat-app:not(.has-open) .chat-pane { display: none; } }
@media (min-width: 900px) { .cp-back { display: none !important; } }
/* lista */
.chat-list { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid color-mix(in srgb, var(--gold) 27%, white); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 10%, white), color-mix(in srgb, var(--gold) 2%, white) 120px); }
.cl-head { padding: 14px 14px 10px; border-bottom: 1px solid color-mix(in srgb, var(--gold) 23%, white); }
.cl-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cl-title h2 { font-size: 24px; }
.wa-on { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; color: #128c4a; background: #e3f6ea; border: 1px solid #b8e5c8; padding: 3px 9px; border-radius: 999px; }
.wa-on svg { width: 13px; height: 13px; fill: currentColor; }
.cl-search { position: relative; }
.cl-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--gold-d); fill: none; stroke-width: 2; }
.cl-search input { padding-left: 38px; min-height: 40px; border-radius: 999px; background: #fff; border-color: color-mix(in srgb, var(--gold) 37%, white); }
.cl-items { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.cl-item { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 0; border-radius: 14px; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: background .12s; }
.cl-item:hover { background: color-mix(in srgb, var(--gold) 17%, white); }
.cl-item.on { background: linear-gradient(135deg, #f3e3c7, color-mix(in srgb, var(--gold) 32%, white)); box-shadow: inset 3px 0 0 var(--gold); }
.cl-item .avatar { width: 44px; height: 44px; font-size: 15px; }
.cl-mid b { display: block; font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-prev { display: flex; align-items: center; gap: 3px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-item.unread .cl-prev { color: var(--ink); font-weight: 600; }
.cl-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cl-side small { font-size: 11.5px; color: var(--muted); }
.cl-item.unread .cl-side small { color: var(--gold-d); font-weight: 700; }
.cl-badge { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 76%, white), var(--gold-d)); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px color-mix(in srgb, var(--gold-d) 35%, transparent); }
.tick { display: inline-flex; } .tick svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2.4; }
.cl-empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; }
/* conversa */
.chat-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0;
  background: radial-gradient(circle at 20px 20px, rgba(169, 130, 74, .07) 2px, transparent 2.5px) 0 0 / 40px 40px, linear-gradient(180deg, color-mix(in srgb, var(--gold) 12%, white), color-mix(in srgb, var(--gold) 19%, white)); }
.cp-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: color-mix(in srgb, var(--gold) 2%, white); border-bottom: 1px solid color-mix(in srgb, var(--gold) 27%, white); box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 5%, transparent); }
.cp-head .avatar { width: 42px; height: 42px; }
.cp-who { min-width: 0; flex: 1; }
.cp-who b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-who small { display: block; font-size: 12px; color: var(--muted); }
.cp-who .ctags { margin-top: 3px; }
.cp-actions { display: flex; gap: 6px; flex: none; }
.cp-msgs { flex: 1; overflow-y: auto; padding: 14px 6% 18px; display: flex; flex-direction: column; gap: 4px; }
.day-sep { display: flex; justify-content: center; margin: 10px 0 6px; }
.day-sep span { font-size: 11.5px; font-weight: 700; color: color-mix(in srgb, var(--gold) 61%, var(--ink)); background: rgba(255, 253, 250, .92); border: 1px solid color-mix(in srgb, var(--gold) 34%, white); padding: 3px 12px; border-radius: 999px; box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent); }
.bubble { position: relative; max-width: min(72%, 520px); padding: 7px 10px 6px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 12%, transparent); animation: b-in .18s var(--ease); word-wrap: break-word; }
@keyframes b-in { from { opacity: 0; transform: translateY(4px); } }
.bubble.in { align-self: flex-start; background: color-mix(in srgb, var(--gold) 2%, white); border-top-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: linear-gradient(135deg, #f4e3c4, #ecd3a8); border-top-right-radius: 4px; }
.bubble.pending { opacity: .7; } .bubble.failed { box-shadow: 0 0 0 2px var(--bad); }
.b-text { white-space: pre-wrap; }
.b-meta { display: inline-flex; align-items: center; gap: 3px; float: right; margin: 6px 0 -2px 10px; font-size: 10.5px; color: #8a7a6c; }
.bubble.out .b-meta { color: color-mix(in srgb, var(--gold) 61%, var(--ink)); }
.b-media { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-width: 180px; padding: 10px 12px; margin-bottom: 4px; border: 1px dashed color-mix(in srgb, var(--gold) 53%, white); border-radius: 10px; background: rgba(255, 255, 255, .55); cursor: pointer; font: inherit; font-weight: 700; color: var(--gold-d); text-align: left; }
.b-media small { font-weight: 500; color: var(--muted); font-size: 11.5px; }
.b-media.loading { opacity: .6; }
.b-img { display: block; max-width: 100%; max-height: 320px; border-radius: 10px; margin-bottom: 4px; }
.b-audio { width: 240px; max-width: 100%; margin-bottom: 4px; }
.cp-none { margin: auto; color: var(--muted); font-size: 14px; background: rgba(255, 253, 250, .85); padding: 10px 16px; border-radius: 12px; }
.cp-input { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: color-mix(in srgb, var(--gold) 2%, white); border-top: 1px solid color-mix(in srgb, var(--gold) 27%, white); }
.cp-input textarea { flex: 1; min-height: 44px; max-height: 140px; resize: none; border-radius: 22px; padding: 11px 16px; border: 1px solid color-mix(in srgb, var(--gold) 37%, white); background: #fff; line-height: 1.35; }
.cp-send { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 76%, white), var(--gold-d)); box-shadow: 0 4px 12px color-mix(in srgb, var(--gold-d) 35%, transparent); transition: transform .12s; }
.cp-send:active { transform: scale(.9); }
.cp-send svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linejoin: round; margin-left: -2px; }
.cp-empty { margin: auto; text-align: center; max-width: 340px; padding: 20px; }
.cp-empty img { width: 64px; height: 78px; opacity: .85; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--gold-d) 25%, transparent)); }
.cp-empty h3 { font-size: 24px; margin: 12px 0 6px; }
.cp-empty p { color: var(--muted); font-size: 14px; }
.cp-loading { margin: auto; color: var(--muted); }
@media (max-width: 899px) { .cp-msgs { padding: 12px 10px 16px; } .bubble { max-width: 84%; } .cp-actions .btn.ghost { display: none; } }
/* conectar */
.wa-connect { display: flex; justify-content: center; padding: 10px 0 20px; }
.wc-card { width: 100%; max-width: 760px; padding: 26px; border-radius: 24px; text-align: center;
  background: radial-gradient(600px 200px at 50% 0%, #f8e9cf, transparent 70%), color-mix(in srgb, var(--gold) 2%, white); border: 1px solid color-mix(in srgb, var(--gold) 37%, white); box-shadow: 0 12px 34px color-mix(in srgb, var(--ink) 14%, transparent); }
.wc-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wc-brand img { width: 40px; height: 48px; } .wc-brand span { font-family: var(--display); font-size: 22px; letter-spacing: .32em; color: var(--ink); }
.wc-card h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 6px; }
.wc-body { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; margin: 20px 0 12px; text-align: left; }
@media (max-width: 700px) { .wc-body { grid-template-columns: 1fr; justify-items: center; } }
.wc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wc-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.wc-steps li > b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 13px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 76%, white), var(--gold-d)); box-shadow: 0 2px 6px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.wc-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 260px; }
.qr-frame { position: relative; padding: 14px; background: #fff; border-radius: 18px; box-shadow: 0 6px 20px color-mix(in srgb, var(--ink) 15%, transparent); }
.qr-frame img { display: block; width: 240px; height: 240px; image-rendering: pixelated; }
.qr-corner { position: absolute; width: 26px; height: 26px; border: 4px solid var(--gold); }
.qr-corner.tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.qr-corner.tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; border-radius: 0 14px 0 0; }
.qr-corner.bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; border-radius: 0 0 0 14px; }
.qr-corner.br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.wc-wait { width: 268px; height: 268px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: color-mix(in srgb, var(--gold) 17%, white); color: var(--gold-d); font-weight: 700; animation: occ-pulse 1.6s ease-in-out infinite; }
.wc-warn { display: inline-flex; align-items: center; gap: 6px; }
.wc-warn svg { width: 15px; height: 15px; stroke: var(--wait); fill: none; stroke-width: 2; }
.wa-card h3 { display: flex; align-items: center; gap: 8px; } .wa-card h3 svg { width: 20px; height: 20px; fill: #25d366; }
.tabbar a span { white-space: nowrap; }

/* =================== ADM novo: topo, cartões, Caixa, Insights, fluxo (16/nov) =================== */
.adm-head h2 span { color: var(--gold); }
.adm-tabs { display: flex; gap: 6px; margin: 0 0 12px; padding: 5px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 22%, white); overflow-x: auto; scrollbar-width: none; }
.adm-tab { flex: 1; min-width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 14px; border: 0; border-radius: 12px; background: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 14.5px; color: color-mix(in srgb, var(--gold) 73%, var(--ink)); transition: background .15s, color .15s, box-shadow .15s; }
.adm-tab svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.adm-tab:hover { color: var(--ink); background: rgba(255, 255, 255, .5); }
.adm-tab.on { background: color-mix(in srgb, var(--gold) 2%, white); color: var(--ink); box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 14%, transparent); }
.adm-tab.on svg { stroke: var(--gold-d); }
.adm-tree { margin: 0 0 14px; }
.adm-tree .at-groups { margin: 0; }
.adm-tab .at-n { font-style: normal; font-size: 11px; font-weight: 800; min-width: 18px; padding: 1px 5px; border-radius: 9px; background: color-mix(in srgb, var(--gold) 30%, white); color: color-mix(in srgb, var(--gold) 60%, var(--ink)); }
.adm-tab.on .at-n { background: var(--gold-d); color: #fff; }
.at-sub { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0 18px; padding: 12px 0 0 16px; border-left: 2px solid color-mix(in srgb, var(--gold) 35%, white); }
.at-item { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--gold) 28%, white); border-radius: 999px; background: #fff; cursor: pointer; font: inherit; font-weight: 600; font-size: 13.5px; color: color-mix(in srgb, var(--gold) 55%, var(--ink)); transition: background .15s, color .15s, border-color .15s; }
.at-item svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.at-item:hover { color: var(--ink); border-color: color-mix(in srgb, var(--gold) 55%, white); }
.at-item.on { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
@media (max-width: 640px) { .at-sub { margin-left: 10px; padding-left: 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .at-item { flex: none; } }
.adm-toolbar { grid-template-columns: 1fr; }
@media (min-width: 900px) { .adm-toolbar { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr) !important; } }
.adm-toolbar .tb-filters { justify-content: flex-end; }
@media (max-width: 899px) { .adm-toolbar .tb-filters { justify-content: center; } .adm-toolbar .dd { max-width: none; } }
.calpop.range .cp-day.sel:not(.sel-start):not(.sel-end) { background: color-mix(in srgb, var(--gold) 27%, white); color: var(--ink); box-shadow: none; }

/* cartões de números */
.kpis5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi2 { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: color-mix(in srgb, var(--gold) 2%, white); border: 1px solid color-mix(in srgb, var(--gold) 32%, white); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.kpi2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold-l), var(--gold)); opacity: .6; }
.k-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-t); color: var(--gold-d); }
.k-ic svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.k-txt { min-width: 0; }
.k-txt small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.k-txt b { display: block; font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.15; white-space: nowrap; }
.k-txt em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.kpi2.pos .k-ic { background: #e3f3e9; color: #1d8a4a; } .kpi2.pos::after { background: linear-gradient(90deg, #8fd0a6, #1d8a4a); }
.kpi2.neg .k-ic { background: #fbe4df; color: var(--bad); } .kpi2.neg::after { background: linear-gradient(90deg, #f0a99f, var(--bad)); }
.kpi2.hero { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 0%, var(--ink)) 70%); border-color: color-mix(in srgb, var(--gold) 22%, var(--ink)); color: #fff; box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 35%, transparent); }
.kpi2.hero .k-ic { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 46%, white), var(--gold)); color: color-mix(in srgb, var(--gold) 0%, var(--ink)); }
.kpi2.hero small, .kpi2.hero em { color: color-mix(in srgb, var(--gold) 53%, white); } .kpi2.hero::after { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 46%, white), var(--gold)); opacity: 1; }
.flow-note { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.flow-note svg { width: 15px; height: 15px; flex: none; stroke: var(--gold-d); fill: none; stroke-width: 2; }
.sec-title { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 4px 0 10px; }
.sec-title svg { width: 20px; height: 20px; stroke: var(--gold-d); fill: none; stroke-width: 1.9; }
.sec-title small { font-family: var(--body); font-size: 12.5px; color: var(--muted); }
.split2 { display: grid; gap: 12px; margin-top: 12px; } @media (min-width: 900px) { .split2 { grid-template-columns: 1fr 1fr; } }
.split2 .card + .card { margin-top: 0; }
/* Insights */
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.gauge { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--gold) 2%, white); border: 1px solid color-mix(in srgb, var(--gold) 32%, white); box-shadow: var(--shadow-1); }
.gauge strong { display: block; font-size: 14px; } .gauge small { display: block; font-size: 12px; color: var(--muted); }
.ring.lg { width: 62px; height: 62px; } .ring.lg::before { inset: 7px; } .ring.lg b { font-size: 14px; }
.gauge.good .ring { --c: #1fa85a; } .gauge.mid .ring { --c: #e2a91d; } .gauge.bad .ring { --c: #c0392b; } .gauge.off .ring { --c: color-mix(in srgb, var(--gold) 45%, white); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stats div { padding: 10px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 9%, white); text-align: center; }
.mini-stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; } .mini-stats b.neg { color: var(--bad); }
.mini-stats span { font-size: 11.5px; color: var(--muted); }
/* Caixa */
.cash-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 12px; }
.cash-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 18%, transparent); }
.cash-card small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; opacity: .9; }
.cash-card b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.cash-card em { display: block; font-style: normal; font-size: 12px; opacity: .85; }
.cc-ic { flex: none; width: 48px; height: 48px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .2); }
.cc-ic svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cash-card.in { background: linear-gradient(135deg, #2bbd63, #0f7a3c); }
.cash-card.out { background: linear-gradient(135deg, #e0564a, #9a2c22); }
.cash-card.bal { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 91%, white), color-mix(in srgb, var(--gold) 53%, var(--ink))); } .cash-card.bal.neg { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 22%, var(--ink)), color-mix(in srgb, var(--gold) 0%, var(--ink))); }
.close-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; margin-bottom: 10px; border: 1px solid; }
.close-strip.ok { background: #effaf3; border-color: #b8e5c8; } .close-strip.open { background: color-mix(in srgb, var(--gold) 8%, white); border-color: #ecd6a6; }
.cs-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.close-strip.ok .cs-ic { background: #1fa85a; } .close-strip.open .cs-ic { background: var(--gold); }
.cs-ic svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.2; }
.cs-txt { flex: 1; min-width: 200px; } .cs-txt b { display: block; } .cs-txt small { color: var(--muted); }
.pending-days { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; margin-bottom: 10px; background: #fdecea; border: 1px solid #f1b8b0; color: #8e2a20; font-size: 14px; }
.pending-days svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
.pd-day { border: 1px solid #e9a69c; background: #fff; color: #8e2a20; border-radius: 999px; padding: 2px 10px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; margin: 2px; }
.pd-day:hover { background: #c0392b; color: #fff; }
.cash-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cash-actions .btn svg, .out-btn svg, .close-strip .btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.btn.out-btn { background: linear-gradient(180deg, #d9574b, #b03a2e); border-color: #b03a2e; box-shadow: 0 2px 6px rgba(176, 58, 46, .3); }
.btn.out-btn:hover { background: linear-gradient(180deg, #c0392b, #8e2a20); }
.h-in, .h-out { display: flex; align-items: center; gap: 8px; } .h-in svg, .h-out svg { width: 18px; height: 18px; fill: none; stroke-width: 2.2; }
.h-in svg { stroke: #1d8a4a; } .h-out svg { stroke: var(--bad); }
.mov-list { list-style: none; margin: 0; padding: 0; }
.mov-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, white); }
.mv-d { font-size: 12px; font-weight: 800; color: var(--gold-d); }
.mv-t b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mv-t small { color: var(--muted); font-size: 12px; }
.mv-v { font-weight: 800; white-space: nowrap; }
.pos { color: #1d8a4a; } .neg { color: var(--bad); }
.clip, .mov-list .linkbtn { display: inline-flex; padding: 4px; color: var(--gold-d); }
.clip svg, .mov-list .linkbtn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.mov-list .linkbtn { color: color-mix(in srgb, var(--gold) 66%, white); } .mov-list .linkbtn:hover { color: var(--bad); }
.ok-pill { background: #e3f3e9; color: #1d8a4a; border-color: #b8e5c8; } .ok-pill svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 3; }
.attach-pick { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 2px dashed color-mix(in srgb, var(--gold) 53%, white); background: color-mix(in srgb, var(--gold) 5%, white); cursor: pointer; transition: background .15s, border-color .15s; }
.attach-pick:hover { background: color-mix(in srgb, var(--gold) 15%, white); } .attach-pick.done { border-style: solid; border-color: #1fa85a; background: #effaf3; } .attach-pick.loading { opacity: .6; }
.attach-pick svg { width: 26px; height: 26px; stroke: var(--gold-d); fill: none; stroke-width: 1.8; flex: none; }
.attach-pick b { display: block; } .attach-pick small { color: var(--muted); font-size: 12px; }
.cash-close .cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.cash-close .cc-grid div { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 9%, white); } .cash-close .cc-grid small { display: block; color: var(--muted); font-size: 12px; } .cash-close .cc-grid b { font-size: 17px; }
.cc-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 0%, var(--ink)); color: #fff; margin-bottom: 6px; }
.cc-sum small { display: block; font-size: 11px; color: color-mix(in srgb, var(--gold) 53%, white); } .cc-sum b { font-size: 15px; white-space: nowrap; }
.cc-sum .in b { color: #8fe0aa; } .cc-sum .out b { color: #f2a196; } .cc-sum .bal b { color: #f3d38b; }
@media (max-width: 480px) { .cc-sum { grid-template-columns: 1fr 1fr; } }
.ok-notice { background: #effaf3; border-color: #b8e5c8; } .ok-notice svg { width: 14px; height: 14px; stroke: #1d8a4a; fill: none; stroke-width: 3; vertical-align: -2px; }
.cash-close .btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; }
/* cartão vermelho em todas as telas */
.cash-alert { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 16px 0; padding: 10px 14px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, #d0453a, #8e2a20); box-shadow: 0 6px 18px rgba(161, 69, 58, .35); animation: pulse-bad 2.4s ease-in-out infinite; }
@media (min-width: 900px) { .cash-alert { max-width: 1100px; margin: 12px auto 0; } }
.cash-alert svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; flex: none; }
.cash-alert span { flex: 1; min-width: 200px; font-size: 14px; }
.cash-alert .btn { background: #fff; color: #8e2a20; border-color: #fff; box-shadow: none; }
/* etapas do atendimento na janela do horário */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0 2px; position: relative; }
.fs { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.fs::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: color-mix(in srgb, var(--gold) 28%, white); z-index: 0; }
.fs:first-child::before { display: none; }
.fs.done::before, .fs.now::before { background: linear-gradient(90deg, var(--gold-l), var(--gold)); }
.fs i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 800; background: color-mix(in srgb, var(--gold) 18%, white); color: color-mix(in srgb, var(--gold) 74%, white); border: 2px solid color-mix(in srgb, var(--gold) 28%, white); }
.fs i svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 3; }
.fs.done i { background: var(--gold); border-color: var(--gold); }
.fs.now i { background: #fff; color: var(--gold-d); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-t); }
.fs small { font-size: 10.5px; font-weight: 700; color: color-mix(in srgb, var(--gold) 74%, white); text-align: center; } .fs.now small, .fs.done small { color: var(--ink); }

/* ===== v22 (16/nov/2026): menu com BETA, Clientes refeita, importação, selo Top, blocos da agenda ===== */
/* selo BETA no menu */
.tab-beta { position: absolute; top: 5px; left: calc(50% + 6px); padding: 1px 5px; border-radius: 999px; font-style: normal; font-size: 8.5px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #e0483a, #a1291e); box-shadow: 0 2px 6px rgba(200, 50, 40, .35), 0 0 0 2px var(--paper); line-height: 1.5; }
@media (min-width: 900px) { .tab-beta { top: 10px; left: calc(50% + 4px); } }

/* selo Top 1/2/3 */
.ctag.rank { border: 1px solid; position: relative; overflow: hidden; }
.ctag.rank svg { fill: currentColor; fill-opacity: .25; }
.ctag.rank.r1 { background: linear-gradient(135deg, #fff2c2, #f0c75a 55%, #c8962b); color: #5a3d06; border-color: #c8962b; box-shadow: 0 2px 8px rgba(201, 150, 44, .45); }
.ctag.rank.r2 { background: linear-gradient(135deg, #ffffff, #d9dde3 55%, #a9b0ba); color: #3d434b; border-color: #a9b0ba; box-shadow: 0 2px 8px rgba(120, 130, 145, .35); }
.ctag.rank.r3 { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 21%, white), #e0a06b 55%, color-mix(in srgb, var(--gold) 92%, var(--ink))); color: #4e2a0c; border-color: color-mix(in srgb, var(--gold) 92%, var(--ink)); box-shadow: 0 2px 8px rgba(176, 107, 53, .38); }
.ctag.rank::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shine 3.2s ease-in-out infinite; }
.ctag.rank.compact { width: auto; padding: 0 5px 0 3px; gap: 1px; }
.ctag.rank.compact b { font-size: 11px; font-weight: 900; line-height: 1; }

/* blocos da agenda: horário em cima, nome, serviço inteiro, selo à direita */
.appt.ab { gap: 1px; }
.appt.ab .ab-time { display: block; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--gold-d); letter-spacing: .01em; white-space: nowrap; line-height: 1.25; }
.appt.ab .ab-time .t-end { display: inline; color: inherit; }
.appt.ab .ab-name { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.appt.ab .ab-svc { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-height: 1.25; color: var(--muted); font-size: 12px; text-overflow: clip; }
.appt.ab.has-badge { padding-right: 34px; }
.appt.ab .ab-badge { position: absolute; top: 5px; right: 5px; display: block; overflow: visible; }
.appt.ab .ab-badge .ctags { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; margin: 0; }
.appt.ab .ab-badge .ctag { display: inline-flex; }
.appt.ab .ab-badge .ctag span { display: inline; color: inherit; overflow: visible; }
.cal:not(.wk) .appt.ab.has-badge { padding-right: 96px; }
.cal:not(.wk) .appt.ab .ab-badge .ctag { height: 22px; font-size: 11.5px; }
.cal.wk .appt.ab { padding: 4px 6px; }
.cal.wk .appt.ab.has-badge { padding-right: 28px; }
.cal.wk .appt.ab .ab-badge { top: 4px; right: 4px; }
.cal.wk .appt.ab .ab-badge .ctag.compact { height: 24px; min-width: 24px; justify-content: center; }
.cal.wk .appt.ab .ab-badge .ctag.compact svg { width: 13px; height: 13px; }
.cal.wk .appt.ab .ab-badge .ctag.rank.compact { padding: 0 6px 0 4px; }
.cal.wk .appt.ab .ab-badge .ctag.rank.compact b { font-size: 12.5px; }
.cal.wk .appt.ab.has-badge { padding-right: 32px; }
.cal.wk .appt.ab .ab-name { font-size: 13px; }
.cal.wk .appt.ab .ab-svc { font-size: 11.5px; }
@media (max-width: 600px) {
  .cal.wk .appt.ab { padding: 3px 3px; }
  .cal.wk .appt.ab.has-badge { padding-right: 3px; padding-top: 22px; }
  .cal.wk .appt.ab .ab-badge { top: 2px; right: 2px; left: 2px; }
  .cal.wk .appt.ab .ab-badge .ctags { flex-direction: row; justify-content: flex-end; }
  .cal.wk .appt.ab .ab-time { font-size: 10px; white-space: normal; }
  .cal.wk .appt.ab .ab-time .t-end { display: block; }
}

/* janela do horário: folhinha com data e horário */
.when-tile { flex: none; display: flex; flex-direction: column; align-items: center; width: 82px; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid color-mix(in srgb, var(--gold) 41%, white); box-shadow: 0 6px 16px color-mix(in srgb, var(--gold-d) 18%, transparent); text-align: center; }
.when-tile i { display: block; width: 100%; padding: 4px 0; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); }
.when-tile b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--ink); padding-top: 2px; }
.when-tile small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--gold-d); margin-top: -2px; }
.when-tile em { display: flex; flex-direction: column; width: 100%; margin-top: 5px; padding: 5px 0; font-style: normal; font-size: 14px; font-weight: 800; color: var(--ink);
  background: var(--gold-t); border-top: 1px dashed color-mix(in srgb, var(--gold) 41%, white); line-height: 1.2; }
.when-tile em span { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.when-tile em span::before { content: "até "; font-weight: 500; }
@media (max-width: 420px) { .appt-hero .avatar.lg { display: none; } .when-tile { width: 74px; } }

/* ----- Clientes ----- */
.cx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.clh-title h2 { font-size: 30px; margin: 0; }
.clh-title p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.cl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cl-actions .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; }
.cl-actions .btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cl-actions .cl-imp { border: 1.5px solid var(--gold-l); background: var(--paper); }
.cl-actions .cl-imp:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, white); }
.cl-actions .cl-add { box-shadow: 0 6px 16px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.cl-actions .cl-add:hover { transform: translateY(-1px); box-shadow: 0 10px 22px color-mix(in srgb, var(--gold-d) 35%, transparent); }

.cl-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.cl-stat { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ic n" "l l" "s s"; align-items: center; column-gap: 8px; text-align: left;
  padding: 12px 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gold) 27%, white); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 14%, white)); color: var(--ink); font: inherit; cursor: default;
  box-shadow: var(--shadow-1); overflow: hidden; }
.cl-stat:disabled { opacity: 1; }
.cl-stat.link { cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.cl-stat.link:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-l); }
.cl-stat.link::after { content: "›"; position: absolute; right: 10px; top: 8px; font-size: 18px; color: var(--gold); }
.cls-ic { grid-area: ic; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 10px; background: var(--gold-t); color: var(--gold-d); }
.cls-ic svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cls-n { grid-area: n; font-family: var(--display); font-size: 28px; line-height: 1; }
.cls-l { grid-area: l; margin-top: 8px; font-weight: 700; font-size: 13.5px; }
.cl-stat small { grid-area: s; color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.cl-stat.s0 { background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 28%, var(--ink))); color: #fff; border-color: color-mix(in srgb, var(--gold) 43%, var(--ink)); }
.cl-stat.s0 .cls-ic { background: rgba(255, 255, 255, .12); color: #f3d38b; }
.cl-stat.s0 small { color: color-mix(in srgb, var(--gold) 45%, white); }
.cl-stat.s1 .cls-ic { background: var(--ok-t); color: var(--ok); }
.cl-stat.s2 .cls-ic { background: linear-gradient(135deg, #f9e7b9, #e9c56f); color: #6b4a10; }
.cl-stat.s4 .cls-ic { background: var(--bad-t); color: var(--bad); }
.cl-stat.s4 .cls-n { color: var(--bad); }
.cl-stat.s5 .cls-ic { background: #e8f3ff; color: #2563a8; }
@media (max-width: 1000px) { .cl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .cls-n { font-size: 24px; } .clh-title h2 { font-size: 26px; } .cl-actions { width: 100%; } .cl-actions .btn { flex: 1; justify-content: center; padding: 0 12px; } }

.cx-search { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; margin-bottom: 12px; border-radius: 999px; background: var(--paper);
  border: 1.5px solid color-mix(in srgb, var(--gold) 32%, white); box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s; }
.cx-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(169, 130, 74, .15), var(--shadow-1); }
.cxs-ic svg, .cs-clear svg, .cs-go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cxs-ic { display: inline-flex; color: var(--gold); }
.cx-search input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; font-size: 16px; padding: 8px 4px; min-height: 0; }
.cx-search input::-webkit-search-cancel-button { display: none; }
.cs-clear { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--gold-t); color: var(--gold-d); cursor: pointer; }
.cs-clear[hidden] { display: none; }
.cs-go { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; }
@media (max-width: 480px) { .cs-go span { display: none; } .cs-go { padding: 0 12px; } }

.cl-filters { padding: 12px 14px; margin-bottom: 10px; border-radius: 18px; background: rgba(255, 253, 250, .75); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); }
.clf-lbl { display: block; margin: 0 0 7px 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.clf-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.clf { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px 0 10px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--gold) 32%, white); background: var(--paper);
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .15s var(--ease); }
.clf svg { width: 16px; height: 16px; flex: none; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.clf:hover { border-color: var(--gold-l); background: color-mix(in srgb, var(--gold) 8%, white); transform: translateY(-1px); }
.clf[aria-pressed=true] { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 0%, var(--ink))); color: #fff; border-color: color-mix(in srgb, var(--gold) 0%, var(--ink)); box-shadow: 0 4px 12px color-mix(in srgb, var(--ink) 22%, transparent); }
.clf[aria-pressed=true] svg { stroke: #f3d38b; }
.clf.gold:not([aria-pressed=true]) { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, white), #f6e2b3); border-color: #e2c27e; }
.clf-sub { margin-top: 12px; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--gold) 32%, white); }
.seg.seg-wrap { flex-wrap: wrap; border-radius: 14px; }
.clf-hint { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.clf-hint svg { width: 16px; height: 16px; flex: none; margin-top: 1px; stroke: var(--gold); fill: none; stroke-width: 2; }
@media (max-width: 600px) { .clf-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 2px; } .clf { flex: none; } }
.cl-count { margin: 4px 2px 10px; font-size: 13px; color: var(--muted); font-weight: 600; }

.cl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 900px) { .cl-grid { grid-template-columns: 1fr 1fr; } }
.ccard { border-radius: 18px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.ccard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-l); }
.cc-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px; color: inherit; text-decoration: none; }
.cc-who { flex: 1; min-width: 0; }
.cc-who b { display: block; font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-who small { color: var(--muted); font-size: 13px; }
.cc-visits { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 8px; border-radius: 12px; background: var(--gold-t); }
.cc-visits b { font-family: var(--display); font-size: 22px; line-height: 1; color: var(--gold-d); }
.cc-visits small { font-size: 10.5px; font-weight: 700; color: var(--gold-d); text-transform: uppercase; letter-spacing: .05em; }
.cc-visits.zero { background: color-mix(in srgb, var(--gold) 13%, white); } .cc-visits.zero b, .cc-visits.zero small { color: var(--muted); }
.cc-foot { display: flex; align-items: center; gap: 8px; padding: 9px 12px 11px 14px; border-top: 1px solid color-mix(in srgb, var(--gold) 19%, white); background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 8%, white)); }
.cc-pills { flex: 1; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; min-width: 0; }
.cc-pill { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: color-mix(in srgb, var(--gold) 16%, white); color: var(--ink); border: 1px solid color-mix(in srgb, var(--gold) 28%, white); white-space: nowrap; }
.cc-pill svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cc-pill.ok { background: var(--ok-t); color: var(--ok); border-color: #bfd8c6; }
.cc-pill.bad { background: var(--bad-t); color: var(--bad); border-color: #e9b8b0; }
.cc-pill.warn { background: color-mix(in srgb, var(--gold) 20%, white); color: #8a5a00; border-color: #efd58f; }
.cc-pill.muted { color: var(--muted); }
.cc-wa { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 3px 10px rgba(37, 211, 102, .35); transition: transform .15s; }
.cc-wa:hover { transform: scale(1.08); }
.cc-wa svg { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.cx-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 16px; border-radius: 18px; background: var(--paper); border: 1px dashed var(--gold-l); text-align: center; color: var(--muted); }
.cx-empty svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.cx-empty b { color: var(--ink); font-size: 16px; }

/* ----- importação em massa ----- */
.imp-steps { display: flex; gap: 6px; margin-bottom: 12px; }
.imp-steps span { flex: 1; display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 10px; background: color-mix(in srgb, var(--gold) 20%, white); color: var(--muted); font-size: 12px; font-weight: 700; }
.imp-steps b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; font-size: 11px; }
.imp-steps span.on { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 91%, white), var(--gold-d)); color: #fff; }
.imp-steps span.on b { color: var(--gold-d); }
.imp-drop { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; border: 2px dashed var(--gold-l); background: color-mix(in srgb, var(--gold) 5%, white); cursor: pointer; transition: all .15s; }
.imp-drop:hover, .imp-drop.over { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 15%, white); }
.imp-drop b { display: block; } .imp-drop small { color: var(--muted); }
.imp-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); color: #fff; flex: none; }
.imp-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.imp-or { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.imp-or::before, .imp-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#imptxt { width: 100%; font: 13px/1.5 ui-monospace, Consolas, monospace; border-radius: 12px; border: 1px solid var(--line); padding: 10px 12px; background: var(--paper); resize: vertical; }
.imp-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 8px; }
.imp-num { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 16%, white); text-align: center; }
.imp-num b { font-family: var(--display); font-size: 24px; line-height: 1.1; }
.imp-num span { font-size: 11px; color: var(--muted); line-height: 1.2; }
.imp-num.ok { background: var(--ok-t); } .imp-num.ok b { color: var(--ok); }
.imp-num.bad { background: var(--bad-t); } .imp-num.bad b { color: var(--bad); }
.imp-prev { padding: 8px 10px; border-radius: 12px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); margin-bottom: 8px; }
.imp-prev small { display: block; font-weight: 700; color: var(--gold-d); margin-bottom: 4px; }
.imp-prev > div { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; border-top: 1px solid color-mix(in srgb, var(--gold) 16%, white); }
.imp-prev .avatar { width: 28px; height: 28px; font-size: 11px; box-shadow: none; }
.imp-prev span { color: var(--muted); } .imp-prev em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: auto; }
.imp-err { font-size: 12.5px; color: var(--bad); margin-bottom: 8px; } .imp-err summary { cursor: pointer; font-weight: 700; }
.imp-btns { margin-top: 10px; }
.imp-btns .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.imp-btns .btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; }
@media (max-width: 480px) { .imp-sum { grid-template-columns: 1fr 1fr; } .imp-steps span { font-size: 11px; } }

.cl-actions .btn { white-space: nowrap; }
@media (max-width: 520px) { .hide-sm { display: none; } }
.appt.ab .abb-mini { display: none; }
@media (max-width: 700px) {
  .cal:not(.wk) .appt.ab .abb-full { display: none; }
  .cal:not(.wk) .appt.ab .abb-mini { display: block; }
  .cal:not(.wk) .appt.ab.has-badge { padding-right: 34px; }
  .cal:not(.wk) .appt.ab .ab-badge .ctag.compact { height: 24px; min-width: 24px; justify-content: center; }
  .cal:not(.wk) .appt.ab .ab-badge .ctag.rank.compact { padding: 0 6px 0 4px; }
}

/* ===== v23 (16/nov/2026): filtros compactos, cartões clicáveis, elementos no horário, alerta de taxa, faturamento e custos fixos ===== */
/* filtros menores e centralizados */
.cl-filters { text-align: center; padding: 10px 12px; }
.cl-filters .clf-lbl { margin: 0 0 6px; text-align: center; font-size: 9.5px; }
.clf-chips { justify-content: center; gap: 5px; }
.clf { min-height: 30px; padding: 0 11px 0 9px; gap: 5px; border-radius: 999px; font-size: 12.5px; }
.clf svg { width: 13px; height: 13px; }
.clf:hover { transform: none; }
.clf-sub { display: flex; flex-direction: column; align-items: center; margin-top: 9px; padding-top: 8px; }
.clf-sub .seg { padding: 2px; }
.clf-sub .seg button { padding: 4px 10px; font-size: 11.5px; }
.clf-hint { justify-content: center; text-align: left; font-size: 12px; margin-top: 8px; }
@media (max-width: 600px) { .clf-chips { justify-content: flex-start; } }
/* cartões do topo clicáveis */
.cl-stat.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(169, 130, 74, .22), var(--shadow-2); }
.cl-stat.s0.on { box-shadow: 0 0 0 3px rgba(243, 211, 139, .5), var(--shadow-2); }
.cl-stat.link::after { content: "›"; }
.cl-showing { display: flex; align-items: center; gap: 8px; margin: -4px 0 10px; padding: 8px 12px; border-radius: 12px; background: var(--gold-t); color: var(--gold-d); font-size: 13px; }
.cl-showing svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
.cl-showing span { flex: 1; }
.cl-showing button { border: 0; background: var(--paper); color: var(--gold-d); font: inherit; font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow-1); }

/* janela do horário: Ficha e Remarcar como elementos */
.aa-els { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.aa-el { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 58px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gold) 36%, white); background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 16%, white));
  color: var(--ink); text-decoration: none; font: inherit; text-align: left; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.aa-el:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-l); }
.aa-el:only-child { grid-column: 1 / -1; }
.ael-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; box-shadow: 0 4px 10px color-mix(in srgb, var(--gold-d) 25%, transparent); }
.el-ficha .ael-ic { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); }
.el-move .ael-ic { background: linear-gradient(135deg, #5b7fc4, #33569a); box-shadow: 0 4px 10px rgba(51, 86, 154, .25); }
.ael-ic svg, .ael-go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ael-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ael-txt b { font-size: 14.5px; font-weight: 700; }
.ael-txt small { font-size: 11.5px; color: var(--muted); }
.ael-go { color: var(--gold); display: inline-flex; transition: transform .15s; }
.aa-el:hover .ael-go { transform: translateX(3px); }
@media (max-width: 420px) { .aa-els { grid-template-columns: 1fr; } }

/* alerta forte: taxa da maquininha em 0% */
.fee-alert { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 16px; border-radius: 18px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #d63a2c, #9f2116 70%); box-shadow: 0 10px 26px rgba(190, 40, 28, .35); border: 1px solid #8e1d14; animation: fee-pulse 2.4s ease-in-out infinite; }
.fee-alert::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 12px, transparent 12px 24px); pointer-events: none; }
.fa-ic { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: #c22d20; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.fa-ic svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fa-txt { position: relative; flex: 1; min-width: 0; }
.fa-txt b { display: block; font-size: 15.5px; letter-spacing: .01em; }
.fa-txt p { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: #ffe3de; }
.fa-txt u { text-decoration-color: #ffd0c8; text-underline-offset: 2px; color: #fff; font-weight: 700; }
.fa-btn { position: relative; flex: none; background: #fff !important; color: #b0281c !important; font-weight: 800; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2) !important; }
.fa-btn:hover { transform: translateY(-1px); }
@keyframes fee-pulse { 0%, 100% { box-shadow: 0 10px 26px rgba(190, 40, 28, .35); } 50% { box-shadow: 0 10px 34px rgba(220, 50, 35, .6); } }
@media (max-width: 640px) { .fee-alert { flex-wrap: wrap; } .fa-btn { width: 100%; } }

/* faturamento e resultado */
.kpi2.big b { font-size: 1.12em; }
.fin-tip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin: -2px 0 14px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 15%, white); border: 1px solid #ecd6a6; font-size: 13.5px; }
.fin-tip svg { width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2; flex: none; }
.fin-tip span { flex: 1; min-width: 200px; }
.fin-split { margin-bottom: 14px; }
.wf { display: grid; gap: 9px; margin-top: 6px; }
.wf-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.wf-l { display: flex; align-items: center; gap: 6px; }
.wf-l i { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-weight: 800; font-size: 12px; background: #f6e1dd; color: var(--bad); }
.wf-bar { height: 12px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 16%, white); overflow: hidden; }
.wf-bar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f0a99f, var(--bad)); }
.wf-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.wf-gross .wf-bar b { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 46%, white), var(--gold)); }
.wf-gross .wf-l { font-weight: 700; }
.wf-res { padding-top: 9px; border-top: 1px dashed var(--line); }
.wf-res .wf-l { font-weight: 800; }
.wf-res .wf-l i { background: #e3f3e9; color: #1d8a4a; }
.wf-res .wf-bar b { background: linear-gradient(90deg, #8fd0a6, #1d8a4a); }
.wf-res .wf-v { color: #1d8a4a; font-size: 15px; }
.wf-res.bad .wf-bar b { background: linear-gradient(90deg, #f0a99f, var(--bad)); } .wf-res.bad .wf-v { color: var(--bad); } .wf-res.bad .wf-l i { background: #f6e1dd; color: var(--bad); }
.neg-bars .bar i { background: linear-gradient(90deg, #f0bdb4, #c0584a); }
.paybars > div > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.neg-bars > div { grid-template-columns: minmax(120px, 190px) 1fr auto; }
.fin-groups { display: grid; gap: 8px; margin-top: 6px; }
.fg-row { display: grid; grid-template-columns: minmax(110px, 170px) 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.fg-bars { display: grid; gap: 3px; }
.fg-bars i { display: block; height: 7px; border-radius: 99px; min-width: 2px; }
.fg-bars i.in, .fg-legend i.in { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 46%, white), var(--gold)); }
.fg-bars i.out, .fg-legend i.out { background: linear-gradient(90deg, #f0bdb4, #c0584a); }
.fg-v { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; font-variant-numeric: tabular-nums; }
.fg-v small.pos { color: #1d8a4a; font-weight: 700; } .fg-v small.neg { color: var(--bad); font-weight: 700; }
.fg-legend { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.fg-legend i { display: inline-block; width: 18px; height: 7px; border-radius: 99px; margin-left: 6px; }
@media (max-width: 560px) { .wf-row { grid-template-columns: 1fr auto; } .wf-bar { grid-column: 1 / -1; grid-row: 2; } .fg-row { grid-template-columns: 1fr auto; } .fg-bars { grid-column: 1 / -1; grid-row: 2; } }

/* custos fixos */
.fx-top { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 12px; margin-bottom: 12px; }
.fx-total { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 28%, var(--ink))); box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 30%, transparent); }
.fx-total small { color: color-mix(in srgb, var(--gold) 53%, white); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.fx-total b { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.1; color: #f3d38b; }
.fx-total span { color: color-mix(in srgb, var(--gold) 30%, white); font-size: 13px; }
.fx-total em { font-style: normal; margin-top: 6px; align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #f3d38b; font-size: 12px; font-weight: 700; }
.fx-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; align-content: start; padding: 12px; border-radius: 20px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); }
.fx-cat { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 8%, white); overflow: hidden; }
.fx-cat b { display: block; font-size: 14px; } .fx-cat small { font-size: 11px; color: var(--muted); }
.fx-cat > i { position: absolute; left: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold-l), var(--gold)); }
.fx-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fx-bar p { flex: 1; min-width: 240px; margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.fx-bar p svg { width: 16px; height: 16px; flex: none; margin-top: 2px; stroke: var(--gold); fill: none; stroke-width: 2; }
.fx-add { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; min-height: 44px; padding: 0 18px; font-weight: 700; box-shadow: 0 6px 16px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.fx-add svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.fx-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 900px) { .fx-list { grid-template-columns: 1fr 1fr; } }
.fx-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); box-shadow: var(--shadow-1); }
.fx-card.off { opacity: .6; }
.fx-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-t); color: var(--gold-d); font-style: normal; }
.fx-ic.sm { width: 28px; height: 28px; border-radius: 9px; }
.fx-ic svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-ic.sm svg { width: 14px; height: 14px; }
.fx-ic.c-folha { background: #e8f3ff; color: #2563a8; } .fx-ic.c-aluguel { background: #f3e8ff; color: #7a3fb0; } .fx-ic.c-contas { background: color-mix(in srgb, var(--gold) 16%, white); color: #9a6a12; }
.fx-ic.c-sistemas { background: #e3f3e9; color: #1d8a4a; } .fx-ic.c-contador { background: color-mix(in srgb, var(--gold) 20%, white); color: var(--gold-d); } .fx-ic.c-marketing { background: #fde6ee; color: #b2335f; }
.fx-ic.c-parcelas { background: #f6e1dd; color: var(--bad); } .fx-ic.c-manutencao { background: #e6f4f4; color: #23807e; }
.fx-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fx-who b { font-size: 15px; } .fx-who small { color: var(--muted); font-size: 12.5px; }
.fx-who em { font-style: normal; font-size: 11.5px; color: var(--gold-d); margin-top: 2px; } .fx-who .fx-note { color: var(--muted); }
.fx-val { display: flex; flex-direction: column; align-items: flex-end; }
.fx-val b { font-family: var(--display); font-weight: 400; font-size: 20px; } .fx-val small { font-size: 11px; color: var(--muted); }
.fx-acts { display: flex; gap: 4px; }
.fx-acts .iconbtn { width: 34px; height: 34px; }
.fx-ended { margin-bottom: 16px; } .fx-ended summary { cursor: pointer; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.fx-catpick { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.fxc input { position: absolute; opacity: 0; pointer-events: none; }
.fxc span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 32%, white); background: var(--paper); font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.fxc input:checked + span { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 15%, white); box-shadow: 0 0 0 2px rgba(169, 130, 74, .25); }
.fxc input:focus-visible + span { outline: 2px solid var(--gold); }
.fx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
@media (max-width: 700px) { .fx-top { grid-template-columns: 1fr; } .fx-card { flex-wrap: wrap; } .fx-val { margin-left: auto; } }

.fin-kpis .kpi2 b { font-size: clamp(16px, 1.5vw, 21px); white-space: nowrap; }
.fin-kpis .kpi2 .k-txt { min-width: 0; }

/* ===== v24 (16/nov/2026): selo nas setas, faixa de ocupação compacta, formulário de custo fixo ===== */
input[type=month], .field input:not([type]) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; font-size: 16px; }
/* setas da data com selo */
.navtag-btn { position: relative; overflow: visible; }
.nav-tag { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); padding: 1px 6px; border-radius: 999px; font-style: normal; font-size: 9px; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; color: var(--gold-d); background: #fff; border: 1px solid var(--gold-l); box-shadow: 0 2px 6px color-mix(in srgb, var(--gold-d) 18%, transparent); line-height: 1.5; pointer-events: none; }
.nav-tag.rel { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); border-color: var(--gold-d); }
.tb-date { padding-bottom: 6px; }
/* faixa de ocupação mais baixa */
.tb-occ { padding: 4px 10px !important; gap: 2px 10px !important; min-height: 0; }
.tb-occ .ring.sm { width: 34px; height: 34px; }
.tb-occ .ring.sm b { font-size: 10.5px; }
.tb-occ-txt strong { font-size: 12.5px !important; display: flex !important; align-items: center; gap: 6px; flex-wrap: wrap; }
.tb-occ-txt small { font-size: 11px !important; }
.tb-occ .occflag { font-size: 8.5px; padding: 1px 6px; gap: 3px; }
.tb-occ .occflag svg { width: 10px; height: 10px; }
.tb-occ .occbar { height: 5px !important; }

/* formulário de custo fixo */
.fx-form .field > span:first-child { font-weight: 700; }
.fx-sec { margin: 4px 0 14px; padding: 12px; border-radius: 16px; background: rgba(255, 253, 250, .7); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); text-align: center; }
.fx-sec-t { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); }
.fx-sec-t svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.fx-form .fx-catpick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.fx-form .fx-catpick.pay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-form .fxc { position: relative; display: block; min-width: 0; }
.fx-form .fxc span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 100%; min-height: 70px; padding: 8px 6px;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--gold) 32%, white); background: var(--paper); text-align: center; transition: all .15s var(--ease); }
.fx-form .fxc span b { font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.fx-form .fxc .fx-ic.sm { width: 30px; height: 30px; }
.fx-form .fxc .fx-ic.pay { background: var(--gold-t); color: var(--gold-d); }
.fx-form .fxc:hover span { border-color: var(--gold-l); transform: translateY(-1px); }
.fx-form .fxc input:checked + span { border-color: var(--gold); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 8%, white), #f6e6c8); box-shadow: 0 0 0 2px rgba(169, 130, 74, .3), 0 4px 10px color-mix(in srgb, var(--gold-d) 15%, transparent); }
.fx-form .fxc input:checked + span::after { content: "✓"; position: absolute; top: 5px; right: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 10px; font-weight: 900; line-height: 16px; }
.fx-seg { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 20%, white); }
.fx-seg label { position: relative; }
.fx-seg input, .wdc input { position: absolute; opacity: 0; pointer-events: none; }
.fx-seg span { display: block; padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .15s; }
.fx-seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }
.fx-money { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; margin-bottom: 4px; }
.fx-cur { display: flex; align-items: center; border: 1.5px solid color-mix(in srgb, var(--gold) 37%, white); border-radius: 12px; background: var(--paper); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.fx-cur:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-t); }
.fx-cur i { flex: none; padding: 0 10px 0 12px; font-style: normal; font-weight: 800; color: var(--gold-d); font-size: 14px; align-self: stretch; display: flex; align-items: center; background: color-mix(in srgb, var(--gold) 15%, white); border-right: 1px solid color-mix(in srgb, var(--gold) 31%, white); }
.fx-cur input { border: 0 !important; box-shadow: none !important; background: transparent !important; min-height: 46px; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fx-cur.sm input { font-size: 17px; }
.fx-eqv { display: block; min-height: 16px; margin-top: 3px; font-size: 12px; color: var(--gold-d); font-weight: 700; }
.fx-due small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.fx-due-week { display: flex; gap: 4px; justify-content: space-between; }
.wdc { position: relative; flex: 1; }
.wdc span { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--gold) 37%, white); background: var(--paper); font-weight: 800; font-size: 13px; cursor: pointer; transition: all .15s; }
.wdc input:checked + span { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); color: #fff; border-color: var(--gold-d); }
.fx-save { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; font-size: 16px; margin-top: 4px; }
.fx-save svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.fx-val .fx-eq { color: var(--gold-d); font-weight: 700; }
@media (max-width: 480px) { .fx-form .fxc span b { font-size: 10.5px; } .fx-money { grid-template-columns: 1fr; } }
.field .fx-cur { display: flex; flex-direction: row; margin: 0; }
.field .fx-cur i { display: flex; }
.fx-due > span:first-child { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }

/* histórico de comissões do One Beleza */
.hist-com .hc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.hist-com h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.hist-com h3 svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; }
.hc-sum { display: flex; gap: 8px; flex-wrap: wrap; }
.hc-sum > span { display: flex; flex-direction: column; padding: 6px 12px; border-radius: 12px; background: var(--gold-t); }
.hc-sum small { font-size: 10.5px; font-weight: 700; color: var(--gold-d); text-transform: uppercase; letter-spacing: .05em; }
.hc-sum b { font-size: 15px; font-variant-numeric: tabular-nums; }
.hc-pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin-bottom: 12px; }
.hc-pro { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 16%, white)); border: 1px solid color-mix(in srgb, var(--gold) 31%, white); }
.hc-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hc-who b { font-size: 15px; } .hc-who small { font-size: 11.5px; color: var(--muted); }
.hc-who .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.hc-k { display: flex; flex-direction: column; align-items: flex-end; }
.hc-k small { font-size: 10.5px; color: var(--muted); } .hc-k b { font-variant-numeric: tabular-nums; } .hc-k .hc-c { color: var(--gold-d); }

/* ===== v26 (16/nov/2026): painel das profissionais (comissão por serviço, vales, pagamentos) ===== */
.pro-top { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.pt-total { display: flex; flex-direction: column; padding: 16px 18px; border-radius: 20px; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 28%, var(--ink))); box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 30%, transparent); }
.pt-total small { color: color-mix(in srgb, var(--gold) 53%, white); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pt-total b { font-family: var(--display); font-weight: 400; font-size: 34px; color: #f3d38b; line-height: 1.15; }
.pt-total span { color: color-mix(in srgb, var(--gold) 30%, white); font-size: 13px; }
.pro-top p { display: flex; gap: 8px; margin: 0; } .pro-top p svg { width: 16px; height: 16px; flex: none; margin-top: 2px; stroke: var(--gold); fill: none; stroke-width: 2; }
.pro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.pro-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 14%, white)); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); box-shadow: var(--shadow-1); transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.pro-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--pc, var(--gold)); }
.pro-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--gold-l); }
.pro-card.off { opacity: .55; }
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-who { display: flex; flex-direction: column; min-width: 0; } .pc-who b { font-size: 17px; } .pc-who small { color: var(--muted); font-size: 12.5px; }
.pc-total { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 2%, var(--ink)); color: #fff; }
.pc-total small { color: color-mix(in srgb, var(--gold) 53%, white); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pc-total b { font-family: var(--display); font-weight: 400; font-size: 26px; color: #f3d38b; }
.pc-lines { display: grid; gap: 6px; font-size: 13px; }
.pc-lines > span { display: flex; align-items: center; gap: 8px; }
.pc-lines i { display: inline-flex; width: 24px; height: 24px; border-radius: 8px; align-items: center; justify-content: center; background: var(--gold-t); color: var(--gold-d); }
.pc-lines .pos i { background: #e3f3e9; color: #1d8a4a; } .pc-lines .neg i { background: #fbe4df; color: var(--bad); }
.pc-lines svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.pc-lines b { margin-left: auto; font-variant-numeric: tabular-nums; } .pc-lines em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--gold) 32%, white); }
.pc-foot small { color: var(--muted); font-size: 11.5px; }
.pay-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--gold-t); color: var(--gold-d); }
.pay-badge svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.pay-badge.soon { background: color-mix(in srgb, var(--gold) 20%, white); color: #8a5a00; } .pay-badge.today { background: linear-gradient(135deg, #d63a2c, #9f2116); color: #fff; }
.pp-back { margin-bottom: 10px; display: inline-flex; align-items: center; gap: 6px; } .pp-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.pp-hero { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; margin-bottom: 14px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 5%, white), color-mix(in srgb, var(--gold) 23%, white)); border: 1px solid color-mix(in srgb, var(--gold) 38%, white); box-shadow: var(--shadow-1); }
.pp-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--pc, var(--gold)); }
.pp-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pp-who h3 { margin: 0; font-size: 24px; } .pp-who > span { color: var(--muted); font-size: 13px; }
.pp-total { display: flex; flex-direction: column; align-items: flex-end; padding: 12px 18px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 2%, var(--ink)); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 30%, transparent); }
.pp-total small { color: color-mix(in srgb, var(--gold) 53%, white); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pp-total b { font-family: var(--display); font-weight: 400; font-size: 32px; color: #f3d38b; line-height: 1.15; }
.pp-total span { color: color-mix(in srgb, var(--gold) 54%, white); font-size: 11.5px; }
@media (max-width: 640px) { .pp-hero { flex-wrap: wrap; } .pp-total { width: 100%; align-items: flex-start; } .pro-top { grid-template-columns: 1fr; } }
.pp-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.pp-act { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gold) 27%, white); background: var(--paper); font: inherit; cursor: pointer; text-align: center; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.pp-act:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.pp-act > span { display: inline-flex; width: 38px; height: 38px; border-radius: 12px; align-items: center; justify-content: center; color: #fff; }
.pp-act svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pp-act b { font-size: 13.5px; } .pp-act small { font-size: 11px; color: var(--muted); }
.a-vale > span { background: linear-gradient(135deg, #e0584a, #a1291e); } .a-desc > span { background: linear-gradient(135deg, #e48a5a, #b2552a); }
.a-bonus > span { background: linear-gradient(135deg, #3fb36c, #1d7a45); } .a-prod > span { background: linear-gradient(135deg, #5b7fc4, #33569a); }
.a-pay { background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 0%, var(--ink))); border-color: color-mix(in srgb, var(--gold) 0%, var(--ink)); color: #fff; } .a-pay small { color: color-mix(in srgb, var(--gold) 53%, white); }
.a-pay > span { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 46%, white), var(--gold)); color: color-mix(in srgb, var(--gold) 0%, var(--ink)); }
@media (max-width: 760px) { .pp-actions { grid-template-columns: repeat(2, 1fr); } .a-pay { grid-column: 1 / -1; } }
.led-list, .pay-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.led-list li, .pay-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 8%, white); border: 1px solid color-mix(in srgb, var(--gold) 21%, white); }
.ll-ic { display: inline-flex; width: 30px; height: 30px; border-radius: 10px; align-items: center; justify-content: center; flex: none; }
.led-list .neg .ll-ic { background: #fbe4df; color: var(--bad); } .led-list .pos .ll-ic { background: #e3f3e9; color: #1d8a4a; }
.ll-ic svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.ll-txt, .pl-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .ll-txt small, .pl-txt small { color: var(--muted); font-size: 11.5px; }
.pl-txt em { font-style: normal; font-size: 12px; color: var(--gold-d); }
.ll-v { font-weight: 800; font-variant-numeric: tabular-nums; } .led-list .neg .ll-v { color: var(--bad); } .led-list .pos .ll-v { color: #1d8a4a; }
.pl-date { display: flex; flex-direction: column; align-items: center; width: 42px; padding: 3px 0; border-radius: 10px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 38%, white); }
.pl-date b { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.1; } .pl-date small { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--gold-d); }
.pp-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pp-sec-head h3, .card h3 { display: flex; align-items: center; gap: 8px; } .card h3 > svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; }
.com-quick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; font-size: 13px; color: var(--muted); }
.com-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 6px; }
.com-row { display: grid; grid-template-columns: 1fr auto 86px 80px; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 8%, white); border: 1px solid color-mix(in srgb, var(--gold) 21%, white); font-size: 13px; }
.cr-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cr-name i { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--gold-d); margin-right: 6px; }
.cr-price { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.cr-pct { display: flex; align-items: center; border: 1.5px solid color-mix(in srgb, var(--gold) 37%, white); border-radius: 10px; background: var(--paper); overflow: hidden; }
.cr-pct input { border: 0 !important; box-shadow: none !important; min-height: 34px !important; padding: 4px 6px !important; text-align: right; font-weight: 800; font-size: 15px; background: transparent !important; }
.cr-pct em { font-style: normal; padding: 0 8px 0 2px; font-weight: 800; color: var(--gold-d); }
.cr-pct-ro { text-align: right; } .cr-val { text-align: right; font-weight: 700; color: #1d8a4a; font-variant-numeric: tabular-nums; }
.proset { display: grid; gap: 12px; justify-items: start; }
.proset-row { display: grid; grid-template-columns: repeat(2, minmax(200px, 280px)); gap: 10px; width: 100%; }
@media (max-width: 560px) { .proset-row { grid-template-columns: 1fr; } .com-row { grid-template-columns: 1fr 86px 70px; } .cr-price { display: none; } }
.pay-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.pay-sum > div { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 16%, white); text-align: center; }
.pay-sum small { font-size: 11px; color: var(--muted); } .pay-sum b { font-variant-numeric: tabular-nums; }
.pay-sum .pos b { color: #1d8a4a; } .pay-sum .neg b { color: var(--bad); } .pay-sum .tot { background: color-mix(in srgb, var(--gold) 2%, var(--ink)); color: #fff; } .pay-sum .tot small { color: color-mix(in srgb, var(--gold) 53%, white); } .pay-sum .tot b { color: #f3d38b; font-size: 16px; }
@media (max-width: 480px) { .pay-sum { grid-template-columns: 1fr 1fr; } }
.led-kinds { margin-bottom: 6px; } .led-hint { margin: 0 0 10px; text-align: center; }
.my-panel-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 5%, white), color-mix(in srgb, var(--gold) 23%, white)); border-color: color-mix(in srgb, var(--gold) 38%, white); }
.mpl-ic { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); color: #fff; flex: none; }
.mpl-ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.my-panel-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .my-panel-link small { color: var(--muted); font-size: 12.5px; }

/* ===== v27: competência, comissão por categoria, botão do aviso de caixa ===== */
.ca-btns { display: flex; gap: 6px; flex-wrap: wrap; flex: none; }
.ca-go { display: inline-flex; align-items: center; gap: 6px; background: #fff !important; color: #a1291e !important; font-weight: 800; box-shadow: 0 3px 10px rgba(0,0,0,.18) !important; }
.ca-go svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.ca-now { color: #fff !important; border: 1px solid rgba(255,255,255,.6) !important; background: transparent !important; }
.ps-hint { display: block; margin-top: 3px; font-size: 11.5px; }
.com-card .com-quick { margin-bottom: 12px; }
.com-cfg { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 12.5px; color: var(--gold-d); text-decoration: none; }
.com-cfg svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.com-cat { margin-bottom: 10px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--gold) 31%, white); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 2%, white), color-mix(in srgb, var(--gold) 11%, white)); overflow: hidden; }
.com-cat > summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.com-cat > summary::-webkit-details-marker { display: none; }
.cc-ic { display: inline-flex; width: 38px; height: 38px; border-radius: 12px; align-items: center; justify-content: center; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); color: #fff; flex: none; }
.cc-ic svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; }
.cc-t { flex: 1; display: flex; flex-direction: column; } .cc-t b { font-size: 16px; } .cc-t small { color: var(--muted); font-size: 12px; }
.cc-avg { padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 2%, var(--ink)); color: #f3d38b; font-weight: 800; font-size: 13px; }
.cc-chev { display: inline-flex; color: var(--gold); transition: transform .2s; } .cc-chev svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.com-cat[open] .cc-chev { transform: rotate(180deg); }
.com-quick.cat { padding: 0 14px; margin: 0 0 8px; }
.com-sub { margin: 0 12px 12px; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 21%, white); }
.cs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px dashed color-mix(in srgb, var(--gold) 32%, white); }
.cs-head b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-d); } .cs-head span { font-size: 12px; color: var(--muted); }
.com-line { display: grid; grid-template-columns: 1fr auto 92px 84px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, white); font-size: 14px; }
.com-line:last-child { border-bottom: 0; }
.cl-name { font-weight: 600; line-height: 1.3; } .cl-name i { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--gold-d); background: var(--gold-t); padding: 1px 6px; border-radius: 6px; margin-left: 4px; white-space: nowrap; }
.cl-price { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .com-line { grid-template-columns: 1fr 84px 70px; } .cl-price { display: none; } }

.hist-row td { background: color-mix(in srgb, var(--gold) 12%, white); }

/* ===== v29: Marketing (Meta Ads) ===== */
.mkt-head h2 span { color: var(--muted); font-size: .7em; }
.mkt-acc { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); font-size: 13px; }
.mkt-acc svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; }
.mkt-refresh { display: inline-flex; align-items: center; gap: 6px; } .mkt-refresh svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.mkt-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px; color: var(--muted); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--gold-t); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mkt-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
@media (max-width: 1000px) { .mkt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mkt-kpis > :first-child { grid-column: 1 / -1; } }
.mkt-mini { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.mkt-mini > div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); }
.mkt-mini small { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; } .mkt-mini b { font-size: 17px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .mkt-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mkt-ch-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.mkt-leg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.mkt-leg i { display: inline-block; width: 14px; height: 8px; border-radius: 3px; margin-left: 6px; } .mkt-leg .b { background: var(--gold-l); } .mkt-leg .l { background: #1d8a4a; height: 3px; }
.mkt-chart { width: 100%; height: 210px; display: block; }
.mkt-chart .gl { stroke: color-mix(in srgb, var(--gold) 20%, white); stroke-width: 1; } .mkt-chart .bar { fill: url(#none); fill: color-mix(in srgb, var(--gold) 46%, white); } .mkt-chart .bar:hover { fill: var(--gold); }
.mkt-chart .ln { fill: none; stroke: #1d8a4a; stroke-width: 2.5; stroke-linejoin: round; } .mkt-chart .pt { fill: #fff; stroke: #1d8a4a; stroke-width: 2; }
.mkt-chart .tx { font-size: 10px; fill: var(--muted); text-anchor: middle; }
.hour-grid { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 4px; align-items: end; height: 150px; margin: 8px 0 6px; }
.hb { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.hb span { display: block; width: 100%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 46%, white), var(--gold-l)); transition: background .15s; }
.hb small { font-size: 10px; color: var(--muted); margin-top: 4px; }
.hb:hover span { background: var(--gold); } .hb.best span { background: linear-gradient(180deg, #3fb36c, #1d7a45); } .hb.best small { color: #1d7a45; font-weight: 800; }
.mkt-tbl th[data-sort] { cursor: pointer; } .mkt-tbl th.sorted { color: var(--gold-d); }
.mkt-connect { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.mc-hero { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 22px; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 28%, var(--ink))); box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 30%, transparent); }
.mc-hero h3 { margin: 0 0 4px; color: #f3d38b; font-size: 21px; } .mc-hero p { margin: 0; color: color-mix(in srgb, var(--gold) 30%, white); font-size: 14px; }
.mc-ic { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; align-items: center; justify-content: center; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 46%, white), var(--gold)); color: color-mix(in srgb, var(--gold) 0%, var(--ink)); flex: none; }
.mc-ic svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; }
.mc-form h3 svg, .mc-help svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; }
.mc-help summary { cursor: pointer; } .mc-help ol { margin: 10px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.6; }
.acc-list { display: grid; gap: 6px; } .acc-pick { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--gold) 32%, white); background: var(--paper); font: inherit; cursor: pointer; text-align: left; }
.acc-pick:hover, .acc-pick.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, white); } .acc-pick small { color: var(--muted); font-size: 12px; }

/* ===== v30: Marketing em seções + cadastros ===== */
.mkt-tabs { margin-bottom: 14px; }
.tab-count { margin-left: 6px; padding: 0 7px; border-radius: 999px; background: #c22d20; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.conn-dot { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 45%, white); margin-left: 6px; } .conn-dot.on { background: #1d8a4a; box-shadow: 0 0 0 3px #d9f2e1; } .conn-dot.half { background: #e2a91d; }
.mkt-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 34px 20px; border-radius: 22px; background: var(--paper); border: 1px dashed var(--gold-l); }
.mkt-empty h3 { margin: 6px 0 0; } .mkt-empty p { max-width: 560px; color: var(--muted); margin: 0 0 8px; }
.mkt-empty .btn, .lp-cta .btn, .conn-card .btn { display: inline-flex; align-items: center; gap: 6px; } .mkt-empty .btn svg, .lp-cta .btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
/* Google com as mesmas cores da marca do salão que o cartão da Meta */
.conn-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; border-radius: 18px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); box-shadow: var(--shadow-1); margin-bottom: 12px; }
.conn-card.ok { border-color: #9fd8b2; background: linear-gradient(135deg, #f4fcf6, color-mix(in srgb, var(--gold) 2%, white)); } .conn-card.half { border-color: #efd58f; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 8%, white), color-mix(in srgb, var(--gold) 2%, white)); }
.cn-ic { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; color: #fff; flex: none; } .cn-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
/* cartão da conta conectada: logo da plataforma sobre fundo branco */
.cn-ic.meta, .cn-ic.google { background: #fff; border: 1px solid var(--line); }
.cn-ic svg.brandlogo { width: 26px; height: 26px; }
.cn-txt { flex: 1; min-width: 200px; display: flex; flex-direction: column; } .cn-txt b { font-size: 16px; } .cn-txt span, .cn-txt small { color: var(--muted); font-size: 13px; }
.cn-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.lp-wrap { display: grid; gap: 12px; }
.lp-cta { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 20px; border-radius: 22px; color: #fff; background: linear-gradient(140deg, color-mix(in srgb, var(--gold) 10%, var(--ink)), color-mix(in srgb, var(--gold) 28%, var(--ink))); box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 30%, transparent); }
.lp-cta h3 { margin: 0 0 4px; color: #f3d38b; } .lp-cta p { margin: 0; color: color-mix(in srgb, var(--gold) 30%, white); font-size: 14px; } .lp-cta b { color: #fff; }
.lp-cta-btns { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.lp-cta .btn.ghost { color: #f3d38b; border: 1px solid rgba(243,211,139,.5); } .lp-wa { display: inline-flex; }
.lp-folds { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.lp-folds li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 8%, white); border: 1px solid color-mix(in srgb, var(--gold) 21%, white); }
.lf-n { display: inline-flex; width: 28px; height: 28px; border-radius: 9px; align-items: center; justify-content: center; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 84%, white), var(--gold-d)); color: #fff; font-weight: 800; flex: none; }
.lp-folds b { display: block; } .lp-folds small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.lp-list { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.brief-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; } .brief-top h3 { margin: 0; }
.brief-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.brief-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gold) 27%, white); background: var(--paper); font: inherit; text-align: left; cursor: pointer; box-shadow: var(--shadow-1); }
.brief-row:hover { border-color: var(--gold-l); transform: translateY(-1px); }
.br-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .br-txt small { color: var(--muted); font-size: 12.5px; }
.br-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .br-meta small { color: var(--muted); font-size: 11.5px; }
.bv-sec { margin-bottom: 14px; padding: 12px; border-radius: 14px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 27%, white); }
.bv-sec h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); }
.bv-row { display: grid; grid-template-columns: 170px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, white); font-size: 13.5px; } .bv-row:last-child { border-bottom: 0; }
.bv-row > span { color: var(--muted); font-weight: 600; } @media (max-width: 520px) { .bv-row { grid-template-columns: 1fr; gap: 2px; } }
.brief-sub { display: grid; gap: 3px; } .brief-sub i { font-style: normal; color: var(--muted); margin-right: 6px; }
.brief-tbl td { padding: 4px 6px; font-size: 12.5px; }
.bv-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.bv-file { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11px; }
.bv-file img, .bv-file > span { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--gold) 27%, white); background: color-mix(in srgb, var(--gold) 16%, white); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--gold-d); }

.bv-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--gold-t); color: var(--gold-d); font-weight: 700; text-decoration: none; }
.bv-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Saldo da conta de anúncio + recarga por Pix (18/nov/2026) */
.saldo-card { padding: 18px; border-radius: 18px; margin-bottom: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 9%, white), var(--paper)); border: 1px solid color-mix(in srgb, var(--gold) 30%, white); box-shadow: var(--shadow-1); }
.saldo-card.off { background: var(--paper); }
.sd-top { display: flex; align-items: center; gap: 12px; }
.sd-top > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.sd-top small { color: var(--muted, #6b6560); font-size: 12.5px; }
.sd-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--gold) 16%, white); color: var(--gold-d, var(--gold)); }
.sd-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.sd-val { font-size: clamp(24px, 5vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--ink, #131111); white-space: nowrap; }
.sd-pago { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #e6f4ea; border: 1px solid #b7dfc3; color: #14532d; animation: sdPago .4s ease-out; }
.sd-pago b { display: block; font-size: 15px; }
.sd-pago small { display: block; color: #2f6b45; margin-top: 2px; }
.sd-pago-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #1e7a45; display: grid; place-items: center; }
.sd-pago-ic svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.6; }
@keyframes sdPago { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sd-ok { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; color: #1e7a45; font-weight: 600; font-size: 14px; }
.sd-ok svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.sd-form { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: end; margin-top: 14px; padding-top: 14px; border-top: 1px dashed color-mix(in srgb, var(--gold) 30%, white); }
.sd-form .field { margin: 0; }
.sd-form .btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; }
.sd-form .btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.sd-form small { grid-column: 1 / -1; font-size: 12.5px; }
.sd-wait { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.sd-wait > div { flex: 1; min-width: 200px; display: grid; gap: 2px; } .sd-wait small { color: var(--muted, #6b6560); font-size: 12.5px; }
.sd-pix { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.sd-pix img { width: 180px; height: 180px; flex: none; border-radius: 10px; background: #fff; image-rendering: pixelated; }
.sd-pix-txt { flex: 1; min-width: 220px; display: grid; gap: 8px; align-content: start; }
.sd-pix-txt small { color: var(--muted, #6b6560); font-size: 12.5px; }
.sd-pix textarea { width: 100%; font: 12px/1.4 ui-monospace, monospace; word-break: break-all; resize: none; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #faf8f5; }
.sd-pix .row { display: flex; gap: 8px; flex-wrap: wrap; }
.sd-pix .btn { display: inline-flex; align-items: center; gap: 6px; } .sd-pix .btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }
@media (max-width: 520px) { .sd-form { grid-template-columns: 1fr; } .sd-pix img { width: 100%; height: auto; max-width: 240px; margin: 0 auto; } }

/* botão de implantação com o especialista (2 primeiros dias) */
.tabbar a.tab-esp { color: var(--gold-d); background: var(--gold-t); border-radius: 14px; position: relative; }
.tabbar a.tab-esp:hover { background: color-mix(in srgb, var(--gold) 22%, white); }
.tab-beta.esp { background: var(--gold); color: #fff; font-size: 9px; }

/* aviso da Lota IA: criativos prontos (cores da marca do salão) */
.lota-aviso { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin: 10px 16px 0; padding: 14px 16px; border-radius: 16px; background: var(--gold-t); border: 1px solid color-mix(in srgb, var(--gold) 35%, white); color: var(--ink); }
.lota-aviso > svg { width: 24px; height: 24px; stroke: var(--gold-d); fill: none; stroke-width: 2; flex: none; margin-top: 2px; }
.lota-aviso > div { flex: 1; min-width: 220px; font-size: 14px; }
.lota-aviso > div > b:first-child { display: block; font-size: 15px; margin-bottom: 2px; }
.lota-aviso .btn { white-space: nowrap; }
.lota-aviso .btn svg { width: 16px; height: 16px; }
.lota-aviso ol { margin: 6px 0 0; padding-left: 20px; }
.lota-aviso .la-btns { display: flex; gap: 8px; flex-wrap: wrap; align-self: center; }

/* Marketing: botão Conectar centralizado e logos da Meta e do Google */
.mc-form .btn, .mkt-connect .btn, .mkt-empty .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
svg.brandlogo { stroke: none; fill: none; }
.adm-tab svg.brandlogo, .adm-tab.on svg.brandlogo { stroke: none; width: 20px; height: 20px; }
.mc-ic.logo { background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 8%, transparent); }
.mc-ic.logo svg.brandlogo { width: 32px; height: 32px; }
.btn svg.brandlogo { width: 20px; height: 20px; background: #fff; border-radius: 6px; padding: 2px; }
.cn-ic svg.brandlogo, .mkt-acc svg.brandlogo, h3 svg.brandlogo { stroke: none; }

/* aviso de risco ao trocar o token ou desconectar (bolinha vermelha) */
.dot-risco { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #d93025; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(217,48,37,.15); }
.btn.risco { display: inline-flex; align-items: center; }
.risco-aviso { flex-basis: 100%; margin: 8px 0 0; font-size: 12.5px; color: #b3261e; }
/* saldo esgotando (abaixo de R$ 100) */
.saldo-card.baixo { border-color: #f1b0aa; box-shadow: 0 0 0 3px rgba(217,48,37,.08); }
.saldo-card.baixo .sd-val { color: #b3261e; }
.sd-alerta { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: #fdecea; border: 1px solid #f1b0aa; color: #8c1d18; }
.sd-alerta b { display: block; font-size: 14px; } .sd-alerta small { font-size: 12.5px; }
.sd-dot { flex: none; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: #d93025; animation: sdpulse 1.4s infinite; }
@keyframes sdpulse { 0% { box-shadow: 0 0 0 0 rgba(217,48,37,.5); } 70% { box-shadow: 0 0 0 8px rgba(217,48,37,0); } 100% { box-shadow: 0 0 0 0 rgba(217,48,37,0); } }
.sd-val .sd-sub { display: block; font-size: 11px; font-weight: 500; color: var(--muted); text-align: right; }
/* Dúvidas no menu: logo pequena do WhatsApp na cor dele */
.tabbar a.tab-duvidas svg.wa { width: 19px; height: 19px; fill: #25d366; stroke: none; }

/* ===== Funis (18/nov/2026): seletor de funil, card da cliente, editor de etapas ===== */
.fn-top { position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.fn-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fn-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.fn-actions .btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* seletor "Escolher funil" */
.fn-pick { position: relative; z-index: 6; flex: 1 1 380px; max-width: 540px; }
.fn-pick-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; cursor: pointer; text-align: left;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, white); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 10%, white));
  box-shadow: 0 6px 22px color-mix(in srgb, var(--gold) 22%, transparent); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s; }
.fn-pick-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px color-mix(in srgb, var(--gold) 30%, transparent); border-color: var(--gold); }
.fn-pick-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), var(--gold-d)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 12px color-mix(in srgb, var(--gold-d) 35%, transparent); }
.fn-pick-ic svg, .fn-opt-ic svg, .fne-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fn-pick-txt { flex: 1; min-width: 0; display: grid; }
.fn-pick-txt small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); }
.fn-pick-txt b { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fn-pick-n { flex: none; display: grid; justify-items: center; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--ink); padding: 0 6px; }
.fn-pick-n small { font-family: var(--body); font-size: 10px; color: var(--muted); margin-top: 3px; }
.fn-pick-chev { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, white); transition: transform .3s var(--ease), background .2s; }
.fn-pick-chev svg { width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2.2; }
.fn-pick.open .fn-pick-chev { transform: rotate(180deg); background: var(--gold); }
.fn-pick.open .fn-pick-chev svg { stroke: #fff; }
.fn-menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 8px; border-radius: 18px; background: #fff;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, white); box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 22%, transparent);
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top center; pointer-events: none; transition: opacity .2s var(--ease), transform .25s var(--ease); }
.fn-pick.open .fn-menu { opacity: 1; transform: none; pointer-events: auto; }
.fn-opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 13px; background: transparent; cursor: pointer; text-align: left;
  opacity: 0; transform: translateX(-8px); transition: background .15s, transform .25s var(--ease) calc(var(--i) * 40ms), opacity .25s var(--ease) calc(var(--i) * 40ms); }
.fn-pick.open .fn-opt { opacity: 1; transform: none; }
.fn-opt:hover { background: color-mix(in srgb, var(--gold) 13%, white); }
.fn-opt:hover .fn-opt-ic { transform: rotate(-6deg) scale(1.06); }
.fn-opt.on { background: color-mix(in srgb, var(--gold) 18%, white); }
.fn-opt-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 18%, white); transition: transform .2s var(--ease); }
.fn-opt.on .fn-opt-ic { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), var(--gold-d)); }
.fn-opt-txt { flex: 1; min-width: 0; display: grid; }
.fn-opt-txt b { font-weight: 700; font-size: 15px; color: var(--ink); }
.fn-opt-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fn-opt-n { flex: none; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--gold-d); background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); }
.fn-opt-ok svg { width: 18px; height: 18px; stroke: var(--gold-d); fill: none; stroke-width: 2.6; }
.fn-opt-new { border-top: 1px dashed color-mix(in srgb, var(--gold) 40%, white); border-radius: 0 0 13px 13px; margin-top: 4px; padding-top: 12px; }
.fn-opt-new .fn-opt-ic { background: transparent; border: 1.5px dashed var(--gold); }

/* quadro */
.fn-board .stage { min-width: 0; animation: fnIn .35s var(--ease) both; animation-delay: calc(var(--i) * 50ms); display: flex; flex-direction: column; }
@keyframes fnIn { from { opacity: 0; transform: translateY(8px); } }
.fn-board .stage h3 { align-items: center; margin-bottom: 12px; }
.st-name { display: inline-flex; align-items: center; gap: 8px; }
.st-name i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--gold); }
.st-name i svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.4; }
.stage.won .st-name i { background: var(--ok); } .stage.lost .st-name i { background: var(--bad); }
.st-n { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: #fff; font-size: 12px; }
.st-empty { margin: 8px 4px; font-size: 12.5px; color: var(--muted); text-align: center; padding: 18px 8px; border: 1.5px dashed color-mix(in srgb, var(--gold) 35%, white); border-radius: 12px; }

/* card da cliente (referência: cartões da agenda) */
.dcard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; text-align: left; margin-bottom: 9px; padding: 11px 12px; cursor: pointer; overflow: hidden;
  background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 22%, white); border-radius: 14px;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 7%, transparent); transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s; }
.dcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.dcard.master { background-image: linear-gradient(135deg, rgba(243, 211, 139, .28), transparent 55%); }
.dcard.top1, .dcard.top2, .dcard.top3 { border-color: color-mix(in srgb, var(--gold) 60%, white); }
.dcard.top1::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-100%); animation: dcShine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes dcShine { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.dc-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dc-head .avatar { width: 36px; height: 36px; font-size: 13px; }
.dc-who { min-width: 0; display: grid; }
.dc-who b { font-weight: 700; font-size: 14.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-who .ctags { margin-top: 3px; }
.dc-next { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 2px; padding: 7px 9px; border-radius: 10px; border-left: 4px solid var(--gold); background: var(--gold-t); }
.dc-next.ok { border-left-color: var(--ok); background: var(--ok-t); }
.dc-when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; font-size: 12.5px; color: var(--gold-d); }
.dc-next.ok .dc-when { color: var(--ok); }
.dc-when svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
.dc-when b { font-weight: 800; }
.dc-when i { font-style: normal; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #fff; }
.dc-when em { margin-left: auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.dc-when em svg { width: 11px; height: 11px; stroke-width: 3; }
.dc-next small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-none { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); padding: 6px 9px; border-radius: 10px; background: color-mix(in srgb, var(--gold) 7%, white); }
.dc-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.dc-foot .late { color: var(--bad); font-weight: 700; }

/* escolha de etapa em pílulas */
.stp { display: flex; flex-wrap: wrap; gap: 6px; }
.stp-o { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 5px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); transition: all .18s var(--ease); }
.stp-o:not(:has(i)) { padding-left: 12px; }
.stp-o i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 16%, white); transition: all .18s; }
.stp-o i svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.stp-o:hover { border-color: var(--gold); transform: translateY(-1px); }
.stp-o[aria-checked=true] { color: #fff; border-color: transparent; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), var(--gold-d)); box-shadow: 0 4px 12px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.stp-o[aria-checked=true] i { background: rgba(255,255,255,.25); color: #fff; }
.stp-o.won[aria-checked=true] { background: linear-gradient(135deg, #4caf7d, var(--ok)); }
.stp-o.lost[aria-checked=true] { background: linear-gradient(135deg, #e07a6e, var(--bad)); }
.field > .stp { margin-top: 6px; }

/* abas Já é cliente / Cliente nova */
.seg2 { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 6px 0 14px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 14%, white); }
.seg2 button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--muted); transition: color .2s; }
.seg2 button svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.seg2 button.on { color: var(--ink); }
.seg2-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 11px; background: #fff; box-shadow: 0 2px 8px color-mix(in srgb, var(--ink) 12%, transparent); transition: transform .28s var(--ease); }
.seg2.right .seg2-ink { transform: translateX(100%); }
.orig { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.orig button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); background: #fff; cursor: pointer; font-size: 13px; transition: all .15s; }
.orig button:hover { border-color: var(--gold); }
.orig button[aria-checked=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.fn-none { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; flex-wrap: wrap; }

/* editor de funil */
.sheet-fned { max-width: 620px; }
.fne-title { display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 18px; border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 16%, white), #fff 70%); border: 1px solid color-mix(in srgb, var(--gold) 35%, white); }
.fne-ic { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), var(--gold-d)); box-shadow: 0 6px 16px color-mix(in srgb, var(--gold-d) 35%, transparent); }
.fne-ic svg { width: 26px; height: 26px; }
.fne-title label { flex: 1; display: grid; gap: 2px; min-width: 0; }
.fne-title small { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); }
.fne-title input { font-family: var(--display); font-size: 26px; line-height: 1.2; padding: 2px 0 4px; border: 0; border-radius: 0; background-color: transparent; box-shadow: none;
  background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 2px; background-repeat: no-repeat; background-position: left bottom; transition: background-size .3s var(--ease); }
.fne-title input:focus { outline: none; background-size: 100% 2px; box-shadow: none; }
.fne-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.fne-h { font-weight: 800; font-size: 14px; color: var(--ink); }
.fne-h small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
.fne-std { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--gold-d);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, white); background: #fff; transition: all .2s var(--ease); }
.fne-std svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .5s var(--ease); }
.fne-std:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.fne-std:hover svg { transform: rotate(180deg) scale(1.15); }
.fne-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 8px; }
.fne-steps::before { content: ""; position: absolute; left: 39px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--gold), color-mix(in srgb, var(--gold) 30%, white)); }
.fne-step { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 4px; border-radius: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 25%, white);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; animation: fnIn .3s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.fne-step:hover { border-color: var(--gold); box-shadow: 0 6px 18px color-mix(in srgb, var(--gold) 20%, transparent); }
.fne-step.drag { opacity: .45; }
.fne-step.over { border-color: var(--gold-d); box-shadow: 0 -3px 0 var(--gold) inset; }
.fne-step.flash { animation: fneFlash .8s var(--ease); }
@keyframes fneFlash { 0% { background: color-mix(in srgb, var(--gold) 35%, white); } 100% { background: #fff; } }
.fne-grip { cursor: grab; color: color-mix(in srgb, var(--gold) 70%, white); font-size: 12px; letter-spacing: -2px; width: 14px; text-align: center; user-select: none; }
.fne-num { position: relative; z-index: 1; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), var(--gold-d)); box-shadow: 0 0 0 4px #fff; }
.fne-step input { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; font-size: 15px; font-weight: 600; padding: 8px 6px; border-radius: 8px; }
.fne-step input:focus { outline: none; background: color-mix(in srgb, var(--gold) 9%, white); box-shadow: none; }
.fne-auto, .fne-new, .fne-n { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.fne-auto { color: var(--gold-d); background: color-mix(in srgb, var(--gold) 16%, white); }
.fne-auto svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.fne-new { color: #2563a8; background: #e8f3ff; }
.fne-n { color: var(--ink); background: color-mix(in srgb, var(--gold) 12%, white); }
.fne-tools { display: flex; gap: 2px; opacity: .35; transition: opacity .2s; }
.fne-step:hover .fne-tools, .fne-step:focus-within .fne-tools { opacity: 1; }
.fne-tools button { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--muted); font-size: 10px; display: grid; place-items: center; transition: background .15s, color .15s; }
.fne-tools button:hover:not(:disabled) { background: color-mix(in srgb, var(--gold) 15%, white); color: var(--ink); }
.fne-tools button:disabled { opacity: .3; cursor: default; }
.fne-tools .fne-del:hover { background: var(--bad-t); color: var(--bad); }
.fne-tools svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.fne-add { width: 100%; margin-top: 8px; height: 44px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 14px; cursor: pointer; font-weight: 700; color: var(--gold-d);
  border: 1.5px dashed var(--gold); background: transparent; transition: all .2s var(--ease); }
.fne-add svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; transition: transform .3s var(--ease); }
.fne-add:hover { background: color-mix(in srgb, var(--gold) 10%, white); }
.fne-add:hover svg { transform: rotate(90deg); }
.fne-move { margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--bad-t); display: grid; gap: 8px; font-size: 13.5px; }
.fne-move > span { display: flex; align-items: center; gap: 6px; }
.fne-move > span svg { width: 16px; height: 16px; stroke: var(--bad); fill: none; stroke-width: 2; }
.fne-end { margin-top: 20px; padding-top: 16px; border-top: 1px dashed color-mix(in srgb, var(--gold) 40%, white); }
.fne-ends { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.fne-endc { position: relative; display: grid; gap: 2px; padding: 12px 12px 10px 56px; border-radius: 16px; cursor: text; transition: transform .2s var(--ease), box-shadow .2s; }
.fne-endc:hover { transform: translateY(-2px); }
.fne-endc.won { background: linear-gradient(135deg, var(--ok-t), #fff); border: 1px solid color-mix(in srgb, var(--ok) 35%, white); }
.fne-endc.lost { background: linear-gradient(135deg, var(--bad-t), #fff); border: 1px solid color-mix(in srgb, var(--bad) 30%, white); }
.fne-endi { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.fne-endc.won .fne-endi { background: var(--ok); }
.fne-endc.lost .fne-endi { background: var(--bad); }
.fne-endi svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.fne-endc small { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fne-endc input { border: 0; background: transparent; box-shadow: none; padding: 0; font-weight: 700; font-size: 15px; }
.fne-endc input:focus { outline: none; box-shadow: none; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.fne-endc em { font-style: normal; font-size: 11px; color: var(--muted); }
.fne-warn { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.fne-warn svg { flex: none; width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2; margin-top: 1px; }
.fne-save { position: sticky; bottom: -1px; margin: 16px -4px 0; padding: 12px 4px 4px; background: linear-gradient(transparent, var(--paper) 35%); }
.fne-save .btn { display: flex; align-items: center; justify-content: center; gap: 6px; }
.fne-save .btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; }
.fne-more { display: flex; justify-content: center; margin-top: 8px; }
.imp-funnel { margin-top: 12px; padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 12%, white); }
.imp-funnel .field { margin-bottom: 8px; }
.imp-fn-sum { margin: 10px 0 0; font-size: 14px; }
@media (max-width: 640px) {
  .fn-pick { flex-basis: 100%; max-width: none; }
  .fn-pick-txt b { font-size: 19px; }
  .fn-actions { width: 100%; }
  .fn-actions .btn { flex: 1 1 auto; justify-content: center; white-space: nowrap; padding: 0 10px; font-size: 13px; gap: 5px; }
  .fn-actions .btn svg { width: 14px; height: 14px; }
  .fne-ends { grid-template-columns: 1fr; }
  .fne-tools { opacity: 1; gap: 0; }
  .fne-tools button { width: 24px; }
  .fne-auto { font-size: 0; padding: 0 5px; gap: 0; }
  .fne-auto svg { width: 12px; height: 12px; }
  .fne-step input { font-size: 14px; padding: 8px 2px; }
  .fne-grip { display: none; }
  .fne-steps::before { left: 21px; }
  .fne-step { padding-left: 8px; }
}
.st-cards { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.dc-head { min-width: 0; } .dc-head .avatar { flex: none; }

/* ===== Funis: quadro na largura toda, barra de etapas, setas e celular (18/nov/2026) ===== */
main.wide { max-width: none; padding-left: 24px; padding-right: 24px; }
main.wide .fn-top { max-width: none; }
.fn-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; padding: 4px 2px 6px; scroll-snap-type: x proximity; }
.fn-strip::-webkit-scrollbar { display: none; }
.fs-o { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 6px 0 5px; border-radius: 999px; cursor: pointer; white-space: nowrap; scroll-snap-align: start;
  font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 28%, white); transition: all .2s var(--ease); }
.fs-o i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 16%, white); transition: all .2s; }
.fs-o i svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.fs-o b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: 11.5px; background: color-mix(in srgb, var(--gold) 12%, white); color: var(--ink); }
.fs-o:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-1px); }
.fs-o.vis { color: var(--ink); border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, white); }
.fs-o.vis i { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), var(--gold-d)); }
.fs-o.won.vis i { background: var(--ok); } .fs-o.lost.vis i { background: var(--bad); }

.fn-wrap { position: relative; }
.fn-wrap::before, .fn-wrap::after { content: ""; position: absolute; top: 0; bottom: 12px; width: 48px; z-index: 3; pointer-events: none; transition: opacity .25s; }
.fn-wrap::before { left: 0; background: linear-gradient(90deg, var(--ivory), transparent); }
.fn-wrap::after { right: 0; background: linear-gradient(-90deg, var(--ivory), transparent); }
.fn-wrap.at-start::before, .fn-wrap.at-end::after { opacity: 0; }
.fn-nav { position: absolute; top: 120px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, white); background: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 18%, transparent);
  transition: opacity .25s, transform .2s var(--ease), background .2s; }
.fn-nav svg { width: 20px; height: 20px; stroke: var(--gold-d); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fn-nav:hover { background: var(--gold); transform: scale(1.08); } .fn-nav:hover svg { stroke: #fff; }
.fn-nav.prev { left: -6px; } .fn-nav.next { right: -6px; }
.fn-wrap.at-start .fn-nav.prev, .fn-wrap.at-end .fn-nav.next { opacity: 0; pointer-events: none; }
.fn-board { scroll-behavior: smooth; scroll-snap-type: x proximity; }
@media (min-width: 900px) {
  /* colunas se ajustam à tela: cabem todas quando há espaço; senão, rola com as setas */
  .fn-board { grid-auto-columns: minmax(190px, 1fr); gap: 10px; }
  .fn-board .stage { container-type: inline-size; }
  @container (max-width: 230px) { .dc-head .avatar { width: 30px; height: 30px; font-size: 11px; } .dcard { padding: 10px; } .dc-who b { font-size: 13.5px; } .dc-next { padding: 6px 7px; } }
}
@media (max-width: 899px) {
  main.wide { padding-left: 12px; padding-right: 12px; }
  .fn-nav { display: none; }
  .fn-wrap::before, .fn-wrap::after { display: none; }
  /* celular: uma etapa por tela, desliza para o lado e a barra de etapas acompanha */
  .fn-board { grid-auto-columns: calc(100% - 28px); gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .fn-board::-webkit-scrollbar { display: none; }
  .fn-board .stage { scroll-snap-align: start; min-height: 55vh; }
  .fn-strip { position: sticky; top: 0; z-index: 8; margin: 0 -12px 10px; padding: 8px 12px; background: color-mix(in srgb, var(--ivory) 92%, transparent); backdrop-filter: blur(8px); }
  .fs-o { height: 34px; font-size: 12.5px; }
  .fn-top { margin-bottom: 10px; gap: 10px; }
  .fn-pick-btn { padding: 8px 10px 8px 8px; gap: 10px; border-radius: 16px; }
  .fn-pick-ic { width: 40px; height: 40px; border-radius: 12px; }
  .fn-pick-n { font-size: 19px; }
  .dcard { padding: 12px; }
  .dc-who b { font-size: 15px; }
  .fn-menu { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); max-height: 70vh; overflow: auto; transform: translateY(16px); }
  .fn-pick.open .fn-menu { transform: none; }
  .fn-pick.open::after { content: ""; position: fixed; inset: 0; background: color-mix(in srgb, var(--ink) 30%, transparent); z-index: -1; }
}

/* ===== Funil: título da etapa em destaque, colunas menores e dicas de navegação (18/nov/2026) ===== */
.fn-board .stage h3 { margin: -2px -2px 12px; padding: 10px 12px; border-radius: 12px; color: #fff; font-size: 15px; letter-spacing: .01em;
  background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 6px 16px color-mix(in srgb, var(--gold-d) 28%, transparent); }
.fn-board .stage h3 .st-name i { background: #fff; color: var(--gold-d); }
.fn-board .stage h3 .st-name i svg { stroke: var(--gold-d); }
.fn-board .stage h3 .st-n { background: rgba(255,255,255,.22); color: #fff; font-weight: 800; border: 1px solid rgba(255,255,255,.35); }
.fn-board .stage.won h3 { background: linear-gradient(135deg, #3f9a62, var(--ok)); }
.fn-board .stage.lost h3 { background: linear-gradient(135deg, #c0574b, var(--bad)); }
.fn-board .stage.won h3 .st-name i svg { stroke: var(--ok); } .fn-board .stage.lost h3 .st-name i svg { stroke: var(--bad); }
/* próxima etapa no rodapé da coluna */
.st-next { margin-top: auto; align-self: flex-end; border: 0; background: none; color: var(--gold-d); font: 600 12.5px var(--body); padding: 10px 4px 2px; cursor: pointer; }
.st-next b { font-weight: 800; }
.st-next:hover { text-decoration: underline; }
/* role para baixo */
.st-more { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.st-more i { font-style: normal; font-size: 22px; line-height: .6; color: var(--gold-d); animation: fnDown 1.3s ease-in-out infinite; }
@keyframes fnDown { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }
/* arraste para o lado */
.fn-hint { display: none; position: absolute; z-index: 6; left: 50%; bottom: 18px; transform: translateX(-50%); align-items: center; gap: 8px; padding: 9px 14px;
  border-radius: 999px; background: var(--ink); color: #fff; font: 600 12.5px var(--body); white-space: nowrap; box-shadow: 0 10px 26px rgba(0,0,0,.25); cursor: pointer; animation: fnHintIn .5s var(--ease) .6s both; }
.fn-wrap.show-hint .fn-hint { display: inline-flex; }
.fh-hand { display: inline-block; animation: fnSwipe 1.4s ease-in-out infinite; }
.fh-arrows { display: inline-flex; } .fh-arrows i { font-style: normal; font-size: 16px; margin-left: -2px; animation: fnArrow 1.2s infinite; opacity: .25; }
.fh-arrows i:nth-child(2) { animation-delay: .15s; } .fh-arrows i:nth-child(3) { animation-delay: .3s; }
@keyframes fnSwipe { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(7px); } }
@keyframes fnArrow { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes fnHintIn { from { opacity: 0; transform: translate(-50%, 10px); } }
/* trocar de funil */
.fn-pick { position: relative; }
.fn-pick-tip { display: none; position: relative; margin: 8px 0 0 14px; width: max-content; max-width: calc(100% - 28px); z-index: 2; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 11.5px var(--body); white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.fn-pick-tip::before { content: ""; position: absolute; top: -5px; left: 18px; border: 5px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.fn-pick.tip:not(.open) .fn-pick-tip { display: block; animation: fnTipIn .4s var(--ease) both, fnBob 2s ease-in-out 1s infinite; }
@keyframes fnTipIn { from { opacity: 0; transform: translateY(6px); } }
.fn-pick.tip:not(.open) .fn-pick-chev { animation: fnPulse 1.6s infinite; border-radius: 50%; }
@keyframes fnBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 3px; } }
@keyframes fnPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 55%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 899px) {
  /* coluna menor: a próxima etapa aparece na beirada, convidando a deslizar */
  .fn-board { grid-auto-columns: 78%; }
  .fn-board .stage { min-height: 46vh; padding: 8px; }
  .fn-board .stage h3 { font-size: 14px; padding: 9px 10px; }
  .fn-wrap::after { display: block; width: 26px; bottom: 8px; background: linear-gradient(-90deg, color-mix(in srgb, var(--ivory) 85%, transparent), transparent); }
}
@media (min-width: 900px) { .fn-hint { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .fh-hand, .fh-arrows i, .st-more i, .fn-pick-tip, .fn-pick-chev { animation: none !important; } }
/* menu de baixo no celular com 8 ou 9 itens: textos menores para caber todos (o selo "Implantação" vira só o destaque do botão) */
@media (max-width: 899px) {
  .tabbar a { min-width: 0; }
  .tabbar a span { font-size: 10.5px; letter-spacing: -.02em; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .tabbar a.tab-esp em.tab-beta { display: none; }
}

/* ===== Marketing › Vendas (18/nov/2026) ===== */
.adm-tab.hot { position: relative; font-weight: 800; }
.adm-tab.hot:not(.on) { color: var(--gold-d); background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 18%, white), #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 45%, white); }
.adm-tab.hot.on { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), var(--gold-d)); box-shadow: 0 6px 18px color-mix(in srgb, var(--gold-d) 35%, transparent); }
.adm-tab.hot.on svg { stroke: #fff; }
.adm-tab.hot::after { content: ""; position: absolute; top: 8px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 60%, transparent); animation: vdPulse 2s infinite; }
.adm-tab.hot.on::after { background: #fff; }
@keyframes vdPulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.vd-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; animation: fnIn .35s var(--ease) both; }
.vd-money { position: relative; overflow: hidden; display: grid; gap: 6px; align-content: center; padding: 22px 24px; border-radius: 22px; color: #fff;
  background: radial-gradient(500px 220px at 100% 0%, color-mix(in srgb, var(--gold) 55%, transparent), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, var(--ink)), var(--ink));
  box-shadow: 0 14px 36px color-mix(in srgb, var(--ink) 30%, transparent); }
.vd-money::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%); transform: translateX(-100%); animation: dcShine 6s ease-in-out infinite; pointer-events: none; }
.vd-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--gold) 70%, white); }
.vd-tag svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.vd-big { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.vd-sub { font-size: 14px; color: rgba(255,255,255,.82); }
.vd-note { font-size: 12px; color: rgba(255,255,255,.6); }
.vd-mini { display: grid; gap: 10px; }
.vd-mini > div { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "s b" "e b"; align-items: center; gap: 0 12px; padding: 12px 16px; border-radius: 16px; background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--gold) 25%, white); transition: transform .18s var(--ease), box-shadow .18s; }
.vd-mini > div:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.vd-mini small { grid-area: s; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.vd-mini b { grid-area: b; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--ink); }
.vd-mini em { grid-area: e; font-style: normal; font-size: 12px; color: var(--muted); }

.vd-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.vd-grid .card, .vd-chart-card { margin: 0; animation: fnIn .4s var(--ease) both; }
.vd-grid h3, .vd-chart-card h3, .vd-svc-card h3 { display: flex; align-items: center; gap: 8px; }
.card h3 svg { width: 18px; height: 18px; stroke: var(--gold-d); fill: none; stroke-width: 2; flex: none; }
.vd-rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 10px; }
.vd-ring { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 10px 4px; border-radius: 16px; transition: background .2s; }
.vd-ring:hover { background: color-mix(in srgb, var(--gold) 8%, white); }
.vd-ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.vd-ring circle { fill: none; stroke-width: 9; }
.vd-ring .bg { stroke: color-mix(in srgb, var(--gold) 14%, white); }
.vd-ring .fg { stroke-linecap: round; stroke-dasharray: var(--c); stroke-dashoffset: var(--c); animation: vdRing 1.1s var(--ease) .15s forwards; }
@keyframes vdRing { to { stroke-dashoffset: var(--o); } }
.vd-ring.ok .fg { stroke: var(--ok); } .vd-ring.bad .fg { stroke: var(--bad); } .vd-ring.cx .fg { stroke: var(--gold); }
.vd-ring-t { display: grid; margin-top: -72px; height: 52px; align-content: center; pointer-events: none; }
.vd-ring-t b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
.vd-ring { position: relative; }
.vd-ring-t em { position: absolute; left: 0; right: 0; bottom: 8px; font-style: normal; font-size: 11.5px; color: var(--muted); }
.vd-ring-t small { display: block; position: absolute; left: 0; right: 0; bottom: 26px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.vd-ring { padding-bottom: 50px; }
.vd-foot { display: flex; gap: 6px; align-items: flex-start; margin: 4px 0 0; }
.vd-foot svg { flex: none; width: 14px; height: 14px; stroke: var(--gold-d); fill: none; stroke-width: 2; margin-top: 2px; }

.vd-resp-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin: 6px 0 10px; }
.vd-clock { display: grid; justify-items: center; gap: 2px; padding: 16px 18px; border-radius: 18px; text-align: center; min-width: 140px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 16%, white), #fff); border: 1px solid color-mix(in srgb, var(--gold) 35%, white); }
.vd-clock.ok { background: linear-gradient(135deg, var(--ok-t), #fff); border-color: color-mix(in srgb, var(--ok) 35%, white); }
.vd-clock.bad { background: linear-gradient(135deg, var(--bad-t), #fff); border-color: color-mix(in srgb, var(--bad) 30%, white); }
.vd-clock span svg { width: 26px; height: 26px; stroke: var(--gold-d); fill: none; stroke-width: 2; animation: vdTick 4s linear infinite; }
.vd-clock.ok span svg { stroke: var(--ok); } .vd-clock.bad span svg { stroke: var(--bad); }
@keyframes vdTick { to { transform: rotate(360deg); } }
.vd-clock b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.vd-clock small { font-size: 11.5px; color: var(--muted); }
.vd-resp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vd-resp-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--gold) 7%, white); font-size: 13.5px; }
.vd-resp-list li span { color: var(--muted); }
.vd-resp-list li.warn { background: var(--bad-t); } .vd-resp-list li.warn b { color: var(--bad); }
.vd-empty { display: grid; justify-items: center; gap: 8px; padding: 24px 10px; text-align: center; color: var(--muted); }
.vd-empty span svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.8; }

.vd-chart-card { margin-bottom: 12px; }
.vd-ch-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vd-ch-head h3 { margin: 0; }
.seg2.vd-by { grid-template-columns: repeat(3, 1fr); margin: 0; min-width: 240px; }
.seg2.vd-by button { height: 32px; font-size: 13px; }
.seg2.vd-by .seg2-ink { width: calc((100% - 8px) / 3); transform: translateX(calc(var(--k) * 100%)); }
.vd-chart .b-ok { fill: var(--ok); opacity: .85; } .vd-chart .b-bad { fill: var(--bad); opacity: .85; } .vd-chart .b-cx { fill: var(--gold); opacity: .7; }
.vd-chart .vd-col { transform-origin: bottom; transform-box: fill-box; animation: vdGrow .5s var(--ease) both; animation-delay: calc(var(--i) * 18ms); }
.vd-chart .vd-col:hover rect { opacity: 1; }
@keyframes vdGrow { from { transform: scaleY(0); } }
.vd-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.vd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.vd-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.vd-legend i.b-ok { background: var(--ok); } .vd-legend i.b-bad { background: var(--bad); } .vd-legend i.b-cx { background: var(--gold); }
.vd-legend i.ln { height: 3px; border-radius: 2px; background: var(--ink); }

.vd-svc { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.vd-svc li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; animation: fnIn .35s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.vd-svc-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 16%, white); }
.vd-svc li:first-child .vd-svc-n { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), var(--gold-d)); }
.vd-svc-t { display: grid; gap: 4px; min-width: 0; }
.vd-svc-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-svc-t i { display: block; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 14%, white); position: relative; overflow: hidden; }
.vd-svc-t i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 70%, white), var(--gold-d)); animation: vdBar .8s var(--ease) both; animation-delay: calc(var(--i) * 60ms + .2s); }
@keyframes vdBar { from { width: 0; } }
.vd-svc-v { display: grid; justify-items: end; }
.vd-svc-v b { font-size: 15px; } .vd-svc-v small { font-size: 11.5px; color: var(--muted); }

@media (max-width: 899px) {
  .vd-hero, .vd-grid { grid-template-columns: 1fr; }
  .vd-money { padding: 18px; border-radius: 18px; }
  .vd-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .vd-mini > div { grid-template-columns: 1fr; grid-template-areas: "s" "b" "e"; padding: 10px; }
  .vd-mini b { font-size: 24px; }
  .vd-mini em { font-size: 11px; }
}
@media (max-width: 520px) {
  .vd-mini { grid-template-columns: 1fr; }
  .vd-mini > div { grid-template-columns: 1fr auto; grid-template-areas: "s b" "e b"; }
  .vd-rings { gap: 4px; }
  .vd-ring svg { width: 78px; height: 78px; }
  .vd-ring-t { margin-top: -62px; height: 46px; }
  .vd-ring-t b { font-size: 19px; }
  .vd-resp-main { grid-template-columns: 1fr; }
  .seg2.vd-by { min-width: 0; width: 100%; }
}
/* Funil (pedido 18/nov): sem a faixa de etapas em pílulas e com o "Escolher funil" em destaque */
.fn-strip { display: none !important; }
.fn-pick-btn { border: 2px solid var(--gold) !important; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, white), #fff 60%) !important;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--gold) 26%, transparent), inset 0 1px 0 #fff !important; }
.fn-pick-txt small { justify-self: start; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 10.5px; margin-bottom: 4px; }
.fn-pick-chev { width: 38px; height: 38px; background: var(--gold); box-shadow: 0 4px 12px color-mix(in srgb, var(--gold-d) 35%, transparent); }
.fn-pick-chev svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.6; }
.fn-pick.open .fn-pick-chev { background: var(--gold-d); }
.vd-chart .ln { stroke: var(--ink); stroke-width: 2; fill: none; } .vd-chart .pt { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
@media (max-width: 520px) { .vd-ring-t small { font-size: 11px; line-height: 1.1; bottom: 24px; } .vd-ring-t em { font-size: 10.5px; } .vd-ring { padding-bottom: 54px; } }

/* ===== Funis: selos (novas / já é cliente / sumidas), atalhos para clientes antigas e ícones das etapas ===== */
.fn-selo { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font: 800 10px var(--body); letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; white-space: nowrap; }
.fn-pick-txt .fn-selo { justify-self: start; margin: 4px 0 0; }
.fn-selo.novas { background: #e3f0ff; color: #1d5fb8; }
.fn-selo.antigas { background: color-mix(in srgb, var(--gold) 22%, white); color: var(--gold-d); border: 1px solid color-mix(in srgb, var(--gold) 45%, white); }
.fn-selo.sumidas { background: #fdecea; color: #a1453a; }
.fn-opt.destaque { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold) 55%, white); background: color-mix(in srgb, var(--gold) 9%, white); }
.fn-atalhos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fn-atalho { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, white); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.fn-atalho:hover { transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--gold) 20%, transparent); border-style: solid; }
.fn-atalho.antigas { border-color: var(--gold); background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, white), #fff); }
.fa-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold); }
.fn-atalho.sumidas .fa-ic { background: #c0574b; } .fn-atalho.novas .fa-ic { background: #3d7fd6; }
.fa-ic svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fa-txt { flex: 1; min-width: 0; display: grid; } .fa-txt b { font-size: 14px; } .fa-txt small { font-size: 12px; color: var(--muted); }
.fa-seta { font-size: 24px; color: var(--gold-d); line-height: 1; animation: faSeta 1.3s ease-in-out infinite; }
@keyframes faSeta { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.fn-board .stage h3 .st-name i.ic svg { width: 13px; height: 13px; stroke: var(--gold-d); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fn-board .stage.won h3 .st-name i.ic svg { stroke: var(--ok); } .fn-board .stage.lost h3 .st-name i.ic svg { stroke: var(--bad); }
@media (prefers-reduced-motion: reduce) { .fa-seta { animation: none; } }

/* ===== Marketing: alertas de anúncio parado/pausado (18/nov/2026) ===== */
.mkt-alerts { display: grid; gap: 8px; margin: 0 0 14px; transition: opacity .2s; }
.mkt-alerts.loading { opacity: .5; }
.mkt-alerts:empty { display: none; }
.ma-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px; }
.ma-head b { font-size: 14px; }
.ma-head.red b { color: #b42318; }
.ma-head.am b { color: #8a5a00; }
.ma-siren { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #e0483a; flex: none; }
.ma-head.am .ma-siren { background: #e9a23b; }
.ma-siren::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid currentColor; color: #e0483a; animation: maPing 1.4s ease-out infinite; }
.ma-head.am .ma-siren::after { color: #e9a23b; }
@keyframes maPing { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ma-fresh { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--muted); }
.ma-fresh svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.ma-fresh:hover { color: var(--ink); border-color: var(--gold); }
.ma-item { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 16px; overflow: hidden; animation: fnIn .3s var(--ease) both; }
.ma-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.ma-item.vermelho { background: linear-gradient(90deg, #fdecea, #fff 70%); border: 1px solid #f3b8b1; box-shadow: 0 6px 18px rgba(224, 72, 58, .14); }
.ma-item.vermelho::before { background: #e0483a; }
.ma-item.amarelo { background: linear-gradient(90deg, #fff6e5, #fff 70%); border: 1px solid #f1d39a; }
.ma-item.amarelo::before { background: #e9a23b; }
.ma-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ma-item.vermelho .ma-dot { background: #e0483a; box-shadow: 0 0 0 0 rgba(224, 72, 58, .6); animation: maPulse 1.6s infinite; }
.ma-item.amarelo .ma-dot { background: #e9a23b; }
@keyframes maPulse { 70% { box-shadow: 0 0 0 9px rgba(224, 72, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 72, 58, 0); } }
.ma-canal { display: grid; justify-items: center; gap: 2px; min-width: 58px; }
.ma-canal svg { width: 22px; height: 22px; }
.ma-canal small { font-size: 10.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.ma-txt { display: grid; gap: 3px; min-width: 0; }
.ma-txt b { font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ma-txt b em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #e0483a; padding: 2px 8px; border-radius: 999px; }
.ma-txt b em.am { background: #e9a23b; }
.ma-txt > span { font-size: 13px; color: #6b3b36; }
.ma-item.amarelo .ma-txt > span { color: #6b5320; }
.ma-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.ma-list i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid #f1d39a; color: #6b5320; }
.ma-when { font-size: 11px; color: var(--muted); }
.ma-btn { white-space: nowrap; }
.ma-item.vermelho .ma-btn { background: #e0483a; border-color: #e0483a; color: #fff; }
.ma-item.vermelho .ma-btn:hover { background: #b42318; }
.ma-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; vertical-align: -2px; }
.conn-dot.alert { background: #e0483a !important; box-shadow: 0 0 0 0 rgba(224, 72, 58, .6); animation: maPulse 1.6s infinite; }
@media (max-width: 640px) {
  .ma-item { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "c t" "b b"; gap: 8px 10px; padding: 12px 12px 12px 16px; }
  .ma-dot { display: none; }
  .ma-canal { grid-area: c; min-width: 0; align-self: start; }
  .ma-txt { grid-area: t; }
  .ma-btn { grid-area: b; justify-self: stretch; text-align: center; }
  .ma-fresh span { display: none; }
}

/* ---------- Serviços e preços por categoria (18/nov/2026) ---------- */
.cat-ico { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--gold-t); color: var(--gold-d); }
.cat-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cat-ico.big { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(140deg, var(--gold-t), color-mix(in srgb, var(--gold) 22%, white)); }
.cat-ico.big svg { width: 24px; height: 24px; }
.svc-hero { margin: 4px 0 14px; padding: 16px; border-radius: 18px; color: var(--paper); background: linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--ink) 70%, var(--gold))); position: relative; overflow: hidden; }
.svc-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 55%, transparent), transparent 70%); pointer-events: none; }
.svc-hero p { margin: 12px 0 0; opacity: .9; position: relative; z-index: 1; }
.svc-hero a { color: var(--gold-l); font-weight: 600; }
.svc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; z-index: 1; }
.svc-stats div { background: color-mix(in srgb, var(--paper) 10%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); border-radius: 14px; padding: 10px 12px; }
.svc-stats b { display: block; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--gold-l); }
.svc-stats span { font-size: 12px; opacity: .85; }
.svc-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.svc-search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.svc-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent); }
.svc-search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.svc-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; min-height: 40px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 0 12px; min-height: 36px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--muted); font-weight: 600; transition: background .15s, color .15s; }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.svc-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.svc-cats::-webkit-scrollbar { display: none; }
.svc-cat { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; white-space: nowrap; transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.svc-cat em { font-style: normal; font-size: 12px; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--gold-t); color: var(--gold-d); text-align: center; }
.svc-cat:hover { transform: translateY(-1px); border-color: var(--gold-l); }
.svc-cat[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 6px 16px color-mix(in srgb, var(--ink) 25%, transparent); }
.svc-cat[aria-pressed=true] .cat-ico { background: var(--gold); color: #fff; }
.svc-cat[aria-pressed=true] em { background: color-mix(in srgb, var(--paper) 18%, transparent); color: var(--paper); }
.svc-cat.add { padding: 0 16px; border-style: dashed; color: var(--gold-d); background: transparent; }
.svc-group { margin-bottom: 18px; }
.svc-ghead { display: flex; align-items: center; gap: 12px; margin: 6px 0 10px; }
.svc-ghead > div { flex: 1; min-width: 0; }
.svc-ghead h3 { font-size: 22px; }
.svc-ghead .ok-t { color: var(--ok); font-weight: 600; }
.svc-gact { display: flex; gap: 6px; align-items: center; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 14px 14px 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); opacity: .85; }
.svc-card[data-st=equipe]::before { background: var(--muted); }
.svc-card[data-st=off] { opacity: .62; }
.svc-card[data-st=off]::before { background: var(--line); }
.svc-card:hover { transform: translateY(-2px); border-color: var(--gold-l); box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 12%, transparent); }
.svc-card-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.svc-code { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: var(--paper); }
.svc-sub { font-size: 12px; color: var(--muted); }
.svc-badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.svc-badge.on { background: var(--ok-t); color: var(--ok); }
.svc-badge.equipe { background: var(--gold-t); color: var(--gold-d); }
.svc-badge.off { background: var(--bad-t); color: var(--bad); }
.svc-name { font-size: 16px; font-weight: 600; line-height: 1.25; }
.svc-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.svc-meta span { display: inline-flex; align-items: center; gap: 4px; }
.svc-meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.svc-prices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc-pp { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--gold-t); }
.svc-pp i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--gold); color: #fff; }
.svc-pp small { font-size: 12px; color: var(--muted); }
.svc-pp b { font-size: 14px; color: var(--gold-d); }
.svc-noprice { font-size: 12px; color: var(--bad); }
.svc-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; border: 2px dashed var(--line); border-radius: 16px; background: transparent; cursor: pointer; text-align: center; color: var(--muted); transition: border-color .2s, background .2s; }
.svc-empty:hover { border-color: var(--gold-l); background: color-mix(in srgb, var(--gold) 5%, transparent); }
.svc-empty b { color: var(--ink); }
.svc-empty span:last-child { font-size: 13px; max-width: 40ch; }
.svc-groups.anim .svc-card:not([hidden]) { animation: svcIn .32s ease-out both; animation-delay: calc(var(--i, 0) * 22ms); }
.svc-groups.anim .svc-card[data-st=off]:not([hidden]) { animation-name: svcInOff; }
@keyframes svcIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes svcInOff { from { opacity: 0; transform: translateY(8px); } to { opacity: .62; transform: none; } }
.svc-group[hidden], .svc-card[hidden], .svc-empty[hidden], .svc-none[hidden] { display: none !important; }
/* nova categoria */
.cat-presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.cat-preset { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; text-align: left; animation: svcIn .3s ease-out both; animation-delay: calc(var(--i) * 25ms); transition: transform .15s, border-color .15s, box-shadow .15s; }
.cat-preset:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 18px color-mix(in srgb, var(--ink) 12%, transparent); }
.cat-preset small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.cat-preset:disabled { opacity: .45; cursor: default; }
.ico-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.ico-pick label { position: relative; }
.ico-pick input, .cat-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ico-pick span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; color: var(--muted); transition: all .15s; }
.ico-pick svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--gold-l); transform: scale(1.06); }
.ico-pick input:focus-visible + span, .cat-pick label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
/* ficha do serviço */
.cat-pick { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.cat-pick::-webkit-scrollbar { display: none; }
.cat-pick label { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 86px; padding: 10px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 13px; font-weight: 600; transition: all .15s; }
.cat-pick label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); box-shadow: 0 6px 14px color-mix(in srgb, var(--ink) 22%, transparent); }
.cat-pick label:has(input:checked) .cat-ico { background: var(--gold); color: #fff; }
.cat-pick-add { flex: none; min-width: 70px; border-radius: 14px; border: 1px dashed var(--gold-l); background: transparent; color: var(--gold-d); font-weight: 600; cursor: pointer; }
.dur-pick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dur-own { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.dur-own input { width: 76px; min-height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-align: center; }
.price-cards { display: grid; gap: 8px; }
.price-card { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: border-color .15s, background .15s; }
.price-card.on { border-color: var(--gold-l); background: color-mix(in srgb, var(--gold) 6%, var(--paper)); }
.pc-ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--line); color: var(--muted); transition: background .15s, color .15s; }
.price-card.on .pc-ava { background: var(--gold); color: #fff; }
.price-card b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-in { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; min-height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 14px; color: var(--muted); }
.pc-in:focus-within { border-color: var(--gold); }
.pc-in input { width: 84px; border: 0; background: none; outline: none; min-height: 36px; color: var(--ink); font-weight: 600; }
.pc-in.small-in input { width: 44px; text-align: right; font-weight: 400; }
.switches { display: grid; gap: 8px; margin-top: 12px; }
.switch { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 30%, transparent); transition: transform .2s; }
.switch input:checked + i { background: var(--gold); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.switch span { display: flex; flex-direction: column; }
.switch small { font-size: 12px; color: var(--muted); }
@media (max-width: 520px) {
  .svc-stats b { font-size: 24px; }
  .svc-search { flex-basis: 100%; }
  .svc-tools .btn { flex: none; white-space: nowrap; padding: 0 14px; }
  .seg { flex: 1; justify-content: space-between; }
  .seg button { padding: 0 8px; }
  .svc-stats span { font-size: 11px; line-height: 1.2; display: block; }
  .svc-ghead { flex-wrap: wrap; }
  .svc-gact { width: 100%; }
  .svc-gact .btn { flex: 1; }
  .price-card { grid-template-columns: auto 1fr auto; }
  .price-card .small-in { grid-column: 2 / -1; justify-self: end; }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .svc-groups.anim .svc-card, .cat-preset { animation: none !important; } }

/* ===== Marketing: alertas de anúncio parado/pausado (18/nov/2026) ===== */
.mkt-alerts { display: grid; gap: 8px; margin: 0 0 14px; transition: opacity .2s; }
.mkt-alerts.loading { opacity: .5; }
.mkt-alerts:empty { display: none; }
.ma-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px; }
.ma-head b { font-size: 14px; }
.ma-head.red b { color: #b42318; }
.ma-head.am b { color: #8a5a00; }
.ma-siren { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #e0483a; flex: none; }
.ma-head.am .ma-siren { background: #e9a23b; }
.ma-siren::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid currentColor; color: #e0483a; animation: maPing 1.4s ease-out infinite; }
.ma-head.am .ma-siren::after { color: #e9a23b; }
@keyframes maPing { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ma-fresh { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--muted); }
.ma-fresh svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.ma-fresh:hover { color: var(--ink); border-color: var(--gold); }
.ma-item { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 16px; overflow: hidden; animation: fnIn .3s var(--ease) both; }
.ma-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.ma-item.vermelho { background: linear-gradient(90deg, #fdecea, #fff 70%); border: 1px solid #f3b8b1; box-shadow: 0 6px 18px rgba(224, 72, 58, .14); }
.ma-item.vermelho::before { background: #e0483a; }
.ma-item.amarelo { background: linear-gradient(90deg, #fff6e5, #fff 70%); border: 1px solid #f1d39a; }
.ma-item.amarelo::before { background: #e9a23b; }
.ma-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.ma-item.vermelho .ma-dot { background: #e0483a; box-shadow: 0 0 0 0 rgba(224, 72, 58, .6); animation: maPulse 1.6s infinite; }
.ma-item.amarelo .ma-dot { background: #e9a23b; }
@keyframes maPulse { 70% { box-shadow: 0 0 0 9px rgba(224, 72, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 72, 58, 0); } }
.ma-canal { display: grid; justify-items: center; gap: 2px; min-width: 58px; }
.ma-canal svg { width: 22px; height: 22px; }
.ma-canal small { font-size: 10.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.ma-txt { display: grid; gap: 3px; min-width: 0; }
.ma-txt b { font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ma-txt b em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #e0483a; padding: 2px 8px; border-radius: 999px; }
.ma-txt b em.am { background: #e9a23b; }
.ma-txt > span { font-size: 13px; color: #6b3b36; }
.ma-item.amarelo .ma-txt > span { color: #6b5320; }
.ma-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.ma-list i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid #f1d39a; color: #6b5320; }
.ma-when { font-size: 11px; color: var(--muted); }
.ma-btn { white-space: nowrap; }
.ma-item.vermelho .ma-btn { background: #e0483a; border-color: #e0483a; color: #fff; }
.ma-item.vermelho .ma-btn:hover { background: #b42318; }
.ma-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; vertical-align: -2px; }
.conn-dot.alert { background: #e0483a !important; box-shadow: 0 0 0 0 rgba(224, 72, 58, .6); animation: maPulse 1.6s infinite; }
@media (max-width: 640px) {
  .ma-item { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "c t" "b b"; gap: 8px 10px; padding: 12px 12px 12px 16px; }
  .ma-dot { display: none; }
  .ma-canal { grid-area: c; min-width: 0; align-self: start; }
  .ma-txt { grid-area: t; }
  .ma-btn { grid-area: b; justify-self: stretch; text-align: center; }
  .ma-fresh span { display: none; }
}

/* ---------- Instagram Direct no Chat (19/nov/2026) ---------- */
.ch-on { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ig-on, .ig-add { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-decoration: none; }
.ig-on { color: #b0236e; background: #fde8f2; border: 1px solid #f6bfd9; }
.ig-add { color: var(--muted); border: 1px dashed color-mix(in srgb, var(--gold) 45%, white); }
.ig-on svg, .ig-add svg, .ig-tag svg, .av-ig svg, .ig-card h3 svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.ig-card h3 svg { width: 18px; height: 18px; color: #c13584; vertical-align: -3px; }
.av-wrap { position: relative; display: inline-flex; flex: none; }
.av-ig { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 0 0 2px #fff; }
.av-ig svg { width: 11px; height: 11px; }
.ig-tag { display: inline-flex; align-items: center; gap: 4px; color: #b0236e; font-weight: 600; }
.ig-form { display: grid; gap: 6px; }

/* Regras e taxas: comissão agrupada por categoria (19/nov/2026) */
.rules-cats { margin-top: 4px; }
.tbl.rules tbody[hidden] { display: none; }
.tbl.rules .rules-ghead th, .tbl.rules .rules-ghead td { background: var(--gold-t); border-top: 10px solid var(--paper); padding-top: 8px; padding-bottom: 8px; }
.tbl.rules tbody:first-of-type .rules-ghead th, .tbl.rules tbody:first-of-type .rules-ghead td { border-top: 0; }
.tbl.rules .rules-ghead th { text-align: left; font-weight: 400; text-transform: none; letter-spacing: 0; }
.tbl.rules .rg-t { display: inline-flex; align-items: center; gap: 10px; }
.tbl.rules .rg-t > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.tbl.rules .rg-t b { font-size: 15px; color: var(--ink); }
.tbl.rules .rg-t small { font-size: 12px; opacity: .7; }
.tbl.rules .rules-ghead .cat-ico { background: var(--paper); }
.tbl.rules .rg-avg { font-weight: 700; color: var(--gold-d); font-size: 13px; }

/* Chat: card da cliente na lista e no topo da conversa (19/nov/2026) */
.cl-card, .cp-card { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 5px; min-width: 0; }
.cl-card .ctags, .cp-card .ctags { margin-top: 0; }
.chc { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px 0 6px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; max-width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.chc span { overflow: hidden; text-overflow: ellipsis; }
.chc svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chc.ag { background: color-mix(in srgb, var(--gold) 16%, white); border-color: color-mix(in srgb, var(--gold) 40%, white); color: var(--gold-d); }
.chc.ag.ok { background: #e6f4ea; border-color: #b7dfc3; color: #1e6b3d; }
.chc.st { background: color-mix(in srgb, var(--ink) 6%, white); color: color-mix(in srgb, var(--ink) 80%, white); }
.chc.st.won { background: #e6f4ea; border-color: #b7dfc3; color: #1e6b3d; }
.chc.st.lost { background: #fdecea; border-color: #f3c2bc; color: #a1281c; }
.chc.lv { color: color-mix(in srgb, var(--ink) 65%, white); }
.chc.new { border-style: dashed; color: color-mix(in srgb, var(--ink) 55%, white); font-weight: 600; }
.cp-card .chc { height: 24px; font-size: 12px; padding: 0 10px 0 8px; }
.cp-card .chc svg { width: 13px; height: 13px; }

/* ===== Funil (pedido 18/nov, 2ª rodada): botões menores, quadro mais abaixo e setas convidando a explorar ===== */
.fn-actions .btn.small { height: 32px; min-height: 0; padding: 0 12px; font-size: 12.5px; border-radius: 999px; }
.fn-actions .btn.small svg { width: 14px; height: 14px; }
.fn-explore { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 14px; padding: 8px 10px 8px 12px; border-radius: 14px;
  background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 30%, white); box-shadow: 0 4px 14px color-mix(in srgb, var(--gold) 12%, transparent); }
.fx-where { display: grid; text-align: left; gap: 1px; min-width: 0; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--ink); }
.fx-step { display: block; white-space: nowrap; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-d); }
.fx-where .fx-step b.fx-cur { display: inline; width: auto; height: auto; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; color: inherit; }
.fx-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-dirs { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.fx-dir { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; white-space: nowrap; border-radius: 999px; font-size: 12px; font-weight: 700; }
.fx-dir i { font-style: normal; line-height: 1; }
.fx-right { color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 4px 12px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.fx-right span { margin-right: 2px; }
.fx-right i { font-size: 17px; margin-left: -2px; opacity: .3; animation: fnArrow 1.2s infinite; }
.fx-right i:nth-of-type(2) { animation-delay: .15s; } .fx-right i:nth-of-type(3) { animation-delay: .3s; }
.fx-down { color: var(--gold-d); background: color-mix(in srgb, var(--gold) 12%, white); }
.fx-down i { font-size: 18px; margin-top: -6px; animation: fnDown 1.3s ease-in-out infinite; }
@media (min-width: 900px) { .fn-explore { display: none; } }
@media (max-width: 899px) {
  .fn-top { margin-bottom: 6px; }
  .fn-atalhos { gap: 6px; margin-top: 8px; }
  .fn-atalho { padding: 8px 10px; }
  .fn-actions { gap: 6px; margin-top: 2px; }
  .fn-actions .btn.small { height: 30px; font-size: 12px; padding: 0 8px; }
  /* seta flutuante na beirada do quadro: mostra que tem mais etapa à direita */
  .fn-nav.next { display: grid; top: 14px; right: 2px; width: 34px; height: 34px; animation: fxPulse 1.8s infinite; }
  .fn-nav.next svg { width: 16px; height: 16px; }
  @keyframes fxPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 55%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
}
@media (prefers-reduced-motion: reduce) { .fx-right i, .fx-down i, .fn-nav.next { animation: none !important; } }
/* card com horário passado sem baixa (compareceu/faltou não marcado) */
.dcard.sem-baixa { box-shadow: 0 0 0 2px #f0b35a, 0 6px 16px rgba(0,0,0,.06); }
.dc-baixa { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 2px; padding: 6px 8px; border-radius: 10px; background: #fff4e5; color: #8a5a00; font-size: 11.5px; font-weight: 700; line-height: 1.3; text-align: left; }
.dc-baixa svg { flex: none; width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; margin-top: 1px; }

/* ===== Manual do sistema para salão novo (19/nov/2026) ===== */
.manual-card { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.manual-card .mc-doc { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-t); flex: none; }
.manual-card .mc-doc svg { width: 22px; height: 22px; stroke: var(--gold-d); fill: none; stroke-width: 2; }
.manual-card .mc-txt { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.manual-card .mc-txt small { color: var(--muted, #8a8580); font-size: 12.5px; line-height: 1.4; }
.manual-card.mc-flash { animation: mcFlash 1.6s ease 2; }
@keyframes mcFlash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 40% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 45%, transparent); } }
@media (prefers-reduced-motion: reduce) { .manual-card.mc-flash { animation: none; outline: 3px solid var(--gold); } }

/* Novo agendamento: seletor de serviço e extras (20/nov/2026) */
.svc-pick { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--gold); background: #fff; color: var(--ink); font: inherit; cursor: pointer; box-shadow: 0 6px 18px -14px rgba(0,0,0,.35); }
.svc-pick:hover { border-color: var(--gold-d); }
.svc-pick.on { background: var(--gold-t); }
.svc-pick-ic { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--gold); color: #fff; }
.svc-pick-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.svc-pick-t { flex: 1; display: grid; gap: 2px; min-width: 0; }
.svc-pick-t b { font-size: 15.5px; color: var(--ink); }
.svc-pick-t small { font-size: 12.5px; color: var(--muted, #7a7067); }
.svc-pick em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--gold-d); }
.svp { margin-top: 8px; border: 1.5px solid var(--line, #e7ded3); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(0,0,0,.45); }
.svp-top { display: flex; gap: 8px; padding: 10px; border-bottom: 1px solid var(--line, #eee6dc); }
.svp-top input { flex: 1; min-width: 0; }
.svp-cats { display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line, #eee6dc); }
.svp-cat { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--line, #e7ded3); background: #fff; font: 600 13px var(--f-body, inherit); color: var(--ink); cursor: pointer; }
.svp-cat svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.svp-cat[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.svp-list { max-height: 320px; overflow-y: auto; padding: 4px 0 8px; }
.svp-g { position: sticky; top: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px 6px; background: #fff; font-size: 13px; color: var(--ink); z-index: 1; }
.svp-g .cat-ico { width: 24px; height: 24px; border-radius: 8px; }
.svp-g .cat-ico svg { width: 14px; height: 14px; }
.svp-it { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px 11px 44px; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; border-top: 1px solid rgba(0,0,0,.04); }
.svp-it:hover, .svp-it:focus-visible { background: var(--gold-t); outline: none; }
.svp-n { font-size: 15px; font-weight: 600; }
.svp-m { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted, #7a7067); white-space: nowrap; }
.svp-m svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.svp-m b { color: var(--gold-d); }
.svc-extra { display: grid; gap: 8px; margin-top: 10px; }
.svc-x { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--gold-t); font-weight: 600; font-size: 14px; color: var(--ink); }
.svc-x small { color: var(--muted, #7a7067); font-weight: 500; }
.svc-x button { margin-left: auto; border: 0; background: none; font-size: 18px; line-height: 1; color: var(--gold-d); cursor: pointer; }
.svc-sug { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip.ghost-chip { border-style: dashed; background: transparent; }
.svc-total { margin: 0; }

.chip.chip-atual { border-color: var(--gold-d); }
.chip.chip-atual small { font-size: 11px; font-weight: 700; opacity: .8; margin-left: 2px; }

/* Card do funil (20/nov/2026): cliente clicável, etapa centralizada, responsável em botões e ações com ícone */
.sheet.dsh { max-width: 600px; }
.sheet.dsh .sheet-head h2 { font-family: var(--sans, inherit); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dsh-hero { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 9%, white)); border: 1px solid color-mix(in srgb, var(--gold) 30%, white);
  box-shadow: var(--shadow-1); transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.dsh-hero:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold-l); }
.dsh-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.dsh-name { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: linear-gradient(90deg, var(--ink), color-mix(in srgb, var(--gold) 40%, var(--ink))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dsh-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dsh-tel { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.dsh-tel svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.dsh-go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: var(--gold-t); transition: transform .15s var(--ease); }
.dsh-go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.dsh-hero:hover .dsh-go { transform: translateX(3px); }
.dsh-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.dsh-fact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px 6px; border-radius: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 22%, white); }
.dsh-fact i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: var(--gold-t); margin-bottom: 2px; }
.dsh-fact i svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.dsh-fact b { font-size: 15px; line-height: 1.2; }
.dsh-fact small { font-size: 11px; color: var(--muted); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.dsh-fact.ok i { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, white); }
.dsh-fact.warn i { color: var(--bad); background: var(--bad-t); }
.dsh-fact.warn b { color: var(--bad); }
.dsh-sec { margin-top: 18px; text-align: center; }
.dsh-sec h3 { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.dsh-sec h3::before, .dsh-sec h3::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--gold) 25%, white); }
.dsh-sec .stp { justify-content: center; }
.dsh-owners { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dsh-owner { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 78px; padding: 10px 8px 8px; border-radius: 16px; cursor: pointer;
  background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) 22%, white); font-size: 13px; font-weight: 700; color: var(--ink); transition: all .15s var(--ease); }
.dsh-owner .avatar { width: 40px; height: 40px; font-size: 14px; }
.dsh-owner.none .avatar { background: color-mix(in srgb, var(--gold) 12%, white); color: var(--muted); box-shadow: 0 0 0 3px #fff, 0 0 0 4px color-mix(in srgb, var(--gold) 25%, white); }
.dsh-owner:hover { transform: translateY(-2px); border-color: var(--gold-l); }
.dsh-owner[aria-checked=true] { border-color: var(--gold); background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--gold) 14%, white)); box-shadow: 0 6px 16px color-mix(in srgb, var(--gold-d) 22%, transparent); }
.dsh-owner[aria-checked=true]::after { content: "✓"; font-size: 11px; color: #fff; background: var(--gold-d); border-radius: 999px; padding: 0 7px; margin-top: -2px; }
.dsh-hint { margin: 8px 0 0; }
.dsh-ret { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dsh-ret input[type=date] { max-width: 260px; text-align: center; }
.dsh-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dsh-quick .chip { min-height: 32px; font-size: 13px; padding: 0 12px; }
.dsh-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.dsh-act { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 14px 8px 12px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) 26%, white); transition: all .15s var(--ease); }
.dsh-act i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px; color: var(--gold-d); background: var(--gold-t); }
.dsh-act i svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 2; }
.dsh-act b { font-size: 14px; }
.dsh-act small { font-size: 11px; color: var(--muted); }
.dsh-act:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-2); }
.dsh-act.chat i { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 85%, white), var(--gold-d)); }
.dsh-act.wa i { color: #fff; background: linear-gradient(180deg, #2fdc70, var(--wa)); }
.dsh-act.wa i svg { fill: currentColor; stroke: none; }
.dsh-act.wa:hover { border-color: var(--wa); }
.dsh-save { margin-top: 16px; }
@media (max-width: 420px) { .dsh-name { font-size: 20px; } .dsh-act small { display: none; } .dsh-owner { min-width: 68px; } }

/* ---------- janela do horário livre (20/nov/2026) ---------- */
.sm-head { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, white), #fff); border: 1px solid color-mix(in srgb, var(--gold) 28%, white); }
.sm-head .avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px color-mix(in srgb, var(--pc, var(--gold)) 55%, white); }
.sm-who { flex: 1; min-width: 0; }
.sm-who b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; }
.sm-who small { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 13px; color: var(--muted); }
.sm-who small svg, .sm-time svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.sm-time { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--gold-d); color: #fff; box-shadow: 0 6px 14px -8px var(--gold-d); }
.sm-time b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.sm-free { margin: 12px 2px 4px; }
.sm-free-t { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink); }
.sm-free-t b { color: var(--gold-d); }
.sm-free-t.warn { color: #b4541a; }
.sm-free-t svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.sm-bar { display: block; height: 7px; margin-top: 7px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 14%, white); overflow: hidden; }
.sm-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 70%, white), var(--gold-d)); animation: smGrow .6s ease-out; }
@keyframes smGrow { from { width: 0; } }
.sm-acts { display: grid; gap: 10px; margin-top: 14px; }
.sm-act { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 16px; border: 1.5px solid color-mix(in srgb, var(--gold) 30%, white); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: transform .12s, box-shadow .15s, border-color .15s; }
.sm-act:hover { border-color: var(--gold); box-shadow: 0 10px 24px -16px color-mix(in srgb, var(--ink) 60%, transparent); transform: translateY(-1px); }
.sm-act:active { transform: scale(.98); }
.sm-act.main { border: 0; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 82%, white), var(--gold-d)); box-shadow: 0 12px 24px -14px var(--gold-d); }
.sm-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: color-mix(in srgb, var(--gold) 14%, white); color: var(--gold-d); }
.sm-act.main .sm-ic { background: rgba(255,255,255,.22); color: #fff; }
.sm-ic svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.sm-t { flex: 1; min-width: 0; }
.sm-t b { display: block; font-size: 16px; }
.sm-t small { display: block; margin-top: 2px; font-size: 12.5px; opacity: .78; }
.sm-go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; opacity: .7; }

/* ---------- agendamento: profissional, dia e horários (20/nov/2026) ---------- */
.bk-pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bk-pro { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--gold) 26%, white); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; }
.bk-pro:hover:not(:disabled) { border-color: var(--gold); }
.bk-pro:active:not(:disabled) { transform: scale(.98); }
.bk-pro:disabled { cursor: default; opacity: 1; }
.bk-pro .avatar { width: 38px; height: 38px; font-size: 14px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in srgb, var(--pc, var(--gold)) 45%, white); }
.bk-pro-t { flex: 1; min-width: 0; }
.bk-pro-t b { display: block; font-size: 15px; }
.bk-pro-t small { display: block; font-size: 12.5px; color: var(--gold-d); font-weight: 700; }
.bk-pro-ck { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--gold) 35%, white); color: transparent; }
.bk-pro-ck svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 3; }
.bk-pro.on { border-color: var(--gold-d); background: color-mix(in srgb, var(--gold) 10%, white); box-shadow: 0 8px 18px -12px var(--gold-d); }
.bk-pro.on .bk-pro-ck { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }

.bk-date { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--gold); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; box-shadow: 0 6px 18px -14px rgba(0,0,0,.35); transition: background .15s; }
.bk-date:hover, .bk-date.on { background: color-mix(in srgb, var(--gold) 8%, white); }
.bk-date-ic { flex: none; display: grid; width: 46px; border-radius: 11px; overflow: hidden; text-align: center; background: #fff; box-shadow: 0 2px 6px -2px rgba(0,0,0,.25); }
.bk-date-ic small { display: block; padding: 2px 0; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--gold-d); }
.bk-date-ic b { display: block; padding: 2px 0 4px; font-size: 20px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.bk-date-t { flex: 1; min-width: 0; }
.bk-date-t b { display: block; font-size: 15.5px; }
.bk-date-t small { display: block; font-size: 12.5px; color: var(--gold-d); font-weight: 700; }
.bk-date-t small.warn { color: #b4541a; }
.bk-date em { flex: none; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--gold-d); }
.bk-date em svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

.bk-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 8px; }
.bk-wd { display: grid; justify-items: center; gap: 1px; padding: 7px 0; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--gold) 22%, white); background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: background .12s, transform .1s; }
.bk-wd small { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.bk-wd b { font-size: 16px; font-weight: 800; }
.bk-wd:hover { background: color-mix(in srgb, var(--gold) 8%, white); }
.bk-wd:active { transform: scale(.94); }
.bk-wd.off { opacity: .45; background: repeating-linear-gradient(135deg, transparent 0 5px, color-mix(in srgb, var(--gold) 10%, transparent) 5px 7px); }
.bk-wd.on { opacity: 1; border-color: var(--gold-d); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 80%, white), var(--gold-d)); color: #fff; box-shadow: 0 6px 14px -8px var(--gold-d); }
.bk-wd.on small { color: rgba(255,255,255,.85); }

.bkc { margin-top: 8px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 25%, white); box-shadow: 0 14px 30px -20px rgba(0,0,0,.4); animation: bkcIn .18s ease-out; }
@keyframes bkcIn { from { opacity: 0; transform: translateY(-6px); } }
.bkc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bkc-head b { font-family: var(--display); font-weight: 400; font-size: 20px; text-transform: capitalize; }
.bkc-head b span { color: var(--gold-d); }
.bkc-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); background: #fff; cursor: pointer; display: inline-grid; place-items: center; }
.bkc-nav:hover { background: var(--gold); border-color: var(--gold); }
.bkc-nav:hover svg { stroke: #fff; }
.bkc-nav svg { width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2.4; }
.bkc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bkc-wd span { text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); padding: 4px 0; }
.bkc-day { position: relative; height: 42px; border: 0; border-radius: 12px; background: none; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; transition: background .12s, transform .1s; }
.bkc-day:hover:not(:disabled) { background: color-mix(in srgb, var(--gold) 12%, white); }
.bkc-day:active:not(:disabled) { transform: scale(.9); }
.bkc-day.out { color: color-mix(in srgb, var(--ink) 30%, white); font-weight: 500; }
.bkc-day.past { color: color-mix(in srgb, var(--ink) 22%, white); text-decoration: line-through; cursor: not-allowed; font-weight: 500; }
.bkc-day.off:not(.past)::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 30%, white); }
.bkc-day.today { box-shadow: inset 0 0 0 2px var(--gold); color: var(--gold-d); }
.bkc-day.sel { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 80%, white), var(--gold-d)); color: #fff; box-shadow: 0 6px 14px -6px var(--gold-d); }
.bkc-day.sel::after { background: #fff; }
.bkc-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid color-mix(in srgb, var(--gold) 18%, white); }
.bkc-foot .small { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.bkc-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 30%, white); }

.bk-slots { margin: 4px 0 10px; }
.bk-empty { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 7%, white); border: 1px dashed color-mix(in srgb, var(--gold) 40%, white); font-size: 13.5px; color: var(--muted); }
.bk-empty.warn { color: #9a4a16; background: #fff6ef; border-color: #f2c8a8; }
.bk-empty svg, .bk-count svg { flex: none; width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; }
.bk-count { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.bk-count svg { color: #1fa85a; }
.bk-count b { color: var(--ink); }
.bk-per { margin-bottom: 10px; }
.bk-per-h { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-d); }
.bk-per-h i { font-style: normal; font-size: 14px; }
.bk-per-h small { margin-left: 2px; padding: 0 7px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 14%, white); font-size: 11px; color: var(--gold-d); }
.bk-per-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.bk-slot { min-height: 40px; border-radius: 11px; border: 1.5px solid color-mix(in srgb, var(--gold) 26%, white); background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .12s, border-color .12s, transform .1s; }
.bk-slot small { font-size: 10px; font-weight: 700; color: var(--gold-d); }
.bk-slot:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 7%, white); }
.bk-slot:active { transform: scale(.94); }
.bk-slot[aria-pressed=true] { border-color: var(--gold-d); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 80%, white), var(--gold-d)); color: #fff; box-shadow: 0 6px 14px -8px var(--gold-d); }
.bk-slot[aria-pressed=true] small { color: #fff; }
.bk-encaixe { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 6%, white); font-size: 13px; color: var(--muted); cursor: pointer; }
.bk-encaixe > svg { flex: none; width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2; }
.bk-encaixe span { flex: 1; }
.bk-encaixe input { flex: none; width: 118px; min-height: 36px; margin: 0; }
@media (max-width: 420px) { .bk-pros { grid-template-columns: 1fr 1fr; } .bk-date em { display: none; } .sm-time b { font-size: 18px; } }
/* Card do funil, rodada 2 (20/nov/2026): selos do responsável, alerta do "Sem horário" e calendário próprio */
.dsh-fact { position: relative; }
.dsh-fact.warn { border-color: color-mix(in srgb, var(--bad) 45%, white); background: linear-gradient(180deg, #fff, var(--bad-t)); animation: dshWarn 2.4s ease-in-out infinite; }
.dsh-fact.warn i { position: relative; }
.dsh-fact.warn i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--bad); opacity: 0; animation: dshPing 1.8s ease-out infinite; }
.dsh-alert { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--bad); padding: 2px 8px; border-radius: 999px; box-shadow: 0 3px 8px color-mix(in srgb, var(--bad) 35%, transparent); white-space: nowrap; }
@keyframes dshWarn { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bad) 0%, transparent); } 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 14%, transparent); } }
@keyframes dshPing { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dsh-fact.warn, .dsh-fact.warn i::after { animation: none; } }

.dsh-owner { min-width: 104px; padding: 12px 10px 10px; gap: 4px; }
.dsh-owner[aria-checked=true]::after { content: none; }
.dsh-owner b { font-size: 14px; }
.dsh-owner small { font-size: 11px; font-weight: 600; color: var(--muted); }
.dsh-oav { position: relative; display: inline-flex; margin-bottom: 2px; }
.dsh-seal { position: absolute; right: -6px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; line-height: 1;
  border: 2px solid #fff; color: #fff; }
.dsh-seal.top { background: linear-gradient(135deg, #3aa86b, var(--ok)); }
.dsh-seal.ja { background: var(--gold); }
.dsh-seal.nunca { background: #b9b2aa; }
.dsh-owner.top small { color: var(--ok); }
.dsh-owner.nunca { opacity: .82; }
.dsh-owner[aria-checked=true] { opacity: 1; }
.dsh-owner[aria-checked=true]::before { content: "Responsável"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--gold-d); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.dsh-owner { position: relative; }
.dsh-owners { padding-top: 6px; }

.dsh-datebtn { display: inline-flex; align-items: center; gap: 12px; min-width: 260px; padding: 10px 16px; border-radius: 16px; cursor: pointer; text-align: left; color: var(--ink);
  background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) 35%, white); box-shadow: var(--shadow-1); transition: all .15s var(--ease); }
.dsh-datebtn:hover, .dsh-datebtn[aria-expanded=true] { border-color: var(--gold); box-shadow: var(--shadow-2); }
.dsh-datebtn > svg { width: 20px; height: 20px; stroke: var(--gold-d); fill: none; stroke-width: 2; flex: none; }
.dsh-datebtn > svg:last-child { width: 16px; height: 16px; margin-left: auto; transition: transform .2s; }
.dsh-datebtn[aria-expanded=true] > svg:last-child { transform: rotate(180deg); }
.dsh-datebtn span { display: flex; flex-direction: column; line-height: 1.2; }
.dsh-datebtn span b { font-size: 15px; text-transform: capitalize; }
.dsh-datebtn span small { font-size: 12px; color: var(--muted); }
.dsh-datebtn.vazio span b { color: var(--gold-d); }
.dsh-cal { width: 100%; max-width: 320px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 30%, white); box-shadow: var(--shadow-2); animation: fadein .18s var(--ease); }
.dcal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dcal-head b { font-family: var(--display); font-weight: 400; font-size: 19px; text-transform: capitalize; }
.dcal-head b span { color: var(--muted); font-size: 15px; }
.dcal-nav { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid color-mix(in srgb, var(--gold) 25%, white); background: var(--gold-t); color: var(--gold-d); }
.dcal-nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.dcal-nav:hover { background: var(--gold); color: #fff; }
.dcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dcal-grid i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--muted); text-align: center; padding: 4px 0; }
.dcal-grid button { aspect-ratio: 1; border-radius: 12px; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .12s var(--ease); }
.dcal-grid button:hover:not(:disabled) { background: var(--gold-t); color: var(--gold-d); }
.dcal-grid button:disabled { color: color-mix(in srgb, var(--muted) 45%, white); cursor: default; }
.dcal-grid button.hoje { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold-d); }
.dcal-grid button.on { color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 90%, white), var(--gold-d)); box-shadow: 0 4px 10px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.dcal-foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--gold) 18%, white); }
.dcal-foot button { border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--gold-d); padding: 4px 6px; border-radius: 8px; }
.dcal-foot button:hover { background: var(--gold-t); }
@media (max-width: 420px) { .dsh-owner { min-width: 92px; } .dsh-datebtn { min-width: 0; width: 100%; } }
/* Agendamento: busca de cliente e lista de serviços (20/nov/2026) */
.cr-search, .svp-search { position: relative; display: block; }
.cr-search > svg, .svp-search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--gold-d); fill: none; stroke-width: 2; pointer-events: none; }
.cr-search input, .svp-search input { width: 100%; padding-left: 42px; }
.cr-results { margin: 6px 0 12px; padding: 6px; max-height: 340px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--gold) 28%, white); background: #fff; box-shadow: var(--shadow-2); animation: fadein .16s var(--ease); }
.cr-head { padding: 6px 10px 8px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); text-align: center; }
.results.cr-results button { border-bottom: 0; }
.cr-it { display: flex !important; align-items: center; gap: 12px; padding: 10px 10px !important; border-radius: 14px; transition: background .12s var(--ease), transform .12s var(--ease); }
.cr-it + .cr-it { margin-top: 2px; }
.cr-it .avatar, .cr-picked .avatar { width: 42px; height: 42px; font-size: 14px; }
.cr-it:hover, .cr-it:focus-visible { background: var(--gold-t) !important; outline: none; }
.cr-it:hover .cr-go { transform: translateX(3px); opacity: 1; }
.cr-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cr-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.cr-top b { font-size: 15px; color: var(--ink); }
.cr-top mark { background: color-mix(in srgb, var(--gold) 28%, white); color: var(--ink); border-radius: 4px; padding: 0 2px; }
.cr-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.cr-tel, .cr-m { display: inline-flex; align-items: center; gap: 4px; }
.cr-sub svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.cr-m.ok { color: var(--ok); font-weight: 600; }
.cr-m.nova { color: var(--gold-d); font-weight: 600; }
.cr-go { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: var(--gold-t); opacity: .6; transition: all .15s var(--ease); }
.cr-go svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.cr-none { display: flex !important; align-items: center; gap: 12px; padding: 12px !important; border-radius: 14px; }
.cr-none i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 85%, white), var(--gold-d)); }
.cr-none i svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.cr-none span { display: flex; flex-direction: column; } .cr-none small { color: var(--muted); }
.cr-none:hover { background: var(--gold-t) !important; }
.cr-picked { gap: 12px; justify-content: flex-start; margin-top: 6px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(135deg, #fff, var(--gold-t)); border: 1px solid color-mix(in srgb, var(--gold) 30%, white); }

.svp { border-radius: 20px; border-color: color-mix(in srgb, var(--gold) 30%, white); }
.svp-top { align-items: center; padding: 12px; }
.svp-search { flex: 1; min-width: 0; }
.svp-close { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid color-mix(in srgb, var(--gold) 30%, white); background: var(--gold-t); color: var(--gold-d); }
.svp-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.svp-close:hover { background: var(--gold); color: #fff; }
.svp-cats { justify-content: center; flex-wrap: wrap; padding: 10px 12px; }
.svp-cat { padding: 7px 14px; transition: all .15s var(--ease); }
.svp-cat:hover:not([aria-pressed="true"]) { border-color: var(--gold); transform: translateY(-1px); }
.svp-cat[aria-pressed="true"] { box-shadow: 0 4px 10px color-mix(in srgb, var(--gold-d) 28%, transparent); }
.svp-list { padding: 4px 8px 10px; }
.svp-g { justify-content: center; gap: 10px; padding: 12px 6px 8px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.svp-g::before, .svp-g::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--gold) 25%, white); }
.svp-it { padding: 12px 14px; border-radius: 14px; margin: 2px 0; border: 1px solid transparent; }
.svp-it:hover, .svp-it:focus-visible { border-color: color-mix(in srgb, var(--gold) 35%, white); transform: translateX(2px); }
.svp-m { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 9%, white); }
@media (max-width: 480px) { .svp-it { flex-direction: column; align-items: flex-start; gap: 6px; } .cr-go { display: none; } }
/* Cartão do funil compacto (20/nov/2026): nome à esquerda e a tag logo em seguida, usando a largura toda */
.dcard .dc-head { justify-content: flex-start; margin-bottom: 0; }
.dcard .dc-who { flex: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 3px 6px; text-align: left; }
.dcard .dc-who b { font-family: inherit; font-size: 14.5px; font-weight: 700; text-transform: none; max-width: 100%; }
.dcard .dc-who .ctags { margin-top: 0; }
/* Cartão do funil: retorno e responsável como etiquetas na borda de baixo (20/nov/2026) */
.dcard { overflow: visible; }
.dcard.has-tabs { margin-bottom: 18px; }
/* brilho do TOP 1 sem precisar cortar a borda do cartão (anda pelo fundo, dentro do próprio cartão) */
.dcard.top1::after { transform: none; border-radius: inherit; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0; animation: dcShine2 4.5s ease-in-out infinite; }
@keyframes dcShine2 { 0%, 70% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.dc-tabs { position: absolute; right: 10px; bottom: -11px; z-index: 1; display: flex; gap: 5px; max-width: calc(100% - 20px); pointer-events: none; }
.dc-tab { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px 0 7px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
  font-size: 11px; font-weight: 800; color: var(--gold-d); background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 45%, white);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--ink) 10%, transparent); }
.dc-tab svg { width: 12px; height: 12px; flex: none; stroke: currentColor; fill: none; stroke-width: 2.2; }
.dc-tab.late { color: #fff; background: var(--bad); border-color: var(--bad); }
.dc-tab.who i { flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 8.5px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 70%, white), var(--gold-d)); }
.dcard:hover .dc-tab { border-color: var(--gold); }
/* Ficha da cliente: botão "Chat do sistema" ao lado do WhatsApp e do Agendar (20/nov/2026) */
.hero-actions .hero-chat { display: inline-flex; align-items: center; gap: 6px; }
.hero-actions .hero-chat svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- funil: título da etapa em duas linhas sem amassar o ícone (20/nov/2026) ---------- */
.st-name { min-width: 0; line-height: 1.15; text-align: left; }
.st-name i, .fn-board .stage h3 .st-name i { flex: none; aspect-ratio: 1; min-width: 22px; }
.stage h3 .st-n { flex: none; }

/* horário: confirmação, lembrete e conversa pelo Chat do sistema (20/nov/2026) */
.aa-chat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.aa-ch { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 9px 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--gold-l); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.aa-ch:hover { transform: translateY(-1px); border-color: var(--gold); box-shadow: var(--shadow-2); }
.ach-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, white); color: var(--gold-d); }
.ach-ic svg { width: 18px; height: 18px; }
.ach-txt { min-width: 0; text-align: left; }
.ach-txt b { display: block; font-size: 14px; line-height: 1.2; }
.ach-txt small { display: block; font-size: 12px; opacity: .72; margin-top: 1px; }
.aa-ch-conf { grid-column: 1 / -1; background: linear-gradient(180deg, #2fdc70, var(--wa)); border-color: var(--wa); color: #fff; box-shadow: 0 4px 12px rgba(37, 211, 102, .3); }
.aa-ch-conf:hover { border-color: var(--wa-d); }
.aa-ch-conf .ach-ic { background: rgba(255, 255, 255, .22); color: #fff; }
.aa-ch-conf small { opacity: .9; }
.aa-wa-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 9px 2px 0; font-size: 12.5px; opacity: .85; }
.aa-wa-alt svg { width: 14px; height: 14px; fill: var(--wa); flex: none; }
.aa-wa-alt a { color: var(--wa-d); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; padding: 6px 0; }
.msg-card textarea { width: 100%; font: inherit; font-size: 14px; line-height: 1.45; }
.mp-vars { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 12px; }
.mp-var { font: 600 12px ui-monospace, Menlo, monospace; padding: 6px 8px; border-radius: 8px; border: 1px dashed var(--gold); background: color-mix(in srgb, var(--gold) 10%, white); color: var(--gold-d); cursor: pointer; }
.mp-var:hover { background: color-mix(in srgb, var(--gold) 22%, white); }

/* ---------- janela do horário: mensagens pelo sistema x celular, editar pagamento (20/nov/2026) ---------- */
.ach-ic svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.aa-sec { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 14px 2px 0; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-d); }
.aa-sec svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.aa-sec small { font-size: 11.5px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.aa-sec + .aa-chat { margin-top: 8px; }
.aa-wa-alt { display: block; margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--wa) 7%, white); border: 1px dashed color-mix(in srgb, var(--wa) 45%, white); font-size: 13px; opacity: 1; }
.aa-wa-alt p { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-weight: 700; color: var(--wa-d); }
.aa-wa-alt p svg { width: 15px; height: 15px; fill: var(--wa); flex: none; }
.aa-wa-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.aa-wa-btns a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 8px; border-radius: 11px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--wa) 55%, white); color: var(--wa-d); font-weight: 700; font-size: 13px; text-decoration: none; transition: background .15s, transform .1s; }
.aa-wa-btns a:hover { background: var(--wa); border-color: var(--wa); color: #fff; }
.aa-wa-btns a:hover svg { fill: #fff; }
.aa-wa-btns a:active { transform: scale(.96); }
.aa-wa-btns a svg { width: 15px; height: 15px; fill: var(--wa); flex: none; }
.st-btn.st-fix .st-ic { background: #e3f3e9; color: #1d8a4a; }
.st-btn.st-fix .st-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 380px) { .aa-wa-btns a { font-size: 12px; gap: 4px; } .aa-wa-btns a svg { width: 13px; height: 13px; } }
/* Tela "Agendado" com a mensagem de confirmação pronta (20/nov/2026) */
.ago-hero { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--ok) 12%, white), #fff); border: 1px solid color-mix(in srgb, var(--ok) 30%, white); }
.ago-hero > div { display: flex; flex-direction: column; } .ago-hero b { font-size: 17px; } .ago-hero small { color: var(--muted); }
.ago-ok { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3aa86b, var(--ok)); box-shadow: 0 6px 14px color-mix(in srgb, var(--ok) 35%, transparent); animation: agoPop .35s var(--ease); }
.ago-ok svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.8; }
@keyframes agoPop { from { transform: scale(.5); opacity: 0; } }
.ago-resumo { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 0 14px; }
.ago-resumo span { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 22%, white); font-size: 13px; }
.ago-resumo span b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ago-resumo span small { color: var(--muted); white-space: nowrap; }
.ago-resumo svg { flex: none; width: 15px; height: 15px; stroke: var(--gold-d); fill: none; stroke-width: 2; }
#ago-msg { font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; }
.ago-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.ago-act { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; text-decoration: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) 30%, white); transition: all .15s var(--ease); }
.ago-act:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.ago-act i { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: var(--gold-t); }
.ago-act i svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.ago-act span { display: flex; flex-direction: column; min-width: 0; } .ago-act b { font-size: 14px; } .ago-act small { font-size: 11.5px; color: var(--muted); }
.ago-act.chat { grid-column: 1 / -1; color: #fff; border-color: transparent; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 90%, white), var(--gold-d)); box-shadow: 0 8px 18px color-mix(in srgb, var(--gold-d) 30%, transparent); }
.ago-act.chat small { color: rgba(255,255,255,.85); } .ago-act.chat i { color: var(--gold-d); background: #fff; }
.ago-act.wa i { color: #fff; background: linear-gradient(180deg, #2fdc70, var(--wa)); } .ago-act.wa i svg { fill: currentColor; stroke: none; }
.ago-act.wa:hover { border-color: var(--wa); }
.ago-depois { margin-top: 12px; }
.ago-dica { text-align: center; margin: 8px 0 0; }
@media (max-width: 420px) { .ago-resumo { grid-template-columns: 1fr; } }
/* Agendamento: adicionar serviço em cartões tocáveis (20/nov/2026) */
.xtr { margin-top: 12px; padding: 12px; border-radius: 18px; background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--gold) 6%, white)); border: 1px dashed color-mix(in srgb, var(--gold) 40%, white); }
.xtr-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.xtr-head > span:last-child { display: flex; flex-direction: column; line-height: 1.25; } .xtr-head b { font-size: 14px; } .xtr-head small { font-size: 12px; color: var(--muted); }
.xtr-hic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 85%, white), var(--gold-d)); }
.xtr-hic svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; }
.xtr-grid, .xtr-on { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.xtr-on { margin-bottom: 8px; }
.xtr-it { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px; border-radius: 14px; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) 24%, white); transition: transform .15s var(--ease), border-color .15s, box-shadow .15s; }
.xtr-it:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-2); }
.xtr-it .cat-ico { width: 32px; height: 32px; }
.xtr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.xtr-t b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xtr-t small { font-size: 11.5px; color: var(--muted); white-space: nowrap; } .xtr-t small b { color: var(--gold-d); font-size: inherit; }
.xtr-add { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: var(--gold-t); transition: all .15s var(--ease); }
.xtr-add svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.6; }
.xtr-it:hover .xtr-add { background: var(--gold); color: #fff; transform: rotate(90deg); }
.xtr-it.on { cursor: default; border-color: var(--gold); background: linear-gradient(135deg, #fff, var(--gold-t)); animation: xtrIn .25s var(--ease); }
.xtr-it.on:hover { transform: none; box-shadow: none; }
@keyframes xtrIn { from { transform: scale(.94); opacity: 0; } }
.xtr-ok { position: absolute; top: -7px; left: -7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #3aa86b, var(--ok)); border: 2px solid #fff; }
.xtr-ok svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 3; }
.xtr-rm { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--muted); background: transparent; border: 1px solid color-mix(in srgb, var(--gold) 25%, white); }
.xtr-rm svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.xtr-rm:hover { color: #fff; background: var(--bad); border-color: var(--bad); }
.xtr-it.outro { border-style: dashed; background: transparent; }
.xtr-oic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--gold-d); background: var(--gold-t); }
.xtr-oic svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.xtr-total { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 12px; font-size: 13px; color: var(--ink); background: color-mix(in srgb, var(--gold) 12%, white); }
.xtr-total svg { width: 16px; height: 16px; stroke: var(--gold-d); fill: none; stroke-width: 2; flex: none; }
@media (max-width: 420px) { .xtr-grid, .xtr-on { grid-template-columns: 1fr; } }
/* Cadastros (20/nov/2026): categorias que abrem e fecham (serviços e produtos) + cadastro de produtos de consumo */
.svc-group.acc { margin-bottom: 10px; border-radius: 18px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 24%, white); box-shadow: var(--shadow-1); overflow: hidden; transition: box-shadow .2s var(--ease); }
.svc-group.acc:hover { box-shadow: var(--shadow-2); }
.svc-group.acc .svc-ghead { margin: 0; padding: 12px 14px; cursor: pointer; user-select: none; transition: background .15s; }
.svc-group.acc .svc-ghead:hover { background: color-mix(in srgb, var(--gold) 6%, white); }
.svc-group.acc .svc-ghead:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.svc-group.acc .svc-ghead h3 { display: flex; align-items: center; gap: 8px; }
.svc-group.acc .acc-n { font-style: normal; font-family: var(--sans, inherit); font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--gold-t); color: var(--gold-d); }
.svc-group.acc .svc-ghead .small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-group.acc .acc-chev { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: var(--gold-t); transition: transform .25s var(--ease); flex: none; }
.svc-group.acc .acc-chev svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.svc-group.acc.open .acc-chev { transform: rotate(180deg); background: var(--gold); color: #fff; }
.svc-group.acc .svc-gact { display: flex; align-items: center; gap: 8px; }
.svc-group.acc .acc-body { display: none; padding: 4px 14px 14px; border-top: 1px solid color-mix(in srgb, var(--gold) 15%, white); }
.svc-group.acc.open .acc-body { display: block; animation: fadein .22s var(--ease); }
@media (max-width: 600px) { .svc-group.acc .svc-gact .btn { display: none; } }

.prd-ask { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 14px; border-radius: 18px; background: #fff; border: 1.5px dashed color-mix(in srgb, var(--gold) 45%, white); }
.prd-ask.on { border-style: solid; border-color: color-mix(in srgb, var(--ok) 40%, white); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--ok) 7%, white)); }
.prd-ask > div:nth-child(2) { flex: 1; min-width: 220px; display: flex; flex-direction: column; } .prd-ask b { font-size: 15.5px; } .prd-ask small { color: var(--muted); font-size: 12.5px; }
.prd-ask-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--gold-t); }
.prd-off { text-align: center; margin: 24px auto; max-width: 420px; }
.prd-cic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--gold-t); }
.prd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; padding-top: 10px; }
.prd-card { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; background: var(--paper); border: 1.5px solid color-mix(in srgb, var(--gold) 22%, white); transition: all .15s var(--ease); }
.prd-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-2); }
.prd-card.off { opacity: .55; }
.prd-card.add { border-style: dashed; background: transparent; }
.prd-pic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: var(--gold-d); background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 20%, white); }
.prd-t { min-width: 0; display: flex; flex-direction: column; } .prd-t b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .prd-t small { font-size: 12px; color: var(--muted); }
.prd-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.prd-cat input { position: absolute; opacity: 0; pointer-events: none; }
.prd-cat span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 700; background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) 25%, white); transition: all .15s; }
.prd-cat span i { font-style: normal; font-size: 16px; }
.prd-cat input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 90%, white), var(--gold-d)); }
.prd-cat input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- % de comissão por serviço: categorias que abrem e % em lista (20/nov/2026) ---------- */
.rc-list { display: grid; gap: 10px; margin-top: 12px; }
.rc-g { border-radius: 16px; border: 1.5px solid color-mix(in srgb, var(--gold) 26%, white); background: #fff; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.rc-g[open] { border-color: var(--gold); box-shadow: 0 12px 26px -20px color-mix(in srgb, var(--ink) 60%, transparent); }
.rc-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; user-select: none; }
.rc-head::-webkit-details-marker { display: none; }
.rc-head:hover { background: color-mix(in srgb, var(--gold) 6%, white); }
.rc-g[open] .rc-head { background: color-mix(in srgb, var(--gold) 10%, white); border-bottom: 1px solid color-mix(in srgb, var(--gold) 22%, white); }
.rc-t { flex: 1; min-width: 0; }
.rc-t b { display: block; font-size: 16px; }
.rc-t small { display: block; font-size: 12.5px; color: var(--muted); }
.rc-sum { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.rc-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 14%, white); color: var(--gold-d); font-size: 13px; font-weight: 800; white-space: nowrap; }
.rc-pill i { font-style: normal; font-weight: 600; color: var(--muted); }
.rc-chev { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 12%, white); color: var(--gold-d); transition: transform .2s; }
.rc-chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.rc-g[open] .rc-chev { transform: rotate(180deg); background: var(--gold-d); color: #fff; }
.rc-body { padding: 6px 14px 12px; animation: rcIn .18s ease-out; }
@keyframes rcIn { from { opacity: 0; transform: translateY(-4px); } }
.rc-all { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 6px 0 8px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 7%, white); border: 1px dashed color-mix(in srgb, var(--gold) 40%, white); font-size: 13px; font-weight: 700; color: var(--gold-d); }
.rc-all > span { display: inline-flex; align-items: center; gap: 6px; }
.rc-all > span svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.rc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, white); }
.rc-row:last-child { border-bottom: 0; }
.rc-n { flex: 1; min-width: 0; font-size: 14.5px; }
.rc-sel { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.rc-pct { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.rc-pct small { font-size: 12px; font-weight: 700; color: var(--muted); }
.rc-pct select { width: auto; min-width: 128px; min-height: 38px; margin: 0; padding: 0 30px 0 12px; border-radius: 11px; border: 1.5px solid color-mix(in srgb, var(--gold) 35%, white); background-color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .3s; }
.rc-pct select:hover { border-color: var(--gold); }
.rc-pct select:focus { outline: none; border-color: var(--gold-d); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.rc-pct select.saved { background-color: #e3f3e9; border-color: #1fa85a; }
.rc-all .rc-pct select { min-width: 140px; font-weight: 600; }
.rc-no { font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .rc-head { flex-wrap: wrap; } .rc-sum { order: 3; width: 100%; justify-content: flex-start; padding-left: 42px; } .rc-pct select { min-width: 112px; } .rc-row { flex-wrap: wrap; } }

/* acessos: permissões por aba da profissional, com confirmação (20/nov/2026) */
.acc-perm { display: block; margin-top: 3px; color: var(--gold-d); font-weight: 600; }
.perm-box { display: grid; gap: 8px; margin: 2px 0 14px; padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 7%, white); border: 1px solid var(--gold-l); }
.perm-box[hidden], [data-permadm][hidden] { display: none; }
.perm-tit { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.perm-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--gold-l); border-radius: 13px; padding: 10px 12px; cursor: pointer; }
.perm-row .pi { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 15%, white); color: var(--gold-d); }
.perm-row .pi svg { width: 18px; height: 18px; }
.perm-row .pt { flex: 1; min-width: 0; }
.perm-row .pt b { display: block; font-size: 14.5px; line-height: 1.2; }
.perm-row .pt small { display: block; font-size: 12px; opacity: .7; margin-top: 1px; }
.perm-ag { flex-wrap: wrap; cursor: default; }
.perm-seg { display: inline-flex; background: color-mix(in srgb, var(--gold) 12%, white); border-radius: 999px; padding: 3px; gap: 2px; }
.perm-seg label { cursor: pointer; }
.perm-seg input { position: absolute; opacity: 0; pointer-events: none; }
.perm-seg span { display: block; font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 999px; white-space: nowrap; transition: background .15s, color .15s; }
.perm-seg input:checked + span { background: var(--gold-d); color: #fff; }
.perm-seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.perm-sw input { position: absolute; opacity: 0; pointer-events: none; }
.perm-sw .sw { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #d9d2c8; transition: background .2s; }
.perm-sw .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.perm-sw input:checked ~ .sw { background: var(--gold-d); }
.perm-sw input:checked ~ .sw::after { transform: translateX(18px); }
.perm-sw input:focus-visible ~ .sw { outline: 2px solid var(--gold); outline-offset: 2px; }
.perm-sw:has(input:not(:checked)) .pt { opacity: .6; }
.perm-conf { margin: 4px 0 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 2px solid var(--gold); box-shadow: var(--shadow-2); animation: fadein .25s var(--ease); }
.perm-conf > b { display: block; font-size: 15px; }
.perm-conf > small { display: block; font-size: 12.5px; opacity: .75; margin-top: 2px; }
.perm-conf ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.perm-conf li { display: grid; grid-template-columns: 22px 78px 1fr; align-items: center; gap: 6px; font-size: 13.5px; }
.perm-conf li i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: #2e8a57; }
.perm-conf li.no i { background: #c0392b; }
.perm-conf li.no span { opacity: .7; }
.pro-acesso { display: flex; align-items: center; gap: 10px; margin: 2px 0 14px; padding: 11px 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--gold-l); }
.pro-acesso .pa-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 15%, white); color: var(--gold-d); }
.pro-acesso .pa-ic svg { width: 18px; height: 18px; }
.pro-acesso .pa-txt { flex: 1; min-width: 0; }
.pro-acesso .pa-txt b { display: block; font-size: 14px; }
.pro-acesso .pa-txt small { display: block; font-size: 12px; opacity: .75; margin-top: 1px; }

.perm-row .pi svg, .pro-acesso .pa-ic svg, .ach-ic svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* consumo de produto no horário (20/nov/2026) */
.cs-list { list-style: none; margin: 0 0 14px; padding: 4px 12px; background: #fff; border: 1px solid var(--gold-l); border-radius: 14px; }
.cs-list li { display: grid; grid-template-columns: 34px 1fr auto 32px; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--gold-l); font-size: 14px; }
.cs-list li:last-child { border-bottom: 0; }
.cs-q { font-weight: 800; color: var(--gold-d); }
.cs-v { font-weight: 700; }
.cs-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cs-tot b:last-of-type { color: var(--gold-d); }
.cs-list li.cs-vazio { display: block; text-align: center; font-size: 13.5px; opacity: .7; padding: 14px 0; }
.cs-tit { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.cs-cat { margin-bottom: 10px; }
.cs-cat > small { display: block; font-weight: 700; font-size: 12.5px; opacity: .75; margin: 0 0 6px; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cs-prod { display: flex; align-items: center; gap: 9px; text-align: left; padding: 10px 11px; min-height: 52px; border-radius: 13px; background: #fff; border: 1.5px solid var(--gold-l); cursor: pointer; font: inherit; color: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
.cs-prod:hover { border-color: var(--gold); box-shadow: var(--shadow-2); }
.cs-prod.pop { transform: scale(.94); }
.cs-ic { font-size: 20px; flex: none; }
.cs-pt { min-width: 0; }
.cs-prod b { display: block; font-size: 13.5px; line-height: 1.2; }
.cs-prod small { display: block; font-size: 12px; opacity: .7; }
.cs-prod em { margin-left: auto; font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-d); color: #fff; font-weight: 800; flex: none; }
.aa-els > * { order: 1; }
.aa-els .el-cons { order: 2; grid-column: 1 / -1; }
.el-cons .ael-ic svg { fill: none; stroke: currentColor; stroke-width: 2; }

/* Consumação no Lançar entrada (20/nov/2026) */
.csm { margin: 0 0 14px; padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 7%, var(--paper)); border: 1.5px solid color-mix(in srgb, var(--gold) 22%, white); }
.csm-h { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; } .csm-h b { font-size: 15px; } .csm-h small { font-size: 12px; color: var(--muted); }
.csm-cli { position: relative; margin-bottom: 10px; } .csm-cli input { width: 100%; } .csm-cli .results { margin: 6px 0 0; }
.csm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.csm-item { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 13px; background: var(--paper); border: 1.5px solid color-mix(in srgb, var(--gold) 18%, white); transition: border-color .15s var(--ease); }
.csm-item.on { border-color: var(--gold); box-shadow: var(--shadow-2); }
.csm-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 20%, white); }
.csm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .csm-t b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .csm-t small { font-size: 12px; color: var(--muted); }
.csm-qty { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.csm-qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); background: #fff; color: var(--gold-d); font: inherit; font-size: 17px; font-weight: 800; line-height: 1; cursor: pointer; }
.csm-qty button:hover { border-color: var(--gold); }
.csm-qty i { font-style: normal; min-width: 18px; text-align: center; font-weight: 800; font-size: 14px; }
.csm-item:not(.on) .csm-qty i { color: var(--muted); }
.csm-tot { margin-top: 10px; font-size: 14px; text-align: right; } .csm-tot b { color: var(--gold-d); font-size: 16px; }

/* consumo de produto no horário (20/nov/2026) */
.cs-list { list-style: none; margin: 0 0 14px; padding: 4px 12px; background: #fff; border: 1px solid var(--gold-l); border-radius: 14px; }
.cs-list li { display: grid; grid-template-columns: 34px 1fr auto 32px; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--gold-l); font-size: 14px; }
.cs-list li:last-child { border-bottom: 0; }
.cs-q { font-weight: 800; color: var(--gold-d); }
.cs-v { font-weight: 700; }
.cs-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cs-tot b:last-of-type { color: var(--gold-d); }
.cs-list li.cs-vazio { display: block; text-align: center; font-size: 13.5px; opacity: .7; padding: 14px 0; }
.cs-tit { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.cs-cat { margin-bottom: 10px; }
.cs-cat > small { display: block; font-weight: 700; font-size: 12.5px; opacity: .75; margin: 0 0 6px; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cs-prod { display: flex; align-items: center; gap: 9px; text-align: left; padding: 10px 11px; min-height: 52px; border-radius: 13px; background: #fff; border: 1.5px solid var(--gold-l); cursor: pointer; font: inherit; color: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
.cs-prod:hover { border-color: var(--gold); box-shadow: var(--shadow-2); }
.cs-prod.pop { transform: scale(.94); }
.cs-ic { font-size: 20px; flex: none; }
.cs-pt { min-width: 0; }
.cs-prod b { display: block; font-size: 13.5px; line-height: 1.2; }
.cs-prod small { display: block; font-size: 12px; opacity: .7; }
.cs-prod em { margin-left: auto; font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-d); color: #fff; font-weight: 800; flex: none; }
.aa-els > * { order: 1; }
.aa-els .el-cons { order: 2; grid-column: 1 / -1; }
.el-cons .ael-ic svg { fill: none; stroke: currentColor; stroke-width: 2; }
/* Acessos (20/nov/2026): campos com ícone, acesso fixo e Marketing não contratado */
.field.acs-f > span { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 700; color: var(--ink); }
.field.acs-f > span i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--gold-d); background: var(--gold-t); }
.field.acs-f > span i svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.field.acs-f > span small { flex-basis: 100%; margin-left: 34px; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.field.acs-f select:disabled { opacity: .75; cursor: not-allowed; }
.acs-fixo { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; color: #fff; background: var(--gold-d); }
.acs-fixo svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.6; }
.acs-fixo-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; border-radius: 16px; background: linear-gradient(135deg, #fff, var(--gold-t)); border: 1px solid color-mix(in srgb, var(--gold) 40%, white); }
.acs-fixo-box > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 85%, white), var(--gold-d)); }
.acs-fixo-box > span svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.acs-fixo-box > div { display: flex; flex-direction: column; } .acs-fixo-box small { color: var(--muted); font-size: 12.5px; }
.perm-row.perm-nc { border-style: dashed; background: color-mix(in srgb, var(--bad) 4%, white); }
.perm-nc-tag { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--bad); vertical-align: middle; margin-left: 4px; }

/* horário: consumo acima da Ficha da cliente (Ficha por último) e ícone de café com vapor (20/nov/2026) */
.aa-els > * { order: 1; }
.aa-els .el-cons { order: 2; grid-column: 1 / -1; }
.aa-els .el-ficha { order: 3; grid-column: 1 / -1; }
.ael-ic.cons-cafe { background: linear-gradient(140deg, #f3e1c8, #d9a46c); color: #5b3517; box-shadow: 0 6px 14px -8px rgba(91, 53, 23, .6); }
.ael-ic.cons-cafe svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.cons-cafe .xic { fill: #fff8ef; }
.cons-cafe .vap { opacity: .75; animation: consVapor 2.4s ease-in-out infinite; }
.cons-cafe .v2 { animation-delay: .4s; } .cons-cafe .v3 { animation-delay: .8s; }
@keyframes consVapor { 0% { transform: translateY(2px); opacity: 0; } 40% { opacity: .8; } 100% { transform: translateY(-3px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cons-cafe .vap { animation: none; } }

/* ---------- produtos: categorias em dois grupos, Alimentícios e Produtos (20/nov/2026) ---------- */
.prd-cg { margin-top: 6px; }
.prd-cg + .prd-cg { margin-top: 12px; }
.prd-cg-t { display: block; margin: 0 0 6px 2px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-d); }
.prd-gt { grid-column: 1 / -1; margin: 14px 2px 2px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-d); }
.prd-gt:first-child { margin-top: 0; }

/* Insights em abas que abrem ao tocar (20/nov/2026) */
.ins-hint { margin: 4px 2px 10px; }
.ins-sec { margin-bottom: 12px; border-radius: 20px; background: var(--paper); border: 1.5px solid color-mix(in srgb, var(--gold) 20%, white); overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.ins-sec.open { border-color: var(--gold); box-shadow: var(--shadow-2); }
.ins-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.ins-head:hover { background: color-mix(in srgb, var(--gold) 6%, transparent); }
.ins-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.ins-ic svg { width: 22px; height: 22px; }
.ins-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ins-t b { font-size: 18px; } .ins-t small { font-size: 13px; color: var(--muted); }
.ins-stats { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.ins-st { display: flex; flex-direction: column; align-items: flex-end; } .ins-st b { font-size: 16px; white-space: nowrap; } .ins-st small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ins-st.pos b { color: #1f8a4c; } .ins-st.neg b { color: #b3412e; }
.ins-chev { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: transform .2s var(--ease); }
.ins-chev svg { width: 16px; height: 16px; }
.ins-sec.open .ins-chev { transform: rotate(180deg); }
.ins-body { display: none; padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.ins-sec.open .ins-body { display: block; }
@media (max-width: 640px) { .ins-head { flex-wrap: wrap; } .ins-stats { order: 3; width: 100%; justify-content: flex-start; padding-left: 60px; } .ins-st { align-items: flex-start; } }
/* Ficha da profissional (20/nov/2026): prioridade visual, aviso no WhatsApp e horários compactos */
.pro-form .pro-sec { margin: 4px 0 16px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 24%, white); }
.pro-form .pro-sec h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 14px; font-weight: 800; color: var(--ink); }
.pro-form .pro-sec h4 svg { width: 18px; height: 18px; stroke: var(--gold-d); fill: none; stroke-width: 2; flex: none; }
.pro-form .pro-sec h4 svg.wa { fill: var(--wa); stroke: none; }
.pro-form .pro-sec > p { margin: 0 0 10px; }
.prio-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.prio-it { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 18%, white); }
.prio-it em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--gold-d); min-width: 24px; }
.prio-it .avatar { width: 30px; height: 30px; font-size: 11px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold-l); }
.prio-it b { flex: 1; font-size: 14px; } .prio-it b small { font-size: 11px; font-weight: 700; color: var(--gold-d); background: var(--gold-t); padding: 1px 7px; border-radius: 999px; margin-left: 4px; }
.prio-it.eu { border-color: var(--gold); background: linear-gradient(135deg, #fff, var(--gold-t)); box-shadow: 0 4px 12px color-mix(in srgb, var(--gold-d) 15%, transparent); animation: fadein .2s var(--ease); }
.prio-mv { display: flex; gap: 4px; }
.prio-mv button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); background: #fff; color: var(--gold-d); }
.prio-mv button svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.prio-mv button:hover:not(:disabled) { background: var(--gold); color: #fff; }
.prio-mv button:disabled { opacity: .35; cursor: default; }
.pro-form .pro-sec input[type=tel] { width: 100%; }
.pro-aviso { margin: 10px 0 8px; }
.wh-grid { display: grid; gap: 6px; }
.wh-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 14px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 15%, white); transition: background .15s, border-color .15s; }
.wh-row.on { background: #fff; border-color: color-mix(in srgb, var(--gold) 35%, white); }
.wh-day { flex: none; cursor: pointer; }
.wh-day input { position: absolute; opacity: 0; pointer-events: none; }
.wh-day span { display: inline-grid; place-items: center; width: 52px; height: 34px; border-radius: 10px; font-size: 13px; font-weight: 800; color: var(--muted); background: color-mix(in srgb, var(--gold) 8%, white); border: 1.5px dashed color-mix(in srgb, var(--gold) 30%, white); transition: all .15s; }
.wh-day input:checked + span { color: #fff; border: 1.5px solid transparent; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 90%, white), var(--gold-d)); }
.wh-day input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.wh-times { display: inline-flex; align-items: center; gap: 6px; }
.wh-times i { font-style: normal; font-size: 12px; color: var(--muted); }
.wh-times input[type=time] { width: 96px; min-height: 34px; padding: 4px 8px; font-size: 14px; border-radius: 10px; text-align: center; }
.wh-folga { font-size: 12.5px; font-weight: 600; color: var(--muted); font-style: italic; }
.wh-row:not(.on) .wh-times { display: none; }
.wh-row.on .wh-folga { display: none; }
.wh-brk { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 6%, white); }
.wh-brk .switch { margin: 0; }
.wh-brk:not(.on) .wh-times { display: none; }
@media (max-width: 420px) { .wh-times input[type=time] { width: 84px; } .wh-day span { width: 46px; } }

/* Insights em abas que abrem ao tocar (20/nov/2026) */
.ins-hint { margin: 4px 2px 10px; }
.ins-sec { margin-bottom: 12px; border-radius: 20px; background: var(--paper); border: 1.5px solid color-mix(in srgb, var(--gold) 20%, white); overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.ins-sec.open { border-color: var(--gold); box-shadow: var(--shadow-2); }
.ins-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.ins-head:hover { background: color-mix(in srgb, var(--gold) 6%, transparent); }
.ins-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.ins-ic svg { width: 22px; height: 22px; }
.ins-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ins-t b { font-size: 18px; } .ins-t small { font-size: 13px; color: var(--muted); }
.ins-stats { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.ins-st { display: flex; flex-direction: column; align-items: flex-end; } .ins-st b { font-size: 16px; white-space: nowrap; } .ins-st small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ins-st.pos b { color: #1f8a4c; } .ins-st.neg b { color: #b3412e; }
.ins-chev { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: transform .2s var(--ease); }
.ins-chev svg { width: 16px; height: 16px; }
.ins-sec.open .ins-chev { transform: rotate(180deg); }
.ins-body { display: none; padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.ins-sec.open .ins-body { display: block; }
@media (max-width: 640px) { .ins-head { flex-wrap: wrap; } .ins-stats { order: 3; width: 100%; justify-content: flex-start; padding-left: 60px; } .ins-st { align-items: flex-start; } }

/* ---------- promoções: etiqueta, preço riscado, lista e janela (20/nov/2026) ---------- */
.promo-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: linear-gradient(135deg, #ffe7ec, #fff1dc); border: 1px solid #f5b8c4; color: #b4234a; font-size: 11.5px; font-weight: 800; white-space: nowrap; vertical-align: middle; }
.svc-pick .promo-tag { margin: 4px 0 0; }
.pr-old { color: var(--muted); font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pr-new { color: #b4234a; font-weight: 800; }
.svp-n { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px 0; }
.promo-list { display: grid; gap: 10px; margin-top: 12px; }
.promo-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 1.5px solid color-mix(in srgb, var(--gold) 26%, white); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; }
.promo-card:hover { border-color: var(--gold); box-shadow: 0 10px 22px -16px color-mix(in srgb, var(--ink) 60%, transparent); }
.promo-card:active { transform: scale(.99); }
.promo-card.st-fim, .promo-card.st-off { opacity: .6; }
.promo-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #ffe7ec, #fff1dc); font-size: 24px; }
.promo-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.promo-t b { font-size: 16px; }
.promo-t small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.promo-t small svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.promo-r { flex: none; display: grid; justify-items: end; gap: 4px; }
.promo-off { padding: 4px 10px; border-radius: 10px; background: #b4234a; color: #fff; font-weight: 800; font-size: 15px; }
.promo-st { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.promo-card.st-on .promo-st { color: #1d8a4a; }
.pm-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-ic { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--gold) 25%, white); background: #fff; font-size: 20px; cursor: pointer; transition: transform .1s, border-color .15s; }
.pm-ic[aria-pressed=true] { border-color: var(--gold-d); background: color-mix(in srgb, var(--gold) 14%, white); box-shadow: 0 4px 10px -6px var(--gold-d); }
.pm-ic:active { transform: scale(.9); }
.pm-off { display: flex; gap: 8px; align-items: center; }
.pm-off input { flex: 1; margin: 0; }
.pm-kind button { min-width: 48px; font-weight: 800; }
.pm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 99px; border: 1.5px solid color-mix(in srgb, var(--gold) 28%, white); background: #fff; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.pm-chip .cat-ico { width: 22px; height: 22px; }
.pm-chip[aria-pressed=true] { border-color: var(--gold-d); background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 80%, white), var(--gold-d)); color: #fff; }
.pm-chip[aria-pressed=true] .cat-ico { filter: brightness(0) invert(1); }
.pm-more { margin-top: 8px; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--gold) 40%, white); background: color-mix(in srgb, var(--gold) 5%, white); }
.pm-more summary { padding: 10px 12px; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--gold-d); }
.pm-more summary em { font-style: normal; margin-left: 4px; padding: 0 7px; border-radius: 99px; background: var(--gold-d); color: #fff; font-size: 11px; }
.pm-more summary em:empty { display: none; }
.pm-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 10px; max-height: 260px; overflow: auto; padding: 0 12px 10px; }
.pm-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13.5px; cursor: pointer; }
.pm-item input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold-d); }
.pm-prev { margin: 4px 0 12px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #fff1f4, #fff8ec); border: 1px solid #f5d0d8; font-size: 13.5px; }
.pm-prev s { color: var(--muted); }
.pm-prev b { color: #b4234a; }
.pm-del { margin-top: 8px; color: #b4234a; }
.pm-del svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Insights › resumo (20/nov/2026): ícones de traço, números em destaque, setinha interativa e quadro de IA no Comercial */
.ins-ic svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; width: 24px; height: 24px; }
.ins-sec[data-ins="fat"] .ins-ic { background: linear-gradient(135deg, #3fb57a, #1f7a50); }
.ins-sec[data-ins="cli"] .ins-ic { background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.ins-sec[data-ins="com"] .ins-ic { background: linear-gradient(135deg, #8d6bd8, #5b3fa6); }
.ins-ic { box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--ink) 55%, transparent); transition: transform .25s var(--ease); }
.ins-head:hover .ins-ic { transform: rotate(-6deg) scale(1.06); }
.ins-stats { gap: 8px; }
.ins-st { position: relative; padding: 7px 12px 6px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 7%, white); border: 1px solid color-mix(in srgb, var(--gold) 18%, white); min-width: 84px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.ins-st::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.ins-head:hover .ins-st { transform: translateY(-2px); box-shadow: var(--shadow-1); border-color: color-mix(in srgb, var(--gold) 40%, white); }
.ins-head:hover .ins-st::after, .ins-sec.open .ins-st::after { transform: scaleX(1); transform-origin: left; }
.ins-st b { font-size: 17px; letter-spacing: -.01em; }
.ins-st.pos { background: #eaf7ef; border-color: #bfe5cd; } .ins-st.pos::after { background: linear-gradient(90deg, #1f8a4c, transparent); }
.ins-st.neg { background: #fdecea; border-color: #f2c2bb; } .ins-st.neg::after { background: linear-gradient(90deg, #b3412e, transparent); }
.ins-chev { position: relative; width: 38px; height: 38px; border: 0; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 6px 14px -8px var(--gold-d); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s var(--ease); }
.ins-chev svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ins-chev::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--gold) 45%, transparent); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .3s var(--ease); }
.ins-head:hover .ins-chev { box-shadow: 0 10px 20px -8px var(--gold-d); }
.ins-head:hover .ins-chev::before { opacity: 1; transform: scale(1); }
.ins-sec:not(.open) .ins-head:hover .ins-chev svg { animation: insDesce .9s ease-in-out infinite; }
@keyframes insDesce { 50% { transform: translateY(3px); } }
.ins-sec.open .ins-chev { transform: rotate(180deg); background: var(--ink); }
.ia-atend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 12px 0 4px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, #f4efff, #fff 70%); border: 1.5px dashed #b9a3ea; }
.ia-atend.ok { border-style: solid; border-color: #bfe5cd; background: linear-gradient(120deg, #eaf7ef, #fff 70%); }
.ia-bot { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #8d6bd8, #5b3fa6); box-shadow: 0 8px 18px -10px #5b3fa6; animation: iaPulso 2.6s ease-in-out infinite; }
.ia-atend.ok .ia-bot { background: linear-gradient(135deg, #3fb57a, #1f7a50); }
.ia-bot svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes iaPulso { 50% { transform: scale(1.06); } }
.ia-txt { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.ia-txt b { font-size: 15.5px; } .ia-txt small { font-size: 12.5px; color: var(--muted); }
.ia-tag { align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: #fdecea; color: #b3412e; margin-bottom: 2px; }
.ia-tag.on { background: #eaf7ef; color: #1f8a4c; }
.ia-wa { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 13px; background: linear-gradient(180deg, #2fdc70, #25d366); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 14px -6px rgba(37, 211, 102, .7); transition: transform .15s, box-shadow .15s; }
.ia-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -8px rgba(37, 211, 102, .8); }
@media (max-width: 640px) { .ins-stats { gap: 6px; } .ins-st { min-width: 0; padding: 6px 10px 5px; } .ia-wa { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .ia-bot, .ins-chev svg { animation: none !important; } }

/* Produtos: custo, parcelas e venda pelo Caixa (20/nov/2026) */
.prd-mg { margin: -4px 0 12px; font-weight: 600; } .prd-mg.pos { color: #1f8a4c; } .prd-mg.neg { color: #b3412e; }
.csm-gt { display: block; margin: 10px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-d); }
.csm-parc select { width: 100%; }
.cash-actions .sell-btn { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 70%, #1f8a4c), var(--gold-d)); }
.pv-card .mini-stats b.pos { color: #1f8a4c; } .pv-card .mini-stats b.neg { color: #b3412e; }
.tbl b.pos { color: #1f8a4c; } .tbl b.neg { color: #b3412e; }

/* ---------- Caixa mais visual: listas que abrem e fecham, tabela com ícones, fechamento com Pix/dinheiro/cartão (20/nov/2026) ---------- */
.mov-box { padding: 0; overflow: hidden; }
.mov-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; user-select: none; }
.mov-head::-webkit-details-marker { display: none; }
.mov-head:hover { background: color-mix(in srgb, var(--gold) 5%, white); }
.mh-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
.mh-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.mov-box.in .mh-ic { background: #e3f3e9; color: #1d8a4a; }
.mov-box.out .mh-ic { background: #fbe4df; color: #b42318; }
.mh-t { flex: 1; min-width: 0; }
.mh-t b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; }
.mh-t small { display: block; font-size: 12px; color: var(--muted); }
.mh-v { font-weight: 800; font-size: 16px; }
.mov-box.in .mh-v { color: #1d8a4a; }
.mov-box.out .mh-v { color: #b42318; }
.mh-chev { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 12%, white); color: var(--gold-d); transition: transform .2s; }
.mh-chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.mov-box[open] .mh-chev { transform: rotate(180deg); }
.mov-box[open] .mov-head { border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, white); }
.mov-box .mov-list, .mov-box .empty { margin: 0; padding: 4px 16px 12px; }
.mv-v { display: inline-flex; align-items: center; gap: 6px; }
.mv-pay svg { width: 18px; height: 18px; display: block; }
th .th-ic { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 5px; border-radius: 6px; vertical-align: -5px; }
th .th-ic svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
th > svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; vertical-align: -2px; }
.th-ic.in { background: #e3f3e9; color: #1d8a4a; }
.th-ic.fee { background: #fff3dc; color: #a3750a; }
.th-ic.out { background: #fbe4df; color: #b42318; }
.th-ic.bal { background: color-mix(in srgb, var(--gold) 16%, white); color: var(--gold-d); }
.pct-ic { font-style: normal; font-weight: 900; font-size: 12px; line-height: 1; }
.tbl th.c, .tbl td.c { text-align: center; }
.tbl td.c .pill { margin: 0 auto; }
.dchip { display: inline-grid; width: 38px; margin-right: 8px; border-radius: 9px; overflow: hidden; text-align: center; vertical-align: middle; background: #fff; box-shadow: 0 2px 6px -2px rgba(0,0,0,.25); }
.dchip small { display: block; padding: 1px 0; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--gold-d); }
.dchip b { display: block; padding: 1px 0 3px; font-size: 15px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.dchip-w { font-weight: 700; color: var(--muted); vertical-align: middle; }
.tc { white-space: nowrap; }
.tc.in { color: #1d8a4a; font-weight: 700; }
.tc.fee { color: #a3750a; }
.tc.out { color: #b42318; }
.tc.bal.neg { color: #b42318; }
.cash-close .cc-grid .ccm { display: flex; align-items: center; gap: 10px; }
.ccm-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px -4px rgba(0,0,0,.3); }
.ccm-ic svg { width: 26px; height: 26px; display: block; }
.ccm:not(.tem) { opacity: .6; }
.ccm.tem { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 40%, white); }
.cash-close .cc-sum > div { position: relative; }
.cs-i { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-bottom: 4px; border-radius: 7px; background: rgba(255,255,255,.12); }
.cs-i svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.cs-i .pct-ic { font-size: 11px; }
.cash-close .cc-sum .in .cs-i { color: #8fe0b0; }
.cash-close .cc-sum .fee .cs-i { color: #f6d58b; }
.cash-close .cc-sum .out .cs-i { color: #f3a39a; }
.cash-close .cc-sum .bal .cs-i { color: #f6d58b; }
.cc-ok p { display: flex; align-items: center; gap: 10px; }
.cc-lock { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #1d8a4a; color: #fff; }
.cc-lock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ADM › Serviços e Produtos: números do topo centralizados, em cards claros com ícone (20/nov/2026) */
.svc-hero { padding: 18px; color: var(--ink); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 12%, white)); border: 1.5px solid var(--gold-l); box-shadow: var(--shadow-1); }
.svc-hero::after { opacity: .35; }
.svc-stats { gap: 10px; max-width: 780px; margin: 0 auto; }
.svc-stats div { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; padding: 14px 10px 12px; background: #fff; border: 1px solid var(--gold-l); border-radius: 16px; box-shadow: var(--shadow-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.svc-stats div:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.svc-stats div::before { content: ""; width: 36px; height: 36px; border-radius: 12px; margin-bottom: 4px; background: color-mix(in srgb, var(--gold) 16%, white) center / 19px no-repeat; }
.svc-stats div:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.5'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.svc-stats div:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5a2e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M8 12.3l2.8 2.8L16.2 9.6'/%3E%3C/svg%3E"); }
.svc-stats div:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 3.5a13 13 0 0 1 0 17M12 3.5a13 13 0 0 0 0 17M3.5 12h17'/%3E%3C/svg%3E"); }
.svc-stats b { font-size: 32px; color: var(--gold-d); }
.svc-stats span { font-size: 12.5px; font-weight: 600; color: var(--muted); opacity: 1; }
.svc-hero p { text-align: center; color: var(--ink); opacity: .8; max-width: 660px; margin: 14px auto 0; line-height: 1.5; }
.svc-hero a { color: var(--gold-d); }
@media (max-width: 640px) { .svc-stats div { padding: 12px 6px 10px; } .svc-stats div::before { width: 30px; height: 30px; background-size: 16px; } .svc-stats b { font-size: 26px; } }

/* ADM › Serviços e Produtos: promoção ativa no card (etiqueta e preço riscado), 20/nov/2026 */
.svc-card.has-promo { box-shadow: inset 4px 0 0 #e0607e, var(--shadow-1); }
.svc-promo { display: flex; margin: 2px 0 4px; }
.svc-promo .promo-tag { margin: 0; }
.svc-pp .pr-old { font-size: 11.5px; font-weight: 500; margin-right: 3px; }
.svc-pp .pr-new { color: #b4234a; }
.prd-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 3px 0 2px; font-size: 12.5px; }
.prd-promo .promo-tag { margin: 0; }
.prd-promo .pr-old { font-size: 11.5px; }
/* Histórico do One Beleza (Comissões) recolhido: abre e fecha ao tocar (20/nov/2026) */
.hist-com.hc-acc > summary { list-style: none; cursor: pointer; margin: 0; padding: 2px 0; user-select: none; }
.hist-com.hc-acc > summary::-webkit-details-marker { display: none; }
.hist-com.hc-acc > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 12px; }
.hc-tg { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--gold-d); }
.hc-tg em { font-style: normal; }
.hc-tg i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-t); transition: transform .25s var(--ease), background .2s; }
.hc-tg i svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.hist-com.hc-acc:not([open]) .hc-fechar, .hist-com.hc-acc[open] .hc-ver { display: none; }
.hist-com.hc-acc[open] .hc-tg i { transform: rotate(180deg); background: var(--gold); color: #fff; }
.hist-com.hc-acc > summary:hover .hc-tg i { background: var(--gold); color: #fff; }
.hist-com.hc-acc .hc-body { margin-top: 12px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--gold) 18%, white); animation: fadein .22s var(--ease); }
.hist-com.hc-acc > summary::after, .hist-com.hc-acc[open] > summary::after { content: none; display: none; }
.hist-com.hc-acc > summary.hc-head { display: flex; }

/* Calendário próprio nas janelas (20/nov/2026) */
.dp { position: relative; display: block; }
.dp-native { position: absolute !important; left: 12px; bottom: 0; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.dp-btn { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--gold) 26%, white); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; }
.dp-btn:hover { border-color: var(--gold); }
.dp-btn:active { transform: scale(.99); }
.dp.open .dp-btn { border-color: var(--gold-d); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 16%, transparent); }
.dp-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--gold), var(--gold-d)); }
.dp-ic svg { width: 19px; height: 19px; }
.dp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.dp-t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-t small { font-size: 12px; color: var(--muted); } .dp-t small:empty { display: none; }
.dp-btn.empty .dp-t b { color: var(--muted); font-weight: 600; }
.dp-chev { flex: none; color: var(--gold-d); transition: transform .2s var(--ease); } .dp-chev svg { width: 16px; height: 16px; }
.dp.open .dp-chev { transform: rotate(180deg); }
.dp-pop { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(310px, calc(100vw - 40px)); padding: 12px; border-radius: 20px; background: var(--paper); border: 1px solid color-mix(in srgb, var(--gold) 28%, white); box-shadow: 0 24px 50px -18px rgba(40, 25, 10, .45), 0 2px 6px rgba(40, 25, 10, .08); transform-origin: top left; animation: dpIn .2s var(--ease) both; }
.dp-pop.right { left: auto; right: 0; transform-origin: top right; }
.dp-pop.out { animation: dpOut .15s ease both; }
@keyframes dpIn { from { opacity: 0; transform: translateY(-6px) scale(.96); } }
@keyframes dpOut { to { opacity: 0; transform: translateY(-4px) scale(.97); } }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.dp-mes { font-family: var(--font-title, inherit); font-size: 17px; text-transform: capitalize; } .dp-mes em { font-style: normal; color: var(--muted); font-weight: 600; }
.dp-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--gold-d); display: grid; place-items: center; cursor: pointer; transition: background .15s, transform .1s; }
.dp-nav:hover { background: color-mix(in srgb, var(--gold) 12%, white); } .dp-nav:active { transform: scale(.9); } .dp-nav svg { width: 16px; height: 16px; }
.dp-wk, .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.dp-wk span { text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); padding: 4px 0; }
.dp-grid { row-gap: 3px; }
.dp-d { position: relative; height: 38px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 12px; animation: dpDay .25s var(--ease) both; animation-delay: calc(var(--i) * 6ms); transition: background .12s, color .12s, transform .1s; }
@keyframes dpDay { from { opacity: 0; transform: scale(.7); } }
.dp-grid.in-r .dp-d { animation-name: dpR; } .dp-grid.in-l .dp-d { animation-name: dpL; }
@keyframes dpR { from { opacity: 0; transform: translateX(14px); } } @keyframes dpL { from { opacity: 0; transform: translateX(-14px); } }
.dp-d:hover:not(:disabled) { background: color-mix(in srgb, var(--gold) 16%, white); }
.dp-d:active:not(:disabled) { transform: scale(.88); }
.dp-d:disabled { color: color-mix(in srgb, var(--muted) 45%, transparent); cursor: default; }
.dp-d.today::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold-d); }
.dp-d.rng { background: color-mix(in srgb, var(--gold) 16%, white); border-radius: 0; }
.dp-d.rs { border-radius: 12px 0 0 12px; } .dp-d.re { border-radius: 0 12px 12px 0; } .dp-d.rs.re { border-radius: 12px; }
.dp-d.sel { background: linear-gradient(150deg, var(--gold), var(--gold-d)); color: #fff; box-shadow: 0 6px 14px -8px var(--gold-d); border-radius: 12px; }
.dp-d.sel.today::after { background: #fff; }
.dp-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.dp-quick button { flex: 1 1 auto; min-height: 32px; padding: 0 10px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--gold) 30%, white); background: #fff; color: var(--gold-d); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .15s, transform .1s; }
.dp-quick button:hover { background: color-mix(in srgb, var(--gold) 12%, white); } .dp-quick button:active { transform: scale(.94); }
.dp-sum { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12.5px; font-weight: 600; color: var(--gold-d); } .dp-sum svg { width: 14px; height: 14px; }

/* Promoção: escolha interativa (20/nov/2026) */
.pm-chip[aria-pressed=true] .cat-ico { filter: none; background: rgba(255, 255, 255, .22); color: #fff; }
.pm-chip { transition: transform .1s, background .15s, border-color .15s, color .15s; } .pm-chip:active { transform: scale(.95); }
.pm-ic.pop, .pm-it.pop { animation: pmPop .28s var(--ease); }
@keyframes pmPop { 40% { transform: scale(.9); } 70% { transform: scale(1.06); } }
.pm-fast { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.pm-fast button { min-height: 30px; padding: 0 12px; border-radius: 99px; border: 1px dashed color-mix(in srgb, var(--gold) 45%, white); background: transparent; color: var(--gold-d); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.pm-fast button:hover { background: color-mix(in srgb, var(--gold) 10%, white); border-style: solid; }
.pm-pick { margin-top: 8px; border-radius: 16px; border: 1.5px solid color-mix(in srgb, var(--gold) 22%, white); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pm-pick.open { border-color: var(--gold); box-shadow: 0 10px 24px -18px var(--gold-d); }
.pm-pick-h { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.pm-pick-h:hover { background: color-mix(in srgb, var(--gold) 6%, white); }
.pm-pick-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 14%, white); color: var(--gold-d); } .pm-pick-ic svg { width: 15px; height: 15px; }
.pm-pick-h b { flex: 1; font-size: 13.5px; }
.pm-pick-h em { font-style: normal; padding: 2px 9px; border-radius: 99px; background: var(--gold-d); color: #fff; font-size: 11.5px; font-weight: 700; } .pm-pick-h em:empty { display: none; }
.pm-pick-chev { color: var(--gold-d); transition: transform .2s var(--ease); display: grid; } .pm-pick-chev svg { width: 15px; height: 15px; }
.pm-pick.open .pm-pick-chev { transform: rotate(180deg); }
.pm-pick-b { display: none; padding: 0 12px 12px; max-height: 340px; overflow: auto; }
.pm-pick.open .pm-pick-b { display: block; animation: dpIn .2s var(--ease) both; }
.pm-find { position: sticky; top: 0; z-index: 2; display: flex; gap: 6px; padding: 4px 0 8px; background: #fff; }
.pm-find input { flex: 1; margin: 0; min-height: 38px; }
.pm-clear { flex: none; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.pm-gt { display: flex; align-items: center; gap: 6px; margin: 8px 0 6px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-d); }
.pm-gt .cat-ico { width: 22px; height: 22px; border-radius: 7px; } .pm-gt .cat-ico svg { width: 13px; height: 13px; }
.pm-its { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.pm-it { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--gold) 16%, white); background: color-mix(in srgb, var(--gold) 3%, white); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.pm-it:hover { border-color: color-mix(in srgb, var(--gold) 55%, white); }
.pm-it[hidden] { display: none; }
.pm-ck { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid color-mix(in srgb, var(--gold) 40%, white); background: #fff; color: transparent; transition: all .15s; }
.pm-ck svg { width: 13px; height: 13px; }
.pm-it[aria-pressed=true] { border-color: var(--gold-d); background: color-mix(in srgb, var(--gold) 12%, white); }
.pm-it[aria-pressed=true] .pm-ck, .pm-it.cov .pm-ck { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.pm-it.cov { opacity: .75; } .pm-it.cov .pm-ck { background: color-mix(in srgb, var(--gold) 55%, white); border-color: transparent; }
.pm-it-t { min-width: 0; display: flex; flex-direction: column; } .pm-it-t b { font-size: 13.5px; font-weight: 600; }
.pm-it-t small { font-size: 12px; color: var(--muted); } .pm-it-t small s { opacity: .7; } .pm-it-t small b { color: #1f8a4c; font-weight: 800; font-size: 12px; } .pm-it-t small i { font-style: normal; }
.pm-none { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.pm-prev { transition: background .2s; }
.pm-prev.ok { background: linear-gradient(135deg, #fff1f4, #f2fbf4); border-color: #cfe9d6; }
.pm-prev-t { display: block; margin-bottom: 6px; }
.pm-prev ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pm-prev li { display: flex; align-items: baseline; gap: 8px; animation: dpIn .2s var(--ease) both; }
.pm-prev li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-prev li s { color: var(--muted); font-size: 12.5px; } .pm-prev li b { color: #1f8a4c; }
.pm-prev small { display: block; margin-top: 6px; color: var(--muted); }
.field:has(> .dp), .grid2 > .field { min-width: 0; }
.dp, .dp-btn { min-width: 0; max-width: 100%; }

/* horário: Remarcar com a largura inteira, como o consumo (20/nov/2026) */
.aa-els .el-move { grid-column: 1 / -1; }

/* horário: quadro do valor (promoção riscada, pagamento, comissão, taxa e o que fica para o salão), 20/nov/2026 */
.info.money-tile { flex-direction: column; gap: 10px; background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 9%, white)); border-color: color-mix(in srgb, var(--gold) 35%, white); }
.money-tile .mt-main { display: flex; gap: 10px; align-items: flex-start; width: 100%; }
.money-tile .mt-body { min-width: 0; }
.mt-v { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; }
.info .mt-v b { display: inline; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.mt-v .pr-old { font-size: 13px; }
.mt-v .promo-tag { margin: 0; }
.info .mt-pay { margin-top: 2px; }
.info .mt-wait { color: var(--muted); font-weight: 500; }
.mt-split { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding-top: 10px; border-top: 1px dashed var(--gold-l); }
.mt-split > span { background: #fff; border: 1px solid var(--gold-l); border-radius: 11px; padding: 7px 9px; min-width: 0; }
.mt-split small { font-size: 10.5px; }
.info .mt-split b { font-size: 14px; margin-top: 1px; white-space: nowrap; }
.mt-split .mt-liq { background: #eaf7ef; border-color: #bfe5cd; }
.info .mt-split .mt-liq b { color: #1f8a4c; }
@media (max-width: 560px) { .mt-split { grid-template-columns: 1fr 1fr; } }

/* ADM: painéis que abrem e fecham, escondidos por padrão, com o botão Mostrar em destaque (20/nov/2026) */
details.card.rc-panel { padding: 0; overflow: hidden; }
.rc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; cursor: pointer; list-style: none; user-select: none; }
.rc-head::-webkit-details-marker { display: none; }
.rc-head:hover { background: color-mix(in srgb, var(--gold) 5%, white); }
.rc-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 6px 14px -8px var(--gold-d); transition: transform .2s; }
.rc-head:hover .rc-ic { transform: rotate(-6deg) scale(1.05); }
.rc-ic svg, .rc-thi svg, .kt-ic svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rc-ic svg { width: 21px; height: 21px; }
.rc-t { flex: 1; min-width: 180px; }
.rc-t b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; }
.rc-t small { display: block; font-size: 12.5px; color: var(--muted); }
.rc-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.rc-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 10px 5px 5px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 9%, white); border: 1px solid var(--gold-l); white-space: nowrap; }
.rc-chip b { font-weight: 800; color: var(--gold-d); }
.rc-pg { font-style: normal; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; margin-right: 6px; border-radius: 7px; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2bb3a0, #1f8a7a); vertical-align: middle; }
.rc-chip .rc-pg { margin-right: 0; }
.rc-body { padding: 6px 16px 16px; border-top: 1px solid color-mix(in srgb, var(--gold) 16%, white); }
details.card.rc-panel > summary::after, details.card.mov-box > summary::after { content: "Mostrar"; float: none; flex: none; margin: 0 0 0 4px; display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 6px 14px -8px var(--gold-d); transition: transform .15s; }
details.card.rc-panel > summary:hover::after, details.card.mov-box > summary:hover::after { transform: translateY(-1px); }
details.card.rc-panel[open] > summary::after, details.card.mov-box[open] > summary::after { content: "Esconder"; color: var(--gold-d); background: #fff; box-shadow: inset 0 0 0 1.5px var(--gold-l); }
details.card.rc-panel[open] > summary, details.card.mov-box[open] > summary { margin-bottom: 0; }
.mov-head .mh-chev { display: none; }
.rc-thi { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 6px; vertical-align: -5px; background: color-mix(in srgb, var(--gold) 14%, white); color: var(--gold-d); }
.rc-thi svg { width: 12px; height: 12px; }
.rc-cal { display: inline-grid; grid-template-rows: auto auto; width: 38px; border-radius: 8px; overflow: hidden; text-align: center; vertical-align: middle; margin-right: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); background: #fff; }
.rc-cal i { font-style: normal; font-size: 9.5px; font-weight: 800; text-transform: uppercase; color: #fff; background: var(--gold-d); padding: 1px 0; }
.rc-cal b { font-size: 15px; font-weight: 800; line-height: 1.3; }
.rc-dow { font-weight: 600; color: var(--muted); }
/* Comercial: tempos de atendimento e de resposta */
.kpis-tempo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; }
.kt { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--gold-l); box-shadow: var(--shadow-1); }
.kt-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 15%, white); }
.kt.ok .kt-ic { color: #1f8a4c; background: #e3f3e9; }
.kt.fora .kt-ic { color: #6b4fc4; background: #efeafd; }
.kt-ic svg { width: 21px; height: 21px; }
.kt-tx small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.kt-tx b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.kt-tx em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .kpis-tempo { grid-template-columns: 1fr; } .rc-chips { justify-content: flex-start; width: 100%; } }

/* ---------- Equipe mais visual: Horários, Acessos e inativa em Profissionais (20/nov/2026) ---------- */
.pc-inat { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 12px; background: #fde8e6; border: 1px solid #f3b4ad; color: #b42318; cursor: pointer; opacity: 1; box-shadow: 0 4px 12px -6px rgba(180,35,24,.6); animation: pcInat 2s ease-in-out infinite; }
.pc-inat svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; flex: none; }
.pc-inat b { display: block; font-size: 12px; line-height: 1.1; }
.pc-inat small { display: block; font-size: 10.5px; text-decoration: underline; }
@keyframes pcInat { 50% { box-shadow: 0 0 0 4px rgba(180,35,24,.14); } }
.pro-card.off { opacity: .9; filter: saturate(.55); }
.pro-card.off .pc-inat { filter: saturate(1.8); }
.hz-intro { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.hz-intro svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; }
.hz-list { display: grid; gap: 14px; }
.hz-card { position: relative; padding: 16px; border-radius: 20px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) 22%, white); box-shadow: 0 14px 30px -24px color-mix(in srgb, var(--ink) 60%, transparent); overflow: hidden; }
.hz-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--pc), color-mix(in srgb, var(--pc) 30%, white)); }
.hz-card.off { background: color-mix(in srgb, var(--gold) 4%, white); filter: saturate(.6); }
.hz-card.foco { animation: hzFoco 1.6s ease-out 2; border-color: #b42318; }
@keyframes hzFoco { 0% { box-shadow: 0 0 0 0 rgba(180,35,24,.5); } 100% { box-shadow: 0 0 0 14px rgba(180,35,24,0); } }
.hz-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hz-top .avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px color-mix(in srgb, var(--pc) 55%, white); }
.hz-who { flex: 1; min-width: 160px; }
.hz-who > b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; }
.hz-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.hz-cargo, .hz-rank, .hz-off { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; border: 1px solid; font-size: 12px; font-weight: 800; }
.hz-rank { background: #fff8e1; border-color: #f2d58a; color: #8a6200; }
.hz-rank.r1 { background: linear-gradient(135deg, #fff3c4, #ffe08a); border-color: #e8c25a; }
.hz-rank.r2 { background: linear-gradient(135deg, #f4f5f7, #dfe3e8); border-color: #c4cad3; color: #4a5260; }
.hz-rank.r3 { background: linear-gradient(135deg, #fbe9dc, #f1cdb0); border-color: #ddaa85; color: #7c4a26; }
.hz-off { background: #fde8e6; border-color: #f3b4ad; color: #b42318; }
.hz-off svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.hz-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.hz-btns .btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.hz-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 14px 0 12px; }
.hz-d { display: grid; justify-items: center; align-content: start; gap: 1px; min-height: 76px; padding: 7px 2px; border-radius: 13px; border: 1.5px solid color-mix(in srgb, var(--gold) 20%, white); background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: transform .1s, border-color .15s, background .15s; }
.hz-d:hover { border-color: var(--gold); }
.hz-d:active { transform: scale(.95); }
.hz-d small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 3px; }
.hz-d b { font-size: 13.5px; font-weight: 800; }
.hz-d i { font-style: normal; font-size: 9.5px; color: var(--muted); }
.hz-d em { margin-top: 10px; font-style: normal; font-size: 11.5px; color: var(--muted); }
.hz-d.on { background: linear-gradient(170deg, color-mix(in srgb, var(--pc) 16%, white), #fff); border-color: color-mix(in srgb, var(--pc) 45%, white); }
.hz-d.on small { color: color-mix(in srgb, var(--pc) 70%, var(--ink)); }
.hz-d:not(.on) { background: repeating-linear-gradient(135deg, #fff 0 6px, color-mix(in srgb, var(--gold) 7%, white) 6px 8px); }
.hz-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.hz-wa { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid #bfe9cf; background: #effbf3; color: var(--ink); font: inherit; text-align: left; }
.hz-wa.off { background: #f6f6f6; border-color: #dadada; }
.hz-wa.none { cursor: pointer; background: #fff4f2; border-color: #f3c0b8; }
.hz-wa-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--wa); }
.hz-wa-ic svg { width: 20px; height: 20px; fill: #fff; }
.hz-wa.off .hz-wa-ic { background: #9aa0a6; }
.hz-wa.none .hz-wa-ic { background: #e2725f; }
.hz-wa-t { flex: 1; min-width: 0; }
.hz-wa-t b { display: block; font-size: 14.5px; }
.hz-wa-t small { display: block; font-size: 12px; color: var(--muted); }
.hz-wa.none .hz-wa-t small { color: #b42318; }
.hz-aviso { flex: none; min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1.5px solid var(--wa); background: #fff; color: var(--wa-d); font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; transition: background .15s; }
.hz-aviso[aria-pressed=true] { background: var(--wa); color: #fff; }
.hz-aviso[aria-pressed=false] { border-color: #b8bcc2; color: #6b7280; }
.hz-fila { flex: 0 1 220px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 8%, white); font-size: 12px; color: var(--muted); }
.hz-fila svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold-d); stroke-width: 2; }
.hz-fila b { display: block; font-size: 14px; color: var(--ink); }
@media (max-width: 560px) { .hz-week { gap: 4px; } .hz-d { min-height: 68px; } .hz-d b { font-size: 12px; } }
.ac-legend { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 16%, white), #fff); border: 1px solid color-mix(in srgb, var(--gold) 35%, white); }
.ac-legend-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--gold-d); color: #fff; }
.ac-legend-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ac-legend b { display: block; font-size: 14px; }
.ac-legend small { display: block; font-size: 12.5px; color: var(--muted); }
.ac-list { display: grid; gap: 10px; }
.ac-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 18px; border: 1.5px solid color-mix(in srgb, var(--gold) 20%, white); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; }
.ac-card:hover { border-color: var(--gold); box-shadow: 0 12px 24px -18px color-mix(in srgb, var(--ink) 60%, transparent); }
.ac-card:active { transform: scale(.99); }
.ac-card.fixo { border-color: color-mix(in srgb, var(--gold) 60%, white); background: linear-gradient(120deg, color-mix(in srgb, var(--gold) 10%, white), #fff 60%); box-shadow: inset 4px 0 0 var(--gold-d); }
.ac-card.off { opacity: .6; }
.ac-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ac-t > b { font-size: 16px; }
.ac-off { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: #eee; font-size: 11px; color: #666; }
.ac-fixo { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; background: var(--gold-d); color: #fff; font-size: 11.5px; font-weight: 800; }
.ac-fixo svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ac-mail { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.ac-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-role, .ac-ag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: color-mix(in srgb, var(--gold) 12%, white); color: var(--gold-d); }
.ac-role.r-admin { background: #eef2ff; color: #3730a3; }
.ac-role.r-socia { background: #f3eefc; color: #5b3a9b; }
.ac-role.r-profissional { background: #fdf0f4; color: #9b2f55; }
.ac-ag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ac-ag.no { background: #f3f4f6; color: #6b7280; }
.ac-perm { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gold-d); font-weight: 700; }
.ac-perm svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.ac-go svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-d); stroke-width: 2.4; }
.ac-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.ac-opt { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--gold) 25%, white); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.ac-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ac-opt:has(input:checked) { border-color: var(--gold-d); background: color-mix(in srgb, var(--gold) 10%, white); box-shadow: 0 8px 18px -14px var(--gold-d); }
.ao-ic { flex: none; font-size: 22px; line-height: 1; }
.ao-t b { display: block; font-size: 14px; }
.ao-t small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.ac-help { display: block; margin: 2px 0 8px; font-size: 12.5px; }
.ac-pros { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.ac-pro { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--gold) 25%, white); background: #fff; cursor: pointer; }
.ac-pro input { position: absolute; opacity: 0; pointer-events: none; }
.ac-pro .avatar { width: 36px; height: 36px; font-size: 13px; }
.ac-pro b { display: block; font-size: 14px; }
.ac-pro small { display: block; font-size: 12px; color: var(--muted); }
.ac-pro-ck { margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--gold) 35%, white); color: transparent; }
.ac-pro-ck svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; }
.ac-pro:has(input:checked) { border-color: var(--gold-d); background: color-mix(in srgb, var(--gold) 10%, white); }
.ac-pro:has(input:checked) .ac-pro-ck { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
@media (max-width: 520px) { .ac-opts { grid-template-columns: 1fr; } }

/* Insights › Comercial: aviso de que o histórico importado está somado (20/nov/2026) */
.ins-hist { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 14px; border-radius: 14px; font-size: 13px; background: color-mix(in srgb, var(--gold) 9%, white); border: 1px dashed var(--gold); }
.ins-hist svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold-d); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ADM › Canais por canal (20/nov/2026): atalhos no topo, painéis por canal, várias mensagens com padrão e prévia */
.cn-hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.cn-mini { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 18px; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.cn-mini::after { content: ""; position: absolute; right: -28px; top: -28px; width: 90px; height: 90px; border-radius: 50%; opacity: .12; background: var(--cn, var(--gold)); transition: transform .3s; }
.cn-mini:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(0,0,0,.35); }
.cn-mini:hover::after { transform: scale(1.35); }
.cn-mini b { display: block; font-size: 14.5px; }
.cn-mini small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-mi { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--cn-g, linear-gradient(135deg, var(--gold), var(--gold-d))); box-shadow: 0 8px 16px -10px var(--cn, var(--gold-d)); }
.cn-mi svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cn-mi svg.wa { fill: #fff; stroke: none; }
.cn-mini-wa, .cn-wa { --cn: #25d366; --cn-g: linear-gradient(135deg, #3ee07a, #128c4a); }
.cn-mini-ig, .cn-ig { --cn: #dd2a7b; --cn-g: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.cn-mini-link, .cn-link { --cn: var(--gold-d); --cn-g: linear-gradient(135deg, var(--gold), var(--gold-d)); }
details.cn-sec { border-top: 4px solid var(--cn); margin-bottom: 14px; }
details.cn-sec .rc-ic { background: var(--cn-g); box-shadow: 0 8px 16px -10px var(--cn); }
details.cn-sec .rc-ic svg.wa { fill: #fff; stroke: none; }
details.cn-sec > summary::after { background: var(--cn-g) !important; }
details.cn-sec[open] > summary::after { background: #fff !important; color: var(--cn) !important; box-shadow: inset 0 0 0 1.5px var(--cn) !important; }
details.cn-sec[open] > .rc-body { animation: cnIn .25s ease; }
@keyframes cnIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rc-chip.cn-st.ok { background: #e7f8ee; border-color: #b9e8cb; color: #12733d; font-weight: 700; padding-left: 10px; }
.rc-chip.cn-st.ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fbf5f; box-shadow: 0 0 0 3px #c9f1d9; }
.rc-chip.cn-st.off { background: #fdf0f0; border-color: #f2c9c9; color: #a12b2b; padding-left: 10px; }
.cn-conn { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 12px 0 6px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--cn) 6%, white); border: 1px solid color-mix(in srgb, var(--cn) 22%, white); }
.cn-conn > h3 { display: none; }
.cn-conn p { margin: 0; }
.cn-conn-ig { display: block; }
.cn-conn-ig .row { margin-top: 8px; }
.cn-ct { flex: 1; min-width: 180px; }
.cn-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #d9534f; box-shadow: 0 0 0 4px #f7d6d5; }
.cn-dot.ok { background: #1fbf5f; box-shadow: 0 0 0 4px #c9f1d9; animation: cnPulse 2s infinite; }
@keyframes cnPulse { 50% { box-shadow: 0 0 0 7px rgba(31,191,95,.12); } }
.cn-conn .btn svg { width: 15px; height: 15px; margin-right: 5px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; }
.cn-24h { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 12.5px; color: #8a2a5c; }
.cn-24h svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mm-tipos { display: grid; gap: 12px; margin-top: 14px; }
.mm-tipo { padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: border-color .2s, box-shadow .2s; }
.mm-tipo:focus-within { border-color: color-mix(in srgb, var(--cn) 45%, white); box-shadow: 0 10px 24px -18px var(--cn); }
.mm-top { display: flex; align-items: center; gap: 11px; }
.mm-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--cn, var(--gold-d)); background: color-mix(in srgb, var(--cn, var(--gold)) 12%, white); }
.mm-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mm-tt { flex: 1; min-width: 0; }
.mm-tt b { display: block; font-size: 15px; }
.mm-tt small { display: block; font-size: 12.5px; color: var(--muted); }
.mm-n { flex: none; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; color: var(--cn); background: color-mix(in srgb, var(--cn) 10%, white); }
.mm-sw { margin-top: 12px; }
.mm-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
.mm-pill, .mm-add { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--line); background: var(--paper); color: inherit; transition: transform .12s, background .15s, border-color .15s; max-width: 100%; }
.mm-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-pill:hover, .mm-add:hover { transform: translateY(-1px); }
.mm-pill.on { color: #fff; border-color: transparent; background: var(--cn-g); box-shadow: 0 6px 14px -9px var(--cn); }
.mm-pill svg, .mm-add svg, .mm-badge svg, .mm-padbtn svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mm-pill.pad svg { fill: #f5b301; stroke: #f5b301; }
.mm-pill.on.pad svg { fill: #fff; stroke: #fff; }
.mm-add { border-style: dashed; border-color: color-mix(in srgb, var(--cn) 50%, white); color: var(--cn); background: #fff; }
.mm-ed { padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--cn) 3%, var(--paper)); border: 1px solid color-mix(in srgb, var(--cn) 14%, white); }
.mm-edhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.mm-nome { flex: 1; min-width: 160px; font-weight: 700; }
.mm-badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #8a5a00; background: linear-gradient(135deg, #fff4cf, #ffe39a); border: 1px solid #f3cf6a; }
.mm-badge svg { fill: #f5b301; stroke: #d99a00; }
.mm-padbtn svg { margin-right: 4px; vertical-align: -2px; }
.mm-del { color: #b42318; }
.mm-del svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.mm-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.mm-field { margin: 0; }
.mm-field textarea { min-height: 150px; height: 100%; font-size: 14px; line-height: 1.45; }
.mm-prev { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 14px; min-width: 0; background-color: #efe7dd; background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1.4px); background-size: 14px 14px; }
.mm-prev-ig { background-color: #fff; background-image: linear-gradient(180deg, #fff, #fbf2f8); border: 1px solid #f1dbe8; }
.mm-prev > small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #54656f; }
.mm-prev > small svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.mm-prev > small svg.wa { fill: #25d366; stroke: none; }
.mm-bub { position: relative; align-self: flex-start; max-width: 100%; padding: 8px 10px 18px; border-radius: 4px 12px 12px 12px; background: #fff; font-size: 13.5px; line-height: 1.42; word-wrap: break-word; box-shadow: 0 1px 1px rgba(0,0,0,.12); min-width: 90px; }
.mm-prev-wa .mm-bub { align-self: flex-end; border-radius: 12px 4px 12px 12px; background: #d9fdd3; }
.mm-prev-ig .mm-bub { align-self: flex-end; border-radius: 18px 18px 4px 18px; color: #fff; background: linear-gradient(135deg, #8134af, #dd2a7b); box-shadow: none; }
.mm-bub em { position: absolute; right: 8px; bottom: 3px; font-style: normal; font-size: 10.5px; color: #667781; }
.mm-prev-wa .mm-bub em { color: #53bdeb; }
.mm-prev-ig .mm-bub em { color: rgba(255,255,255,.8); }
.mm-save { position: sticky; bottom: 8px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border: 1px solid var(--line); box-shadow: 0 12px 26px -20px rgba(0,0,0,.4); }
.mm-save svg { width: 15px; height: 15px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; }
.mm-save .btn { background: var(--cn-g); border-color: transparent; color: #fff; }
.cn-linkrow input { flex: 1; min-width: 0; font-weight: 600; }
.cn-linkresp { display: flex; gap: 11px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 9%, white)); border: 1px dashed var(--gold); }
.cn-linkresp b { display: block; font-size: 14px; }
.cn-linkresp small { display: block; font-size: 12.5px; color: var(--muted); }
@media (max-width: 760px) { .mm-grid { grid-template-columns: 1fr; } .mm-field textarea { min-height: 130px; } }
@media (max-width: 560px) { .cn-hero { grid-template-columns: 1fr 1fr; } .cn-mini-link { grid-column: 1 / -1; } .cn-mini { padding: 11px 12px; } .mm-tipo { padding: 12px; } .mm-top { flex-wrap: wrap; } }
/* Chat: botão e caixa de mensagens prontas */
.cp-input { position: relative; }
.cp-tpl { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--gold-d); background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 37%, white); transition: transform .15s, background .15s; }
.cp-tpl:hover, .cp-tpl.on { transform: scale(1.06); color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.cp-tpl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cp-tplbox { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 6px); max-height: min(360px, 55vh); overflow: auto; z-index: 5; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 22px 40px -22px rgba(0,0,0,.45); animation: cnIn .18s ease; }
.cp-tplh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 4px 8px; }
.cp-tplh small { color: var(--muted); font-size: 12px; }
.cp-tplg > small { display: block; margin: 6px 4px 4px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cp-tplg button { width: 100%; display: flex; align-items: flex-start; gap: 8px; text-align: left; padding: 9px 10px; border: 0; border-radius: 12px; background: none; font: inherit; color: inherit; cursor: pointer; }
.cp-tplg button:hover { background: color-mix(in srgb, var(--gold) 9%, white); }
.cp-tplg button svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: #f5b301; stroke: #d99a00; }
.cp-tplg button span { min-width: 0; }
.cp-tplg b { display: block; font-size: 13.5px; }
.cp-tplg em { display: block; font-style: normal; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 20/nov/2026: nome completo, horário livre centralizado, ícone do pagamento, dinheiro em caixa, bloqueio, uso da agenda ---------- */
.nc-tag { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 14%, white); color: var(--gold-d); font-size: 11px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.sm-head { flex-direction: column; text-align: center; gap: 8px; padding: 16px 12px; }
.sm-who small { justify-content: center; }
.sm-free { text-align: center; }
.sm-free-t { justify-content: center; }
.mt-pay-ic { display: inline-grid; vertical-align: -5px; margin-right: 5px; }
.mt-pay-ic svg { width: 20px; height: 20px; display: block; }
.din-caixa { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #e9f8ee, #fff 70%); border: 1.5px solid #bfe6cd; box-shadow: 0 10px 24px -20px rgba(29,138,74,.6); }
.dc-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #fff; box-shadow: 0 2px 8px -3px rgba(0,0,0,.25); }
.dc-ic svg { width: 32px; height: 32px; }
.dc-t { display: grid; gap: 1px; }
.dc-t small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #1d6b41; }
.dc-t b { font-family: var(--display); font-weight: 400; font-size: 26px; color: #146c3b; }
.dc-t em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.blk-head { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, #fde8e6, #fff); border: 1px solid #f3c0b8; }
.blk-who { flex: 1; min-width: 0; }
.blk-who b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; }
.blk-who small { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.blk-who small svg, .blk-badge svg, .blk-note svg, .blk-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.blk-badge { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 12px; background: #b42318; color: #fff; font-size: 13px; font-weight: 800; }
.blk-time { display: flex; align-items: flex-end; gap: 8px; margin: 14px 0 10px; }
.blk-t { flex: 1; display: grid; gap: 4px; margin: 0; }
.blk-t small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #b42318; }
.blk-t input { margin: 0; min-height: 52px; font-size: 20px; font-weight: 800; text-align: center; border: 1.5px solid #f3c0b8; border-radius: 14px; }
.blk-arrow { padding-bottom: 14px; font-size: 20px; color: #b42318; }
.blk-dur { flex: none; align-self: stretch; display: grid; place-items: center; min-width: 64px; padding: 0 10px; border-radius: 14px; background: #b42318; color: #fff; font-weight: 800; font-size: 16px; }
.blk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.blk-chip { min-height: 38px; padding: 0 12px; border-radius: 99px; border: 1.5px solid #f3c0b8; background: #fff; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .15s, transform .1s; }
.blk-chip:active { transform: scale(.95); }
.blk-chip[aria-pressed=true] { background: #b42318; border-color: #b42318; color: #fff; }
.blk-note { display: flex; gap: 6px; align-items: flex-start; margin: 4px 0 12px; font-size: 12.5px; color: var(--muted); }
.blk-go { background: linear-gradient(135deg, #d6463a, #a51f15) !important; border-color: #a51f15 !important; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
@media (max-width: 420px) { .blk-time { flex-wrap: wrap; } .blk-arrow { display: none; } .blk-dur { flex: 1 1 100%; min-height: 36px; } }
.pc-ag { display: grid; gap: 8px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 6%, white); border: 1px solid color-mix(in srgb, var(--gold) 18%, white); }
.pc-ag-h { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-d); }
.pc-ag-h svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.pc-ag-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px; }
.pc-ag-row small { font-size: 12.5px; color: var(--muted); }
.pc-ag-row b { font-size: 15px; }
.pc-bar { grid-column: 1 / -1; display: block; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 14%, white); overflow: hidden; }
.pc-bar s { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6cc48f, #1d8a4a); text-decoration: none; }
.pc-ag-blk { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; border: 1px solid; }
.pc-ag-blk b { display: block; font-size: 12.5px; }
.pc-ag-blk small { display: block; font-size: 11.5px; opacity: .85; }
.pb-ic { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: currentColor; }
.pb-ic svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.2; }
.lv-ok { color: #1d6b41; background: #e9f8ee; border-color: #bfe6cd; }
.lv-leve { color: #4b5563; background: #f3f4f6; border-color: #dcdfe4; }
.lv-medio { color: #8a6200; background: #fff6d8; border-color: #f2d58a; }
.lv-alto { color: #b42318; background: #fde8e6; border-color: #f3b4ad; }
.lv-crit { color: #fff; background: #a51f15; border-color: #a51f15; animation: pcInat 1.6s ease-in-out infinite; }
.lv-crit .pb-ic { background: #fff; } .lv-crit .pb-ic svg { stroke: #a51f15; }
.pc-ag-leg { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.pc-ag-leg svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; margin-top: 2px; }
.pc-ag-leg i { font-style: normal; display: inline-block; margin: 2px 2px 0 0; padding: 1px 8px; border-radius: 99px; border: 1px solid; font-size: 11.5px; font-weight: 700; }

/* Insights › Por profissional (20/nov/2026) */
.ins-sec[data-ins="pro"] .ins-ic { background: linear-gradient(135deg, #e0789a, #b4234a); }
.ip-salao { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 4px 0 10px; }
.ip-k { display: flex; gap: 9px; align-items: flex-start; padding: 10px 11px; border-radius: 14px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.ip-k > span:last-child { min-width: 0; }
.ip-k small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.ip-k b { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; }
.ip-k em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.ip-ki { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 12%, white); }
.ip-ki svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ip-k.hero { background: linear-gradient(135deg, #1f352c, #12231c); border-color: transparent; color: #fff; }
.ip-k.hero small, .ip-k.hero em { color: rgba(255,255,255,.72); }
.ip-k.hero .ip-ki { color: #fff; background: rgba(255,255,255,.14); }
.ip-k.ok { background: #eef9f2; border-color: #c4ead2; } .ip-k.ok b { color: #1a7f45; } .ip-k.ok .ip-ki { color: #1a7f45; background: #d6f2e1; }
.ip-k.warn { background: #fff8e6; border-color: #f4dc9a; } .ip-k.warn b { color: #9a6a00; } .ip-k.warn .ip-ki { color: #9a6a00; background: #fbecc0; }
.ip-k.bad { background: #fdf0f0; border-color: #f2c9c9; } .ip-k.bad b { color: #b42318; } .ip-k.bad .ip-ki { color: #b42318; background: #f9dada; }
.ip-nota { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.ip-nota svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.ip-card { padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--pc); box-shadow: var(--shadow-1); transition: transform .18s, box-shadow .18s; }
.ip-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(0,0,0,.4); }
.ip-card header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ip-card header b { font-size: 16px; }
.ip-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pc) 20%, white); }
.ip-hero { padding: 12px; border-radius: 14px; margin-bottom: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--pc) 8%, white), #fff); border: 1px solid color-mix(in srgb, var(--pc) 22%, white); }
.ip-big small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ip-big b { display: block; font-family: var(--display); font-size: 30px; line-height: 1.1; letter-spacing: -.01em; }
.ip-big em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); }
.ip-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin: 10px 0 6px; background: #f0ece6; }
.ip-bar i { display: block; height: 100%; transition: width .6s ease; }
.ip-bar .o, .ip-leg .o { background: var(--pc); } .ip-bar .b, .ip-leg .b { background: #e2574c; } .ip-bar .l, .ip-leg .l { background: #9fd4b0; }
.ip-leg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--muted); }
.ip-leg i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 4px; }
.ip-ks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (max-width: 900px) { .ip-salao { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ip-salao .hero { grid-column: 1 / -1; } }
@media (max-width: 420px) { .ip-grid { grid-template-columns: 1fr; } .ip-ks { grid-template-columns: 1fr; } }

/* janela do horário: Consumo e, embaixo, Venda de produto; Vender produto com a profissional que vendeu (20/nov/2026) */
.aa-els .el-venda { order: 2; grid-column: 1 / -1; }
.ael-ic.venda-ic { background: linear-gradient(140deg, #fde2ea, #e0789a); color: #8a1c3f; box-shadow: 0 6px 14px -8px rgba(138, 28, 63, .55); }
.ael-ic.venda-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.venda-ic .vs-bag { fill: #fff6f9; }
.el-venda:hover .venda-ic svg { animation: vendaPula .6s ease; }
@keyframes vendaPula { 40% { transform: translateY(-3px) rotate(-6deg); } }
.vend-pro .vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.vp-opt { position: relative; cursor: pointer; }
.vp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vp-opt span { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; transition: border-color .15s, box-shadow .15s, transform .12s; }
.vp-opt span:hover { transform: translateY(-1px); }
.vp-av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: var(--pc, var(--gold)); }
.vp-none .vp-av { background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.vp-av svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.vp-opt input:checked + span { border-color: var(--pc, var(--gold-d)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc, var(--gold)) 22%, white); }
.vp-opt input:focus-visible + span { outline: 2px solid var(--gold-d); outline-offset: 2px; }
.vp-hint { display: block; margin-top: 8px; font-size: 12.5px; }

/* ---------- Insights › Por profissional: período, por semana, etiquetas, bloqueio comercial e fora do horário (20/nov/2026) ---------- */
.ipf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; transition: opacity .2s; }
.ipf.loading { opacity: .5; pointer-events: none; }
.ipf-b { min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1.5px solid color-mix(in srgb, var(--gold) 28%, white); background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ipf-b[aria-pressed=true] { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.ipf-r { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.ipf-r svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; border: 1px solid; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.ip-tag svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ip-tag.ok { color: #1d6b41; background: #e9f8ee; border-color: #bfe6cd; }
.ip-tag.warn { color: #8a6200; background: #fff6d8; border-color: #f2d58a; }
.ip-tag.bad { color: #b42318; background: #fde8e6; border-color: #f3b4ad; }
.ip-tag.bad.crit { color: #fff; background: #a51f15; border-color: #a51f15; }
.ip-tag.livre { color: #3558c7; background: #e8eefc; border-color: #c4d2f5; }
.ip-tag.cheia { color: #7a3fc0; background: #f1e8fb; border-color: #dcc6f2; }
.ip-card header { flex-wrap: wrap; gap: 6px; }
.ipw { margin: 4px 0 12px; border-radius: 16px; border: 1.5px solid color-mix(in srgb, var(--gold) 22%, white); background: #fff; overflow: hidden; }
.ipw summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.ipw summary::-webkit-details-marker { display: none; }
.ipw-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--gold) 14%, white); color: var(--gold-d); }
.ipw-ic svg, .ipw-chev svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ipw-t { flex: 1; min-width: 0; }
.ipw-t b { display: block; font-size: 15px; }
.ipw-t small { display: block; font-size: 12px; color: var(--muted); }
.ipw-chev { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 12%, white); color: var(--gold-d); transition: transform .2s; }
.ipw[open] .ipw-chev { transform: rotate(180deg); }
.ipw[open] summary { border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, white); }
.ipw .table-wrap { padding: 0 8px; }
.ipw-tb td, .ipw-tb th { white-space: nowrap; }
.ip-leg2 { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 14px 12px; }

/* Caixa: "Dinheiro em caixa" como quarto cartão do topo (20/nov/2026) */
.cash-top:has(.cash-card.din) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cash-card.din { background: linear-gradient(135deg, #f1fbf4, #fff); border-color: #bfe5cd; }
.cash-card.din .cc-ic { color: #fff; background: linear-gradient(135deg, #3fb57a, #1f7a50); }
.cash-card.din .cc-ic svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cash-card.din b { color: #1a7f45; }
.cash-card.din.neg b { color: #b42318; }
@media (max-width: 900px) { .cash-top:has(.cash-card.din) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cash-top:has(.cash-card.din) { grid-template-columns: 1fr; } }

/* Regras e taxas › remuneração da equipe; painel da profissional › Remuneração; Financeiro › Assinaturas (20/nov/2026) */
.rm-head { display: flex; gap: 12px; align-items: flex-start; }
.rm-head h3 { margin: 0 0 2px; }
.rm-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 8px 16px -10px var(--gold-d); }
.rm-ic svg, .rm-oi svg, .rm-ok svg, .rm-go svg, .rm-pro svg, .rm-procard h3 svg, .rm-bens-h svg, .rm-note svg, .as-hero svg, .as-empty svg, .as-card svg, .as-how svg, .pl-form .fx-sec-t svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rm-ic svg { width: 22px; height: 22px; }
.rm-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.rm-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; }
.rm-opt:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(0,0,0,.4); }
.rm-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rm-oi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 12%, white); margin-bottom: 4px; transition: background .15s, color .15s; }
.rm-oi svg { width: 19px; height: 19px; }
.rm-opt b { font-size: 15px; } .rm-opt small { font-size: 12.5px; color: var(--muted); }
.rm-ok { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--gold-d); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.rm-ok svg { width: 13px; height: 13px; stroke-width: 3; }
.rm-opt:has(input:checked) { border-color: var(--gold-d); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 9%, white)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, white); }
.rm-opt:has(input:checked) .rm-oi { color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.rm-opt:has(input:checked) .rm-ok { opacity: 1; transform: none; }
.rm-opt:has(input:focus-visible) { outline: 2px solid var(--gold-d); outline-offset: 2px; }
.rm-opts.sm .rm-opt { padding: 11px 12px; } .rm-opts.sm .rm-oi { width: 32px; height: 32px; }
.rm-pros { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.rm-pro { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; cursor: pointer; transition: transform .12s, border-color .12s; }
.rm-pro:hover { transform: translateY(-1px); border-color: var(--pc); }
.rm-pro > i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: var(--pc); }
.rm-pro b { display: block; font-size: 13px; } .rm-pro b em { font-style: normal; font-weight: 500; color: var(--muted); }
.rm-pro small { display: block; font-size: 11.5px; color: var(--muted); text-align: left; }
.rm-pro > svg { width: 14px; height: 14px; color: var(--muted); }
.rm-go { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; font: inherit; color: #fff; background: linear-gradient(120deg, #1f352c, #12231c 60%, #1f6f4e); box-shadow: 0 16px 30px -20px #12231c; position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.rm-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); transform: translateX(-100%); animation: rmBrilho 3.2s ease-in-out infinite; }
@keyframes rmBrilho { 60%, 100% { transform: translateX(100%); } }
.rm-go:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -20px #12231c; }
.rm-go-ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.rm-go-ic svg { width: 20px; height: 20px; }
.rm-go b { display: block; font-size: 15.5px; } .rm-go small { display: block; font-size: 12.5px; opacity: .78; }
.rm-go > span:nth-child(2) { flex: 1; }
.rm-go-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #9fd4b0; color: #12231c; transition: transform .2s; }
.rm-go:hover .rm-go-arrow { transform: translateX(4px); }
.rm-go-arrow svg { width: 17px; height: 17px; stroke-width: 2.5; }
.rm-procard h3 svg { width: 18px; height: 18px; vertical-align: -3px; }
.rm-fixo { margin: 0 0 10px; max-width: 320px; }
.rm-bens { padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 5%, var(--paper)); border: 1px dashed color-mix(in srgb, var(--gold) 40%, white); margin-bottom: 10px; }
.rm-bens-h b { display: flex; align-items: center; gap: 6px; } .rm-bens-h svg { width: 16px; height: 16px; color: #d0567a; }
.rm-bens-h small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.rb-list { display: grid; gap: 8px; margin-bottom: 8px; }
.rb-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.rb-v { display: flex; align-items: center; } .rb-v input { min-width: 0; width: 100%; }
.rb-del { color: #b42318; } .rb-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.rm-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 0 0 12px; } .rm-note svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
@media (max-width: 640px) { .rm-opts { grid-template-columns: 1fr; } .rb-row { grid-template-columns: 1fr 1fr; } .rb-row .rb-n { grid-column: 1 / -1; } }
.as-hero { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 18px; border-radius: 22px; margin-bottom: 14px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(159,212,176,.35), transparent 40%), linear-gradient(120deg, #1f352c, #12231c); box-shadow: 0 20px 36px -26px #12231c; }
.as-hero > span:nth-child(2) { flex: 1; min-width: 220px; } .as-hero b { display: block; font-family: var(--display); font-size: 21px; } .as-hero small { display: block; font-size: 13px; opacity: .8; }
.as-hero-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #ffd76a; }
.as-hero-ic svg { width: 26px; height: 26px; }
.as-hero .btn { background: #9fd4b0; color: #12231c; border-color: transparent; }
.as-hero .btn svg, .as-empty .btn svg { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }
.as-empty { text-align: center; padding: 34px 18px; border-radius: 22px; border: 2px dashed color-mix(in srgb, var(--gold) 40%, white); background: #fff; margin-bottom: 14px; }
.as-empty-ic { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 12%, white); animation: asFlutua 3s ease-in-out infinite; }
@keyframes asFlutua { 50% { transform: translateY(-5px); } }
.as-empty-ic svg { width: 30px; height: 30px; } .as-empty b { display: block; font-size: 17px; } .as-empty p { max-width: 460px; margin: 6px auto 14px; color: var(--muted); font-size: 14px; }
.as-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 14px; }
.as-card { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; cursor: pointer; box-shadow: var(--shadow-1); border-top: 4px solid var(--gold); transition: transform .15s, box-shadow .15s; }
.as-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -22px rgba(0,0,0,.4); } .as-card.off { opacity: .65; }
.as-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .as-top b { font-size: 16px; }
.as-price { display: flex; align-items: baseline; gap: 6px; } .as-price b { font-family: var(--display); font-size: 28px; } .as-price small { color: var(--muted); }
.as-items { display: grid; gap: 3px; font-size: 13px; } .as-items span { display: flex; align-items: center; gap: 6px; } .as-items svg { width: 14px; height: 14px; color: #1f8a4c; stroke-width: 2.5; }
.as-foot { display: grid; gap: 2px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); } .as-foot svg { width: 13px; height: 13px; vertical-align: -2px; }
.as-how ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; } .as-how h3 svg { width: 18px; height: 18px; vertical-align: -3px; }
.pl-form .fx-sec-t svg { width: 16px; height: 16px; vertical-align: -3px; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-chip { position: relative; cursor: pointer; } .pl-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pl-chip span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; transition: all .15s; }
.pl-chip input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.pl-g { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 6px; background: #fff; overflow: hidden; }
.pl-g summary { padding: 10px 12px; cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; } .pl-g summary small { color: var(--muted); font-weight: 600; }
.pl-svc { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px; border-top: 1px solid var(--line); }
.pl-svc label { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: 14px; }
.pl-qty { width: 100px; flex: none; }
.pl-com { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-copt { position: relative; cursor: pointer; } .pl-copt input { position: absolute; opacity: 0; pointer-events: none; }
.pl-copt span { display: block; height: 100%; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: all .15s; }
.pl-copt b { display: block; font-size: 13.5px; } .pl-copt small { display: block; font-size: 12px; color: var(--muted); }
.pl-copt input:checked + span { border-color: var(--gold-d); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, white); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 8%, white)); }
.pl-cval { margin-top: 8px; max-width: 260px; }
.pl-promo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .pl-promo select { flex: 1; min-width: 150px; } .pl-promo > input { width: 110px; }
.pl-meses { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); } .pl-meses input { width: 64px; }
.pl-pprev { display: block; margin-top: 6px; font-weight: 600; color: #b4234a; }
.pl-del { color: #b42318; margin-top: 8px; } .pl-del svg { width: 16px; height: 16px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 560px) { .pl-com { grid-template-columns: 1fr; } }

/* Regras e taxas › remuneração da equipe; painel da profissional › Remuneração; Financeiro › Assinaturas (20/nov/2026) */
.rm-head { display: flex; gap: 12px; align-items: flex-start; }
.rm-head h3 { margin: 0 0 2px; }
.rm-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 8px 16px -10px var(--gold-d); }
.rm-ic svg, .rm-oi svg, .rm-ok svg, .rm-go svg, .rm-pro svg, .rm-procard h3 svg, .rm-bens-h svg, .rm-note svg, .as-hero svg, .as-empty svg, .as-card svg, .as-how svg, .pl-form .fx-sec-t svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rm-ic svg { width: 22px; height: 22px; }
.rm-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.rm-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; }
.rm-opt:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(0,0,0,.4); }
.rm-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rm-oi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 12%, white); margin-bottom: 4px; transition: background .15s, color .15s; }
.rm-oi svg { width: 19px; height: 19px; }
.rm-opt b { font-size: 15px; } .rm-opt small { font-size: 12.5px; color: var(--muted); }
.rm-ok { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--gold-d); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.rm-ok svg { width: 13px; height: 13px; stroke-width: 3; }
.rm-opt:has(input:checked) { border-color: var(--gold-d); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 9%, white)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, white); }
.rm-opt:has(input:checked) .rm-oi { color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.rm-opt:has(input:checked) .rm-ok { opacity: 1; transform: none; }
.rm-opt:has(input:focus-visible) { outline: 2px solid var(--gold-d); outline-offset: 2px; }
.rm-opts.sm .rm-opt { padding: 11px 12px; } .rm-opts.sm .rm-oi { width: 32px; height: 32px; }
.rm-pros { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.rm-pro { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; cursor: pointer; transition: transform .12s, border-color .12s; }
.rm-pro:hover { transform: translateY(-1px); border-color: var(--pc); }
.rm-pro > i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: var(--pc); }
.rm-pro b { display: block; font-size: 13px; } .rm-pro b em { font-style: normal; font-weight: 500; color: var(--muted); }
.rm-pro small { display: block; font-size: 11.5px; color: var(--muted); text-align: left; }
.rm-pro > svg { width: 14px; height: 14px; color: var(--muted); }
.rm-go { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; font: inherit; color: #fff; background: linear-gradient(120deg, #1f352c, #12231c 60%, #1f6f4e); box-shadow: 0 16px 30px -20px #12231c; position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.rm-go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.14) 50%, transparent 70%); transform: translateX(-100%); animation: rmBrilho 3.2s ease-in-out infinite; }
@keyframes rmBrilho { 60%, 100% { transform: translateX(100%); } }
.rm-go:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -20px #12231c; }
.rm-go-ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.rm-go-ic svg { width: 20px; height: 20px; }
.rm-go b { display: block; font-size: 15.5px; } .rm-go small { display: block; font-size: 12.5px; opacity: .78; }
.rm-go > span:nth-child(2) { flex: 1; }
.rm-go-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #9fd4b0; color: #12231c; transition: transform .2s; }
.rm-go:hover .rm-go-arrow { transform: translateX(4px); }
.rm-go-arrow svg { width: 17px; height: 17px; stroke-width: 2.5; }
.rm-procard h3 svg { width: 18px; height: 18px; vertical-align: -3px; }
.rm-fixo { margin: 0 0 10px; max-width: 320px; }
.rm-bens { padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--gold) 5%, var(--paper)); border: 1px dashed color-mix(in srgb, var(--gold) 40%, white); margin-bottom: 10px; }
.rm-bens-h b { display: flex; align-items: center; gap: 6px; } .rm-bens-h svg { width: 16px; height: 16px; color: #d0567a; }
.rm-bens-h small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.rb-list { display: grid; gap: 8px; margin-bottom: 8px; }
.rb-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.rb-v { display: flex; align-items: center; } .rb-v input { min-width: 0; width: 100%; }
.rb-del { color: #b42318; } .rb-del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.rm-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 0 0 12px; } .rm-note svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
@media (max-width: 640px) { .rm-opts { grid-template-columns: 1fr; } .rb-row { grid-template-columns: 1fr 1fr; } .rb-row .rb-n { grid-column: 1 / -1; } }
.as-hero { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 18px; border-radius: 22px; margin-bottom: 14px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(159,212,176,.35), transparent 40%), linear-gradient(120deg, #1f352c, #12231c); box-shadow: 0 20px 36px -26px #12231c; }
.as-hero > span:nth-child(2) { flex: 1; min-width: 220px; } .as-hero b { display: block; font-family: var(--display); font-size: 21px; } .as-hero small { display: block; font-size: 13px; opacity: .8; }
.as-hero-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #ffd76a; }
.as-hero-ic svg { width: 26px; height: 26px; }
.as-hero .btn { background: #9fd4b0; color: #12231c; border-color: transparent; }
.as-hero .btn svg, .as-empty .btn svg { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }
.as-empty { text-align: center; padding: 34px 18px; border-radius: 22px; border: 2px dashed color-mix(in srgb, var(--gold) 40%, white); background: #fff; margin-bottom: 14px; }
.as-empty-ic { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 12%, white); animation: asFlutua 3s ease-in-out infinite; }
@keyframes asFlutua { 50% { transform: translateY(-5px); } }
.as-empty-ic svg { width: 30px; height: 30px; } .as-empty b { display: block; font-size: 17px; } .as-empty p { max-width: 460px; margin: 6px auto 14px; color: var(--muted); font-size: 14px; }
.as-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 14px; }
.as-card { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; cursor: pointer; box-shadow: var(--shadow-1); border-top: 4px solid var(--gold); transition: transform .15s, box-shadow .15s; }
.as-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -22px rgba(0,0,0,.4); } .as-card.off { opacity: .65; }
.as-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .as-top b { font-size: 16px; }
.as-price { display: flex; align-items: baseline; gap: 6px; } .as-price b { font-family: var(--display); font-size: 28px; } .as-price small { color: var(--muted); }
.as-items { display: grid; gap: 3px; font-size: 13px; } .as-items span { display: flex; align-items: center; gap: 6px; } .as-items svg { width: 14px; height: 14px; color: #1f8a4c; stroke-width: 2.5; }
.as-foot { display: grid; gap: 2px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); } .as-foot svg { width: 13px; height: 13px; vertical-align: -2px; }
.as-how ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; } .as-how h3 svg { width: 18px; height: 18px; vertical-align: -3px; }
.pl-form .fx-sec-t svg { width: 16px; height: 16px; vertical-align: -3px; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-chip { position: relative; cursor: pointer; } .pl-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pl-chip span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; transition: all .15s; }
.pl-chip input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.pl-g { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 6px; background: #fff; overflow: hidden; }
.pl-g summary { padding: 10px 12px; cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; } .pl-g summary small { color: var(--muted); font-weight: 600; }
.pl-svc { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px; border-top: 1px solid var(--line); }
.pl-svc label { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: 14px; }
.pl-qty { width: 100px; flex: none; }
.pl-com { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-copt { position: relative; cursor: pointer; } .pl-copt input { position: absolute; opacity: 0; pointer-events: none; }
.pl-copt span { display: block; height: 100%; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: all .15s; }
.pl-copt b { display: block; font-size: 13.5px; } .pl-copt small { display: block; font-size: 12px; color: var(--muted); }
.pl-copt input:checked + span { border-color: var(--gold-d); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, white); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 8%, white)); }
.pl-cval { margin-top: 8px; max-width: 260px; }
.pl-promo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .pl-promo select { flex: 1; min-width: 150px; } .pl-promo > input { width: 110px; }
.pl-meses { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); } .pl-meses input { width: 64px; }
.pl-pprev { display: block; margin-top: 6px; font-weight: 600; color: #b4234a; }
.pl-del { color: #b42318; margin-top: 8px; } .pl-del svg { width: 16px; height: 16px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 560px) { .pl-com { grid-template-columns: 1fr; } }

/* Assinaturas › Assinantes (20/nov/2026) */
.as-subs { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gold-d); }
.as-subs svg, .sb-head svg, .sb-card svg, .sb-atras svg, .asf svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sb-sec { margin: 4px 0 16px; }
.sb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sb-head h3 { margin: 0; display: flex; align-items: center; gap: 6px; } .sb-head h3 svg { width: 18px; height: 18px; }
.sb-head .btn svg { vertical-align: -3px; margin-right: 4px; }
.sb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.sb-k { padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.sb-k small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; } .sb-k b { display: block; font-size: 20px; font-weight: 800; } .sb-k em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.sb-k.hero { color: #fff; border-color: transparent; background: linear-gradient(135deg, #1f352c, #12231c); } .sb-k.hero small, .sb-k.hero em { color: rgba(255,255,255,.75); }
.sb-k.ok { background: #eef9f2; border-color: #c4ead2; } .sb-k.ok b { color: #1a7f45; }
.sb-k.warn { background: #fff8e6; border-color: #f4dc9a; } .sb-k.warn b { color: #9a6a00; }
.sb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sb-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .15s; }
.sb-card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(0,0,0,.4); }
.sb-card.sb-cancelada { opacity: .6; } .sb-card.sb-pausada { border-style: dashed; }
.sb-card header { display: flex; align-items: center; gap: 10px; }
.sb-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.sb-who { flex: 1; min-width: 0; } .sb-who b { display: block; font-size: 15px; } .sb-who small { display: block; font-size: 12px; color: var(--muted); }
.pill.sb-st.ok { background: #e7f8ee; color: #12733d; border-color: #b9e8cb; } .pill.sb-st.warn { background: #fff4d6; color: #8a5a00; border-color: #f3cf6a; } .pill.sb-st.off { background: #f3f1ee; color: var(--muted); }
.sb-mes { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); }
.sb-mes.aberto { background: #fffaf0; border-color: #f1dca6; } .sb-mes.pago { background: #eef9f2; border-color: #c4ead2; }
.sb-mes-t small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; } .sb-mes-t b { font-size: 18px; font-weight: 800; margin-right: 6px; } .sb-mes-t .promo-tag { margin: 0; }
.sb-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #1a7f45; } .sb-ok .linkbtn { font-size: 12px; color: var(--muted); }
.sb-pay { background: linear-gradient(135deg, #3fb57a, #1f7a50); color: #fff; border-color: transparent; } .sb-pay svg { vertical-align: -3px; margin-right: 3px; }
.sb-atras { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; font-size: 12.5px; color: #a12b2b; background: #fdf0f0; border: 1px solid #f2c9c9; }
.sb-asaas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 12px; font-size: 12.5px; color: #1d6b45; background: #eef8f1; border: 1px solid #cbe8d6; }
.sb-asaas small { display: inline-flex; gap: 6px; align-items: center; }
.sb-asaas > span { display: flex; gap: 6px; flex-wrap: wrap; }
.sb-chip { margin: 2px 4px 0 0; padding: 3px 8px; border-radius: 999px; border: 1px solid #f2c9c9; background: #fff; font: inherit; font-size: 12px; color: #a12b2b; cursor: pointer; }
.sb-uso small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.sb-u { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 13px; margin-bottom: 6px; }
.sb-uv { font-weight: 700; } .sb-u.over .sb-uv { color: #b42318; }
.sb-bar { grid-column: 1 / -1; display: block; height: 6px; border-radius: 999px; background: #f0ece6; overflow: hidden; }
.sb-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9fd4b0, #1f6f4e); transition: width .5s ease; }
.sb-u.over .sb-bar > i { background: linear-gradient(90deg, #f3a19a, #b42318); }
.sb-card footer { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 8px; border-top: 1px dashed var(--line); }
.sb-cancel { color: #b42318; }
.sb-plans { display: grid; gap: 6px; }
.sb-plan { position: relative; cursor: pointer; } .sb-plan input { position: absolute; opacity: 0; pointer-events: none; }
.sb-plan span { display: block; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: all .15s; } .sb-plan b { display: block; } .sb-plan small { color: var(--muted); font-size: 12.5px; }
.sb-plan input:checked + span { border-color: var(--gold-d); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, white); }
.sb-prev { font-weight: 600; color: var(--gold-d); }
.sb-paysum { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 7%, white); margin-bottom: 10px; } .sb-paysum b { display: block; } .sb-paysum small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) { .sb-kpis { grid-template-columns: 1fr 1fr; } }

/* horário coberto pela assinatura (20/nov/2026) */
.mt-plano { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #1f6f4e, #12231c); }
.mt-plano svg, .mt-plano-aviso svg { width: 13px; height: 13px; fill: #ffd76a; stroke: #ffd76a; stroke-width: 1.5; }
.mt-plano-aviso { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: 14px; font-size: 13px; background: #eef9f2; border: 1px solid #c4ead2; color: #12531f; }
.mt-plano-aviso svg { width: 16px; height: 16px; flex: none; margin-top: 1px; fill: #1f6f4e; stroke: #1f6f4e; }

/* ---------- painel da profissional: painéis recolhidos, alerta da comissão, remuneração, cadastro novo (20/nov/2026) ---------- */
.pp-fold { padding: 0 !important; overflow: hidden; }
.pp-fold-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; user-select: none; }
.pp-fold-h::-webkit-details-marker { display: none; }
.pp-fold-h:hover { background: color-mix(in srgb, var(--gold) 5%, white); }
.pf-t { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 19px; }
.pf-t svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.pf-n { font-style: normal; padding: 1px 9px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 14%, white); color: var(--gold-d); font-size: 12px; font-weight: 800; }
.pf-chev { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--gold) 12%, white); color: var(--gold-d); transition: transform .2s; }
.pf-chev.sm { width: 24px; height: 24px; margin-left: 8px; }
.pf-chev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
details[open] > summary .pf-chev { transform: rotate(180deg); }
.pp-fold[open] > .pp-fold-h { border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, white); }
.pp-fold > :not(summary) { margin-left: 16px; margin-right: 16px; }
.pp-fold > :last-child { margin-bottom: 14px; }
.com-sub-d > summary.cs-head { cursor: pointer; list-style: none; display: flex; align-items: center; }
.com-sub-d > summary.cs-head::-webkit-details-marker { display: none; }
.com-sub-d > summary.cs-head > span:not(.pf-chev) { margin-left: auto; }
.com-alert { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; padding: 12px 14px; border-radius: 14px; background: #fff6d8; border: 1.5px solid #f2d58a; color: #6b4c00; font-size: 13px; }
.ca-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #e6a817; color: #fff; }
.ca-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ca-adm { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: #6b4c00; color: #fff; font-style: normal; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.ca-adm svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.rm-quem { display: grid; gap: 4px; margin: 12px 0 6px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 5%, white); border: 1px solid color-mix(in srgb, var(--gold) 18%, white); }
.rm-fn { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rm-fnc { position: relative; cursor: pointer; margin: 0; }
.rm-fnc input { position: absolute; opacity: 0; pointer-events: none; }
.rm-fnc span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1.5px solid color-mix(in srgb, var(--gold) 28%, white); background: #fff; font-size: 13.5px; font-weight: 700; }
.rm-fnc input:checked + span { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.rm-sal { margin: 10px 0; padding: 12px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--gold) 35%, white); background: #fff; transition: opacity .2s; }
.rm-sal.off { opacity: .55; background: color-mix(in srgb, var(--gold) 4%, white); border-style: dashed; }
.rm-sal .fx-cur input { font-size: 20px; font-weight: 800; }
.rm-fx-hint { font-style: normal; margin-left: 6px; font-size: 11.5px; font-weight: 600; color: var(--gold-d); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pd-chips button { min-height: 32px; padding: 0 11px; border-radius: 99px; border: 1.5px solid color-mix(in srgb, var(--gold) 28%, white); background: #fff; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.pd-chips button[aria-pressed=true] { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.proset .fx-seg label span { display: inline-flex; align-items: center; min-height: 40px; }
.hz-fn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); background: color-mix(in srgb, var(--gold) 10%, white); color: var(--gold-d); font-size: 12px; font-weight: 800; }
.np-note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 12px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 7%, white); font-size: 12.5px; color: var(--muted); }
.np-note svg { flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: var(--gold-d); stroke-width: 2.2; }
.np-ok { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 8px 0 14px; }
.np-ok-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1d8a4a; color: #fff; }
.np-ok-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.np-ok b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.np-ok small { color: var(--muted); }
.np-cred { display: grid; gap: 4px; margin-bottom: 14px; padding: 14px; border-radius: 14px; background: #fff; border: 1.5px dashed color-mix(in srgb, var(--gold) 45%, white); }
.np-cred small { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-d); }
.np-cred b { font-size: 15px; }
.np-cred code { padding: 2px 8px; border-radius: 8px; background: color-mix(in srgb, var(--gold) 14%, white); font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.np-cred em { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------- Funções do salão e "Como funciona" recolhido (20/nov/2026) ---------- */
details.como { margin: 0 0 12px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 6%, white); border: 1px solid color-mix(in srgb, var(--gold) 18%, white); }
details.como > summary { display: flex; align-items: center; gap: 6px; padding: 8px 12px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; color: var(--gold-d); }
details.como > summary::-webkit-details-marker { display: none; }
details.como > summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
details.como > p { margin: 0; padding: 0 12px 10px; }
.fn-help { display: block; margin-top: 4px; font-size: 12px; }
.fn-list { display: grid; gap: 10px; margin-bottom: 12px; }
.fn-card { padding: 14px; border-radius: 16px; border: 1.5px solid color-mix(in srgb, var(--gold) 22%, white); background: #fff; }
.fn-top { display: flex; align-items: center; gap: 12px; }
.fn-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: color-mix(in srgb, var(--gold) 12%, white); font-size: 22px; }
.fn-t { flex: 1; min-width: 0; }
.fn-t b { display: block; font-size: 16px; }
.fn-t small { display: block; font-size: 12.5px; color: var(--muted); }
.fn-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.fn-cats > small { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.fn-cat { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 0 11px; border-radius: 99px; border: 1.5px solid color-mix(in srgb, var(--gold) 28%, white); background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fn-cat .cat-ico { width: 20px; height: 20px; }
.fn-cat[aria-pressed=true] { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.fn-cat[aria-pressed=true] .cat-ico { background: #fff; border-radius: 50%; }
.fn-sug { display: flex; flex-wrap: wrap; gap: 6px; }
.fn-s { min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1.5px dashed color-mix(in srgb, var(--gold) 45%, white); background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fn-s:hover { border-style: solid; background: color-mix(in srgb, var(--gold) 8%, white); }

/* Funções: compartilhadas, aparece na agenda, bloqueio e etiquetas na profissional (20/nov/2026) */
.fn-share { margin-bottom: 12px; background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 7%, white)); }
.fn-share-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.fn-share-h b { display: block; font-size: 16px; } .fn-share-h small { display: block; font-size: 13px; color: var(--muted); }
.fn-share-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 8px 16px -10px var(--gold-d); }
.fn-share-ic svg, .fn-yn svg, .fn-q svg, .fn-lock svg, .fn-ag svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fn-share-ic svg { width: 21px; height: 21px; }
.fn-yn { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.fn-yn label { position: relative; cursor: pointer; } .fn-yn input { position: absolute; opacity: 0; pointer-events: none; }
.fn-yn label > span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .15s; }
.fn-yn svg { width: 15px; height: 15px; }
.fn-yn input:checked + span { color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 6px 14px -9px var(--gold-d); }
.fn-yn input:focus-visible + span { outline: 2px solid var(--gold-d); outline-offset: 2px; }
.fn-yn.sm label > span { padding: 4px 12px; font-size: 12.5px; }
.fn-quais { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); animation: cnIn .2s ease; }
.fn-quais > small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.fn-qchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fn-q { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.fn-q:hover { transform: translateY(-1px); }
.fn-q[aria-pressed="true"] { border-color: #1f6f4e; background: #eef9f2; color: #12531f; }
.fn-q svg { width: 14px; height: 14px; stroke-width: 3; color: #1f6f4e; }
.fn-lock { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: #f3f1ee; cursor: not-allowed; }
.fn-lock svg { width: 16px; height: 16px; }
.fn-ag { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 10px 0 2px; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 5%, var(--paper)); }
.fn-ag > span:first-child { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; } .fn-ag svg { width: 15px; height: 15px; }
.fn-ag small { font-size: 12px; }
.fn-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.fn-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 11%, white); border: 1px solid color-mix(in srgb, var(--gold) 28%, white); }
.fn-tag.fora { color: var(--muted); background: #f3f1ee; border-style: dashed; }
.fn-tag.vazio { color: var(--muted); background: transparent; border-style: dashed; font-weight: 600; }
.fn-tags.lg { margin: 2px 0 4px; } .fn-tags.lg .fn-tag { font-size: 12.5px; padding: 3px 11px; }
.rm-fnc.fn-shared span { box-shadow: inset 0 0 0 1px #9fd4b0; }

/* Funções: "Adicionar função" no topo, antes da lista (20/nov/2026) */
.fn-add-top { margin-bottom: 12px; border: 1.5px dashed color-mix(in srgb, var(--gold) 45%, white); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 6%, white)); }
.fn-add-top h3 svg { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.fn-add-top + .fn-list ~ .btn[data-fnsave], .btn[data-fnsave] { position: sticky; bottom: 10px; z-index: 5; box-shadow: 0 14px 28px -16px rgba(0,0,0,.45); }
.fn-nova-ag { margin: 0 0 10px; background: #fff; border: 1px solid var(--line); }

/* Funções v3 (20/nov/2026): botão Adicionar que abre a janela completa, cards minimizados por padrão */
.fn-share-h { flex-wrap: wrap; align-items: center; } .fn-share-h > span:nth-child(2) { flex: 1; min-width: 220px; } .fn-share-h .fn-yn { margin-left: auto; }
.fn-new { width: 100%; display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 16px 18px; border: 0; border-radius: 20px; cursor: pointer; text-align: left; font: inherit; color: #fff;
  background: linear-gradient(120deg, var(--gold-d), var(--gold) 60%, color-mix(in srgb, var(--gold) 70%, white)); box-shadow: 0 18px 32px -22px var(--gold-d); position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.fn-new::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-100%); animation: rmBrilho 3.4s ease-in-out infinite; }
.fn-new:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -22px var(--gold-d); }
.fn-new-ic { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.fn-new > span:nth-child(2) { flex: 1; } .fn-new b { display: block; font-size: 16.5px; } .fn-new small { display: block; font-size: 13px; opacity: .85; }
.fn-new-go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--gold-d); transition: transform .2s; }
.fn-new:hover .fn-new-go { transform: translateX(4px) rotate(-8deg); }
.fn-new svg, .fn-sum svg, .fn-body svg, .fnf svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fn-new-ic svg { width: 22px; height: 22px; stroke-width: 2.6; } .fn-new-go svg { width: 18px; height: 18px; stroke-width: 2.6; }
.fn-det { border-radius: 18px; border: 1.5px solid color-mix(in srgb, var(--gold) 22%, white); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.fn-det[open] { border-color: var(--gold); box-shadow: 0 16px 30px -24px var(--gold-d); }
.fn-det.fora { border-style: dashed; }
.fn-sum { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; cursor: pointer; list-style: none; user-select: none; }
.fn-sum::-webkit-details-marker { display: none; }
.fn-sum:hover { background: color-mix(in srgb, var(--gold) 5%, white); }
.fn-sum .fn-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; background: color-mix(in srgb, var(--gold) 10%, white); transition: transform .2s; }
.fn-sum:hover .fn-ic { transform: rotate(-8deg) scale(1.06); }
.fn-sum .fn-t { flex: 1; min-width: 160px; } .fn-sum .fn-t b { display: block; font-size: 15.5px; } .fn-sum .fn-t small { display: block; font-size: 12.5px; color: var(--muted); }
.fn-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.fn-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #f3f1ee; color: var(--muted); }
.fn-pill svg { width: 13px; height: 13px; }
.fn-pill.ag { background: #e7f8ee; color: #12733d; } .fn-pill.noag { background: #fdf0f0; color: #a12b2b; }
.fn-chev { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); transition: transform .25s; }
.fn-chev svg { width: 17px; height: 17px; stroke-width: 2.6; }
.fn-det[open] .fn-chev { transform: rotate(180deg); background: var(--ink, #12231c); }
.fn-body { padding: 4px 14px 14px; border-top: 1px solid color-mix(in srgb, var(--gold) 15%, white); animation: cnIn .22s ease; }
.fn-obs { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 9px 11px; border-radius: 12px; font-size: 13px; background: #fffaf0; border: 1px solid #f1dca6; }
.fn-obs svg { flex: none; width: 15px; height: 15px; margin-top: 1px; color: #9a6a00; }
.fn-body .fn-cats { margin-top: 10px; }
.fn-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.fn-acts .btn svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 3px; }
.fn-del { color: #b42318; }
.fn-lock-t { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); } .fn-lock-t svg { width: 14px; height: 14px; }
.fnf-prev { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 14px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.18), transparent 45%), linear-gradient(130deg, #1f352c, #12231c); box-shadow: 0 18px 30px -22px #12231c; }
.fnf-pic { flex: none; width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 32px; background: rgba(255,255,255,.12); }
.fnf-pic.pop { animation: fnPop .35s ease; } @keyframes fnPop { 40% { transform: scale(1.18) rotate(-6deg); } }
.fnf-pt { min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; } .fnf-pt b { font-size: 19px; } .fnf-pt small { font-size: 12.5px; opacity: .75; }
.fnf-sug { display: flex; flex-wrap: wrap; gap: 6px; } .fnf-sug .fn-s.on { border-color: var(--gold-d); background: color-mix(in srgb, var(--gold) 14%, white); }
.fnf-ics { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.fnf-ic { position: relative; cursor: pointer; } .fnf-ic input { position: absolute; opacity: 0; pointer-events: none; }
.fnf-ic span { display: grid; place-items: center; height: 44px; border-radius: 13px; font-size: 21px; border: 1.5px solid var(--line); background: #fff; transition: transform .12s, border-color .12s, box-shadow .12s; }
.fnf-ic span:hover { transform: translateY(-2px); }
.fnf-ic input:checked + span { border-color: var(--gold-d); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, white); transform: scale(1.06); }
.fnf-ag { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fnf-agopt { position: relative; cursor: pointer; } .fnf-agopt input { position: absolute; opacity: 0; pointer-events: none; }
.fnf-agopt > span { display: block; height: 100%; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: all .15s; }
.fnf-agopt b { display: flex; align-items: center; gap: 6px; font-size: 14px; } .fnf-agopt b svg { width: 15px; height: 15px; stroke-width: 2.6; } .fnf-agopt small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.fnf-agopt input[value="1"]:checked + span { border-color: #1f8a4c; background: #eef9f2; box-shadow: 0 0 0 3px #d3f0de; } .fnf-agopt input[value="1"]:checked + span b { color: #12733d; }
.fnf-agopt input[value="0"]:checked + span { border-color: #c2413a; background: #fdf3f2; box-shadow: 0 0 0 3px #f6dcda; } .fnf-agopt input[value="0"]:checked + span b { color: #a12b2b; }
.fnf-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.fnf-cat { position: relative; cursor: pointer; } .fnf-cat input { position: absolute; opacity: 0; pointer-events: none; }
.fnf-cat span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; transition: all .15s; }
.fnf-cat input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
@media (max-width: 520px) { .fnf-ag { grid-template-columns: 1fr; } .fn-share-h .fn-yn { margin-left: 0; } }

/* painel da profissional: função e agenda no topo; janela de função (20/nov/2026) */
.pp-fnrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 6px; }
.pp-fnrow .fn-tags { margin: 0; }
.pp-fnbtn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 6px 14px -8px var(--gold-d); transition: transform .15s; }
.pp-fnbtn:hover { transform: translateY(-1px) scale(1.03); }
.pp-fnbtn svg, .pp-agst svg, .pc-fnwait svg, .fpf svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pp-fnbtn svg { width: 13px; height: 13px; }
.pp-agst { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pp-agst svg { width: 13px; height: 13px; }
.pp-agst.on { background: #e7f8ee; color: #12733d; } .pp-agst.off { background: #fdf0f0; color: #a12b2b; }
.pc-fnwait { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #a12b2b; background: #fdf0f0; }
.pc-fnwait svg { width: 12px; height: 12px; }
.fpf-head { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; margin-bottom: 12px; background: color-mix(in srgb, var(--gold) 8%, white); }
.fpf-head b { display: block; font-size: 16px; } .fpf-head small { display: block; font-size: 12.5px; color: var(--muted); }
.fpf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fpf-opt { position: relative; cursor: pointer; } .fpf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.fpf-opt > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; height: 100%; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: transform .12s, border-color .15s, box-shadow .15s; }
.fpf-opt > span:hover { transform: translateY(-2px); }
.fpf-opt i { font-style: normal; font-size: 24px; } .fpf-opt b { font-size: 14px; }
.fpf-opt em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; } .fpf-opt em.ag { background: #e7f8ee; color: #12733d; } .fpf-opt em.noag { background: #fdf0f0; color: #a12b2b; }
.fpf-opt input:checked + span { border-color: var(--gold-d); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 10%, white)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, white); }
.fpf-opt input:focus-visible + span { outline: 2px solid var(--gold-d); outline-offset: 2px; }
.fpf-new { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--gold-d); } .fpf-new svg { width: 14px; height: 14px; }
.fpf-res { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 14px; font-size: 13px; background: #f6f3ee; color: var(--muted); }
.fpf-res svg { width: 16px; height: 16px; flex: none; }
.fpf-res.ok { background: #eef9f2; color: #12531f; } .fpf-res.off { background: #fdf3f2; color: #a12b2b; }

/* janela da função da profissional: digitar e adicionar uma função nova (20/nov/2026) */
.fpf-add { margin-top: 12px; padding: 12px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--gold) 45%, white); background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 6%, white)); }
.fpf-add > b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; margin-bottom: 8px; } .fpf-add > b svg { width: 15px; height: 15px; }
.fpf-addrow { display: flex; gap: 8px; } .fpf-addrow input { flex: 1; min-width: 0; margin: 0; }
.fpf-addag { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .fpf-addag small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.fpf-novo > span { animation: fnPop .4s ease; }

/* Equipe › Profissionais: "Adicionar profissional" como card principal no topo (21/nov/2026) */
.pro-add { width: 100%; display: flex; align-items: center; gap: 16px; margin: 0 0 16px; padding: 18px 20px; border: 0; border-radius: 22px; cursor: pointer; text-align: left; font: inherit; color: #fff;
  background: radial-gradient(circle at 92% 10%, rgba(255,255,255,.22), transparent 42%), linear-gradient(120deg, var(--gold-d), var(--gold) 65%); box-shadow: 0 22px 38px -24px var(--gold-d); position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.pro-add::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-100%); animation: rmBrilho 3.4s ease-in-out infinite; }
.pro-add:hover { transform: translateY(-2px); box-shadow: 0 26px 42px -24px var(--gold-d); }
.pro-add.vazio { padding: 28px 22px; }
.pro-add-ic { flex: none; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.2); animation: asFlutua 3s ease-in-out infinite; }
.pro-add-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.pro-add-t { flex: 1; min-width: 0; } .pro-add-t b { display: block; font-family: var(--display); font-size: 21px; line-height: 1.15; } .pro-add-t small { display: block; margin-top: 3px; font-size: 13px; opacity: .88; }
.pro-add-av { flex: none; display: flex; }
.pro-add-av i { width: 36px; height: 36px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; color: #fff; background: var(--pc, var(--gold-d)); border: 2.5px solid #fff; }
.pro-add-av i.mais { background: #fff; color: var(--gold-d); font-size: 20px; }
@media (max-width: 600px) { .pro-add { flex-wrap: wrap; } .pro-add-av { display: none; } .pro-add-t b { font-size: 18px; } }
.ac-extra { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 8%, white)); border: 1.5px dashed color-mix(in srgb, var(--gold) 45%, white); }
.ac-extra > span:nth-child(2) { flex: 1; min-width: 220px; } .ac-extra b { display: block; font-size: 14.5px; } .ac-extra small { display: block; font-size: 12.5px; color: var(--muted); } .ac-extra small b { display: inline; font-size: inherit; }
.ac-extra-ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.ac-extra-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Meus ganhos (profissional), 21/nov/2026 */
.gn-hero { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 24px; margin-bottom: 12px; color: #fff;
  background: radial-gradient(circle at 90% 0%, rgba(159,212,176,.35), transparent 45%), linear-gradient(130deg, #1f352c, #12231c 60%, #1f6f4e); box-shadow: 0 24px 40px -28px #12231c; }
.gn-hero-ic { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #ffd76a; background: rgba(255,255,255,.12); animation: asFlutua 3s ease-in-out infinite; }
.gn-hero-ic svg, .gn-ki svg, .gn-per svg, .gn-chart h3 svg, .gn-det svg, .gn-hero ~ .split2 h3 svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gn-hero-ic svg { width: 28px; height: 28px; }
.gn-hero-t { flex: 1; min-width: 0; position: relative; z-index: 1; }
.gn-hero-t > small { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .03em; color: #12231c; background: #9fd4b0; }
.gn-hero-t > b { display: block; margin: 8px 0 4px; font-family: var(--display); font-size: 25px; line-height: 1.15; } .gn-hero-t > b em { font-style: normal; color: #ffd76a; }
.gn-hero-t > span { display: block; font-size: 14px; opacity: .9; } .gn-hero-t strong { color: #9fd4b0; }
.gn-prog { height: 12px; margin: 14px 0 8px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.gn-prog > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9fd4b0, #ffd76a); animation: gnCresce 1.2s ease-out; }
@keyframes gnCresce { from { width: 0 !important; } }
.gn-prog-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; opacity: .85; } .gn-prog-leg i { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 5px; }
.gn-prog-leg .f { background: #9fd4b0; } .gn-prog-leg .m { background: #ffd76a; } .gn-prog-leg .r { background: rgba(255,255,255,.5); }
.gn-confete i { position: absolute; top: -10px; width: 8px; height: 14px; border-radius: 2px; opacity: .8; animation: gnCai 4.5s linear infinite; }
.gn-confete i:nth-child(1) { left: 12%; background: #ffd76a; animation-delay: 0s; } .gn-confete i:nth-child(2) { left: 30%; background: #9fd4b0; animation-delay: .8s; }
.gn-confete i:nth-child(3) { left: 52%; background: #f4a3b8; animation-delay: 1.6s; } .gn-confete i:nth-child(4) { left: 68%; background: #ffd76a; animation-delay: 2.4s; }
.gn-confete i:nth-child(5) { left: 82%; background: #9fd4b0; animation-delay: 3.2s; } .gn-confete i:nth-child(6) { left: 94%; background: #fff; animation-delay: 1.2s; }
@keyframes gnCai { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .8; } 100% { transform: translateY(260px) rotate(360deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gn-confete { display: none; } .gn-hero-ic { animation: none; } }
.gn-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 14px 16px; border-radius: 20px; margin-bottom: 14px; background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--gold) 9%, white)); border: 1px solid color-mix(in srgb, var(--gold) 30%, white); }
.gn-pay-cal { flex: none; width: 58px; border-radius: 14px; overflow: hidden; text-align: center; background: #fff; box-shadow: 0 6px 14px -10px rgba(0,0,0,.4); border: 1px solid var(--line); }
.gn-pay-cal small { display: block; padding: 2px 0; font-size: 11px; font-weight: 800; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.gn-pay-cal b { display: block; padding: 4px 0 6px; font-family: var(--display); font-size: 24px; }
.gn-pay-t { flex: 1; min-width: 200px; } .gn-pay-t small, .gn-pay-x small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.gn-pay-t b { display: block; font-size: 24px; font-weight: 800; color: #1a7f45; } .gn-pay-t em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.gn-pay-x b { display: block; font-size: 16px; }
.gn-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.gn-pres { display: flex; flex-wrap: wrap; gap: 6px; }
.gn-pre { padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .15s; }
.gn-pre:hover { transform: translateY(-1px); } .gn-pre.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--gold), var(--gold-d)); box-shadow: 0 6px 14px -9px var(--gold-d); }
.gn-datas { display: flex; align-items: flex-end; gap: 8px; } .gn-datas label small { display: block; font-size: 11px; color: var(--muted); } .gn-datas input { margin: 0; }
.gn-per { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; font-size: 12.5px; color: var(--muted); } .gn-per svg { width: 14px; height: 14px; }
.gn-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.gn-k { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.gn-k:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(0,0,0,.4); }
.gn-k small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; } .gn-k b { display: block; font-size: 18px; font-weight: 800; white-space: nowrap; } .gn-k em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.gn-ki { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--gold-d); background: color-mix(in srgb, var(--gold) 12%, white); } .gn-ki svg { width: 17px; height: 17px; }
.gn-k.hero { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--gold-d), var(--gold)); } .gn-k.hero small, .gn-k.hero em { color: rgba(255,255,255,.8); } .gn-k.hero .gn-ki { color: #fff; background: rgba(255,255,255,.2); }
.gn-k.pos b { color: #1a7f45; } .gn-k.pos .gn-ki { color: #1a7f45; background: #e7f8ee; } .gn-k.neg b { color: #b42318; } .gn-k.neg .gn-ki { color: #b42318; background: #fdf0f0; }
.gn-chart h3 svg, .gn-hero ~ .split2 h3 svg { width: 17px; height: 17px; vertical-align: -3px; }
.gn-bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 6px; overflow-x: auto; }
.gn-bar { flex: 1 0 14px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.gn-bar > i { display: block; width: 100%; max-width: 26px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--gold), var(--gold-d)); animation: gnSobe .8s ease-out; transform-origin: bottom; transition: filter .15s; }
.gn-bar:hover > i { filter: brightness(1.15); } .gn-bar.hoje > i { background: linear-gradient(180deg, #9fd4b0, #1f6f4e); }
@keyframes gnSobe { from { transform: scaleY(0); } }
.gn-bar small { font-size: 10px; color: var(--muted); }
.gn-top { display: grid; gap: 8px; } .gn-ti { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: 13.5px; } .gn-tv { font-weight: 800; } .gn-tv small { font-weight: 600; color: var(--muted); }
.gn-tb { grid-column: 1 / -1; display: block; height: 7px; border-radius: 999px; background: #f0ece6; overflow: hidden; } .gn-tb > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9fd4b0, #1f6f4e); }
.gn-led { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gn-led li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 12px; font-size: 13px; background: #faf8f5; }
.gn-led li span { color: var(--muted); font-size: 12px; } .gn-led li em { font-style: normal; font-weight: 800; } .gn-led li.pos em { color: #1a7f45; } .gn-led li.neg em { color: #b42318; }
.gn-det summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; list-style: none; } .gn-det summary::-webkit-details-marker { display: none; }
.gn-det summary b { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 12%, white); color: var(--gold-d); } .gn-det summary svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .gn-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gn-k.hero { grid-column: 1 / -1; } }
@media (max-width: 520px) { .gn-hero { padding: 18px; } .gn-hero-t > b { font-size: 21px; } .gn-hero-ic { display: none; } .gn-per { margin-left: 0; } }

/* Vender produto: o campo de parcelas só aparece no crédito com produto parcelável (o display do .field passava por cima do hidden), 21/nov/2026 */
.field[hidden], .csm-parc[hidden] { display: none !important; }

/* Vender produto: % da vendedora e prévia da comissão (21/nov/2026) */
.vp-com { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.vp-com[hidden] { display: none !important; }
.vp-com label small { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.vp-pct { display: flex; align-items: center; width: 110px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.vp-pct input { border: 0; margin: 0; width: 100%; min-width: 0; text-align: right; font-weight: 800; background: transparent; }
.vp-pct i { font-style: normal; padding: 0 10px 0 2px; font-weight: 800; color: var(--muted); }
.vp-prev { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px; background: #f6f3ee; }
.vp-prev svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vp-prev b { display: block; font-size: 14px; color: #1a7f45; } .vp-prev small { display: block; font-size: 12px; color: var(--muted); }
.vp-prev:has(b) { background: #eef9f2; border: 1px solid #c4ead2; color: #1a7f45; }

/* agenda: bloqueio sempre em destaque vermelho, sem passar do fim da coluna (cal-block vermelho, 21/nov/2026) */
.cal-block { background: repeating-linear-gradient(135deg, #fdecea 0 10px, #fbdcd8 10px 20px); color: #a12b2b; font-weight: 700; border: 1.5px solid #e5877d; border-left: 4px solid #b42318; box-shadow: 0 6px 14px -12px #b42318; overflow: hidden; }
.cal-block:hover { background: repeating-linear-gradient(135deg, #fbdcd8 0 10px, #f8cbc5 10px 20px); }
.cal-block::before { content: "🔒 "; }

/* Funis: aviso de funil padrão e Leads arquivados (21/nov/2026) */
.fp-aviso { text-align: center; }
.fp-ic { width: 64px; height: 64px; margin: 4px auto 10px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #d6463a, #a51f15); box-shadow: 0 0 0 8px #fde8e6; animation: asFlutua 3s ease-in-out infinite; }
.fp-ic svg, .fp-aviso li svg, .ar-box svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fp-ic svg { width: 30px; height: 30px; }
.fp-aviso > b { display: block; font-family: var(--display); font-size: 22px; color: #a12b2b; }
.fp-aviso p { margin: 8px 0; font-size: 14px; }
.fp-aviso ul { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 6px; text-align: left; }
.fp-aviso li { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; background: #fdf3f2; border: 1px solid #f6d5d1; }
.fp-aviso li svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #b42318; }
.fp-sm { font-size: 12.5px !important; color: var(--muted); }
.fp-btns { display: grid; gap: 8px; margin-top: 12px; }
.fn-arch-btn svg { width: 15px; height: 15px; }
.ar-head { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 16px; margin-bottom: 10px; background: color-mix(in srgb, var(--gold) 8%, white); }
.ar-head b { display: block; font-size: 15.5px; } .ar-head small { display: block; font-size: 12.5px; color: var(--muted); }
.ar-hic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #8a8178, #5d554e); }
.ar-hic svg { width: 20px; height: 20px; }
#arq { margin: 0 0 10px; }
.ar-list { display: grid; gap: 8px; }
.ar-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .12s, box-shadow .12s; }
.ar-item:hover { transform: translateY(-1px); box-shadow: 0 12px 22px -18px rgba(0,0,0,.4); }
.ar-item[hidden] { display: none; }
.ar-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #a8a097, #7a726a); filter: grayscale(.2); }
.ar-t { flex: 1; min-width: 0; } .ar-t b { display: block; font-size: 14.5px; } .ar-t small { display: block; font-size: 12px; color: var(--muted); }
.ar-t em { display: block; font-style: normal; font-size: 11.5px; color: #a12b2b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-acts { flex: none; display: flex; align-items: center; gap: 6px; }
.ar-acts svg { width: 15px; height: 15px; } .ar-acts .btn svg { vertical-align: -3px; margin-right: 3px; }

/* Funis: selo "Confirmado" em cima do horário e etiqueta de sem resposta (21/nov/2026) */
.dc-conf { justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-bottom: 3px; padding: 2px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: linear-gradient(135deg, #2fae66, #1a7f45); box-shadow: 0 4px 10px -6px #1a7f45; }
.dc-conf svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.dc-espera { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #9a6a00; background: #fff4d6; border: 1px solid #f3cf6a; animation: espPulsa 2.2s ease-in-out infinite; }
.dc-espera svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.dc-espera.forte { color: #fff; background: linear-gradient(135deg, #d6463a, #a51f15); border-color: #a51f15; }
@keyframes espPulsa { 50% { box-shadow: 0 0 0 4px rgba(243, 207, 106, .35); } }
.dc-espera.forte { animation-name: espPulsaF; } @keyframes espPulsaF { 50% { box-shadow: 0 0 0 4px rgba(214, 70, 58, .25); } }
.dcard.esperando { box-shadow: inset 3px 0 0 #e2a500, var(--shadow-1); }
@media (prefers-reduced-motion: reduce) { .dc-espera { animation: none; } }

/* Funis: atalho Leads arquivados no topo (21/nov/2026) */
.fn-atalho.fn-arq { font: inherit; text-align: left; cursor: pointer; border-style: dashed; background: linear-gradient(135deg, #fff, #f4f1ed); }
.fn-atalho.fn-arq .fa-ic { color: #fff; background: linear-gradient(135deg, #8a8178, #5d554e); }
.fn-atalho.fn-arq .fa-ic svg { fill: none; stroke: currentColor; stroke-width: 2; }

/* confirmação 24 h no aviso do funil padrão (21/nov/2026) */
.fp-aviso .fp-conf { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: color-mix(in srgb, #25d366 10%, transparent); border: 1px solid color-mix(in srgb, #25d366 35%, transparent); border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: 13.5px; line-height: 1.45; }
.fp-aviso .fp-conf svg { flex: none; width: 18px; height: 18px; color: #128c4a; margin-top: 1px; }

/* ---------- Função, acesso e agenda da profissional (21/nov/2026) ---------- */
.fn-selos { display: flex; flex-wrap: wrap; gap: 5px; }
.fn-selo-forte { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; background: var(--gold-d); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .01em; line-height: 1.3; box-shadow: 0 3px 10px color-mix(in srgb, var(--gold-d) 38%, transparent); white-space: nowrap; }
.fn-selo-forte.vazio { background: #fff; color: var(--muted); border: 1.5px dashed color-mix(in srgb, var(--gold) 45%, white); box-shadow: none; }
.pid-card { padding: 14px 16px; border: 1.5px solid color-mix(in srgb, var(--gold) 30%, white); }
.pid-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pid-lbl { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pid-fnbtn { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 11px; border-radius: 99px; border: 1.5px solid color-mix(in srgb, var(--gold) 35%, white); background: #fff; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--gold-d); cursor: pointer; }
.pid-fnbtn svg, .pid-st svg, .pid-mail svg, .pid-aviso svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.pid-st { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700; border: 1.5px solid; }
.pid-st.on { color: #1d6b45; border-color: #bfe3cd; background: #eefaf2; }
.pid-st.off { color: #9a3a2e; border-color: #f1c9c2; background: #fdf1ef; }
.pid-edit { margin-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--gold) 30%, white); padding-top: 8px; }
.pid-edit > summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 13.5px; font-weight: 800; color: var(--gold-d); }
.pid-edit > summary::-webkit-details-marker { display: none; }
.pid-edit > summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.pid-edit > summary .pf-chev { margin-left: auto; transition: transform .2s; }
.pid-edit[open] > summary .pf-chev { transform: rotate(180deg); }
.pid-edit form { display: grid; gap: 12px; margin-top: 12px; }
.pid-mail { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.pid-aviso { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 12.5px; color: #8a5a12; }
.pid-acc .rm-fn { margin: 6px 0; }
.fn-accl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.fn-accl svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.fn-accl b { color: var(--gold-d); }
.fn-acc-ed { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--gold-d); text-decoration: underline; cursor: pointer; }
.fnf-acc > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.fnf-acc > summary::-webkit-details-marker { display: none; }
.fnf-acc > summary .pf-chev { margin-left: auto; }
.fnf-acc > summary .pf-chev svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.fnf-acc[open] > summary .pf-chev { transform: rotate(180deg); }
.np-perms > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.np-perms > summary::-webkit-details-marker { display: none; }
.fnf-acc .perm-row, .np-perms .perm-row, .pid-acc .perm-row { text-align: left; }
.fnf-acc .pt, .np-perms .pt, .pid-acc .pt { text-align: left; flex: 1; }
.np-perms > summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Canais › WhatsApp: automações (21/nov/2026) */
.au-box { margin-top: 16px; }
.au-head { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; margin-bottom: 10px; color: #fff; background: linear-gradient(130deg, #128c4a, #0b5e31); box-shadow: 0 16px 30px -22px #0b5e31; }
.au-head b { display: block; font-size: 16px; } .au-head small { display: block; font-size: 12.5px; opacity: .85; }
.au-hic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.au-hic svg, .au-ic svg, .au-chev svg, .au-note svg, .au-warn svg, .au-espera svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.au-hic svg { width: 21px; height: 21px; }
.au-list { display: grid; gap: 8px; }
.au-card { border-radius: 16px; border: 1.5px solid var(--line); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.au-card.on { border-color: #9fd4b0; box-shadow: inset 4px 0 0 #1fbf5f; }
.au-card[open] { box-shadow: 0 14px 26px -22px rgba(0,0,0,.4); }
.au-card summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; cursor: pointer; list-style: none; }
.au-card summary::-webkit-details-marker { display: none; }
.au-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); background: #f3f1ee; transition: all .2s; }
.au-card.on .au-ic { color: #fff; background: linear-gradient(135deg, #3ee07a, #128c4a); }
.au-ic svg { width: 19px; height: 19px; }
.au-t { flex: 1; min-width: 200px; } .au-t b { display: block; font-size: 15px; } .au-t small { display: block; font-size: 12.5px; color: var(--muted); }
.au-sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12.5px; font-weight: 800; }
.au-sw input { position: absolute; opacity: 0; pointer-events: none; }
.au-sw i { position: relative; width: 44px; height: 25px; border-radius: 999px; background: #d9d4cd; transition: background .2s; }
.au-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: transform .2s; }
.au-sw input:checked + i { background: #1fbf5f; } .au-sw input:checked + i::after { transform: translateX(19px); }
.au-sw input:focus-visible + i { outline: 2px solid #128c4a; outline-offset: 2px; }
.au-sw span { min-width: 64px; color: var(--muted); } .au-sw input:checked ~ span { color: #12733d; }
.au-chev { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f3f1ee; transition: transform .25s; }
.au-chev svg { width: 15px; height: 15px; } .au-card[open] .au-chev { transform: rotate(180deg); }
.au-body { padding: 4px 14px 14px; border-top: 1px solid var(--line); animation: cnIn .2s ease; }
.au-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; } .au-row .field { flex: 1; min-width: 160px; margin: 0; } .au-wide { flex-basis: 100% !important; }
.au-txt { margin-top: 10px; } .au-txt textarea { font-size: 14px; line-height: 1.45; }
.au-reset { background: #fff !important; color: var(--muted) !important; border-style: dashed !important; }
.au-note, .au-warn { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 9px 11px; border-radius: 12px; font-size: 12.5px; }
.au-note { background: #f3f9f5; color: #12531f; } .au-warn { background: #fff4d6; color: #8a5a00; border: 1px solid #f3cf6a; }
.au-note svg, .au-warn svg { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.au-espera { margin-top: 12px; padding: 12px; border-radius: 14px; background: #faf8f5; border: 1px dashed var(--line); }
.au-espera > b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; } .au-espera > b svg { width: 15px; height: 15px; }
.au-espera ul { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.au-espera li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.au-espera li span { flex: 1; min-width: 0; } .au-espera li b { display: block; font-size: 13.5px; } .au-espera li small { display: block; font-size: 12px; color: var(--muted); }
.au-espera li.avisada { opacity: .7; } .au-espera li svg { width: 15px; height: 15px; }
.au-esadd { display: grid; grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr) auto; gap: 6px; align-items: center; } .au-esadd input { margin: 0; }
@media (max-width: 640px) { .au-esadd { grid-template-columns: 1fr 1fr; } .au-esadd .csm-cli { grid-column: 1 / -1; } }
.au-save { position: sticky; bottom: 8px; }

/* Canais: tipos de mensagem e automações numerados; tipos escondidos por padrão com "Mostrar" (21/nov/2026) */
.mm-tipos { counter-reset: mmn; } .mm-tipo { counter-increment: mmn; }
.mm-tipo > .mm-top { cursor: pointer; user-select: none; border-radius: 12px; transition: background .15s; }
.mm-tipo > .mm-top:hover { background: color-mix(in srgb, var(--cn, var(--gold)) 5%, white); }
.mm-tipo > .mm-top::before { content: counter(mmn); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: var(--cn-g, linear-gradient(135deg, var(--gold), var(--gold-d))); }
.mm-tipo > .mm-top::after { content: "Esconder"; flex: none; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: var(--cn, var(--gold-d)); background: #fff; box-shadow: inset 0 0 0 1.5px var(--cn, var(--gold-l)); }
.mm-tipo.fechado > .mm-top::after { content: "Mostrar"; color: #fff; background: var(--cn-g, linear-gradient(135deg, var(--gold), var(--gold-d))); box-shadow: 0 6px 14px -9px var(--cn, var(--gold-d)); }
.mm-tipo.fechado > :not(.mm-top) { display: none !important; }
.mm-tipo.fechado { padding-bottom: 14px; }
.au-list { counter-reset: aun; } .au-card { counter-increment: aun; }
.au-card summary::before { content: counter(aun); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; background: #b9b1a8; }
.au-card.on summary::before { background: linear-gradient(135deg, #3ee07a, #128c4a); }
.au-chev::after { content: none; }
@media (max-width: 560px) { .mm-tipo > .mm-top { flex-wrap: wrap; } }

/* automação 7: reativação de sumidas com aviso de risco (21/nov/2026) */
.au-card[data-au="reativacao"] summary .au-t b::after { content: "Não recomendado · risco de bloqueio"; display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, #d6463a, #a51f15); vertical-align: 2px; }
.au-card[data-au="reativacao"].on { border-color: #f2b8b2; box-shadow: inset 4px 0 0 #d6463a; }
.au-card[data-au="reativacao"].on .au-ic { background: linear-gradient(135deg, #f0806f, #a51f15); }
.au-risco-box { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #fdf0ef; border: 1.5px solid #f2b8b2; color: #7d1d14; }
.au-risco-box > svg { flex: none; width: 22px; height: 22px; fill: none; stroke: #b42318; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.au-risco-box b { display: block; font-size: 14px; color: #a51f15; } .au-risco-box ul { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; display: grid; gap: 3px; } .au-risco-box li b { display: inline; font-size: inherit; }

/* Chat no celular: topo da conversa com nome grande (21/nov/2026). Linha 1: voltar, foto e nome (até 2 linhas);
   etiquetas embaixo do nome, em linha; botões ocupando a largura toda na linha de baixo */
@media (max-width: 899px) {
  .cp-head { display: grid !important; grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "back av who" "act act act"; align-items: center; gap: 8px 10px; padding: 10px 12px !important; }
  .cp-head > .cp-back { grid-area: back; width: 38px; height: 38px; min-width: 38px; }
  .cp-head > .avatar, .cp-head > .av-wrap { grid-area: av; }
  .cp-head > .avatar, .cp-head > .av-wrap > .avatar { width: 44px !important; height: 44px !important; min-width: 44px; font-size: 15px !important; }
  .cp-who { grid-area: who; min-width: 0; }
  .cp-who b { white-space: normal !important; overflow: hidden; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 18px !important; line-height: 1.15; word-break: break-word; }
  .cp-who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cp-card { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 4px; }
  .cp-card .chc { max-width: 100%; height: 24px; }
  .cp-card .chc span { max-width: 190px; }
  .cp-actions { grid-area: act; display: flex; gap: 8px; width: 100%; }
  .cp-actions:empty { display: none; }
  .cp-actions .btn { flex: 1; justify-content: center; min-height: 40px; font-size: 14px; padding: 0 12px; white-space: nowrap; }
  .cp-actions .btn svg { width: 16px; height: 16px; }
}

/* Agenda com muitas profissionais (21/nov/2026): chips de filtro, Equipe na semana e cor da profissional no cartão */
.pro-chips { display: flex; gap: 8px; margin: 0 0 12px; padding: 2px 2px 6px; overflow-x: auto; scrollbar-width: none; }
.pro-chips::-webkit-scrollbar { display: none; }
.pchip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 5px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .12s; }
.pchip:hover { border-color: color-mix(in srgb, var(--pc, var(--gold)) 60%, white); transform: translateY(-1px); }
.pchip > i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--pc, var(--gold)); }
.pchip > i.pc-all { background: color-mix(in srgb, var(--gold) 18%, white); color: var(--gold-d); }
.pchip > i svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pchip.on { border-color: var(--pc, var(--gold)); background: color-mix(in srgb, var(--pc, var(--gold)) 13%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc, var(--gold)) 20%, transparent); }
.eq-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 10px; }
.eq-top .pick-hint { margin: 0; }
.eq-modo { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 10%, white); border: 1px solid var(--line); }
.eq-modo button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.eq-modo button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eq-modo button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px color-mix(in srgb, var(--ink) 30%, transparent); }
.eq-wrap { overflow: auto; max-height: calc(100vh - 230px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); }
.eq { display: grid; min-width: max-content; }
.eq-h { position: sticky; top: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px 8px; border: 0; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: color-mix(in srgb, var(--gold) 6%, white); font: inherit; cursor: pointer; }
.eq-h .eq-wd { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.eq-h b { font-size: 20px; line-height: 1; color: var(--ink); }
.eq-h small { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.eq-h .occbar { width: 80%; margin-top: 3px; }
.eq-h.today b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: var(--gold-d); font-size: 16px; }
.eq-h.eq-corner { left: 0; z-index: 4; cursor: default; justify-content: flex-end; align-items: flex-start; border-left: 0; }
.eq-pro { position: sticky; left: 0; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 10px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: inset 4px 0 0 var(--pc), 4px 0 10px -8px color-mix(in srgb, var(--ink) 40%, transparent); }
.eq-pro .eq-av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: var(--pc); }
.eq-pro span { min-width: 0; } .eq-pro b { display: block; font-size: 14px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-pro small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.eq-cell { display: flex; flex-direction: column; align-items: stretch; gap: 5px; min-height: 92px; padding: 8px; border: 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.eq-cell:hover { background: color-mix(in srgb, var(--pc) 8%, white); }
.eq-cell.is-today { background: color-mix(in srgb, var(--gold) 5%, white); }
.eq-cell.folga { cursor: default; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold) 6%, white) 0 8px, #fff 8px 16px); }
.eq-occ { display: flex; align-items: center; gap: 6px; } .eq-occ .occbar { flex: 1; } .eq-occ .occtxt { font-size: 10.5px; white-space: nowrap; }
.eq-occ .occtxt span { display: none; }
.eq-folga { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.eq-list { display: flex; flex-direction: column; gap: 3px; }
.eq-a { display: flex; align-items: baseline; gap: 6px; padding: 3px 7px; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--pc) 14%, white); border-left: 3px solid var(--pc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq-a em { font-style: normal; font-size: 11px; font-weight: 800; color: color-mix(in srgb, var(--pc) 55%, var(--ink)); }
.eq-a.confirmado::after { content: "✓"; margin-left: auto; color: #1a7f45; font-weight: 900; }
.eq-a.concluido { opacity: .65; }
.eq-more { font-size: 11.5px; font-weight: 800; color: var(--gold-d); padding-left: 4px; }
.eq-livre { font-size: 11.5px; font-weight: 700; color: var(--muted); padding-left: 2px; }
.eq-bl { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 8px; font-size: 11px; font-weight: 800; color: #fff; background: #d6463a; }
.eq-bl svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
/* cor da profissional no cartão */
.cal.wk .appt .ab-pro { display: inline-grid; place-items: center; min-width: 19px; height: 17px; margin-right: 4px; padding: 0 3px; border-radius: 6px; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--pc, var(--gold)); vertical-align: 1px; }
.cal:not(.wk) .appt.ab { border-top: 3px solid var(--pc, transparent); }
@media (max-width: 899px) {
  .eq-wrap { max-height: calc(100vh - 200px); border-radius: 14px; }
  .eq { --eqpro: 92px; --eqcol: 112px; }
  .eq-pro { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 6px 8px 10px; }
  .eq-pro .eq-av { width: 28px; height: 28px; font-size: 11px; }
  .eq-pro b { font-size: 12.5px; max-width: 76px; }
  .eq-cell { min-height: 84px; padding: 6px; }
  .eq-a { font-size: 11.5px; padding: 2px 5px; }
  .eq-top { flex-direction: column; align-items: stretch; }
  .eq-modo { align-self: center; }
  .pchip { font-size: 13px; }
}

/* selos do topo da agenda com mais respiro (21/nov/2026): "96% livre" e "−7 dias / +7 dias" estavam espremidos */
.agenda-toolbar .tb-occ .occflag { flex: none; font-size: 10px; line-height: 1.2; padding: 3px 9px 3px 8px; gap: 4px; margin-left: 2px; vertical-align: 0; white-space: nowrap; letter-spacing: .05em; }
.agenda-toolbar .tb-occ .occflag svg { width: 11px; height: 11px; flex: none; }
.agenda-toolbar .tb-occ-txt strong { row-gap: 4px; line-height: 1.35; }
.agenda-toolbar .nav-tag { bottom: -13px; font-size: 9.5px; line-height: 1.35; padding: 2px 8px; }
.agenda-toolbar .tb-date { padding-bottom: 14px; }
@media (max-width: 480px) { .agenda-toolbar .tb-occ .occflag { font-size: 9.5px; padding: 3px 8px 3px 7px; } .agenda-toolbar .nav-tag { font-size: 9px; padding: 2px 7px; } }

/* Chat no celular, topo da conversa v2 (21/nov/2026): o nome ganha a largura toda ao lado da foto,
   as etiquetas viram UMA faixa que rola para o lado (de borda a borda) e o botão fica mais baixo */
@media (max-width: 899px) {
  .chat-pane .cp-head, .cp-head { grid-template-columns: 34px 40px minmax(0, 1fr) !important; grid-template-areas: "back av name" "back av phone" "tags tags tags" "act act act" !important; align-items: center; gap: 0 10px !important; padding: 10px 12px 10px !important; overflow: hidden; }
  .cp-head > .cp-back { grid-area: back; width: 34px !important; height: 34px !important; min-width: 34px !important; align-self: center; }
  .cp-head > .avatar, .cp-head > .av-wrap { grid-area: av; align-self: center; }
  .cp-head > .avatar, .cp-head > .av-wrap > .avatar { width: 40px !important; height: 40px !important; min-width: 40px; font-size: 14px !important; }
  .cp-head .cp-who { display: contents !important; }
  .cp-head .cp-who > b { grid-area: name; align-self: end; font-size: 17px !important; line-height: 1.18; -webkit-line-clamp: 2; }
  .cp-head .cp-who > small { grid-area: phone; align-self: start; font-size: 12.5px; margin-top: 1px; }
  .cp-head .cp-who > .cp-card, .cp-head .cp-who > .pill { grid-area: tags; }
  .cp-head .cp-card { display: flex !important; flex-wrap: nowrap !important; gap: 6px; margin: 10px -12px 0 !important; padding: 0 12px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 22px), transparent); }
  .cp-head .cp-card::-webkit-scrollbar { display: none; }
  .cp-head .cp-card > * { flex: none; }
  .cp-head .cp-card .ctags { display: flex; flex-wrap: nowrap; gap: 6px; margin: 0; }
  .cp-head .cp-card .chc, .cp-head .cp-card .ctag { height: 26px !important; font-size: 12px !important; max-width: none !important; }
  .cp-head .cp-card .chc span { max-width: 210px !important; }
  .cp-head .cp-who > .pill { justify-self: start; margin-top: 8px; }
  .cp-head .cp-actions { grid-area: act; margin-top: 10px; }
  .cp-head .cp-actions .btn { min-height: 38px !important; font-size: 13.5px !important; border-radius: 12px; }
}

/* Comparar mês a mês nas abas de Insights e no Marketing (21/nov/2026). Mês A = cor do salão, mês B = cinza */
.mm-box { --mma: var(--gold-d); --mmb: #9aa3ad; margin: 0 0 14px; border: 1.5px solid color-mix(in srgb, var(--gold) 28%, white); border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 7%, white), #fff 60%); overflow: hidden; }
.mm-box.open { box-shadow: 0 10px 28px -18px color-mix(in srgb, var(--gold-d) 60%, transparent); }
.mm-tg { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.mm-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
.mm-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mm-tt { flex: 1; min-width: 0; } .mm-tt b { display: block; font-size: 14.5px; color: var(--ink); } .mm-tt small { display: block; font-size: 12px; color: var(--muted); }
.mm-chev { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: transform .2s; }
.mm-chev svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.mm-box.open .mm-chev { transform: rotate(180deg); }
.mm-body { padding: 0 14px 14px; animation: mmIn .25s ease; }
@keyframes mmIn { from { opacity: 0; transform: translateY(-4px); } }
.mm-pick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mm-m { display: inline-flex; align-items: center; gap: 7px; padding: 4px 6px 4px 11px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.mm-m i { width: 10px; height: 10px; border-radius: 3px; background: var(--mma); } .mm-m.b i { background: var(--mmb); }
.mm-m.a { border-color: color-mix(in srgb, var(--mma) 55%, white); }
.mm-m select { border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 14px; padding: 4px 2px; margin: 0; cursor: pointer; color: var(--ink); }
.mm-swap { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 16px; font-weight: 800; color: var(--gold-d); cursor: pointer; transition: transform .25s; }
.mm-swap:hover { transform: rotate(180deg); }
.mm-atalhos { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.mm-atalhos button { padding: 5px 11px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--gold) 45%, white); background: transparent; font: inherit; font-size: 12px; font-weight: 700; color: var(--gold-d); cursor: pointer; }
.mm-atalhos button:hover { background: color-mix(in srgb, var(--gold) 10%, white); border-style: solid; }
.mm-load { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 13px; color: var(--muted); }
.mm-grid { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.mm-hd, .mm-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 96px; align-items: center; gap: 4px 10px; padding: 8px 12px; }
.mm-hd { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--gold) 5%, white); border-bottom: 1px solid var(--line); }
.mm-hd .mm-v { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; } .mm-hd .mm-v i { width: 9px; height: 9px; border-radius: 3px; background: var(--mma); } .mm-hd .mm-v.b i { background: var(--mmb); }
.mm-hd .mm-d { text-align: right; }
.mm-row { width: 100%; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); background: #fff; font: inherit; text-align: left; cursor: pointer; grid-template-areas: "l a b d" "bars bars bars bars"; transition: background .15s; }
.mm-row:last-child { border-bottom: 0; }
.mm-row:hover { background: color-mix(in srgb, var(--gold) 4%, white); }
.mm-row.on { background: color-mix(in srgb, var(--gold) 9%, white); box-shadow: inset 3px 0 0 var(--mma); }
.mm-row .mm-l { grid-area: l; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.mm-row .mm-v { text-align: right; font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mm-row .mm-v.a { grid-area: a; color: var(--ink); } .mm-row .mm-v.b { grid-area: b; color: var(--muted); font-weight: 700; }
.mm-d { grid-area: d; justify-self: end; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.mm-d.up { color: #136c3a; background: #e3f5ea; } .mm-d.down { color: #a51f15; background: #fdeceb; } .mm-d.eq { color: var(--muted); background: color-mix(in srgb, var(--ink) 5%, white); }
.mm-bars { grid-area: bars; display: grid; gap: 3px; }
.mm-bars i { display: block; height: 5px; border-radius: 99px; background: var(--mma); transition: width .5s cubic-bezier(.2, .8, .2, 1); min-width: 2px; }
.mm-bars i.b { background: var(--mmb); opacity: .7; }
.mm-trend { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mm-th b { display: block; font-size: 13.5px; } .mm-th small { display: block; font-size: 11.5px; color: var(--muted); }
.mm-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.mm-col { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.mm-col em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--muted); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.mm-cb { display: flex; align-items: flex-end; width: 100%; max-width: 46px; height: 96px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 4%, white); overflow: hidden; }
.mm-cb i { display: block; width: 100%; border-radius: 10px 10px 4px 4px; background: color-mix(in srgb, var(--mmb) 55%, white); transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.mm-col small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mm-col.a i { background: linear-gradient(180deg, var(--gold), var(--mma)); } .mm-col.a em, .mm-col.a small { color: var(--mma); }
.mm-col.b i { background: var(--mmb); } .mm-col.b small { color: var(--ink); }
.mm-col:hover .mm-cb { box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 35%, transparent); }
.mm-nota { display: flex; gap: 6px; align-items: flex-start; margin: 10px 2px 0; font-size: 11.5px; color: var(--muted); }
.mm-nota svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 640px) {
  .mm-atalhos { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .mm-atalhos button { flex: none; }
  .mm-hd, .mm-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 3px 10px; padding: 9px 10px; }
  .mm-row { grid-template-areas: "l l d" "a b b" "bars bars bars"; }
  .mm-row .mm-v.a { text-align: left; } .mm-row .mm-v.b { text-align: left; font-size: 13px; }
  .mm-hd { display: none; }
  .mm-cb { height: 78px; }
  .mm-col em { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .mm-body { animation: none; } .mm-bars i, .mm-cb i { transition: none; } }
@media (max-width: 640px) { .mm-row .mm-v::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; background: var(--mma); vertical-align: 1px; } .mm-row .mm-v.b::before { background: var(--mmb); } }

/* Chat no celular, topo v3 (21/nov/2026): sem faixa rolando. Etiquetas curtas que quebram linha
   e o próximo horário num quadrinho: data e hora em destaque, serviço e profissional embaixo */
.cp-mob { display: none; }
@media (max-width: 899px) {
  .cp-head .cp-who > .cp-card { display: none !important; }
  .cp-head .cp-who > .cp-mob { grid-area: tags; display: grid; gap: 8px; margin-top: 8px; min-width: 0; }
  .cp-mtags { display: flex; flex-wrap: wrap; gap: 5px; }
  .cp-mtags:empty { display: none; }
  .cp-mtags .ctags { display: contents; }
  .cp-mtags .chc, .cp-mtags .ctag { height: 24px; font-size: 11.5px; max-width: 100%; }
  .cp-mtags .chc span { max-width: 160px; }
  .cp-ag { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px 9px 9px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 9%, white); border: 1px solid color-mix(in srgb, var(--gold) 30%, white); }
  .cp-ag-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-d)); }
  .cp-ag-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .cp-ag-tx { min-width: 0; display: grid; gap: 1px; }
  .cp-ag-tx b { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.2; }
  .cp-ag-tx small { font-size: 12.5px; color: var(--muted); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .cp-ag-tx .cp-ag-pro { display: flex; align-items: center; gap: 4px; font-weight: 700; color: var(--gold-d); -webkit-line-clamp: 1; }
  .cp-ag-tx .cp-ag-pro svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
  .cp-ag > em { align-self: start; font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; color: var(--gold-d); background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 35%, white); }
  .cp-ag.ok { background: #eef8f1; border-color: #bfe3cb; }
  .cp-ag.ok .cp-ag-ic { background: linear-gradient(135deg, #2fae66, #1a7f45); }
  .cp-ag.ok > em { color: #fff; background: #1a7f45; border-color: #1a7f45; }
}

/* ---------- Atendimento com IA (21/nov/2026) ---------- */
.appt.online.ia::after { content: "marcou pela IA"; }
.pill.ia { background: #eef4ff; color: #2d4f9b; border-color: #c9d8f6; }
.bubble.ia { background: linear-gradient(135deg, #e9f0ff, #dbe6fb); }
.b-ia { display: block; font-size: 11px; font-weight: 700; color: #2d4f9b; letter-spacing: .02em; margin-bottom: 2px; }
.b-transc { display: block; font-size: 13px; font-style: italic; color: var(--muted); margin: 4px 0; }
.cp-ia { border-bottom: 1px solid var(--line, #eee); background: #f7f9ff; padding: 8px 14px; display: grid; gap: 8px; }
.cia-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.cia-row small { display: block; color: var(--muted); font-size: 12px; }
.cia-row.humano { color: #8a4b00; }
.cia-row.pausa { color: #5b5b5b; }
.cia-sug { background: #fff; border: 1px dashed #b8c8ee; border-radius: 12px; padding: 8px 10px; display: grid; gap: 6px; }
.cia-sug textarea { width: 100%; resize: vertical; font: inherit; border: 1px solid #dfe5f3; border-radius: 8px; padding: 6px 8px; }
.ia-card .ia-avisos { background: #fff7e8; border: 1px solid #f1d39a; border-radius: 10px; padding: 6px 10px; margin: 8px 0; }
.ia-card .ia-avisos p { margin: 4px 0; font-size: 13px; color: #7a4d00; display: flex; gap: 6px; align-items: flex-start; }
.ia-card .ia-avisos svg { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; margin-top: 2px; }
.ia-modos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin: 10px 0 14px; }
.ia-modo { border: 1.5px solid var(--line, #e6e0d6); border-radius: 12px; padding: 10px 12px; cursor: pointer; display: grid; gap: 2px; }
.ia-modo input { position: absolute; opacity: 0; pointer-events: none; }
.ia-modo small { color: var(--muted); font-size: 12px; }
.ia-modo.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 9%, white); }
.ia-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 12px; }
.ia-sim { margin-top: 18px; border-top: 1px solid var(--line, #eee); padding-top: 12px; }
.ia-sim h4 { margin: 0 0 4px; }
.ia-sim-msgs { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; padding: 10px; background: #faf7f2; border-radius: 12px; margin: 8px 0; min-height: 60px; }
.ia-ferr { margin-top: 6px; font-size: 12px; }
.ia-ferr pre { white-space: pre-wrap; word-break: break-word; font-size: 11px; max-height: 160px; overflow: auto; background: #fff; padding: 4px 6px; border-radius: 6px; }
.ia-ferr code { font-size: 11px; word-break: break-all; }
/* Atendimento com IA: visão do salão, só três modos (21/nov/2026) */
.ia-modos-salao .ia-modo { font: inherit; text-align: left; background: #fff; color: inherit; }
.ia-modos-salao .ia-modo:disabled { opacity: .6; cursor: wait; }
.ia-modos-salao .ia-modo:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ia-sup-tag { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #eee8fb; color: #5b3fa8; vertical-align: middle; margin-left: 6px; }

/* Marketing travado para quem só contratou a Agenda (22/nov/2026) */
.tabbar a.tab-lock { opacity: .78; }
.tab-beta.lock { background: var(--ink); color: #fff; padding: 2px 4px; line-height: 0; }
.tab-beta.lock svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.mkt-lock { position: relative; border-radius: 22px; overflow: hidden; min-height: 520px; background: var(--paper); border: 1px solid var(--line); }
.mkl-preview { position: absolute; inset: 0; padding: 22px; filter: blur(6px) saturate(.8); opacity: .55; pointer-events: none; user-select: none; }
.mkl-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mkl-kpi { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid var(--line); } .mkl-kpi small { display: block; color: var(--muted); font-size: 12px; } .mkl-kpi b { font-size: 22px; }
.mkl-chart { margin-top: 16px; height: 180px; display: flex; align-items: flex-end; gap: 8px; background: #fff; border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.mkl-chart i { flex: 1; background: var(--gold); border-radius: 6px 6px 2px 2px; opacity: .8; }
.mkl-rows { margin-top: 16px; display: grid; gap: 10px; } .mkl-rows i { display: block; height: 46px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.mkl-card { position: relative; z-index: 1; max-width: 520px; margin: 40px auto; background: #fff; border-radius: 22px; padding: 26px 24px 22px; box-shadow: 0 18px 50px rgba(0,0,0,.12); border: 1px solid var(--line); }
.mkl-selo { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .2px; padding: 6px 12px; border-radius: 999px; }
.mkl-selo svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.mkl-card h3 { margin: 14px 0 6px; font-size: 22px; line-height: 1.2; }
.mkl-card p { margin: 0 0 10px; color: var(--muted); }
.mkl-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.mkl-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.mkl-card li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--gold-d); stroke-width: 2.2; }
.mkl-wa { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; background: #25d366; border-color: #25d366; color: #fff; font-weight: 700; text-decoration: none; }
.mkl-wa svg { width: 20px; height: 20px; fill: currentColor; }
.mkl-obs { display: block; text-align: center; margin-top: 10px; color: var(--muted); font-size: 12.5px; }
@media (max-width: 640px) { .mkl-kpis { grid-template-columns: repeat(2, 1fr); } .mkl-card { margin: 18px 12px; padding: 22px 18px 18px; } .mkt-lock { min-height: 600px; } }
.mkl-wa-inline { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; background: #25d366; border-color: #25d366; color: #fff; text-decoration: none; }
.mkl-wa-inline svg { width: 16px; height: 16px; fill: currentColor; }

/* Origem e valor nos cards (22/nov/2026): selo de origem, valor do card do funil, total da coluna e filtro "Só do anúncio" */
.ctag.org { background: #fff; color: var(--ink); border-color: var(--line); }
.ctag.org svg.brandlogo { width: 15px; height: 15px; }
.ctag.org.compact svg.brandlogo { width: 13px; height: 13px; }
.ctag.org-site, .ctag.org-ia { color: var(--gold-d); }
.dcard .dc-valor { margin-left: auto; flex: none; font-style: normal; font-size: 12px; line-height: 1.4; font-weight: 800; color: var(--ink); background: color-mix(in srgb, var(--gold) 12%, #fff); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.fn-board .stage .st-sum { margin: -6px 4px 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.fn-anuncio.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Gestão › painel do mês e checklist de implantação (22/nov/2026) */
#gs-painel { display: grid; gap: 12px; margin-bottom: 12px; }
#gs-painel .card { margin: 0; }
.gs-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }
.gs-top h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.gs-top h3 svg { width: 18px; height: 18px; stroke: var(--gold-d); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gs-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gs-n { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--gold) 5%, #fff); }
.gs-n small { display: block; font-size: 12px; color: var(--muted); }
.gs-n b { display: block; font-size: 18px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-n.pos b { color: var(--ok); } .gs-n.neg b { color: var(--danger, #b42318); }
.gs-bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 14%, #fff); overflow: hidden; margin: 12px 0 8px; }
.gs-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-d)); transition: width .6s ease; }
.gs-meta p, .gs-dica { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 13.5px; color: var(--ink); }
.gs-dica { margin-top: 12px; color: var(--muted); }
.gs-pe { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.gs-pe svg { width: 16px; height: 16px; flex: none; margin-top: 1px; stroke: currentColor; fill: none; stroke-width: 2; }
.gs-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.gs-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.gs-list .gs-ck { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--gold) 14%, #fff); color: var(--gold-d); }
.gs-list li.ok .gs-ck { background: color-mix(in srgb, var(--ok) 15%, #fff); color: var(--ok); }
.gs-list .gs-ck svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gs-list .gs-l { flex: 1; min-width: 0; font-size: 13.5px; color: var(--ink); }
.gs-list li.ok .gs-l { color: var(--muted); }
.gs-list li small { font-size: 12px; color: var(--ok); font-weight: 700; }
.gs-list .btn { flex: none; }
@media (max-width: 700px) { .gs-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gs-n b { font-size: 16px; } }

/* Marketing › Insights: do anúncio ao caixa (22/nov/2026) */
.mk-caixa { margin: 12px 0; }
.mk-caixa h3 { display: flex; align-items: center; gap: 8px; }
.mkc-fluxo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mkc-p { position: relative; min-width: 0; display: grid; align-content: start; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--gold) 5%, #fff); }
.mkc-p small { font-size: 12px; color: var(--muted); }
.mkc-p b { font-size: 17px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mkc-p em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.mkc-ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); margin-bottom: 4px; }
.mkc-ic svg { width: 15px; height: 15px; stroke: var(--gold-d); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mkc-ic svg.brandlogo { width: 18px; height: 18px; stroke: none; }
.mkc-res { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.mkc-res > div { min-width: 0; padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 2px; }
.mkc-res small { font-size: 12px; color: var(--muted); }
.mkc-res b { font-size: 20px; color: var(--ink); }
.mkc-res em { font-style: normal; font-size: 12px; color: var(--muted); }
.mkc-res .pos b { color: var(--ok); } .mkc-res .neg b { color: var(--danger, #b42318); }
.mkc-nota { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.mkc-nota svg { width: 15px; height: 15px; flex: none; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 900px) { .mkc-fluxo { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mkc-fluxo .mkc-p:last-child { grid-column: 1 / -1; } }

/* Marketing › Meta Ads: API de Conversões (22/nov/2026) */
.mkt-capi { margin-top: 12px; display: grid; gap: 8px; min-width: 0; }
.mkt-capi h4 { display: flex; align-items: center; gap: 8px; margin: 0; }
.mkt-capi h4 svg { width: 18px; height: 18px; }
.mkt-capi > p { margin: 0; }
.capi-st { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.capi-st span { min-width: 0; display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.capi-st small { font-size: 11.5px; color: var(--muted); }
.capi-st b { font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.capi-st b.pos { color: var(--ok); } .capi-st b.neg { color: var(--danger, #b42318); }
.capi-erro { display: flex; gap: 8px; align-items: flex-start; color: var(--danger, #b42318); margin: 0; overflow-wrap: anywhere; }
.capi-erro svg { width: 15px; height: 15px; flex: none; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 2; }
.capi-form { display: grid; gap: 8px; min-width: 0; }
.capi-form .field input { width: 100%; min-width: 0; }
.capi-form .row { flex-wrap: wrap; gap: 8px; }
@media (max-width: 620px) { .capi-st { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* balões da sugestão da IA: um campo por mensagem (22/nov/2026) */
.cia-sug .cia-balao { width: 100%; resize: vertical; font: inherit; border: 1px solid #dfe5f3; border-radius: 12px 12px 12px 4px; padding: 6px 10px; background: #f6f9ff; }

/* Insights da IA de atendimento (22/nov/2026) */
.ia-atend.ok { flex-wrap: wrap; }
.ia-ins { flex: 1 1 100%; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.ia-ins > p { grid-column: 1 / -1; margin: 0; }
.iai { min-width: 0; display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--ok) 25%, var(--line)); }
.iai small { font-size: 12px; color: var(--muted); }
.iai b { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iai em { font-style: normal; font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.iai.hl b { color: var(--ok); }
@media (max-width: 900px) { .ia-ins { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ia-ins .iai.hl { grid-column: 1 / -1; } }

/* Atendimento com IA: configuração sempre minimizada + alerta de "não mexa" (22/nov/2026) */
.ia-card:has(> .ia-fold) { padding: 0; overflow: hidden; }
.ia-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; }
.ia-fold > summary::-webkit-details-marker, .ia-sub > summary::-webkit-details-marker { display: none; }
.ia-fold > summary:hover { background: color-mix(in srgb, var(--gold) 5%, white); }
.ia-fold > summary:focus-visible, .ia-sub > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.ia-fold-tit { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; font-size: 16px; }
.ia-fold-st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ia-fold-av { color: #8a5a00; font-weight: 600; }
.ia-dot { width: 8px; height: 8px; border-radius: 50%; background: #b9b2a6; flex: none; }
.ia-dot.sozinha { background: var(--ok, #2e8b57); } .ia-dot.sugere { background: var(--gold); }
.ia-fold-chev { width: 9px; height: 9px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin: 0 4px 4px; }
details[open] > summary > .ia-fold-chev { transform: rotate(-135deg); margin-bottom: -2px; }
.ia-fold-body { padding: 0 16px 16px; border-top: 1px solid var(--line, #eee); }
.ia-cuidado { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 10px; padding: 12px 14px; border-radius: 14px; background: #fff3f0; border: 1.5px solid #f0b9ad; border-left: 5px solid #d2492c; color: #6b2414; }
.ia-cuidado-ic svg { width: 22px; height: 22px; stroke: #d2492c; fill: none; stroke-width: 2; display: block; }
.ia-cuidado b { display: block; font-size: 14px; line-height: 1.35; }
.ia-cuidado p { margin: 4px 0 8px; font-size: 13px; line-height: 1.45; color: #7d3a2a; }
.ia-cuidado-wa { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: #1f9d55; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.ia-cuidado-wa:hover { background: #18834a; }
.ia-sub { border: 1.5px solid var(--line, #e6e0d6); border-radius: 12px; margin: 10px 0; background: #fff; }
.ia-sub > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; }
.ia-sub > summary > span:first-child { display: grid; gap: 1px; min-width: 0; flex: 1 1 220px; }
.ia-sub > summary small { color: var(--muted); font-size: 12px; }
.ia-sub > summary > .ia-fold-chev { margin-left: auto; }
.ia-sub-lock { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #fff3f0; color: #b23a20; border: 1px solid #f0b9ad; white-space: nowrap; }
.ia-sub[open] { border-color: #f0b9ad; }
.ia-sub > .field { margin: 0; padding: 0 12px 12px; }
.ia-sub textarea { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .ia-fold-st { margin-left: 0; flex-basis: 100%; order: 3; } .ia-fold > summary { padding: 12px 14px; } .ia-fold-body { padding: 0 14px 14px; } .ia-cuidado { flex-direction: column; gap: 6px; } }

/* Chat: quem mandou cada mensagem enviada (22/nov/2026) */
.b-who { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.3; margin-bottom: 3px; color: color-mix(in srgb, var(--gold) 70%, var(--ink)); }
.b-who.auto { color: #6a5a8e; }
.b-who.auto svg { width: 12px; height: 12px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; }
.b-who.sal { color: var(--muted); font-weight: 600; }
.b-who.b-ia { color: #2d4f9b; }

/* fotos de resultado do follow-up de 2 h (22/nov/2026) */
.ia-fotos { margin-top: 14px; display: grid; gap: 8px; }
.ia-fotos-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.ia-foto { position: relative; margin: 0; border: 1px solid var(--line, #e6e0d6); border-radius: 10px; overflow: hidden; background: #fff; }
.ia-foto img { width: 100%; height: 100px; object-fit: cover; display: block; }
.ia-foto figcaption { font-size: 11.5px; padding: 4px 6px; color: var(--muted); }
.ia-foto .iconbtn { position: absolute; top: 4px; right: 4px; background: #fff; }

/* sugestão da IA: balões já formatados (negrito do WhatsApp) e campos só ao tocar em Editar (22/nov/2026) */
.cia-ver { display: grid; gap: 4px; }
.cia-balao-ver { background: #f6f9ff; border: 1px solid #dfe5f3; border-radius: 12px 12px 12px 4px; padding: 6px 10px; white-space: pre-wrap; }
.cia-edit { display: grid; gap: 4px; }

/* anexar foto, vídeo e áudio no Chat (22/nov/2026) */
.cp-input { flex-wrap: wrap; }
.cp-anexo { order: -1; flex: 1 0 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid color-mix(in srgb, var(--gold) 30%, white); }
.cp-anexo[hidden], .cp-rec[hidden] { display: none; }
.cp-anexo img, .cp-anexo video { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #000; flex: none; }
.cp-anexo span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cp-anexo small { color: var(--muted, #777); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bubble.pending .b-img { opacity: .7; }
/* gravando: a barra troca a caixa de texto pelo cronômetro, lixeira e enviar */
.cp-input.gravando > :not(.cp-rec):not(.cp-tplbox) { display: none; }
.cp-rec { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 44px; padding-left: 10px; }
.cp-rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #d93025; animation: cpRec 1s ease-in-out infinite; flex: none; }
.cp-rec-t { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 48px; }
.cp-rec-lbl { flex: 1; color: var(--muted, #777); font-size: 14px; }
.cp-rec-x { margin-left: auto; }
@keyframes cpRec { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .cp-rec-dot { animation: none; } }
@media (max-width: 480px) {
  .cp-input { gap: 6px; padding: 8px; }
  .cp-input .cp-tpl, .cp-input .cp-send { width: 38px; height: 38px; }
  .cp-input textarea { min-width: 0; padding: 10px 12px; }
  .cp-input textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cp-rec-lbl { display: none; }
}
/* teclado aberto no celular (22/nov/2026): a barra de baixo some para a conversa ganhar espaço e volta ao fechar o teclado */
@media (max-width: 899px) {
  body.kb-aberto { padding-bottom: 0; }
  body.kb-aberto .tabbar { display: none; }
  body.kb-aberto .chat-app { height: calc(100dvh - 82px); }
}

/* base automática da IA (23/nov/2026) */
.ia-base-auto { margin-top: 14px; display: grid; gap: 8px; }
.ia-ba-fontes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.ia-ba-fontes li.erro { color: #b4232f; } .ia-ba-fontes li.off { color: var(--muted); }
/* Acessos: profissional com acesso pendente, na mesma lista dos usuários (24/nov/2026) */
.ac-pend-aviso { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; font-size: 13px; color: #8a5a12; background: color-mix(in srgb, #d97706 8%, white); border: 1px solid color-mix(in srgb, #d97706 30%, white); }
.ac-pend-aviso svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; }
.ac-card.pend { cursor: default; border-style: dashed; border-color: color-mix(in srgb, #d97706 45%, white); }
.ac-pendtag { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: #fdf1dc; color: #8a5a0b; vertical-align: middle; }
.ac-pend-f { display: flex; gap: 8px; margin-top: 6px; min-width: 0; }
.ac-pend-f input { flex: 1; min-width: 0; }
/* aviso de WhatsApp desconectado no topo da Agenda (25/nov/2026) */
.wa-alert { flex-wrap: wrap; }
.wa-alert > span:first-of-type { flex: 1 1 260px; min-width: 0; }
.wa-alert small { opacity: .85; }
.wa-alert-bt { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-alert .wa-alert-bt { flex: 0 1 auto; min-width: 0; }
/* vigia do WhatsApp: etiqueta amarela "Atenção" na conversa (25/nov/2026) */
.cl-atencao { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 99px; font-size: 10.5px; font-weight: 800; font-style: normal; vertical-align: middle; background: #fdf1dc; color: #8a5a0b; border: 1px solid #f1d39b; white-space: nowrap; }
.cp-atencao { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 8px 12px 0; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; background: #fdf1dc; color: #6b4507; border: 1px solid #f1d39b; }
.cp-atencao > span { flex: 1 1 220px; min-width: 0; }
.cp-atencao .btn { flex: none; }
/* localização do aparelho em Gestão › Acessos (25/nov/2026) */
.ac-loc { margin-top: 12px; }
.ac-loc ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; overflow-wrap: anywhere; }
.ac-loc a { font-weight: 700; }
/* pagamento da conta de anúncios (25/nov/2026): bloco minimizável, saldo devedor em vermelho, Pix com logo e valores rápidos */
.saldo-wrap { border-radius: 20px; }
.saldo-wrap > .sd-sum { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.saldo-wrap > .sd-sum::-webkit-details-marker { display: none; }
.saldo-wrap[open] > .sd-sum { margin-bottom: 10px; }
.sd-sum-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-sum-t.red { color: #b4232f; }
.sd-tog { flex: none; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.sd-tog i { font-style: normal; }
.saldo-wrap[open] .sd-tog .c, .saldo-wrap:not([open]) .sd-tog .o { display: none; }
.sd-top2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sd-meta { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #0866ff; color: #fff; }
.sd-meta svg { width: 28px; height: 28px; }
.sd-tit { flex: 1 1 200px; min-width: 0; }
.sd-tit b { display: block; font-size: 17px; }
.sd-tit small { color: var(--muted); }
.sd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 800; background: #e3f3ea; color: #1d7a50; }
.sd-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.sd-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.sd-num { min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.sd-num small { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sd-num b { font-size: 22px; line-height: 1.15; }
.sd-num b.sd-txt { font-size: 15px; }
.sd-num em { font-style: normal; font-size: 12px; color: var(--muted); }
.sd-num.red { background: #fde8e8; border-color: #f5b5b5; }
.sd-num.red b, .sd-num.red small { color: #b4232f; }
@media (max-width: 760px) { .sd-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sd-add { display: grid; gap: 10px; padding: 14px; border-radius: 16px; border: 1.5px dashed color-mix(in srgb, var(--gold) 45%, white); background: #fff; }
.sd-add-h { display: flex; gap: 10px; align-items: flex-start; }
.sd-add-h b { display: block; font-size: 15px; }
.sd-add-h small { display: block; color: var(--muted); font-size: 12.5px; }
.sd-add-ic { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #e3f3ea; color: #1d7a50; }
.sd-add-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-chip { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink); }
.sd-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sd-row { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.sd-row .field { flex: 1 1 180px; margin: 0; }
.sd-pixbtn { display: inline-flex; align-items: center; gap: 8px; background: #32bcad; border-color: #32bcad; color: #fff; }
.sd-pixbtn svg { width: 18px; height: 18px; }
/* alertas dos anúncios sempre minimizados (25/nov/2026) */
.ma-wrap > summary { list-style: none; cursor: pointer; }
.ma-wrap > summary::-webkit-details-marker { display: none; }
.ma-att { font-style: normal; display: inline-block; padding: 1px 8px; margin-right: 4px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.85); color: #b4232f; vertical-align: middle; }
.ma-head.am .ma-att { color: #8a5a0b; }
.ma-ver { margin-left: auto; font-size: 12.5px; font-weight: 800; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.ma-ver i { font-style: normal; }
.ma-wrap[open] .ma-ver .c, .ma-wrap:not([open]) .ma-ver .o { display: none; }
.ma-items { display: grid; gap: 6px; margin-top: 8px; }
.ma-items .ma-item { padding: 10px 12px; }
.ma-items .ma-item .ma-txt span { font-size: 13px; }
/* Página de vendas: minha LP, prévia, resultados e pedido de LP (25/nov/2026) */
.lp-minha, .lp-quero { margin-bottom: 12px; }
.lp-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lp-h h3 { margin: 0; }
.lp-prev { position: relative; margin: 12px 0 6px; height: 340px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.lp-prev iframe { width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.lp-sub { margin: 14px 0 8px; font-size: 14px; }
.lp-ins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lp-in { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.lp-in small { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.lp-in b { font-size: 20px; }
.lp-in em { font-style: normal; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .lp-ins { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-prev { height: 260px; } }
.lp-form, .lp-brief { display: grid; gap: 10px; margin-top: 12px; }
.lp-svcs { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-svc { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: 13px; cursor: pointer; }
.lp-svc:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.lp-svc input { accent-color: var(--gold); }
.lp-pedido { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #e3f3ea; color: #1d4a33; font-size: 13.5px; }
.lp-st { padding: 3px 10px; border-radius: 99px; background: #1d7a50; color: #fff; font-weight: 800; font-size: 12px; }
.lp-como { margin-top: 4px; }
.lp-como > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.lp-como > summary::-webkit-details-marker { display: none; }
.lp-como > summary small { color: var(--muted); }
.lp-como[open] > summary { margin-bottom: 12px; }
.lp-brief[hidden], .lp-form[hidden] { display: none; }
/* Pix demorando (25/nov/2026): sem "carregando" infinito, explica e oferece pagar no Gerenciador */
.sd-demora { align-items: flex-start; background: #fdf1dc; border-color: #f1d39b; }
.sd-demora .row { margin-top: 8px; flex-wrap: wrap; gap: 8px; }
.sd-demora-ic { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #8a5a0b; }
.sd-demora-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Lota IA Escritórios: contrato e documentos (26/nov/2026) */
.dc-tab.doc { color: var(--gold-d); }
.dc-tab.doc.ok { color: #fff; background: var(--ok); border-color: var(--ok); }
.esc-docs { display: grid; gap: 10px; }
.esc-doc-status { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; background: var(--paper); }
.esc-doc-status > svg { width: 20px; height: 20px; flex: none; stroke: var(--muted); fill: none; stroke-width: 2; }
.esc-doc-status span { display: grid; gap: 2px; min-width: 0; text-align: left; }
.esc-doc-status small { color: var(--muted); font-size: 12px; }
.esc-doc-status.meio { border-style: solid; border-color: var(--gold-l, var(--line)); }
.esc-doc-status.meio > svg { stroke: var(--gold-d); }
.esc-doc-status.ok { border-style: solid; border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 8%, var(--paper)); }
.esc-doc-status.ok > svg { stroke: var(--ok); }
.esc-doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.esc-doc-list li { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); min-width: 0; }
.esc-doc-file { flex: 1; display: flex; align-items: center; gap: 9px; min-width: 0; color: inherit; text-decoration: none; }
.esc-doc-file svg { width: 18px; height: 18px; flex: none; stroke: var(--gold-d); fill: none; stroke-width: 2; }
.esc-doc-file span { display: grid; min-width: 0; text-align: left; }
.esc-doc-file b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esc-doc-file small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esc-doc-sign { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.esc-doc-sign svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.esc-doc-sign.on { color: #fff; background: var(--ok); border-color: var(--ok); }
.esc-doc-ic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.esc-doc-ic svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.esc-doc-ic.del { color: var(--bad); }
.esc-doc-add { display: grid; gap: 8px; padding-top: 2px; }
.esc-doc-tipos { display: flex; flex-wrap: wrap; gap: 6px; }
.esc-doc-tipos .chip { font-size: 12.5px; }
.esc-doc-chk { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.esc-doc-chk input { width: 16px; height: 16px; min-height: 0; accent-color: var(--gold-d); }
.esc-doc-up { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.esc-doc-up svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 480px) { .esc-doc-sign { padding: 0 8px; } .esc-doc-list li { flex-wrap: wrap; } .esc-doc-file { flex-basis: 100%; } }

/* Celular do espaço no Insights (28/nov/2026) */
.cel-card{margin:0 0 16px;padding:16px;border-radius:20px;background:#fff;border:1.5px solid color-mix(in srgb,var(--gold) 30%,white);box-shadow:var(--shadow-1)}
.cel-h{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.cel-ic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--gold),var(--gold-d))}
.cel-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cel-t b{display:block;font-size:16px} .cel-t small{display:block;font-size:12.5px;color:var(--muted)}
.cel-dev{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:14px;align-items:start;padding:10px 0;border-top:1px solid var(--line)}
.cel-mapa{position:relative;height:240px;border-radius:16px;overflow:hidden;background:color-mix(in srgb,var(--gold) 8%,white)}
.cel-mapa iframe{width:100%;height:100%;border:0}
.cel-mapa.vazio{display:grid;place-items:center;text-align:center;padding:16px;color:var(--muted);font-size:13.5px}
.cel-pulso{position:absolute;right:10px;top:10px;width:14px;height:14px;border-radius:50%;background:#1a9b55;box-shadow:0 0 0 0 rgba(26,155,85,.6);animation:celP 1.8s infinite}
.cel-pulso.velho{background:#c98a16;animation:none}
@keyframes celP{70%{box-shadow:0 0 0 12px rgba(26,155,85,0)}100%{box-shadow:0 0 0 0 rgba(26,155,85,0)}}
.cel-info{display:flex;flex-direction:column;gap:4px}
.cel-info b{font-size:15px}
.cel-quando{align-self:flex-start;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:800}
.cel-quando.ok{background:#e6f6ed;color:#136c3a} .cel-quando.velho{background:#fff4d6;color:#8a5a00}
.cel-info small{font-size:12.5px;color:var(--muted)}
.cel-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.cel-trilha{margin-top:6px;font-size:13px} .cel-trilha summary{cursor:pointer;font-weight:700;color:var(--gold-d)}
.cel-trilha ul{list-style:none;margin:6px 0 0;padding:0;max-height:180px;overflow:auto} .cel-trilha li{display:flex;justify-content:space-between;padding:4px 0;border-bottom:1px dashed var(--line)}
.cel-este{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding-top:12px;border-top:1px solid var(--line)}
.cel-ok{display:flex;align-items:center;gap:6px;font-weight:700;color:#136c3a;font-size:13.5px} .cel-ok svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6}
.cel-nota{display:flex;gap:6px;margin:10px 0 0;font-size:12px;color:var(--muted)} .cel-nota svg{flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
/* aviso no aparelho que está mandando a posição */
body.cel-on::after{content:"📍 Localização do celular do espaço ligada";position:fixed;left:50%;top:max(4px,env(safe-area-inset-top));transform:translateX(-50%);z-index:60;padding:2px 10px;border-radius:999px;background:rgba(26,155,85,.92);color:#fff;font-size:11px;font-weight:700;pointer-events:none;white-space:nowrap}
@media (max-width:760px){.cel-dev{grid-template-columns:1fr}.cel-mapa{height:200px}}
