/* Global progress has no Math Pulse operation or answer metrics. */
[data-progress-global] .app-content{display:block;scroll-behavior:smooth}
[data-progress-global] .app-content>section{margin-block:0 22px}
.progress-heading h1{font-size:clamp(1.7rem,4vw,2.4rem);margin:0}.progress-heading p{margin:8px 0;color:var(--color-muted-ink)}
.progress-rhythm{position:relative;border:1px solid #EAC8A6;background:linear-gradient(120deg,#FFF2E5,#FFFFFF 52%,#EEF0FF);box-shadow:var(--shadow-soft);padding:clamp(18px,3vw,32px);border-radius:28px;overflow:hidden}
.progress-rhythm .rhythm-count{font-size:clamp(2.5rem,7vw,4.2rem);color:#8F460C;letter-spacing:-.05em}
.progress-rhythm .rhythm-count::before{content:'🔥';margin-inline-end:10px;color:#B15A13;font-size:.75em}
.progress-rhythm .rhythm-calendar{gap:8px;margin-block:18px}.progress-rhythm .rhythm-day{min-height:68px;border-width:2px}.progress-rhythm .rhythm-day.protected{border-style:dashed}.progress-rhythm .rhythm-day.is-today{outline:2px solid var(--color-primary);outline-offset:2px}
.progress-rhythm .rhythm-day.pending:not(.is-today){background:repeating-linear-gradient(135deg,#F4F7FC,#F4F7FC 5px,#fff 5px,#fff 10px)}
.rhythm-goal{display:grid;gap:8px;margin-block:16px;font-size:.9rem;font-weight:700}.rhythm-goal progress{width:100%;height:13px;accent-color:#C86617}.rhythm-latest{font-size:.9rem;color:var(--color-primary-ink)}
.progress-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.progress-total,.progress-game,.progress-history-section{background:#fff;border:1px solid var(--color-border);border-radius:20px;padding:20px;min-width:0}
.progress-total{display:grid;gap:9px}.progress-total span{font-size:.85rem;color:var(--color-muted-ink)}.progress-total strong{font:700 clamp(1.4rem,3vw,2rem) var(--font-heading);overflow-wrap:anywhere}
.progress-overview h2,.progress-games-section h2,.progress-history-section h2{font-size:1.25rem;margin:0 0 16px}
.progress-games{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px}.progress-game{display:flex;flex-direction:column;align-items:stretch;gap:14px;border-top:4px solid var(--progress-game-color)}
.progress-game-heading{display:flex;gap:12px;align-items:center}.progress-game h3{margin:0;font-size:1.2rem}.progress-game-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--color-primary-soft);color:var(--progress-game-color);font-size:1.6rem}.progress-game p{margin:0}.progress-game dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:0;font-size:.9rem}.progress-game dd{margin:0;text-align:end;overflow-wrap:anywhere}.progress-game dt{color:var(--color-muted-ink)}.progress-game .primary{margin-top:auto}
.progress-history{list-style:none;padding:0;margin:0}.progress-activity{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding-block:14px;border-bottom:1px solid var(--color-border);font-size:.85rem}.progress-activity span{overflow-wrap:anywhere;color:var(--color-muted-ink)}.progress-activity strong{font-size:.95rem}.progress-pagination{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:16px;font-size:.8rem}.progress-pagination button{padding-inline:10px}
#progress-status:empty{display:none}#progress-status button{margin-inline:10px}
.entry-metrics .entry-rhythm{color:var(--color-primary-ink);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:12px;background:#FFF2E5;font-weight:700;font-size:.85rem}
@media(min-width:901px){.desktop-layout [data-progress-global] .app-content{display:block;max-width:none;padding-inline:max(24px,calc((100vw - var(--desktop-sidebar) - 1400px)/2))!important}.desktop-layout [data-progress-global] .progress-heading{display:block}.desktop-layout [data-progress-global] .progress-rhythm{width:100%;max-width:none}.progress-totals{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:400px){.progress-rhythm .rhythm-calendar{gap:4px}.progress-rhythm .rhythm-day{min-height:54px;padding-inline:2px}.progress-total{padding:14px}.progress-rhythm .rhythm-network{max-width:100px}}
@media(prefers-reduced-motion:no-preference){.progress-rhythm .rhythm-count::before{display:inline-block;animation:rhythm-energy 3s ease-in-out infinite}@keyframes rhythm-energy{50%{transform:scale(1.08);opacity:.7}}}
@media(prefers-reduced-motion:reduce){.progress-rhythm *{animation:none!important;transition:none!important}[data-progress-global] .app-content{scroll-behavior:auto}}
.progress-guest .progress-rhythm,.progress-guest .progress-overview,.progress-guest .progress-games-section,.progress-guest .progress-history-section{display:none}
.desktop-layout [data-progress-game] .dashboard-heading .back-link{display:inline-flex;min-height:44px;align-items:center}
/* All seven days stay visible even in the smallest portrait viewport. */
.progress-rhythm .rhythm-calendar{grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible}
.progress-rhythm .rhythm-day{min-width:0}
@media(max-width:650px){.progress-rhythm .rhythm-top{position:relative;grid-template-columns:minmax(0,1fr)}.progress-rhythm .rhythm-network{position:absolute;inset-block-start:0;inset-inline-end:0;width:90px;opacity:.22;pointer-events:none}.progress-rhythm .rhythm-copy{position:relative;z-index:1}}
.rhythm-detail-history{margin-top:20px;padding-top:12px;border-top:1px solid #DDC9B6}.rhythm-detail-history>summary{cursor:pointer;min-height:44px;padding-block:10px;font-weight:750;color:var(--color-primary-ink)}
