@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Roboto:wght@400;700&display=swap');

        /* --- THEME: HELI AVIATION --- */
        :root {
            --primary: #ff9800; /* Safety Orange */
            --primary-dim: #b26a00;
            --bg-glass: rgba(20, 20, 20, 0.95);
            --text-main: #ffffff;
            --text-dim: #aaaaaa;
            --border: 1px solid rgba(255, 152, 0, 0.4);
            --green: #00e676;
            --blue: #0277bd;
        }

        body {
            margin: 0; padding: 0;
            font-family: 'Roboto', sans-serif;
            background-color: transparent;
            color: var(--text-main);
            overflow: hidden;
            height: 100vh; width: 100vw;
            user-select: none;
        }

        #tracker-app {
            position: absolute;
            top: 50px; left: 50px;
            width: 320px;
            background: var(--bg-glass);
            border: var(--border);
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.8);
            display: flex; flex-direction: column;
            resize: both; overflow: hidden;
            min-height: 200px;
        }

        header {
            background: linear-gradient(90deg, var(--primary-dim), var(--primary));
            padding: 8px 12px;
            cursor: move;
            display: flex; justify-content: space-between; align-items: center;
            font-family: 'Rajdhani', sans-serif; font-weight: 700;
            text-transform: uppercase; letter-spacing: 1px; font-size: 1.1em;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }

        #content { padding: 12px; flex: 1; overflow-y: auto; scrollbar-width: thin; }

        /* FLIGHT DATA DISPLAY */
        .flight-board {
            background: rgba(255, 255, 255, 0.05);
            border: 1px dashed var(--text-dim);
            border-radius: 6px; padding: 10px; margin-bottom: 15px;
        }
        
        .flight-row { margin-bottom: 8px; }
        .flight-row:last-child { margin-bottom: 0; }
        
        .f-label { font-size: 0.7em; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }
        .f-value { 
            font-family: 'Rajdhani', sans-serif; font-size: 1.3em; font-weight: 700; 
            color: #fff; line-height: 1.1; 
        }
        .f-sub { font-size: 0.9em; color: #ccc; }

        /* STATS */
        .section { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .section:last-child { border-bottom: none; }

        .label { font-size: 0.7em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 2px; }
        .value { font-size: 1.1em; font-weight: bold; color: var(--text-main); }
        .value.highlight { color: var(--primary); }
        .value.bxp { color: var(--green); }

        .progress-container {
            position: relative; height: 16px;
            background: rgba(0,0,0,0.5); border-radius: 4px; margin: 5px 0 5px 0;
            overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
        }
        .progress-bar { height: 100%; background: var(--primary); width: 0%; transition: width 0.3s ease; }
        .progress-text {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            font-size: 0.7em; text-shadow: 1px 1px 2px black; font-weight: bold; z-index: 2;
        }

        .stat-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
        .stat-box { background: rgba(255,255,255,0.05); padding: 6px; border-radius: 4px; text-align: center; }

        /* CALCULATOR */
        input[type="number"] {
            width: 90%; background: rgba(0,0,0,0.3);
            border: 1px solid #444; color: white; padding: 5px;
            border-radius: 4px; margin-top: 5px; font-family: inherit;
        }
        input:focus { outline: 1px solid var(--primary); }
        .calc-output { margin-top: 5px; font-size: 0.8em; line-height: 1.3; color: var(--text-dim); word-wrap: break-word; }
        
        /* QUICK BUTTONS */
        .quick-btn-row {
            display: flex; gap: 5px; margin-top: 5px; justify-content: center;
        }
        .quick-btn {
            background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
            color: #ccc; font-size: 0.7em; padding: 2px 6px; border-radius: 3px; cursor: pointer;
            font-family: 'Rajdhani', sans-serif; font-weight: bold; flex: 1;
        }
        .quick-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

        #settings-panel, #job-list, #summary-table { display: none !important; }