/* Shared look for the Super Admin panel and public pages. Poulzo brand: orange #DC651B, dark #252932. */
:root {
  --brand: #DC651B;
  --brand-dark: #B94D08;
  --ink: #252932;
  --muted: #677080;
  --line: #E3E7EF;
  --bg: #F6F7FB;
  --card: #FFFFFF;
  --ok: #008C60;
  --bad: #C62828;
  --soft: #FFF3EA;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.45; }
a { color: var(--brand-dark); }
header.bar { background: linear-gradient(90deg, var(--brand), #EE8A3C); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
header.bar img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 2px; }
header.bar h1 { font-size: 18px; margin: 0; flex: 1; }
header.bar button { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.5); }
main { max-width: 980px; margin: 0 auto; padding: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 16px; box-shadow: 0 2px 6px rgba(15,37,51,.05); }
.card h2 { font-size: 17px; margin: 0 0 12px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 4px; }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid #CDD3DE; border-radius: 10px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 200px; }
button { font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
button.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
button.small { padding: 6px 10px; font-size: 13px; }
button:disabled { opacity: .55; cursor: default; }
.check { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-weight: 600; font-size: 14px; }
.check input { width: auto; }
.msg { padding: 10px 12px; border-radius: 10px; margin: 10px 0; font-size: 14px; }
.msg.err { background: #FDECEC; color: var(--bad); }
.msg.ok { background: #E7F6EF; color: var(--ok); }
.hidden { display: none !important; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .03em; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.on { background: #E7F6EF; color: var(--ok); }
.pill.off { background: #F1F2F5; color: var(--muted); }
.pill.warn { background: var(--soft); color: var(--brand-dark); }
.logo-thumb { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.muted { color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; }
.center-box { max-width: 400px; margin: 48px auto; }
.prose h2 { font-size: 18px; margin-top: 24px; }
.prose p, .prose li { font-size: 15px; }

.themes { border: 0; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.themes legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.themes .muted { grid-column: 1 / -1; margin: 0; }
.theme { display: grid; grid-template-columns: repeat(3, 22px) 1fr; gap: 4px; align-items: center; padding: 12px; border: 2px solid #E7E5E4; border-radius: 16px; background: #fff; cursor: pointer; }
.theme:has(input:checked) { border-color: #F57C00; box-shadow: 0 0 0 3px #FFEDD5; }
.theme input { position: absolute; opacity: 0; width: 1px; }
.theme .sw { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.theme b, .theme small { grid-column: 1 / -1; }
.theme small { color: #57534E; }
