.hardware-ports>p{margin:12px 0 20px}.hardware-port-rows{display:grid;gap:16px}.hardware-port-row{display:grid;grid-template-columns:32px minmax(100px,1.2fr) repeat(3,minmax(100px,1fr));gap:16px;align-items:center;padding:16px;border:1px solid var(--border);border-radius:12px}.hardware-port-row .field{min-width:0}.hardware-interface-list{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.hardware-interface-list .badge{white-space:normal;overflow-wrap:anywhere}@media(max-width:640px){.hardware-port-row{grid-template-columns:1fr 1fr}.hardware-port-row>strong{grid-column:1/-1}}
.hardware-catalog-fields{padding:16px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface-solid) 70%,transparent)}.hardware-catalog-fields>h3{margin:0 0 14px}.hardware-catalog-fields[data-passive="true"]{border-color:color-mix(in srgb,var(--accent) 45%,var(--border));box-shadow:inset 3px 0 0 var(--accent)}.catalog-not-applicable input{color:var(--muted);background:color-mix(in srgb,var(--surface-solid) 70%,transparent)}.hardware-model-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px}.hardware-variant-editor{padding:14px;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--border));border-radius:12px;background:color-mix(in srgb,var(--accent-soft) 55%,var(--surface-solid))}.hardware-variant-heading,.hardware-variant-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.hardware-variant-heading p{margin:4px 0 12px;color:var(--muted)}.hardware-variant-footer{align-items:center;margin-top:12px}.hardware-profile-summary{margin:0 0 18px;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--surface-solid)}.hardware-profile-summary h3{margin:0 0 10px}.hardware-profile-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.hardware-profile-summary dl div{min-width:0}.hardware-profile-summary dt{font-size:10px;color:var(--muted)}.hardware-profile-summary dd{margin:3px 0 0;overflow-wrap:anywhere}.catalog-addressless-note{display:flex;align-items:flex-start;gap:14px;padding:18px;grid-column:1/-1}.catalog-addressless-note>svg{width:26px;height:26px;flex:0 0 auto;color:var(--accent)}.catalog-addressless-note strong{display:block}.catalog-addressless-note p{margin:6px 0 0;color:var(--muted);line-height:1.5}@media(max-width:640px){.hardware-model-actions,.hardware-variant-heading,.hardware-variant-footer{align-items:stretch;flex-direction:column}.hardware-profile-summary dl{grid-template-columns:1fr}}
.hardware-layout-field{display:grid;gap:12px}.hardware-layout-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.hardware-layout-heading>div{display:grid;gap:5px}.hardware-layout-heading small{min-height:16px}.hardware-layout-recommendation{flex:none;padding:5px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:650}.hardware-layout-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:11px}.hardware-layout-card{position:relative;display:grid;grid-template-rows:128px auto;min-width:0;padding:0;overflow:hidden;text-align:left;color:var(--text);border:1px solid var(--border);border-radius:12px;background:var(--surface-solid);transition:border-color .15s,box-shadow .15s,transform .15s}.hardware-layout-card:hover{border-color:color-mix(in srgb,var(--accent) 58%,var(--border));transform:translateY(-1px)}.hardware-layout-card.selected{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 20%,transparent)}.hardware-layout-card-preview{display:grid;place-items:center;min-width:0;padding:10px;background:#091621;overflow:hidden}.hardware-layout-card-preview .rack-detail-svg{display:block;width:100%;height:100%;max-height:108px}.hardware-layout-card-copy{display:grid;align-content:start;gap:5px;padding:11px 12px 13px}.hardware-layout-card-copy strong,.hardware-layout-card-copy small{display:block;overflow-wrap:anywhere}.hardware-layout-card-copy small{color:var(--muted);line-height:1.35}.hardware-layout-card-badges{position:absolute;left:8px;top:8px;display:flex;flex-wrap:wrap;gap:5px}.hardware-layout-card-badges em{padding:3px 6px;border:1px solid #6faeff80;border-radius:999px;background:#10283bdd;color:#a9d4ff;font-size:9px;font-style:normal;font-weight:700;text-transform:uppercase}.hardware-interface-summary{display:grid;gap:12px;margin:16px 0}.hardware-interface-summary>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.hardware-interface-summary>header strong{font-size:14px}.hardware-interface-summary>header span{display:grid;place-items:center;min-width:30px;height:26px;border-radius:8px;background:var(--accent-soft);color:var(--accent);font-weight:700}.hardware-interface-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.hardware-interface-group{min-width:0;padding:11px;border:1px solid var(--border);border-radius:11px;background:var(--surface-solid)}.hardware-interface-group>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.hardware-interface-group>header strong{font-size:12px}.hardware-interface-group>header span{color:var(--muted);font-size:11px}.hardware-interface-chips{display:flex;flex-wrap:wrap;gap:6px}.hardware-interface-chip{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;max-width:100%;padding:6px 7px;border:1px solid var(--border);border-radius:7px;background:color-mix(in srgb,var(--accent-soft) 35%,var(--surface-solid))}.hardware-interface-chip b{display:grid;place-items:center;min-width:21px;height:19px;border-radius:5px;background:var(--accent-soft);color:var(--accent);font-size:10px}.hardware-interface-chip span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.hardware-interface-chip small{grid-column:2;color:var(--muted);font-size:9px}.hardware-interface-more{align-self:center;color:var(--muted);font-size:11px}.hardware-interface-summary-note{margin:0;color:var(--muted);font-size:11px}@media(max-width:640px){.hardware-layout-heading{align-items:stretch;flex-direction:column}.hardware-layout-recommendation{align-self:flex-start}.hardware-layout-preview{grid-template-columns:1fr}.hardware-interface-groups{grid-template-columns:1fr}}
.modal:has(.hardware-variant-editor:not([hidden])){width:min(1180px,100%)}
.hardware-appearance-actions{display:none}
.modal:has(.hardware-variant-editor:not([hidden])) .modal-footer>:not(.hardware-appearance-actions),.modal:has(.hardware-variant-editor:not([hidden])) .modal-body>.form-grid>:not(.hardware-catalog-fields),.hardware-catalog-fields:has(.hardware-variant-editor:not([hidden]))>h3,.hardware-catalog-fields:has(.hardware-variant-editor:not([hidden]))>.form-grid>:not(.hardware-variant-editor){display:none}
.modal:has(.hardware-variant-editor:not([hidden])) .hardware-appearance-actions{display:flex;gap:10px;flex-wrap:wrap}
.hardware-catalog-fields:has(.hardware-variant-editor:not([hidden])){padding:0;border:0;background:none}
.device-wizard.wizard-v3:has(.hardware-variant-editor:not([hidden])) .modal-body{display:block;padding:22px 24px}
.device-wizard:has(.hardware-variant-editor:not([hidden])) .wizard-nav,.device-wizard:has(.hardware-variant-editor:not([hidden])) .wizard-model>h3,.device-wizard:has(.hardware-variant-editor:not([hidden])) .wizard-model>p{display:none}
.hardware-layout-selected{display:grid;gap:10px;grid-column:1/-1;margin:4px 0 12px}
.hardware-layout-selected-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hardware-layout-selected-heading>div{display:flex;gap:5px;flex-shrink:0}
.hardware-layout-selected-heading [aria-pressed="true"]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.hardware-layout-selected-image{display:grid;place-items:center;min-height:150px;padding:20px;border-radius:12px;background:#091621}
.hardware-layout-selected-image svg{display:block;width:100%;max-height:240px}
.hardware-layout-selected p{margin:0;line-height:1.5}
.hardware-layout-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:640px){.hardware-layout-selected-heading{align-items:flex-start;flex-direction:column}.hardware-layout-recommendation{white-space:normal;max-width:100%}}
.hardware-port-quick{flex-wrap:wrap;gap:8px;margin:0 0 12px}
.hardware-port-row [hidden],.hardware-port-quick [hidden]{display:none}
@media(min-width:1050px){.hardware-ports .hardware-port-row{grid-template-columns:32px minmax(90px,1.2fr) repeat(4,minmax(92px,1fr))}}
