/* Kit de MVP (S65). Troque só as variáveis do :root (a cor vem do produto.json no montar). */
:root { --cor: #7a2e5c; --texto: #1b1f24; --fraco: #5a6270; --fundo: #ffffff; --linha: #d8dde3; --erro: #b3261e; }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texto); background: var(--fundo); }
header, main, footer { max-width: 40rem; margin: 0 auto; padding: 1rem; }
header a { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; font-weight: 700; color: var(--texto); text-decoration: none; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: .5rem 0 1rem; }
h2 { font-size: 1.2rem; margin-top: 2rem; }
a { color: var(--cor); }
.frase { font-size: 1.15rem; }
.nota { color: var(--fraco); font-size: .95rem; }
label { display: block; margin: .8rem 0 .25rem; font-weight: 600; }
input { width: 100%; font: inherit; padding: .7rem; border: 1px solid var(--linha); border-radius: .5rem; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--cor); outline-offset: 2px; }
.botao, button { display: inline-block; font: inherit; font-weight: 600; min-height: 48px; padding: .7rem 1.2rem; margin: .8rem .4rem 0 0;
  border: 2px solid var(--cor); border-radius: .5rem; background: var(--cor); color: #fff; text-decoration: none; cursor: pointer; }
.contorno { background: transparent; color: var(--cor); }
.pequeno { min-height: 44px; padding: .3rem .8rem; margin: 0; }
.perigo { background: var(--erro); border-color: var(--erro); }
.lista { list-style: none; padding: 0; }
.lista li { display: flex; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--linha); }
.lista span { flex: 1; overflow-wrap: anywhere; }
.total { font-size: 1.1rem; }
.aviso { min-height: 1.5em; font-weight: 600; }
.aviso.erro { color: var(--erro); }
.fundador { margin-top: 2rem; padding: 1rem; border: 2px dashed var(--cor); border-radius: .75rem; }
.codigo { font: 700 1.2rem ui-monospace, Menlo, monospace; letter-spacing: .05em; overflow-wrap: anywhere; }
body[data-modo="servidor"] [data-modo-texto="aparelho"] { display: none; }
details { margin-top: 1rem; }
summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; color: var(--erro); font-weight: 600; }
footer { display: flex; gap: 1.2rem; flex-wrap: wrap; border-top: 1px solid var(--linha); margin-top: 2rem; }
footer a { min-height: 48px; display: inline-flex; align-items: center; }
.voltar { display: inline-flex; align-items: center; min-height: 44px; }  /* link sozinho numa linha: alvo de toque de 44 px */
.texto { overflow-wrap: break-word; overflow-wrap: anywhere; }
.texto table { border-collapse: collapse; width: 100%; }
.texto th, .texto td { border: 1px solid var(--linha); padding: .4rem; text-align: left; overflow-wrap: anywhere; }
.tabela { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f4f6f8; padding: .8rem; border-radius: .5rem; }
.faixa { background: #fff6d6; border: 1px solid #e5c75c; padding: .6rem .8rem; border-radius: .5rem; }
/* Cliente Marca (S79) */
fieldset { border: 1px solid var(--linha); border-radius: .75rem; margin: 1rem 0; padding: .4rem 1rem 1rem; }
legend { font-weight: 700; padding: 0 .3rem; }
select { width: 100%; font: inherit; padding: .7rem; border: 1px solid var(--linha); border-radius: .5rem; background: #fff; }
.opcao { display: inline-flex; gap: .4rem; align-items: center; min-height: 48px; margin: 0 1rem 0 0; font-weight: 400; }
.opcao input, .dias input { width: auto; min-width: 24px; min-height: 24px; }
.opcao.bloco { display: flex; }
.lado { display: flex; gap: .6rem; align-items: end; }
.lado > * { flex: 1; }
.servicos { padding-left: 1.2rem; }
.servicos li { margin: .6rem 0 1rem; }
.servicos .lado { margin-top: .4rem; }
.horarios { display: flex; flex-wrap: wrap; gap: .5rem; }
.horarios .horario { margin: 0; min-width: 5.5rem; }
.horario[aria-pressed="true"] { background: var(--cor); color: #fff; }
.agenda li { flex-wrap: wrap; }
.acoes { display: flex; gap: .5rem; flex-wrap: wrap; }
.acoes .botao, .acoes button { margin: 0; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
textarea { width: 100%; font: inherit; padding: .7rem; border: 1px solid var(--linha); border-radius: .5rem; }
