:root{color:#1a1a2e;background:#f5f6fa;font-family:system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{min-height:100vh;margin:0}#root{max-width:860px;margin:0 auto;padding:1.5rem}#root:has(.app-shell){max-width:none;margin:0;padding:0}.dashboard-grid{grid-template-columns:1fr 1fr;gap:1.25rem;max-width:640px;margin-top:1rem;display:grid}.dashboard-field{flex-direction:column;gap:.25rem;display:flex}.dashboard-label{color:#8a8fa3;text-transform:uppercase;letter-spacing:.03em;font-size:.8rem;font-weight:600}.dashboard-value{color:#1a1a2e;font-size:1.1rem}.dashboard-note{color:#8a8fa3;margin-top:1.5rem;font-size:.85rem}h1{font-size:1.6rem}button{font:inherit;color:#fff;cursor:pointer;background:#4a90d9;border:1px solid #4a90d9;border-radius:6px;padding:.5rem 1rem}button[type=button],.link-button{color:#4a90d9;background:0 0}.link-button{border:none;padding:.25rem;font-size:.9rem}input{font:inherit;border:1px solid #c5c9d4;border-radius:6px;width:100%;padding:.5rem}label{margin-bottom:.75rem;font-weight:600;display:block}.login-page{max-width:360px;margin:10vh auto 0}.subtitle{color:#5a5f73}.form-error{color:#c0392b;margin-top:.5rem}.site-header{justify-content:space-between;align-items:center;display:flex}.header-actions{align-items:center;gap:.75rem;display:flex}.user-email{color:#5a5f73;font-size:.9rem}.screen-list{padding:0;list-style:none}.screen-row{background:#fff;border:1px solid #e2e5ee;border-radius:8px;align-items:center;gap:1rem;margin-bottom:.5rem;padding:.75rem 1rem;display:flex}.screen-name{color:inherit;flex:1;font-weight:600}.screen-code{letter-spacing:.1em;font-family:ui-monospace,monospace}.status-inactive{color:#c0392b}.connected{color:#27ae60}.disconnected{color:#8a8fa3}.empty-state{text-align:center;background:#fff;border:1px dashed #c5c9d4;border-radius:8px;padding:2rem}.big-code{letter-spacing:.2em;font-family:ui-monospace,monospace;font-size:2rem;font-weight:700}.setup-section ol{flex-direction:column;gap:1.2rem;margin:1rem 0 2rem;padding-left:1.25rem;display:flex}.setup-section ol li{line-height:1.5}.setup-section .setup-lead{margin:1rem 0 0;line-height:1.5}.setup-section ol figure{margin:.75rem 0 0}.setup-section figure{margin:0}.setup-section figcaption{margin-bottom:.75rem}.inactive-note{color:#c0392b}.screen-state-col{flex-direction:column;gap:.1rem;display:flex}.current-use{color:#8a8fa3;font-size:.8rem}.current-use-casting{color:#27ae60;font-weight:600}.cast-match-name{color:#5a5f73}.status-pill{white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:4px 16px;font-size:13px;font-weight:700;display:inline-flex}.status-pill-live{color:#15803d;background:#dcfce7;border:1px solid #86efac}.status-pill-unavailable{color:#c2410c;background:#fee2e2;border:1px solid #fca5a5}.status-pill-unavailable .status-pill-dot{background:#ea580c}.status-pill-no_device{color:#b45309;background:#fef3c7;border:1px solid #fcd34d}.status-pill-no_device .status-pill-dot{background:#d97706;animation:1.6s ease-in-out infinite status-pill-pulse}.status-pill-waiting{color:#1d4ed8;background:#dbeafe;border:1px solid #93c5fd}.status-pill-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.status-pill-live .status-pill-dot{background:#16a34a}.status-pill-waiting .status-pill-dot{background:#2563eb;animation:1.6s ease-in-out infinite status-pill-pulse}.status-pill-ellipsis{letter-spacing:1px;margin-left:-6px;display:inline-flex}.status-pill-ellipsis span{opacity:0;animation-duration:2s;animation-timing-function:step-end;animation-iteration-count:infinite}.status-pill-ellipsis span:first-child{animation-name:status-pill-dot-1}.status-pill-ellipsis span:nth-child(2){animation-name:status-pill-dot-2}.status-pill-ellipsis span:nth-child(3){animation-name:status-pill-dot-3}@keyframes status-pill-dot-1{0%{opacity:0}25%,to{opacity:1}}@keyframes status-pill-dot-2{0%{opacity:0}50%,to{opacity:1}}@keyframes status-pill-dot-3{0%{opacity:0}75%,to{opacity:1}}@keyframes status-pill-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.8)}}@media (prefers-reduced-motion:reduce){.status-pill-waiting .status-pill-dot,.status-pill-no_device .status-pill-dot,.status-pill-ellipsis span{opacity:1;animation:none}}.dev-login{background:#f4f5f8;border:1px dashed #c9ccd8;border-radius:8px;margin:0 0 1rem;padding:.6rem .75rem}.dev-login-label{letter-spacing:.04em;text-transform:uppercase;color:#7b8194;margin-bottom:.45rem;font-size:.72rem;font-weight:600;display:block}.dev-login-pills{flex-wrap:wrap;gap:.4rem;display:flex}.dev-login-pill{color:#4479b9;cursor:pointer;white-space:nowrap;background:#fff;border:1.5px solid #4479b9;border-radius:999px;padding:.25rem .7rem;font-size:.78rem;font-weight:500}.dev-login-pill:hover:not(:disabled){color:#fff;background:#4479b9}.dev-login-pill:disabled{opacity:.55;cursor:default}
