/* Settle-style period analysis, scoped to the Progress page widget. */
.r-temporal-stats { margin-top: 20px; padding: 30px; }
.r-temporal-head { align-items: flex-start; margin-bottom: 28px; }
.r-temporal-head h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.r-temporal-head p { color: var(--r-muted); font-size: 14px; margin-top: 7px; }
.r-temporal-segment { flex: 0 0 auto; }
.r-temporal-segment button { min-width: 58px; }
.r-temporal-layout { display: grid; grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr); gap: 34px; align-items: stretch; }
.r-temporal-feature { background: var(--r-canvas); border: 1px solid var(--r-line); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; min-height: 312px; }
.r-temporal-feature-top { display: flex; justify-content: space-between; align-items: center; gap: 9px; flex-wrap: wrap; }
.r-temporal-feature .r-pill { background: var(--r-surface); border: 1px solid var(--r-line); font-weight: 550; }
.r-temporal-caution { display: inline-flex; align-items: center; min-height: 29px; padding: 4px 10px; border-radius: 999px; background: #fff0e9; color: #a75438; font-size: 12px; font-weight: 600; }
.r-temporal-number { margin: 31px 0 2px; font-size: clamp(3.3rem, 7vw, 6rem); line-height: .98; letter-spacing: -.075em; font-weight: 500; overflow-wrap: anywhere; }
.r-temporal-number small { font-size: .36em; letter-spacing: -.04em; margin-left: 5px; color: var(--r-muted); }
.r-temporal-feature > p { color: var(--r-muted); font-size: 13px; line-height: 1.4; }
.r-temporal-secondary { margin-top: auto; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.r-temporal-secondary span { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.r-temporal-secondary small { color: var(--r-muted); font-size: 12px; line-height: 1.3; }
.r-temporal-secondary strong { font-size: 17px; line-height: 1.25; font-weight: 550; }
.r-temporal-series { min-width: 0; display: flex; flex-direction: column; }
.r-temporal-series-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 2px 0 17px; }
.r-temporal-series-title h3 { font-size: 19px; }
.r-temporal-series-title span { color: var(--r-muted); font-size: 12px; white-space: nowrap; }
.r-temporal-rows { display: grid; gap: 9px; }
.r-temporal-row { display: grid; grid-template-columns: minmax(112px, 1fr) minmax(80px, 1.45fr) minmax(60px, auto); align-items: center; gap: 16px; min-height: 42px; }
.r-temporal-row-label { display: flex; flex-direction: column; min-width: 0; }
.r-temporal-row-label strong { font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-temporal-row-label small { color: var(--r-muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-temporal-row > b { font-size: 13px; font-weight: 550; text-align: right; white-space: nowrap; }
.r-temporal-bar { display: block; width: 100%; height: 12px; border-radius: 999px; background: var(--r-soft); overflow: hidden; }
.r-temporal-bar i { display: block; height: 100%; border-radius: inherit; background: var(--r-sage); transition: width .32s ease; }
.r-temporal-note { margin-top: 18px !important; color: var(--r-muted); font-size: 12px; }
.r-temporal-context { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.r-temporal-context > span { display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 11px; border-radius: 999px; background: var(--r-canvas); }
.r-temporal-context small { color: var(--r-muted); font-size: 11px; }
.r-temporal-context strong { font-size: 12px; font-weight: 600; }
.r-temporal-empty { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 9px; }
.r-temporal-empty-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 15px; background: var(--r-soft); font-size: 25px; }
.r-temporal-empty strong { font-size: 18px; font-weight: 550; }
.r-temporal-empty p { max-width: 380px; color: var(--r-muted); font-size: 13px; }
@media (max-width: 980px) { .r-temporal-layout { grid-template-columns: 1fr; gap: 22px; } .r-temporal-feature { min-height: 220px; } .r-temporal-number { margin-top: 18px; } .r-temporal-secondary { margin-top: 22px; padding-top: 0; } }
@media (max-width: 650px) { .r-temporal-stats { padding: 21px; } .r-temporal-head { flex-direction: column; gap: 17px; } .r-temporal-segment { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); } .r-temporal-segment button { min-width: 0; padding: 8px 5px; } .r-temporal-feature { padding: 20px; } .r-temporal-row { grid-template-columns: minmax(90px, 1fr) minmax(55px, .8fr) auto; gap: 9px; } .r-temporal-row-label strong { font-size: 12px; } .r-temporal-row-label small { font-size: 10px; } .r-temporal-series-title h3 { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .r-temporal-bar i { transition: none; } }
