.weekly-summary{box-sizing:border-box;margin:22px auto 34px;padding:22px;border:1px solid #3b5944;border-radius:20px;background:linear-gradient(135deg,#1e3325,#111c16 70%);color:#eef5ee;box-shadow:0 12px 30px #0000001c}
.weekly-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.weekly-summary h2{margin:5px 0 0;font-size:clamp(23px,3vw,30px);letter-spacing:-.04em}
.weekly-summary-period{flex:none;padding:7px 11px;border:1px solid #58705d;border-radius:999px;color:#dae8dc;font-size:12px;font-weight:700}
.weekly-summary-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:20px 0 16px}
.weekly-summary-stat{display:grid;gap:5px;min-width:0;padding:13px;border:1px solid #3f5847;border-radius:12px;background:#ffffff0d}
.weekly-summary-stat span{font-size:11px;color:#bdcdbf}
.weekly-summary-stat strong{font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.weekly-summary-insight{margin:0;color:#e6eee6;font-size:14px;line-height:1.5}
.weekly-summary-next{margin-top:16px;padding:14px 16px;border-left:3px solid #81aa86;border-radius:0 11px 11px 0;background:#ffffff0d}
.weekly-summary-next span{font-size:10px;font-weight:800;letter-spacing:.13em;color:#a9c8ac}
.weekly-summary-next p{margin:6px 0 0;font-size:14px;line-height:1.45}
.weekly-summary-note{display:block;margin-top:13px;color:#abbcaf;font-size:11px;line-height:1.45}
html[data-theme=light] .weekly-summary{background:linear-gradient(135deg,#f6faf7,#e8f1e9 78%);border-color:#c9ddce;color:#1d3023;box-shadow:0 10px 28px #254b3214}
html[data-theme=light] .weekly-summary-period{border-color:#b9d0bf;color:#325c3d}
html[data-theme=light] .weekly-summary-stat{background:#fff;border-color:#d8e5da}
html[data-theme=light] .weekly-summary-stat span,html[data-theme=light] .weekly-summary-note{color:#556d5b}
html[data-theme=light] .weekly-summary-insight{color:#263c2c}
html[data-theme=light] .weekly-summary-next{background:#ffffffbd;border-left-color:#3d8050}
html[data-theme=light] .weekly-summary-next span{color:#3e7150}
@media(max-width:620px){.weekly-summary{padding:17px;margin:18px auto 26px}.weekly-summary-head{align-items:flex-start}.weekly-summary-period{font-size:11px}.weekly-summary-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.weekly-summary-stat{padding:11px}.weekly-summary-stat strong{font-size:15px}}
.soft-motivation{box-sizing:border-box;margin:0 auto 34px;padding:20px 22px;border:1px solid #42614b;border-radius:20px;background:linear-gradient(125deg,#17291e,#1d3526 75%);color:#eef6ef;box-shadow:0 12px 28px #00000018}
.soft-motivation-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}
.soft-motivation h2{margin:4px 0 0;font-size:clamp(22px,2.8vw,28px);letter-spacing:-.035em}
.soft-motivation-period{padding:6px 10px;border:1px solid #607665;border-radius:999px;white-space:nowrap;color:#d8e8db;font-size:11px;font-weight:700}
.soft-motivation-milestones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:17px 0 13px}
.soft-motivation-milestone{display:flex;align-items:center;gap:9px;min-width:0;padding:12px;border:1px solid #47604c;border-radius:12px;background:#ffffff0c}
.soft-motivation-milestone.is-earned{border-color:#78a284;background:#80aa8429}
.soft-motivation-mark{display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #718776;border-radius:50%;color:#d4e5d7;font-size:17px;line-height:1}
.soft-motivation-milestone.is-earned .soft-motivation-mark{border-color:#a9d4b0;background:#acd3b4;color:#1b3d25;font-weight:800}
.soft-motivation-label{min-width:0;font-size:13px;line-height:1.3}
.soft-motivation-count{margin-left:auto;white-space:nowrap;font-size:13px}
.soft-motivation-message{margin:0 0 8px;font-size:14px;line-height:1.45}
.soft-motivation small{color:#afc2b3;font-size:11px;line-height:1.4}
html[data-theme=light] .soft-motivation{border-color:#c9ddce;background:linear-gradient(125deg,#f7faf7,#eaf3e9 78%);color:#1e3224;box-shadow:0 10px 28px #254b3212}
html[data-theme=light] .soft-motivation-period{border-color:#c4d8c6;color:#42694b}
html[data-theme=light] .soft-motivation-milestone{border-color:#d5e3d6;background:#fff}
html[data-theme=light] .soft-motivation-milestone.is-earned{border-color:#a8ceb0;background:#e5f3e7}
html[data-theme=light] .soft-motivation-mark{border-color:#acc5b1;color:#52775b}
html[data-theme=light] .soft-motivation-milestone.is-earned .soft-motivation-mark{border-color:#377e48;background:#377e48;color:#fff}
html[data-theme=light] .soft-motivation small{color:#5b7460}
@media(max-width:620px){.soft-motivation{padding:17px;margin-bottom:26px}.soft-motivation-milestones{grid-template-columns:1fr;gap:7px}.soft-motivation-milestone{padding:10px 12px}.soft-motivation-label{font-size:13px}}
.soft-motivation{background:radial-gradient(circle at 0 0,#2e563b 0,transparent 42%),linear-gradient(125deg,#192b20,#142119 78%)}
.soft-motivation-score{display:grid;justify-items:end;gap:1px;flex:none;padding:8px 12px;border:1px solid #698873;border-radius:12px;background:#ffffff12}
.soft-motivation-score strong{font-size:18px;font-variant-numeric:tabular-nums}
.soft-motivation-score span{color:#bdd3c2;font-size:10px}
.soft-motivation-milestone{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 11px;align-items:center;padding:15px;background:#ffffff12}
.soft-motivation-milestone.is-earned{background:linear-gradient(135deg,#316647,#254c37);border-color:#88b899;box-shadow:inset 0 1px #ffffff20,0 7px 18px #0002}
.soft-motivation-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #799a80;border-radius:13px;background:#ffffff12;color:#c7e5cd}
.soft-motivation-icon svg{width:25px;height:25px}
.soft-motivation-milestone.is-earned .soft-motivation-icon{background:#d6ead9;border-color:#d6ead9;color:#215437}
.soft-motivation-copy{display:grid;gap:3px;min-width:0}
.soft-motivation-copy strong{font-size:14px;line-height:1.2}
.soft-motivation-copy small{font-size:11px;color:#afc7b5}
.soft-motivation-progress{grid-column:1/-1;display:flex;align-items:center;gap:9px}
.soft-motivation-track{height:5px;flex:1;overflow:hidden;border-radius:999px;background:#ffffff2b}
.soft-motivation-track i{display:block;height:100%;border-radius:inherit;background:#a3d4aa;transition:width .4s ease-out}
.soft-motivation-progress b{min-width:46px;text-align:right;font-size:11px;color:#d5e9d8}
.soft-motivation-message{font-weight:600}
html[data-theme=light] .soft-motivation{background:radial-gradient(circle at 0 0,#d6ecd9 0,transparent 45%),linear-gradient(125deg,#f7faf7,#e8f2e8 78%)}
html[data-theme=light] .soft-motivation-score{background:#fff;border-color:#bbd5c0}
html[data-theme=light] .soft-motivation-score span{color:#5d8065}
html[data-theme=light] .soft-motivation-milestone{background:#fff;border-color:#d0e1d4}
html[data-theme=light] .soft-motivation-milestone.is-earned{background:linear-gradient(135deg,#e3f3e6,#d7ecdb);border-color:#8cbd99;box-shadow:inset 0 1px #fff,0 7px 18px #2a673518}
html[data-theme=light] .soft-motivation-icon{background:#e9f3ea;border-color:#c6dfca;color:#2c7942}
html[data-theme=light] .soft-motivation-milestone.is-earned .soft-motivation-icon{background:#2a7944;border-color:#2a7944;color:#fff}
html[data-theme=light] .soft-motivation-copy small{color:#617c66}
html[data-theme=light] .soft-motivation-track{background:#e0ebe2}
html[data-theme=light] .soft-motivation-track i{background:#378950}
html[data-theme=light] .soft-motivation-progress b{color:#356b43}
@media(max-width:620px){.soft-motivation-heading{align-items:start}.soft-motivation-score{padding:7px 9px}.soft-motivation-score strong{font-size:15px}.soft-motivation-milestone{grid-template-columns:38px minmax(0,1fr);padding:10px 12px}.soft-motivation-icon{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.soft-motivation-track i{transition:none}}
/* Keep the motivation card brief: three status rows, without redundant bars. */
.soft-motivation{margin-bottom:22px;padding:13px 16px;border-radius:15px}
.soft-motivation h2{margin-top:2px;font-size:19px}
.soft-motivation-score{display:flex;align-items:baseline;gap:4px;padding:4px 8px;border-radius:8px}
.soft-motivation-score strong{font-size:12px}
.soft-motivation-score span{font-size:10px}
.soft-motivation-milestones{gap:7px;margin:10px 0 8px}
.soft-motivation-milestone{grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:auto;gap:7px;min-height:38px;padding:6px 9px;border-radius:9px;box-shadow:none}
.soft-motivation-milestone.is-earned{box-shadow:none}
.soft-motivation-icon{width:28px;height:28px;border-radius:8px}
.soft-motivation-icon svg{width:17px;height:17px}
.soft-motivation-copy{gap:0}
.soft-motivation-copy strong{font-size:12px}
.soft-motivation-copy small,.soft-motivation-track{display:none}
.soft-motivation-progress{grid-column:auto;gap:0}
.soft-motivation-progress b{min-width:0;font-size:11px}
.soft-motivation-message{margin:0 0 3px;font-size:12px;line-height:1.35}
.soft-motivation>small{display:none}
@media(max-width:620px){.soft-motivation{padding:12px;margin-bottom:18px}.soft-motivation-heading{gap:8px}.soft-motivation h2{font-size:18px}.soft-motivation-score{align-self:start;white-space:nowrap;padding:3px 6px}.soft-motivation-score strong,.soft-motivation-score span{font-size:10px}.soft-motivation-milestones{gap:5px;margin:8px 0}.soft-motivation-milestone{grid-template-columns:25px minmax(0,1fr) auto;min-height:34px;padding:5px 8px}.soft-motivation-icon{width:25px;height:25px}.soft-motivation-progress b{font-size:10px}}
@media(max-width:620px){.soft-motivation-message{display:none}}
