.account-devices-card{grid-column:1/-1;scroll-margin-top:20px}
.account-device-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
.account-devices-card .account-card-heading h2{margin-bottom:12px}
.account-devices-quota{font-weight:600;color:var(--lm-text-strong);margin:0 0 16px}
.account-devices-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.account-device{min-width:0;padding:18px;border:1px solid var(--lm-divider);border-radius:12px;background:var(--lm-page-alt)}
.account-device-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.account-device-heading strong{min-width:0;overflow-wrap:anywhere;font-size:15px;line-height:1.5;color:var(--lm-text-strong)}
.account-device-state{flex:none;border-radius:20px;padding:4px 9px;font-size:12px;background:var(--panel-soft);color:var(--muted)}
.account-device-state[data-online=true]{background:#20845420;color:var(--lm-text-strong)}
.account-device-selected{font-size:12px;color:var(--accent);margin:8px 0 0}
.account-device-meta{display:grid;gap:8px;margin:18px 0 12px;font-size:12px}
.account-device-meta>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px}
.account-device-meta dt{color:var(--muted)}
.account-device-meta dd{margin:0;overflow-wrap:anywhere}
.account-device-id{display:block;font-size:11px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.account-device-unbind{margin-top:16px}
.account-device-share{margin:16px 0 0 10px}
.account-device-share-input{display:flex;gap:10px;margin-top:8px}
.account-device-share-input input{min-width:0;flex:1;width:0}
.account-device-share-input button{flex:none}
.account-device-share-list{list-style:none;margin:16px 0;padding:0;display:grid;gap:12px}
.account-device-share-list li{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}
.account-device-share-list span{min-width:0;overflow-wrap:anywhere}
.account-device-share-list button{flex:none}
.account-device-unbind,.account-device-confirm{color:var(--danger,#cf4258);border-color:var(--lm-divider);background:transparent}
.account-device-unbind:hover,.account-device-confirm:hover{border-color:currentColor}
.account-bind-help{padding:16px;border-radius:10px;background:var(--lm-page-alt);font-size:13px;line-height:1.8;margin-top:16px}
.account-bind-help ol{margin:0 0 10px;padding-left:20px}
.account-devices-card [hidden]{display:none!important}
#accountDevicesStatus:empty{display:none}
.account-device-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:90vh;max-height:90dvh;overflow:auto;border:1px solid var(--lm-divider);border-radius:16px;padding:26px;color:var(--lm-text-strong);background:var(--lm-surface);box-shadow:var(--lm-shadow-float)}
.account-device-dialog::backdrop{background:#0008}
.account-device-dialog h2{font-size:21px;margin:0 0 18px}
.account-device-dialog p{line-height:1.7;font-size:14px;overflow-wrap:anywhere}
.account-device-dialog .dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:20px 0 0}
.account-device-dialog .create-project-status{font-size:13px;min-height:0}
.account-device-dialog [hidden]{display:none!important}
#accountDeviceUnbindId{font-size:12px;color:var(--muted)}
@media(max-width:680px){.account-devices-list{grid-template-columns:minmax(0,1fr)}.account-devices-card .account-card-heading{flex-wrap:wrap}.account-device-actions{margin-bottom:16px}.account-device-dialog{padding:22px 18px}.account-device-unbind{min-height:42px}}
