/* Visual de aplicativo (rosa claro), a partir do protótipo. Sem estilos inline (CSP). */
:root {
  --bg: #FFF7F9;
  --surface: #FFFFFF;
  --ink: #3A2A32;
  --muted: #7A6670;
  --line: #F2DDE5;
  --rose: #F5A9C4;
  --on-rose: #4A1D33;
  --rose-text: #A23B67;
  --wash: #FDE9F0;
  --ok: #1F7A4F;
  --ok-wash: #E2F4EA;
  --warn: #8A5200;
  --warn-wash: #FDF0D8;
  --bad: #B3261E;
  --bad-wash: #FBE3E1;
  --qr-bg: #FFFFFF;
  --qr-fg: #3A2A32;
  --font-display: ui-serif, Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1F1519; --surface: #2A1D23; --ink: #F8ECF0; --muted: #BFA9B2; --line: #45323A;
    --rose: #F5A9C4; --on-rose: #3A1426; --rose-text: #F7B9CF; --wash: #3D2630;
    --ok: #6FD3A0; --ok-wash: #19352A; --warn: #F1C277; --warn-wash: #3A2D14;
    --bad: #F2A39D; --bad-wash: #3C1F1D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1F1519; --surface: #2A1D23; --ink: #F8ECF0; --muted: #BFA9B2; --line: #45323A;
  --rose: #F5A9C4; --on-rose: #3A1426; --rose-text: #F7B9CF; --wash: #3D2630;
  --ok: #6FD3A0; --ok-wash: #19352A; --warn: #F1C277; --warn-wash: #3A2D14;
  --bad: #F2A39D; --bad-wash: #3C1F1D;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font-body); font-variant-numeric: tabular-nums; }
.wrap-unused { max-width: 1180px; margin-inline: auto; padding-block: 20px 56px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
p { margin: 0; }
a { color: var(--rose-text); }
.suave { color: var(--muted); }
.peq { font-size: .875rem; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--rose-text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--wash); }
.btn.primario { background: var(--rose); color: var(--on-rose); border-color: var(--rose); }
.btn.primario:hover { filter: brightness(.94); }
.btn.perigo { color: var(--bad); }
.btn.perigo.cheio { background: var(--bad); color: var(--surface); border-color: var(--bad); }
.btn.mini { min-height: 38px; padding: 4px 14px; font-size: .9rem; }
.voltar { background: none; border: 0; padding: 4px 0; color: var(--muted); font: inherit; cursor: pointer; align-self: flex-start; }

.lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.item-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 180px; }
.acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vazio { padding: 18px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; }

.dias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.dia { flex: none; min-width: 62px; display: flex; flex-direction: column; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; }
.dia[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: var(--on-rose); }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.hora { padding: 10px 0; border: 1px solid var(--rose-text); border-radius: 10px; background: var(--bg); color: var(--rose-text); font: inherit; font-weight: 600; cursor: pointer; }
.hora:hover { background: var(--wash); }

.caixa { padding: 12px 14px; border-radius: 12px; background: var(--wash); display: flex; flex-direction: column; gap: 2px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .95rem; }
.form label .suave { font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
textarea { resize: vertical; }
.erros { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 12px; background: var(--bad-wash); color: var(--bad); }

.pix { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.qr { width: 200px; max-width: 100%; height: auto; border-radius: 10px; padding: 8px; background: var(--qr-bg); }
.qr-bg { fill: var(--qr-bg); }
.qr-fg { fill: var(--qr-fg); }
.codigo { font-family: var(--font-mono); font-size: .78rem; text-align: left; }
.contagem { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; color: var(--rose-text); }
.demo-box { padding: 12px 14px; border: 2px dashed var(--warn); border-radius: 14px; background: var(--warn-wash); color: var(--warn); display: flex; flex-direction: column; gap: 10px; }
.demo-box .acoes .btn { background: var(--surface); }
.ok-titulo { color: var(--ok); }

/* ---------- painel da manicure ---------- */
.nav { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.nav button { flex: none; padding: 8px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.nav button[aria-current="page"] { background: var(--wash); color: var(--rose-text); font-weight: 600; }
.metricas { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.metrica { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.metrica strong { font-family: var(--font-display); font-size: 1.5rem; }
.linha-copia { display: flex; gap: 8px; flex-wrap: wrap; }
.linha-copia input { flex: 1 1 200px; min-width: 0; }
.navdia { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge { align-self: flex-start; padding: 1px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--wash); color: var(--rose-text); }
.b-confirmado, .b-concluido { background: var(--ok-wash); color: var(--ok); }
.b-pendente_pagamento { background: var(--warn-wash); color: var(--warn); }
.b-cancelado, .b-faltou, .b-expirado { background: var(--bad-wash); color: var(--bad); }
.apagado { opacity: .62; }
.bloqueio { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--warn-wash); color: var(--warn); }
.aviso { padding: 8px 12px; border-radius: 10px; background: var(--warn-wash); color: var(--warn); font-size: .9rem; }
.interruptor { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.chave { min-width: 76px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.chave[aria-checked="true"] { background: var(--ok-wash); color: var(--ok); border-color: var(--ok); }


/* ---------- estrutura do app ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; max-width: 760px; margin: 0 auto; padding: 14px 16px 0; }
.brand { font-family: var(--font-display); font-weight: 700; color: var(--rose-text); font-size: 1.15rem; text-decoration: none; }
.brand span { color: var(--ink); }
.topbar nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.container { max-width: 760px; margin: 0 auto; padding: 16px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.container.estreito { max-width: 480px; }
.footer { max-width: 760px; margin: 0 auto; padding: 8px 16px 32px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .875rem; }
.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--rose-text); text-decoration: underline; cursor: pointer; }
.btn.small { min-height: 38px; padding: 4px 14px; font-size: .9rem; }
.btn.ghost { background: transparent; }
.btn.bloco { width: 100%; }
.flash { padding: 10px 14px; border-radius: 12px; background: var(--wash); color: var(--rose-text); }
.flash.ok { background: var(--ok-wash); color: var(--ok); }
.flash.erro { background: var(--bad-wash); color: var(--bad); }
.flash.info { background: var(--warn-wash); color: var(--warn); }
.card-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.hero { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 8px; }
.hero h1 { font-size: 2rem; }
.passos { margin: 0; padding-left: 1.2rem; display: grid; gap: 4px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field > label, .field legend { font-weight: 600; font-size: .95rem; }
.field .muted, .muted { color: var(--muted); font-weight: 400; }
.field .msg { font-size: .875rem; color: var(--muted); }
.field .msg.erro, .msg.erro { color: var(--bad); }
.field.has-error input, .field.has-error textarea { border-color: var(--bad); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.choice input { width: 20px; height: 20px; }
input[type=password], input[type=number], input[type=time], input[type=date], input[type=file] { width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.thumb { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; }
.foto-mini { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.tabs a { flex: none; padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--wash); color: var(--rose-text); font-weight: 600; }
.linha-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.linha-form .field { flex: 1 1 110px; }
.preco { font-weight: 600; }
.badge.off { background: var(--bad-wash); color: var(--bad); }
.lista-simples { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.copia input { font-family: var(--font-mono); font-size: .85rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ---------- página inicial (landing) ---------- */
html { scroll-behavior: smooth; }
.container.landing { max-width: 980px; gap: 40px; }
.hero-lp { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 32px 0 8px; max-width: 720px; }
.hero-lp h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.selo { align-self: flex-start; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--warn-wash); color: var(--warn); margin: 0; }
.categorias { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.categorias li { padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; }
.bloco-lp { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.cartoes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.cartao { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.icone { font-size: 1.6rem; }
.passos-lp { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.passos-lp li { display: flex; gap: 16px; align-items: flex-start; }
.num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--rose-text); min-width: 2.2rem; }
.plano { max-width: 380px; padding: 22px; border: 2px solid var(--rose); border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.preco-grande { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin: 0; }
.check { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.check li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 12px 16px; }
details + details { margin-top: -6px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 8px; }

/* ---------- visual de aplicativo (painel da manicure) ---------- */
.cor-c1 { --cor: #F7B6CF; } .cor-c2 { --cor: #BFE3C8; } .cor-c3 { --cor: #D9C7F2; } .cor-c4 { --cor: #F9C1B8; }
.cor-c5 { --cor: #BFDDF2; } .cor-c6 { --cor: #FBDDB0; } .cor-c7 { --cor: #F2A9C6; } .cor-c8 { --cor: #D8D2D6; }

.container.painel-app { max-width: 520px; padding-bottom: 112px; gap: 14px; }
.painel-app h1 { text-align: center; font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; color: var(--rose-text); padding: 4px 0 10px; border-bottom: 2px solid var(--rose); }
.menu-inferior { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.menu-inferior a { flex: 1 1 0; max-width: 104px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 6px; font-size: .75rem; color: var(--muted); text-decoration: none; }
.menu-inferior a[aria-current="page"] { color: var(--rose-text); font-weight: 700; box-shadow: inset 0 3px 0 var(--rose); }
.menu-inferior .ic { font-size: 1.25rem; line-height: 1.2; }
.fab { position: fixed; bottom: 84px; right: max(16px, calc(50% - 244px)); z-index: 15; width: 56px; height: 56px; border-radius: 50%; background: var(--rose); color: var(--on-rose); display: grid; place-items: center; font-size: 2rem; line-height: 1; text-decoration: none; box-shadow: 0 2px 10px rgba(162, 59, 103, .35); }
.btn.primario { color: var(--on-rose); }

/* agenda */
.semana { display: flex; align-items: stretch; gap: 2px; }
.semana .seta { display: grid; place-items: center; min-width: 28px; font-size: 1.4rem; color: var(--muted); text-decoration: none; }
.sem-dia { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 12px; color: var(--ink); text-decoration: none; }
.sem-dia small { font-size: .65rem; color: var(--muted); }
.sem-dia strong { font-size: .8rem; }
.sem-dia[aria-current="date"] { background: var(--rose); color: var(--on-rose); }
.sem-dia[aria-current="date"] small { color: var(--on-rose); }
.titulo-dia { text-align: center; color: var(--muted); }
.ag-lista { gap: 8px; }
.ag-hora-titulo { list-style: none; font-weight: 700; color: var(--rose-text); border-bottom: 1px solid var(--line); padding-top: 6px; }
.ag-li { list-style: none; }
.ag-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ag-card summary { display: flex; cursor: pointer; list-style: none; }
.ag-card summary::-webkit-details-marker { display: none; }
.ag-hora { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 8px 4px; background: var(--cor, var(--wash)); color: #3A2A32; font-size: .85rem; }
.ag-hora small { font-size: .65rem; opacity: .75; }
.ag-corpo { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; }
.ag-linha { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.preco-tag { flex: none; padding: 1px 10px; border-radius: 6px; background: var(--wash); color: var(--rose-text); font-size: .85rem; font-weight: 600; }
.ag-detalhe { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.ag-card .badge { margin: 0; }

/* serviços */
.serv { position: relative; list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--cor, var(--rose)); border-radius: 10px; }
.serv .item-texto { flex: 1 1 auto; }
.serv-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.mais { position: relative; }
.mais summary { list-style: none; cursor: pointer; padding: 6px 10px; font-size: 1.3rem; border-radius: 8px; }
.mais summary::-webkit-details-marker { display: none; }
.mais-menu { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 130px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); overflow: hidden; }
.mais-menu a, .mais-menu button { display: block; width: 100%; padding: 10px 14px; text-align: left; background: none; border: 0; font: inherit; color: var(--ink); text-decoration: none; cursor: pointer; }
.mais-menu a:hover, .mais-menu button:hover { background: var(--wash); }

/* formulário de serviço */
.aba-titulo { font-weight: 700; color: var(--rose-text); border-bottom: 2px solid var(--rose); padding-bottom: 4px; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cores { display: flex; flex-wrap: wrap; gap: 10px; }
.amostra { position: relative; display: block; width: 40px; height: 40px; }
.amostra input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.amostra span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--cor); border: 2px solid transparent; }
.amostra input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface) inset; }
.amostra input:focus-visible + span { outline: 3px solid var(--rose-text); outline-offset: 2px; }

/* horário de atendimento */
.dia-linha { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.dia-horas { display: flex; flex-direction: column; align-items: flex-end; font-size: .9rem; }
.intervalo { color: var(--bad); font-size: .8rem; }

/* menu */
.menu-lista li { list-style: none; }
.item-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.item-link .ic { font-size: 1.3rem; }

/* inicial e entrada: cara de app */
.hero-lp { background: var(--wash); color: var(--ink); border: 1px solid var(--line); padding: 32px 22px; border-radius: 22px; max-width: none; }
.hero-lp .suave { color: var(--muted); }
.hero-lp .btn { background: var(--surface); color: var(--rose-text); border-color: var(--line); }
.hero-lp .btn.primario { background: var(--rose); border-color: var(--rose); color: var(--on-rose); }
.hero-lp .categorias li { background: var(--surface); border-color: var(--line); color: var(--ink); }
.hero-lp h1 em { font-style: normal; color: var(--rose-text); }
details.mais, details.ag-card { padding: 0; margin: 0; }
details.mais { border: 0; background: none; }
details.ag-card + details.ag-card { margin-top: 0; }

/* página pública da cliente */
.celular { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 16px; }
.perfil { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--on-rose); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; flex: none; }
.perfil-texto { min-width: 0; display: flex; flex-direction: column; }
.perfil-texto strong, .perfil-texto h1 { font-family: var(--font-display); font-size: 1.1rem; margin: 0; }
.painel-app .perfil-texto h1 { border: 0; padding: 0; text-align: left; }

/* ---------- barra superior das telas (como nos prints) ---------- */
.painel-app h1 { border: 0; padding: 0; }
.appbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--rose); }
.appbar h1 { text-align: center; font-size: 1.1rem; margin: 0; }
.ab-lado { display: flex; align-items: center; gap: 4px; min-height: 40px; }
.ab-lado.dir { justify-content: flex-end; }
.ab-btn { position: relative; display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; border-radius: 50%; font-size: 1.2rem; color: var(--rose-text); text-decoration: none; cursor: pointer; list-style: none; background: none; border: 0; }
.ab-btn::-webkit-details-marker { display: none; }
.ab-btn:hover { background: var(--wash); }
.ab-badge { position: absolute; top: 0; right: 0; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--rose-text); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.ab-data { position: relative; }
.ab-data summary { padding: 0; font-size: 1.2rem; }
.ab-form { left: 0; right: auto; min-width: 210px; padding: 12px; gap: 8px; }
.ab-form input { min-height: 40px; }
.ag-cliente { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mini-avatar { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--rose-text); font-size: .75rem; font-weight: 700; }
.ag-seta { display: grid; place-items: center; padding-right: 10px; color: var(--muted); font-size: 1.4rem; transition: transform .15s; }
details[open] > summary .ag-seta { transform: rotate(90deg); }

/* abas do cadastro de serviço */
.abas { display: flex; border-bottom: 1px solid var(--line); }
.abas button { flex: 1; padding: 12px 0; background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; font-weight: 700; font-size: .85rem; letter-spacing: .05em; color: var(--muted); cursor: pointer; }
.abas button[aria-selected="true"] { color: var(--rose-text); border-bottom-color: var(--rose); }
[hidden] { display: none !important; }
.com-mais { display: flex; gap: 8px; align-items: flex-start; }
.com-mais select { flex: 1; }
.novo-grupo { position: relative; padding: 0; border: 0; background: none; }
.btn-mais { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--rose); color: var(--on-rose); font-size: 1.5rem; font-weight: 700; }
.btn-mais::-webkit-details-marker { display: none; }
.novo-grupo-corpo { position: absolute; right: 0; top: 52px; z-index: 5; width: 220px; padding: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.opcionais { border: 0; background: none; padding: 0; }
.opcionais summary { cursor: pointer; font-weight: 700; color: var(--rose-text); padding: 10px 0; border-bottom: 1px solid var(--line); }

/* dados da empresa */
.capa { position: relative; height: 150px; border-radius: 16px; background: var(--wash); margin-bottom: 40px; }
.capa > img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.capa-avatar { position: absolute; left: 50%; bottom: -36px; transform: translateX(-50%); width: 84px; height: 84px; border-radius: 50%; background: var(--surface); border: 3px solid var(--surface); display: grid; place-items: center; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.capa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.capa-avatar span { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--rose-text); }
.capa-publica { width: 100%; max-height: 150px; object-fit: cover; border-radius: 16px; }
img.avatar { object-fit: cover; }

/* tela inicial (splash) */
.splash { padding-top: 40px; padding-bottom: 36px; }
.marca-grande { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--rose-text); margin: 0; }
.marca-grande span { color: var(--ink); }
.splash h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.splash-botoes { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; }

/* ---- página pública e etapas (conforme prints) ---- */
.studio-topo { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.studio-topo strong { font-size: 1.2rem; }
.studio-topo .avatar { width: 48px; height: 48px; }
.capa-publica.vazia { display: flex; align-items: center; justify-content: center; min-height: 150px; border-radius: 16px; background: var(--wash); color: var(--rose-text); font: 3rem var(--font-display); }
.pagina-publica .modo { text-align: center; }
.btn.grande { min-height: 52px; font-size: 1.1rem; }
.btn.redondo-wa { align-self: center; width: 52px; min-height: 52px; padding: 0; border-radius: 50%; font-size: 1.3rem; background: var(--surface); }
.card-info { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; }
.card-info h2 { font: 700 1.05rem var(--font-body); }
.endereco { display: grid; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.horarios-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.horarios-lista li { display: flex; justify-content: space-between; gap: 12px; }
.horarios-lista .faixas { display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.etapa { display: grid; gap: 6px; }
.etapa-topo { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.etapa-topo strong { color: var(--rose-text); }
.progresso { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progresso span { display: block; height: 100%; background: var(--rose); border-radius: 99px; }
.progresso .p1 { width: 33%; } .progresso .p2 { width: 66%; } .progresso .p3 { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: var(--on-rose); font-weight: 600; }
.lista.escolha { display: grid; gap: 10px; padding: 0; list-style: none; }
.item-escolha { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.item-escolha:has(input:checked) { border-color: var(--rose); background: var(--wash); }
.item-escolha input { width: 22px; height: 22px; accent-color: var(--rose-text); flex: none; }
.resumo-escolha { text-align: center; padding: 8px 0; }
.acoes-rodape { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.acoes-rodape .btn { flex: 1; }
.radio { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.texto-legal { display: grid; gap: 12px; }

/* ---- cadastro em etapas ---- */
.container.wizard { max-width: 520px; padding: 0 0 120px; gap: 14px; }
.wiz-topo { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px 6px; background: var(--bg); }
.wiz-titulo { font: 700 1.35rem var(--font-body); color: var(--rose-text); margin: 4px 0; border: 0; padding: 0; text-align: left; }
.progresso.wiz { border-radius: 0; height: 5px; margin-top: -14px; }
.wizard > form, .wizard > ul, .wizard > .pronto, .wizard > .flash { margin-inline: 16px; }
.seg-radio { display: grid; grid-template-columns: 1fr 1fr; padding: 0; border: 1px solid var(--rose); border-radius: 12px; overflow: hidden; }
.seg-radio label { display: block; }
.seg-radio input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px; font-weight: 600; }
.seg-radio input:checked + span { background: var(--wash); color: var(--rose-text); }
.seg-radio input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: -3px; }
.caixa-info { display: flex; gap: 10px; padding: 12px 14px; background: var(--surface); border-radius: 12px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.barra-fixa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: 12px; justify-content: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
.barra-fixa .btn { flex: 1; max-width: 240px; min-height: 48px; }
.barra-fixa:only-child .btn { max-width: 488px; }
.barra-fixa > .btn:only-child { max-width: 488px; }
.duas-btn { display: flex; gap: 12px; }
.duas-btn .btn { flex: 1; }
.pronto { display: grid; gap: 16px; justify-items: center; text-align: center; padding-top: 28px; }
.pronto-ok { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 3rem; }
.faixa-teste { width: 100%; padding: 16px; background: var(--warn-wash); color: var(--warn); font-size: 1.1rem; }
.lista-passos { list-style: none; margin: 0; padding: 0; width: 100%; text-align: left; }
.lista-passos li { border-bottom: 1px solid var(--line); }
.lista-passos a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; color: var(--ink); text-decoration: none; }
.aviso-dados { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin: -16px -16px 0; background: var(--warn-wash); color: var(--warn); text-decoration: none; font-size: .92rem; }

/* ---- horários ---- */
.dias-lista { gap: 0; }
.dia-linha { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.dia-info { flex: 1; display: flex; flex-direction: column; }
.dia-horas { color: var(--muted); }
.intervalo { color: var(--bad); }
.marcar { width: 34px; height: 34px; border-radius: 6px; border: 2px solid var(--muted); background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; flex: none; }
.marcar.on { background: var(--rose); border-color: var(--rose); color: var(--on-rose); }
.centro { text-align: center; font: 600 1.05rem var(--font-body); }
.par-horas { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: end; gap: 12px; padding: 12px 0; }
.par-horas .largura-total { grid-column: 1 / -1; }
.par-horas input[type=time] { width: 100%; min-height: 56px; font-size: 1.1rem; min-width: 0; text-align: center; }
.ate { font-size: 1.2rem; padding-bottom: 12px; }
.btn.ok-cheio { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn.perigo.cheio { background: var(--bad); color: #fff; border-color: var(--bad); }

/* ---- agenda: filtro e vazio ---- */
.filtro-status { text-align: center; }
.filtro-status summary { display: inline-block; font-size: .8rem; color: var(--muted); letter-spacing: .03em; }
.filtro-status .mais-menu { left: 50%; right: auto; transform: translateX(-50%); padding: 12px; gap: 8px; }
.agenda-vazia { display: grid; justify-items: center; gap: 14px; padding: 18px 0 8px; text-align: center; }
.circulo-vazio { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-size: 3.4rem; }
.pilula-fechado { display: inline-flex; gap: 8px; align-items: center; padding: 8px 20px; border-radius: 999px; background: var(--bad); color: #fff; text-decoration: none; font-weight: 600; }
.agenda-vazia .btn { min-width: 240px; }

/* ---- novo agendamento ---- */
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.secao { font: 700 .9rem var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--rose-text); margin-top: 8px; }
.novo-ag { padding-bottom: 96px; }
.data-linha { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.data-linha > summary { display: flex; align-items: center; gap: 10px; padding: 14px; cursor: pointer; list-style: none; }
.data-linha > summary::-webkit-details-marker { display: none; }
.data-linha .ag-seta { margin-left: auto; }
.calendario { padding: 4px 12px 14px; display: grid; gap: 10px; }
.cal-topo { display: flex; align-items: center; justify-content: space-between; }
.cal-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-sem { font-size: .85rem; color: var(--muted); }
.cal-dia { aspect-ratio: 1; min-height: 40px; border-radius: 50%; border: 0; background: var(--wash); color: var(--ink); font: inherit; cursor: pointer; }
.cal-dia.fechado { background: var(--bad-wash); color: var(--bad); }
.cal-dia.sel { outline: 3px solid var(--rose); background: var(--rose); color: var(--on-rose); font-weight: 700; }
.totais { margin: 0; display: grid; }
.totais > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.totais dt, .totais dd { margin: 0; }
.totais dd { display: flex; align-items: center; gap: 6px; }
.totais input { width: 110px; text-align: right; min-height: 38px; padding: 4px 8px; font: inherit; background: var(--wash); border: 0; border-radius: 8px; color: var(--ink); }
.totais .total { font-size: 1.15rem; }

/* ---- clientes ---- */
.busca-form { display: flex; gap: 8px; }
.busca-form input { flex: 1; min-height: 44px; padding: 8px 12px; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.item-link-cliente { color: inherit; text-decoration: none; }
.foto-cliente { position: relative; align-self: center; width: 120px; height: 120px; }
.avatar.grande { width: 120px; height: 120px; font-size: 3rem; background: var(--surface); color: var(--muted); overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.avatar.grande img { width: 100%; height: 100%; object-fit: cover; }
.camera { position: absolute; right: -4px; bottom: 4px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); cursor: pointer; font-size: 1.2rem; }
.camera input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.interruptor-linha { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 6px 0; font-weight: 400 !important; }
.interruptor-linha span { display: flex; flex-direction: column; gap: 2px; }
.interruptor-linha input { width: 48px; height: 28px; accent-color: var(--rose-text); flex: none; margin-top: 4px; }
.ficha { white-space: pre-wrap; font: inherit; margin: 8px 0 0; }
.lista-simples { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

/* ---- Resumo ---- */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--wash); border-radius: 14px; }
.seg-item { display: block; padding: 10px 6px; border-radius: 10px; text-align: center; font-weight: 600; color: var(--ink); text-decoration: none; }
.seg-item.on { background: var(--rose); color: var(--on-rose); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.seg.pequeno { max-width: 340px; margin-inline: auto; width: 100%; }
.data-nav { display: flex; align-items: center; justify-content: center; gap: 14px; }
.data-nav .seta { font-size: 1.8rem; padding: 0 12px; text-decoration: none; color: var(--ink); }
.data-chip { display: inline-block; padding: 10px 22px; border-radius: 12px; background: var(--wash); font-size: 1rem; }
.data-pick .mais-menu { left: 50%; right: auto; transform: translateX(-50%); padding: 12px; gap: 8px; }
.saldo-card { background: var(--surface); border-radius: 20px; padding: 22px 18px; display: grid; justify-items: center; gap: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
.saldo-valor { font-size: 2.4rem; font-weight: 800; }
.saldo-valor.neg, .verm { color: var(--bad); }
.verde { color: var(--ok); }
.saldo-duas { display: flex; justify-content: space-around; width: 100%; gap: 12px; margin-top: 14px; }
.saldo-duas > div { display: flex; align-items: center; gap: 10px; }
.saldo-duas strong { display: block; }
.seta-rc { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; }
.seta-rc.ent { background: var(--ok-wash); color: var(--ok); }
.seta-rc.sai { background: var(--bad-wash); color: var(--bad); }
.donut { position: relative; display: grid; place-items: center; }
.donut-centro { position: absolute; display: grid; justify-items: center; }
.donut-centro strong { font-size: 1.4rem; }
.arc-trilho { stroke: var(--line); }
.arc-ag { stroke: var(--rose); }
.arc-rz { stroke: var(--ok); }
.linha-total { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border-radius: 12px; font-size: 1.1rem; }
.linha-total strong { margin-left: auto; }
.quad { display: inline-block; width: 22px; height: 22px; border-radius: 6px; flex: none; }
.quad.ag { background: var(--rose); }
.quad.rz { background: var(--ok); }
.mini-total { display: grid; gap: 6px; padding: 12px; background: var(--surface); border-radius: 12px; font-size: .95rem; }
.mini-total span { display: flex; align-items: center; gap: 6px; }
.mini-total .quad { width: 14px; height: 14px; }
.mini-total b { margin-left: auto; font-weight: 600; }

/* ---- menu e serviço ---- */
.menu-capa { display: block; position: relative; margin: -16px -16px 0; min-height: 150px; background: linear-gradient(135deg, var(--wash), var(--rose)); color: var(--on-rose); text-decoration: none; overflow: hidden; }
.menu-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-faixa { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(74, 29, 51, .72); color: #fff; }
.mc-icone { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); }
.ml-texto { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.menu-linha { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.menu-linha .ic { width: 40px; text-align: center; font-size: 1.4rem; }
.avatar.peq-av { width: 44px; height: 44px; font-size: 1.1rem; background: var(--wash); color: var(--muted); }
.dias-semana { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 40px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; }
.chip-check input:checked + span { background: var(--rose); border-color: var(--rose); color: var(--on-rose); font-weight: 600; }
.chip-check input:focus-visible + span { outline: 3px solid var(--rose); }

/* labels dentro de .form são coluna; cartões de escolha e rádios ficam em linha */
.form label.item-escolha, .form label.radio { flex-direction: row; font-weight: 400; font-size: 1rem; }
.form label.item-escolha strong { font-weight: 700; }
.totais dd { white-space: nowrap; }

.ag-data { font-weight: 700; font-size: .9rem; color: var(--rose-text); }

.codigo-agend { text-align: center; background: var(--wash); border: 1px dashed var(--rose); border-radius: 14px; padding: 12px; display: grid; gap: 2px; }
.codigo-agend strong { font-size: 1.7rem; letter-spacing: .12em; color: var(--rose-text); font-variant-numeric: tabular-nums; }

/* ---------- Dois layouts ----------
   tema-cliente: vitrine elegante (páginas que a cliente vê), sempre clara.
   tema-painel:  claro e organizado (gestão da profissional), sempre claro e mais compacto. */
body.tema-cliente {
  --bg: #FAF5EF; --surface: #FFFFFF; --ink: #2B2220; --muted: #75665F; --line: #EBDFD5;
  --rose: #B8506E; --on-rose: #FFFFFF; --rose-text: #8E3553; --wash: #F6EBE3;
  --ok: #1F7A4F; --ok-wash: #E2F4EA; --warn: #8A5200; --warn-wash: #FDF0D8; --bad: #B3261E; --bad-wash: #FBE3E1;
  --qr-bg: #FFFFFF; --qr-fg: #2B2220;
  color-scheme: light;
}
body.tema-cliente .topbar .brand, body.tema-cliente h1, body.tema-cliente h2 { letter-spacing: .01em; }
body.tema-cliente .container.estreito { max-width: 460px; padding-top: 8px; }
body.tema-cliente .celular { border: 0; border-radius: 26px; padding: 0 0 26px; gap: 18px; overflow: hidden; box-shadow: 0 10px 36px rgba(86, 50, 40, .10); }
body.tema-cliente .celular > * { margin-inline: 22px; }
body.tema-cliente .celular > .capa-publica { margin-inline: 0; order: -1; }
body.tema-cliente .capa-publica { max-height: none; height: 210px; border-radius: 0; }
body.tema-cliente .capa-publica.vazia { min-height: 210px; font-size: 4.5rem; background: linear-gradient(135deg, #E9C9C4, #B8506E); color: rgba(255, 255, 255, .85); }
body.tema-cliente .perfil, body.tema-cliente .studio-topo { padding-top: 18px; }
body.tema-cliente .pagina-publica > .studio-topo, body.tema-cliente .pagina-publica > .perfil { position: relative; margin-top: -44px; background: var(--surface); border-radius: 20px 20px 0 0; margin-inline: 0; padding-inline: 22px; }
body.tema-cliente .pagina-publica { display: flex; flex-direction: column; }
body.tema-cliente .perfil-texto strong, body.tema-cliente .perfil-texto h1 { font-size: 1.25rem; }
body.tema-cliente .avatar { box-shadow: 0 2px 10px rgba(86, 50, 40, .18); border: 3px solid var(--surface); }
body.tema-cliente .btn { letter-spacing: .02em; }
body.tema-cliente .btn.primario { box-shadow: 0 6px 16px rgba(184, 80, 110, .28); }
body.tema-cliente .card-info { border: 0; background: var(--bg); border-radius: 18px; }
body.tema-cliente .caixa { background: var(--bg); border-radius: 14px; }
body.tema-cliente .item-escolha { padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 2px 10px rgba(86, 50, 40, .06); }
body.tema-cliente .item-escolha:has(input:checked) { border-color: var(--rose); background: #FDF3F6; box-shadow: 0 0 0 2px var(--rose); }
body.tema-cliente .foto-mini { width: 76px; height: 76px; border-radius: 16px; }
body.tema-cliente .chip { border-radius: 999px; }
body.tema-cliente .footer { color: var(--muted); }

body.tema-painel {
  --bg: #F3F5F8; --surface: #FFFFFF; --ink: #1E2530; --muted: #667085; --line: #E3E7ED;
  --rose: #F08FB0; --on-rose: #3F1128; --rose-text: #B03A6A; --wash: #F6F8FB;
  --ok: #1F7A4F; --ok-wash: #E2F4EA; --warn: #8A5200; --warn-wash: #FDF0D8; --bad: #B3261E; --bad-wash: #FBE3E1;
  color-scheme: light;
  font-size: 15px;
}
body.tema-painel .container.painel-app { max-width: 560px; gap: 12px; padding-inline: 14px; }
body.tema-painel .painel-app h1 { color: var(--ink); border-bottom: 1px solid var(--line); font-size: 1.05rem; }
body.tema-painel .menu-inferior { box-shadow: 0 -2px 12px rgba(30, 37, 48, .06); }
body.tema-painel .ag-card, body.tema-painel .card-box, body.tema-painel .caixa, body.tema-painel .card-info { border-radius: 10px; box-shadow: 0 1px 2px rgba(30, 37, 48, .05); }
body.tema-painel .caixa { background: var(--surface); border: 1px solid var(--line); }
body.tema-painel .btn { min-height: 40px; padding: 6px 14px; }
body.tema-painel .btn.mini { min-height: 34px; }
body.tema-painel .lista { gap: 8px; }
body.tema-cliente .celular > .bloco, body.tema-cliente .celular > .btn.bloco { width: auto; }
body.tema-painel .menu-capa { margin-inline: -14px; }

/* Dia e horário: texto centralizado, sem sublinhado de link */
.hora, .dia { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.dia { flex-direction: column; }
.dias { justify-content: flex-start; }

[hidden] { display: none !important; }

/* ---------- Vidro (estilo "liquid glass" do iPhone) ----------
   Superfícies translúcidas com desfoque do que passa por trás: barras fixas, botão flutuante e o cartão
   do perfil sobre a capa. Sem suporte a desfoque (ou com "reduzir transparência"), voltam a cores sólidas. */
:root {
  --glass-bg: rgba(255, 255, 255, .58);
  --glass-edge: rgba(255, 255, 255, .75);
  --glass-shadow: 0 10px 34px rgba(60, 35, 50, .14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --glass-bg: rgba(42, 29, 35, .55);
    --glass-edge: rgba(255, 255, 255, .16);
    --glass-shadow: 0 10px 34px rgba(0, 0, 0, .4);
  }
}
body.tema-cliente, body.tema-painel {
  --glass-bg: rgba(255, 255, 255, .58);
  --glass-edge: rgba(255, 255, 255, .75);
  --glass-shadow: 0 10px 34px rgba(60, 35, 50, .14);
}
/* Cores suaves ao fundo para o vidro ter o que desfocar */
body.tema-painel {
  background: radial-gradient(60% 34% at 12% 0%, rgba(240, 143, 176, .24), transparent 72%),
              radial-gradient(52% 30% at 100% 22%, rgba(150, 140, 255, .18), transparent 72%), var(--bg);
  background-attachment: fixed;
}
body.tema-cliente {
  background: radial-gradient(60% 34% at 90% 0%, rgba(214, 120, 150, .26), transparent 72%),
              radial-gradient(52% 30% at 0% 26%, rgba(240, 190, 150, .26), transparent 72%), var(--bg);
  background-attachment: fixed;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .menu-inferior, .barra-fixa {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--glass-edge);
    box-shadow: inset 0 1px 0 var(--glass-edge), 0 -10px 30px rgba(60, 35, 50, .08);
  }
  .fab {
    background: color-mix(in srgb, var(--rose) 78%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    backdrop-filter: blur(14px) saturate(170%);
    border: 1px solid var(--glass-edge);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), var(--glass-shadow);
  }
  body.tema-cliente .pagina-publica > .studio-topo, body.tema-cliente .pagina-publica > .perfil {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid var(--glass-edge);
    border-bottom: 0;
    box-shadow: inset 0 1px 0 var(--glass-edge), 0 -6px 24px rgba(60, 35, 50, .08);
  }
  body.tema-painel .ag-card, body.tema-painel .card-box, body.tema-painel .caixa, body.tema-painel .card-info {
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
  }
  body.tema-painel .ag-card, body.tema-painel .card-box, body.tema-painel .caixa, body.tema-painel .card-info {
    background: rgba(255, 255, 255, .72);
    border-color: var(--glass-edge);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 10px rgba(40, 30, 50, .05);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .menu-inferior, .barra-fixa { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .fab { background: var(--rose); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.tema-cliente .pagina-publica > .studio-topo, body.tema-cliente .pagina-publica > .perfil { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.tema-painel .ag-card, body.tema-painel .card-box, body.tema-painel .caixa, body.tema-painel .card-info { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
