/* Gesture drawing timer page styles. Theme tokens only. */

.gesture-timer .tool-title {
    margin-bottom: 0.25rem;
}

.gesture-timer .tool-intro {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* --- Selection UI ------------------------------------------------------ */

.gt-setup {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.gt-drop {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 8rem;
    padding: 1.5rem;
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--muted);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gt-drop:hover,
.gt-drop:focus-within,
.gt-drop.is-dragging {
    border-color: var(--accent);
    background: var(--accent-weak);
}

.gt-file {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.gt-drop-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    pointer-events: none;
}

.gt-drop-text strong {
    color: var(--text);
    font-size: 1.05rem;
}

/* --- Interval picker --------------------------------------------------- */

.gt-intervals {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.gt-intervals__label {
    font-size: 0.85rem;
    color: var(--muted);
}

.gt-custom {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.gt-custom__input {
    width: 7rem;
}

/* --- Session UI -------------------------------------------------------- */

.gt-session {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gt-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    min-height: 12rem;
}

.gt-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.gt-status {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1.5rem;
}

.gt-time {
    font-size: 2.25rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    letter-spacing: 0.02em;
}

.gt-progress {
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
}

.gt-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.gt-controls .icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}
