* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; margin: 0; background: #f2f4f7; color: #1d2433; }
header { background: #1d2433; color: #fff; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
header h1 { margin: 0; font-size: 1.25rem; }
header h1 a { color: inherit; text-decoration: none; }
nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
nav a, nav button { color: #cfd6e4; text-decoration: none; padding: 7px 11px; border-radius: 6px; background: none; border: 0; font: inherit; cursor: pointer; }
nav a:hover, nav button:hover, nav a.atual { background: #2c3550; color: #fff; }
nav a.destaque { background: #2f6fed; color: #fff; }
nav form { margin: 0; }
main { max-width: 1000px; margin: 0 auto; padding: 24px 16px; }
main.estreito { max-width: 420px; padding-top: 60px; }
section { background: #fff; border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
h2 { margin-top: 0; font-size: 1.1rem; }
label { font-size: .85rem; color: #555; display: block; margin-bottom: 4px; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=email], input[type=time], select { padding: 8px; border: 1px solid #ccd; border-radius: 6px; width: 100%; font: inherit; }
button, .botao { display: inline-block; text-decoration: none; white-space: nowrap; padding: 8px 14px; border: 0; border-radius: 6px; background: #2f6fed; color: #fff; cursor: pointer; font: inherit; }
button:disabled { opacity: .45; cursor: default; }
button.secundario, .botao.secundario { background: #e3e7ef; color: #1d2433; }
button.perigo { background: #d93b3b; }
.campo { margin-bottom: 14px; }
.linha { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.linha > div { flex: 1 1 140px; min-width: 0; }
.linha > .fixo { flex: 0 0 auto; }
.item { display: grid; grid-template-columns: 140px 1fr; gap: 16px; border-top: 1px solid #eee; padding: 16px 0; }
.item:first-of-type { border-top: 0; }
.miniatura { width: 140px; height: 80px; object-fit: cover; border-radius: 6px; background: #000; }
.acoes { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.acoes form { margin: 0; }
.selo { font-size: .75rem; padding: 2px 8px; border-radius: 10px; background: #e3e7ef; }
.selo.no-ar { background: #d6f5df; color: #17682f; }
.selo.fora { background: #fde2e2; color: #9b1c1c; }
.dica { color: #777; font-size: .9rem; }
.aviso { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.aviso.ok { background: #d6f5df; color: #17682f; }
.aviso.erro { background: #fde2e2; color: #9b1c1c; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid #eee; }
td form { margin: 0; }
input[type=file] { max-width: 100%; }
@media (max-width: 600px) {
  .item { grid-template-columns: 1fr; }
  header { padding: 12px 16px; }
  /* No celular, cada campo ocupa a linha inteira. */
  .linha > div { flex-basis: 100% !important; }
  .linha > .fixo { flex-basis: auto !important; }
}
details { margin-top: 10px; border: 1px solid #e6e9f0; border-radius: 8px; padding: 8px 12px; }
details summary { cursor: pointer; color: #2f6fed; font-size: .9rem; }
.opcoes { display: flex; gap: 4px 14px; flex-wrap: wrap; margin: 6px 0 10px; }
.opcoes label { display: inline-flex; gap: 5px; align-items: center; color: #1d2433; font-size: .9rem; margin: 0; }
.resumo { font-size: .85rem; color: #555; margin-top: 4px; }
.selo.alerta { background: #fff1d6; color: #8a5300; }
.cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.cartao { background: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.cartao .valor { font-size: 1.6rem; font-weight: 600; }
.cartao .rotulo { color: #666; font-size: .85rem; }
.endereco { font-family: ui-monospace, monospace; font-size: .85rem; background: #f2f4f7; padding: 6px 8px; border-radius: 6px; word-break: break-all; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #aab; }
.status.online::before { background: #22a447; }
.status.offline::before { background: #d93b3b; }
.tela { border-top: 1px solid #eee; padding: 16px 0; }
.tela:first-of-type { border-top: 0; }
.numero { text-align: right; font-variant-numeric: tabular-nums; }
.tabela-rolagem { overflow-x: auto; }
.empresa-atual { font-size: .8rem; font-weight: 400; color: #aab3c5; margin-left: 10px; }
main.medio { max-width: 720px; }
footer { text-align: center; padding: 10px 16px 30px; font-size: .85rem; }
footer a { color: #6b7385; }
.passos { padding-left: 20px; line-height: 1.6; }
.qr-2fa { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.qr-2fa img { background: #fff; border: 1px solid #e6e9f0; border-radius: 8px; }
.qr-2fa > div { flex: 1; min-width: 240px; }
.uso { height: 8px; background: #e6e9f0; border-radius: 4px; overflow: hidden; margin: 4px 0 2px; }
.uso > span { display: block; height: 100%; background: #2f6fed; }
.uso.cheio > span { background: #d93b3b; }
.legal { line-height: 1.6; }
.legal h2 { margin-top: 1.4em; }
.aviso.modelo { background: #fff1d6; color: #8a5300; }
/* Plataforma: página pública, planos e início da loja */
.vitrine h2 { font-size: 1.4rem; }
.modulos-vitrine, .modulos-conta { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 20px; }
.modulos-vitrine section, .modulos-conta section { margin: 0; }
.modulo.assinado { border-top: 4px solid #22a447; }
.planos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 12px 0; }
.plano { border: 2px solid #e3e7ef; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.plano.atual { border-color: #22a447; }
.plano h3 { margin: 0; }
.plano ul, section > ul { padding-left: 0; list-style: none; margin: 4px 0 8px; }
.plano ul { flex: 1; }
.preco { font-size: 1.6rem; font-weight: 700; }
.preco span { font-size: .9rem; font-weight: 400; color: #6b7385; }
.bloqueado { text-align: center; }
label.marcar { display: flex; gap: 8px; align-items: flex-start; color: #1d2433; font-size: .9rem; margin: 6px 0 14px; }
.permissao-extra { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
