/* /home/ubuntu/.openclaw/apps/admin/admin.css */
:root{font-family:Inter,system-ui,"Microsoft YaHei",sans-serif;color:#172b4d;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}.center{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#0b1f3a,#1464a5)}.card{width:380px;padding:36px;background:#fff;border-radius:14px;box-shadow:0 20px 60px #001b3d55}.card h1{margin:0;font-size:28px}.muted{color:#718096}.card label{display:block;margin:18px 0 8px;font-size:14px;font-weight:600}.card input,.create input,.toolbar>input{width:100%;padding:12px;border:1px solid #d7e0eb;border-radius:8px;margin-top:7px;font-size:15px}.button,button{border:0;border-radius:8px;padding:11px 18px;background:#1677d2;color:white;font-weight:700;cursor:pointer}button{width:100%;margin-top:18px}.error{height:20px;color:#cf334b}.ghost{width:auto;margin:0;background:#eaf3fc;color:#1766a8}.card .muted{margin:6px 0 24px}#app[hidden],#login[hidden]{display:none}header{height:68px;padding:0 6%;display:flex;align-items:center;gap:22px;background:#fff;border-bottom:1px solid #e5edf5}header strong{font-size:19px;margin-right:auto}header span{color:#61758d;font-size:14px}main{max-width:1180px;margin:0 auto;padding:44px 24px}.hero{display:flex;justify-content:space-between;align-items:center}.eyebrow{color:#1677d2;font-size:12px;font-weight:800;letter-spacing:2px}.hero h1{margin:10px 0 5px;font-size:32px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:32px 0}.stat,.panel{background:#fff;border:1px solid #e4ebf3;border-radius:12px;padding:22px;box-shadow:0 5px 20px #17365d0b}.stat span{display:block;color:#718096;font-size:13px}.stat b{display:block;margin-top:12px;font-size:22px}.ok{color:#139447}.danger{color:#cf334b}.panelHead{display:flex;justify-content:space-between;align-items:center}.panel h2{margin:0}.tabs{display:flex;gap:8px;margin:0 0 16px}.tab{width:auto;margin:0;background:#eaf3fc;color:#1766a8}.tab.active{background:#1677d2;color:#fff}.create{display:flex;gap:10px;margin:0;flex:1}.create input{margin:0}.create button{width:auto;margin:0;white-space:nowrap}.toolbar{display:flex;gap:10px;margin:22px 0}.toolbar>input{max-width:260px;margin:0}.tableWrap{overflow:auto}table{width:100%;border-collapse:collapse}.logTableWrap{max-height:420px;overflow-y:auto;overflow-x:auto;border:1px solid #edf1f6;border-radius:8px}.logTableWrap table{min-width:720px}.logTableWrap thead th{position:sticky;top:0;z-index:1;background:#fff;box-shadow:0 1px 0 #edf1f6}.accountLogTableWrap{max-height:360px}th,td{text-align:left;padding:14px;border-bottom:1px solid #edf1f6;font-size:14px;white-space:nowrap}th{color:#718096;font-weight:600}.small{width:auto;margin:0;padding:7px 10px;font-size:12px}.dangerBtn{background:#fff0f1;color:#c6283d}.tabPanel[hidden]{display:none}@media(max-width:700px){.grid{grid-template-columns:repeat(2,1fr)}.toolbar{flex-direction:column}.toolbar>input{max-width:none}.create{flex-direction:column}.create button{width:100%}}
.ai-config-box{background:#f6faff;border:1px solid #dcecfb;border-radius:10px;padding:16px;margin-bottom:20px}.ai-config-box h3{margin:0 0 6px}.ai-config-box .create{margin-top:12px}.ai-config-box input{margin:0}.dateField{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#53677f;font-size:13px;font-weight:600}.dateField input{width:auto}.modal{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#0b1f3a66}.modal[hidden]{display:none}.modalCard{width:min(480px,100%);background:#fff;border-radius:16px;padding:26px;box-shadow:0 20px 70px #001b3d55}.modalWide{width:min(900px,100%)}.modalHead{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modalHead h2{margin:4px 0}.modalClose{width:36px;margin:0;padding:4px;background:#eef4fa;color:#526b86;font-size:25px;line-height:1}.modalCard label{display:block;margin:16px 0 8px;font-weight:600;font-size:14px}.modalCard label input{display:block;width:100%;padding:12px;border:1px solid #d7e0eb;border-radius:8px;margin-top:7px;font-size:15px}.modalCard label input[type=date]{width:auto}.modalActions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.modalActions button{width:auto;margin:0}.modalActions .ghost{background:#eaf3fc;color:#1766a8}

.deviceManagerModal{width:min(680px,100%)}.deviceManagerToolbar{display:flex;gap:10px;margin-bottom:16px}.deviceManagerToolbar input{flex:1;min-width:0;padding:11px 13px;border:1px solid #d7e0eb;border-radius:8px;font-size:14px;outline:none}.deviceManagerToolbar input:focus{border-color:#1677d2;box-shadow:0 0 0 3px #1677d21c}.deviceManagerToolbar button{flex:0 0 auto}.deviceManagerList{display:flex;flex-direction:column;gap:8px;max-height:52vh;overflow:auto}.deviceManagerItem{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e4ebf3;border-radius:9px;background:#fbfdff;cursor:pointer}.deviceManagerItem:hover,.deviceManagerItem:focus{border-color:#1677d2;box-shadow:0 0 0 3px #1677d21c;outline:none}.deviceManagerItemBody{min-width:0;flex:1}.deviceManagerItemName{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;color:#172b4d}.deviceManagerItemId{display:block;margin-top:4px;color:#718096;font:12px ui-monospace,SFMono-Regular,Menlo,monospace}.deviceManagerStatus{flex:0 0 auto;font-size:12px}.deviceCandidateList{display:flex;flex-direction:column;gap:7px;max-height:280px;overflow:auto;margin-top:10px}.deviceCandidate{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0;padding:10px 12px;border:1px solid #e4ebf3;border-radius:8px;background:#fbfdff;color:#172b4d;text-align:left;font-weight:600}.deviceCandidate:hover,.deviceCandidate.selected{border-color:#1677d2;background:#eef7ff}.deviceCandidate small{font-weight:400;color:#139447}.deviceCandidate.bound{color:#718096}.deviceCandidate.bound small{color:#cf334b}.deviceManagerStatus.online{color:#139447}.deviceManagerStatus.offline{color:#cf334b}.deviceManagerRemove{flex:0 0 auto}.deviceManagerEmpty{padding:34px 16px;text-align:center;border:1px dashed #d7e0eb;border-radius:9px;color:#718096}@media(max-width:700px){.deviceManagerToolbar{align-items:stretch}.deviceManagerToolbar button{padding-left:12px;padding-right:12px}.deviceManagerItem{gap:8px}.deviceManagerItemId{font-size:11px}}
