
      :root {
        --bg: #0f172a;
        --panel: #111827;
        --panel-alt: #1f2937;
        --primary: #7c3aed;
        --primary-dark: #a78bfa;
        --danger: #ff01019a;
        --danger-dark: #f51212;
        --text: #e5e7eb;
        --muted: #94a3b8;
        --border: #2f3a4c;
        --shadow: 0 18px 36px rgba(15, 23, 42, 0.55);
      }

      * { box-sizing: border-box; }


      @keyframes errorShake {
        0% { transform: translateY(0);}
        25% { transform: translateY(-2px);}
        50% { transform: translateY(2px);}
        75% { transform: translateY(-2px);}
        100% { transform: translateY(0);}
      }

      .error {
        box-shadow: 0px 0px 30px var(--danger);
        animation: errorShake 0.5s ease-in-out;
      }
      body {
        margin-top: 50px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: "Roboto Mono", monospace;
        background: linear-gradient(135deg, #0b1120 0%, #111827 42%, #1e1b4b 100%);
        color: var(--text);
        overflow-x: hidden;
        overflow-y: hidden;
      }

      #list-holder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        width: min(460px, 88vw);
        border: 1px solid var(--border);
        border-radius: 18px;
        overflow: hidden;
        min-height: calc(100% + 20px);
        padding: 10px 0 20px;
      }

      .total {
        padding-left: 20px;
        font-size: 1rem;
        color: var(--muted);
      }
      .app {
        width: min(460px, 88vw);
        background: var(--panel);
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 20px 18px 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

          .btn-holder {
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
          }

      .controls {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 14px;
      }

      .category-selects {
        display: flex;
        gap: 8px;
        width: 100%;
      }

      input {
        flex: 1 1 180px;
        min-width: 0;
        border: 1px solid var(--border);
        background: rgba(15, 23, 42, 0.8);
        border-radius: 10px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
        color: var(--text);
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        text-transform: uppercase;
      }

      input::placeholder {
        color: var(--muted);
      }

      input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
        background: rgba(17, 24, 39, 0.95);
      }

      select {
        flex: 1 1 100px;
        min-width: 0;
        height: 40px;
        padding: 0 34px 0 12px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--panel-alt);
        color: var(--text);
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      }

      select:hover {
        border-color: var(--primary-dark);
      }

      select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
        background: #273449;
      }

      select option {
        background: var(--panel);

      }
      button {
        border: 1px solid transparent;
        border-radius: 10px;
        height: 40px;
        min-width: 100px;
        max-width: 150px;
        padding: 0 14px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 700;
        color: var(--text);
        transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
      }

      button:hover {
        transform: translateY(-1px);
      }

      button:active {
        transform: translateY(0);
      }

      #Start {
        background: var(--primary);
        color: white;
        box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
      }

      #Stop {
        background: var(--panel-alt);
        color: var(--text);
        border: 1px solid var(--border);
      }

      .timer {
        margin: 8px 0 6px;
        text-align: center;
        font-weight: 900;
        font-size: clamp(1.8rem, 5vw, 2.7rem);
        letter-spacing: 0.06em;
        color: var(--primary-dark);
      }

      h3 {
        margin: 0 0 12px;
        font-size: 0.95rem;
        color: var(--muted);
      }

      #total {
        color: var(--text);
        font-weight: 700;
      }

      ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        width: 100%;
      }

      li {
        width: 90%;
        display: flex;;
        align-items: center;
        background: linear-gradient(180deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.96) 100%);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 10px 6px;
        overflow: hidden;
      }
      .list-title {
        font-size: clamp(0.2rem, 2.7vw, 0.8rem);
      }
      .session-info {
        max-width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: clamp(0.2rem, 2.4vw, 0.8rem);
        margin-left: 5px;
    }
      .project-name {
        font-weight: 600;
        color: var(--text);
        font-size: 0.96rem;
      }

      .project-time {
        font-weight: 700;
        color: var(--primary-dark);
        font-size: 0.9rem;
      }

      .delete {
        background: var(--danger);
        color: white;
        border-radius: 8px;
        width: 35px;
        height: 30px;
        min-width: 15px;
        padding: 0;
        font-size: 16px;
        line-height: 1;
        margin-right: 10px;
      }

      .delete:hover {
        background: var(--danger-dark);
      }
