.remote-shell{display:grid;gap:16px}.remote-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:clamp(20px,5vw,44px);border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#0d213b,#07101e)}
.remote-hero img{width:200px;height:200px;object-fit:cover;border-radius:24px;box-shadow:0 18px 50px #0008}.remote-hero h1{margin:.2rem 0;font-size:clamp(2rem,7vw,4rem)}.remote-hero p{max-width:650px;color:var(--muted)}
.remote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:11px}.remote-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#071421}.remote-card h3{margin:0 0 5px}.remote-card small,.muted{color:var(--muted)}
.remote-device-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;text-decoration:none}.remote-dot{width:12px;height:12px;border-radius:50%;background:#e45b67;box-shadow:0 0 0 4px #e45b6722}.remote-dot.online{background:#37d885;box-shadow:0 0 0 4px #37d88522}.remote-device-card strong,.remote-device-card small{display:block}.remote-device-card b{font-size:1.2rem}
.support-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;border-radius:13px;background:#06101d}.support-copy input{min-width:0}.stack-form{display:grid;gap:10px}.stack-form label{display:grid;gap:5px}.stack-form .check{display:flex;align-items:center;gap:8px}.stack-form .check input{width:auto}.support-details{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:13px}.support-details summary{cursor:pointer;font-weight:700;margin-bottom:10px}.remote-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.remote-stats>div{padding:12px;border:1px solid var(--line);border-radius:13px}.remote-stats strong,.remote-stats small{display:block}.remote-stats strong{font-size:1.5rem}.remote-table{display:grid;gap:7px}.remote-event{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 12px;border-radius:11px;background:#071421}.remote-event small{color:var(--muted)}
.remote-device-mini{display:grid;gap:7px;margin:10px 0}.remote-device-mini a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 9px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:11px;text-decoration:none}.remote-device-mini small{grid-column:2;color:var(--muted)}
.device-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px}.device-facts>div{padding:11px;border-radius:11px;background:#071421}.device-facts small,.device-facts strong{display:block}.device-facts small{color:var(--muted)}.remote-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.remote-tabs a{white-space:nowrap;padding:8px 12px;border:1px solid var(--line);border-radius:999px;text-decoration:none}.danger-action{border-color:#8e3543!important;color:#ff9dab!important}.software-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.software-actions form{display:flex;flex-wrap:wrap;gap:6px}.software-actions input{max-width:160px}.file-hash{overflow-wrap:anywhere;font-family:monospace;font-size:.7rem}.empty-library{text-align:center;padding:30px;border:1px dashed var(--line);border-radius:16px;color:var(--muted)}
.controller-credentials{display:grid;gap:10px;margin:12px 0}.controller-credentials>label{display:grid;gap:5px}.controller-credentials>label>span:first-child{font-weight:700}.controller-credentials input{font-family:monospace}
.component-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.component-card{display:grid;align-content:start;gap:10px}.component-card form,.component-card button{width:100%}.status-pill{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#24364d}.status-pill.ok{background:#123d2c;color:#6cf0aa}.error-text{color:#ff9dab;overflow-wrap:anywhere}.compact-list{display:grid;gap:6px;max-height:360px;overflow:auto}.compact-list>div{display:grid;padding:9px 10px;border-radius:10px;background:#071421}.compact-list small{color:var(--muted)}.inventory-json{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;border-radius:10px;background:#06101d;color:var(--muted);font-size:.78rem}.settings-form{max-width:720px}.alert-error,.alert-update{border-left:3px solid #ff7d8b}.alert-disk{border-left:3px solid #f4c85a}.alert-offline{border-left:3px solid #8ea2bd}
@media(max-width:650px){.remote-hero{grid-template-columns:1fr}.remote-hero img{width:145px;height:145px;grid-row:1}.remote-grid,.component-grid{grid-template-columns:1fr}.remote-device-card{grid-template-columns:auto minmax(0,1fr)}.remote-device-card b{display:none}.support-copy{grid-template-columns:1fr}.support-copy .button{width:100%}.remote-stats{grid-template-columns:1fr 1fr}.remote-event{grid-template-columns:1fr}.software-actions form,.software-actions input,.software-actions button{width:100%;max-width:none}}
