/* Calm, touch-first progress dashboard. */
.progress-dashboard{max-width:980px;margin:26px auto 48px;color:var(--forest)}
.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.progress-heading h1{font-size:38px;line-height:1.1;letter-spacing:-.045em;font-weight:550;margin:0}
.progress-info-button{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border:1px solid #d7dfd4;border-radius:50%;color:var(--forest);background:transparent}
.progress-info-button .icon{width:24px;height:24px}
.progress-tabs{display:flex;padding:5px;border-radius:18px;background:#e8ede2;margin:0 0 28px;gap:5px}
.progress-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px 12px;border-radius:14px;font-size:16px;color:#607263;transition:background .24s,color .24s,box-shadow .24s}
.progress-tabs button[aria-pressed=true]{color:#263f34;background:#fffefa;box-shadow:0 2px 8px #263f340b}
.progress-tabs .icon{width:22px;height:22px}
.progress-dashboard button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.progress-dashboard button:focus-visible{outline:2px solid #47604e;outline-offset:4px}
.progress-overview{display:grid;grid-template-columns:360px minmax(0,1fr);gap:28px;align-items:stretch}
.progress-summary-card{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #dce3d5;background:#edf1e7;border-radius:28px;padding:24px}
.progress-ring{position:relative;width:220px;height:220px;flex-shrink:0}
.progress-ring svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.progress-ring circle{fill:none;stroke-width:7}
.progress-ring-track{stroke:#d8e1d1}
.progress-ring-fill{stroke:#365844;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:var(--ring-offset);animation:progress-ring-reveal 1.1s cubic-bezier(.22,1,.36,1) both}
.progress-ring-value{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.progress-ring-value strong{font-size:59px;font-weight:550;letter-spacing:-.065em;line-height:1.1;font-variant-numeric:tabular-nums}
.progress-ring-value strong small{font-size:26px;letter-spacing:-.03em;margin-left:3px}
.progress-ring-value>span{font-size:15px;color:#62705e}
.progress-scope{font-size:13px;color:#63715e;margin:0 0 22px;text-align:center;line-height:1.5}
.progress-highlights{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid #d7dfd1;padding-top:22px}
.progress-highlights>div{display:grid;grid-template-columns:32px auto;column-gap:7px;row-gap:3px;align-items:center;justify-content:center}
.progress-stat-icon{grid-column:1;grid-row:1;display:flex;align-items:center}.progress-stat-icon .icon{width:27px;height:27px;stroke-width:1.6}
.progress-highlights strong{font-size:29px;font-weight:550;letter-spacing:-.04em;white-space:nowrap}.progress-highlights strong small{font-size:14px;color:#6f7a67;font-weight:400}
.progress-highlights>div>span:last-child{grid-column:1/-1;font-size:12px;color:#62705e}
.progress-summary-card>.btn{margin-top:24px;min-height:48px;width:100%;border-radius:14px}
.progress-parts-section h2,.progress-section-title h2{font-size:21px;font-weight:550;letter-spacing:-.025em;margin:0 0 15px}
.progress-part-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.progress-part-card{display:flex;flex-direction:column;text-align:left;min-width:0;padding:20px;border:1px solid #e0e3d8;border-radius:22px;background:#fdfcf8;color:#2d4636;transition:background .25s,border-color .25s,transform .25s}
.progress-part-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}
.progress-part-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:#eef1e8}.progress-part-icon .icon{width:28px;height:28px;stroke-width:1.6}
.progress-part-top>strong{font-size:26px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.progress-part-top>strong small{font-size:14px;margin-left:1px}
.progress-part-number{font-size:12px;line-height:1.5;color:#70816c;margin:0 0 3px}
.progress-part-name{font-size:16px;font-weight:500;line-height:1.4;min-height:23px}
.progress-meter{display:block;overflow:hidden;height:5px;background:#e5eadf;border-radius:12px;margin-top:14px}
.progress-meter>span{display:block;height:100%;width:100%;border-radius:inherit;background:#688563;transform:scaleX(var(--progress-fill));transform-origin:left;animation:progress-bar-reveal .9s cubic-bezier(.22,1,.36,1) both}
.progress-part-status{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:11px;line-height:1.4;color:#6a7c65;margin-top:12px}.progress-part-status .icon{width:15px;height:15px}
.progress-review-card,.progress-notes-card{width:100%;display:flex;align-items:center;gap:18px;border-radius:22px;padding:22px 24px;text-align:left;background:#e5ecdc;color:#2d4636;border:1px solid #d7e0cd;transition:background .24s,transform .24s}
.progress-overview+.progress-review-card{margin-top:24px}
.progress-large-icon{width:52px;height:52px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:17px;background:#f8faf4;color:#476347}.progress-large-icon .icon{width:30px;height:30px;stroke-width:1.7}
.progress-action-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.progress-action-copy strong{font-size:19px;font-weight:550;letter-spacing:-.02em}.progress-action-copy>span{font-size:14px;color:#64775e}
.progress-action-arrow{display:grid;place-items:center;border-radius:50%;width:40px;height:40px;background:#f6f9f0;flex-shrink:0}.progress-action-arrow .icon{width:22px;height:22px}
.progress-focus-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}.progress-focus-card{padding:24px;border:1px solid #e0e3d8;border-radius:24px;background:#fdfcf8}.progress-section-title{display:flex;align-items:center;gap:14px;margin-bottom:15px}.progress-section-title h2{margin:0}.progress-section-title>.progress-large-icon{background:#edf1e7}
.progress-topic-row{display:flex;align-items:center;width:100%;text-align:left;gap:13px;padding:21px 0;border-bottom:1px solid #e7e9e0;min-height:82px;color:inherit}.progress-topic-row:last-child{border-bottom:0}.progress-topic-rank{width:27px;flex-shrink:0;font-size:16px;color:#819079}.progress-topic-copy{display:block;flex:1;min-width:0}.progress-topic-copy strong{font-size:16px;font-weight:500;line-height:1.4}.progress-topic-copy .progress-meter{margin-top:10px}.progress-topic-score{font-size:17px;font-weight:550;min-width:38px;text-align:right}.progress-topic-row>.icon{width:18px;height:18px;flex-shrink:0;color:#87967e}
.progress-small-note{font-size:12px;color:#6a7c65;margin:20px 0 0}.progress-focus-actions{display:flex;flex-direction:column;gap:18px}.progress-notes-card{background:#fdfcf8;border-color:#e0e3d8}.progress-notes-card .progress-large-icon{background:#edf1e7}
.progress-empty{padding:30px 12px;text-align:center;max-width:420px;margin:auto}.progress-empty>.progress-large-icon{width:70px;height:70px;border-radius:24px;margin:0 auto 22px;background:#e8efdf}.progress-empty>.progress-large-icon .icon{width:38px;height:38px}.progress-empty h2,.progress-empty h3{font-size:22px;font-weight:500;line-height:1.3;margin:0 0 12px;letter-spacing:-.025em}.progress-empty p{font-size:15px;line-height:1.6;color:#6b7963;margin:0 0 24px}.progress-empty .btn{min-height:48px;font-size:15px}
.progress-history{max-width:780px;margin:auto}.progress-history-filters{display:flex;gap:8px;margin-bottom:20px}.progress-history-filters button{min-height:44px;padding:10px 22px;border-radius:24px;border:1px solid #dce3d5;font-size:14px;color:#62735d}.progress-history-filters button[aria-pressed=true]{background:#354e3e;color:#fffdf4;border-color:#354e3e}
.progress-history-list{border:1px solid #e0e3d8;border-radius:24px;overflow:hidden;background:#fdfcf8}.progress-history-row{display:flex;align-items:center;gap:16px;width:100%;padding:22px;text-align:left;color:inherit;border-bottom:1px solid #e5e9df;transition:background .2s}.progress-history-row:last-child{border-bottom:0}.progress-history-row>.progress-large-icon{background:#eef2e8;width:48px;height:48px;border-radius:15px}.progress-history-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}.progress-history-copy>strong{font-size:17px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.progress-history-copy>span{font-size:12px;color:#74836b}.progress-history-score{text-align:right;flex-shrink:0;display:flex;flex-direction:column;gap:5px}.progress-history-score strong{font-size:24px;font-weight:550;letter-spacing:-.04em}.progress-history-score small{font-size:13px;margin-left:1px}.progress-history-score>span{font-size:12px;color:#74836b}.progress-history-row>.icon{width:18px;height:18px;flex-shrink:0;color:#829176}
.progress-pagination{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:24px}.progress-pagination>span{font-size:14px;color:#66765f}.progress-pagination button{display:grid;place-items:center;width:48px;height:48px;border:1px solid #dce3d5;border-radius:50%;color:inherit}.progress-pagination button:disabled{opacity:.3}
.progress-resume{display:flex;align-items:center;width:100%;gap:12px;min-height:52px;margin-bottom:22px;padding:12px 17px;border-radius:14px;background:#e7ebdf;color:#425c42;font-size:14px;text-align:left}.progress-resume>span{flex:1}.progress-resume>.icon{width:20px;height:20px}
.progress-ring.compact{width:180px;height:180px;margin:auto}.progress-ring.compact .progress-ring-value strong{font-size:46px}.progress-part-detail{text-align:center;margin:20px 0 26px}.progress-part-detail p{font-size:15px;color:#6a7961}.progress-dialog-actions{display:flex;flex-direction:column;gap:12px}.progress-dialog-actions .btn{min-height:50px;font-size:15px}.progress-help p{font-size:15px;line-height:1.65;margin:0 0 18px}.progress-help .caption{font-size:13px}
@keyframes progress-ring-reveal{from{stroke-dashoffset:100}to{stroke-dashoffset:var(--ring-offset)}}
@keyframes progress-bar-reveal{from{transform:scaleX(0)}to{transform:scaleX(var(--progress-fill))}}
@media(hover:hover){.progress-part-card:hover{background:#f4f7ed;border-color:#c8d5bd;transform:translateY(-2px)}.progress-review-card:hover{background:#dce6d0}.progress-history-row:hover{background:#f1f5e9}.progress-notes-card:hover{background:#f1f5e9}}
@media(max-width:850px){.progress-overview{grid-template-columns:minmax(250px,.85fr) minmax(0,1fr);gap:22px}.progress-part-card{padding:17px}.progress-part-name{font-size:15px}.progress-summary-card{padding:22px 16px}.progress-highlights{gap:8px}.progress-focus-layout{grid-template-columns:1fr}.progress-focus-actions{display:grid;grid-template-columns:1fr 1fr}.progress-focus-actions .progress-review-card,.progress-focus-actions .progress-notes-card{padding:18px;gap:12px}.progress-focus-actions .progress-action-copy strong{font-size:17px}}
@media(max-width:600px){.progress-dashboard{margin:14px auto 28px;padding-bottom:env(safe-area-inset-bottom)}.progress-heading{margin-bottom:20px}.progress-heading h1{font-size:32px}.progress-info-button{width:44px;height:44px}.progress-tabs{border-radius:16px;margin-bottom:22px;gap:3px;padding:4px}.progress-tabs button{font-size:14px;min-height:46px;padding:9px 7px;gap:7px;border-radius:12px}.progress-tabs .icon{width:19px;height:19px}.progress-overview{grid-template-columns:1fr;gap:26px}.progress-summary-card{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;padding:19px 22px;border-radius:24px}.progress-ring{grid-column:1;grid-row:1;width:160px;height:160px;max-width:100%;margin:auto}.progress-ring-value strong{font-size:43px}.progress-ring-value strong small{font-size:21px}.progress-ring-value>span{font-size:12px}.progress-scope{grid-column:1;grid-row:2;font-size:11px;margin:-2px 0 3px;white-space:nowrap}.progress-highlights{grid-column:2;grid-row:1/3;grid-template-columns:1fr;border-top:0;border-left:1px solid #d7dfd1;padding:0 0 17px 18px;gap:20px}.progress-highlights>div{justify-content:start;column-gap:7px;grid-template-columns:28px auto}.progress-stat-icon .icon{width:25px;height:25px}.progress-highlights strong{font-size:27px}.progress-highlights>div>span:last-child{font-size:11px}.progress-highlights strong small{font-size:12px}.progress-summary-card>.btn{grid-column:1/-1;margin-top:17px}.progress-parts-section h2{font-size:20px;margin-bottom:14px}.progress-part-grid{gap:12px}.progress-part-card{padding:17px 16px;border-radius:20px}.progress-part-top{margin-bottom:13px}.progress-part-icon{width:40px;height:40px;border-radius:12px}.progress-part-icon .icon{width:28px;height:28px}.progress-part-top strong{font-size:24px}.progress-part-number{font-size:11px}.progress-part-name{font-size:15px}.progress-part-status{font-size:11px;margin-top:11px}.progress-review-card,.progress-notes-card{padding:18px;gap:14px;border-radius:21px}.progress-large-icon{width:48px;height:48px;border-radius:15px}.progress-large-icon .icon{width:29px;height:29px}.progress-action-copy strong{font-size:18px}.progress-action-copy>span{font-size:13px}.progress-action-arrow{width:32px;height:32px}.progress-action-arrow .icon{width:20px;height:20px}.progress-focus-card{padding:20px;border-radius:22px}.progress-focus-actions{display:flex}.progress-history-row{padding:18px 15px;gap:12px}.progress-history-copy>strong{font-size:15px}.progress-history-row>.progress-large-icon{width:42px;height:42px;border-radius:13px}.progress-history-row>.progress-large-icon .icon{width:25px;height:25px}.progress-history-score strong{font-size:22px}.progress-history-row>.icon{width:15px;height:15px}.progress-history-filters button{flex:1;padding:10px 15px}.progress-topic-copy strong{font-size:15px}.progress-topic-row{gap:10px}.progress-topic-rank{width:20px}.progress-help p{font-size:15px}}
@media(max-width:360px){.progress-summary-card{column-gap:12px;padding:17px 14px}.progress-ring{width:140px;height:140px}.progress-highlights{padding-left:13px}.progress-highlights>div{grid-template-columns:23px auto;column-gap:4px}.progress-highlights strong{font-size:25px}.progress-stat-icon .icon{width:22px;height:22px}.progress-part-card{padding:15px 12px}.progress-part-name{font-size:14px}.progress-history-row>.icon{display:none}.progress-tabs button{gap:5px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.progress-ring-fill,.progress-meter>span{animation:none}.progress-dashboard button{transition:none}.progress-part-card:hover{transform:none}}

.topic-progress-card{margin-top:22px;border:2px solid var(--line,#ded9c8);border-radius:22px;padding:22px;background:#fffdf5}.topic-progress-card select{width:100%;padding:12px;border:1.5px solid #b8b7a3;border-radius:12px;background:#fffdf5;font:inherit}.topic-trend-stats{display:flex;gap:35px;margin:22px 0 4px}.topic-trend-stats strong{display:block;font-size:30px}.topic-trend-stats span{display:block;font-size:13px;color:#696c60}.topic-trend-chart{width:100%;height:auto;margin:10px 0}.topic-chart-grid{fill:none;stroke:#e4dfcf;stroke-width:1}.topic-trend-chart polyline{fill:none;stroke:#5e9796;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.topic-trend-chart circle{fill:#5e9796;stroke:#fffdf5;stroke-width:2}.topic-trend-chart text{font-size:12px;fill:#697063}@media(max-width:480px){.topic-progress-card{padding:16px}.topic-trend-stats{gap:24px}.topic-trend-stats strong{font-size:26px}}
