        :root {
            --theme-fg: #00ff00;
            --theme-bg: #000000;
            --theme-accent: #00ff00;
            --theme-accent-rgb: 0, 255, 0;
        }

        @font-face {
            font-family: '0xProto Nerd Font Mono';
            src: url('../fonts/0xProtoNerdFontMono-Regular.ttf') format('truetype');
            font-display: swap;
        }

        @font-face {
            font-family: '3270 Nerd Font Mono';
            src: url('../fonts/3270NerdFontMono-Regular.ttf') format('truetype');
            font-display: swap;
        }

        @font-face {
            font-family: 'Commit Mono Nerd Font';
            src: url('../fonts/CommitMonoNerdFont-Regular.otf') format('opentype');
            font-display: swap;
        }

        @font-face {
            font-family: 'Geist Mono Nerd Font';
            src: url('../fonts/GeistMonoNerdFont-Regular.otf') format('opentype');
            font-display: swap;
        }

        @font-face {
            font-family: 'Hack Nerd Font Mono';
            src: url('../fonts/HackNerdFontMono-Regular.ttf') format('truetype');
            font-display: swap;
        }

        @font-face {
            font-family: 'Iosevka Nerd Font Mono';
            src: url('../fonts/IosevkaNerdFontMono-Regular.ttf') format('truetype');
            font-display: swap;
        }

        @font-face {
            font-family: 'Monaspice Neon Nerd Font Mono';
            src: url('../fonts/MonaspiceNeNerdFontMono-Regular.otf') format('opentype');
            font-display: swap;
        }

        @font-face {
            font-family: 'Recursive Mono Casual Nerd Font';
            src: url('../fonts/RecMonoCasualNerdFont-Regular.ttf') format('truetype');
            font-display: swap;
        }

        @font-face {
            font-family: 'Victor Mono Nerd Font';
            src: url('../fonts/VictorMonoNerdFont-Regular.ttf') format('truetype');
            font-display: swap;
        }

        @font-face {
            font-family: 'CaskaydiaCove Nerd Font Mono';
            src: url('../fonts/CaskaydiaCoveNerdFontMono-Regular.ttf') format('truetype');
            font-display: swap;
        }

        html,
        body {
            height: 100%;
            margin: 0;
            padding: 0;
            /* Font family will be set by JS */
            font-size: 1em;
        }

        #terminal {
            height: 100vh;
            width: 100%;
            padding: 10px 10px 92px;
            box-sizing: border-box;
            overflow-y: auto;
            position: relative;
        }

        #tab-display {
            position: fixed;
            top: 5px;
            right: 15px;
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            font-size: 0.9em;
            opacity: 0.7;
            color: var(--theme-accent);
            text-shadow: 0 0 12px rgba(var(--theme-accent-rgb), 0.22);
            z-index: 6;
        }

        #pomo-indicator {
            position: fixed;
            top: 12px;
            left: 50%;
            transform: translateX(-50%);
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            padding: 10px 16px;
            border: 1px solid var(--theme-accent);
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(var(--theme-accent-rgb), 0.08));
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(var(--theme-accent-rgb), 0.15);
            backdrop-filter: blur(2px);
            color: inherit;
            z-index: 5;
            min-width: 250px;
        }

        #pomo-indicator.active {
            display: flex;
        }

        #pomo-mode-label {
            font-weight: bold;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            font-size: 0.78rem;
            opacity: 0.92;
            color: var(--theme-accent);
        }

        #pomo-progress-track {
            width: 220px;
            height: 6px;
            border-radius: 999px;
            background: rgba(var(--theme-accent-rgb), 0.14);
            overflow: hidden;
        }

        #pomo-progress-bar {
            height: 100%;
            background: var(--theme-accent);
            width: 100%;
            transform-origin: left center;
            transition: width 0.5s linear;
        }

        #pomo-timer-text {
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: 0.06em;
        }

        #pomo-cycle-text {
            font-size: 0.72rem;
            opacity: 0.8;
            letter-spacing: 0.04em;
        }

        #yt-player-container {
            width: 0;
            height: 0;
            overflow: hidden;
        }

        #native-color-picker {
            position: fixed;
            left: -1000px;
            top: -1000px;
            opacity: 0;
            pointer-events: none;
        }

        #list-name-overlay {
            font-family: 'Jersey 25', sans-serif;
            font-size: 4em;
            color: var(--theme-accent);
            position: fixed;
            top: 15px;
            right: 25px;
            opacity: 0.33;
            text-shadow: 0 0 24px rgba(var(--theme-accent-rgb), 0.12);
            pointer-events: none;
            z-index: 0;
        }

        #output-container {
            width: 100%;
        }

        .output-line {
            white-space: pre-wrap;
            word-wrap: break-word;
            color: inherit;
        }

        .command-echo {
            opacity: 0.8;
        }

        .error-line {
            color: #ff4136;
        }

        .success-line {
            color: #2ecc40;
        }

        .info-line {
            color: var(--theme-accent);
        }

        /* Task metadata styling */
        .task-prio {
            opacity: 0.9;
            font-weight: 700;
        }

        .task-prio.priority-high {
            color: #ff4136;
        }

        .task-prio.priority-medium {
            color: #ffdc00;
        }

        .task-prio.priority-low {
            color: #2ecc40;
        }

        .task-prio-badge {
            display: inline-block;
            margin-left: 0.45rem;
            padding: 0.08rem 0.45rem;
            border-radius: 999px;
            color: #ffffff;
            font-size: 0.72em;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            vertical-align: middle;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
        }

        .task-prio-badge.priority-high {
            background: linear-gradient(135deg, #ff4136, #85144b);
        }

        .task-prio-badge.priority-medium {
            background: linear-gradient(135deg, #ff851b, #ffdc00);
            color: #ffffff;
        }

        .task-prio-badge.priority-low {
            background: linear-gradient(135deg, #2ecc40, #0b8f4d);
        }

        .task-tags {
            color: var(--theme-accent);
            opacity: 0.9;
        }

        .task-due {
            color: var(--theme-accent);
            opacity: 0.9;
        }

        .task-note-indicator {
            color: var(--theme-accent);
            opacity: 0.7;
            cursor: help;
        }

        .accent-line {
            color: var(--theme-accent);
            text-shadow: 0 0 16px rgba(var(--theme-accent-rgb), 0.16);
        }

        .input-line-container {
            display: flex;
            align-items: center;
            width: 100%;
        }

        .prompt {
            margin-right: 8px;
            color: inherit;
        }

        #command-input {
            background: transparent;
            border: none;
            outline: none;
            color: inherit;
            font-family: inherit;
            font-size: inherit;
            flex-grow: 1;
            padding: 0;
        }

        #command-input:focus {
            outline: none;
            box-shadow: none;
        }

        #cursor {
            background-color: inherit;
            width: 9px;
            height: 1.2em;
            display: inline-block;
            margin-left: 1px;
            animation: blink 1s step-end infinite;
            opacity: 1;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }
        }

        #command-input:not(:focus)+#cursor {
            opacity: 0;
            animation: none;
        }

        /* --- Modal Styling --- */
        .modal-content.terminal-modal {
            border-radius: 0;
            border-width: 2px;
            border-color: var(--theme-accent);
            font-size: 1.25rem;
            font-family: inherit;
            box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(var(--theme-accent-rgb), 0.18);
        }

        .terminal-modal .modal-header,
        .terminal-modal .modal-footer {
            border: none;
        }

        .terminal-modal .modal-header {
            border-bottom: 1px solid rgba(var(--theme-accent-rgb), 0.3);
        }

        .terminal-modal .modal-footer {
            border-top: 1px solid rgba(var(--theme-accent-rgb), 0.3);
        }

        .terminal-modal .modal-body {
            padding-top: 0.5rem;
        }

        .terminal-modal .modal-title {
            color: var(--theme-accent);
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        /* Custom modal input */
        .terminal-modal input[type="text"] {
            background-color: rgba(255, 255, 255, 0.1);
            border: 1px solid;
            border-color: var(--theme-accent);
            color: inherit;
            font-family: inherit;
            border-radius: 0;
            width: 100%;
            margin-top: 10px;
        }

        .terminal-modal input[type="text"]:focus {
            background-color: rgba(255, 255, 255, 0.2);
            outline: none;
            box-shadow: none;
        }

        .terminal-modal .btn {
            border-radius: 0;
            font-family: inherit;
            font-size: 0.9em;
            background-color: rgba(var(--theme-accent-rgb), 0.08);
            color: var(--theme-accent);
            border: 1px solid;
            border-color: var(--theme-accent);
            opacity: 0.8;
        }

        .terminal-modal .btn:hover {
            opacity: 1;
            background-color: rgba(var(--theme-accent-rgb), 0.18);
        }

        .terminal-modal .btn-primary {
            background-color: rgba(var(--theme-accent-rgb), 0.22);
        }


        .modal-task {
            padding: 2px 8px;
            cursor: default;
            white-space: pre-wrap;
            word-wrap: break-word;
        }

        .modal-task.subtask {
            padding-left: 2.5rem;
        }

        .modal-task.done {
            color: #2ecc40;
            text-decoration: line-through;
            opacity: 0.7;
        }

        .modal-task.done .task-prio,
        .modal-task.done .task-prio-badge,
        .modal-task.done .task-tags,
        .modal-task.done .task-due {
            opacity: 0.5;
        }

        .modal-heading,
        .modal-task-id {
            color: var(--theme-accent);
        }

        .modal-task.highlighted {
            background-color: rgba(var(--theme-accent-rgb), 0.14);
            box-shadow: inset 0 0 0 1px rgba(var(--theme-accent-rgb), 0.45);
            outline: none;
        }

        .modal-task.task-highlighted {
            background-color: rgba(var(--theme-accent-rgb), 0.12);
            box-shadow: inset 0 0 0 1px var(--theme-accent);
        }

        .modal-action {
            color: var(--theme-accent);
        }

        .modal-action.highlighted {
            color: var(--theme-fg);
        }

        #tab-display .iconify,
        .footer-stat .iconify,
        .footer-note .iconify {
            flex: 0 0 auto;
            color: var(--theme-accent);
        }

        .modal-action .iconify {
            color: var(--theme-fg);
            margin-right: 0.55rem;
        }

        .modal-help-line {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            flex-wrap: wrap;
            width: 100%;
            font-size: 0.88rem;
            font-style: italic;
            line-height: 1.4;
        }

        .modal-help-line .iconify {
            color: var(--theme-fg);
            font-size: 0.92em;
            align-self: center;
        }

        .modal-help-key {
            color: var(--theme-fg);
            font-style: normal;
        }

        #terminal-footer {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            padding: 0.85rem 1.1rem;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            color: inherit;
            z-index: 8;
            overflow: hidden;
        }

        #terminal-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--theme-accent);
            box-shadow: 0 0 16px rgba(var(--theme-accent-rgb), 0.4);
        }

        .footer-section {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .footer-stat,
        .footer-note {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            white-space: nowrap;
        }

        .footer-note {
            opacity: 0.82;
        }

        @media (max-width: 820px) {
            #terminal {
                padding-bottom: 120px;
            }

            #list-name-overlay {
                font-size: 2.8em;
                right: 18px;
                top: 52px;
            }

            #terminal-footer {
                flex-direction: column;
                align-items: flex-start;
            }
        }
