:root {
    --bg-body: #f5f5f0;
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #999999;
    --text-muted-light: #c5c3bf;
    --border-color: #f0eeea;
    --border-input: #e5e2dc;
    --bg-section: #fafaf7;
    --bg-input: #ffffff;
    --shadow-card:
        0 0 0 1px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04);
    --bg-ring-bg: #f0eeea;
    --color-accent: #ffcc00;
    --color-accent-hover: #e6b800;
    --color-accent-text: #1a1a1a;
}

[data-theme="dark"] {
    --bg-body: #121212;
    --bg-card: #1e1e1e;
    --text-main: #e2e8f0;
    --text-muted: #a0aec0;
    --text-muted-light: #4a5568;
    --border-color: #2d3748;
    --border-input: #4a5568;
    --bg-section: #1a202c;
    --bg-input: #2d3748;
    --shadow-card:
        0 0 0 1px rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0, 0, 0, 0.4);
    --bg-ring-bg: #2d3748;
    --color-accent: #d9a300;
    --color-accent-hover: #cc9900;
    --color-accent-text: #121212;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    min-height: 75vh;
    display: flex;
    justify-content: center;
    padding: 32px 16px;
    transition:
        background 0.3s,
        color 0.3s;
    zoom: 1.33;
    position: relative;
}

.tracker {
    width: 100%;
    max-width: 460px;
}

/* ═══ Card ═══ */
.card {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition:
        background 0.3s,
        box-shadow 0.3s;
    position: relative;
    z-index: 2;
}

/* ═══ Mode selector ═══ */
.mode-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

.mode-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.mode-select-wrap {
    flex: 1;
    position: relative;
}

.mode-select {
    width: 100%;
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--border-input);
    border-radius: 8px;
    font:
        500 13px / 1.4 "Inter",
        sans-serif;
    color: var(--text-main);
    background: var(--bg-input);
    appearance: none;
    outline: none;
    cursor: pointer;
    transition:
        background 0.3s,
        color 0.3s,
        border-color 0.3s;
}

.mode-select option {
    background: var(--bg-card);
    color: var(--text-main);
}

.mode-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.25);
}

.mode-arrow {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    font-size: 10px;
}

.mode-rate {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.mode-rate b {
    color: var(--text-main);
    font-weight: 600;
}

.limit-badge {
    background: #f33;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 3px;
}

/* ═══ Hero: Progress ═══ */
.hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 24px 20px;
}

.ring-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.ring-svg {
    transform: rotate(-90deg);
}
.ring-bg {
    stroke: var(--bg-ring-bg);
    fill: none;
    stroke-width: 9;
    transition: stroke 0.3s;
}
.ring-fg {
    stroke: #00c853;
    fill: none;
    stroke-width: 9;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.ring-pct {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.ring-pct-sign {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-info {
    flex: 1;
    min-width: 0;
}

.hero-money {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-target {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 3px;
}

.hero-counts {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.hc-item {
    display: flex;
    flex-direction: column;
}
.hc-val {
    font-size: 18px;
    font-weight: 700;
}
.hc-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 1px;
}

/* ═══ Stats strip ═══ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border-color);
    transition: border-top 0.3s;
}

.stat {
    padding: 12px 4px;
    text-align: center;
}

.stat + .stat {
    border-left: 1px solid var(--border-color);
    transition: border-left 0.3s;
}
.stat-val {
    display: block;
    font-size: 14px;
    font-weight: 700;
}
.stat-label {
    display: block;
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

/* ═══ Quick add — the MAIN action ═══ */
.add-section {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    transition:
        background 0.3s,
        border-top 0.3s;
}

.add-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border-input);
    border-radius: 10px;
    font:
        400 15px / 1.3 "Inter",
        sans-serif;
    color: var(--text-main);
    background: var(--bg-input);
    outline: none;
    transition:
        all 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.3s,
        color 0.3s,
        border-color 0.3s;
    opacity: 1;
    max-width: 100%;
}

.add-input::placeholder {
    color: var(--text-muted-light);
}
.add-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.25);
}

.add-btn {
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    font:
        700 15px / 1.3 "Inter",
        sans-serif;
    background: var(--color-accent);
    color: var(--color-accent-text);
    cursor: pointer;
    white-space: nowrap;
    transition:
        background 0.15s,
        transform 0.1s,
        flex 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.3s;
}

.add-btn:hover {
    background: var(--color-accent-hover);
}
.add-btn:active {
    transform: scale(0.97);
}

/* ═══ Polygon mode adaptive UI ═══ */
.card.is-polygon .add-input {
    flex: 0;
    max-width: 0;
    padding: 12px 0;
    border-width: 0;
    margin-right: -10px;
    opacity: 0;
    pointer-events: none;
}

.card.is-polygon .add-btn {
    flex: 1;
    text-align: center;
}

.card.is-polygon #field-m-obj {
    flex: 0;
    max-width: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    margin-right: -8px;
    padding: 0;
}

/* ═══ Bottom sections ═══ */
.sections {
    padding: 0 20px 16px;
    background: var(--bg-section);
    transition: background 0.3s;
}

.section {
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    transition: border-top 0.3s;
}

.section + .section {
    margin-top: 10px;
}

.section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.section-row {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.section-row + .section-row {
    margin-top: 8px;
}

.field {
    flex: 1;
    min-width: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.field label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.inp {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border-input);
    border-radius: 8px;
    font:
        400 13px / 1.3 "Inter",
        sans-serif;
    color: var(--text-main);
    background: var(--bg-input);
    outline: none;
    transition:
        background 0.3s,
        color 0.3s,
        border-color 0.3s;
}

.inp::placeholder {
    color: var(--text-muted-light);
}
.inp:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.25);
}

.btn-sm {
    padding: 8px 14px;
    border: 1px solid var(--border-input);
    border-radius: 8px;
    font:
        500 12px / 1.3 "Inter",
        sans-serif;
    background: var(--bg-card);
    color: var(--text-main);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        background 0.15s,
        color 0.3s,
        border-color 0.3s;
}

.btn-sm:hover {
    background: var(--bg-body);
}
.btn-sm:active {
    transform: scale(0.97);
}

.btn-sm-orange {
    background: var(--bg-card);
    border-color: #ffd699;
    color: #c65d00;
}

.btn-sm-orange:hover {
    background: #ffe8cc;
}

[data-theme="dark"] .btn-sm-orange {
    background: #2a1d08;
    border-color: #e6a13c;
    color: #f7a032;
}

[data-theme="dark"] .btn-sm-orange:hover {
    background: #3d2a0b;
}

.reset-btn {
    display: block;
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    text-align: center;
    font:
        500 12px "Inter",
        sans-serif;
    color: #e53935;
    background: none;
    border: 1px dashed #f5c6c4;
    border-radius: 8px;
    cursor: pointer;
    transition:
        all 0.15s,
        border-color 0.3s;
}

.reset-btn:hover {
    background: #fff5f5;
    border-color: #e53935;
}

[data-theme="dark"] .reset-btn {
    border-color: #5a2624;
}

[data-theme="dark"] .reset-btn:hover {
    background: #3a1514;
    border-color: #e53935;
}

/* ═══ Header ═══ */
.theme-toggle-wrap {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 100;
}

@media (max-width: 600px) {
    .theme-toggle-wrap {
        position: static;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 12px;
    }
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-input);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition:
        all 0.2s ease-in-out,
        background 0.3s,
        color 0.3s,
        border-color 0.3s;
}

.theme-toggle:hover {
    background: var(--bg-body);
    transform: scale(1.05);
}

.theme-icon {
    width: 18px;
    height: 18px;
}

.theme-toggle svg,
.theme-toggle svg * {
    fill: none;
    stroke: currentColor;
}

.sun-icon {
    display: none;
}

html[data-theme="dark"] .sun-icon {
    display: block;
}

html[data-theme="dark"] .moon-icon {
    display: none;
}

/* ═══ Tracker Layout ═══ */
.tracker-layout {
    position: relative;
}

/* ═══ Log Journal Panel ═══ */
.log-journal {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 0;
    overflow: hidden;
    background: var(--bg-card);
    border-radius: 0 20px 20px 0;
    border: 1px solid var(--border-color);
    border-left: none;
    margin-left: -20px;
    padding-left: 20px;
    box-shadow: var(--shadow-card);
    transition:
        width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        margin-left 0.45s,
        opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
}

.log-journal.open {
    width: 380px;
    opacity: 1;
    pointer-events: auto;
}

.log-journal-inner {
    width: 360px;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* ═══ Journal Tab ═══ */
.log-tab {
    position: absolute;
    left: 100%;
    top: 110px;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-input);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 0;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition:
        left 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.3s,
        border-color 0.3s,
        box-shadow 0.3s,
        transform 0.2s;
}

.log-journal.open + .log-tab {
    left: calc(100% + 360px);
}

.log-tab:hover {
    background: var(--bg-section);
    transform: translate(-50%, -50%) scale(1.08);
}

.tab-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.log-tab:hover .tab-icon {
    color: var(--text-main);
}

.tab-text {
    display: none;
}

/* ═══ Drawer Header ═══ */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-section);
    transition:
        background 0.3s,
        border-bottom 0.3s;
}

.drawer-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s,
        color 0.2s;
}

.close-drawer-btn:hover {
    background: var(--border-color);
    color: var(--text-main);
}

/* ═══ Log List ═══ */
.log-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Scrollbar styling */
.log-list::-webkit-scrollbar {
    width: 6px;
}
.log-list::-webkit-scrollbar-track {
    background: transparent;
}
.log-list::-webkit-scrollbar-thumb {
    background: var(--border-input);
    border-radius: 3px;
}
.log-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted-light);
}

/* Empty State */
.empty-log-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
    height: 100%;
}

.empty-log-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    stroke: var(--text-muted-light);
}

.empty-log-state p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.empty-log-state span {
    font-size: 12px;
}

/* ═══ Log Item ═══ */
.log-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    gap: 12px;
    transition: all 0.2s ease-in-out;
}

.log-item:hover {
    border-color: var(--border-input);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.log-item-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.log-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.log-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.log-item-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.log-item-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.log-item-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.log-item-money {
    font-size: 13px;
    font-weight: 700;
    color: #00c853;
}

/* Log actions */
.log-item-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.log-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}

.log-btn-icon svg {
    width: 15px;
    height: 15px;
}

.log-btn-icon:hover {
    color: var(--text-main);
    background: var(--border-color);
}

.btn-delete:hover {
    color: #e53935;
    background: #fff5f5;
}

[data-theme="dark"] .btn-delete:hover {
    background: #3a1514;
}

/* ═══ Edit Mode ═══ */
.log-item.editing {
    flex-direction: column;
    align-items: stretch;
    border-color: var(--color-accent);
    background: var(--bg-card);
    gap: 14px;
}

.log-edit-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-edit {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field-edit label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.log-item-actions.edit-mode {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-save {
    background: var(--color-accent);
    color: var(--color-accent-text);
    border: none;
    font-weight: 700;
}

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

.btn-cancel {
    background: transparent;
    border: 1px solid var(--border-input);
}

.btn-cancel:hover {
    background: var(--bg-body);
}

@media (max-width: 860px) {
    .tracker,
    .tracker.has-journal {
        max-width: 460px;
    }
    .tracker-layout {
        flex-direction: column;
    }
    .log-journal {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        margin-top: 16px;
        height: auto;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transition:
            max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.45s;
    }
    .log-journal.open {
        max-height: 500px;
        opacity: 1;
        pointer-events: auto;
    }
    .log-journal-inner {
        width: 100%;
    }
    .log-tab {
        position: static;
        transform: none;
        margin-left: 0;
        left: auto;
        width: 100%;
        height: 40px;
        border-radius: 12px;
        border: 1px solid var(--border-input);
        margin-top: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 8px;
    }
    .tab-text {
        display: inline;
        font-size: 12px;
        font-weight: 700;
        color: var(--text-main);
        letter-spacing: 0.5px;
        writing-mode: horizontal-tb;
    }
    .tab-icon {
        width: 15px;
        height: 15px;
        color: var(--text-main);
    }
}

/* ═══ Responsive ═══ */
@media (max-width: 480px) {
    body {
        padding: 16px 8px;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px 16px;
        gap: 16px;
    }
    .hero-counts {
        justify-content: center;
    }
    .ring-wrap {
        width: 120px;
        height: 120px;
    }
    .ring-pct {
        font-size: 26px;
    }
    .hero-money {
        font-size: 24px;
    }
    .add-section {
        padding: 12px 16px;
    }
    .sections {
        padding: 0 16px 14px;
    }
    .mode-bar {
        padding: 12px 16px;
    }
}

/* ═══ Timer Bar ═══ */
.timer-bar {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition:
        background 0.3s,
        border-color 0.3s;
}

.timer-display-row,
.timer-edit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.timer-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffc107;
    position: relative;
}

.status-dot.active {
    background: #00c853;
}

.status-dot.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #00c853;
    animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.status-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.timer-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-input);
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
}

.timer-btn svg {
    width: 14px;
    height: 14px;
}

.timer-btn:hover {
    color: var(--text-main);
    border-color: var(--text-muted-light);
    transform: scale(1.05);
}

.timer-btn.btn-play {
    background: var(--color-accent);
    color: var(--color-accent-text);
    border: none;
}
.timer-btn.btn-play:hover {
    background: var(--color-accent-hover);
    color: var(--color-accent-text);
}

/* Timer Editing */
.timer-edit-row {
    gap: 12px;
}

.timer-edit-inputs {
    display: flex;
    gap: 12px;
    flex: 1;
}

.timer-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.timer-input-group label {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.timer-input-group input {
    background: var(--bg-card);
    border: 1px solid var(--border-input);
    color: var(--text-main);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.timer-edit-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-btn-action {
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    height: 32px;
    box-sizing: border-box;
}

.timer-btn-action.btn-save {
    background: var(--color-accent);
    color: var(--color-accent-text);
}

.timer-btn-action.btn-save:hover {
    background: var(--color-accent-hover);
}

.timer-btn-action.btn-cancel {
    background: transparent;
    border: 1px solid var(--border-input);
    color: var(--text-main);
}

.timer-btn-action.btn-cancel:hover {
    background: var(--bg-card);
}

/* ETA display */
.hero-eta {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}
.hero-eta span {
    color: var(--color-accent-text);
    font-weight: 700;
}
[data-theme="dark"] .hero-eta span {
    color: var(--color-accent);
}
