.ro-cf-wrapper {
    max-width: 750px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    box-sizing: border-box;
}
.ro-cf-title { margin: 0 0 4px 0 !important; font-size: 24px; font-weight: 700; text-align: center; }
.ro-cf-subtitle { margin: 0 0 25px 0 !important; font-size: 14px; text-align: center; }

/* Dashboard layout splitting controls form and graphical preview panels */
.ro-cf-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 25px;
    margin-bottom: 25px;
}

@media(max-width: 650px) {
    .ro-cf-dashboard-grid { grid-template-columns: 1fr; }
}

.ro-cf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.ro-cf-field { display: flex; flex-direction: column; }
.ro-cf-field label { font-size: 11px; font-weight: 600; text-transform: uppercase; margin-bottom: 6px; letter-spacing: 0.5px; opacity: 0.9; }

.ro-cf-controls-panel select,
.ro-cf-controls-panel input[type="number"] {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.2);
    color: inherit;
    font-size: 14px;
}
.ro-cf-controls-panel select option { background: #1e1b4b; color: #fff; }

/* Conductor inventory list stacking style rules */
.ro-cf-wire-adder-box { background: rgba(255,255,255,0.04); padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); margin-bottom: 20px; }
.ro-cf-wire-adder-box h5 { margin: 0 0 10px 0 !important; font-size: 12px; text-transform: uppercase; opacity: 0.8; }
.ro-cf-adder-row { display: grid; grid-template-columns: 1fr 70px 45px; gap: 10px; }

#ro-cf-add-wire-btn {
    border: none; color: #000; font-size: 20px; font-weight: 700; border-radius: 6px; cursor: pointer; transition: opacity 0.2s;
}
#ro-cf-add-wire-btn:hover { opacity: 0.9; }

.ro-cf-inventory-container h6 { margin: 0 0 8px 0 !important; font-size: 11px; text-transform: uppercase; opacity: 0.6; }
.ro-cf-wire-list-group { list-style: none; padding: 0; margin: 0; max-height: 120px; overflow-y: auto; }
.ro-cf-wire-item {
    display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.15);
    padding: 6px 12px; border-radius: 4px; margin-bottom: 5px; font-size: 13px; border-left: 3px solid #3b82f6;
}
.ro-cf-remove-wire { background: transparent; border: none; color: #ef4444; cursor: pointer; font-weight: 700; font-size: 14px; }

/* Vector Graphical Blueprint Rendering Classes */
.ro-cf-blueprint-box {
    background: rgba(0,0,0,0.4); border-radius: 10px; padding: 15px; border: 1px solid rgba(255,255,255,0.08); aspect-ratio: 1/1;
}
.bp-conduit-outer { fill: #334155; stroke: #475569; stroke-width: 2; }
.bp-conduit-inner { fill: #020617; stroke: #1e293b; stroke-width: 2; transition: fill 0.3s; }
.bp-safety-limit-line { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 1.5; }
.bp-label { fill: rgba(255,255,255,0.4); font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.bp-center-pct { fill: #fff; font-size: 24px; font-weight: 800; font-family: monospace; transition: fill 0.3s; }

/* Dynamic Wire Colors Injected within the Vector Pipeline */
.bp-wire-el { fill: #f59e0b; stroke: #b45309; stroke-width: 1; opacity: 0.85; }

/* Analytics output block rules */
.ro-cf-results-panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; background: rgba(0,0,0,0.2); padding: 20px; border-radius: 8px;
}
.ro-cf-stat-card { text-align: center; }
.ro-cf-stat-card small { font-size: 11px; text-transform: uppercase; opacity: 0.7; display: block; margin-bottom: 5px; }
.ro-cf-val { font-size: 24px; font-weight: 700; font-family: monospace; }

.ro-cf-alert-banner { margin-top: 10px; padding: 4px 12px; font-size: 11px; font-weight: 700; border-radius: 20px; text-transform: uppercase; display: inline-block; }
.ro-cf-alert-banner.empty { background: #475569; color: #fff; }
.ro-cf-alert-banner.safe { background: #10b981; color: #fff; }
.ro-cf-alert-banner.overload { background: #ef4444; color: #fff; animation: roPulse 1.5s infinite; }

@keyframes roPulse { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } }
.ro-cf-credit { text-align: center; margin-top: 20px; font-size: 11px; text-transform: uppercase; }
