
        :root { --bg: #05060b; --card: #0a0d14; --text: #dbe7f5; --accent: #5b8cff; --accent-hover: #7651d8; --border: #202a3a; --bg-black: #020308;
            --bg-panel: #0b101a;
            --bg-input: #080c14;
            --border-neutral: #1c2635;
            --border-hover: #5b8cff;
            --text-main: #f4f8ff;
            --text-muted: #7f91a8;
            --accent-red: #ff27d9;
            --accent-red-hover: #ff5be7;
            --accent-cyan: #5b8cff;
            --accent-emerald: #39ffb6;}
        
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 20px 15px; background: radial-gradient(circle at 50% 0%, #0b1220 0%, var(--bg) 45%, #03040a 100%); color: var(--text); font-size: 13px; display: flex; justify-content: center; }
        #app { width: 100%; max-width: 950px; }
        
        ::-webkit-scrollbar { width: 8px; height: 10px; }
        ::-webkit-scrollbar-track { background: #070b12; }
        ::-webkit-scrollbar-thumb { background: #26354a; border-radius: 5px; }
        ::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #5b8cff, #7651d8 55%, #ff27d9); }
        
        a {color:#e53935; text-decoration:none;}
        
        .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px solid #5b8cff; padding-bottom: 0px; }
        h1 { margin: 0; font-size: 20px; font-weight: 500; }
        h2 { margin: 0 0 10px 0; font-size: 16px; color: #b8c7da; font-weight: 500; }
        h3 { margin: 0; font-weight: 500; }
        h4 { margin: 10px 0 10px 0; font-size: 11px; color: #fff; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; border-bottom: 1px solid #1d2a3b; padding-bottom: 5px; }
        
        .subhead { margin: 15px 0px 10px 0px; font-size: 10px; color: #fff; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; border-bottom: 1px solid #5b8cff; padding-bottom: 1px; }
        
        hr { display: block; height: 1px; border: 0; border-top: 1px solid rgba(0, 229, 255, 0.28); margin: 1em 0; padding: 0; }
        hr.bluehr { display: block; height: 1px; border: 0; border-top: 1px solid #172b4a; margin: 1em 0; padding: 0; }
        hr.greyhr { display: block; height: 1px; border: 0; border-top: 1px solid #2a2a2a; margin: 10px 0px 10px 0px; padding: 0; }
        
        .div-fill-left {width:100%; text-align:left; margin:10px 0px 10px 0px;}
      	.div-fill-right {width:100%; text-align:right; margin:10px 0px 10px 0px; padding:0px 6px 0px 0px;}
        
        .swtichtheme {color:#8b5cff; cursor: pointer;}
        .swtichtheme:hover {color:#ff27c8; cursor: pointer;}
        
        .rotationMsg {font-size:12px; font-weight:normal; color:#ff27d9}
        
         svg {
        	width: 100%;
				  height: auto;
				 }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        .script-controls { 
          display: flex; 
          justify-content: space-between; 
          align-items: center; 
          background: var(--card); 
          padding: 12px 15px; 
          border-radius: 6px; 
          border: 1px solid var(--border); 
          width: 100%;
          box-sizing: border-box;
          margin-bottom: 15px;
        }
        
        .header-bar {
		    display: flex;
		    justify-content: space-between;
		    align-items: flex-start;
		    width: 100%;
				}

				.header-left {
				    display: flex;
				    align-items: flex-start;
				}

				.header-right {
				    display: flex;
				    justify-content: flex-end;
				    align-items: flex-end;
				}

        .controls-left { display: flex; flex-direction: column; gap: 6px; }
        .control-title { font-size: 13px; font-weight: bold; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
        .controls-right { display: flex; flex-direction: column; gap: 8px; align-items: flex-end;}
        .button-group { display: flex; gap: 8px; }
        
        .status-badge { font-weight: bold; font-size: 12px; padding: 6px 10px; border-radius: 3px; }
        .status-running { background: rgba(76, 175, 80, 0.2); color: #39ffb6; border: 1px solid #4caf50; }
        .status-stopped { background: rgba(255, 82, 82, 0.2); color: #ff27d9; border: 1px solid #ff5252; }

        .card { background: var(--card); padding: 10px 20px 10px 20px; border-radius: 6px; margin-bottom: 15px; border: 1px solid var(--border); box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
        .session-card { background: #0a0d14; padding: 10px; border-radius: 4px; margin-top: 8px; border: 1px solid #202d40; }
        .session-card-out { background: #070a10; padding: 10px; border-radius: 4px; margin-top: 8px; border: 1px solid #202d40; }
        
        .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px 15px; margin-top:10px; margin-bottom:14px;}
        .grid-global { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 15px; margin-top:10px; margin-bottom:14px;}
        .grid-telemetry { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 10px; }

        .telemetry-tile { background: #0b1018; padding: 10px; border-radius: 4px; border: 1px solid #202d40; text-align: center; }
        .telemetry-tile .tile-title { font-size: 10px; color: #7f91a8; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
        .telemetry-tile .tile-value { font-size: 16px; font-weight: bold; color: #fff; }
        .telemetry-tile .tile-accent { color: #5b8cff; }
        
        .form-group { display: flex; flex-direction: column;}
        .form-group-entrylist { display: flex; flex-direction: column; font-size:12px; color:#aaa;}
        label { font-size: 11px; color: #7f91a8; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        input, select { background: #090e17; border: 1px solid #26384f; color: white; padding: 4px 8px; border-radius: 3px; font-family: inherit; font-size: 13px; height: 32px; box-sizing: border-box; }
        input:focus, select:focus { border-color: var(--accent); outline: none; }
        
        input.presetw{width:100%; background: #090e17; border: 1px solid #26384f; color: white; padding: 4px 8px; border-radius: 3px; font-family: inherit; font-size: 13px; height: 32px; box-sizing: border-box;}
        input.presetw:focus, select:focus { border-color: var(--accent); outline: none; }
        
        .collapsible-header { cursor: pointer; user-select: none; display: flex; justify-content: space-between; transition: color 0.2s;}
        .collapsible-header:hover { color: var(--accent); border-bottom-color: var(--accent); }
        .collapsible-header span { font-size: 9px; color: #fff;}
        
        .static-red { border-bottom-color: #ff27d9; width:100%;}
        .red-header { cursor: pointer; user-select: none; display: flex; justify-content: space-between; transition: color 0.2s; color: #e0e0e0; border-bottom-color: var(--accent);}
        .red-header span { font-size: 9px; color: #fff;}
        .red-header:hover { color: var(--accent);}
        
        .checkbox-container { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
        .checkbox-container input { width: 16px; height: 16px; cursor: pointer; margin: 0; accent-color: #ff27d9; }
        .checkbox-container label { margin: 0; cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #7f91a8; white-space: nowrap; }
        
        button { padding: 4px 8px; background: var(--accent-red); color: white; border: none; border-radius: 3px; cursor: pointer;  transition: background 0.2s; font-size: 14px; }
        button:hover { background: var(--accent-hover); }
        button:disabled { opacity: 0.5; cursor: not-allowed; }
        
        

        /* Header Styles */
        header {
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(91,140,255,0.25);
            padding-bottom: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: flex-start;
        }

        @media (min-width: 768px) {
            header {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
        }

        .header-info {
            text-align: right;
        }

        .header-info .badge {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--accent-red);
            font-weight: 700;
            display: block;
        }

        .header-info .sub {
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        /* Grid Layout 
        .grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 1024px) {
            .grid {
                grid-template-columns: 340px 1fr;
            }
        }
*/

        
				.custom-toast {
				    position: fixed;
				    top: 25px;
				    left: 50%;
				    transform: translateX(-50%) translateY(-15px);

				    padding: 14px 20px;
				    border-radius: 8px;
				    color: #fff;
				    font-size: 14px;
				    font-weight: 500;
				    z-index: 99999;

				    opacity: 0;

				    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

				    animation: toastIn 0.3s ease forwards;
				}

				.custom-toast.success {
				    background: linear-gradient(90deg,#5b8cff,#7651d8);
				}

				.custom-toast.error {
				    background: linear-gradient(90deg,#ff27d9,#ff176b);
				}

				.custom-toast.info {
				    background: linear-gradient(90deg,#5b8cff,#39ffb6);
				}

				.custom-toast.warning {
				    background: linear-gradient(90deg,#ffb300,#ff27d9);
				    color: #10141d;
				}

				@keyframes toastIn {
				    to {
				        opacity: 1;
				        transform: translateX(-50%) translateY(0);
				    }
				}

				@keyframes toastOut {
				    to {
				        opacity: 0;
				        transform: translateX(-50%) translateY(-15px);
				    }
				}

        .stat-label {
            color: var(--text-muted);
            font-size: 0.8rem;
            font-weight: 500;
        }

        .stat-value {
            font-size: 1.35rem;
            font-weight: 900;
            margin-top: 0.25rem;
        }

        .stat-value.cyan { color: var(--accent-cyan); }
        .stat-value.slate { color: #e2e8f0; }
        .stat-value.red { color: var(--accent-red); }
        
        button.preset-btn { 
        	margin: 3px 8px; 
        	padding: 4px 6px; 
        	background: var(--accent); 
        	color: white; 
        	border: none; 
        	border-radius: 3px; 
        	cursor: pointer; 
        	font-weight: bold; 
        	transition: background 0.2s; 
        	font-size: 11px; 
        	width:90%; }
        	
        button.preset-btn:hover { background: var(--accent-hover); }
        
        button.preset-btn-save { 
        	margin: 3px 8px; 
        	padding: 4px 6px; 
        	background: #ff5252; 
        	color: white; 
        	border: none; 
        	border-radius: 3px; 
        	cursor: pointer; 
        	font-weight: bold; 
        	transition: background 0.2s; 
        	font-size: 11px; 
        	width:90%; }
        	
        button.preset-btn-save:hover { background: #ff5252; }
        
        button.preset-btn-green { 
        	margin: 3px 8px; 
        	padding: 4px 6px; 
        	background: rgba(57,255,182,0.16); 
        	color: white; 
        	border: none; 
        	border-radius: 3px; 
        	cursor: pointer; 
        	font-weight: bold; 
        	transition: background 0.2s; 
        	font-size: 11px; 
        	width:90%; }
        	
        button.preset-btn-green:hover { background: #66bb6a; }
        
        button.preset-btn-blue { 
        	margin: 3px 8px; 
        	padding: 4px 6px; 
        	background: linear-gradient(90deg,#5577ff,#4966e8); 
        	color: white; 
        	border: none; 
        	border-radius: 3px; 
        	cursor: pointer; 
        	font-weight: bold; 
        	transition: background 0.2s; 
        	font-size: 11px; 
        	width:90%; }
        	
        button.preset-btn-blue:hover { background: #42a5f5; }
        
        
        
        .presets-third{display:inline-block; width:33%; text-align:center;}
        .presets-fifth{display:inline-block; width:20%; text-align:center;}
        
        
        
        button.small-btn { margin: 3px 0px; padding: 4px 6px; background: var(--accent); color: white; border: none; border-radius: 3px; cursor: pointer; font-weight: bold; transition: background 0.2s; font-size: 10px; }
        button.small-btn:hover { background: var(--accent-hover); }
        .btn-small { padding: 6px 10px; font-size: 12px; background: #182231; }
        /*.btn-small:hover { background: #26354a; }*/
        .btn-danger { background: transparent; color: #ff27d9; border: 1px solid #ff5252; }
        .btn-danger:hover { background: #ff5252; color: white; }
        .btn-shutdown { background: linear-gradient(90deg,#ff27d9,#ff176b); color: white; border: none; }
        .btn-shutdown:hover { background: #f44336; }
        .btn-success { background: rgba(57,255,182,0.16); color: white; border: none; }
        .btn-success:hover { background: #66bb6a; }
        .btn-blue { background: linear-gradient(90deg,#5577ff,#4966e8); color: white; border: none; }
        .btn-blue:hover { background: #42a5f5; }
        .btn-blue:disabled { opacity: 0.5; cursor: not-allowed; }
        
        .btn-addsess { background: linear-gradient(90deg,#5577ff,#4966e8); color: white; border: none; }
        .btn-addsess:hover { background: rgba(57,255,182,0.16); }
        
        .pagination-container { 
				  display: grid; 
				  grid-template-columns: 1fr auto 1fr; 
				  align-items: center; 
				  margin-top: 10px; 
				  padding-top: 8px; 
					}
					.pagination-info { 
					  font-size: 11px; 
					  color: #7f91a8; 
					  text-align: left;
					}
					.pagination-controls { 
					  display: flex; 
					  gap: 6px; 
					  align-items: center; 
					  grid-column: 2;
					}

        .flex-between { display: flex; justify-content: space-between; align-items: center; }
        .track-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid #1d2a3b; }
        .actions-group { display: flex; gap: 6px; }
        .footer { text-align: center; font-size: 9px; color: #65758a; margin-top: 0px; border-top: 1px solid var(--accent); padding-top: 10px; }
        
        /* Table Editor Styles */
        .editor-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 12px; }
        .editor-table th { border-bottom: 1px solid #444; text-align: left; color: #7f91a8; padding: 6px; font-size: 10px; text-transform: uppercase; }
        .editor-table td { border-bottom: 1px solid #1d2a3b; padding: 6px; }
        .editor-table input, .editor-table select { height: 26px; padding: 2px 6px; font-size: 12px; }
        
        button.add-track-btn {width: 100%; padding: 12px; font-size: 14px; background: #0a0d14; border: 1px dashed #2b4561; color: #7f91a8; margin-bottom: 16px; cursor: pointer;}
        button.add-track-btn:hover {border: 1px dashed #3d638a;}
        

/* ==========================================================
   ACC RACE HOST — CYBERPUNK OVERRIDES
   ========================================================== */

:root {
    --cyber-cyan: #4b8cff;
    --cyber-blue: #3867ff;
    --cyber-violet: #8b5cff;
    --cyber-pink: #ff27c8;
    --cyber-green: #39ffb6;
    --cyber-panel: rgba(7, 12, 22, 0.94);
    --cyber-line: rgba(0, 229, 255, 0.28);
}

/* Technical grid atmosphere */
body {
    background-color: #05060b;
    background-image:
        linear-gradient(rgba(91,140,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,77,255,0.025) 1px, transparent 1px),
        radial-gradient(circle at 50% -10%, rgba(91,140,255,0.12), transparent 38%),
        radial-gradient(circle at 100% 80%, rgba(255,39,217,0.07), transparent 35%);
    background-size: 32px 32px, 32px 32px, auto, auto;
    background-attachment: fixed;
}

/* Angular, high-tech panel language */
.card,
.script-controls,
.session-card,
.session-card-out,
.telemetry-tile {
    background:
        linear-gradient(135deg, rgba(12,18,30,0.97), rgba(5,8,15,0.97));
    border: 1px solid #20334a;
    border-radius: 3px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.025),
        0 0 0 1px rgba(91,140,255,0.025),
        0 8px 28px rgba(0,0,0,0.38);
    position: relative;
}

.card::before,
.script-controls::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 18px;
    right: 55%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7651d8, #ff27c8, transparent);
    opacity: 0.9;
}

/* Stronger section headers */
.header,
.track-header,
.subhead,
h4,
.footer {
    border-color: var(--cyber-line);
}

h1,
h2,
h3 {
    letter-spacing: 0.04em;
}

h1 {
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(91,140,255,0.22);
}

.subhead,
h4,
label,
.control-title,
.header-info .badge {
    letter-spacing: 0.12em;
}

/* Inputs */


input:hover,
select:hover {
    border-color: #3d5f82;
}

input:focus,
select:focus,
input.presetw:focus {
    border-color: #7651d8;
    box-shadow:
        0 0 0 1px rgba(91,140,255,0.18),
        0 0 14px rgba(91,140,255,0.12);
}




button.preset-btn:hover,
button.preset-btn-save:hover,
button.preset-btn-green:hover,
button.preset-btn-blue:hover {
    background: linear-gradient(90deg, #5b8cff, #7651d8 55%, #ff27d9);
    box-shadow: 0 0 18px rgba(91,140,255,0.24);
}

.btn-danger {
    background: transparent !important;
    color: var(--cyber-pink) !important;
    border-color: var(--cyber-pink) !important;
    box-shadow: 0 0 10px rgba(255,39,217,0.08);
}

.btn-danger:hover {
    background: rgba(255,39,217,0.12) !important;
}

.btn-success {
    background: linear-gradient(90deg, #00bfa5, #39ffb6) !important;
    color: #02110d !important;
}


.btn-addsess {
    background: linear-gradient(90deg, #5577ff, #4966e8) !important;
}

/* Telemetry tiles */
.telemetry-tile {
    overflow: hidden;
}

.telemetry-tile::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4966e8, #7651d8, #ff27c8, transparent);
}

.telemetry-tile .tile-title {
    color: #70859f;
    letter-spacing: 0.12em;
}

.telemetry-tile .tile-accent,
.stat-value.cyan {
    color: #6f8dff;
    text-shadow: 0 0 10px rgba(91,140,255,0.28);
}

/* Status indicators */
.status-running {
    background: rgba(57,255,182,0.08);
    color: var(--cyber-green);
    border-color: var(--cyber-green);
    box-shadow: 0 0 12px rgba(57,255,182,0.12);
}

.status-stopped {
    background: rgba(255,39,217,0.08);
    color: var(--cyber-pink);
    border-color: var(--cyber-pink);
    box-shadow: 0 0 12px rgba(255,39,217,0.12);
}

/* Tables */
.editor-table th {
    color: #7890ab;
    border-color: #26384f;
    letter-spacing: 0.12em;
}

.editor-table td {
    border-color: #172536;
}

.editor-table tr:hover td {
    background: rgba(91,140,255,0.025);
}

/* Links */
a {
    color: #6f8dff;
    text-shadow: 0 0 8px rgba(91,140,255,0.15);
}

a:hover {
    color: var(--cyber-pink);
}

/* Scrollbar */
::-webkit-scrollbar-track {
    background: #050811;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #17364d, #26315d);
    border: 1px solid #31506d;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4055c8, #7651d8);
}



/* Add-track call-to-action */
button.add-track-btn {
    background:
        linear-gradient(135deg, rgba(91,140,255,0.025), rgba(124,77,255,0.025)),
        #070b12;
    border: 1px dashed #2b506e;
    color: #7e94ad;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

button.add-track-btn:hover {
    border-color: #7651d8;
    color: #6f8dff;
    box-shadow: 0 0 18px rgba(91,140,255,0.08);
}

/* Small cyber accent on the footer */
.footer {
    color: #5e7188;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: no-preference) {
    button,
    input,
    select,
    a,
    .collapsible-header {
        transition:
            color 0.18s ease,
            background 0.18s ease,
            border-color 0.18s ease,
            box-shadow 0.18s ease,
            transform 0.18s ease;
    }

    button:hover {
        transform: translateY(-1px);
    }
}


       
   

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 1.25rem;
        }

     

  

        /* Grid Layout (Stacked: Chart Top, Controls Bottom) */
        .gridChart {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.25rem;
        }

        /* Panel Cards 
        .card {
            background-color: var(--bg-panel);
            border: 1px solid var(--border-neutral);
            border-radius: 0.5rem;
            padding: 1.25rem 1.5rem;
            box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.8);
            position: relative;
        }
					*/
					
      

        .panel-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-main);
            border-bottom: 1px solid var(--border-neutral);
            padding-bottom: 0.6rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            letter-spacing: 0.05em;
        }

        .pulse-dot {
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 50%;
            background-color: var(--accent-red);
            box-shadow: 0 0 8px var(--accent-red);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
        }

        /* Presets */
        .section-label {
            display: block;
            font-size: 0.7rem;
            font-weight: 700;
            color: var(--accent-red);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
        }

        .preset-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .preset-btn {
            background-color: var(--bg-input);
            border: 1px solid var(--border-neutral);
            border-radius: 0.35rem;
            padding: 0.5rem;
            text-align: center;
            color: var(--text-main);
            font-size: 0.75rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .preset-btn:hover {
            border-color: var(--accent-red);
            background-color: #1f1414;
            color: var(--accent-red-hover);
        }

        .preset-sub {
            font-size: 0.6rem;
            color: var(--text-muted);
            margin-top: 2px;
        }

        /* Form Controls Layout */
        .controls-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        @media (min-width: 600px) {
            .controls-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .control-group label {
            display: block;
            font-size: 0.8rem;
            font-weight: 500;
            color: #d1d5db;
            margin-bottom: 0.35rem;
        }

        .control-group label span {
            font-weight: 700;
            color: var(--accent-red);
        }

        input[type="range"] {
            width: 100%;
            accent-color: var(--accent-red);
            cursor: pointer;
            background: var(--bg-input);
            height: 4px;
        }

        .divider {
            border: none;
            border-top: 1px solid var(--border-neutral);
            margin: 1rem 0;
        }

        /* Schedule Sections Layout */
        .schedules-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
        }

        .schedule-box {
            background: var(--bg-input);
            padding: 0.75rem 1rem;
            border-radius: 0.35rem;
            border: 1px solid var(--border-neutral);
        }

        .schedule-title {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
        }

        .schedule-title.cyan { color: var(--accent-cyan); }
        .schedule-title.emerald { color: var(--accent-emerald); }
        .schedule-title.red { color: var(--accent-red); }

        .schedule-inputs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
        }

        .input-wrapper span {
            display: block;
            font-size: 0.6rem;
            color: var(--text-muted);
            margin-bottom: 0.15rem;
        }

        .schedule-inputs input {
            width: 100%;
            background-color: var(--bg-black);
            border: 1px solid var(--border-neutral);
            border-radius: 0.25rem;
            padding: 0.35rem;
            font-size: 0.85rem;
            text-align: center;
            font-weight: 700;
            outline: none;
            transition: border-color 0.2s;
        }

        .schedule-inputs input.cyan { color: var(--accent-cyan); }
        .schedule-inputs input.emerald { color: var(--accent-emerald); }
        .schedule-inputs input.red { color: var(--accent-red); }

        .schedule-inputs input:focus {
            border-color: var(--accent-red);
            box-shadow: 0 0 6px rgba(220, 38, 38, 0.4);
        }

        /* Action Button */
        .btn-simulate {
            width: 100%;
            padding: 0.75rem;
            background-color: var(--accent-red);
            color: #ffffff;
            font-weight: 700;
            border: none;
            border-radius: 0.35rem;
            cursor: pointer;
            transition: background-color 0.2s ease;
            font-size: 0.85rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .btn-simulate:hover {
            background-color: var(--accent-red-hover);
        }

        /* Chart & Stats Section Top */
        .top-column {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .chart-container {
            background-color: var(--bg-panel);
            border: 1px solid var(--border-neutral);
            border-radius: 0.5rem;
            padding: 1rem;
            box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.8);
            height: 310px;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .chart-legend {
            display: flex;
            gap: 1rem;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }

        .legend-color {
            width: 10px;
            height: 10px;
            border-radius: 2px;
        }

        .legend-rain { background-color: #22d3ee; }
        .legend-cloud { background-color: var(--text-muted); }
        .legend-temp { background-color: #e53935; }

        .chart-wrapper {
            flex-grow: 1;
            position: relative;
            width: 100%;
            height: 100%;
        }

        canvas {
            width: 100% !important;
            height: 100% !important;
            display: block;
        }

        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
        }

        .stat-card {
            background-color: var(--bg-panel);
            border: 1px solid var(--border-neutral);
            border-radius: 0.35rem;
            padding: 0.75rem;
            text-align: center;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
        }

        .stat-label {
            color: var(--text-muted);
            font-size: 0.75rem;
            font-weight: 500;
        }

        .stat-value {
            font-size: 1.25rem;
            font-weight: 800;
            margin-top: 0.2rem;
        }

        .stat-value.cyan { color: var(--accent-cyan); }
        .stat-value.slate { color: #f3f4f6; }
        .stat-value.red { color: var(--accent-red); }