:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172d43; background: #f3f6f9; }
* { box-sizing: border-box; }
body { margin: 0; }
header { height: 86px; border-bottom: 1px solid #dce4ec; padding: 0 6%; display: flex; align-items: center; justify-content: space-between; background: white; }
.brand { text-decoration: none; color: #172d43; font-size: 25px; font-weight: 750; letter-spacing: -1px; }
.brand span { color: #176c64; }
.badge { border: 1px solid #d4e3e0; color: #176c64; padding: 7px 12px; border-radius: 20px; font-size: 12px; }
main { max-width: 1030px; margin: 66px auto; padding: 0 24px; min-height: 60vh; }
.eyebrow { color: #176c64; letter-spacing: 2px; font-weight: 700; font-size: 11px; }
h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -1.7px; margin: 18px 0; }
.intro { color: #566a7d; font-size: 18px; line-height: 1.6; }
aside { border-left: 3px solid #d4a750; background: #fcf8ef; padding: 17px 20px; margin: 30px 0; line-height: 1.6; font-size: 14px; }
.card { background: white; border: 1px solid #dce4ec; border-radius: 14px; padding: 30px; box-shadow: 0 8px 30px #172d4305; }
h2 { margin: 0 0 12px; font-size: 20px; }
.card p { color: #566a7d; line-height: 1.6; font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 650; margin: 24px 0 8px; }
.login-row { display: flex; gap: 12px; }
input { min-width: 0; flex: 1; border: 1px solid #adbdcb; border-radius: 7px; padding: 12px; font: inherit; }
button { background: #176c64; border: 1px solid #176c64; color: white; border-radius: 7px; padding: 12px 20px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
button:hover { background: #11544e; }
button:focus-visible, input:focus-visible { outline: 3px solid #64b6ab; outline-offset: 3px; }
button.secondary { background: white; color: #176c64; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
#count { color: #176c64; font-size: 14px; margin-left: 8px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; margin-top: 24px; }
th { font-size: 11px; color: #566a7d; text-transform: uppercase; letter-spacing: 1px; padding: 12px; border-bottom: 1px solid #dce4ec; }
td { padding: 18px 12px; border-bottom: 1px solid #edf1f5; font-size: 14px; }
td small { display: block; color: #566a7d; margin-top: 6px; }
.code { font-family: ui-monospace, monospace; font-size: 20px; letter-spacing: 2px; color: #176c64; white-space: nowrap; }
#status { font-size: 13px; color: #566a7d; padding: 0 3px; }
footer { text-align: center; color: #6b7d8d; padding: 24px; font-size: 12px; }
.header-actions, .dashboard-actions, .password-buttons { display: flex; align-items: center; gap: 14px; }
.header-actions #account { font-size: 13px; color: #566a7d; }
.login-card { max-width: 540px; margin: 34px 0; }
.login-card input { width: 100%; display: block; }
.login-card form > button { width: 100%; margin-top: 24px; }
.download-note { border-top: 1px solid #e5ebef; margin-top: 28px; padding-top: 12px; font-size: 14px; }
a { color: #176c64; }
.dashboard-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 34px 0 22px; font-size: 14px; }
.dashboard-bar strong { font-size: 24px; margin-right: 5px; }
.live-dot { display: inline-block; background: #228978; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; }
.button-link { display: inline-block; text-decoration: none; background: #176c64; color: white; padding: 12px 18px; border-radius: 7px; font-size: 14px; font-weight: 600; }
.muted { font-size: 12px; color: #6b7d8d; }
.empty-state { text-align: center; padding: 42px 24px 28px; max-width: 540px; margin: 0 auto; }
.empty-state h3 { font-size: 17px; }
.empty-icon { background: #edf5f3; border-radius: 16px; padding: 12px; width: 64px; margin: auto; color: #176c64; font-size: 32px; }
.device-state { font-size: 12px; font-weight: 600; border-radius: 20px; padding: 6px 10px; white-space: nowrap; }
.online { background: #e7f5ee; color: #176c4e; }
.waiting { background: #fcf4df; color: #906c1c; }
.password-buttons { margin-top: 24px; flex-wrap: wrap; }
.screen-card { margin-top: 24px; scroll-margin-top: 20px; }
.screen-card .eyebrow { font-size: 10px; margin: 0 0 8px; }
.screen-stage { position: relative; margin-top: 20px; background: #122230; border-radius: 8px; overflow: hidden; min-height: 260px; display: grid; place-items: center; }
.screen-stage img { width: 100%; max-height: 75vh; object-fit: contain; display: block; }
.screen-stage p { color: #dce7ed; text-align: center; padding: 32px; }
button:disabled { cursor: default; opacity: .5; }
@media (max-width: 760px) { .dashboard-bar { align-items: flex-start; flex-direction: column; } .dashboard-actions { flex-wrap: wrap; } .header-actions { gap: 8px; } .header-actions .badge { display: none; } }
[hidden] { display: none !important; }
@media (max-width: 640px) { header { padding: 0 20px; } main { margin: 36px auto; padding: 0 16px; } .card { padding: 22px; } .login-row { flex-direction: column; } .section-heading { align-items: flex-start; } .badge { font-size: 10px; } }
