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

        /* --- THEME: HUNTER GREEN --- */
        :root {
            --primary: #558b2f; /* Forest Green */
            --primary-dim: #2e5c18;
            --bg-glass: rgba(15, 15, 15, 0.95);
            --text-main: #ffffff;
            --text-dim: #aaaaaa;
            --border: 1px solid rgba(85, 139, 47, 0.4);
            --green: #00e676;
            --accent: #ffb300; /* Amber */
        }

        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: 340px;
            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;
        }

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

        .section { margin-bottom: 12px; 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: 3px; }
        .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 10px 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; }

        /* INVENTORY STYLES */
        .inv-row {
            display: flex; justify-content: space-between; align-items: center;
            background: rgba(0,0,0,0.3); padding: 5px 8px;
            margin-bottom: 4px; border-radius: 4px;
            border-left: 3px solid var(--text-dim);
        }
        
        .meat-row {
            border-left-color: var(--accent);
            background: rgba(255, 179, 0, 0.1);
            margin-bottom: 8px; font-weight: bold;
        }

        .inv-name { font-size: 0.85em; }
        .inv-stats { font-size: 0.85em; font-weight: bold; text-align: right; }
        
        .animal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
        .animal-col .inv-row { border-left: 2px solid var(--primary); }

        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; }