/* =================================================================
 * Custom Rack Builder
 * /build/rack visual mockup styles
 * ================================================================= */

.rb-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 1rem 4rem;
    color: #1f2937;
}

.rb-header {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.rb-header-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-end;
    justify-content: space-between;
}

.rb-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.rb-subtitle {
    font-size: 0.95rem;
    color: #4b5563;
    max-width: 70ch;
    margin: 0;
}

.rb-header-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}

.rb-control {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rb-control-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.rb-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    font-size: 0.95rem;
    min-width: 18rem;
}

.rb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rb-btn-secondary {
    background: #fff;
    border-color: #d1d5db;
    color: #1f2937;
}

.rb-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

/* ----- Three-pane layout ----- */
.rb-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr) 320px;
    gap: 1rem;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .rb-layout {
        grid-template-columns: 1fr;
    }
}

.rb-pane {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    min-height: 500px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ----- Catalog (left pane) ----- */
.rb-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
}

.rb-tab {
    flex: 1 0 auto;
    padding: 0.4rem 0.6rem;
    border: 1px solid transparent;
    border-radius: 0.4rem;
    background: transparent;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.rb-tab.is-active {
    background: #f3e8ff;
    color: #6b21a8;
    border-color: #d8b4fe;
}

.rb-tab-panel {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.rb-tab-panel.is-active {
    display: flex;
}

.rb-tile {
    display: flex;
    gap: 0.6rem;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    cursor: grab;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rb-tile:hover,
.rb-tile:focus {
    border-color: #a78bfa;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.15);
    outline: none;
}

.rb-tile:active {
    cursor: grabbing;
}

.rb-tile-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 0.4rem;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #6b7280;
    font-size: 0.7rem;
    font-weight: 700;
}

.rb-tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-tile-thumb-empty::before {
    content: '?';
    color: #9ca3af;
    font-weight: 700;
    font-size: 1.5rem;
}

.rb-tile-u {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(17, 24, 39, 0.8);
    color: #fff;
    font-size: 0.65rem;
    padding: 1px 4px;
    border-radius: 0.25rem;
    font-weight: 700;
}

.rb-tile-body {
    flex: 1;
    min-width: 0;
}

.rb-tile-name {
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.rb-tile-notes {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
}

.rb-tile-warn {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.25;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 4px;
    padding: 2px 6px;
    font-weight: 600;
}

.rb-tile-price {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #065f46;
}

.rb-tile-pill {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    line-height: 1.2;
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 600;
}

.rb-tile-pill-bto {
    color: #1e3a8a;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

.rb-empty {
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    padding: 1.5rem 0;
}

/* ----- Rack frame (center pane) ----- */
.rb-rack-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.rb-rack-empty {
    text-align: center;
    color: #9ca3af;
    padding: 3rem 1rem;
}

.rb-rack-frame {
    background: #1f2937;
    border-radius: 0.75rem;
    padding: 1rem;
    width: 100%;
    max-width: 580px;
    color: #f9fafb;
    box-shadow: inset 0 0 0 4px #111827, 0 6px 14px rgba(0, 0, 0, 0.25);
}

.rb-rack-name {
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0.6rem;
}

/* Frame row holds side rails + central U slots */
.rb-rack-frame-row {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    gap: 6px;
    align-items: stretch;
}

/* Vertical 0U PDU side rails — outside the U area, like real racks */
.rb-rack-rail {
    background: #0b1220;
    border: 1px solid #374151;
    border-radius: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 2px;
    min-height: 100%;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.rb-rack-rail.rb-u-drop-target {
    background: #4c1d95;
    border-color: #a78bfa;
}

.rb-rail-label {
    color: #6b7280;
    font-size: 0.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.rb-rail-track {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
}

/* PDU strip rendered on a side rail */
.rb-rail-pdu {
    flex: 1;
    background: linear-gradient(180deg, #d97706, #b45309);
    border-radius: 3px;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    text-align: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 8px 2px;
    cursor: grab;
    border: 1px solid #92400e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
    position: relative;
}

.rb-rail-pdu:hover {
    filter: brightness(1.1);
}

.rb-rail-pdu .rb-placed-remove {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    writing-mode: horizontal-tb;
}

.rb-rack-units {
    display: flex;
    flex-direction: column-reverse; /* U1 at bottom — rack convention */
    gap: 1px;
    background: #111827;
    border-radius: 0.4rem;
    padding: 4px;
}

.rb-u-slot {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: stretch;
    height: 18px;
    background: #374151;
    border-radius: 2px;
    transition: background 0.15s;
}

.rb-u-slot.rb-u-drop-target {
    background: #5b21b6;
    outline: 2px dashed #a78bfa;
}

/* Reserved service-clearance zone above clearance-blocking gear (e.g. folding KVMs). */
.rb-clearance-zone {
    position: absolute;
    left: 28px;
    right: 6px;
    background: repeating-linear-gradient(
        45deg,
        rgba(252, 211, 77, 0.18),
        rgba(252, 211, 77, 0.18) 6px,
        rgba(146, 64, 14, 0.28) 6px,
        rgba(146, 64, 14, 0.28) 12px
    );
    border: 1px dashed #f59e0b;
    border-radius: 3px;
    color: #fde68a;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}

.rb-u-slot-label {
    background: #111827;
    color: #9ca3af;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #1f2937;
    border-radius: 2px 0 0 2px;
}

.rb-u-slot-rail {
    background: repeating-linear-gradient(
        45deg,
        #4b5563 0,
        #4b5563 6px,
        #374151 6px,
        #374151 12px
    );
    border-radius: 0 2px 2px 0;
}

/* Placed item spans multiple U slots; absolute-positioned overlay. */
.rb-placed {
    position: absolute;
    left: 36px;
    right: 4px;
    background: linear-gradient(180deg, #4f46e5, #4338ca);
    color: #fff;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.1s, box-shadow 0.15s;
}

.rb-placed:hover {
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.45);
}

.rb-placed[data-kind="ups"]    { background: linear-gradient(180deg, #059669, #047857); }
.rb-placed[data-kind="pdu"]    { background: linear-gradient(180deg, #d97706, #b45309); }
.rb-placed[data-kind="switch"] { background: linear-gradient(180deg, #2563eb, #1d4ed8); }
.rb-placed[data-kind="server"] { background: linear-gradient(180deg, #4f46e5, #4338ca); }
.rb-placed[data-kind="blade_enclosure"] {
    background: linear-gradient(180deg, #7c3aed, #5b21b6);
    border: 1px solid #c4b5fd;
}

.rb-placed-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-placed-remove {
    background: rgba(0, 0, 0, 0.25);
    border: none;
    color: #fff;
    border-radius: 2px;
    padding: 0 6px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
}

.rb-placed-remove:hover {
    background: rgba(220, 38, 38, 0.8);
}

/* Rack-units container needs relative positioning so .rb-placed overlays
 * the underlying U slots. */
#rb-rack-units {
    position: relative;
}

/* ----- Bill of materials (right pane) ----- */
.rb-bom-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.rb-bom-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 50vh;
    overflow-y: auto;
}

.rb-bom-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    background: #f9fafb;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    border: 1px solid #f3f4f6;
}

.rb-bom-row strong {
    color: #4b5563;
    font-weight: 600;
}

.rb-bom-summary {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.rb-bom-summary div {
    padding: 0.5rem;
    background: #f3e8ff;
    border-radius: 0.4rem;
}

.rb-bom-summary span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b21a8;
    font-weight: 700;
}

.rb-bom-summary strong {
    display: block;
    font-size: 1rem;
    color: #4c1d95;
    font-weight: 700;
    margin-top: 0.15rem;
}

/* ----- Blade enclosure modal ----- */
.rb-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-modal[hidden] {
    display: none;
}

.rb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.rb-modal-panel {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    width: min(700px, 92vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.rb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.rb-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.rb-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
}

.rb-modal-body {
    padding: 1rem 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.rb-modal-help {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0 0 0.75rem;
}

.rb-modal-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.rb-bay-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    background: #1f2937;
    padding: 8px;
    border-radius: 0.5rem;
}

.rb-bay {
    aspect-ratio: 1 / 2;
    background: #374151;
    color: #f9fafb;
    border-radius: 3px;
    border: 1px solid #4b5563;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    padding: 4px 2px;
    transition: background 0.15s, border-color 0.15s;
}

.rb-bay:hover {
    background: #4338ca;
    border-color: #6366f1;
}

.rb-bay.is-populated {
    background: linear-gradient(180deg, #4f46e5, #4338ca);
    border-color: #818cf8;
}

.rb-bay-num {
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.rb-bay-content {
    font-size: 0.55rem;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rb-blade-picker {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.rb-blade-picker h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.rb-blade-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

.rb-blade-option {
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-size: 0.85rem;
}

.rb-blade-option:hover {
    border-color: #a78bfa;
    background: #faf5ff;
}

.rb-blade-option-clear {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}

/* ----- Print styles ----- */
@media print {
    .rb-pane-catalog,
    .rb-header-controls,
    .rb-placed-remove {
        display: none !important;
    }
    .rb-layout {
        grid-template-columns: 1fr 1fr;
    }
    body { background: #fff; }
}

/* ============ Power Summary panel ============ */
.rb-power {
    border: 1px solid #c7d2fe;
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 60%);
    border-radius: 10px;
    padding: 0.85rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(67, 56, 202, 0.06);
}
.rb-power-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.5rem;
}
.rb-power-title {
    margin: 0; font-size: 0.95rem; font-weight: 700; color: #3730a3;
    letter-spacing: 0.02em; text-transform: uppercase;
}
.rb-power-status {
    font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
    background: #e5e7eb; color: #374151; text-transform: uppercase; letter-spacing: 0.04em;
}
.rb-power-status.is-good { background: #d1fae5; color: #065f46; }
.rb-power-status.is-warn { background: #fef3c7; color: #92400e; }
.rb-power-status.is-bad  { background: #fee2e2; color: #991b1b; }

.rb-power-bar-wrap { margin-bottom: 0.65rem; }
.rb-power-bar {
    position: relative; height: 10px; border-radius: 999px;
    background: #e5e7eb; overflow: hidden;
}
.rb-power-bar-fill {
    height: 100%; transition: width 200ms ease;
    background: linear-gradient(90deg, #10b981 0%, #facc15 70%, #ef4444 100%);
}
.rb-power-bar-marker {
    position: absolute; top: -2px; bottom: -2px; width: 0;
    border-left: 2px dashed #6366f1;
}
.rb-power-bar-legend {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 4px; font-size: 0.7rem; color: #4b5563;
}
.rb-power-bar-ceiling { color: #6366f1; font-weight: 600; }

.rb-power-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
    margin-bottom: 0.65rem;
}
.rb-power-cell {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
    padding: 0.45rem 0.55rem; display: flex; flex-direction: column;
    min-height: 60px;
}
.rb-power-cell > span {
    font-size: 0.65rem; color: #6b7280; text-transform: uppercase;
    letter-spacing: 0.04em; font-weight: 600;
}
.rb-power-cell > strong {
    font-size: 1rem; color: #111827; font-weight: 700; margin-top: 2px;
}
.rb-power-cell > small {
    font-size: 0.7rem; color: #6b7280; margin-top: auto;
}
.rb-power-cell-runtime {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, #fef3c7 0%, #ffffff 80%);
    border-color: #fcd34d;
}
.rb-power-cell-runtime > strong { color: #92400e; }

/* Chain validation */
.rb-chain { margin-top: 0.5rem; }
.rb-chain-title {
    margin: 0 0 0.35rem; font-size: 0.8rem; font-weight: 700;
    color: #3730a3; text-transform: uppercase; letter-spacing: 0.04em;
}
.rb-chain-block { margin-bottom: 0.5rem; }
.rb-chain-block h4 {
    margin: 0.25rem 0; font-size: 0.72rem; font-weight: 600;
    color: #4b5563; text-transform: uppercase; letter-spacing: 0.03em;
}
.rb-chain-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 3px;
}
.rb-chain-list li {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 8px; border-radius: 6px;
    font-size: 0.78rem; background: #f9fafb; border: 1px solid #e5e7eb;
}
.rb-chain-list li .rb-chain-icon {
    flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700; color: #fff;
}
.rb-chain-list li .rb-chain-text { flex: 1 1 auto; }
.rb-chain-list li .rb-chain-delta { font-weight: 700; font-size: 0.75rem; }
.rb-chain-ok   { background: #ecfdf5 !important; border-color: #a7f3d0 !important; color: #065f46; }
.rb-chain-ok   .rb-chain-icon { background: #10b981; }
.rb-chain-warn { background: #fffbeb !important; border-color: #fde68a !important; color: #92400e; }
.rb-chain-warn .rb-chain-icon { background: #f59e0b; }
.rb-chain-bad  { background: #fef2f2 !important; border-color: #fecaca !important; color: #991b1b; }
.rb-chain-bad  .rb-chain-icon { background: #ef4444; }
.rb-chain-empty { color: #9ca3af; font-style: italic; }

/* Equations dropdown */
.rb-power-equations { margin-top: 0.4rem; }
.rb-power-equations summary {
    cursor: pointer; font-size: 0.72rem; color: #6366f1;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.rb-power-eq-list {
    list-style: none; margin: 0.4rem 0 0; padding: 0.4rem 0.6rem;
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px;
    font-size: 0.74rem; color: #374151;
}
.rb-power-eq-list li { padding: 2px 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Drag ghost */
.rb-placed-dragging { opacity: 0.4; }

/* Vertical PDU on rail */
.rb-rail-pdu {
    margin: 4px 2px;
    padding: 4px 2px; border-radius: 4px;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    color: #fff; font-size: 0.6rem; font-weight: 700;
    writing-mode: vertical-rl; transform: rotate(180deg);
    text-align: center; cursor: grab; min-height: 80px;
    border: 1px solid #b45309;
    position: relative;
}
.rb-rail-pdu .rb-rail-pdu-remove {
    position: absolute; top: 2px; right: 2px;
    transform: rotate(180deg);
    background: rgba(0,0,0,0.3); color: #fff; border: 0;
    width: 14px; height: 14px; border-radius: 50%;
    font-size: 0.7rem; line-height: 1; cursor: pointer;
    writing-mode: horizontal-tb;
}
.rb-rack-rail.is-drop-target .rb-rail-track {
    background: rgba(99, 102, 241, 0.25);
    outline: 2px dashed #6366f1;
}

.rb-placed-build {
    margin-left: auto; margin-right: 4px;
    padding: 1px 8px; border-radius: 999px;
    background: #4f46e5; color: #fff !important;
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em;
    text-decoration: none; cursor: pointer;
    border: 1px solid #4338ca;
}
.rb-placed-build:hover { background: #4338ca; }
