* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1c2430; background: #f5f6f8; }
header { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 12px 16px; background: #14213d; color: #fff; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
nav a, nav .link { color: #fff; }
main { max-width: 1000px; margin: 0 auto; padding: 16px; }
footer { padding: 16px; text-align: center; font-size: 13px; color: #5b6675; }
h1 { font-size: 24px; margin: 8px 0 16px; }
h2 { font-size: 18px; margin: 28px 0 10px; }
a { color: #1d4ed8; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
th, td { padding: 8px 10px; border-bottom: 1px solid #e3e6eb; text-align: left; }
th { color: #5b6675; font-weight: 600; }
input, select { width: 100%; padding: 10px; font: inherit; border: 1px solid #c6ccd5; border-radius: 6px; background: #fff; }
button { padding: 10px 16px; font: inherit; font-weight: 600; color: #fff; background: #1d4ed8; border: 0; border-radius: 6px; cursor: pointer; }
button.secondary { color: #1c2430; background: #e3e6eb; }
button.link { padding: 0; font-weight: 400; text-decoration: underline; background: none; }
.stack { display: grid; gap: 12px; max-width: 460px; }
.stack label { display: grid; gap: 4px; font-size: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.row input, .row select { width: auto; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile { padding: 14px; background: #fff; border-radius: 8px; }
.tile b { display: block; font-size: 28px; line-height: 1.2; }
.tile span { font-size: 13px; color: #5b6675; }
.detail { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.qr { width: 200px; height: 200px; background: #fff; }
.status { padding: 2px 8px; font-size: 13px; border-radius: 10px; background: #e3e6eb; }
.status.active { color: #0b5c2e; background: #d6f2e0; }
.status.paused { color: #7a4b00; background: #fdeccb; }
.warn, .error { color: #b42318; }
.notice { padding: 10px 12px; background: #dbeafe; border-radius: 6px; }
.public { display: grid; min-height: 100vh; place-items: center; padding: 16px; }
.card { max-width: 420px; padding: 24px; text-align: center; background: #fff; border-radius: 12px; }
.tagline { margin-top: 24px; font-size: 13px; color: #5b6675; }
