
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#17241e;background:#f5f7f6;font-size:16px;font-synthesis:none;--green:#1cdb75;--dark:#0c1a13;--muted:#6b7971;--border:#e3e9e5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #0baf5d;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #1aae69;outline-offset:1px}a{color:inherit}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sprite{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:.875rem}.eyebrow{font-size:.75rem;letter-spacing:.15em;font-weight:750;color:#6a7c71}.green{color:#098d49}h1,h2,h3,p{margin-top:0}h1{font-size:2.2rem;letter-spacing:-.045em;line-height:1.16;margin:9px 0 10px;font-weight:750}h2{font-size:1.15rem;letter-spacing:-.02em;margin:0}h3{font-size:1.1rem;letter-spacing:-.02em}label{display:flex;flex-direction:column;gap:8px;font-size:.875rem;font-weight:600}input,select,textarea{width:100%;border:1px solid #dbe4dd;border-radius:9px;background:#fff;color:#18281e;min-height:44px;padding:11px 13px;font-size:.9375rem}input::placeholder,textarea::placeholder{color:#97a199;font-weight:400}input[readonly]{background:#f5f7f6;color:#6c776e}textarea{resize:vertical;min-height:83px}select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d6c61' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;min-height:44px;border:1px solid transparent;border-radius:8px;font-size:.875rem;font-weight:650;white-space:nowrap;transition:background .12s}.button.primary{background:var(--green);color:#08391d}.button.primary:hover{background:#14cb68}.button.secondary{background:#fff;border-color:#dce5df;color:#34463a}.button.secondary:hover{background:#f3f7f4}.button.danger{color:#b52f36;background:#fff1f0;border-color:#f0cdcc}.button.text-button{background:transparent;color:#526658;padding:7px 11px;min-height:36px}.full{width:100%}.icon-button{background:transparent;border:0;color:#75877a;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:8px}.icon-button:hover{background:#eef4ef;color:#183f27}.login-view{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:#0b1b12;color:#fff;padding:65px 12%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-brand:before{content:"";position:absolute;width:500px;height:500px;border:1px solid #244a34;border-radius:50%;top:-280px;left:-240px;box-shadow:0 0 0 90px #11251a,0 0 0 180px #0e2116;pointer-events:none}.login-brand .eyebrow{color:#71a987;position:relative}.login-logo{width:280px;max-width:100%;margin:40px 0 30px}.login-brand h1{font-size:3.8rem;line-height:1.03;letter-spacing:-.065em;position:relative}.login-brand p{color:#9aafa1;line-height:1.7;max-width:330px}.brand-bottom{margin-top:60px;font-size:.875rem;color:#c6d6cc}.brand-bottom span{display:block;color:#6d8b78;font-size:.8125rem;margin-top:7px}.login-box{display:grid;place-items:center;background:#f8faf8;padding:32px}.login-inner{width:100%;max-width:360px}.login-inner h2{font-size:2rem;margin:14px 0 10px}.login-inner form{margin-top:32px;display:grid;gap:20px}.login-foot{font-size:.8125rem;color:#85958b;text-align:center;margin-top:22px}.error{color:#b72f37;font-size:.875rem;margin:0;min-height:16px}.shell{display:flex;min-height:100vh}.sidebar{width:240px;flex-shrink:0;background:#0c1912;color:#b3c2b8;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:26px 17px 20px}.brand{text-decoration:none;text-align:center;display:block;margin:0 0 45px}.brand img{width:172px;height:97px;object-fit:contain}.brand>span{display:block;font-size:.625rem;letter-spacing:.24em;color:#547661;margin-top:7px}.nav-label{font-size:.625rem;letter-spacing:.16em;padding:0 15px;margin-bottom:14px;color:#5d7767;font-weight:700}nav{display:grid;gap:7px}.nav-button{border:0;background:none;color:#8fa699;width:100%;text-align:left;padding:13px 14px;display:flex;align-items:center;gap:12px;border-radius:8px;font-size:.875rem;font-weight:600}.nav-button.selected{color:#66e798;background:#183b26}.nav-button:hover{background:#173122;color:#c4f1d5}.nav-count{margin-left:auto;color:#6edf97;background:#234f32;padding:3px 6px;min-width:22px;text-align:center;border-radius:5px;font-size:.75rem}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:9px;border-top:1px solid #203126;padding-top:23px}.avatar{background:#20442e;color:#8cd4a7;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-size:.875rem}.sidebar-bottom strong{display:block;font-size:.8125rem;color:#d3ded7;font-weight:600}.sidebar-bottom span{display:block;font-size:.6875rem;color:#658270;margin-top:4px}.logout{margin-left:auto;width:30px;color:#648473}.logout svg{width:18px}.workspace{width:calc(100% - 240px);margin-left:240px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--border);background:#fff;font-size:.8125rem;color:#8a978e;gap:16px}.topbar strong{color:#53675a;font-weight:500}.slash{color:#c6cec9;margin:0 16px}.server-label{border:1px solid var(--border);padding:7px 10px;border-radius:6px;color:#587862;font-size:.75rem}.server-label:before{content:"";display:inline-block;width:6px;height:6px;background:#20bf68;border-radius:50%;margin-right:7px}.content{padding:34px 40px 25px;max-width:1600px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-heading .muted{font-size:.9375rem;margin-bottom:0}.heading-actions{display:flex;gap:9px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:27px}.stat{position:relative;background:#fff;border:1px solid var(--border);border-radius:11px;padding:22px;text-align:left;min-height:155px;color:#64756a;box-shadow:0 2px 3px #122a1603}.stat>span:first-child{font-size:.875rem;font-weight:600;display:block}.stat strong{font-size:2.4rem;letter-spacing:-.04em;font-weight:650;color:#203c2a;display:block;line-height:1.1;margin:14px 0 7px}.stat-caption{font-size:.75rem;color:#8b9a90}.stat svg{position:absolute;right:19px;top:23px;color:#a2b5a9;width:22px}.stat:hover{border-color:#a7c7b4}.stat.active-stat{background:#ecf9f0;border-color:#c9e9d4}.active-stat strong{color:#118647}.active-stat svg{color:#3bb675}.card{background:#fff;border:1px solid var(--border);border-radius:11px;overflow:hidden;box-shadow:0 2px 4px #163e1902}.card-heading{padding:23px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #eef2ef}.card-heading h2{font-size:1rem;display:flex;gap:10px;align-items:center}.small-count{padding:4px 8px;border-radius:5px;background:#f0f4f1;color:#698573;font-size:.75rem;font-weight:500}.table-toolbar{padding:19px 24px;display:flex;justify-content:space-between;gap:20px;align-items:center}.search-field{position:relative;max-width:380px;flex:1;min-width:200px}.search-field svg{position:absolute;left:12px;top:12px;width:18px;color:#97a99c}.search-field input{padding-left:38px;background:#fafcfb;border-color:#e4ebe6;font-size:.875rem}.filter-label{display:flex;flex-direction:row;align-items:center;gap:10px;white-space:nowrap;font-size:.8125rem;color:#718476}.filter-label select{font-size:.8125rem;min-width:178px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:.75rem;color:#89998f;font-weight:550;background:#fafcfb;padding:13px 24px;border-top:1px solid #edf2ee;border-bottom:1px solid #edf2ee}td{padding:20px 24px;border-bottom:1px solid #edf2ee;font-size:.875rem;color:#5a6f61}td strong{font-size:.875rem;color:#293f31;font-weight:600;display:block;margin-bottom:5px}.device-cell{display:flex;align-items:center;gap:12px}.device-icon{width:36px;height:36px;background:#f1f7f2;display:grid;place-items:center;border-radius:9px;color:#86a18e}.device-cell small{font: .75rem "Cascadia Code",Consolas,monospace;color:#8b9b91}.status{display:inline-flex;align-items:center;padding:6px 9px;border-radius:6px;font-size:.875rem;font-weight:600;background:#f0f3f1;color:#7b8b81}.status.active{color:#18864b;background:#e9f7ed}.status.pending{color:#a87816;background:#fff6de}.status.expired{color:#b26c35;background:#fff0e5}.status.blocked{color:#c24f56;background:#fff0f0}.manage{padding:7px 11px;min-height:32px;border:1px solid #dfe9e2;color:#4f745c;background:#fff;font-weight:600;border-radius:6px;font-size:.75rem}.manage:hover{background:#edf8f0}.table-footer{min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:14px 24px;color:#94a096;font-size:.75rem}.table-footer>div{display:flex;gap:5px}.sync-note{color:#8b9b90;font-size:.75rem;display:flex;align-items:flex-start;gap:8px;margin:19px 2px;line-height:1.6}.sync-note svg{width:15px;height:15px;margin-top:2px}.empty{text-align:center;padding:50px 20px;color:#92a096}.empty-icon{width:60px;height:60px;display:grid;place-items:center;border-radius:15px;background:#f1f8f3;margin:0 auto 17px;color:#77a385}.empty-icon svg{width:28px;height:28px}.empty h3{color:#4b6955;font-weight:600;margin-bottom:9px}.empty p{font-size:.875rem;line-height:1.7;margin-bottom:0}.workspace-footer{display:flex;justify-content:space-between;margin:0 40px;padding:20px 0;border-top:1px solid var(--border);font-size:.6875rem;color:#96a49a}.workspace-footer>span:first-child{font-weight:700;letter-spacing:.08em;color:#7c9384}dialog{border:0;padding:0;background:#fff;color:#263d2e;box-shadow:0 16px 80px #10291c40}dialog::backdrop{background:#0b231c66;backdrop-filter:blur(2px)}.drawer{position:fixed;inset:0 0 0 auto;margin:0;max-height:100vh;height:100%;width:min(620px,100%);max-width:100%;border-radius:15px 0 0 15px;overflow-y:auto}.dialog-header{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--border)}.dialog-header h2{font-size:1.3rem;margin-top:7px}.dialog-header .eyebrow{font-size:.625rem}.detail-summary{padding:20px 24px;background:#f6faf7;display:flex;gap:24px;align-items:center;flex-wrap:wrap}.detail-summary label{font-weight:400;color:#8a9b90;font-size:.75rem}.detail-summary code{font-size:.875rem;color:#375740;margin-top:3px}.form-body{padding:24px;display:grid;gap:19px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.device-quick{display:flex;align-items:center;gap:9px;padding:0 24px 24px;flex-wrap:wrap}.device-quick .button{font-size:.8125rem}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px;border-top:1px solid var(--border);background:#f8fbf9}.playlist-item{padding:18px 24px;border-bottom:1px solid #e8eee9;display:flex;align-items:center;gap:12px}.playlist-item>div{flex:1;min-width:0}.playlist-item h3{font-size:.9375rem;margin:0 0 6px}.playlist-item p{font-size:.75rem;color:#88998e;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playlist-actions{display:flex;gap:5px}.playlist-actions .button{font-size:.75rem;padding:7px 10px;min-height:32px}.detail-meta{padding:24px;color:#8d9e92;font-size:.75rem;line-height:1.9;overflow-wrap:anywhere}.detail-meta strong{font-weight:500;color:#607b68}.editor-dialog{width:min(570px,calc(100% - 30px));border-radius:13px;max-height:90vh;overflow:auto}.editor-dialog .dialog-header h2{font-size:1.2rem;margin:0}.help{font-size:.8125rem;color:#7d9384;font-weight:400;line-height:1.6;margin:0}.check-label{flex-direction:row;align-items:center;gap:10px;font-weight:500;line-height:1.5}.check-label input{width:18px;height:18px;min-height:0;accent-color:#16b964}.settings-card{max-width:800px;margin-bottom:24px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#153b25;color:#edf9f0;border-radius:10px;box-shadow:0 5px 30px #102b1c44;padding:15px 23px;font-size:.875rem;z-index:1000;max-width:calc(100% - 32px)}.toast.error-toast{background:#8d2f35;color:#fff}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}details summary{cursor:pointer;color:#748b7c;font-size:.8125rem}details>div{margin-top:14px}.inline-note{font-size:.75rem;line-height:1.6;color:#8b9c90;margin:0}.row-name{max-width:230px;overflow:hidden;text-overflow:ellipsis}#audit-rows td{white-space:normal;vertical-align:top}#audit-rows td:first-child{white-space:nowrap}
@media(min-width:1500px){.content{padding-top:45px}.page-heading{margin-bottom:36px}}@media(max-width:1250px){.sidebar{width:205px}.workspace{width:calc(100% - 205px);margin-left:205px}.content{padding:28px 25px}.topbar{padding:0 25px}td,th{padding-left:16px;padding-right:16px}.stats{gap:12px}.stat{padding:18px}.stat svg{right:15px}.page-heading h1{font-size:1.9rem}.workspace-footer{margin:0 25px}}@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.stat{min-height:137px}.page-heading{align-items:flex-start;flex-direction:column}.heading-actions{width:100%;justify-content:flex-end}.topbar{font-size:.75rem}.server-label{font-size:.6875rem}.sidebar{width:185px}.workspace{width:calc(100% - 185px);margin-left:185px}.brand img{width:145px}.nav-button{padding-left:10px;gap:9px}.sidebar-bottom span{font-size:.625rem}.logout{display:none}}@media(max-width:720px){.shell{display:block}.sidebar{position:relative;width:100%;height:auto;padding:10px 16px 0;flex-direction:row;align-items:center;gap:15px;flex-wrap:wrap}.brand{margin:0}.brand img{width:110px;height:62px}.brand>span,.nav-label,.sidebar-bottom{display:none}nav{display:flex;flex:1;justify-content:flex-end;gap:2px}.nav-button{padding:12px 10px;justify-content:center;width:42px;font-size:0}.nav-button svg{width:23px;height:23px}.nav-count{display:none}.workspace{width:100%;margin:0}.topbar{padding:0 20px;height:53px}.server-label{border:0;padding:0}.topbar .slash{margin:0 8px}.content{padding:26px 18px}.page-heading{gap:18px;margin-bottom:24px}.heading-actions{justify-content:flex-start}.heading-actions .button{flex:1;padding:10px 12px;font-size:.8125rem}.stats{gap:10px;margin-bottom:20px}.stat{padding:17px;min-height:135px}.stat>span:first-child{font-size:.8125rem}.stat svg{width:18px;top:18px;right:13px}.stat strong{font-size:2rem}.stat-caption{font-size:.6875rem}.card-heading{padding:19px 16px}.table-toolbar{padding:15px 16px;flex-direction:column;align-items:stretch;gap:10px}.search-field{max-width:none}.filter-label{justify-content:space-between}.filter-label select{width:65%}.card-heading .small{font-size:.6875rem}.workspace-footer{margin:0 18px;font-size:.625rem}.table-footer{padding:12px 15px}.sync-note{font-size:.6875rem}.login-view{display:flex;flex-direction:column}.login-brand{padding:24px 28px;min-height:200px;justify-content:center}.login-brand h1,.login-brand p,.brand-bottom{display:none}.login-brand .eyebrow{font-size:.625rem}.login-logo{width:190px;margin:15px 0 0}.login-box{padding:35px 25px 50px;flex:1}.login-inner h2{font-size:1.7rem}.form-grid{grid-template-columns:1fr}.detail-summary{gap:17px;padding:18px 20px}.form-body{padding:20px}.dialog-header{padding:20px}.list-heading{padding:18px 20px}.playlist-item{padding:17px 20px;flex-wrap:wrap}.playlist-actions{margin-left:auto}.form-actions .button{flex:1}.settings-card .form-grid{grid-template-columns:1fr}#add-device svg{width:17px}.drawer{border-radius:0}.inline-note{font-size:.75rem}.server-label:before{margin-right:5px}}
.mobile-logout{display:none}@media(max-width:1000px){.mobile-logout{display:inline-flex;flex-shrink:0}.topbar{gap:10px}.server-label{margin-left:auto}.topbar>span:first-child{white-space:nowrap}}@media(max-width:430px){.topbar .slash,.topbar strong{display:none}.server-label{font-size:.65rem}}
