.device-panel{margin:0 0 36px;padding:clamp(18px,3vw,32px);border:1px solid #343630;border-radius:18px;background:#181817;color:#f4f3ed}.device-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.device-head h2{font-size:clamp(24px,3.1vw,36px);line-height:1.15;margin:10px 0}.device-head p,.device-confirm p{color:#b9bcb3;max-width:72ch;line-height:1.65}.device-local{font-size:11px;letter-spacing:.12em;white-space:nowrap;color:#d7fa7e;border:1px solid #424b32;border-radius:30px;padding:7px 10px}.device-panel fieldset{border:0;padding:0;margin:0;min-width:0}.device-panel legend{font-size:14px;font-weight:700;margin-bottom:12px}.device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.device-item{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #363830;border-radius:10px;min-width:0;background:#20211e;cursor:pointer}.device-item:focus-within{outline:2px solid #d7fa7e;outline-offset:2px}.device-item input{accent-color:#d7fa7e;width:18px;height:18px;flex:0 0 auto;margin:3px 0 0}.device-item>span:nth-child(2){flex:1;min-width:0}.device-item strong,.device-item small{display:block}.device-item strong{font-size:14px}.device-item small{font-size:12px;color:#b9bcb3;margin-top:5px;line-height:1.5}.device-state{font-size:11px;color:#b9bcb3;white-space:nowrap}.device-state.device-present{color:#d7fa7e}.device-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.device-actions .button{white-space:normal}.device-actions button:disabled{opacity:.45;cursor:not-allowed}.device-panel #deviceStatus{margin-top:12px;color:#b9bcb3;font-size:13px}.device-confirm{border:1px solid #52543e;background:#20211e;padding:20px;border-radius:12px}.device-panel [hidden]{display:none!important}@media(max-width:700px){.device-grid{grid-template-columns:1fr}.device-head{flex-direction:column}.device-actions .button{flex:1 1 130px;justify-content:center}}
