/* profile-slot-extras.css — Swizzle / MiniSAS por slot en Rack Profile Manager (2026-10-24) */
.profile-extras-row.pse-hidden-checks { display: none !important; }
.pse-picker[hidden] { display: none !important; }

.pse-modes { border: 1px dashed #c9cdd6; border-radius: 6px; padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pse-mode-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pse-mode-label { font-weight: 700; font-size: 14px; color: #222; min-width: 140px; }
.pse-mode-label small { font-weight: 400; color: #888; }
.pse-seg { display: inline-flex; background: #eef0f4; border-radius: 999px; padding: 3px; gap: 2px; }
.pse-seg button {
    border: none; background: transparent; color: #555; font-size: 13px; padding: 6px 14px; border-radius: 999px;
    cursor: pointer; width: auto !important; margin: 0 !important; min-height: 32px;
}
.pse-seg button.on { background: #1e5fae; color: #fff; font-weight: 600; }

.pse-picker { border: 1px solid #b8cbe6; background: #f4f8fd; border-radius: 8px; padding: 14px; margin: 14px 0 6px; }
.pse-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pse-title { font-weight: 700; font-size: 14px; color: #222; }
.pse-title small { font-weight: 400; color: #888; margin-left: 6px; }
.pse-count { font-size: 12px; color: #666; }
.pse-count b { color: #222; }
.pse-quick { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.pse-ql { font-size: 12px; color: #777; width: 64px; }
.pse-quick button {
    font-size: 12px; padding: 4px 11px; border: 1px solid #c9cdd6; border-radius: 999px; background: #fff; color: #333;
    cursor: pointer; width: auto !important; margin: 0 !important;
}
.pse-quick button:hover { border-color: #1e5fae; color: #1e5fae; }
.pse-scroll { overflow-x: auto; padding-bottom: 2px; }
.pse-rowlab { font-size: 11px; color: #888; margin: 8px 0 4px; letter-spacing: .3px; font-weight: 600; }
.pse-grid { display: grid; gap: 6px; }
.pse-slot { background: #fff; border: 1px solid #d9dce3; border-radius: 6px; padding: 6px 3px 7px; text-align: center; }
.pse-slot.lit { border-color: #6f9bd6; background: #eaf2fc; }
.pse-num { display: block; font-size: 12px; font-weight: 700; color: #222; margin-bottom: 5px; }
.pse-chip {
    display: inline-block; width: 24px !important; height: 24px; padding: 0 !important; margin: 0 1px !important; line-height: 22px;
    border-radius: 4px; font-size: 11px; font-weight: 700; border: 1px solid #c9cdd6; background: #fff; color: #9aa0a8; cursor: pointer;
}
.pse-chip.pse-swizzle.on { background: #2a78d6; border-color: #2a78d6; color: #fff; }
.pse-chip.pse-minisas.on { background: #1a9a72; border-color: #1a9a72; color: #fff; }
.pse-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #666; margin-top: 12px; }
.pse-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 5px; border: 1px solid #c9cdd6; }
.pse-dot.pse-swizzle { background: #2a78d6; border-color: #2a78d6; }
.pse-dot.pse-minisas { background: #1a9a72; border-color: #1a9a72; }
.pse-empty { font-size: 13px; color: #777; }
.pse-preview-sum { font-size: 12px; color: #777; margin-top: 8px; }

/* ===== Dark mode ===== */
body.dark-mode .pse-modes { border-color: #383d47; }
body.dark-mode .pse-mode-label, body.dark-mode .pse-title, body.dark-mode .pse-num, body.dark-mode .pse-count b { color: #f0f2f5; }
body.dark-mode .pse-mode-label small, body.dark-mode .pse-title small, body.dark-mode .pse-rowlab,
body.dark-mode .pse-ql, body.dark-mode .pse-empty, body.dark-mode .pse-preview-sum { color: #8a919c; }
body.dark-mode .pse-count, body.dark-mode .pse-legend { color: #a0a4ab; }
body.dark-mode .pse-seg { background: #15181d; }
body.dark-mode .pse-seg button { color: #a0a4ab; }
body.dark-mode .pse-seg button.on { background: #1e5fae; color: #fff; }
body.dark-mode .pse-picker { background: #18202c; border-color: #3c5a86; }
body.dark-mode .pse-quick button { background: #252a33; border-color: #3a4250; color: #c3c6cc; }
body.dark-mode .pse-quick button:hover { border-color: #4da3ff; color: #4da3ff; }
body.dark-mode .pse-slot { background: #252a33; border-color: #383d47; }
body.dark-mode .pse-slot.lit { background: #1f2a3a; border-color: #4a6fa5; }
body.dark-mode .pse-chip { background: #1e222a; border-color: #3a4250; color: #6b717c; }
body.dark-mode .pse-chip.pse-swizzle.on { background: #3987e5; border-color: #3987e5; color: #fff; }
body.dark-mode .pse-chip.pse-minisas.on { background: #1aa37a; border-color: #1aa37a; color: #fff; }
body.dark-mode .pse-dot { border-color: #3a4250; }
