:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f3f4f6;font-family:Inter,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{min-height:100vh}button,input,select{font:inherit}h1,h2,p{margin-top:0}#root{min-height:100vh}.auth-page{color:#152238;background:#f5f7fb;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #e3e8f0;border-radius:14px;flex-direction:column;align-items:flex-start;width:min(100%,380px);padding:36px;display:flex;box-shadow:0 18px 48px #15223814}.auth-card .brand-mark{margin-bottom:24px}.auth-card .eyebrow{margin-bottom:6px}.auth-card h1{margin:0 0 10px;font-size:1.6rem}.auth-card>p:not(.eyebrow):not(.auth-error){color:#748196;margin:0 0 22px;font-size:.9rem}.auth-card .button{width:100%}.auth-error{color:#ad3c3c;font-size:.82rem}.header-actions{gap:9px;display:flex}.management-page{color:#152238;background:#f5f7fb;grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#ecf2fc;background:#111c2e;flex-direction:column;height:100vh;padding:28px 16px 18px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:0 8px 30px;display:flex}.brand-mark,.device-avatar{color:#e8f2ff;letter-spacing:.04em;background:#294c82;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-size:.78rem;font-weight:800;display:grid}.brand .eyebrow{margin-bottom:2px;font-size:.62rem}.brand h1{letter-spacing:-.02em;margin:0;font-size:1rem}.eyebrow{color:#8290a6;letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;font-size:.68rem;font-weight:700}.sidebar-section-heading{color:#9ba9bd;letter-spacing:.06em;text-transform:uppercase;justify-content:space-between;align-items:center;padding:0 8px 10px;font-size:.75rem;font-weight:700;display:flex}.icon-button{color:#dce7f6;cursor:pointer;background:0 0;border:1px solid #344256;border-radius:8px;place-items:center;width:28px;height:28px;font-size:1.15rem;display:grid}.icon-button:hover{background:#1d2d44;border-color:#7295c8}.site-list{gap:5px;display:grid}.sidebar-main-nav{margin-bottom:18px}.sidebar>.site-list[aria-label=Sites]{min-height:0;overflow-y:auto}.sidebar-admin-nav{border-top:1px solid #29364a;margin-top:14px;padding-top:12px}.admin-nav-icon{color:#9ba9bd;flex:0 0 16px;place-items:center;font-size:1rem;display:grid}.site-item{color:#c5d0df;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:11px;min-height:42px;padding:0 11px;font-size:.88rem;display:flex}.site-item:hover,.site-item.selected{color:#fff;background:#202f44}.site-item.selected{border-color:#334965}.site-indicator,.connection-dot,.status-indicator{background:#54c794;border-radius:50%;width:7px;height:7px}.sidebar-empty{color:#7f8da2;padding:0 8px;font-size:.78rem;line-height:1.6}.sidebar-footer{color:#97a5b8;border-top:1px solid #29364a;align-items:center;gap:9px;margin-top:auto;padding:15px 8px 0;font-size:.74rem;display:flex}.connection-dot{width:6px;height:6px}.main-panel{width:min(100%,1120px);margin:0 auto;padding:42px clamp(22px,5vw,64px) 64px}.page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.page-header h2{color:#152238;letter-spacing:-.04em;margin:0 0 6px;font-size:clamp(1.6rem,3vw,2.15rem)}.page-subtitle{color:#748196;margin:0;font-size:.9rem}.button{white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 15px;font-size:.82rem;font-weight:700;transition:background .15s,border-color .15s;display:inline-flex}.button:disabled,.site-item:disabled,.text-button:disabled{opacity:.55;cursor:not-allowed}.button-primary{color:#fff;background:#2864c5}.button-primary:hover:not(:disabled){background:#1e54aa}.button-secondary{color:#34445c;background:#fff;border-color:#d7deea}.button-secondary:hover:not(:disabled){background:#f9fbfe;border-color:#aebbd0}.status-message{color:#476585;background:#eff7ff;border:1px solid #d9e8f8;border-radius:8px;align-items:center;gap:10px;min-height:40px;margin-bottom:20px;padding:9px 13px;font-size:.8rem;display:flex}.status-message .status-indicator{background:#4284d8;width:6px;height:6px}.status-message.error{color:#a34747;background:#fff5f5;border-color:#f1cccc}.status-message.error .status-indicator{background:#d35656}.panel-card,.welcome-card{background:#fff;border:1px solid #e3e8f0;border-radius:12px;margin-bottom:18px;padding:22px 24px;box-shadow:0 3px 12px #1b2d4b06}.dashboard-site-list{gap:16px;display:grid}.dashboard-site-card{margin-bottom:0}.dashboard-site-heading{align-items:center;margin-bottom:14px}.dashboard-site-heading .eyebrow{margin-bottom:4px}.dashboard-site-heading h3{margin:0}.dashboard-site-link{color:#1d2b40;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.dashboard-site-link:hover{color:#2864c5;text-decoration:underline}.dashboard-device-list{border-top:1px solid #edf0f5}.dashboard-device-row{border-bottom:1px solid #edf0f5;grid-template-columns:12px minmax(120px,1fr) minmax(140px,auto) minmax(170px,auto);align-items:center;gap:12px;min-height:52px;display:grid}.dashboard-device-row:last-child{border-bottom:0}.dashboard-device-name{color:#27364c;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;font-weight:700;overflow:hidden}.dashboard-transmission-label{color:#8490a2;font-size:.75rem}.dashboard-transmission-time{color:#42516a;font-size:.78rem}.dashboard-no-devices,.dashboard-message{color:#748196;margin-bottom:0;font-size:.84rem}.dashboard-empty{text-align:center}.dashboard-empty .button{margin-top:8px}.card-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px;display:flex}.card-heading .eyebrow{margin-bottom:5px}.card-heading h3,.welcome-card h3{color:#1d2b40;letter-spacing:-.02em;margin:0;font-size:1.12rem}.resource-tag,.count-badge{color:#6b7a91;letter-spacing:.05em;background:#eef3fa;border-radius:6px;align-items:center;min-height:23px;padding:0 8px;font-size:.65rem;font-weight:800;display:inline-flex}.count-badge{letter-spacing:0;vertical-align:2px;margin-left:5px;font-size:.72rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;display:grid}.site-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-group{flex-direction:column;gap:7px;min-width:0;display:flex}.field-group label{color:#42516a;font-size:.76rem;font-weight:700}.field-group input,.field-group select{color:#192940;background:#fff;border:1px solid #d8dfeb;border-radius:7px;outline:none;width:100%;min-height:40px;padding:8px 11px;font-size:.84rem;transition:border-color .15s,box-shadow .15s}.field-group input:focus,.field-group select:focus{border-color:#6192d4;box-shadow:0 0 0 3px #2864c51a}.field-group input:disabled,.field-group select:disabled{background:#f7f9fc}.field-hint{color:#8995a7;font-size:.7rem;line-height:1.4}.access-user-field{max-width:620px}.access-sites-heading{justify-content:space-between;align-items:center;gap:12px;margin-top:26px;display:flex}.access-sites-heading h4{color:#314158;margin:0;font-size:.84rem}.access-site-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.access-site-option{color:#34445c;cursor:pointer;border:1px solid #e3e8f0;border-radius:8px;align-items:center;gap:10px;min-height:44px;padding:9px 12px;font-size:.82rem;display:flex}.access-site-option:has(input:checked){background:#f3f7fd;border-color:#9bbbe8}.access-site-option input{accent-color:#2864c5;width:16px;height:16px;margin:0}.access-empty{color:#8490a2;margin:8px 0 0;font-size:.8rem}.card-actions{border-top:1px solid #edf0f5;justify-content:flex-end;margin-top:22px;padding-top:17px;display:flex}.devices-heading{align-items:center;margin-bottom:15px}.device-list{border-top:1px solid #edf0f5}.device-row{border-bottom:1px solid #edf0f5;align-items:center;gap:13px;min-height:76px;display:flex}.device-avatar{color:#3867a8;background:#eff4fb;border-radius:10px;width:36px;height:36px;font-size:.68rem}.device-info{flex:1;min-width:0}.device-info h4,.editor-title h4{color:#27364c;text-overflow:ellipsis;margin:0 0 4px;font-size:.85rem;font-weight:700;overflow:hidden}.device-info .device-name{align-items:center;gap:8px;display:flex}.device-name-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.device-status-indicator{border-radius:50%;flex:0 0 9px;width:9px;height:9px}.device-status-indicator.running{background:#29a36a}.device-status-indicator.stopped{background:#d84a4a}.device-status-indicator.unknown{background:#aab4c2}.device-status-message{color:#748196;margin:-5px 0 12px;font-size:.76rem}.device-status-message.error{color:#ad3c3c}.device-info p{color:#8490a2;margin:0;font-size:.7rem}.device-info p span{color:#bbc3ce;padding:0 3px}.encryption-tag{color:#798497;background:#f1f3f6;border-radius:999px;padding:5px 8px;font-size:.66rem;font-weight:700}.encryption-tag.enabled{color:#32805c;background:#eaf7f0}.device-actions{gap:6px;margin-left:8px;display:flex}.text-button{color:#366bb3;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:6px 7px;font-size:.75rem;font-weight:700}.text-button:hover:not(:disabled){background:#f0f5fc}.text-button.danger{color:#b05252}.text-button.danger:hover:not(:disabled){background:#fff2f2}.empty-state,.welcome-card{text-align:center}.empty-state{padding:35px 16px 27px}.empty-icon{color:#5180be;background:#eef4fc;border-radius:12px;place-items:center;width:42px;height:42px;margin:0 auto 13px;font-size:1.2rem;display:grid}.empty-state h4{color:#314158;margin:0 0 6px;font-size:.88rem}.empty-state p,.welcome-card p{color:#8792a3;margin:0;font-size:.78rem}.device-editor{background:#fafbfd;border:1px solid #e0e7f1;border-radius:9px;margin-top:18px;padding:18px}.editor-title{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:15px;display:flex}.editor-title h4{margin:0}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-span{grid-column:1/-1}.editor-actions{justify-content:flex-end;gap:9px;margin-top:18px;display:flex}.welcome-card{padding:54px 24px}.welcome-card p{max-width:380px;margin:9px auto 20px;line-height:1.6}@media (width<=820px){.management-page{grid-template-columns:210px minmax(0,1fr)}.main-panel{padding:30px 22px 45px}.device-row{flex-wrap:wrap;padding:12px 0}.device-actions{margin-left:auto}}@media (width<=620px){.management-page{grid-template-columns:1fr}.sidebar{height:auto;padding:16px;position:static}.brand{padding-bottom:16px}.site-list{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-device-row{grid-template-columns:12px minmax(0,1fr);gap:7px 10px;padding:10px 0}.dashboard-transmission-label,.dashboard-transmission-time{grid-column:2}.sidebar-footer{display:none}.main-panel{padding:24px 16px 40px}.page-header{align-items:flex-start}.header-actions{flex-direction:column}.panel-card{padding:18px 16px}.site-grid,.device-grid,.access-site-list{grid-template-columns:1fr}.field-span{grid-column:auto}.devices-heading{align-items:flex-start}.device-row{gap:10px}.encryption-tag{margin-left:46px}.editor-title{flex-direction:column;align-items:flex-start}}
