/* Focus sounds timer (/focus-sounds-timer): the timer ring, ambient mix and session stats.
   Stage, panels, fields and buttons come from the app kit (css/app-kit, docs/app-kit.md);
   the accent is the time category's violet. Loaded only on this app's page (StylePaths). */
.fs-landing-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 32rem;
}

.fs-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0 0.2rem;
}

.fs-ring-wrap {
    width: 220px;
    height: 220px;
}

.fs-ring-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fs-ring-bg {
    stroke: color-mix(in srgb, var(--ak-accent, #7c3aed) 18%, var(--ak-border, #e2e8f0));
}

.fs-ring {
    stroke: var(--ak-accent, #7c3aed);
    transition: stroke-dashoffset 0.25s linear;
}

.fs-mode {
    margin: 0.35rem 0 0;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--ak-muted, #64748b);
}

.fs-time {
    margin: 0.1rem 0 0.7rem;
    font-size: 3.1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    line-height: 1;
}

.fs-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.fs-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.2rem;
    width: min(100%, 28rem);
}

.fs-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.fs-stat-k {
    font-size: 0.8rem;
    color: var(--ak-muted, #64748b);
}

.fs-stat-v {
    font-size: 1.05rem;
}

.fs-chart-wrap {
    width: min(100%, 28rem);
    min-height: 8rem;
}

.fs-chart-wrap .ak-chart {
    display: block;
    width: 100%;
    height: 8rem;
}

.fs-master-row {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.fs-mix {
    display: grid;
    gap: 0.4rem;
}

.fs-sound {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
}

.fs-sound.is-on .fs-sound-toggle {
    font-weight: 700;
}

.fs-log {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.3rem;
}

li.fs-log {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.fs-log-type { flex: 1 1 auto; }
.fs-log-time { font-variant-numeric: tabular-nums; font-weight: 600; }
.fs-log.is-done .fs-log-type { font-weight: 600; }

@media (max-width: 700px) {
    .fs-time { font-size: 2.5rem; }
    .fs-ring-wrap { width: 180px; height: 180px; }
}
