/* Calisthenics Plan board correction. Shared calendar geometry and footer size stay canonical. */
html[data-wz-screen="calisthenics-plan"][data-wz-mode=light] {--wz-canvas:#dceffc;--wz-page-bg:#dceffc;--plan-glass:linear-gradient(115deg,#c2e1f455,#f0faff66);--plan-line:#aacfe466}
html[data-wz-screen="calisthenics-plan"][data-wz-mode=dark] {--wz-canvas:#021e30;--wz-page-bg:#021e30;--plan-glass:linear-gradient(115deg,#15516c66,#082b4066);--plan-line:#38708a66}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body .plan-page {padding-bottom:calc(78px + env(safe-area-inset-bottom));}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body .plan-page > .cali-hero {padding:6px 14px!important;min-height:0;margin:0!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body .plan-page .cali-hero h1 {font-size:23px!important;line-height:1.2}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected {gap:12px;padding:0 12px 12px;font-size:13px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected :is(.cali-card,.cali-plan-selected) {
 background:var(--plan-glass)!important;border:1px solid var(--plan-line)!important;border-radius:13px!important;box-shadow:none!important;margin:0!important;padding:8px 10px;
}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected h2 {font-size:17px;line-height:1.25;margin:0 0 5px!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected p {font-size:12px;line-height:1.4;margin:3px 0!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected :is(a,button,summary) {box-sizing:border-box;min-height:44px;font-size:13px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-card > a:not(.app-primary) {
 background:transparent!important;border:0;border-radius:8px;margin:0;padding:4px 0;justify-content:flex-start;box-shadow:none!important;
}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-card > a:not(.app-primary)::after {color:var(--wz-link);margin-left:auto}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected :is(.app-primary,.start) {
 background:linear-gradient(#08b7ff,#0067ff)!important;color:#fff!important;box-shadow:inset 0 1px 1px #ffffff88;border:1px solid #38b9ff;border-radius:22px;padding:6px 12px;text-align:center;justify-content:center;text-decoration:none;line-height:1.2;
}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-overview {grid-template-columns:100px minmax(0,1fr);gap:2px 10px;padding:8px 10px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-overview h2 {font-size:16px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-overview img {height:65px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected > :is(.cali-plan-calendar,.cali-plan-list,.cali-board-guided,.cali-plan-shared,.cali-plan-tools) {background:transparent!important;border:0!important;padding:0;box-shadow:none!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-calendar {display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-calendar > :is(.restored-date-strip,.cali-plan-totals) {grid-column:1/-1}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-week {gap:2px;align-items:center}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-week a {width:auto;padding:0 3px;text-decoration:none;font-size:12px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-week a:is(:first-child,:last-child) {min-width:44px;font-size:27px;justify-content:center}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .restored-date-strip {background:var(--plan-glass)!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-totals {display:grid;grid-template-columns:1fr 1.5fr;gap:8px;align-items:center;padding:6px 8px 6px 38px;border:1px solid var(--plan-line);border-radius:13px;background:var(--plan-glass)}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-totals p {font-size:11px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-totals::before {width:30px;height:30px;left:4px;top:8px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-selected {padding:0 10px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected summary {cursor:pointer;align-content:center;color:var(--wz-ink);padding:4px 0;font-weight:600}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-entry {padding:8px 10px 8px 132px;min-height:88px;margin:5px 0!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-entry h2 {font-size:14px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-entry p {font-size:11px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-day {left:7px;top:10px;width:36px;background:#6ca4c522}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-day strong {font-size:20px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-practice-art {left:47px;top:14px;width:76px;height:58px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-record-details summary {font-size:11px;font-weight:400}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-builder {padding:8px 10px 8px 70px!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-build-actions {display:flex;gap:6px;flex-wrap:wrap;align-items:center}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-build-actions a {padding:4px 9px;flex:1;white-space:nowrap;text-align:center;justify-content:center;font-size:12px;text-decoration:none;border-radius:22px;border:1px solid var(--plan-line)}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-board-guided h2::before {display:none}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-starter {position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:10px 20px 10px 82px!important;min-height:78px;background:var(--plan-glass)!important;border:1px solid var(--plan-line)!important;border-radius:13px!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-starter::before {content:'';position:absolute;left:10px;top:10px;width:62px;height:58px;background:var(--board-art) center/contain no-repeat}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-starter::after {position:absolute;right:8px;top:30px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected :is(.cali-plan-guided-more,.cali-plan-shared>details) {padding:0 10px;border:1px solid var(--plan-line);border-radius:12px;background:var(--plan-glass)}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected details a {display:flex;align-items:center;padding:3px 0}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-tools>a {gap:10px;border-bottom:1px solid var(--plan-line)!important;border-radius:0!important;padding:0 8px!important;min-height:44px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-tools>a:last-child {border:0!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-tool-icon {width:22px;height:22px;flex-basis:22px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] .plan-page > [role=status] {color:var(--wz-ink)!important}
@media(max-width:360px){html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-entry{padding-left:112px}html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-practice-art{width:58px}}

/* Blend original artwork only; silhouette clips keep source backdrops off the cards. */
.plan-page .cali-plan-overview>img,.plan-page .cali-plan-practice-art,.plan-page .cali-plan-tool-icon,
.plan-page .cali-plan-builder::before,.plan-page .cali-plan-totals::before,.plan-page .cali-plan-starter::before {
 mix-blend-mode:multiply;mask-image:none;
}
html[data-wz-mode=dark] .plan-page .cali-plan-overview>img,html[data-wz-mode=dark] .plan-page .cali-plan-practice-art,
html[data-wz-mode=dark] .plan-page .cali-plan-tool-icon,html[data-wz-mode=dark] .plan-page .cali-plan-builder::before,
html[data-wz-mode=dark] .plan-page .cali-plan-totals::before,html[data-wz-mode=dark] .plan-page .cali-plan-starter::before {mix-blend-mode:screen}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-entry-actions {display:grid;grid-template-columns:1fr 1fr;gap:4px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-entry-actions>a:first-child {grid-column:1/-1}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-entry-actions :is(a,button) {display:flex;align-items:center;justify-content:center;margin:0;padding:4px;font-size:12px;text-decoration:none;border:1px solid var(--plan-line);border-radius:20px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-entry-actions button {background:transparent!important;color:var(--wz-ink)!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .restored-date-strip [aria-current=date] :is(strong,small) {color:white!important}

html[data-wz-screen="calisthenics-plan"][data-wz-mode] body.calisthenics-account-loading main::after {color:var(--wz-ink)!important}

/* Crisp, original bar silhouette: no radial mask fading the posts or crossbar. */
.plan-page .cali-plan-overview>img,.plan-page .cali-plan-practice-art[data-art=bar] {
 clip-path:polygon(0% 100%,0% 17%,3% 9%,11% 7%,15% 17%,16% 26%,76% 26%,77% 16%,80% 8%,88% 7%,93% 14%,95% 100%,77% 100%,77% 42%,17% 42%,17% 100%);
}
.plan-page .cali-plan-symbol {display:inline-block;width:22px;height:22px;flex:0 0 22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;margin-right:8px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-confirm h2 {display:flex;align-items:center;gap:4px;font-size:17px!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-confirm {padding:16px;background:var(--plan-glass),var(--wz-canvas)!important;box-shadow:0 10px 28px #00142f44;border:1px solid var(--plan-line)}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-confirm .outline {background:transparent;color:var(--wz-ink);border:1px solid var(--plan-line);box-shadow:none;margin:0;border-radius:22px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-confirm-actions {margin-top:10px;align-items:stretch;flex-wrap:nowrap}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-confirm-actions button {margin:0;min-width:0;min-height:44px;padding:6px;font-size:12px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-empty {padding:10px!important;background:var(--plan-glass)!important;border:1px solid var(--plan-line)!important;border-radius:13px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-empty h2 {display:flex;align-items:center}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-empty > a {display:flex;width:100%;margin-top:8px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-history {justify-content:center!important;background:var(--plan-glass)!important;border-radius:12px!important;padding:0 8px!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-recorded {display:grid;grid-template-columns:1fr 1fr;gap:2px 5px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-recorded > :is(h2,p) {grid-column:1/-1}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-recorded > a {font-size:11px!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-record-details[open] {grid-column:1/-1}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-shared summary {font-size:12px}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-course-records {padding:0!important;border:0!important;background:transparent!important}
html[data-wz-screen="calisthenics-plan"][data-wz-mode] body #calisthenics-connected .cali-plan-resume {background:var(--plan-glass)!important;border-radius:10px!important;padding:0 8px!important}

.plan-page .cali-plan-builder::before {clip-path:polygon(30% 0,70% 0,74% 5%,90% 5%,100% 15%,100% 95%,90% 100%,10% 100%,0 92%,0 15%,10% 5%,26% 5%)}
.plan-page .cali-plan-starter::before {clip-path:polygon(3% 85%,35% 36%,36% 12%,60% 12%,55% 31%,95% 85%)}
.plan-page .cali-plan-tool-icon,.plan-page .cali-plan-totals::before {clip-path:ellipse(46% 47% at 50% 50%)}

.plan-page .cali-plan-time .cali-plan-symbol {width:14px;height:14px;margin-right:4px;vertical-align:-2px}
