:root{font-family:Inter,"Segoe UI","Microsoft JhengHei",sans-serif;color:#182f2c;background:#f5f7f5;font-synthesis:none;--green:#14634f;--ink:#182f2c;--muted:#77847c;--line:#dfe5df}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:8px;padding:12px 18px;background:var(--green);color:white;font-weight:600}button:disabled{opacity:.5;cursor:wait}button:hover{filter:brightness(.95)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8cd8bc;outline-offset:3px}button.secondary{background:white;color:var(--ink);border:1px solid var(--line)}button.quiet{padding:8px;background:transparent;color:var(--muted)}button.danger{background:#a44138}.muted{color:var(--muted);font-size:13px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#798980}.mark{width:72px;height:72px;display:grid;place-items:center;border:1px solid #9bd3bd55;color:#b0e0cb;font-size:40px;border-radius:18px}.mark.small{width:42px;height:42px;font-size:28px;background:#e7f0e9;color:var(--green);border:0;border-radius:11px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;margin-bottom:0}h2{font-size:25px;letter-spacing:-.6px}h3{font-size:17px}label{display:block;font-size:13px;font-weight:600;margin-bottom:18px}input:not([type=checkbox]),select,textarea{width:100%;padding:12px 13px;background:#fff;border:1px solid #ccd6cf;border-radius:7px;margin-top:8px;color:var(--ink)}textarea{font-family:Consolas,monospace;resize:vertical;min-height:130px;font-size:13px}input[type=checkbox]{margin-right:10px;accent-color:var(--green)}.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-brand{padding:70px 12%;background:#113c32;color:#fff;display:flex;flex-direction:column;justify-content:center}.login-brand .eyebrow{color:#9fc9b8;margin-top:50px}.login-brand h1{font-size:62px;line-height:1.25;letter-spacing:-3px;margin:10px 0 26px}.login-brand>p:not(.eyebrow){color:#a6c9ba;font-size:17px;line-height:1.9}.version{font-size:10px;letter-spacing:1.2px;margin-top:65px;color:#7fae9b}.login-form{width:390px;max-width:85%;margin:auto}.login-form h2{font-size:30px;margin-bottom:12px}.login-form form{margin-top:35px}.login-form form>button{width:100%;display:flex;justify-content:space-between;margin-top:25px}.footnote{color:var(--muted);font-size:11px;line-height:1.8;margin-top:35px}.error{color:#a44138;font-size:13px}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;padding:34px 22px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:16px;line-height:1.15;letter-spacing:-.4px}.brand b{font-weight:600}.nav-label{font-size:9px;letter-spacing:1.7px;color:#96a098;margin:58px 13px 17px}.nav-item{width:100%;display:flex;gap:13px;text-align:left;background:none;color:#7a857f;margin-bottom:7px;padding:13px 14px;font-size:15px;font-weight:400}.nav-item span{font-size:13px}.nav-item.selected{background:#eaf2ec;color:#17634e;font-weight:600}.sidebar-bottom{margin-top:auto;padding:16px 12px 0;border-top:1px solid var(--line)}.sidebar-bottom p{font-size:13px;margin:18px 0 8px}.host-tag{font-size:11px;color:#74837a}.host-tag i,.status i{display:inline-block;width:6px;height:6px;background:#3e9c76;border-radius:100%;margin-right:7px}.main{margin-left:232px;padding:45px 48px 24px;max-width:1600px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:38px}.header-actions{display:flex;gap:20px;align-items:center}.header-actions button{font-size:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:34px}.stat,.panel,.device-card{border:1px solid var(--line);background:#fff;border-radius:12px}.stat{padding:23px 25px}.stat p{font-size:11px;color:var(--muted);margin-bottom:18px}.stat strong{font-size:32px;font-weight:500}.stat small{font-size:11px;color:var(--muted);margin-left:12px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 21px}.section-title h2{font-size:18px;margin:0}.section-title p{font-size:12px;color:var(--muted);margin:8px 0 0}.section-title button{font-size:12px}.devices{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:20px}.device-card{padding:25px}.device-top{display:flex;justify-content:space-between;margin-bottom:28px;align-items:center}.device-icon{width:42px;height:42px;display:grid;place-items:center;font-size:25px;background:#f1f5f1;border-radius:10px}.status{font-size:10px;border-radius:20px;padding:6px 10px;color:#398365;background:#edf6ef}.status.offline{color:#8e9790;background:#f0f1ee}.status.offline i{background:#a1a9a2}.device-card h3{margin-bottom:10px}.device-id{font-size:10px;color:#8b9690;font-family:Consolas,monospace;overflow-wrap:anywhere}.device-meta{display:flex;gap:12px;margin-top:22px;padding-bottom:20px;color:#78867c;font-size:11px;border-bottom:1px solid #edf0eb}.device-actions{display:flex;gap:8px;margin-top:18px}.device-actions button{font-size:11px;padding:9px 13px}.panel{padding:28px;margin-bottom:20px}.empty{padding:60px 25px;text-align:center;border:1px dashed #c6d5c9;border-radius:12px;color:var(--muted);font-size:14px}.empty .empty-icon{font-size:42px;color:#7da48b;margin-bottom:20px}.empty h3{color:var(--ink)}.notice{padding:14px 18px;background:#e8f3e8;border-radius:8px;font-size:13px;margin-bottom:20px}.notice.bad{background:#faeeeb;color:#a44138}footer{border-top:1px solid var(--line);margin-top:60px;padding-top:20px;color:#93a098;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.3px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.5px;color:var(--muted);font-weight:500;padding:14px 10px;border-bottom:1px solid var(--line)}td{padding:15px 10px;border-bottom:1px solid #edf0eb;overflow-wrap:anywhere}td code{font-size:10px}.table-wrap{overflow:auto}.pill{display:inline-block;padding:5px 9px;border-radius:20px;font-size:10px;background:#eaf2ec;color:#447655}.actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.codebox,pre{padding:16px;background:#f0f4ef;border:1px solid #dce5dc;border-radius:8px;font:12px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto}.codebox{user-select:all}.stack{display:flex;flex-direction:column;gap:14px}.hint{font-size:12px;color:var(--muted);line-height:1.8}dialog{border:1px solid var(--line);border-radius:16px;padding:30px;width:600px;max-width:90vw;max-height:90vh;color:var(--ink)}dialog::backdrop{background:#0e291f66;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-header h2{font-size:20px;margin:0}.choice{padding:14px;background:#f4f7f2;border-radius:8px}.inline-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.inline-form label{flex:1;min-width:170px}.inline-form button{margin-bottom:18px}.consent{max-width:650px;margin:8vh auto;padding:38px}.consent>p{font-size:14px;line-height:1.8}.consent h1{margin:20px 0}.account{max-width:520px}.loading{padding:50px;color:var(--muted)}[hidden]{display:none!important}@media(max-width:1000px){.main{padding:30px 25px}.sidebar{width:200px}.main{margin-left:200px}.header-actions .muted{display:none}.login-brand h1{font-size:48px}.stats{gap:10px}.stat{padding:18px}.stat small{display:block;margin:10px 0 0}}@media(max-width:700px){.login-shell{display:block}.login-brand{padding:35px 8%}.login-brand h1{font-size:35px}.login-brand .mark,.login-brand>.eyebrow,.version,.login-brand>p:not(.eyebrow){display:none}.login-brand h1 br{display:none}.login-form{padding:35px 0}.sidebar{position:static;width:100%;padding:18px 20px;display:block}.brand{font-size:13px}.mark.small{width:33px;height:33px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:6px;margin-top:20px}.nav-item{width:auto;min-width:max-content;padding:10px;font-size:12px;gap:6px}.main{margin:0;padding:26px 20px}header{margin-bottom:25px}h1{font-size:26px}.header-actions button{font-size:10px;padding:9px}.stats{gap:8px;margin-bottom:25px}.stat{padding:16px 12px}.stat strong{font-size:26px}.stat p{font-size:10px}.stat small{font-size:9px}.section-title button{font-size:11px;padding:10px}.devices{grid-template-columns:1fr}footer{font-size:8px;letter-spacing:.7px}.panel{padding:20px}.consent{margin:20px}.consent h1{font-size:24px}}
@media(max-width:700px){.sidebar-bottom{display:flex;align-items:center;gap:12px;margin:12px 0 0;padding:10px 3px 0;border:0}.sidebar-bottom .host-tag{display:none}.sidebar-bottom p{margin:0;font-size:11px}.sidebar-bottom .quiet{margin-left:auto;font-size:11px}}
.device-actions{flex-wrap:wrap}
