/*
 * Painel «Agenda» do negócio — o desenho (maqueta F0 aprovada a 30-10-2026).
 * Prefixo `.spa-`. Uma aplicação inteira (PWA), não um widget dentro de um site:
 * aqui pode mandar no `body`.
 */
:root {
	--spa-cor: #1F6B57; --spa-sobre: #fff;
	--spa-tinta: #17201C; --spa-suave: #3F4A45; --spa-cinza: #5B6661; --spa-linha: #E8EBE6;
	--spa-grelha: #EEF0EC; --spa-fundo: #F4F5F2; --spa-cartao: #fff; --spa-tom: #F1F4F0;
	--spa-trilho: #17201C; --spa-agora: #C2412D; --spa-erro: #A23B2A; --spa-hora: 64px;
}
@media (prefers-color-scheme: dark) {
	:root {
		--spa-tinta: #ECEFEA; --spa-suave: #C7CEC9; --spa-cinza: #A3ADA7; --spa-linha: #2E3632;
		--spa-grelha: #262D29; --spa-fundo: #101412; --spa-cartao: #181D1A; --spa-tom: #202723;
		--spa-trilho: #0B0E0C; --spa-erro: #F09A88;
	}
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--spa-fundo); color: var(--spa-tinta); }
body { font: 400 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--spa-cor); outline-offset: 2px; }
.spa-esc { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── entrada ───────────────────────────────────────────────────────────── */
.spa-entrada { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.spa-entrada form { width: 100%; max-width: 380px; background: var(--spa-cartao); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.spa-entrada h1 { margin: 0; font-size: 22px; }
.spa-entrada p { margin: 0; color: var(--spa-cinza); }
.spa-campo { display: flex; flex-direction: column; gap: 6px; }
.spa-campo label { font-weight: 600; font-size: 13px; }
.spa-campo input, .spa-campo select, .spa-campo textarea { height: 44px; border: 1px solid #D5DAD3; border-radius: 12px; padding: 0 12px; background: var(--spa-cartao); width: 100%; }
.spa-campo textarea { height: 72px; padding: 10px 12px; resize: vertical; }
.spa-botao { height: 44px; border: 0; border-radius: 12px; background: var(--spa-cor); color: var(--spa-sobre); font-weight: 600; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.spa-botao:disabled { opacity: .5; cursor: not-allowed; }
.spa-contorno { height: 44px; border: 1px solid #D5DAD3; border-radius: 12px; background: var(--spa-cartao); font-weight: 600; padding: 0 14px; }
a.spa-contorno { color: var(--spa-tinta); text-decoration: none; }
.spa-contorno.spa-perigo { color: var(--spa-erro); }
.spa-erro { background: #FBEAE6; color: #8F2B1C; border-radius: 10px; padding: 10px 12px; font-size: 13px; }

/* ── moldura ───────────────────────────────────────────────────────────── */
.spa-app { display: flex; min-height: 100vh; }
.spa-trilho { width: 72px; flex: none; background: var(--spa-trilho); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 0; position: sticky; top: 0; height: 100vh; }
.spa-marca { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--spa-sobre); background: var(--spa-cor); margin-bottom: 14px; overflow: hidden; }
.spa-marca img { width: 100%; height: 100%; object-fit: cover; }
.spa-trilho button { width: 48px; height: 48px; border: 0; border-radius: 12px; background: none; color: #B9C2BD; display: flex; align-items: center; justify-content: center; }
.spa-trilho button[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.spa-trilho .spa-mola { flex: 1; }
.spa-main { flex: 1; min-width: 0; padding: 20px 28px 32px; display: flex; flex-direction: column; gap: 16px; }

.spa-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.spa-titulo { margin-right: auto; display: flex; flex-direction: column; gap: 2px; }
.spa-titulo small { color: var(--spa-cinza); font-size: 13px; }
.spa-titulo h1 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.spa-nav { display: flex; gap: 4px; }
.spa-nav button { height: 40px; min-width: 40px; border: 1px solid #DDE1DB; background: var(--spa-cartao); border-radius: 10px; font-weight: 600; padding: 0 12px; display: flex; align-items: center; justify-content: center; }
.spa-seg { display: inline-flex; background: #E7EAE5; border-radius: 12px; padding: 4px; }
.spa-seg button { height: 34px; border: 0; border-radius: 9px; padding: 0 14px; font-weight: 600; background: transparent; color: var(--spa-cinza); }
.spa-seg button[aria-pressed="true"] { background: var(--spa-cartao); color: var(--spa-tinta); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
@media (prefers-color-scheme: dark) { .spa-seg { background: #232A26; } .spa-nav button, .spa-contorno, .spa-campo input, .spa-campo select, .spa-campo textarea { border-color: #36403B; } }
.spa-filtro { height: 40px; border: 1px solid #DDE1DB; border-radius: 10px; background: var(--spa-cartao); padding: 0 10px; }

.spa-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.spa-kpi { background: var(--spa-cartao); border-radius: 16px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.spa-kpi span { color: var(--spa-cinza); font-size: 13px; }
.spa-kpi b { font-size: 22px; letter-spacing: -.01em; }
.spa-kpi small { color: var(--spa-cinza); font-size: 12px; }

/* ── a grelha ──────────────────────────────────────────────────────────── */
.spa-caixa { background: var(--spa-cartao); border-radius: 20px; overflow: auto; box-shadow: 0 1px 2px rgba(23,32,28,.05); max-height: calc(100vh - 240px); }
.spa-grelha { display: grid; position: relative; }
.spa-cab { position: sticky; top: 0; z-index: 3; background: var(--spa-cartao); border-bottom: 1px solid var(--spa-linha); border-left: 1px solid var(--spa-grelha); height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.spa-cab:first-child { border-left: 0; position: sticky; left: 0; z-index: 4; }
.spa-cab b { display: block; font-size: 14px; white-space: nowrap; }
.spa-cab small { display: block; color: var(--spa-cinza); font-size: 12px; white-space: nowrap; }
.spa-av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: #DDE7E1; color: #17201C; overflow: hidden; }
.spa-av img { width: 100%; height: 100%; object-fit: cover; }
.spa-av.spa-quadrado { border-radius: 10px; background: var(--spa-tom); color: var(--spa-tinta); }
.spa-horas { position: sticky; left: 0; z-index: 2; background: var(--spa-cartao); }
.spa-horas span { position: absolute; right: 10px; font-size: 12px; color: var(--spa-cinza); transform: translateY(-50%); }
.spa-col { position: relative; border-left: 1px solid var(--spa-grelha); background-image: repeating-linear-gradient(to bottom, var(--spa-grelha) 0, var(--spa-grelha) 1px, transparent 1px, transparent var(--spa-hora)); cursor: copy; }
.spa-fora { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, rgba(120,130,125,.06) 0 6px, rgba(120,130,125,.12) 6px 12px); pointer-events: none; }
.spa-bloq { position: absolute; left: 4px; right: 6px; border-radius: 10px; background: repeating-linear-gradient(135deg, var(--spa-tom) 0 6px, var(--spa-linha) 6px 12px); padding: 5px 8px; font-size: 12px; font-weight: 600; color: var(--spa-cinza); cursor: pointer; overflow: hidden; border: 0; text-align: left; }
.spa-limpeza { position: absolute; left: 4px; right: 6px; border-radius: 6px; background: repeating-linear-gradient(135deg, var(--spa-tom) 0 4px, var(--spa-linha) 4px 8px); pointer-events: none; }
.spa-agora { position: absolute; left: 0; right: 0; height: 2px; background: var(--spa-agora); z-index: 2; pointer-events: none; }
.spa-agora::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--spa-agora); }

.spa-bloco { position: absolute; left: 4px; right: 6px; border: 0; border-radius: 10px; padding: 5px 8px 5px 11px; text-align: left; display: flex; flex-direction: column; gap: 2px; overflow: hidden; color: #17201C; cursor: grab; touch-action: none; user-select: none; transition: box-shadow .15s, opacity .15s; }
.spa-bloco b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spa-bloco .spa-l2 { font-size: 12px; color: #3F4A45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spa-bloco .spa-h { font-size: 11px; color: #3F4A45; white-space: nowrap; flex: none; }
.spa-bloco > span:first-child b { min-width: 0; flex: 1; }
.spa-bloco.spa-feita { opacity: .55; }
.spa-bloco.spa-nova { box-shadow: 0 0 0 2px var(--spa-cor), 0 6px 18px rgba(0,0,0,.12); }
.spa-bloco.spa-arrasta { cursor: grabbing; opacity: .9; box-shadow: 0 12px 28px rgba(0,0,0,.22); z-index: 10; }
.spa-bloco.spa-pendente { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.0) 0 8px, rgba(255,255,255,.55) 8px 16px) !important; }
.spa-marcas { display: flex; gap: 4px; flex-wrap: wrap; }
.spa-marca-t { font-size: 11px; font-weight: 600; border-radius: 6px; padding: 0 6px; background: rgba(255,255,255,.72); color: #17201C; }
.spa-marca-t.spa-mau { background: #FBE3DE; color: #8F2B1C; }
.spa-fantasma { position: absolute; left: 4px; right: 6px; border-radius: 10px; border: 2px dashed var(--spa-cor); pointer-events: none; z-index: 9; }

/* semana: dias em coluna */
.spa-semana-cab { text-align: center; justify-content: center; flex-direction: column; gap: 0; }

/* lista */
.spa-lista { background: var(--spa-cartao); border-radius: 20px; overflow: hidden; }
.spa-lista-dia { padding: 10px 18px; font-weight: 700; background: var(--spa-tom); font-size: 13px; }
.spa-lista button { width: 100%; display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; border: 0; border-top: 1px solid var(--spa-linha); background: none; text-align: left; }
.spa-lista button small { color: var(--spa-cinza); display: block; }
.spa-vazio { padding: 32px; text-align: center; color: var(--spa-cinza); }

/* ── gaveta ───────────────────────────────────────────────────────────── */
.spa-veu { position: fixed; inset: 0; background: rgba(23,32,28,.28); z-index: 50; }
.spa-gaveta { position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100%; background: var(--spa-cartao); z-index: 51; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.16); animation: spa-entra .18s ease-out; }
@keyframes spa-entra { from { transform: translateX(24px); opacity: 0; } }
.spa-gaveta header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--spa-linha); }
.spa-gaveta header h2 { margin: 0; font-size: 18px; }
.spa-gaveta .spa-fechar { width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; display: flex; align-items: center; justify-content: center; }
.spa-gaveta .spa-corpo { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.spa-ficha { display: flex; gap: 14px; align-items: center; }
.spa-ficha .spa-av { width: 52px; height: 52px; font-size: 17px; }
.spa-ficha b { font-size: 18px; display: block; }
.spa-ficha small { color: var(--spa-cinza); }
.spa-dados { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; background: var(--spa-tom); border-radius: 14px; padding: 14px 16px; }
.spa-dados span { display: flex; flex-direction: column; gap: 1px; }
.spa-dados small { color: var(--spa-cinza); font-size: 12px; }
.spa-dados b { font-size: 14px; }
.spa-accoes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.spa-accoes .spa-botao, .spa-accoes .spa-contorno { height: 44px; padding: 0 8px; font-size: 14px; }
.spa-nota { font-size: 12px; color: var(--spa-cinza); }
.spa-sugestoes { display: flex; flex-direction: column; border: 1px solid var(--spa-linha); border-radius: 12px; overflow: hidden; }
.spa-sugestoes button { border: 0; border-bottom: 1px solid var(--spa-linha); background: var(--spa-cartao); padding: 10px 12px; text-align: left; }
.spa-sugestoes button:last-child { border-bottom: 0; }
.spa-sugestoes small { color: var(--spa-cinza); }

/* ── aviso ─────────────────────────────────────────────────────────────── */
.spa-avisos { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; max-width: calc(100% - 32px); }
.spa-aviso { background: #17201C; color: #fff; border-radius: 14px; padding: 12px 12px 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: spa-sobe .2s ease-out; }
.spa-aviso.spa-mau { background: #8F2B1C; }
.spa-aviso button { border: 0; background: rgba(255,255,255,.14); color: #fff; border-radius: 10px; padding: 6px 10px; font-weight: 600; }
@keyframes spa-sobe { from { transform: translateY(12px); opacity: 0; } }
.spa-atalhos { color: var(--spa-cinza); font-size: 12px; }

@media (max-width: 760px) {
	.spa-app { flex-direction: column; }
	.spa-trilho { width: 100%; height: auto; position: static; flex-direction: row; padding: 8px 12px; overflow-x: auto; }
	.spa-marca { margin: 0 8px 0 0; }
	.spa-trilho .spa-mola { display: none; }
	.spa-main { padding: 14px 12px 24px; }
	.spa-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.spa-caixa { max-height: none; }
	.spa-atalhos { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ── assistente de configuração ────────────────────────────────────────── */
.spa-cfg { display: grid; grid-template-columns: 220px minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.spa-cfg-passos { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 16px; }
.spa-cfg-passos button { display: flex; align-items: center; gap: 10px; border: 0; background: none; border-radius: 12px; padding: 10px 12px; text-align: left; font-weight: 500; color: var(--spa-suave); }
.spa-cfg-passos button[aria-current="step"] { background: var(--spa-cartao); color: var(--spa-tinta); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.spa-cfg-n { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: var(--spa-linha); color: var(--spa-cinza); flex: none; }
.spa-cfg-passos .spa-cfg-feito .spa-cfg-n, .spa-cfg-passos button[aria-current="step"] .spa-cfg-n { background: var(--spa-cor); color: var(--spa-sobre); }
.spa-cfg-meio { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.spa-cfg-corpo { background: var(--spa-cartao); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.spa-cfg-corpo h2 { margin: 8px 0 0; font-size: 18px; }
.spa-cfg-corpo h2:first-child { margin-top: 0; }
.spa-cfg-corpo h3 { margin: 6px 0 0; font-size: 14px; color: var(--spa-suave); }
.spa-cfg-grelha { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; }
.spa-cfg-rodape { display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: 0; padding: 10px 0; background: linear-gradient(to top, var(--spa-fundo) 70%, transparent); }
.spa-cfg-caixa { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.spa-cfg-caixa input { width: 18px; height: 18px; accent-color: var(--spa-cor); margin: 0; }
.spa-cfg-mais { border: 0; background: none; color: var(--spa-cor); font-weight: 600; padding: 6px 0; align-self: flex-start; }
.spa-cfg-x { border: 0; background: none; width: 34px; height: 34px; border-radius: 8px; color: var(--spa-cinza); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.spa-cfg-x:hover { background: var(--spa-tom); color: var(--spa-erro); }
.spa-cfg-horario { display: flex; flex-direction: column; gap: 6px; }
.spa-cfg-dia { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: center; min-height: 40px; }
.spa-cfg-faixas { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spa-cfg-faixa { display: inline-flex; align-items: center; gap: 4px; background: var(--spa-tom); border-radius: 10px; padding: 3px 4px 3px 8px; }
.spa-cfg-faixa input { border: 0; background: transparent; height: 32px; width: 92px; }
.spa-cfg-linha-acoes { display: flex; gap: 16px; flex-wrap: wrap; }
.spa-cfg-cores { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spa-cfg-cores button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.spa-cfg-cores button[aria-checked="true"] { border-color: var(--spa-tinta); }
.spa-cfg-cores input[type="color"] { width: 36px; height: 34px; border: 0; background: none; padding: 0; }
.spa-cfg-cartao { border: 1px solid var(--spa-linha); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; }
.spa-cfg-cartao + .spa-cfg-cartao { margin-top: 10px; }
.spa-cfg-cartao-cab { display: flex; align-items: center; gap: 10px; }
.spa-cfg-cartao-cab b { white-space: nowrap; }
.spa-cfg-cartao-cab small { color: var(--spa-cinza); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spa-cfg-estado { margin-left: auto; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 2px 8px; background: var(--spa-tom); color: var(--spa-suave); }
.spa-cfg-linha { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spa-cfg-linha input[type="text"], .spa-cfg-linha input[type="email"], .spa-cfg-linha select, .spa-cfg-var input[type="text"] { height: 40px; border: 1px solid #D5DAD3; border-radius: 10px; padding: 0 10px; background: var(--spa-cartao); flex: 1; min-width: 140px; }
.spa-cfg-num { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--spa-cinza); }
.spa-cfg-num input { width: 76px; height: 40px; border: 1px solid #D5DAD3; border-radius: 10px; padding: 0 8px; background: var(--spa-cartao); color: var(--spa-tinta); }
.spa-cfg-escolhas { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.spa-cfg-servico { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--spa-linha); padding-top: 12px; }
.spa-cfg-variantes { display: flex; flex-direction: column; gap: 6px; }
.spa-cfg-var-cab, .spa-cfg-var { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr) 110px 34px; gap: 8px; align-items: start; }
.spa-cfg-var-cab { font-size: 12px; color: var(--spa-cinza); font-weight: 600; }
.spa-cfg-setor { margin-bottom: 16px; background: color-mix(in srgb, var(--spa-cor) 5%, transparent); }
.spa-cfg-setor summary { cursor: pointer; list-style-position: inside; }
.spa-cfg-setor .spa-seg { flex-wrap: wrap; }
.spa-cfg-segs { display: flex; flex-direction: column; gap: 6px; }
.spa-cfg-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--spa-tom); border-radius: 10px; padding: 6px 8px; }
.spa-cfg-frase { background: var(--spa-tom); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.spa-cfg-previsao { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; }
.spa-cfg-legenda { font-size: 13px; font-weight: 600; color: var(--spa-cinza); display: flex; justify-content: space-between; align-items: center; }
.spa-cfg-telemovel { width: 100%; max-width: 360px; height: 640px; border-radius: 36px; border: 10px solid #17201C; overflow: hidden; background: #F4F5F2; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.spa-cfg-telemovel iframe { width: 100%; height: 100%; border: 0; display: block; }
.spa-cfg-wa { background: #ECE5DD; display: flex; flex-direction: column; gap: 10px; padding: 0 12px 16px; }
.spa-cfg-wa-topo { background: #075E54; color: #fff; font-weight: 600; margin: 0 -12px 8px; padding: 18px 16px 12px; }
.spa-cfg-balao { align-self: flex-start; max-width: 88%; background: #fff; color: #111; border-radius: 0 12px 12px 12px; padding: 8px 10px; font-size: 13px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.1); display: flex; flex-direction: column; gap: 2px; }
.spa-cfg-balao b { font-size: 12px; color: #075E54; }
@media (max-width: 1180px) { .spa-cfg { grid-template-columns: 200px minmax(0, 1fr); } .spa-cfg-previsao { display: none; } }
@media (max-width: 760px) {
	.spa-cfg { grid-template-columns: 1fr; }
	.spa-cfg-passos { position: static; flex-direction: row; overflow-x: auto; }
	.spa-cfg-passos button span:last-child { white-space: nowrap; }
	.spa-cfg-corpo { padding: 16px; }
	.spa-cfg-dia { grid-template-columns: 1fr; }
	.spa-cfg-var-cab { display: none; }
	.spa-cfg-var { grid-template-columns: 1fr 1fr; }
}

.spa-cfg-codigo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--spa-tom); border-radius: 10px; padding: 8px 12px; }
.spa-cfg-codigo small { color: var(--spa-cinza); font-weight: 600; min-width: 140px; }
.spa-cfg-codigo code { flex: 1; min-width: 0; word-break: break-all; font-size: 12px; }
.spa-cfg-codigo + .spa-cfg-codigo { margin-top: 8px; }
.spa-cfg-bloco { white-space: pre-wrap; }
.spa-cfg-pag { display: flex; flex-direction: column; gap: 12px; }
.spa-pagamentos { display: flex; flex-direction: column; gap: 6px; }
.spa-pag-linha { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; background: var(--spa-tom); border-radius: 10px; padding: 8px 12px; }
.spa-pag-linha small { color: var(--spa-cinza); }
.spa-cfg-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* booking.<domínio> — escolher o negócio (O2) */
.spa-escolher { width: 100%; max-width: 440px; background: var(--spa-cartao); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.spa-escolher h1 { margin: 0; font-size: 22px; }
.spa-escolher p:empty { display: none; }
.spa-negocios { display: flex; flex-direction: column; gap: 8px; }
.spa-negocio { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--spa-linha, #E4E7E2); border-radius: 14px; text-decoration: none; color: inherit; }
.spa-negocio:hover, .spa-negocio:focus-visible { border-color: var(--spa-cor); }
.spa-negocio .spa-marca { flex: none; margin-bottom: 0; }
.spa-negocio b { display: block; }
.spa-negocio small { color: var(--spa-cinza); }
.spa-ligacao { background: none; border: 0; padding: 0; color: var(--spa-cinza); text-decoration: underline; cursor: pointer; align-self: flex-start; font: inherit; font-size: 14px; }
.spa-trilho-ligacao { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #B9C2BD; }
.spa-trilho-ligacao:hover { color: #fff; }
