/* aurora.css — Selarys Orchestration — Aurora brand identity */
/* Aligned with Syndex/Spectre visual language */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --void: #06070d;
    --deep: #0e1018;
    --surface: #161a24;
    --surface-raised: #1e2232;
    --cyan: #00c8ff;
    --violet: #7850ff;
    --mint: #00ffb4;
    --warning: #ffaa30;
    --error: #ff4466;
    --success: #00ffb4;
    --primary: #00c8ff;
    --text: #e0e8f0;
    --text-secondary: #6a7a8a;
    --text-dim: #3a4a5a;
    --border: rgba(255, 255, 255, 0.06);
    --border-focus: rgba(0, 200, 255, 0.25);
    --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--void);
    color: var(--text);
    line-height: 1.5;
}

/* Ambient background — matches Syndex */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(0, 180, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(120, 80, 255, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(0, 255, 180, 0.015) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Layout */
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* === LOGIN === */
#login-screen {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}
.login-box {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 40px; width: 400px;
    box-shadow: 0 0 60px rgba(0, 200, 255, 0.04);
}
.login-icon { text-align: center; margin-bottom: 16px; }
.login-icon svg { filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.15)); }
.login-box h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    letter-spacing: 6px;
    font-size: 22px;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #00c8ff 0%, #7850ff 50%, #00ffb4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.login-box p { color: var(--text-secondary); margin-bottom: 24px; font-size: 13px; }

/* === NAV === */
.nav {
    background: var(--deep);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 0;
    border-right: 1px solid var(--border);
}
.nav-brand-icon {
    width: 28px;
    height: 28px;
    position: relative;
}
.nav-brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #00c8ff 0%, #7850ff 50%, #00ffb4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-tabs { display: flex; gap: 0; margin-left: 10px; flex: 1; }
.nav-tab {
    padding: 12px 20px; cursor: pointer; color: var(--text-secondary);
    border-bottom: 2px solid transparent; transition: all 0.2s;
    font-size: 13px; font-weight: 500; background: none; border-top: none; border-left: none; border-right: none;
    font-family: 'Inter', sans-serif; letter-spacing: 0.3px;
}
.nav-tab:hover { color: var(--text); }
.nav-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); background: linear-gradient(180deg, transparent 28%, rgba(0,200,255,.14)); box-shadow: 0 10px 22px -12px rgba(0,200,255,.65); }
.nav-user { color: var(--text-secondary); font-size: 13px; display: flex; align-items: center; gap: 10px; }
.nav-user button {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.2) 0%, rgba(120, 80, 255, 0.2) 100%);
    border: 1px solid rgba(0, 200, 255, 0.25); color: var(--cyan);
    padding: 5px 14px; border-radius: var(--radius); cursor: pointer; font-size: 12px;
    font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: 0.3px; transition: all 0.2s;
}
.nav-user button:hover { background: linear-gradient(135deg, rgba(0, 200, 255, 0.3) 0%, rgba(120, 80, 255, 0.3) 100%); border-color: rgba(0, 200, 255, 0.4); box-shadow: 0 0 20px rgba(0, 200, 255, 0.08); color: var(--cyan); }

/* === CONSTELLATION ICON ANIMATIONS === */

/* Slow hexagon rotation — 60s full revolution */
@keyframes hex-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hex-rotate {
    animation: hex-spin 60s linear infinite;
}

/* Node breathing — staggered opacity pulse */
@keyframes node-breathe {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}
.node-breathe { animation: node-breathe 4s ease-in-out infinite; }
.node-d0 { animation-delay: 0s; }
.node-d1 { animation-delay: 0.7s; }
.node-d2 { animation-delay: 1.4s; }
.node-d3 { animation-delay: 2.1s; }
.node-d4 { animation-delay: 2.8s; }
.node-d5 { animation-delay: 3.5s; }

/* Center pulse ring — expanding outward */
@keyframes center-pulse {
    0% { r: 7; opacity: 0.25; }
    50% { r: 13; opacity: 0.05; }
    100% { r: 7; opacity: 0.25; }
}
.center-pulse {
    animation: center-pulse 5s ease-in-out infinite;
}

/* Center glow — gentle brightness pulse */
@keyframes center-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}
.center-glow {
    animation: center-glow 3s ease-in-out infinite;
}

/* === CARDS === */
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 10px; padding: 20px;
    position: relative; z-index: 1;
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { text-align: center; }
.stat-card .stat-value {
    font-size: 32px; font-weight: 600;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card .stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; letter-spacing: 0.5px; }

/* === TABLES === */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 10px 12px; color: var(--text-secondary); font-weight: 600; border-bottom: 1px solid var(--border); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
tr:hover td { background: rgba(0, 200, 255, 0.03); }
tr.clickable { cursor: pointer; }

/* === BADGES === */
.badge {
    display: inline-block; padding: 2px 10px; border-radius: 12px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
}
.badge-gov { background: rgba(255, 68, 102, 0.12); color: var(--error); }
.badge-enterprise { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-commercial { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-healthy { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-degraded { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-offline { background: rgba(255, 68, 102, 0.12); color: var(--error); }
.badge-unknown { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-active { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-registered { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-baselined { background: rgba(120, 80, 255, 0.12); color: var(--violet); }
.badge-deployed { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-decommissioned { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-uploaded { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-signed { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-encrypted { background: rgba(120, 80, 255, 0.12); color: var(--violet); }
.badge-staged { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-installed { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-failed { background: rgba(255, 68, 102, 0.12); color: var(--error); }

/* V1 UI Tier 2 #13 — per-customer device chip */
.customer-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 10px;
    color: var(--violet);
    background: rgba(120, 80, 255, 0.08);
    border: 1px solid rgba(120, 80, 255, 0.25);
    letter-spacing: 0.3px;
}

.customer-chip-untagged {
    color: var(--text-secondary);
    background: rgba(106, 122, 138, 0.08);
    border-color: rgba(106, 122, 138, 0.2);
    font-style: italic;
}

/* V1 UI Tier 2 OP #6 — Onboarding wizard stepper */
.onb-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 4px;
}
.onb-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.onb-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 11px;
}
.onb-step-label { color: var(--text-secondary); }
.onb-step-active .onb-step-num { background: var(--cyan); color: var(--bg); }
.onb-step-active .onb-step-label { color: var(--text); font-weight: 500; }
.onb-step-done .onb-step-num { background: var(--mint); color: var(--bg); }
.onb-step-done .onb-step-label { color: var(--text-secondary); }
.onb-step-pending .onb-step-num { opacity: 0.6; }
.onb-step-sep {
    flex: 1;
    height: 1px;
    background: var(--border);
    min-width: 20px;
}

/* V1 UI Tier 2 OP #12 — bulk import tab styling */
.bulk-tab {
    border-radius: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.bulk-tab.bulk-tab-active {
    border-bottom-color: var(--cyan);
    color: var(--text);
    background: rgba(0, 200, 255, 0.06);
}

/* V1 UI Tier 2 OP #9 + #10 — Package type family pills */
.pkg-type-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', 'Monaco', monospace;
    font-size: 10px;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
}
.pkg-type-evidence-bundle {
    color: #ff9aff;
    background: rgba(255, 154, 255, 0.08);
    border-color: rgba(255, 154, 255, 0.3);
}
.pkg-type-binary {
    color: var(--cyan);
    background: rgba(0, 200, 255, 0.08);
    border-color: rgba(0, 200, 255, 0.25);
}
.pkg-type-config {
    color: var(--warning);
    background: rgba(255, 170, 48, 0.08);
    border-color: rgba(255, 170, 48, 0.25);
}
.pkg-type-model {
    color: var(--violet);
    background: rgba(120, 80, 255, 0.08);
    border-color: rgba(120, 80, 255, 0.3);
}
.pkg-type-firmware {
    color: var(--mint);
    background: rgba(0, 255, 180, 0.08);
    border-color: rgba(0, 255, 180, 0.25);
}
.pkg-type-training-data {
    color: #a064ff;
    background: rgba(160, 100, 255, 0.08);
    border-color: rgba(160, 100, 255, 0.25);
}
.pkg-type-ui {
    color: #00c8ff;
    background: rgba(0, 200, 255, 0.06);
    border-color: rgba(0, 200, 255, 0.2);
}
.pkg-type-other {
    color: var(--text-secondary);
    background: rgba(106, 122, 138, 0.08);
    border-color: rgba(106, 122, 138, 0.2);
}

/* === FORMS === */
input, select, textarea {
    background: var(--void); border: 1px solid var(--border); color: var(--text);
    padding: 8px 12px; border-radius: var(--radius); font-size: 14px;
    width: 100%; outline: none; font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 1px rgba(0, 200, 255, 0.08);
}
label { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; letter-spacing: 0.3px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* === BUTTONS === */
.btn {
    padding: 8px 16px; border-radius: var(--radius); font-size: 13px;
    cursor: pointer; border: none; font-weight: 500; transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Inter', sans-serif; letter-spacing: 0.3px;
}
.btn:hover { opacity: 0.85; }
.btn-primary {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.2) 0%, rgba(120, 80, 255, 0.2) 100%);
    color: var(--cyan);
    border: 1px solid rgba(0, 200, 255, 0.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.3) 0%, rgba(120, 80, 255, 0.3) 100%);
    border-color: rgba(0, 200, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.08);
    opacity: 1;
}
.btn-danger { background: rgba(255, 68, 102, 0.15); color: var(--error); border: 1px solid rgba(255, 68, 102, 0.2); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: rgba(0, 200, 255, 0.2); color: var(--cyan); }
.btn-sm { padding: 4px 10px; font-size: 12px; }

/* === TOOLBAR === */
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar h2 { font-size: 18px; margin-right: auto; font-family: 'Outfit', sans-serif; font-weight: 400; }
.toolbar select { width: auto; min-width: 140px; }

/* === MODAL === */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(6, 7, 13, 0.85);
    display: flex; align-items: center; justify-content: center; z-index: 100;
    backdrop-filter: blur(4px);
}
.modal {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 24px; width: 500px; max-width: 90vw;
    max-height: 85vh; overflow-y: auto;
    box-shadow: 0 0 60px rgba(0, 200, 255, 0.04);
}
.modal h3 { margin-bottom: 16px; font-size: 18px; font-family: 'Outfit', sans-serif; font-weight: 400; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* === TOAST === */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
    background: var(--surface-raised); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 16px; font-size: 14px;
    animation: slideIn 0.3s ease; min-width: 280px; max-width: 400px;
}
.toast-error { border-color: rgba(255, 68, 102, 0.4); }
.toast-success { border-color: rgba(0, 255, 180, 0.4); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* === PANEL === */
.panel { padding: 20px 0; position: relative; z-index: 1; }
.panel-content { margin-top: 16px; }

/* === DETAIL VIEW === */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-field label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.detail-field .value { font-size: 15px; margin-top: 2px; }
.detail-back { cursor: pointer; color: var(--cyan); font-size: 14px; margin-bottom: 12px; display: inline-block; transition: color 0.2s; }
.detail-back:hover { color: var(--mint); }

/* === ACTIVITY === */
.activity-list { font-size: 13px; }
.activity-item { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; }
.activity-time { color: var(--text-secondary); white-space: nowrap; font-size: 12px; min-width: 80px; }
.activity-action { color: var(--cyan); font-weight: 500; }

/* === LIFECYCLE TIMELINE === */
.lifecycle-timeline { display: flex; align-items: center; gap: 4px; font-size: 13px; flex-wrap: wrap; }
.timeline-step { padding: 4px 12px; border-radius: 12px; font-weight: 500; }
.timeline-done { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.timeline-pending { background: rgba(106, 122, 138, 0.1); color: var(--text-secondary); }
.timeline-arrow { color: var(--text-secondary); font-size: 12px; }

/* === JSON DIFF === */
.json-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.json-diff pre { background: var(--void); padding: 12px; border-radius: var(--radius); font-size: 12px; overflow-x: auto; max-height: 300px; overflow-y: auto; }
.diff-before { border-left: 3px solid var(--error); padding-left: 12px; }
.diff-after { border-left: 3px solid var(--mint); padding-left: 12px; }

/* === PAGINATION === */
.pagination { display: flex; gap: 4px; align-items: center; }

/* === PLUGIN PANEL === */
.plugin-panel { padding: 4px 0; }
.plugin-panel h3 { margin-bottom: 8px; font-family: 'Outfit', sans-serif; font-weight: 400; }
.plugin-panel table { margin-top: 12px; }

/* === ADDITIONAL BADGES === */
.badge-available { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-retired { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-pending { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-sent { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-acknowledged { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-expired { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-in_progress { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-completed { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-partial { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-rolled_back { background: rgba(120, 80, 255, 0.12); color: var(--violet); }
.badge-skipped { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-unactivated { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-activated { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-revoked { background: rgba(255, 68, 102, 0.12); color: var(--error); }
.badge-manual { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-scheduled { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-pre-deployment { background: rgba(120, 80, 255, 0.12); color: var(--violet); }
.badge-pre-rollback { background: rgba(255, 68, 102, 0.12); color: var(--error); }
.badge-json { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-csv { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-gov_report { background: rgba(255, 68, 102, 0.12); color: var(--error); }
.badge-unsigned { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-plaintext { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-downloading { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-downloaded { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-verified { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-none { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-serial_only { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-ed25519 { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-mtls { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-rotated { background: rgba(120, 80, 255, 0.12); color: var(--violet); }
.badge-approved { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-cancelled { background: rgba(106, 122, 138, 0.15); color: var(--text-secondary); }
.badge-notified { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }
.badge-installing { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-validating { background: rgba(120, 80, 255, 0.12); color: var(--violet); }
.badge-complete { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.badge-staged { background: rgba(255, 170, 48, 0.12); color: var(--warning); }
.badge-immediate { background: rgba(255, 68, 102, 0.12); color: var(--error); }
.badge-canary { background: rgba(120, 80, 255, 0.12); color: var(--violet); }
.badge-auto { background: rgba(0, 200, 255, 0.12); color: var(--cyan); }

/* === DEPLOYMENT PROGRESS === */
.progress-bar { background: var(--surface); border-radius: 3px; height: 6px; overflow: hidden; min-width: 80px; }
.progress-bar-fill { height: 100%; border-radius: 3px; transition: width 0.3s ease; }
.progress-bar-fill.fill-active { background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.progress-bar-fill.fill-complete { background: var(--mint); }
.progress-bar-fill.fill-failed { background: var(--error); }

.deploy-timeline { display: flex; align-items: center; gap: 4px; margin: 16px 0; flex-wrap: wrap; }
.deploy-timeline-step { padding: 4px 10px; border-radius: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.deploy-timeline-step.step-done { background: rgba(0, 255, 180, 0.12); color: var(--mint); }
.deploy-timeline-step.step-active { background: rgba(0, 200, 255, 0.2); color: var(--cyan); border: 1px solid rgba(0, 200, 255, 0.3); }
.deploy-timeline-step.step-pending { background: rgba(106, 122, 138, 0.1); color: var(--text-dim); }
.deploy-timeline-arrow { color: var(--text-dim); font-size: 11px; }

.deploy-filter-bar { display: flex; gap: 6px; flex-wrap: wrap; }
.deploy-filter-bar button { padding: 4px 12px; border-radius: 12px; font-size: 12px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); cursor: pointer; transition: all 0.15s; }
.deploy-filter-bar button:hover { border-color: var(--border-focus); color: var(--text); }
.deploy-filter-bar button.active { background: rgba(0, 200, 255, 0.12); color: var(--cyan); border-color: rgba(0, 200, 255, 0.25); }

/* === PLUGIN SUB-NAV === */
.plugin-subnav { background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 3px; }
::-webkit-scrollbar-track { background: transparent; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .detail-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .json-diff { grid-template-columns: 1fr; }
    .nav-tabs { overflow-x: auto; }
    .nav-brand-text { letter-spacing: 3px; font-size: 13px; }
}
