* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; overflow: hidden; font-family: Inter, system-ui, sans-serif; color: #10151c; background: #eef1f5; }
#app { position: fixed; inset: 0; }
header { position: fixed; top: 20px; left: 24px; max-width: 520px; pointer-events: none; }
header .cli { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cor); font-weight: 700; }
header h1 { font-size: 26px; line-height: 1.15; margin: 4px 0 6px; }
header p { font-size: 14px; color: #4a5562; }
#painel { position: fixed; top: 20px; right: 20px; width: 290px; max-height: calc(100% - 40px); overflow: auto;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 14px; padding: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
#painel h3 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6b7682; margin: 14px 0 8px; }
.linha { margin-bottom: 12px; }
.linha label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.linha .val { color: var(--cor); font-variant-numeric: tabular-nums; }
.linha input[type=range] { width: 100%; accent-color: var(--cor); }
.grupo { display: flex; gap: 6px; flex-wrap: wrap; }
#painel button { font: inherit; font-size: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid #d5dbe2; background: #fff; cursor: pointer; }
#painel button.on { background: var(--cor); color: #fff; border-color: var(--cor); }
#lista { display: flex; flex-wrap: wrap; gap: 6px; }
#info { margin-top: 12px; font-size: 13px; line-height: 1.45; color: #36404b; min-height: 40px; }
#saida:not(:empty) { background: #f4f6f9; border-radius: 10px; padding: 12px; font-size: 13px; line-height: 1.5; }
#saida b { font-size: 18px; color: var(--cor); }
#saida small { color: #6b7682; display: block; margin-top: 6px; }
#marca { position: fixed; left: 50%; bottom: 46px; transform: translateX(-50%); font-size: 12px; letter-spacing: .14em;
  font-weight: 700; color: rgba(16,21,28,.35); pointer-events: none; white-space: nowrap; }
footer { position: fixed; left: 24px; bottom: 16px; font-size: 12px; color: #6b7682; }
@media (max-width: 720px) {
  header { left: 16px; right: 16px; top: 14px; } header h1 { font-size: 20px; }
  #painel { top: auto; bottom: 0; right: 0; left: 0; width: auto; max-height: 42%; border-radius: 14px 14px 0 0; }
  #marca { bottom: calc(42% + 10px); } footer { display: none; }
}
