        /* ════════════════════════════════════════════════════════════════
           MAESTRO ONE PRECHECK v0.0.8 - 26-NODE DAISY CHAIN WITH REAL CHECKS
           SPHERING³ LLC | February 17, 2026
           Yoruba Calendar Sequence | Downward Racing Status Line
           ════════════════════════════════════════════════════════════════ */
        
        @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');
        
        * { box-sizing: border-box; margin: 0; padding: 0; }
        
        :root {
            /* CONVERGENCE PURPLE PALETTE */
            --purple-bright: #bf5fff;
            --purple-mid: #9945ff;
            --purple-dim: #2a1a3d;
            --purple-glow: rgba(191, 95, 255, 0.4);
            --purple-deep: #1a0a2e;
            
            /* ACCENT COLORS */
            --cyan: #00ffff;
            --cyan-glow: rgba(0, 255, 255, 0.3);
            --gold: #c9a227;
            --gold-dim: #3d3010;
            
            /* STATUS COLORS */
            --green-bright: #00ff66;
            --green-glow: rgba(0, 255, 102, 0.4);
            --red-bright: #ff3333;
            --red-glow: rgba(255, 51, 51, 0.4);
            --yellow-bright: #ffcc00;
            
            /* BACKGROUNDS */
            --bg-dark: #0a0510;
            --bg-panel: #120a1a;
            --bg-card: #1a0f24;
            
            /* TEXT */
            --text: #e0e0e0;
            --text-dim: #706080;
            --text-bright: #ffffff;
        }
        
        html, body {
            height: 100%;
            background: var(--bg-dark);
            color: var(--text);
            font-family: 'Rajdhani', sans-serif;
            overflow-x: hidden;
            overflow-y: auto;
        }
        
        /* ═══ MAIN CONTAINER ═══ */
        .precheck-container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 80px 20px 30px 20px;
            background: 
                radial-gradient(ellipse at center top, rgba(191,95,255,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at center bottom, rgba(153,69,255,0.05) 0%, transparent 50%),
                linear-gradient(180deg, #0a0510 0%, #120a1a 50%, #0a0510 100%);
        }
        
        /* ═══ LOGO ═══ */
        .facility-logo {
            display: block;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            margin-top: 50px;
            width: 256px;
            height: auto;
            margin-bottom: 20px;
            filter: drop-shadow(0 0 30px var(--purple-bright)) drop-shadow(0 0 60px var(--purple-glow));
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }
        
        /* ═══ HEADER TITLES ═══ */
        .facility-header {
            text-align: center;
            margin-bottom: 25px;
        }
        
        .pre-title {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.8rem;
            color: var(--text-dim);
            letter-spacing: 0.5em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }
        
        .main-title {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(1.7rem, 5.1vw, 3rem);
            font-weight: 900;
            color: var(--purple-bright);
            text-shadow: 
                0 0 20px var(--purple-glow),
                0 0 40px var(--purple-glow),
                0 0 60px rgba(191,95,255,0.2);
            letter-spacing: 0.1em;
            line-height: 1.1;
        }
        
        .sub-title-1 {
            font-family: 'Orbitron', sans-serif;
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            font-weight: 700;
            color: var(--gold);
            letter-spacing: 0.15em;
            margin-top: 8px;
            text-shadow: 0 0 15px rgba(201,162,39,0.5);
        }
        
        .sub-title-2 {
            font-family: 'Rajdhani', sans-serif;
            font-size: 1.1rem;
            font-weight: 500;
            color: var(--text-dim);
            letter-spacing: 0.25em;
            margin-top: 10px;
        }
        
        .sub-title-3 {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.95rem;
            color: var(--cyan);
            letter-spacing: 0.15em;
            margin-top: 15px;
            opacity: 0.9;
            text-shadow: 0 0 10px var(--cyan-glow);
        }
        
        .sub-title-3 .node-name {
            color: var(--gold);
            font-weight: 700;
        }
        
        /* ═══ START BUTTON ═══ */
        .start-section {
            margin: 25px 0;
            text-align: center;
        }
        
        .start-btn {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            letter-spacing: 0.2em;
            padding: 18px 50px;
            background: linear-gradient(135deg, var(--purple-dim) 0%, var(--purple-deep) 100%);
            border: 2px solid var(--purple-mid);
            color: var(--purple-bright);
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }
        
        .start-btn:hover {
            background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-dim) 100%);
            color: var(--text-bright);
            box-shadow: 0 0 30px var(--purple-glow), 0 0 60px rgba(191,95,255,0.2);
            transform: scale(1.02);
        }
        
        /* ═══ PRECHECK PANEL ═══ */
        .precheck-panel {
            width: 100%;
            max-width: 750px;
            background: var(--bg-panel);
            border: 1px solid var(--purple-dim);
            border-radius: 10px;
            padding: 30px;
            box-shadow:
                0 0 40px rgba(191,95,255,0.1),
                inset 0 0 80px rgba(0,0,0,0.5);
            display: block;
        }
        
        .precheck-panel.visible { display: block; animation: fadeIn 0.5s ease; }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .panel-header {
            text-align: center;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--purple-dim);
            margin-bottom: 25px;
        }
        
        .panel-header h2 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text);
            letter-spacing: 0.2em;
        }
        
        .activated-badge {
            display: inline-block;
            margin-top: 12px;
            padding: 10px 30px;
            background: var(--purple-dim);
            border: 1px solid var(--green-bright);
            border-radius: 4px;
            font-family: 'Share Tech Mono', monospace;
            font-size: 1rem;
            color: var(--green-bright);
            letter-spacing: 0.15em;
            animation: pulse-green 2s infinite;
        }
        
        @keyframes pulse-green {
            0%, 100% { box-shadow: 0 0 10px var(--green-glow); }
            50% { box-shadow: 0 0 25px var(--green-glow), 0 0 50px rgba(0,255,102,0.3); }
        }
        
        /* ═══ CHECK SECTIONS WITH RACING LINE ═══ */
        .check-section {
            margin-bottom: 25px;
            position: relative;
        }
        
        .section-header {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--gold);
            letter-spacing: 0.1em;
            margin-bottom: 8px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(201,162,39,0.3);
            text-transform: uppercase;
        }
        
        .section-sub {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.75rem;
            color: var(--text-dim);
            letter-spacing: 0.05em;
            margin-bottom: 4px;
        }
        
        /* Racing progress line */
        .check-track {
            position: absolute;
            left: 6px;
            top: 50px;
            bottom: 10px;
            width: 3px;
            background: var(--purple-dim);
            border-radius: 2px;
        }
        
        .check-progress {
            position: absolute;
            left: 6px;
            top: 50px;
            width: 3px;
            height: 0;
            background: linear-gradient(180deg, var(--green-bright), var(--cyan));
            border-radius: 2px;
            box-shadow: 0 0 8px var(--green-glow);
            transition: height 0.3s ease-out;
        }
        
        /* ═══ CHECK ITEMS ═══ */
        .check-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0 10px 25px;
            border-left: 2px solid transparent;
            margin-bottom: 4px;
            position: relative;
        }
        
        .check-item.active {
            border-left-color: var(--yellow-bright);
            background: rgba(255, 204, 0, 0.05);
        }
        
        .check-item.passed {
            border-left-color: var(--green-bright);
        }
        
        .check-item.failed {
            border-left-color: var(--red-bright);
        }
        
        .check-item.sub-item { padding-left: 45px; }
        .check-item.sub-sub-item { padding-left: 65px; }
        
        .check-label {
            font-family: 'Rajdhani', sans-serif;
            font-weight: 500;
            color: var(--text);
            letter-spacing: 0.03em;
        }
        
        .check-status {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.8rem;
            letter-spacing: 0.08em;
        }
        
        .status-text {
            color: var(--text-dim);
            min-width: 70px;
            text-align: right;
            transition: color 0.3s ease;
        }
        
        .status-text.pass { color: var(--green-bright); }
        .status-text.fail { color: var(--red-bright); }
        .status-text.stable { color: var(--green-bright); }
        .status-text.purged { color: var(--cyan); }
        .status-text.checking { color: var(--yellow-bright); }
        
        .status-light {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--text-dim);
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.3s ease;
        }
        
        .status-light.green {
            background: var(--green-bright);
            box-shadow: 0 0 8px var(--green-glow), 0 0 16px var(--green-glow);
        }
        
        .status-light.red {
            background: var(--red-bright);
            box-shadow: 0 0 8px var(--red-glow), 0 0 16px var(--red-glow);
        }
        
        .status-light.checking {
            animation: blink-check 0.4s infinite;
        }
        
        @keyframes blink-check {
            0%, 100% { background: var(--text-dim); }
            50% { background: var(--yellow-bright); box-shadow: 0 0 10px rgba(255,204,0,0.5); }
        }
        
        /* ═══ FINAL STATUS ═══ */
        .final-status {
            text-align: center;
            padding: 30px;
            margin-top: 25px;
            background: var(--bg-card);
            border: 2px solid var(--purple-dim);
            border-radius: 8px;
            display: none;
        }
        
        .final-status.visible {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        .final-status.online {
            border-color: var(--green-bright);
            box-shadow: 0 0 40px var(--green-glow);
        }
        
        .final-status h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.4rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            margin-bottom: 10px;
            color: var(--green-bright);
        }
        
        .final-status p {
            color: var(--text-dim);
            font-size: 0.95rem;
        }
        
        .countdown {
            font-family: 'Orbitron', sans-serif;
            font-size: 3rem;
            font-weight: 900;
            color: var(--green-bright);
            margin-top: 15px;
            text-shadow: 0 0 20px var(--green-glow);
        }
        
        /* ═══ FOOTER ═══ */
        .footer {
            margin-top: 40px;
            text-align: center;
            max-width: 600px;
        }
        
        .footer-line1 {
            font-family: 'Orbitron', sans-serif;
            font-size: 0.75rem;
            color: var(--purple-bright);
            letter-spacing: 0.15em;
            margin-bottom: 4px;
        }
        
        .footer-line2 {
            font-family: 'Rajdhani', sans-serif;
            font-size: 0.8rem;
            color: var(--gold);
            letter-spacing: 0.1em;
            margin-bottom: 8px;
        }
        
        .footer-otto {
            display: inline-block;
            padding: 8px 20px;
            background: var(--purple-dim);
            border: 1px solid var(--purple-mid);
            border-radius: 4px;
            color: var(--cyan);
            text-decoration: none;
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.8rem;
            letter-spacing: 0.05em;
            transition: all 0.3s ease;
            margin-bottom: 12px;
        }
        
        .footer-otto:hover {
            background: var(--purple-mid);
            color: var(--text-bright);
            box-shadow: 0 0 20px var(--purple-glow);
        }
        
        .footer-legal {
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.65rem;
            color: var(--text-dim);
            line-height: 1.6;
        }
        
        /* ═══ RESPONSIVE ═══ */
        @media (max-width: 600px) {
            .precheck-panel { padding: 20px 15px; }
            .main-title { font-size: 1.8rem; }
            .sub-title-1 { font-size: 1.2rem; }
            .check-item { padding-left: 20px; }
            .check-item.sub-item { padding-left: 35px; }
        }

        /* ═══════════════════════════════════════════════════════════════
           ALERT SYSTEM STYLES - NODE FAILURE WARNINGS
           ═══════════════════════════════════════════════════════════════ */
        
        .alert-banner {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999;
            padding: 15px 20px;
            text-align: center;
            font-family: 'Share Tech Mono', monospace;
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            display: none;
            animation: alertPulse 1s ease-in-out infinite;
        }
        
        .alert-banner.visible { display: block; }
        
        .alert-banner.yellow {
            background: linear-gradient(90deg, #3d3010, #5a4a15, #3d3010);
            color: #ffcc00;
            border-bottom: 3px solid #ffcc00;
            box-shadow: 0 0 30px rgba(255, 204, 0, 0.5);
        }
        
        .alert-banner.orange {
            background: linear-gradient(90deg, #3d2010, #5a3015, #3d2010);
            color: #ff8800;
            border-bottom: 3px solid #ff8800;
            box-shadow: 0 0 30px rgba(255, 136, 0, 0.5);
        }
        
        .alert-banner.red {
            background: linear-gradient(90deg, #3d1010, #5a1515, #3d1010);
            color: #ff3333;
            border-bottom: 3px solid #ff3333;
            box-shadow: 0 0 30px rgba(255, 51, 51, 0.5);
        }
        
        .alert-banner.critical {
            background: linear-gradient(90deg, #2a0a0a, #4a0a0a, #2a0a0a);
            color: #ff0000;
            border-bottom: 4px solid #ff0000;
            box-shadow: 0 0 50px rgba(255, 0, 0, 0.7);
            animation: criticalPulse 0.5s ease-in-out infinite;
        }
        
        @keyframes alertPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.85; }
        }
        
        @keyframes criticalPulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.9; transform: scale(1.01); }
        }
        
        .alert-icon { margin-right: 10px; }
        .alert-text { margin-right: 15px; }
        .alert-node-count { 
            background: rgba(0,0,0,0.3); 
            padding: 3px 10px; 
            border-radius: 4px;
            margin-left: 10px;
        }
        
        .failure-log {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 350px;
            max-height: 200px;
            background: rgba(26, 10, 46, 0.95);
            border: 1px solid var(--purple-mid);
            border-radius: 8px;
            padding: 10px;
            font-family: 'Share Tech Mono', monospace;
            font-size: 0.75rem;
            overflow-y: auto;
            display: none;
            z-index: 9998;
        }
        
        .failure-log.visible { display: block; }
        
        .failure-log-header {
            color: var(--purple-bright);
            font-weight: 700;
            margin-bottom: 8px;
            padding-bottom: 5px;
            border-bottom: 1px solid var(--purple-dim);
        }
        
        .failure-entry {
            padding: 4px 0;
            border-bottom: 1px solid rgba(153, 69, 255, 0.2);
            color: var(--text-dim);
        }
        
        .failure-entry.yellow { color: #ffcc00; }
        .failure-entry.orange { color: #ff8800; }
        .failure-entry.red { color: #ff3333; }
        .failure-entry.critical { color: #ff0000; font-weight: 700; }
        
        .failure-time { color: var(--cyan); margin-right: 8px; }

        /* ════════════════════════════════════════════════════════════════
           MOBILE OPTIMIZATION (Android & iOS)
           ════════════════════════════════════════════════════════════════ */

        @media screen and (max-width: 768px) {
            .start-btn, .manual-btn, .report-btn, .settings-icon {
                min-height: 44px;
                min-width: 44px;
                padding: 12px 20px;
            }
            .main-title { font-size: 2rem; }
            .sub-title-1, .sub-title-2 { font-size: 0.9rem; }
            .panel-title { font-size: 1.2rem; }
            .check-label { font-size: 0.85rem; }
            .status-text { font-size: 0.75rem; }
            .precheck-container { width: 95%; padding: 15px; margin: 20px auto; }
            .precheck-panel { padding: 15px; }
            .check-item { padding: 12px 10px; flex-wrap: wrap; }
            .check-label { flex: 1 1 100%; margin-bottom: 8px; }
            .check-status { flex: 1 1 100%; justify-content: space-between; }
            .report-modal { width: 95%; max-height: 85vh; }
            .facility-logo { width: 120px; height: 120px; }
            .manual-buttons { flex-direction: column; gap: 10px; }
            .manual-btn { width: 100%; }
            .section-header { font-size: 0.85rem; padding: 8px 10px; }
            .settings-icon { top: 10px; right: 10px; font-size: 20px; }
        }

        @media screen and (max-width: 480px) {
            .main-title { font-size: 1.5rem; }
            .sub-title-1, .sub-title-2, .sub-title-3 { font-size: 0.75rem; }
            .panel-title { font-size: 1rem; }
            .check-label { font-size: 0.75rem; }
            .status-text { font-size: 0.7rem; }
            .facility-logo { width: 100px; height: 100px; }
            .precheck-container { width: 98%; padding: 10px; }
            .start-btn { font-size: 0.9rem; }
        }

        @media screen and (max-width: 896px) and (orientation: landscape) {
            .facility-logo { width: 80px; height: 80px; }
            .facility-header { margin: 10px 0; }
            .main-title { font-size: 1.5rem; }
            .precheck-container { max-height: 90vh; overflow-y: auto; }
        }

        @supports (-webkit-touch-callout: none) {
            body { -webkit-tap-highlight-color: rgba(191, 95, 255, 0.3); }
            input, button, textarea { -webkit-appearance: none; border-radius: 6px; }
        }

        @media screen and (max-width: 768px) {
            html {
                -webkit-text-size-adjust: 100%;
                -moz-text-size-adjust: 100%;
                -ms-text-size-adjust: 100%;
                text-size-adjust: 100%;
            }
            .precheck-container, .report-body {
                -webkit-overflow-scrolling: touch;
                scroll-behavior: smooth;
            }
        }


/* ════════════════════════════════════════════════════════════════
   v0.1.0 ADDITIONS - SETTINGS, RESULTS, REPORT MODAL
   ════════════════════════════════════════════════════════════════ */

/* PROGRESS HEADER */
.progress-header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--purple-dim); margin-bottom: 15px; }
.progress-title { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); letter-spacing: 0.1em; }
.progress-counter { font-family: 'Share Tech Mono', monospace; font-size: 1.1rem; color: var(--cyan); }

/* SETTINGS DROPDOWN */
.settings-wrapper { position: relative; }
.settings-icon { font-size: 24px; cursor: pointer; opacity: 0.7; transition: all 0.3s; padding: 5px; }
.settings-icon:hover { opacity: 1; transform: rotate(45deg); text-shadow: 0 0 15px var(--purple-glow); }
.settings-dropdown { position: absolute; top: 100%; right: 0; width: 220px; background: var(--bg-card); border: 1px solid var(--purple-mid); border-radius: 8px; padding: 8px 0; z-index: 1000; box-shadow: 0 10px 40px rgba(0,0,0,0.5); display: none; }
.settings-dropdown.visible { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-family: 'Rajdhani', sans-serif; font-size: 0.95rem; color: var(--text); cursor: pointer; transition: all 0.2s; border: none; background: none; width: 100%; text-align: left; }
.dropdown-item:hover { background: rgba(191, 95, 255, 0.15); color: var(--purple-bright); }
.dropdown-divider { height: 1px; background: var(--purple-dim); margin: 8px 0; }

/* MANUAL CONTROLS */
.manual-controls { background: rgba(0,255,255,0.05); border: 1px solid var(--cyan); border-radius: 8px; padding: 15px; margin-bottom: 15px; }
.manual-header { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; color: var(--cyan); letter-spacing: 0.1em; margin-bottom: 10px; text-transform: uppercase; }
.manual-progress { font-family: 'Share Tech Mono', monospace; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 10px; }
.manual-progress span { color: var(--cyan); font-weight: 600; }
.manual-buttons { display: flex; gap: 10px; }
.manual-btn { flex: 1; font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; font-weight: 600; padding: 10px 15px; border-radius: 6px; cursor: pointer; transition: all 0.3s; text-transform: uppercase; }
.manual-btn.primary { background: var(--purple-mid); color: var(--text-bright); border: 1px solid var(--purple-mid); }
.manual-btn.primary:hover { background: var(--purple-bright); box-shadow: 0 0 20px var(--purple-glow); }
.manual-btn.secondary { background: transparent; color: var(--cyan); border: 1px solid var(--cyan); }
.manual-btn.secondary:hover { background: rgba(0, 255, 255, 0.1); }

/* RESULTS SECTION */
.results-header { text-align: center; margin-bottom: 20px; }
.results-title { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--green-bright); letter-spacing: 0.1em; }
.results-summary { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 15px; margin-bottom: 25px; padding: 20px; background: var(--bg-card); border-radius: 8px; border: 1px solid var(--purple-dim); }
.summary-item { text-align: center; }
.summary-label { font-family: 'Share Tech Mono', monospace; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 5px; }
.summary-value { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text); }

/* ACTION BUTTONS */
.action-button { display: block; width: 100%; padding: 15px 30px; margin-bottom: 10px; font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; border: 2px solid var(--purple-mid); border-radius: 6px; cursor: pointer; transition: all 0.3s; background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-dim) 100%); color: var(--text-bright); }
.action-button:hover { background: linear-gradient(135deg, var(--purple-bright) 0%, var(--purple-mid) 100%); box-shadow: 0 0 30px var(--purple-glow); }
.action-button.secondary { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.action-button.secondary:hover { background: rgba(0, 255, 255, 0.1); box-shadow: 0 0 20px var(--cyan-glow); }

/* REPORT MODAL */
.report-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.85); z-index: 10000; display: none; align-items: center; justify-content: center; }
.report-modal-overlay.visible { display: flex; }
.report-modal { width: 90%; max-width: 600px; max-height: 80vh; background: var(--bg-panel); border: 2px solid var(--purple-mid); border-radius: 10px; overflow: hidden; box-shadow: 0 0 60px var(--purple-glow); }
.report-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: var(--bg-card); border-bottom: 1px solid var(--purple-dim); }
.report-header h2 { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--purple-bright); letter-spacing: 0.1em; margin: 0; }
.report-close { background: none; border: none; color: var(--text-dim); font-size: 1.5rem; cursor: pointer; padding: 5px 10px; transition: color 0.3s; }
.report-close:hover { color: var(--red-bright); }
.report-body { padding: 20px; max-height: 50vh; overflow-y: auto; }
.report-actions { padding: 15px 20px; background: var(--bg-card); border-top: 1px solid var(--purple-dim); display: flex; gap: 10px; justify-content: flex-end; }

/* CHECK REPORT BUTTON - LOWER LEFT */
.check-report-btn { position: fixed; bottom: 20px; left: 20px; padding: 12px 20px; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; background: var(--bg-card); border: 1px solid var(--purple-mid); border-radius: 6px; color: var(--purple-bright); cursor: pointer; transition: all 0.3s; z-index: 100; }
.check-report-btn:hover { background: var(--purple-dim); box-shadow: 0 0 20px var(--purple-glow); color: var(--text-bright); }

/* WARP CORE STATION SUBTITLE FLASH ANIMATION */
@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* DROPDOWN HOVER EFFECTS */
.dropdown-item:hover {
    background: rgba(191, 95, 255, 0.2) !important;
    color: var(--purple-bright) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAESTRO v0.1.5 ADDITIONS
   ═══════════════════════════════════════════════════════════════════════ */

/* LOGO HIDE ON MANUAL TEST */
.facility-logo.hidden {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
}

.facility-header.top-position {
    margin-top: 10px !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   MANUAL TEST LAYOUT - Test Window (Left) + Controls (Right)
   ═══════════════════════════════════════════════════════════════════════ */

.manual-test-layout {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(191, 95, 255, 0.05);
    border-bottom: 2px solid var(--purple-bright);
    align-items: stretch;
}

/* TEST DISPLAY WINDOW (Left - 2/3 width) */
.test-display-window {
    flex: 2;
    background: linear-gradient(135deg, #0d0d12 0%, #1a1a24 100%);
    border: 2px solid var(--purple-dim);
    border-radius: 10px;
    padding: 18px;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.test-display-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-bright), var(--cyan), var(--gold));
}

.test-display-header {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-dim);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.test-display-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.test-phase {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 600;
}

.test-item-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 1px;
}

.test-item-detail {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: 'Consolas', 'Monaco', monospace;
}

.test-item-result {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
}

.result-indicator {
    font-size: 2rem;
    line-height: 1;
    transition: all 0.3s;
}

.result-indicator.pending { color: var(--text-dim); }
.result-indicator.running { color: var(--gold); animation: pulse 0.6s infinite; }
.result-indicator.pass { color: var(--green-bright); text-shadow: 0 0 10px var(--green-bright); }
.result-indicator.fail { color: var(--red-bright); text-shadow: 0 0 10px var(--red-bright); }

.result-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.result-text.pending { color: var(--text-dim); }
.result-text.running { color: var(--gold); }
.result-text.pass { color: var(--green-bright); }
.result-text.fail { color: var(--red-bright); }

.test-version-display {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gold);
    font-family: 'Consolas', 'Monaco', monospace;
}

/* COMPACT MANUAL CONTROLS (Right - 1/3 width) */
.manual-controls-compact {
    flex: 0 0 130px;
    background: linear-gradient(135deg, #0d0d12 0%, #1a1a24 100%);
    border: 2px solid var(--purple-dim);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.manual-header-compact {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--purple-bright);
    text-align: center;
    letter-spacing: 1px;
}

.manual-progress-compact {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cyan);
    font-family: 'Consolas', 'Monaco', monospace;
}

.manual-btn-compact {
    padding: 12px 8px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
    text-align: center;
}

.manual-btn-compact.primary {
    background: linear-gradient(135deg, var(--purple-bright), var(--purple-dim));
    color: white;
    box-shadow: 0 2px 10px rgba(191, 95, 255, 0.3);
}

.manual-btn-compact.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(191, 95, 255, 0.5);
}

.manual-btn-compact.secondary {
    background: transparent;
    border: 1px solid var(--purple-bright);
    color: var(--purple-bright);
}

.manual-btn-compact.secondary:hover:not(:disabled) {
    background: rgba(191, 95, 255, 0.1);
}

.manual-btn-compact:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   FAIL-FAST ALERT
   ═══════════════════════════════════════════════════════════════════════ */

.fail-fast-alert {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15), rgba(255, 68, 68, 0.05));
    border: 3px solid var(--red-bright);
    border-radius: 12px;
    padding: 30px;
    margin: 20px;
    text-align: center;
    animation: failPulse 2s ease-in-out infinite;
}

@keyframes failPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 68, 68, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 68, 68, 0.6); }
}

.fail-fast-icon {
    font-size: 5rem;
    margin-bottom: 15px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.fail-fast-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--red-bright);
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.fail-fast-message {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.fail-fast-detail {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 25px;
    font-family: 'Consolas', 'Monaco', monospace;
    background: rgba(0,0,0,0.4);
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    white-space: pre-line;
    border-left: 3px solid var(--red-bright);
}

.fail-fast-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.fail-fast-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.fail-fast-btn.primary {
    background: var(--red-bright);
    color: white;
}

.fail-fast-btn.primary:hover {
    background: #ff6666;
    transform: translateY(-2px);
}

.fail-fast-btn.secondary {
    background: transparent;
    border: 2px solid var(--text-dim);
    color: var(--text-dim);
}

.fail-fast-btn.secondary:hover {
    border-color: var(--text);
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════════
   CHECK ITEM CURRENT STATE
   ═══════════════════════════════════════════════════════════════════════ */

.check-item.current {
    background: rgba(191, 95, 255, 0.15);
    border-left: 3px solid var(--purple-bright);
    padding-left: 17px;
}

.check-section.active {
    background: rgba(191, 95, 255, 0.05);
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    .manual-test-layout {
        flex-direction: column;
    }
    
    .manual-controls-compact {
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .manual-controls-compact > * {
        flex: 1 1 auto;
    }
    
    .manual-btn-compact {
        min-width: 80px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   AUTOMATED SUCCESS MESSAGE
   ═══════════════════════════════════════════════════════════════════════ */

.automated-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 60px 40px;
    text-align: center;
    animation: successPulse 1.5s ease-in-out infinite;
}

.automated-success-message .success-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-bright);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 255, 102, 0.5);
}

.automated-success-message .success-subtext {
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 2px;
}

@keyframes successPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   AUTOMATED SCROLL BEHAVIOR
   ═══════════════════════════════════════════════════════════════════════ */

.precheck-panel.scrolling-mode {
    max-height: 60vh;
    overflow-y: hidden;
}

.check-section.completed {
    opacity: 0.5;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
}

.check-item.completed {
    opacity: 0.6;
}

.check-item.passed .status-light {
    background: var(--green-bright);
    box-shadow: 0 0 8px var(--green-bright);
}

/* ═══════════════════════════════════════════════════════════════════════
   MANUAL MODE COMPLETION BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */

.manual-complete-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    border-top: 1px solid var(--border);
    background: rgba(0, 255, 102, 0.05);
}

.complete-btn {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.complete-btn.primary {
    background: linear-gradient(135deg, var(--green-bright), #00cc55);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 255, 102, 0.3);
}

.complete-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 102, 0.5);
}

.complete-btn.secondary {
    background: transparent;
    border: 1px solid var(--purple-bright);
    color: var(--purple-bright);
}

.complete-btn.secondary:hover {
    background: rgba(191, 95, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════
   OTTO HELP BUTTON (Floating)
   ═══════════════════════════════════════════════════════════════════════ */

.otto-help-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1db988, #c9a227);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(29, 185, 136, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
}

.otto-help-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(29, 185, 136, 0.6);
}

.otto-help-btn .otto-icon {
    font-size: 1.5rem;
}

.otto-help-btn .otto-text {
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAESTRO v0.1.5 - SUBTITLE FLASH ANIMATION
   ═══════════════════════════════════════════════════════════════════════ */

@keyframes subtitleFlash {
    0%, 100% { 
        opacity: 1; 
        text-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
    }
    50% { 
        opacity: 0.7; 
        text-shadow: 0 0 20px #ffcc00, 0 0 40px #ff9900, 0 0 60px #ff6600;
    }
}

.subtitle-flash {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.subtitle-flash.active {
    animation: subtitleFlash 1s ease-in-out infinite;
    color: #ffcc00 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAESTRO v0.1.5 - SKIP STATE & OPTIONAL VAULT STYLES
   ═══════════════════════════════════════════════════════════════════════ */

/* Skip state for optional vaults */
.check-item.skip .status-light {
    background: #ffaa00;
    box-shadow: 0 0 8px #ffaa00;
}

.check-item.skip .status-text {
    color: #ffaa00;
}

/* Optional vault button */
.fail-fast-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.optional-vault-btn {
    background: linear-gradient(135deg, #ff9900, #cc7700) !important;
    border: 1px solid #ffaa00 !important;
}

.optional-vault-btn:hover {
    background: linear-gradient(135deg, #ffaa00, #dd8800) !important;
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.5) !important;
}

/* Optional vault alert styling */
.fail-fast-alert.optional-vault .fail-fast-icon {
    color: #ffaa00;
}

.fail-fast-alert.optional-vault .fail-fast-title {
    color: #ffaa00;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAESTRO v0.1.5 - CONVEYOR BELT SCROLL BEHAVIOR
   ═══════════════════════════════════════════════════════════════════════ */

/* Make progress section a flex container */
#progressSection {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    overflow: hidden;
}

/* Fixed header area - doesn't scroll */
.progress-fixed-header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-dark);
    padding-bottom: 1rem;
}

/* Test display window stays fixed */
.test-display-window {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--bg-card);
    border: 1px solid var(--purple-mid);
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Scrollable check list - scrolls UP under fixed elements */
.check-list-container {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: 100px;
}

/* Hide scrollbar but keep functionality */
.check-list-container::-webkit-scrollbar {
    width: 4px;
}

.check-list-container::-webkit-scrollbar-track {
    background: transparent;
}

.check-list-container::-webkit-scrollbar-thumb {
    background: var(--purple-dim);
    border-radius: 2px;
}

/* End buttons container */
.check-complete-buttons {
    display: none;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    margin-top: 1rem;
    background: linear-gradient(180deg, transparent 0%, var(--bg-dark) 50%);
}

.check-complete-buttons.visible {
    display: flex;
}

.complete-btn {
    padding: 1rem 2rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.complete-btn.primary {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    border: 1px solid #00ff88;
    color: #000;
}

.complete-btn.primary:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

.complete-btn.secondary {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
}

.complete-btn.secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════
   MAESTRO v0.1.5 - CONVEYOR BELT SCROLL SYSTEM
   ═══════════════════════════════════════════════════════════════════════ */

/* Fixed header and test window container */
.progress-header,
.manual-test-layout {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dark-bg);
}

.progress-header {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(191,95,255,0.3);
}

.manual-test-layout {
    padding: 15px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg) 90%, transparent 100%);
}

/* Check sections container - scrollable */
#progressSection {
    max-height: 80vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Smooth scroll animation for checks */
.check-section {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.check-section.scrolling-up {
    transform: translateY(-20px);
    opacity: 0.7;
}

/* Hide scrollbar but keep functionality */
#progressSection::-webkit-scrollbar {
    width: 4px;
}

#progressSection::-webkit-scrollbar-track {
    background: transparent;
}

#progressSection::-webkit-scrollbar-thumb {
    background: rgba(191,95,255,0.3);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   END STATE BUTTONS - v0.1.5
   ═══════════════════════════════════════════════════════════════════════ */

.manual-complete-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    margin-top: 20px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
}

.complete-btn {
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
}

.complete-btn.primary {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
}

.complete-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.complete-btn.secondary {
    background: rgba(153, 102, 255, 0.2);
    color: #9966ff;
    border: 1px solid #9966ff;
}

.complete-btn.secondary:hover {
    background: rgba(153, 102, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════
   SKIPPED VAULT STATE
   ═══════════════════════════════════════════════════════════════════════ */

.check-item.skip .status-light {
    background: #ffaa00;
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.5);
}

.check-item.skip .status-text {
    color: #ffaa00;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAESTRO v0.1.6 - ENHANCED FAIL-FAST ALERT
   ═══════════════════════════════════════════════════════════════════════ */

/* Position fail-fast alert inside progress section */
#failFastAlert {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,51,51,0.15) 0%, rgba(139,0,0,0.25) 100%);
    border: 2px solid #ff3333;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255,51,51,0.3), inset 0 0 20px rgba(255,0,0,0.1);
    animation: failPulse 2s ease-in-out infinite;
}

@keyframes failPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(255,51,51,0.3), inset 0 0 20px rgba(255,0,0,0.1); }
    50% { box-shadow: 0 0 50px rgba(255,51,51,0.5), inset 0 0 30px rgba(255,0,0,0.2); }
}

.fail-fast-content {
    margin: 15px 0;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    border-left: 4px solid #ff3333;
}

.fail-fast-row {
    display: flex;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.fail-fast-row:last-child {
    margin-bottom: 0;
}

.fail-fast-label {
    flex: 0 0 100px;
    color: #ff6666;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fail-fast-value {
    flex: 1;
    color: #ffffff;
    font-family: 'Consolas', 'Monaco', monospace;
}

.fail-fast-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.fail-fast-btn {
    padding: 12px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fail-fast-btn.primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border: 2px solid #00d4ff;
    color: #000;
}

.fail-fast-btn.primary:hover {
    background: linear-gradient(135deg, #00ffff 0%, #00bbee 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,212,255,0.4);
}

.fail-fast-btn.secondary {
    background: linear-gradient(135deg, #2a1a3d 0%, #1a0a2d 100%);
    border: 2px solid #666;
    color: #aaa;
}

.fail-fast-btn.secondary:hover {
    border-color: #ffcc00;
    color: #ffcc00;
    transform: translateY(-2px);
}

.fail-fast-btn.optional-vault-btn {
    background: linear-gradient(135deg, #ff9900 0%, #cc6600 100%);
    border: 2px solid #ffaa00;
    color: #000;
}

.fail-fast-btn.optional-vault-btn:hover {
    background: linear-gradient(135deg, #ffbb33 0%, #ee8800 100%);
}
