/* Cambridge Suite dashboard: full-section mock hub + grouped skill practice. */

/* Single source of truth for skill colors, shared by the top mock cards and the lower practice modules. */
:root {
    --color-uoe: #06b6d4;
    --color-reading: #f59e0b;
    --color-writing: #8b5cf6;
    --color-listening: #14b8a6;
    --color-speaking: #dc2626;
}

/* Skill color tokens are declared above; the interlocutor overlay was removed in favour of direct part handover. */

.skill-uoe { --accent: var(--color-uoe); --accent-text: var(--color-uoe); --accent-soft: #ecfeff; }
.skill-reading { --accent: var(--color-reading); --accent-text: var(--color-reading); --accent-soft: #fffbeb; }
.skill-writing { --accent: var(--color-writing); --accent-text: var(--color-writing); --accent-soft: #f5f3ff; }
.skill-listening { --accent: var(--color-listening); --accent-text: var(--color-listening); --accent-soft: #f0fdfa; }
.skill-speaking { --accent: var(--color-speaking); --accent-text: var(--color-speaking); --accent-soft: #fef2f2; --accent-hover: #b91c1c; --accent-subtle: #f87171; }


.dash-section { margin-top: 2.2rem; }
.dash-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.9rem; margin-bottom: 0.9rem; }
.dash-section-head h2 { margin: 0; color: var(--blue); font-size: 1.5rem; }
.dash-section-head p { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Hero band: high-contrast container for the timed mocks. */
.mock-hub {
    padding: clamp(1rem, 2.5vw, 1.35rem);
    border-radius: 14px;
    background: linear-gradient(135deg, #15577f 0%, #1d6fa5 100%);
    color: var(--white);
}
.mock-hub .dash-section-head h2 { color: var(--white); }
.mock-hub .dash-section-head p { color: #d6e6f2; }
.mock-hub-tag {
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
/* Card, board and tile primitives live in ../../shared/css/suite-hub.css. */

/* Marathon content styling; the banner frame comes from .hub-hero-banner. */
.marathon-card {
    gap: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(251, 191, 36, 0.55);
}
.marathon-main { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; flex: 1 1 360px; }
.marathon-badge {
    align-self: flex-start;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: #fbbf24;
    color: #1f2937;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.marathon-card h3 { margin: 0; color: var(--white); font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.25; }
.marathon-specs { margin: 0; color: #d6e6f2; font-size: 0.92rem; }
.marathon-modes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.35rem 0 0; padding: 0; list-style: none; }
.marathon-mode {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.45rem 0.75rem;
    border-left: 3px solid var(--mode-accent);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.85rem;
}
.marathon-mode strong { font-weight: 800; }
.marathon-mode span { color: #cbdde9; font-size: 0.8rem; }
.marathon-mode.strict { --mode-accent: #f87171; }
.marathon-mode.pausable { --mode-accent: #34d399; }
.marathon-launch {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0.7rem 1.3rem;
    border: 0;
    border-radius: 9px;
    background: #fbbf24;
    color: #1f2937;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.marathon-launch:hover, .marathon-launch:focus-visible { background: #fcd34d; }

.utility-row { display: flex; justify-content: flex-end; margin: 0.8rem 0 0.3rem; }
.link-button {
    padding: 0.2rem 0;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 0.82rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.link-button:hover, .link-button:focus-visible { color: var(--blue); }

@media (max-width: 760px) {
    .marathon-launch { width: 100%; }
}
