/* =====================================================================
   Agenda Pamela — visual de aplicativo
   ===================================================================== */
:root {
  --bg: #f4eee9;
  --surface: #ffffff;
  --surface-2: #faf6f3;
  --ink: #241a1e;
  --ink-2: #5d4d53;
  --muted: #8f7f85;
  --line: #ebe2dd;
  --line-2: #ddd0ca;
  --brand: #8e3b55;
  --brand-2: #b4587a;
  --brand-soft: #f6e8ed;
  --brand-ink: #ffffff;
  --gold: #c39a5b;
  --ok: #23805a;
  --ok-soft: #e3f3ea;
  --warn: #a5680f;
  --warn-soft: #fbf0dc;
  --bad: #b23a3a;
  --bad-soft: #f8e3e3;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(36, 26, 30, .04), 0 8px 24px rgba(36, 26, 30, .06);
  --shadow-lg: 0 24px 60px rgba(36, 26, 30, .14);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --bar-h: 88px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg);
  background-image: radial-gradient(1200px 500px at 50% -200px, #ead9df 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--ink);
  font: 15.5px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--brand-2); outline-offset: 2px; border-radius: 10px; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- moldura do app ---------- */
.app {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
}
@media (min-width: 560px) {
  body { padding: 28px 16px; }
  .app { min-height: calc(100vh - 56px); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; }
}

/* ---------- cabeçalho ---------- */
.hero {
  position: relative;
  padding: 26px 22px 22px;
  color: #fff;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(195, 154, 91, .35), transparent 60%),
    linear-gradient(145deg, #5e2238 0%, #8e3b55 55%, #a9506f 100%);
}
.hero-top { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(255, 255, 255, .16);
  border: 1.5px solid rgba(255, 255, 255, .45);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .06);
}
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.01em; }
.hero p { margin: 3px 0 0; opacity: .85; font-size: .92rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hchip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22);
  font-size: .8rem; font-weight: 600; color: #fff; text-decoration: none;
}
.hchip svg.i { width: 15px; height: 15px; }

/* ---------- progresso ---------- */
.progresso { padding: 18px 22px 4px; }
.progresso-topo { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.progresso-topo b { font-size: 1.12rem; letter-spacing: -.01em; }
.progresso-topo span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.barras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.barras i { display: block; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.barras i.on { background: var(--brand); }

/* ---------- conteúdo ---------- */
.conteudo { flex: 1; padding: 14px 18px calc(var(--bar-h) + 28px); }
.tela { animation: entra .28s ease both; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.secao-titulo { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 4px 10px; }
.secao-titulo:first-child { margin-top: 6px; }

.demo {
  display: flex; gap: 8px; align-items: center;
  background: var(--warn-soft); color: var(--warn);
  border-radius: var(--radius-sm); padding: 10px 12px; font-size: .84rem; font-weight: 600; margin: 4px 0 6px;
}

/* serviços */
.servicos { display: grid; gap: 10px; }
.servico {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px 14px; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: border-color .15s, transform .15s, background .15s;
}
.servico:hover { border-color: var(--line-2); }
.servico:active { transform: scale(.99); }
.servico .ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.servico .ico svg.i { width: 22px; height: 22px; }
.servico .txt { flex: 1; min-width: 0; }
.servico .txt b { display: block; font-size: 1rem; font-weight: 700; }
.servico .txt small { display: flex; flex-wrap: wrap; gap: 2px 10px; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.servico .txt small span { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.servico .txt small svg.i { width: 14px; height: 14px; }
.servico .valor { font-weight: 800; font-size: 1rem; white-space: nowrap; }
.servico .check {
  width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2);
  display: grid; place-items: center; color: #fff; flex: 0 0 auto; transition: all .15s;
}
.servico .check svg.i { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.servico.sel { border-color: var(--brand); background: linear-gradient(0deg, var(--brand-soft), var(--brand-soft)) , var(--surface); }
.servico.sel .check { background: var(--brand); border-color: var(--brand); }
.servico.sel .check svg.i { opacity: 1; }

/* calendário */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 0 12px; }
.cal-topo { display: flex; justify-content: space-between; align-items: center; padding: 0 14px 10px; }
.cal-topo b { font-size: .98rem; }
.cal-setas { display: flex; gap: 6px; }
.seta { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); }
.seta:disabled { opacity: .35; cursor: default; }
.dias { position: relative; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; padding: 2px 14px 4px; scrollbar-width: none; }
.dias::-webkit-scrollbar { display: none; }
.dia {
  flex: 0 0 62px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 0 9px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface);
  transition: all .15s;
}
.dia small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.dia b { font-size: 1.3rem; line-height: 1.1; font-weight: 800; }
.dia i { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--ok); }
.dia.lotado { opacity: .45; cursor: default; }
.dia.lotado i { color: var(--muted); }
.dia.sel { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(142, 59, 85, .3); }
.dia.sel small, .dia.sel i { color: rgba(255, 255, 255, .85); }

.periodos { margin-top: 14px; display: grid; gap: 14px; }
.periodo-nome { display: flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; color: var(--ink-2); margin: 0 4px 8px; }
.periodo-nome svg.i { width: 16px; height: 16px; color: var(--gold); }
.horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hora {
  padding: 12px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 800; font-size: .98rem; letter-spacing: .01em; box-shadow: var(--shadow); transition: all .15s;
}
.hora:hover { border-color: var(--line-2); }
.hora.sel { background: var(--ink); color: #fff; border-color: var(--ink); }

.vazio-box { text-align: center; padding: 26px 18px; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.vazio-box b { display: block; color: var(--ink); margin-bottom: 4px; }
.vazio-box a { color: var(--brand); font-weight: 700; }

/* formulário */
.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-size: .84rem; font-weight: 700; color: var(--ink-2); margin: 0 4px 6px; }
.campo input, input.inp, select.inp {
  width: 100%; padding: 14px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.campo input:focus, input.inp:focus, select.inp:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(180, 88, 122, .14); }
.campo em { display: block; font-style: normal; font-size: .78rem; color: var(--muted); margin: 6px 4px 0; }
.campo.erro input { border-color: var(--bad); }

/* resumo / ticket */
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ticket-linha { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-size: .93rem; }
.ticket-linha + .ticket-linha { border-top: 1px solid var(--line); }
.ticket-linha span { color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.ticket-linha span svg.i { color: var(--brand); width: 17px; height: 17px; }
.ticket-linha b { text-align: right; }
.ticket-linha.destaque { background: var(--brand-soft); }
.ticket-linha.destaque b { color: var(--brand); font-size: 1.05rem; }
.ticket-corte { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 16px; }
.ticket-corte::before, .ticket-corte::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.ticket-corte::before { left: -27px; } .ticket-corte::after { right: -27px; }
.nota { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 12px; }
.nota svg.i { color: var(--brand); margin-top: 1px; }

/* pagamento */
.sucesso { text-align: center; padding: 6px 10px 18px; }
.sucesso .selo { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.sucesso .selo svg.i { width: 32px; height: 32px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.sucesso h2 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; margin: 0 0 4px; letter-spacing: -.01em; }
.sucesso p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.prazo { margin: 14px 0 4px; }
.prazo-topo { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.prazo-topo b { color: var(--warn); font-variant-numeric: tabular-nums; }
.prazo-barra { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.prazo-barra i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--warn)); border-radius: 6px; transition: width 1s linear; }
.pix { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; margin-top: 14px; text-align: center; }
.pix-valor small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pix-valor b { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.qr { width: 216px; height: 216px; margin: 12px auto 6px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.qr svg { width: 100%; height: 100%; display: block; }
.pix-dica { font-size: .82rem; color: var(--muted); margin: 6px 0 12px; }
.copia { display: flex; align-items: center; gap: 10px; text-align: left; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 14px; }
.copia code { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .74rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chave { font-size: .84rem; color: var(--ink-2); margin-top: 12px; }
.chave b { color: var(--ink); }
.passos { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.passos li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; color: var(--ink-2); }
.passos li b { color: var(--ink); display: block; }
.passos .n { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .82rem; display: grid; place-items: center; }
.expirado { text-align: center; padding: 18px; background: var(--bad-soft); color: var(--bad); border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; margin-top: 12px; }

/* botões */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  width: 100%; min-height: 52px; padding: 0 20px; border: 0; border-radius: 16px;
  background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; box-shadow: 0 10px 22px rgba(142, 59, 85, .28);
  transition: transform .12s, background .15s, box-shadow .15s, opacity .15s;
}
.btn:hover { background: #7d3249; }
.btn:active { transform: scale(.985); }
.btn:disabled { background: #cdb7bf; box-shadow: none; cursor: default; transform: none; }
.btn.zap { background: #1f9d55; box-shadow: 0 10px 22px rgba(31, 157, 85, .28); }
.btn.zap:hover { background: #198a4a; }
.btn.sec { background: var(--surface); color: var(--brand); border: 1.5px solid var(--line-2); box-shadow: none; }
.btn.sec:hover { background: var(--brand-soft); }
.btn.link { background: none; color: var(--ink-2); box-shadow: none; min-height: 44px; font-weight: 700; }
.btn.mini { white-space: nowrap; width: auto; min-height: 36px; padding: 0 13px; font-size: .84rem; border-radius: 11px; box-shadow: none; }
.btn.copiar { width: auto; min-height: 40px; padding: 0 14px; font-size: .86rem; border-radius: 11px; box-shadow: none; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: gira .7s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.mt { margin-top: 12px; }

/* barra inferior fixa */
.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.barra-in { max-width: 444px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.barra-resumo { flex: 1; min-width: 0; line-height: 1.25; }
.barra-resumo small { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-resumo b { font-size: 1.05rem; }
.barra .btn { width: auto; flex: 0 0 auto; min-width: 150px; }
.barra .btn.zap { flex: 1; }
.voltar { width: 48px; height: 52px; flex: 0 0 48px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); }
@media (min-width: 560px) {
  .barra { position: sticky; bottom: 0; margin-top: auto; }
  .conteudo { padding-bottom: 28px; }
}

/* rodapé */
.rodape { text-align: center; font-size: .8rem; color: var(--muted); padding: 4px 18px 18px; }
.rodape a { color: var(--ink-2); font-weight: 700; text-decoration: none; }

/* skeleton */
.sk { position: relative; overflow: hidden; background: #ece4e0; border-radius: var(--radius); }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: brilho 1.2s infinite; }
@keyframes brilho { to { transform: translateX(100%); } }
.sk-servico { height: 74px; margin-bottom: 10px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 18px); z-index: 50;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 14px; font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: all .25s; max-width: calc(100% - 36px); text-align: center;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.toast.erro { background: var(--bad); }

/* =====================================================================
   Painel da Pamela
   ===================================================================== */
.painel-app { max-width: 760px; }
.appbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; color: #fff;
  background: linear-gradient(145deg, #5e2238 0%, #8e3b55 60%, #a9506f 100%); }
.appbar .marca { display: flex; align-items: center; gap: 12px; }
.appbar .avatar { width: 44px; height: 44px; font-size: 1.05rem; }
.appbar h1 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.appbar p { margin: 0; font-size: .8rem; opacity: .8; }
.appbar .btn.mini { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.painel-corpo { padding: 16px 18px 40px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 5px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 9px 6px; border: 0; border-radius: 12px; background: none; font-weight: 700; font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
.tab.sel { background: var(--brand); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 4px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); }
.stat small { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat b { font-size: 1.45rem; font-weight: 800; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-top: 14px; }
.card h2 { font-size: 1.02rem; margin: 0 0 4px; }
.aviso { color: var(--muted); font-size: .86rem; margin: 0 0 10px; }
.dia-titulo { font-weight: 800; font-size: .9rem; margin: 22px 4px 8px; text-transform: capitalize; color: var(--ink-2); }
.res { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 8px; box-shadow: var(--shadow); }
.res .hora-col { flex: 0 0 56px; text-align: center; border-right: 1px solid var(--line); padding-right: 12px; }
.res .hora-col b { display: block; font-size: 1.1rem; font-weight: 800; }
.res .hora-col small { font-size: .72rem; color: var(--muted); }
.res .info { flex: 1; min-width: 0; }
.res .linha { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.res .linha b { font-size: .98rem; }
.res .sub { font-size: .84rem; color: var(--ink-2); margin-top: 2px; }
.res .acoes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-size: .72rem; padding: 3px 9px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.tag.aguardando_sinal { background: var(--warn-soft); color: var(--warn); }
.tag.confirmado { background: var(--ok-soft); color: var(--ok); }
.tag.cancelado { background: var(--bad-soft); color: var(--bad); }
.tag.concluido { background: #e9e6f5; color: #4b4590; }
.tag.expirada { background: #eeeaea; color: #7a7272; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lista-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .88rem; }
.chip button { border: 0; background: #fff; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; color: var(--bad); font-weight: 800; }
.erro { color: var(--bad); font-size: .86rem; margin-top: 8px; min-height: 1em; }
.vazio { color: var(--muted); font-size: .9rem; margin: 10px 4px; }
label.rot { display: block; font-size: .84rem; font-weight: 700; color: var(--ink-2); margin: 12px 4px 6px; }
.login-box { max-width: 380px; margin: 40px auto; }

.dica { display: flex; gap: 8px; align-items: center; font-size: .84rem; font-weight: 600; color: var(--ink-2); margin: 2px 4px 4px; }
.dica svg.i { color: var(--brand); width: 16px; height: 16px; }

/* janela de pergunta */
.modal-fundo { position: fixed; inset: 0; z-index: 60; background: rgba(36, 26, 30, .45); display: flex; align-items: flex-end; justify-content: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.modal-fundo.on { opacity: 1; }
.modal { width: 100%; max-width: 440px; background: var(--surface); border-radius: 24px; padding: 22px 18px 10px; box-shadow: var(--shadow-lg); transform: translateY(24px); transition: transform .25s; }
.modal-fundo.on .modal { transform: none; }
@media (min-width: 560px) { .modal-fundo { align-items: center; } }
.modal h3 { margin: 0 4px 4px; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.modal p { margin: 0 4px 14px; color: var(--ink-2); font-size: .92rem; }
.modal-opcoes { display: grid; gap: 10px; }
.modal-opcao { text-align: left; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); transition: all .15s; }
.modal-opcao:hover, .modal-opcao:focus-visible { border-color: var(--brand); background: var(--brand-soft); }
.modal-opcao b { display: block; font-size: 1rem; }
.modal-opcao small { color: var(--muted); font-size: .84rem; }

/* expediente no painel */
.exp-linha { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.exp-linha .exp-dia { grid-column: 1 / -1; }
.exp-linha:last-child { border-bottom: 0; }
.exp-linha .inp { width: 100%; min-width: 0; padding: 10px 12px; }
.exp-dia { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.exp-dia input { width: 20px; height: 20px; accent-color: var(--brand); }
.exp-ate { color: var(--muted); font-size: .84rem; }
.exp-linha.off .inp, .exp-linha.off .exp-ate { opacity: .35; pointer-events: none; }
