/* ==========================================================================
   DEPLOY PAGE - procurement nodes in the site's light console language.
   (Spec V4's dark-mode directives are translated into the established
   blueprint-console palette: green = online, orange = compiling.)
   ========================================================================== */

.deploy-main { text-align: left; }

.deploy-head { margin-bottom: 40px; }

.deploy-breadcrumb {
    font-family: var(--font-code);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin: 0 0 10px;
}

.deploy-title {
    display: block;
    font-family: var(--font-code);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    color: var(--dark-teal);
    text-transform: none;
    letter-spacing: -0.02em;
    text-align: left;
    justify-content: flex-start;
    margin: 0 0 14px;
}

.deploy-lede {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* --- Closed-beta recruitment banner: inverted high-contrast panel.
   The orange-left-border .status-notice idiom used elsewhere on the site
   would visually collide with the orange [STATUS: COMPILING...] tags
   already filling this page, so this borrows the site's one other
   high-contrast surface instead (.footer-content / .log-header). --- */

.beta-banner {
    background: var(--dark-teal);
    border-left: 6px solid var(--brand-orange);
    border-radius: 6px;
    padding: 24px 28px;
    margin: 0 0 48px;
}

.beta-banner-alert {
    font-family: var(--font-code);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    margin: 0 0 10px;
}

.beta-banner-copy {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px;
}

.beta-banner-btn {
    display: inline-block;
    font-family: var(--font-code);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--brand-orange);
    padding: 12px 22px;
    border-radius: 4px;
    text-decoration: none;
}

.beta-banner-btn:hover { background: #fff; color: var(--dark-teal); }

.deploy-section { margin-bottom: 56px; }

.deploy-section-title {
    font-family: var(--font-code);
    font-size: 1.05rem;
    color: var(--dark-teal);
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin: 0 0 12px;
}

.deploy-section-title .sec-tag {
    color: var(--brand-orange);
    margin-right: 8px;
}

.deploy-section-title .sec-sub {
    color: var(--text-dim);
    font-weight: 400;
    font-size: 0.85rem;
}

.deploy-section-desc {
    color: var(--text-dim);
    font-size: 1rem;
    margin: 0 0 22px;
}

/* --- Node grid: collapses to a single column on mobile --- */

.deploy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

@media (max-width: 700px) {
    .deploy-grid { grid-template-columns: 1fr; }
}

/* --- Node cards + availability toggle --- */

.deploy-node {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 3px solid #1A7F37;
    border-radius: 6px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.node-active:hover {
    border-color: var(--brand-blue);
    border-left-color: #1A7F37;
    box-shadow: 0 8px 24px rgba(37, 74, 75, 0.08);
}

.node-offline {
    border-left-color: #b5b2aa;
}

/* Offline nodes fade to ~40% per spec - but the status tag stays fully
   readable, so the state itself is never illegible. */
.node-offline .node-name,
.node-offline .node-note,
.node-offline .node-link { opacity: 0.4; }

.node-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.node-name {
    font-family: var(--font-code);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
}

.status-active,
.status-pending {
    font-family: var(--font-code);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.status-active { color: #1A7F37; }
.status-pending { color: var(--brand-orange); }

.node-note {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.node-link {
    font-family: var(--font-code);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-blue);
    text-decoration: none;
    margin-top: 4px;
}

.node-link:hover { color: var(--dark-teal); text-decoration: underline; text-underline-offset: 3px; }

.node-link--disabled {
    color: var(--text-dim);
    pointer-events: none;
    user-select: none;
}

.deploy-footnote {
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    color: var(--text-dim);
}
