/* Florescer Gestão — rosa morango + chocolate */
:root {
  color-scheme: light;
  --bg: #fdf2f5;            /* rosa bem clarinho */
  --surface: #fffaf8;       /* creme */
  --surface-2: #fbe6ec;     /* rosa clarinho */
  --line: #f1d6de;
  --choc: #4b2a20;          /* chocolate */
  --choc-2: #6e4436;
  --text: #4b2a20;
  --text-2: #7a5244;
  --muted: #a8857a;
  --rosa: #d65f8a;
  --rosa-forte: #b8456f;
  --rosa-soft: #fce1ea;
  --accent: #b8456f;
  --accent-ink: #ffffff;
  --in: #d65f8a;            /* entradas */
  --out: #8f4a1f;           /* gastos */
  --good: #2f7d4a;
  --bad: #c0362c;
  --radius: 20px;
  --shadow: 0 1px 2px color-mix(in srgb, var(--choc) 6%, transparent), 0 6px 20px color-mix(in srgb, var(--rosa-forte) 8%, transparent);
  --serif: "Fraunces", Georgia, serif;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg opacity='.55'%3E%3Crect x='10' y='14' width='12' height='4' rx='2' fill='%23d65f8a' transform='rotate(35 16 16)'/%3E%3Crect x='70' y='20' width='12' height='4' rx='2' fill='%238f4a1f' transform='rotate(-20 76 22)'/%3E%3Crect x='40' y='60' width='12' height='4' rx='2' fill='%23f3a9c0' transform='rotate(70 46 62)'/%3E%3Crect x='95' y='75' width='12' height='4' rx='2' fill='%23d65f8a' transform='rotate(-55 101 77)'/%3E%3Crect x='15' y='95' width='12' height='4' rx='2' fill='%23c98b6b' transform='rotate(10 21 97)'/%3E%3Crect x='65' y='100' width='12' height='4' rx='2' fill='%23f3a9c0' transform='rotate(-30 71 102)'/%3E%3Ccircle cx='55' cy='30' r='2.5' fill='%23b8456f'/%3E%3Ccircle cx='100' cy='45' r='2.5' fill='%23f3a9c0'/%3E%3Ccircle cx='20' cy='60' r='2.5' fill='%238f4a1f'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px;
}
button, input, select, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); }

/* ---------- Logo ---------- */
.logo {
  width: 44px; height: 44px; border-radius: 50%; background: var(--rosa-soft);
  display: grid; place-items: center; font-size: 24px; flex: none;
  box-shadow: inset 0 0 0 2px #fff, 0 2px 8px color-mix(in srgb, var(--rosa-forte) 25%, transparent);
}
.brand-name { font-family: var(--serif); font-weight: 700; font-style: italic; letter-spacing: -.01em; }

/* ---------- Login ---------- */
.auth {
  min-height: 100vh; display: grid; place-items: center; padding: 32px 16px;
  background: var(--sprinkles), linear-gradient(180deg, var(--rosa-soft) 0%, var(--bg) 60%);
}
.auth-card {
  position: relative; width: 100%; max-width: 400px; background: var(--surface);
  border-radius: 28px; padding: 64px 24px 26px; box-shadow: 0 12px 40px color-mix(in srgb, var(--choc) 14%, transparent);
  overflow: hidden;
}
.auth-card .drip { position: absolute; top: 0; left: 0; right: 0; height: 46px; color: var(--choc); }
.auth-card .drip::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 18px; background: currentColor; }
.auth-card .drip svg { position: absolute; top: 17px; left: 0; width: 100%; height: 26px; }
.auth-head { text-align: center; margin-bottom: 18px; }
.auth-head .logo { width: 72px; height: 72px; font-size: 38px; margin: 0 auto 10px; }
.auth-head h1 { font-size: 30px; margin: 0; color: var(--choc); }
.auth-head p { color: var(--text-2); margin: 6px 0 0; }
.auth-tabs { display: flex; background: var(--surface-2); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button {
  flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 999px; font-weight: 800; color: var(--text-2); cursor: pointer;
}
.auth-tabs button.on { background: var(--surface); color: var(--rosa-forte); box-shadow: var(--shadow); }
.link { background: none; border: 0; color: var(--rosa-forte); font-weight: 800; cursor: pointer; padding: 6px 0; }

/* ---------- Campos ---------- */
label.f { display: block; margin-bottom: 16px; }
label.f > span { display: block; font-size: 15px; font-weight: 800; color: var(--choc-2); margin-bottom: 7px; }
input.in, select.in, textarea.in {
  width: 100%; border: 2px solid var(--line); background: #fff; border-radius: 14px;
  padding: 12px 14px; font-size: 17px; outline: none; transition: border-color .15s, box-shadow .15s;
}
input.in:focus, select.in:focus { border-color: var(--rosa); box-shadow: 0 0 0 4px var(--rosa-soft); }
input.in::placeholder { color: #c9aaa0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.money { position: relative; }
.money::before { content: "R$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 800; }
.money input { padding-left: 44px; font-weight: 800; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 16px; padding: 14px 18px; font-weight: 800; cursor: pointer; font-size: 16px;
  transition: transform .1s, filter .15s;
}
.btn:active { transform: scale(.98); }
.btn.primary { background: linear-gradient(180deg, var(--rosa) 0%, var(--rosa-forte) 100%); color: #fff; width: 100%; box-shadow: 0 6px 16px color-mix(in srgb, var(--rosa-forte) 30%, transparent); }
.btn.choc { background: var(--choc); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--choc) 25%, transparent); }
.btn.ghost { background: var(--surface-2); color: var(--choc); }
.btn.danger { background: transparent; color: var(--bad); }
.btn:disabled { opacity: .6; cursor: default; }
.msg { font-size: 15px; padding: 12px 14px; border-radius: 14px; margin-bottom: 14px; }
.msg.err { background: #fde8e6; color: var(--bad); }
.msg.ok { background: #e7f4ea; color: var(--good); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 15px; font-weight: 800; font-size: 15px; cursor: pointer; color: var(--text-2);
}
.chip.on { border-color: var(--rosa); background: var(--rosa-soft); color: var(--choc); }

/* ---------- Topo (bolo com cobertura de chocolate) ---------- */
header.top { position: sticky; top: 0; z-index: 10; background: var(--choc); color: #fff3ee; }
header.top::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; pointer-events: none;
  background: var(--choc); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath fill='%234b2a20' d='M0 0H400V6Q392 6 390 11Q388 20 382 20Q376 20 375 11Q373 6 360 6H330Q322 6 321 9Q320 14 315 14Q310 14 309 9Q308 6 300 6H250Q242 6 240 13Q238 24 231 24Q224 24 223 13Q221 6 212 6H170Q163 6 162 9Q161 15 156 15Q151 15 150 9Q149 6 142 6H95Q88 6 86 12Q84 21 78 21Q72 21 71 12Q69 6 60 6H30Q24 6 23 8Q22 12 18 12Q14 12 13 8Q12 6 6 6H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath fill='%234b2a20' d='M0 0H400V6Q392 6 390 11Q388 20 382 20Q376 20 375 11Q373 6 360 6H330Q322 6 321 9Q320 14 315 14Q310 14 309 9Q308 6 300 6H250Q242 6 240 13Q238 24 231 24Q224 24 223 13Q221 6 212 6H170Q163 6 162 9Q161 15 156 15Q151 15 150 9Q149 6 142 6H95Q88 6 86 12Q84 21 78 21Q72 21 71 12Q69 6 60 6H30Q24 6 23 8Q22 12 18 12Q14 12 13 8Q12 6 6 6H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.top-inner { max-width: 760px; margin: 0 auto; padding: 12px 16px 6px; display: flex; align-items: center; gap: 12px; }
.top-inner .logo { background: var(--rosa-soft); }
.top-inner .who { flex: 1; min-width: 0; }
.who b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who small { color: #e8bfb0; font-size: 13px; }
.top-btn { background: rgba(255, 255, 255, .12); color: #fff3ee; border: 0; border-radius: 12px; padding: 8px 14px; font-weight: 800; font-size: 14px; cursor: pointer; }
.month { max-width: 760px; margin: 0 auto; padding: 4px 16px 10px; display: flex; align-items: center; justify-content: space-between; }
.month h2 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.month-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.client-pick { max-width: 760px; margin: 0 auto; padding: 0 16px 8px; }
.client-pick select { padding: 9px 12px; font-size: 15px; background: #fff3ee; color: var(--choc); border: 0; }

main { max-width: 760px; margin: 0 auto; padding: 34px 16px 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.card h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--choc); }
.card .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

/* Saudação */
.hello { margin: 0 2px 16px; }
.hello h2 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--choc); }
.hello p { margin: 4px 0 0; color: var(--text-2); font-size: 16px; }
.hello p b { color: var(--choc); }

/* Lucro (cartão de chocolate) */
.hero {
  position: relative; overflow: hidden; border-radius: 24px; padding: 20px 20px 18px; margin-bottom: 12px; color: #fff3ee;
  background: var(--sprinkles) right -48px top -56px / 150px no-repeat, linear-gradient(150deg, var(--choc-2) 0%, var(--choc) 70%);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--choc) 28%, transparent);
}
.hero .lbl { font-weight: 800; font-size: 15px; color: #f5c6d4; }
.hero .val { font-family: var(--serif); font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.hero .val.neg { color: #ffb4a8; }
.hero .hint { color: #e8cfc6; font-size: 15px; margin-top: 4px; }
.hero .bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .15); margin-top: 14px; overflow: hidden; display: flex; }
.hero .bar i { display: block; height: 100%; }
.hero .bar-legend { display: flex; justify-content: space-between; font-size: 13px; color: #e8cfc6; margin-top: 6px; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi .lbl { font-size: 14px; font-weight: 800; color: var(--text-2); display: flex; align-items: center; gap: 7px; }
.kpi .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.kpi .val { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin-top: 2px; color: var(--choc); }
.kpi .hint { font-size: 13px; color: var(--muted); }

.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.quick .btn { width: 100%; padding: 16px 10px; font-size: 16px; border-radius: 18px; }
.quick .btn .e { font-size: 22px; }

.pos { color: var(--good); }
.neg { color: var(--bad); }
.alert { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--choc-2); background: #fff4e5; border: 1.5px solid #f7d9a8; border-radius: 16px; padding: 12px 14px; margin-bottom: 14px; }

.chart-box { position: relative; height: 230px; }
.legend { display: flex; gap: 16px; font-size: 14px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.tip { display: flex; gap: 10px; background: var(--rosa-soft); border-radius: 16px; padding: 12px 14px; font-size: 15px; color: var(--choc-2); margin-bottom: 14px; }

/* Listas */
.day { margin: 20px 4px 8px; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: flex; justify-content: space-between; }
.item {
  display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 12px 14px;
  margin-bottom: 8px; box-shadow: var(--shadow); cursor: pointer; width: 100%; border: 0; text-align: left;
}
.item:active { transform: scale(.99); }
.item .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--rosa-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.item.out .ic { background: #f5e6dc; }
.item .tx { flex: 1; min-width: 0; }
.item .tx b { display: block; font-weight: 800; color: var(--choc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .tx small { color: var(--muted); font-size: 13.5px; }
.item .v { font-weight: 800; white-space: nowrap; text-align: right; color: var(--choc); }
.item.in .v { color: var(--rosa-forte); }
.tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-top: 2px; }
.tag.pend { background: #fff0d9; color: #8a5a12; }
.empty { text-align: center; color: var(--text-2); padding: 36px 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty .big { font-size: 52px; line-height: 1; margin-bottom: 8px; }
.empty b { font-family: var(--serif); font-size: 20px; color: var(--choc); font-weight: 600; }
.totbar {
  display: flex; justify-content: space-between; align-items: center; border-radius: 20px; padding: 16px 18px; color: #fff;
  background: linear-gradient(150deg, var(--rosa) 0%, var(--rosa-forte) 100%); box-shadow: 0 8px 22px color-mix(in srgb, var(--rosa-forte) 28%, transparent);
}
.totbar.out { background: linear-gradient(150deg, var(--choc-2) 0%, var(--choc) 100%); box-shadow: 0 8px 22px color-mix(in srgb, var(--choc) 25%, transparent); }
.totbar span { font-weight: 800; opacity: .9; }
.totbar b { font-family: var(--serif); font-size: 26px; }

.fab {
  position: fixed; right: max(16px, calc(50% - 364px)); bottom: 96px; z-index: 20;
  height: 58px; padding: 0 24px; border-radius: 999px; border: 0; color: #fff;
  background: linear-gradient(180deg, var(--rosa) 0%, var(--rosa-forte) 100%);
  font-weight: 800; font-size: 17px; box-shadow: 0 8px 22px color-mix(in srgb, var(--rosa-forte) 45%, transparent); cursor: pointer;
}
.fab.out { background: var(--choc); box-shadow: 0 8px 22px color-mix(in srgb, var(--choc) 40%, transparent); }

nav.tabs {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 15; background: var(--surface);
  box-shadow: 0 -4px 20px color-mix(in srgb, var(--choc) 8%, transparent); display: flex; justify-content: center; padding-bottom: env(safe-area-inset-bottom);
  border-radius: 22px 22px 0 0;
}
nav.tabs .wrap { display: flex; max-width: 760px; width: 100%; padding: 8px 8px 10px; gap: 4px; }
nav.tabs button {
  flex: 1; border: 0; background: none; padding: 7px 2px 6px; font-size: 13px; font-weight: 800; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; border-radius: 16px;
}
nav.tabs button .e { font-size: 23px; line-height: 1; opacity: .55; }
nav.tabs button.on { background: var(--rosa-soft); color: var(--rosa-forte); }
nav.tabs button.on .e { opacity: 1; }

/* Formulário (folha que sobe) */
.sheet-bg { position: fixed; inset: 0; background: color-mix(in srgb, var(--choc) 45%, transparent); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  background: var(--bg); width: 100%; max-width: 560px; max-height: 92vh; overflow: auto;
  border-radius: 28px 28px 0 0; padding: 10px 18px 26px;
}
.sheet::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 0 auto 12px; }
@media (min-width: 640px) { .sheet-bg { align-items: center; } .sheet { border-radius: 28px; } .sheet::before { display: none; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sheet-head h3 { margin: 0; font-family: var(--serif); font-size: 23px; color: var(--choc); }
.close-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--choc); font-size: 18px; cursor: pointer; }
.sheet .actions { display: flex; gap: 10px; margin-top: 10px; }
.sheet .actions .btn.primary { flex: 1; }
.sheet.out .btn.primary { background: var(--choc); box-shadow: 0 6px 16px color-mix(in srgb, var(--choc) 25%, transparent); }

/* Relatório */
.rep h2 { margin: 0; font-family: var(--serif); font-size: 26px; color: var(--choc); }
.rep .meta { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: left; }
table.t th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
table.t td.r, table.t th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t tr.tot td { font-weight: 800; border-bottom: 0; color: var(--choc); }
.rep-actions { display: flex; gap: 10px; margin-bottom: 14px; }
.rep-actions .btn { flex: 1; }

.toast {
  position: fixed; left: 50%; bottom: 168px; transform: translateX(-50%); background: var(--choc); color: #fff3ee;
  padding: 12px 18px; border-radius: 999px; font-weight: 800; z-index: 60; font-size: 15px; white-space: nowrap; box-shadow: 0 8px 20px color-mix(in srgb, var(--choc) 30%, transparent);
}

@media print {
  body { background: #fff; padding: 0; }
  header.top, nav.tabs, .fab, .rep-actions, .no-print, .toast { display: none !important; }
  main { max-width: none; padding: 0; }
  .card { box-shadow: none; border: 1px solid #ecd3da; break-inside: avoid; }
}

/* ================= Módulos novos ================= */
body.no-month main { padding-top: 30px; }
.quick .btn.wide { grid-column: 1 / -1; padding: 13px 10px; background: #fff; color: var(--choc); box-shadow: var(--shadow); border: 2px dashed var(--line); }
.back { background: none; border: 0; color: var(--rosa-forte); font-weight: 800; font-size: 16px; padding: 4px 2px 10px; cursor: pointer; }
.sec { font-family: var(--serif); font-size: 18px; color: var(--choc); margin: 22px 2px 8px; }

/* menu Mais */
.menu-item { display: flex; align-items: center; gap: 14px; width: 100%; background: var(--surface); border: 0; border-radius: 18px; padding: 16px; margin-bottom: 10px; box-shadow: var(--shadow); text-align: left; cursor: pointer; }
.menu-item .ic { width: 50px; height: 50px; border-radius: 16px; background: var(--rosa-soft); display: grid; place-items: center; font-size: 26px; flex: none; }
.menu-item .tx { flex: 1; } .menu-item b { display: block; font-size: 17px; color: var(--choc); } .menu-item small { color: var(--muted); font-size: 14px; }
.menu-item .chev { font-size: 28px; color: var(--rosa); }

/* agenda */
.week-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; text-align: center; }
.week-nav small { display: block; color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.week-nav b { font-family: var(--serif); font-size: 21px; color: var(--choc); }
.month-btn.dark { background: var(--surface); color: var(--choc); box-shadow: var(--shadow); }
.week-sum { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--choc); color: #fff3ee; border-radius: 20px; padding: 14px 6px; margin-bottom: 16px; text-align: center; box-shadow: 0 8px 22px color-mix(in srgb, var(--choc) 22%, transparent); }
.week-sum b { display: block; font-family: var(--serif); font-size: 20px; } .week-sum small { color: #e8bfb0; font-size: 12.5px; font-weight: 700; }
.week-sum > div + div { border-left: 1px solid rgba(255,255,255,.15); }
.aday { margin-bottom: 14px; }
.aday-h { display: flex; align-items: center; gap: 8px; margin: 0 4px 8px; font-weight: 800; color: var(--text-2); }
.aday-h > span { display: flex; align-items: baseline; gap: 6px; } .aday-h b { font-family: var(--serif); font-size: 20px; color: var(--choc); }
.aday-h i { font-style: normal; font-size: 12px; background: var(--rosa); color: #fff; border-radius: 999px; padding: 2px 9px; }
.aday-h .add-mini { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--rosa-forte); font-size: 18px; font-weight: 800; cursor: pointer; }
.aday.past { opacity: .72; }
.aday.today .aday-h b { color: var(--rosa-forte); }
.livre { color: #c9aaa0; font-size: 14px; padding: 10px 14px; border: 2px dashed var(--line); border-radius: 14px; }
.enc { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 8px; border-left: 5px solid var(--rosa); overflow: hidden; }
.enc.pronta { border-left-color: #e0a14a; } .enc.entregue { border-left-color: #8fbf9a; } .enc.cancelada { border-left-color: #ccc; opacity: .6; }
.enc.pago { border-left-color: var(--good); }
.enc-main { display: flex; gap: 12px; align-items: flex-start; width: 100%; background: none; border: 0; text-align: left; padding: 12px 14px; cursor: pointer; }
.enc-time { font-weight: 800; color: var(--rosa-forte); min-width: 44px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.enc .tx { flex: 1; min-width: 0; } .enc .tx b { display: block; color: var(--choc); } .enc .tx small { color: var(--muted); font-size: 13.5px; display: block; }
.enc .v { font-weight: 800; color: var(--choc); white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.pill { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--choc-2); }
.pill.st-pronta { background: #fdeccf; } .pill.st-entregue { background: #e2f1e5; color: #2c6b3e; } .pill.st-cancelada { background: #eee; }
.pill.ok { background: #e2f1e5; color: #2c6b3e; } .pill.warn { background: #fff0d9; color: #8a5a12; }
.enc-actions { display: flex; gap: 8px; justify-content: flex-end; padding: 0 12px 12px; }
.mini-btn { border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; white-space: nowrap; }
.mini-btn.pay { background: var(--rosa-soft); color: var(--rosa-forte); }
.mini-btn.wa, .btn.wa-btn { background: #e3f6e8; color: #1f7a3d; }
.enc-mini { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--surface-2); border: 0; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; text-align: left; cursor: pointer; }
.enc-mini .when { min-width: 62px; } .enc-mini .when b { display: block; color: var(--rosa-forte); font-size: 14px; } .enc-mini .when small { color: var(--muted); }
.enc-mini .tx { flex: 1; min-width: 0; } .enc-mini .tx b { display: block; color: var(--choc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .enc-mini .tx small { color: var(--muted); }
.enc-mini .v { font-weight: 800; color: var(--choc); }
.paid-box { display: flex; align-items: center; gap: 10px; background: #e7f4ea; color: #2c6b3e; border-radius: 16px; padding: 12px 14px; margin-bottom: 16px; }
.paid-box div { flex: 1; } .paid-box .link { color: #2c6b3e; }
.prod-pick { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pp { flex: none; width: 108px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 6px; text-align: center; cursor: pointer; }
.pp.on { border-color: var(--rosa); background: var(--rosa-soft); }
.pp img, .pp .ph { width: 100%; height: 72px; object-fit: cover; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); font-size: 30px; }
.pp b { display: block; font-size: 13px; line-height: 1.2; margin-top: 5px; color: var(--choc); } .pp small { color: var(--rosa-forte); font-weight: 800; font-size: 12.5px; }

/* clientes */
.cli { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 16px; padding: 6px 12px 6px 6px; margin-bottom: 8px; box-shadow: var(--shadow); }
.cli-main { flex: 1; display: flex; align-items: center; gap: 12px; background: none; border: 0; text-align: left; padding: 6px; cursor: pointer; min-width: 0; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(150deg, var(--rosa), var(--rosa-forte)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 19px; flex: none; }
.cli .tx { min-width: 0; } .cli .tx b { display: block; color: var(--choc); } .cli .tx small { color: var(--muted); font-size: 13px; }
.hist { display: flex; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hist > span:first-child { color: var(--muted); min-width: 64px; font-variant-numeric: tabular-nums; } .hist .tx { flex: 1; } .hist.tot { font-weight: 800; border: 0; }
.x { border: 0; background: var(--surface-2); color: var(--choc-2); border-radius: 999px; min-width: 32px; height: 32px; padding: 0 10px; cursor: pointer; font-weight: 800; }

/* cardápio */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.prod { background: var(--surface); border: 0; border-radius: 18px; padding: 8px 8px 12px; box-shadow: var(--shadow); text-align: left; cursor: pointer; }
.prod .foto { display: block; aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: var(--surface-2); margin-bottom: 8px; }
.prod .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod .ph { display: grid; place-items: center; height: 100%; font-size: 46px; }
.prod b { display: block; color: var(--choc); font-size: 15px; line-height: 1.25; padding: 0 4px; } .prod small { color: var(--rosa-forte); font-weight: 800; padding: 0 4px; }
.prod.off { opacity: .55; }
.foto-up { display: block; margin-bottom: 16px; cursor: pointer; }
.foto-up .prev { display: grid; place-items: center; height: 180px; border-radius: 18px; border: 2px dashed var(--line); background: #fff; color: var(--muted); font-weight: 800; text-align: center; overflow: hidden; }
.foto-up .prev img { width: 100%; height: 100%; object-fit: cover; }
.foto-up.ro { cursor: default; }

/* chave liga/desliga */
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; color: var(--choc); margin-bottom: 14px; }
.switch input { display: none; }
.switch .sl { width: 50px; height: 30px; border-radius: 999px; background: #e3d3cd; position: relative; flex: none; transition: background .2s; }
.switch .sl::after { content: ""; position: absolute; width: 24px; height: 24px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .sl { background: var(--rosa); } .switch input:checked + .sl::after { left: 23px; }
.switch.card { margin-bottom: 14px; }

/* dívidas */
.div { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 4px 0 10px; margin-bottom: 8px; }
.div-main { flex: 1; display: flex; gap: 12px; align-items: flex-start; background: none; border: 0; text-align: left; padding: 6px 0; cursor: pointer; min-width: 0; }
.div-main .ic { width: 40px; height: 40px; border-radius: 12px; background: #f5e6dc; display: grid; place-items: center; font-size: 20px; flex: none; }
.div-main .tx { flex: 1; min-width: 0; } .div-main b { display: block; color: var(--choc); } .div-main small { display: block; color: var(--muted); font-size: 13px; }
.prog { display: block; height: 8px; background: var(--surface-2); border-radius: 999px; margin: 7px 0 4px; overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--rosa), var(--rosa-forte)); border-radius: 999px; }
details.quit summary { cursor: pointer; color: var(--good); font-weight: 800; padding: 8px 0; }
.ordem { margin: 0 0 12px; padding: 0; list-style: none; counter-reset: o; }
.ordem li { counter-increment: o; display: grid; grid-template-columns: 30px 1fr auto; align-items: baseline; gap: 2px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ordem li::before { content: counter(o); width: 26px; height: 26px; border-radius: 50%; background: var(--choc); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; grid-row: span 2; }
.ordem li b { color: var(--choc); } .ordem li small { grid-column: 2 / -1; color: var(--muted); }
.livre-box { display: flex; gap: 12px; align-items: center; background: linear-gradient(150deg, var(--rosa) 0%, var(--rosa-forte) 100%); color: #fff; border-radius: 18px; padding: 14px 16px; font-size: 16px; }
.livre-box small { opacity: .9; }
.irow { display: flex; justify-content: space-between; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 2px; font-size: 15.5px; cursor: pointer; text-align: left; }
.irow b { color: var(--choc); }

/* arquivos */
.arq { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 16px; padding: 6px 10px 6px 6px; margin-bottom: 8px; box-shadow: var(--shadow); }
.arq-main { flex: 1; display: flex; gap: 12px; align-items: center; background: none; border: 0; text-align: left; padding: 6px; cursor: pointer; min-width: 0; }
.arq-main .ic { font-size: 26px; } .arq-main .tx { min-width: 0; } .arq-main b { display: block; color: var(--choc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .arq-main small { color: var(--muted); }
.x.confirm { background: #fde8e6; color: var(--bad); }
nav.tabs button { font-size: 12px; }

/* senha das finanças */
.pin { text-align: center; padding: 10px 6px 20px; }
.pin-ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px; background: var(--choc); display: grid; place-items: center; font-size: 34px; box-shadow: 0 8px 22px color-mix(in srgb, var(--choc) 25%, transparent); }
.pin h2 { font-family: var(--serif); font-size: 26px; margin: 0; color: var(--choc); }
.pin p { color: var(--text-2); margin: 6px auto 0; max-width: 320px; }
.dots { display: flex; justify-content: center; gap: 16px; margin: 22px 0 8px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--rosa); transition: background .1s; }
.dots i.on { background: var(--rosa); }
.pin-msg { min-height: 22px; color: var(--bad); font-weight: 800; font-size: 14.5px; margin-bottom: 10px; }
.pad { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px 22px; justify-content: center; margin-bottom: 18px; }
.pad button { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow); font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--choc); cursor: pointer; }
.pad button:active { background: var(--rosa-soft); transform: scale(.96); }
.pad button:disabled { opacity: .5; }
.lockbar { display: flex; align-items: center; gap: 8px; background: #e7f4ea; color: #2c6b3e; border-radius: 16px; padding: 8px 8px 8px 14px; margin-bottom: 14px; font-weight: 700; font-size: 14px; }
.lockbar span { flex: 1; } .lockbar .mini-btn { background: #fff; color: var(--choc); } .lockbar .mini-btn.lock { background: var(--choc); color: #fff; }
.pin-in { letter-spacing: .5em; font-size: 22px; text-align: center; }

/* documentos por link */
details.howto { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 4px 16px; margin-bottom: 16px; }
details.howto summary { cursor: pointer; font-weight: 800; color: var(--choc); padding: 12px 0; }
details.howto ol { margin: 0 0 14px; padding-left: 22px; color: var(--text-2); } details.howto li { margin-bottom: 8px; }
details.howto[open] { padding-bottom: 16px; }
.paste { display: flex; gap: 8px; } .paste .in { flex: 1; min-width: 0; }
a.btn { text-decoration: none; }

/* aniversário */
.cartao-prev { display: block; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 20px; box-shadow: 0 10px 30px color-mix(in srgb, var(--choc) 18%, transparent); }
.niver-card { background: linear-gradient(160deg, #fff 0%, var(--rosa-soft) 100%); }
.niver-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.niver-row:last-child { border-bottom: 0; }
.niver-row .tx { flex: 1; min-width: 0; } .niver-row .tx b { display: block; color: var(--choc); } .niver-row .tx small { color: var(--muted); }
.vale-box { display: flex; align-items: center; gap: 10px; background: #fff4e5; border: 1.5px dashed #f2c98a; border-radius: 16px; padding: 10px 12px; margin: -6px 0 16px; font-size: 14.5px; color: var(--choc); }
.vale-box div { flex: 1; } .vale-box small { color: var(--text2); }
.vale-box.ok { background: #e7f4ea; border-color: #a8d5b3; }
.pill.off { background: #eee; color: #888; }

/* boas-vindas, conta e equipe */
.welcome { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: linear-gradient(150deg, #fff 0%, var(--rosa-soft) 100%); border: 2px solid color-mix(in srgb, var(--rosa) 45%, white); border-radius: 20px; padding: 16px; margin-bottom: 16px; color: var(--choc); }
.welcome .e { font-size: 30px; } .welcome > div:nth-child(2) { flex: 1; min-width: 200px; font-size: 15px; line-height: 1.45; }
.welcome .btn { width: 100%; }
.welcome.small { flex-wrap: nowrap; }
.papeis { display: grid; gap: 10px; margin-bottom: 14px; }
.papel { background: var(--surface); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); }
.papel b { display: block; color: var(--choc); margin-bottom: 2px; } .papel span { color: var(--text2); font-size: 14px; }
.mini-steps { margin: 6px 0 14px; padding-left: 20px; color: var(--text2); font-size: 14.5px; } .mini-steps li { margin-bottom: 4px; }

/* loja online */
.novos { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; text-align: left; cursor: pointer; background: linear-gradient(150deg, var(--rosa) 0%, var(--rosa-forte) 100%); color: #fff; border-radius: 20px; padding: 14px 16px; margin-bottom: 14px; box-shadow: 0 8px 22px color-mix(in srgb, var(--rosa-forte) 30%, transparent); }
.novos .e { font-size: 28px; } .novos b { display: block; font-size: 16px; } .novos small { opacity: .9; } .novos > span:nth-child(2) { flex: 1; } .novos .chev { font-size: 26px; }
.enc.pedido { border-left-color: #e0a14a; background: #fffaf0; }
.pill.st-pedido { background: #fff0d9; color: #8a5a12; }
.link-box { background: var(--rosa-soft); border-radius: 14px; padding: 12px 14px; font-weight: 800; color: var(--rosa-forte); word-break: break-all; }
.slug { display: flex; align-items: center; gap: 6px; } .slug span { color: var(--muted); font-weight: 700; white-space: nowrap; font-size: 14px; } .slug .in { flex: 1; min-width: 0; }

.lbl-op { display: block; font-size: 15px; font-weight: 800; color: var(--choc-2); margin-bottom: 4px; }
.op-ln { display: grid; grid-template-columns: 1fr 120px 36px; gap: 8px; align-items: center; margin-bottom: 8px; }
.op-ln .x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--choc); cursor: pointer; font-weight: 800; }

.lj-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 14px; }
.lj-foto { text-align: center; cursor: pointer; }
.lj-foto .prev { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; border: 2px dashed var(--line); background: #fff; overflow: hidden; font-size: 26px; }
.lj-foto .prev img { width: 100%; height: 100%; object-fit: cover; }
.lj-foto small { display: block; margin-top: 4px; font-weight: 800; color: var(--choc-2); font-size: 13px; }

.nota-box { display: flex; gap: 12px; align-items: center; background: #fff; border: 1.5px dashed var(--line); border-radius: 16px; padding: 10px; }
.nota-prev { width: 64px; height: 64px; flex: none; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-size: 28px; overflow: hidden; }
.nota-prev img { width: 100%; height: 100%; object-fit: cover; }
.nota-bt { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; }
.nota-btn { cursor: pointer; padding: 10px 14px; }
.tem-nota { color: var(--rosa-forte); font-weight: 800; }

.mensal { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--rosa-soft); border-radius: 20px; padding: 14px; margin: 0 0 14px; box-shadow: var(--shadow); }
.mensal .e { font-size: 28px; line-height: 1; }
.mensal .tx { flex: 1; min-width: 0; }
.mensal .tx b { color: var(--choc); }
.mensal .tx small { display: block; color: var(--text-2); margin-top: 4px; font-size: 14px; word-break: break-word; }
.mensal-bt { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.mensal-bt .btn { padding: 10px 16px; }
.assin-ln { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.assin-ln span { color: var(--muted); font-weight: 700; }
.assin-ln b { color: var(--choc); text-align: right; word-break: break-word; }

/* estoque e ficha técnica */
.est-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--surface); border: 0; border-radius: 16px; padding: 12px 14px; margin: 0 0 8px; box-shadow: var(--shadow); cursor: pointer; font: inherit; color: var(--text); }
.est-row .ic { font-size: 22px; flex: none; }
.est-row .tx { flex: 1; min-width: 0; }
.est-row .tx b { display: block; color: var(--choc); }
.est-row .tx small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.est-row .v { font-weight: 800; color: var(--choc); text-align: right; white-space: nowrap; }
.est-row .v small { display: block; font-weight: 700; color: var(--muted); font-size: 12px; }
.est-row.baixo { box-shadow: inset 4px 0 0 #e7a33c, var(--shadow); }
.est-row.neg .v, .est-top b.neg { color: #c0392b; }
.badge-baixo { color: #b7791f; font-weight: 800; }
.est-top { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 10px; }
.est-top > div { background: var(--surface-2); border-radius: 14px; padding: 10px 12px; }
.est-top small { display: block; color: var(--muted); font-weight: 700; font-size: 12.5px; }
.est-top b { display: block; font-family: var(--serif); font-size: 20px; color: var(--choc); margin-top: 2px; }
.est-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.est-acoes .btn { padding: 11px 8px; font-size: 14.5px; }
.mov { display: flex; gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.mov .tx { flex: 1; min-width: 0; }
.mov .tx b { display: block; font-size: 14.5px; color: var(--choc); }
.mov .tx small { display: block; color: var(--muted); font-size: 12.5px; }
.mov .v { font-weight: 800; color: var(--choc-2); white-space: nowrap; font-size: 14px; }
.qtd-uni { display: flex; gap: 6px; align-items: stretch; }
.qtd-uni .in:first-child { flex: 1; min-width: 0; }
.qtd-uni select.uni { width: auto; flex: none; padding-right: 26px; }
.qtd-uni .x { width: 40px; flex: none; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--choc); font-weight: 800; cursor: pointer; }
.ing { background: var(--surface-2); border-radius: 14px; padding: 8px; margin-bottom: 8px; display: grid; gap: 6px; }
.ing-c { color: var(--rosa-forte); font-weight: 800; text-align: right; min-height: 1em; }
.rec-tot { display: flex; justify-content: space-between; align-items: center; background: var(--rosa-soft); border-radius: 14px; padding: 12px 14px; margin: 4px 0 14px; color: var(--choc); font-weight: 800; }
.rec-tot b { font-family: var(--serif); font-size: 22px; }
h4.grp { margin: 16px 4px 8px; color: var(--choc-2); }
.preparo { background: var(--surface-2); border-radius: 14px; padding: 12px; margin: 0; line-height: 1.5; font-size: 15px; }
.ing { grid-template-columns: minmax(0, 1fr); }
.ing select, .qtd-uni select, .ing .in { max-width: 100%; min-width: 0; }
.qtd-uni .x { align-self: center; height: 40px; }
.tip.bloco { display: block; }

.eq-pessoal { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--text-2); margin: -2px 0 10px 46px; font-weight: 600; }
.eq-pessoal input { width: 18px; height: 18px; accent-color: var(--rosa); }

/* termos de uso */
.termos-gate { position: relative; z-index: 5; }
.termos-card { padding-top: 26px; max-width: 520px; }
.termos-caixa { max-height: 46vh; overflow-y: auto; background: var(--surface-2); border-radius: 16px; padding: 6px 14px; margin: 6px 0 14px; -webkit-overflow-scrolling: touch; }
.termos-caixa.solto { max-height: none; background: none; padding: 0; }
.termos-lista { margin: 0; padding-left: 22px; }
.termos-lista li { margin: 12px 0; color: var(--choc); }
.termos-lista .tt { font-size: 16px; }
.termos-lista p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--choc-2); }
.termos-ver { font-size: 13px; color: var(--muted, #8a6f66); text-align: center; margin: 8px 0 4px; }
.termos-ok { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; font-weight: 700; color: var(--choc); margin: 4px 0 14px; cursor: pointer; }
.termos-ok input { width: 24px; height: 24px; flex: none; accent-color: var(--choc); margin-top: 1px; }
.termos-rodape { text-align: center; font-size: 13px; color: var(--choc-2); margin: 14px 0 0; }
.termos-rodape .link { font-size: 13px; padding: 0; }

/* agradecimento e recibos */
.seg { display: flex; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: 16px; margin-bottom: 14px; }
.seg button { flex: 1; border: 0; background: none; padding: 11px 8px; border-radius: 12px; font: 800 15px Nunito, sans-serif; color: var(--choc-2); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--choc); box-shadow: 0 2px 8px color-mix(in srgb, var(--choc) 12%, transparent); }
.mini-btn.agr { background: var(--rosa-soft); color: var(--rosa-forte); }
.agr-topo { width: 100%; margin-bottom: 14px; }
.assin-pg { align-items: center; }
.assin-pg .mini-btn { flex: none; }
.assin-pg span b { display: inline-block; text-align: left; font-size: 17px; margin-top: 2px; }

/* sabores no cadastro de produto */

.op-ln .op-sab { grid-column: 1 / -1; margin-top: -2px; font-size: 15px; display: none; }
#f[data-sab="opcao"] .op-ln .op-sab { display: block; }
.sab-box .chips { margin-bottom: 8px; }
.sab-dica { display: block; margin: 4px 0 8px; }
.esc-ln { background: var(--surface-2); border-radius: 16px; padding: 12px; margin-bottom: 10px; display: grid; gap: 8px; }
.esc-top { display: flex; gap: 8px; align-items: center; }
.esc-top .in { flex: 1; }
.esc-max { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--choc-2); }
.esc-max .in { max-width: 110px; }

/* tipo de negócio e categorias */
.tipo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tipo-b { border: 2px solid var(--line, #f0d9df); background: var(--surface); border-radius: 18px; padding: 14px 10px; font: 800 15px Nunito, sans-serif; color: var(--choc); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; line-height: 1.2; }
.tipo-b span { font-size: 32px; }
.tipo-b.on { border-color: var(--rosa); background: var(--rosa-soft); }
.tipo-b:disabled { opacity: .6; }
.cat-ln { display: grid; grid-template-columns: 58px 1fr auto 36px; gap: 8px; align-items: center; margin-bottom: 10px; }
.cat-ln .cat-e { text-align: center; font-size: 22px; padding: 10px 4px; }
.cat-ord { display: flex; flex-direction: column; gap: 2px; }
.cat-ord button { border: 0; background: var(--surface-2); color: var(--choc-2); border-radius: 8px; width: 34px; height: 22px; font-size: 11px; cursor: pointer; }
.cat-ord button:disabled { opacity: .3; }
.cat-uso { grid-column: 2 / -1; margin-top: -6px; font-size: 13px; font-weight: 700; color: var(--rosa-forte); }
.cat-ln .x, .esc-top .x { border: 0; background: var(--surface-2); color: var(--choc-2); width: 36px; height: 36px; border-radius: 12px; font-size: 15px; cursor: pointer; }

/* ---------- paletas de cores (Mais › Personalizar) ---------- */
html[data-tema="lavanda"] { --bg: #f6f2fb; --surface: #fdfbff; --surface-2: #ece4f6; --line: #e0d5ee; --choc: #3d2a4d; --choc-2: #5c4670; --text: #3d2a4d; --text-2: #6a5a7d; --muted: #9c8bb0;
  --rosa: #9b6fd1; --rosa-forte: #7a4fb5; --rosa-soft: #efe5fa; --accent: #7a4fb5; --in: #9b6fd1; --out: #a0613a;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg opacity='.55'%3E%3Crect x='10' y='14' width='12' height='4' rx='2' fill='%239b6fd1' transform='rotate(35 16 16)'/%3E%3Crect x='70' y='20' width='12' height='4' rx='2' fill='%235c4670' transform='rotate(-20 76 22)'/%3E%3Crect x='40' y='60' width='12' height='4' rx='2' fill='%23c9b0ef' transform='rotate(70 46 62)'/%3E%3Crect x='95' y='75' width='12' height='4' rx='2' fill='%239b6fd1' transform='rotate(-55 101 77)'/%3E%3Crect x='15' y='95' width='12' height='4' rx='2' fill='%235c4670' transform='rotate(10 21 97)'/%3E%3Crect x='65' y='100' width='12' height='4' rx='2' fill='%23c9b0ef' transform='rotate(-30 71 102)'/%3E%3Ccircle cx='55' cy='30' r='2.5' fill='%239b6fd1'/%3E%3Ccircle cx='100' cy='45' r='2.5' fill='%23c9b0ef'/%3E%3Ccircle cx='20' cy='60' r='2.5' fill='%235c4670'/%3E%3C/g%3E%3C/svg%3E"); }
html[data-tema="menta"] { --bg: #eff8f4; --surface: #fbfefc; --surface-2: #dff1e9; --line: #cfe7dc; --choc: #1f3d36; --choc-2: #33594f; --text: #1f3d36; --text-2: #4f6f66; --muted: #86a49b;
  --rosa: #3aa58a; --rosa-forte: #24806a; --rosa-soft: #dcf3ea; --accent: #24806a; --in: #3aa58a; --out: #a0613a;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg opacity='.55'%3E%3Crect x='10' y='14' width='12' height='4' rx='2' fill='%233aa58a' transform='rotate(35 16 16)'/%3E%3Crect x='70' y='20' width='12' height='4' rx='2' fill='%2333594f' transform='rotate(-20 76 22)'/%3E%3Crect x='40' y='60' width='12' height='4' rx='2' fill='%239fdcc9' transform='rotate(70 46 62)'/%3E%3Crect x='95' y='75' width='12' height='4' rx='2' fill='%233aa58a' transform='rotate(-55 101 77)'/%3E%3Crect x='15' y='95' width='12' height='4' rx='2' fill='%2333594f' transform='rotate(10 21 97)'/%3E%3Crect x='65' y='100' width='12' height='4' rx='2' fill='%239fdcc9' transform='rotate(-30 71 102)'/%3E%3Ccircle cx='55' cy='30' r='2.5' fill='%233aa58a'/%3E%3Ccircle cx='100' cy='45' r='2.5' fill='%239fdcc9'/%3E%3Ccircle cx='20' cy='60' r='2.5' fill='%2333594f'/%3E%3C/g%3E%3C/svg%3E"); }
html[data-tema="caramelo"] { --bg: #fcf5ee; --surface: #fffcf8; --surface-2: #f7e6d4; --line: #efd9c2; --choc: #4a2f1a; --choc-2: #6b4a30; --text: #4a2f1a; --text-2: #7a5a40; --muted: #a88d74;
  --rosa: #d9822b; --rosa-forte: #b5651a; --rosa-soft: #fbe8d3; --accent: #b5651a; --in: #d9822b; --out: #7a4a2a;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg opacity='.55'%3E%3Crect x='10' y='14' width='12' height='4' rx='2' fill='%23d9822b' transform='rotate(35 16 16)'/%3E%3Crect x='70' y='20' width='12' height='4' rx='2' fill='%236b4a30' transform='rotate(-20 76 22)'/%3E%3Crect x='40' y='60' width='12' height='4' rx='2' fill='%23f0c08a' transform='rotate(70 46 62)'/%3E%3Crect x='95' y='75' width='12' height='4' rx='2' fill='%23d9822b' transform='rotate(-55 101 77)'/%3E%3Crect x='15' y='95' width='12' height='4' rx='2' fill='%236b4a30' transform='rotate(10 21 97)'/%3E%3Crect x='65' y='100' width='12' height='4' rx='2' fill='%23f0c08a' transform='rotate(-30 71 102)'/%3E%3Ccircle cx='55' cy='30' r='2.5' fill='%23d9822b'/%3E%3Ccircle cx='100' cy='45' r='2.5' fill='%23f0c08a'/%3E%3Ccircle cx='20' cy='60' r='2.5' fill='%236b4a30'/%3E%3C/g%3E%3C/svg%3E"); }
html[data-tema="oceano"] { --bg: #f0f5fb; --surface: #fbfdff; --surface-2: #e0eaf6; --line: #d0dded; --choc: #1d2f4a; --choc-2: #34496a; --text: #1d2f4a; --text-2: #4f6380; --muted: #8597b0;
  --rosa: #3b7dd8; --rosa-forte: #2a62b5; --rosa-soft: #e0ecfb; --accent: #2a62b5; --in: #3b7dd8; --out: #a0613a;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg opacity='.55'%3E%3Crect x='10' y='14' width='12' height='4' rx='2' fill='%233b7dd8' transform='rotate(35 16 16)'/%3E%3Crect x='70' y='20' width='12' height='4' rx='2' fill='%2334496a' transform='rotate(-20 76 22)'/%3E%3Crect x='40' y='60' width='12' height='4' rx='2' fill='%239fc3f0' transform='rotate(70 46 62)'/%3E%3Crect x='95' y='75' width='12' height='4' rx='2' fill='%233b7dd8' transform='rotate(-55 101 77)'/%3E%3Crect x='15' y='95' width='12' height='4' rx='2' fill='%2334496a' transform='rotate(10 21 97)'/%3E%3Crect x='65' y='100' width='12' height='4' rx='2' fill='%239fc3f0' transform='rotate(-30 71 102)'/%3E%3Ccircle cx='55' cy='30' r='2.5' fill='%233b7dd8'/%3E%3Ccircle cx='100' cy='45' r='2.5' fill='%239fc3f0'/%3E%3Ccircle cx='20' cy='60' r='2.5' fill='%2334496a'/%3E%3C/g%3E%3C/svg%3E"); }
html[data-tema="cereja"] { --bg: #fbf1f2; --surface: #fffbfb; --surface-2: #f6e0e3; --line: #ecd0d4; --choc: #2d2a2e; --choc-2: #4a4549; --text: #2d2a2e; --text-2: #615a5f; --muted: #9a8f94;
  --rosa: #d2384b; --rosa-forte: #b0283a; --rosa-soft: #fbe1e4; --accent: #b0283a; --in: #d2384b; --out: #7a5a3a;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg opacity='.55'%3E%3Crect x='10' y='14' width='12' height='4' rx='2' fill='%23d2384b' transform='rotate(35 16 16)'/%3E%3Crect x='70' y='20' width='12' height='4' rx='2' fill='%234a4549' transform='rotate(-20 76 22)'/%3E%3Crect x='40' y='60' width='12' height='4' rx='2' fill='%23f2a4ae' transform='rotate(70 46 62)'/%3E%3Crect x='95' y='75' width='12' height='4' rx='2' fill='%23d2384b' transform='rotate(-55 101 77)'/%3E%3Crect x='15' y='95' width='12' height='4' rx='2' fill='%234a4549' transform='rotate(10 21 97)'/%3E%3Crect x='65' y='100' width='12' height='4' rx='2' fill='%23f2a4ae' transform='rotate(-30 71 102)'/%3E%3Ccircle cx='55' cy='30' r='2.5' fill='%23d2384b'/%3E%3Ccircle cx='100' cy='45' r='2.5' fill='%23f2a4ae'/%3E%3Ccircle cx='20' cy='60' r='2.5' fill='%234a4549'/%3E%3C/g%3E%3C/svg%3E"); }
html[data-tema="oliva"] { --bg: #f5f6ee; --surface: #fdfdf8; --surface-2: #e8ebd9; --line: #dadfc6; --choc: #2f3a1f; --choc-2: #4a5833; --text: #2f3a1f; --text-2: #5d6a48; --muted: #929b7e;
  --rosa: #7a9a2f; --rosa-forte: #5d7a1e; --rosa-soft: #ebf1d9; --accent: #5d7a1e; --in: #7a9a2f; --out: #a0613a;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg opacity='.55'%3E%3Crect x='10' y='14' width='12' height='4' rx='2' fill='%237a9a2f' transform='rotate(35 16 16)'/%3E%3Crect x='70' y='20' width='12' height='4' rx='2' fill='%234a5833' transform='rotate(-20 76 22)'/%3E%3Crect x='40' y='60' width='12' height='4' rx='2' fill='%23c4d68e' transform='rotate(70 46 62)'/%3E%3Crect x='95' y='75' width='12' height='4' rx='2' fill='%237a9a2f' transform='rotate(-55 101 77)'/%3E%3Crect x='15' y='95' width='12' height='4' rx='2' fill='%234a5833' transform='rotate(10 21 97)'/%3E%3Crect x='65' y='100' width='12' height='4' rx='2' fill='%23c4d68e' transform='rotate(-30 71 102)'/%3E%3Ccircle cx='55' cy='30' r='2.5' fill='%237a9a2f'/%3E%3Ccircle cx='100' cy='45' r='2.5' fill='%23c4d68e'/%3E%3Ccircle cx='20' cy='60' r='2.5' fill='%234a5833'/%3E%3C/g%3E%3C/svg%3E"); }

/* escolha de cor */
.tema-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.tema-b { border: 2px solid var(--line); background: var(--surface); border-radius: 18px; padding: 12px 6px 10px; font: 800 14px Nunito, sans-serif; color: var(--choc); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tema-b.on { border-color: var(--rosa-forte); box-shadow: 0 0 0 3px var(--rosa-soft); }
.tema-sw { display: flex; }
.tema-sw i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.tema-sw i:first-child { margin-left: 0; }
.passo { margin: 0 2px 2px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--rosa-forte); }
.boas-h { font-family: var(--serif); font-size: 26px; margin: 0 2px 8px; line-height: 1.15; color: var(--choc); }

/* planos */
.menu-item.trancado .tx b { opacity: .7; }
.menu-item.trancado small { color: var(--rosa-forte); font-weight: 700; }
.plano-up { text-align: center; padding: 28px 20px; }
.plano-up .cadeado { font-size: 52px; }
.plano-up h2 { font-family: var(--serif); font-size: 26px; margin: 8px 0; color: var(--choc); }
.plano-lista { text-align: left; list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 8px; }
.plano-lista li { padding-left: 28px; position: relative; font-weight: 600; }
.plano-lista li::before { content: "✓"; position: absolute; left: 4px; color: var(--rosa-forte); font-weight: 800; }
/* painel do Florescer */
.pn-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--choc); color: #fff3ee; border-radius: 20px; padding: 16px 10px; margin-bottom: 14px; text-align: center; }
.pn-kpis b { display: block; font-family: var(--serif); font-size: 21px; }
.pn-kpis small { font-size: 12.5px; opacity: .85; }
.pn-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 12px 2px; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--choc); }
.pn-row:last-child { border-bottom: 0; }
.pn-row .tx { flex: 1; min-width: 0; }
.pn-row .tx b { display: block; }
.pn-row .tx small { display: block; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pn-tag { font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--choc-2); }
.pn-tag.ok { background: #e2f1e5; color: #2c6b3e; }
.pn-tag.atraso { background: #fde8e6; color: #b3261e; }
.pn-tag.espera { background: #fff0d9; color: #8a5a12; }
details.card summary { cursor: pointer; padding: 2px 0 8px; }
.oferta { border: 2px solid var(--line); border-radius: 18px; padding: 14px 16px 4px; margin-top: 12px; position: relative; }
.oferta.on { border-color: var(--rosa-forte); background: color-mix(in srgb, var(--rosa-soft) 45%, transparent); }
.of-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.of-top b { font-family: var(--serif); font-size: 19px; color: var(--choc); }
.of-top span { font-weight: 800; color: var(--rosa-forte); font-size: 18px; white-space: nowrap; }
.of-top small { font-size: 13px; }
.of-seu { display: inline-block; margin-top: 6px; background: var(--rosa-forte); color: #fff; font-weight: 800; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }
.oferta .plano-lista { margin: 10px 0 10px; }
.pn-ofs { display: flex; flex-wrap: wrap; gap: 8px; }

/* cartões e parcelas nas finanças pessoais */
.cart-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--rosa-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.cart-row .tx { flex: 1; min-width: 0; }
.cart-row .tx b { display: block; }
.cart-row .tx small { color: var(--text-2); }
.cart-row .num { color: var(--choc); white-space: nowrap; }
.cart-row .num small { font-size: 12px; font-weight: 700; color: var(--text-2); }
.div-cart, .div-parc { display: block; font-weight: 700; }
.div-parc { color: var(--rosa-forte); }
.cart-chips { margin-bottom: 8px; }
.parc-dica { margin: -4px 2px 12px; }
.parc-dica:empty { display: none; }

/* vários itens na encomenda */
.it-ln { background: var(--surface-2); border-radius: 16px; padding: 12px; margin-bottom: 10px; display: grid; gap: 8px; }
.it-ln .row2 { margin: 0; }
.it-ln .f { margin-bottom: 0; }
.it-top { display: flex; gap: 8px; align-items: center; }
.it-top .it-cat { flex: 1; }
.it-top .x { border: 0; background: var(--surface); color: var(--choc-2); width: 40px; height: 40px; border-radius: 12px; font-size: 15px; cursor: pointer; flex: none; }
.itens-ro { background: var(--surface-2); border-radius: 16px; padding: 6px 14px; }
.itens-ro div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.itens-ro div:last-child { border-bottom: 0; }
.cart-tot { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin: 8px 0 6px; }
.cart-tot div { background: var(--rosa-soft); border-radius: 16px; padding: 12px 14px; }
.cart-tot small { display: block; font-weight: 700; color: var(--choc-2); font-size: 13px; }
.cart-tot b { font-family: var(--serif); font-size: clamp(16px, 4.6vw, 21px); white-space: nowrap; color: var(--choc); }
.irow.tot-row { background: var(--rosa-soft); border-radius: 14px; padding: 12px 14px; margin-top: 8px; border: 0; cursor: default; font-weight: 800; color: var(--choc); }
.irow.tot-row b { font-size: 18px; }

/* gráfico das finanças pessoais */
.graf h3 { margin-bottom: 12px; }
.gb-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.gb-lbl { font-weight: 800; color: var(--choc-2); font-size: 15px; }
.gb-track { height: 26px; background: var(--surface-2); border-radius: 8px; overflow: hidden; display: flex; gap: 2px; }
.gb-track i { display: block; height: 100%; border-radius: 4px; }
.gb-row b { font-size: 15px; color: var(--choc); white-space: nowrap; }
.gb-ent, .gb-sobra { background: #3f9a63; }
.gb-casa { background: var(--choc-2); }
.gb-parc { background: var(--rosa); }
.gb-falta { background: #c9473d; }
.gb-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 10px 62px; font-size: 13.5px; color: var(--text-2); font-weight: 700; }
.gb-leg span, .gb-cem-leg li { display: flex; align-items: center; gap: 6px; }
.gb-leg i, .gb-cem-leg i { width: 12px; height: 12px; border-radius: 3px; flex: none; display: inline-block; }
.gb-res { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 15px; }
.gb-res.ok { background: #e6f3ea; color: #24603b; }
.gb-res.neg { background: #fbe6e3; color: #9c2f26; }
.gb-h { margin: 16px 0 8px; font-size: 15px; color: var(--choc); }
.gb-cem { display: flex; height: 30px; border-radius: 10px; overflow: hidden; gap: 2px; background: var(--surface-2); }
.gb-cem i { display: block; height: 100%; }
.gb-cem-leg { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 15px; color: var(--choc); }
.cart-bar { display: block; height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-top: 6px; }
.cart-bar i { display: block; height: 100%; background: var(--rosa); border-radius: 4px; }
.pm-sub { display: block; font-size: 13px; color: var(--text-2); font-weight: 600; margin-top: 2px; }
.div-semdata { display: block; font-weight: 700; color: #a8621a; }
.pm-aviso { margin: 10px 2px 0; color: #8a5a12; }
.fmes { display: flex; align-items: center; justify-content: space-between; background: var(--choc); color: #fff3ee; border-radius: 18px; padding: 8px 10px; margin-bottom: 12px; }
.fmes b { font-family: var(--serif); font-size: 19px; }
.fmes .month-btn { background: rgba(255, 255, 255, .14); color: #fff3ee; }
.row2 > .f { min-width: 0; } input[type=month].in { min-width: 0; width: 100%; -webkit-appearance: none; appearance: none; }

/* situação das parcelas */
.sit { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--choc-2); }
.sit.ok { background: #e2f1e5; color: #2c6b3e; }
.sit.atraso { background: #fff0d9; color: #8a5a12; }
.sit.neg { background: #fde8e6; color: #b3261e; }
.sit.espera { background: var(--surface-2); color: var(--choc-2); }
.pm-row { align-items: flex-start; }
.pm-row > span { display: flex; flex-direction: column; align-items: flex-start; }
.pm-res { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 10px 0 6px; }
.pm-res div { background: var(--surface-2); border-radius: 14px; padding: 10px 8px; min-width: 0; }
.pm-res .ok { background: #e2f1e5; } .pm-res .neg { background: #fde8e6; }
.pm-res small { display: block; font-size: 12.5px; font-weight: 700; color: var(--choc-2); }
.pm-res b { font-family: var(--serif); font-size: clamp(13px, 3.6vw, 17px); white-space: nowrap; color: var(--choc); }
.irow.tot-row.atraso { background: #fde8e6; color: #9c2f26; }

/* sobremesas de Natal */
.natal-app, .natal-banner { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; cursor: pointer; border-radius: 20px; padding: 14px 16px; margin: 0 0 14px; color: #fff; background: linear-gradient(135deg, #1f6b45 0%, #2f8a5a 55%, #b8323b 100%); box-shadow: 0 10px 24px rgba(31, 107, 69, .25); }
.natal-app span, .natal-banner span { font-size: 34px; }
.natal-app div, .natal-banner div { flex: 1; }
.natal-app b, .natal-banner b { display: block; font-family: var(--serif); font-size: 19px; }
.natal-app small, .natal-banner small { opacity: .9; font-weight: 700; font-size: 13.5px; }
.natal-app i, .natal-banner i { font-style: normal; font-size: 26px; opacity: .85; }
.natal-head { display: flex; align-items: center; gap: 12px; margin: 4px 2px 14px; }
.natal-head > span { font-size: 44px; }
.natal-head h2 { margin: 0; font-family: var(--serif); color: var(--choc); }
.natal-head p { margin: 2px 0 0; color: var(--text-2); }
.natal-kpis { background: linear-gradient(135deg, #1f6b45, #2b7d52); }
.natal-prods { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.natal-prods .pp .fora { color: #b3261e; font-weight: 800; }
.natal-dia { margin: 14px 2px 6px; font-weight: 800; color: #1f6b45; text-transform: capitalize; }

/* finanças: de quem é */
.fin-abas { margin: 4px 0 12px; }
.fin-abas button { font-size: 13px; padding: 10px 2px; white-space: nowrap; }
.dono-tag { display: inline-block; margin: 3px 0 0 6px; padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: var(--surface-2); color: var(--choc-2); vertical-align: middle; }
.dono-tag.confeitaria { background: color-mix(in srgb, var(--rosa) 18%, var(--surface)); }
.dono-tag.marcenaria { background: #dff1e7; color: #1f6b49; }
.dono-card h3 { margin-bottom: 10px; }
.dono-card.confeitaria { border-top: 4px solid var(--rosa); }
.dono-card.marcenaria { border-top: 4px solid #2e8b62; }
.dono-card.casal { border-top: 4px solid var(--choc-2); }
.dono-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.dono-nums div { background: var(--surface-2); border-radius: 14px; padding: 10px 8px; min-width: 0; }
.dono-nums small { display: block; font-size: 12px; font-weight: 700; color: var(--choc-2); line-height: 1.2; }
.dono-nums b { font-family: var(--serif); font-size: clamp(13px, 3.6vw, 17px); color: var(--choc); white-space: nowrap; }
.dono-det { margin-top: 8px; }
.dono-det summary { cursor: pointer; font-weight: 800; color: var(--choc-2); padding: 8px 0; }

/* finanças: panorama */
.pan-kpis .neg { background: #fde8e6; }
.pg-wrap { overflow-x: auto; }
.pg { width: 100%; min-width: 360px; height: auto; display: block; }
.pg text { font: 700 11px Nunito, sans-serif; fill: var(--choc-2); }
.pg .pg-tot { fill: var(--choc); font-size: 11.5px; }
.pg-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 8px; font-size: 13px; font-weight: 700; color: var(--choc-2); }
.pg-leg i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.emp-tab { overflow-x: auto; margin-top: 6px; }
.emp-tab table { width: 100%; border-collapse: collapse; font-size: 13px; }
.emp-tab th { text-align: left; font-size: 12px; color: var(--choc-2); padding: 6px 4px; border-bottom: 1px solid var(--line, #eee); white-space: nowrap; }
.emp-tab td { padding: 8px 4px; border-bottom: 1px solid var(--line, #eee); vertical-align: top; }
.emp-tab td small { display: block; color: var(--choc-2); font-size: 11.5px; }
.emp-tab .sit { white-space: nowrap; font-size: 11.5px; }
.emp-tab td.num { white-space: nowrap; }
.emp-passos { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.emp-lista { display: grid; gap: 10px; }
.emp-op { background: var(--surface-2); border-radius: 14px; padding: 10px 12px; }
.emp-tt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; align-items: baseline; }
.emp-tt b { font-family: var(--serif); font-size: 18px; color: var(--choc); }
.emp-tt span { font-size: 12.5px; font-weight: 700; color: var(--choc-2); }
.emp-res { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.emp-res .sit { font-size: 12px; white-space: nowrap; }

/* simulador */
.sim-form h4.gb-h { margin-top: 18px; }
.sim-rap { margin: -4px 0 10px; }
.sim-linha { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 10px; align-items: end; }
.sim-linha3 { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,.6fr); gap: 8px; }
.pct { position: relative; } .pct i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 800; color: var(--choc-2); }
.sim-grupos { display: grid; gap: 6px; margin-top: 6px; }
.sim-g { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.sim-g input { width: 20px; height: 20px; accent-color: var(--rosa); }
.sim-g span b { display: block; font-size: 14.5px; } .sim-g span small { color: var(--choc-2); font-size: 12px; font-weight: 700; }
.sim-verd { display: flex; gap: 10px; align-items: flex-start; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; font-size: 14.5px; line-height: 1.45; }
.sim-verd.ok { background: #e3f4ea; color: #1d5e3f; } .sim-verd.neg { background: #fde8e6; color: #9b2c22; }
.sim-tab { overflow-x: auto; margin-top: 6px; }
.sim-tab table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sim-tab th { text-align: left; font-size: 12px; color: var(--choc-2); padding: 6px 4px; border-bottom: 1px solid #eee; }
.sim-tab td { padding: 7px 4px; border-bottom: 1px solid #f1e6e6; }
.sim-tab .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sim-tab tr.neg td { color: #9b2c22; }
.sim-salva { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; background: var(--surface-2); border: 0; border-radius: 12px; padding: 10px 12px; margin-top: 6px; font: inherit; color: inherit; cursor: pointer; }
.sim-salva span b { display: block; } .sim-salva span small { color: var(--choc-2); font-size: 12px; font-weight: 700; }
.sim-salva .sit { white-space: nowrap; font-size: 12px; }

/* estoque: nota de compra e tipos */
.est-topo { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 8px; margin: 0 0 12px; }
.nota-ln { background: var(--surface-2); border-radius: 14px; padding: 10px; margin-bottom: 8px; display: grid; gap: 8px; }
.nota-ln2 { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.4fr) 36px; gap: 6px; align-items: center; }
.nota-novo { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px; align-items: center; }
.nota-novo small { font-weight: 800; color: var(--choc-2); }
.nota-x { border: 0; background: transparent; font-size: 18px; color: var(--choc-2); cursor: pointer; height: 40px; }
.nota-x:disabled { opacity: .3; cursor: default; }
.nota-tot { text-align: right; font-size: 15px; margin: 8px 2px; }
.tipo-ln { display: grid; grid-template-columns: 56px minmax(0,1fr) 36px; gap: 6px; margin-bottom: 6px; }
.tipo-e { text-align: center; font-size: 20px; }

.nota-foto { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; align-items: center; margin: 4px 0 12px; }
.nota-foto .sub { display: block; margin-top: 4px; font-size: 12px; }
.mov-nota { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 800; color: var(--rosa-escuro, #b5466e); cursor: pointer; text-decoration: none; }

/* finanças: de quem é (entradas e botões por dono) */
.dono-nums.dono-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dono-nums .ent { background: #e3f4ea; }
.tot-row.neg b { color: #b3261e; } .tot-row.pos b { color: #1d6b45; }
.dono-add { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.dono-add .btn { padding: 10px 4px; font-size: 13.5px; }
.dono-grupo + .dono-grupo { margin-top: 8px; }
.dono-gh { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; color: var(--choc-2); padding: 6px 2px 2px; border-bottom: 1px dashed #ead6da; }

/* ---------- Florescer Gestão: marca ---------- */
.auth-head .brand-tag { margin: 2px 0 8px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17px; color: var(--rosa-forte); }
.tipo-grupo { margin: 14px 2px 8px; font-weight: 800; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tipo-grupo:first-of-type { margin-top: 0; }
body.area-manicure .so-doce, body.area-oficina .so-doce { display: none !important; }

/* paleta nude e dourado (manicure) */
html[data-tema="nude"] { --bg: #faf4f1; --surface: #fffbf9; --surface-2: #f3e5df; --line: #ebd8d0; --choc: #4a3530; --choc-2: #6b4d46; --text: #4a3530; --text-2: #775c54; --muted: #a58c84;
  --rosa: #b9786c; --rosa-forte: #9a5d52; --rosa-soft: #f6e7e2; --accent: #9a5d52; --in: #b9786c; --out: #8a6a2a; --dourado: #c9a24a;
  --sprinkles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg opacity='.55'%3E%3Cellipse cx='16' cy='18' rx='4' ry='7' fill='%23b9786c' transform='rotate(30 16 18)'/%3E%3Cellipse cx='78' cy='24' rx='4' ry='7' fill='%23c9a24a' transform='rotate(-20 78 24)'/%3E%3Cellipse cx='44' cy='64' rx='4' ry='7' fill='%23e3bfb5' transform='rotate(60 44 64)'/%3E%3Cellipse cx='100' cy='80' rx='4' ry='7' fill='%23b9786c' transform='rotate(-50 100 80)'/%3E%3Cellipse cx='20' cy='98' rx='4' ry='7' fill='%23c9a24a' transform='rotate(10 20 98)'/%3E%3Ccircle cx='58' cy='32' r='2.5' fill='%23c9a24a'/%3E%3Ccircle cx='100' cy='46' r='2.5' fill='%23e3bfb5'/%3E%3Ccircle cx='70' cy='104' r='2.5' fill='%23c9a24a'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- agenda por horário ---------- */
.ag-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.ag-d { border: 0; background: var(--surface); border-radius: 14px; padding: 8px 0 6px; box-shadow: var(--shadow); cursor: pointer; color: var(--choc); display: flex; flex-direction: column; align-items: center; gap: 1px; }
.ag-d small { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.ag-d b { font-family: var(--serif); font-size: 19px; }
.ag-d i { font-style: normal; font-size: 11px; font-weight: 800; min-height: 15px; color: var(--rosa-forte); }
.ag-d.hoje b { color: var(--rosa-forte); text-decoration: underline; text-underline-offset: 3px; }
.ag-d.folga { opacity: .55; }
.ag-d.on { background: var(--choc); color: #fff; } .ag-d.on small, .ag-d.on i { color: #f1d9d2; } .ag-d.on.hoje b { color: #fff; }
.ag-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 4px 2px 10px; }
.ag-topo h3 { margin: 0; font-family: var(--serif); font-size: 20px; color: var(--choc); }
.ag-topo .sub { margin: 2px 0 0; font-size: 13px; }
.ag-tot { text-align: right; white-space: nowrap; } .ag-tot b { font-family: var(--serif); font-size: 18px; color: var(--choc); } .ag-tot small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.ag-livre { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; border: 2px dashed var(--line); background: transparent; border-radius: 14px; padding: 9px 14px; margin-bottom: 8px; cursor: pointer; text-align: left; color: var(--text-2); }
.ag-livre span { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); }
.ag-livre b { grid-row: span 2; color: var(--rosa-forte); font-size: 14px; }
.ag-livre small { font-size: 12.5px; color: var(--muted); }
.ag-livre:hover { border-color: var(--rosa); background: var(--rosa-soft); }
.enc-time small { display: block; font-weight: 700; color: var(--muted); font-size: 12px; }
.ag-fim { margin: -4px 2px 12px; color: var(--text-2); font-size: 14px; }
.sv-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sv { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 10px; text-align: left; cursor: pointer; color: var(--choc); min-width: 0; }
.sv b { display: block; font-size: 14px; line-height: 1.25; } .sv small { color: var(--muted); font-size: 12.5px; }
.sv.on { border-color: var(--rosa); background: var(--rosa-soft); }
.sv.on b::before { content: "✓ "; color: var(--rosa-forte); }

/* ---------- retornos ---------- */
.ret-card { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; text-align: left; cursor: pointer; border-left: 5px solid var(--dourado, var(--rosa)); }
.ret-card .e { font-size: 26px; } .ret-card .tx { flex: 1; } .ret-card b { display: block; font-family: var(--serif); font-size: 18px; color: var(--choc); } .ret-card small { color: var(--text-2); }
.ret-card .chev { font-size: 22px; color: var(--muted); }
.cli.ret { flex-wrap: wrap; } .cli.ret .cli-main { flex: 1 1 220px; }
.ret-ac { display: flex; gap: 6px; flex: none; align-items: center; }
.cli.ret.atraso .avatar { background: #f6dcc4; color: #8a4a1f; }

/* ---------- ficha da cliente: fotos ---------- */
.ficha-fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ff { margin: 0; position: relative; }
.ff-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.ff-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ff figcaption { font-size: 12px; color: var(--text-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-x { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 4px 8px; cursor: pointer; }
.ff-x.conf { background: var(--bad, #b3261e); }

/* ---------- meus horários ---------- */
.hor-dias { margin-bottom: 14px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.hd { position: relative; } .hd input { position: absolute; opacity: 0; }
.hd span { display: block; text-align: center; padding: 10px 0; border-radius: 12px; border: 2px solid var(--line); font-weight: 800; font-size: 13px; color: var(--muted); cursor: pointer; }
.hd input:checked + span { border-color: var(--rosa); background: var(--rosa-soft); color: var(--choc); }
.hd input:focus-visible + span { outline: 2px solid var(--rosa-forte); outline-offset: 2px; }

/* ---------- paleta Florescer (verde e dourado) ---------- */
html[data-tema="florescer"] { --bg: #f5f4ee; --surface: #fffdf8; --surface-2: #e9efe9; --line: #dbe3dc; --choc: #1f4d3a; --choc-2: #2f6b52; --text: #1f2d27; --text-2: #4f6158; --muted: #84928a;
  --rosa: #2f6b52; --rosa-forte: #1f4d3a; --rosa-soft: #e3eee7; --accent: #1f4d3a; --in: #2f6b52; --out: #9a6a1f; --dourado: #c9a24a; --sprinkles: none; }

/* ---------- visual neutro fora da confeitaria (sem cobertura de chocolate nem confeitos) ---------- */
body:not(.estilo-doce) header.top::after { display: none; }
body:not(.estilo-doce) header.top { border-radius: 0 0 24px 24px; padding-bottom: 6px; }
body:not(.estilo-doce) .hero { background: linear-gradient(150deg, var(--choc-2) 0%, var(--choc) 70%); }
body:not(.estilo-doce) .top-inner .logo { background: #fff; }

/* ---------- entrada: cores do Florescer, neutra para qualquer negócio ---------- */
.auth { --choc: #1f4d3a; --choc-2: #2f6b52; --text: #1f2d27; --text-2: #4f6158; --muted: #84928a; --rosa: #2f6b52; --rosa-forte: #1f4d3a; --rosa-soft: #e3eee7;
  --surface: #fffdf8; --surface-2: #edf1ec; --line: #d9e2da; --accent: #1f4d3a;
  background: radial-gradient(circle at 10% 0%, #e3eee7 0, transparent 50%), radial-gradient(circle at 100% 100%, #f3ead2 0, transparent 45%), #f6f5ef; color: var(--text); }
.auth-card { padding-top: 40px; border: 1px solid #e6ebe5; }
.auth-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, #1f4d3a 0%, #2f6b52 55%, #c9a24a 100%); }
.auth-card .drip { display: none; }
.auth-head .logo { background: #edf3ee; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #c9a24a33; }
.auth-head .logo svg { width: 44px; height: 44px; }
.auth .brand-tag { color: #9a7a2a; }
.auth .btn.primary { background: linear-gradient(180deg, #2f6b52 0%, #1f4d3a 100%); box-shadow: 0 6px 16px rgba(31, 77, 58, .28); }
.auth input.in:focus { border-color: #2f6b52; box-shadow: 0 0 0 3px #2f6b5226; }
.auth-tabs button.on { color: #1f4d3a; }
.auth .termos-rodape { color: var(--muted); }

/* olhinho para ver a senha */
.pw { position: relative; display: block; }
.pw input.in { padding-right: 52px; }
.olho { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); border-radius: 12px; cursor: pointer; display: grid; place-items: center; }
.olho:hover, .olho:focus-visible { color: var(--choc); background: var(--surface-2); outline: none; }
.olho svg { width: 22px; height: 22px; }
.auth-head .florescer-logo { display: block; width: 150px; height: 150px; margin: -6px auto 10px; border-radius: 50%; box-shadow: 0 8px 22px rgba(31, 77, 58, .22); }
.auth-head .brand-name { color: #1f4d3a; }
.auth input.in::placeholder { color: #9aa79f; }
.mod-ln { padding: 8px 0; border-bottom: 1px dashed var(--line); } .mod-ln:last-child { border-bottom: 0; }
body.area-oficina .so-link { display: none !important; }
/* reserva em caixinhas (simulador) */
.res-card h3 { margin: 0 0 2px; }
.res-barra { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 10px 0 12px; background: var(--surface); }
.res-ln { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.res-ln i { width: 12px; height: 12px; border-radius: 4px; }
.res-ln b { display: block; color: var(--choc); } .res-ln small { color: var(--text-2); font-size: 13px; }
.res-in { width: 130px; } .res-in .in { padding: 8px 10px 8px 34px; }
.res-regras { margin: 12px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14px; } .res-regras li { margin: 4px 0; }
