.hardware-bmc{padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}
.redfish-diagnostic{display:grid;gap:16px;margin:18px 0;padding:18px;border:1px solid var(--border);border-radius:12px;min-width:0;line-height:1.55}.redfish-diagnostic p,.redfish-diagnostic ol{margin:0}.redfish-diagnostic ol{padding-left:22px}.redfish-diagnostic li+li{margin-top:8px}.redfish-diagnostic summary{cursor:pointer;padding:4px 0}.redfish-diagnostic-facts{display:grid;gap:10px;margin:16px 0 0}.redfish-diagnostic-facts>div{display:grid;grid-template-columns:minmax(110px,.6fr) minmax(0,1fr);gap:8px 18px}.redfish-diagnostic-facts dt{color:var(--muted)}.redfish-diagnostic-facts dd{margin:0;overflow-wrap:anywhere}.redfish-report{display:grid;gap:10px;min-width:0}.redfish-report textarea{width:100%;min-width:0;box-sizing:border-box;padding:12px;font:12px/1.6 monospace;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;resize:vertical}.redfish-diagnostic-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.redfish-probe:has(.redfish-diagnostic){grid-template-columns:minmax(0,1fr);align-items:start}.redfish-probe:has(.redfish-diagnostic)>button{justify-self:start}.redfish-probe-result .redfish-diagnostic{margin-top:0}@media(max-width:550px){.redfish-diagnostic{padding:14px}.redfish-diagnostic-facts>div{grid-template-columns:minmax(0,1fr);gap:2px}.redfish-diagnostic-actions .button{width:100%}}
.hardware-bmc h3{margin:0 0 10px}.hardware-bmc .form-grid{margin:18px 0 12px}.hardware-bmc p{line-height:1.55}
.redfish-address-grid{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(220px,1.5fr) minmax(140px,.55fr);gap:14px;margin:18px 0 0}.redfish-address-grid .field{min-width:0}.redfish-address-grid input,.redfish-address-grid select{width:100%;min-width:0}.redfish-auth-grid{align-items:end}.redfish-tls-control{min-height:42px;display:flex;align-items:center}.redfish-tls-control .checkbox-line{margin:0}.redfish-http-note,.redfish-tls-note{padding:12px 14px;border:1px solid #b98432;border-radius:10px;color:var(--text);background:color-mix(in srgb,#b98432 8%,var(--surface))}.redfish-probe{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:14px;margin-top:16px}.redfish-probe-result{min-width:0;overflow-wrap:anywhere}.redfish-probe-result.form-error{margin:0}.redfish-probe-ok{display:flex;gap:6px 12px;align-items:baseline;flex-wrap:wrap;margin:0;color:var(--green,#14845f)}.redfish-probe-ok span{color:var(--text)}
.redfish-device-panel{min-width:0}.redfish-device-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.redfish-device-head h2{margin:4px 0 8px}.redfish-device-head p{max-width:760px;line-height:1.55}.redfish-device-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.redfish-device-address{display:grid;grid-template-columns:minmax(150px,max-content) minmax(0,1fr) max-content;align-items:center;gap:10px 18px;margin:22px 0;padding:16px 18px;border:1px solid var(--border);border-radius:12px;background:color-mix(in srgb,var(--accent-soft) 28%,var(--surface))}.redfish-device-address>span:first-child{color:var(--muted);font-size:12px}.redfish-device-address strong{overflow-wrap:anywhere}.redfish-device-panel>.redfish-result{margin-top:0}
.server-layout-preview svg,.sl-variant svg,.redfish-component svg{height:auto}
.server-layout-editor .sl-inspector{max-height:calc(90vh - 170px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:650px){.server-layout-editor .sl-inspector{max-height:none;overflow:visible}}
.server-layout-modal{width:min(1320px,96vw)!important;max-width:1320px!important}.server-layout-editor{--sl-line:var(--line,var(--border))}.sl-note{font-size:13px;line-height:1.5;color:var(--muted);margin:0 0 16px}.sl-variants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sl-variant{display:flex;gap:12px;align-items:center;text-align:left;min-width:0;padding:12px;border:1px solid var(--sl-line);border-radius:12px;background:var(--surface);color:var(--text);cursor:pointer}.sl-variant[aria-pressed=true]{border-color:#439aff;box-shadow:inset 0 0 0 1px #439aff;background:color-mix(in srgb,var(--surface) 90%,#439aff)}.sl-variant svg{width:86px;flex:none}.sl-variant strong,.sl-variant small{display:block}.sl-variant strong{font-size:13px}.sl-variant small{font-size:11px;color:var(--muted);margin-top:5px}.sl-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:16px 0;font-size:12px}.sl-toolbar select,.sl-import select{padding:9px 12px;border:1px solid var(--sl-line);border-radius:8px;color:var(--text);background:var(--surface)}[data-sl-status]{margin-left:auto;color:var(--muted)}.sl-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.sl-scene{min-width:0}.server-layout-preview{margin:0}.server-layout-preview svg{width:100%;display:block}.sl-component{cursor:pointer;outline:none}.sl-component:hover .sl-hit,.sl-component:focus .sl-hit{stroke:#6eb7ff;stroke-width:3;fill:#30607b}.sl-inspector{position:sticky;top:0;padding:16px;border:1px solid var(--sl-line);border-radius:12px;background:var(--surface)}.sl-component-editor h3{margin:0 0 16px}.sl-component-editor .field{margin-bottom:12px}.sl-component-editor .field input,.sl-component-editor .field select{min-width:0;width:100%}.sl-list{margin-top:18px;border-top:1px solid var(--sl-line);padding-top:14px}.sl-list summary,.sl-import summary{cursor:pointer;font-weight:600}.sl-component-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:200px;overflow:auto;margin-top:12px}.sl-component-list button{min-width:0;text-align:left;border:1px solid var(--sl-line);border-radius:8px;padding:8px;background:var(--surface);color:var(--text);cursor:pointer}.sl-component-list .selected{border-color:#439aff;background:color-mix(in srgb,var(--surface) 88%,#439aff)}.sl-component-list span,.sl-component-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sl-component-list small{color:var(--muted);font-size:10px;margin-top:3px}.sl-import{margin-top:20px;padding:16px;border:1px solid var(--sl-line);border-radius:12px}.sl-import p{font-size:13px;line-height:1.5}.sl-import button{margin-left:10px}@media(max-width:900px){.sl-workspace{grid-template-columns:minmax(0,1fr) 270px}.sl-variant{display:block}.sl-variant svg{width:70px;margin-bottom:8px}}@media(max-width:650px){.sl-workspace{grid-template-columns:1fr}.sl-inspector{position:static}.sl-variants{grid-template-columns:1fr}.sl-variant{display:flex}.sl-variant svg{margin:0}.sl-import button{margin:10px 0 0}}
.redfish-component-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.redfish-component{border:1px solid var(--border);border-radius:12px;padding:12px;min-width:0}.redfish-component summary{cursor:pointer}.redfish-component svg{width:100%;display:block;margin-bottom:8px}.redfish-component strong,.redfish-component small{display:block;overflow-wrap:anywhere;margin-top:5px}.redfish-component small,.redfish-component dt{color:var(--muted);font-size:12px}.redfish-component dd{margin:4px 0 12px;overflow-wrap:anywhere}.redfish-components{margin:24px 0}.redfish-components>p{line-height:1.5}
.redfish-details{max-width:850px;margin:auto}.redfish-details>p{line-height:1.55;overflow-wrap:anywhere}
.redfish-result{margin-top:22px}.redfish-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:18px;border:1px solid var(--border);border-radius:12px}
.redfish-facts div{min-width:0}.redfish-facts dt{font-size:12px;color:var(--muted)}.redfish-facts dd{margin:5px 0 0;overflow-wrap:anywhere;font-weight:600}
@media(max-width:780px){.redfish-address-grid{grid-template-columns:1fr 1fr}.redfish-address-grid .field:nth-child(2){grid-column:1/-1;grid-row:1}.redfish-device-head{display:block}.redfish-device-actions{justify-content:flex-start;margin-top:16px}.redfish-device-address{grid-template-columns:1fr max-content}.redfish-device-address strong{grid-column:1/-1;grid-row:2}.redfish-probe{grid-template-columns:1fr;align-items:start}.redfish-probe .button{justify-self:start}}
@media(max-width:600px){.redfish-address-grid{grid-template-columns:1fr}.redfish-address-grid .field:nth-child(2){grid-column:auto;grid-row:auto}.redfish-facts{grid-template-columns:1fr}.redfish-device-address{grid-template-columns:1fr}.redfish-device-address strong{grid-column:auto;grid-row:auto}.redfish-device-address .tag{justify-self:start}.redfish-device-actions .button{width:100%}}
