* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; margin: 0; background: #f4f5f7; color: #1f2430; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: #1f2430; color: #fff; }
.topbar h1 { font-size: 18px; margin: 0; }
.link-muted { color: #9aa4b2; text-decoration: none; }
main { max-width: 1100px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.card { background: #fff; border-radius: 8px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card h2 { margin-top: 0; font-size: 16px; }
.row-form { display: flex; gap: 8px; }
input[type=url], input[type=text], input[type=number], input[type=password], textarea {
  padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; width: 100%;
}
button { padding: 8px 14px; border: none; border-radius: 6px; background: #2b6cb0; color: #fff; cursor: pointer; font-size: 14px; }
button:hover { background: #234e8a; }
.error { color: #c0392b; }
.hint { color: #6b7280; font-size: 13px; }
.resumen-lista { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 6px; }
.table-actions { display: flex; gap: 8px; margin-bottom: 10px; }
.table-wrap { overflow-x: auto; }
.tabla-productos { width: 100%; border-collapse: collapse; font-size: 13px; }
.tabla-productos th, .tabla-productos td { padding: 8px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
.thumb { width: 48px; height: 48px; object-fit: contain; }
.fila-excluida { opacity: .4; }
.config-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.config-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.token-box { display: flex; align-items: end; gap: 10px; border-top: 1px solid #eee; padding-top: 14px; }
.token-box label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.login-page { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-box { display: flex; flex-direction: column; gap: 10px; width: 280px; background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
