.cw { --serif:"Instrument Serif",Georgia,serif; --leaf:#d4eca5; --forest:#142a28; color:var(--text); scroll-margin-top:5rem; padding-block:clamp(42px,6.2vw,96px); }
.cw [hidden]{display:none!important}
.cw-intro {margin:0 auto clamp(26px,3.6vw,50px);text-align:center;max-width:850px}
.cw-eyebrow {margin:0 0 12px;font:600 .84rem/1.4 var(--ui)}
.cw-intro h2,.cw h3 {margin:0;letter-spacing:-.065em;line-height:.97;font-family:var(--ui);font-weight:560;text-wrap:balance}
.cw-intro h2 {font-size:clamp(2.8rem,6vw,6.2rem)}
.cw em {font:400 1.07em/.92 var(--serif);letter-spacing:-.04em}
.cw-intro>p:last-child {margin:18px auto 0;max-width:55ch;color:var(--text-secondary);font:460 clamp(1rem,1.3vw,1.2rem)/1.55 var(--ui)}
.cw-grid {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:clamp(12px,1.3vw,21px)}
.cw-grid>section,.cw-grid>aside {border-radius:22px;min-width:0;overflow:clip}
.cw h3 {font-size:clamp(2rem,3vw,3.65rem)}
.cw-dashboard {background:var(--forest);color:#f6f6e9;padding:clamp(24px,3.2vw,52px);display:flex;flex-direction:column}
.cw-chart-head {display:flex;align-items:flex-start;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.cw-chart-head .cw-eyebrow {color:#cfdcce}
.cw-switch {display:inline-flex;max-width:100%;gap:2px;border:1px solid #71867a;border-radius:30px;padding:3px;align-self:flex-start}
.cw-switch button {border:0;cursor:pointer;min-height:38px;border-radius:25px;background:transparent;color:#f6f6e9;font:580 .86rem/1.2 var(--ui);padding:8px clamp(8px,1.05vw,17px)}
.cw-switch button[aria-pressed=true] {color:#132a25;background:var(--leaf)}
.cw-switch button:focus-visible,.cw-plot:focus-within {outline:2px solid #ffdeb2;outline-offset:3px}
.cw-total {display:flex;align-items:end;gap:18px;margin:clamp(25px,3vw,46px) 0 19px;line-height:1}
.cw-total strong {font:530 clamp(4rem,6vw,7rem)/.85 var(--ui);letter-spacing:-.09em;font-variant-numeric:tabular-nums}
.cw-total>div {display:grid;gap:5px;color:#c6d4cd;font:480 .86rem/1.25 var(--ui)}
.cw-total b {color:#f0f3e7;font-weight:620}
.cw-chart {position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px 10px;margin: auto 5px 0 0;padding-top:15px}
.cw-axis {display:flex;flex-direction:column;justify-content:space-between;font:500 .72rem/1 var(--ui);color:#c4d1c8;text-align:right;margin:-.45em 0}
.cw-plot {position:relative;height:clamp(145px,12vw,200px);color:var(--leaf);background:repeating-linear-gradient(to bottom,#44605a 0 1px,transparent 1px 25%);border-bottom:1px solid #44605a}
.cw-plot svg {position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cw-guide {position:absolute;left:var(--x);top:0;bottom:0;border-left:1px dashed #cbddb57d;pointer-events:none}
.cw-point {position:absolute;left:var(--x);top:var(--y);width:12px;height:12px;border:2px solid var(--forest);background:var(--leaf);border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px var(--leaf);pointer-events:none}
.cw-scrub {appearance:none;position:absolute;left:-12px;top:0;margin:0;width:calc(100% + 24px);height:100%;background:transparent;opacity:0;cursor:ew-resize;touch-action:pan-y}
.cw-scrub::-webkit-slider-thumb {appearance:none;width:24px;height:36px}.cw-scrub::-moz-range-thumb {width:24px;height:36px;border:0}
.cw-days {grid-column:2;display:flex;justify-content:space-between;margin:0 -.55em;color:#cbd8cd;font:550 .78rem/1.3 var(--ui);text-transform:capitalize}
.cw-days span {width:1.2em;text-align:center}.cw-days [aria-current] {color:var(--leaf);text-decoration:underline;text-underline-offset:4px}
.cw-hint {margin:18px 0 0;font:450 .84rem/1.4 var(--ui);color:#c4d1c8}
.cw-studio {isolation:isolate;position:relative;background:#d5d3e7;color:#232832;padding:clamp(22px,2.5vw,42px);display:flex;flex-direction:column}
.cw-studio .cw-eyebrow {margin-bottom:6px}
.cw-scene {flex:1;display:grid;place-items:center;min-height:235px;margin:16px 0 14px;perspective:900px}
.cw-phone {width:clamp(141px,12.4vw,202px);aspect-ratio:9/16.9;padding:5px;border:1px solid #78818b;border-radius:24px;background:#233137;box-shadow:3px 3px 0 #54656a,8px 14px 22px #30334342;transform:rotate(4deg)}
.cw-screen {position:relative;isolation:isolate;height:100%;border-radius:18px;overflow:hidden;background:#173336}
.cw-screen>img {position:absolute;width:100%;height:100%;object-fit:cover;object-position:52% 46%;z-index:-2}
.cw-screen::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(175deg,#0f161c60 0%,transparent 27%,#0d2125a6 65%,#0b1a1ce8 100%)}
.cw-screen-copy {box-sizing:border-box;height:100%;display:flex;flex-direction:column;align-items:flex-start;padding:13px 9%;color:#f6f6eb}
.cw-screen-copy small,.cw-print small {font:700 .65rem/1 var(--ui);letter-spacing:-.02em}
.cw-screen-copy strong,.cw-print strong {margin-top:auto;font:600 clamp(1.67rem,2.45vw,2.8rem)/.87 var(--ui);letter-spacing:-.085em}
.cw-screen-copy strong em {color:#d3caff}
.cw-screen-copy span {padding:5px 8px;margin:11px 0 7px;border-radius:20px;background:#eeeaf9;color:#162120;font:650 .65rem/1.15 var(--ui)}
.cw-print {position:relative;display:flex;flex-direction:column;width:clamp(167px,14.8vw,222px);aspect-ratio: .71;box-sizing:border-box;background:#f3efd9;padding:clamp(11px,1.2vw,19px);box-shadow:2px 3px 0 #c3bca6,8px 14px 19px #39334242;transform:rotate(-4deg)}
.cw-print strong {margin:10px 0 8px;color:#202b2b}.cw-print img {width:100%;min-height:0;flex:1;height:65px;object-fit:cover;object-position:50% 30%}.cw-print span {margin-top:8px;font:500 .71rem/1.2 var(--ui)}
.cw-art-note {margin:0;text-align:center;font:500 .88rem/1.4 var(--ui)}
.cw-route {grid-column:1/-1;display:grid;align-items:center;gap:clamp(22px,5vw,80px);grid-template-columns:minmax(0,1fr) minmax(0,1.38fr);padding:clamp(24px,3.5vw,57px);background:#eae7dc;color:#1f2d29}
.cw-route header>p:last-child {max-width:41ch;margin:13px 0 0;font:450 1rem/1.5 var(--ui)}
.cw-route ol {margin:0;padding:0;list-style:none;display:grid;gap:16px}
.cw-route li>div:first-child {display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px;font:550 .93rem/1.3 var(--ui)}
.cw-route li b {font:600 1.2rem/1 var(--ui);font-variant-numeric:tabular-nums}
.cw-track {height:9px;background:#d6d3c9;border-radius:10px;overflow:hidden}.cw-track i {display:block;border-radius:inherit;height:100%;background:#42685b;transition:width .32s ease-out}.cw-route li:nth-child(2) i {background:#547f71}.cw-route li:nth-child(3) i {background:#344d74}
.cw-data {margin:12px 0 0;color:var(--text)}.cw-data summary {min-height:44px;padding:12px 0;cursor:pointer;font:600 .9rem/1.35 var(--ui)}.cw-data p {max-width:76ch;color:var(--text-secondary)}
.cw-tables {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.cw-tables table {width:100%;border-collapse:collapse;font:450 .85rem/1.45 var(--ui);font-variant-numeric:tabular-nums}.cw-tables caption {font-size:1rem;font-weight:600;text-align:left;margin:8px 0}.cw-tables :is(th,td){padding:5px 2px;border-bottom:1px solid var(--border);text-align:right}.cw-tables tr>:first-child {text-align:left}
.cw-status {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:860px){.cw-grid {grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.cw-chart-head{gap:14px}.cw-dashboard {padding:23px}}
@media(max-width:650px){.cw-grid,.cw-route,.cw-tables {grid-template-columns:1fr}.cw-grid>section,.cw-grid>aside{border-radius:16px}.cw-intro h2 em{display:block}.cw-dashboard {padding:22px 18px}.cw-chart {margin-top:0}.cw-chart-head {display:grid;gap:15px}.cw-total {margin:24px 0 13px}.cw-route {grid-column:auto}.cw-studio {padding:23px}.cw-scene {min-height:198px}.cw-phone {width:122px}.cw-print {width:149px}.cw-total>div {font-size:.8rem}}
@media(prefers-reduced-motion:reduce){.cw-track i{transition:none}}

.cw-counter {position:relative;display:inline-grid;overflow:clip;padding:.07em .07em .08em 0;margin-block:-.07em -.08em;min-width:1.14em}
.cw-counter > span {display:block;grid-area:1/1;justify-self:start}
.cw-last-number:empty {visibility:hidden}
.cw-controls {display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin-top:14px}
.cw-controls .cw-hint {margin:0}
.cw-play {display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:6px 14px;border-radius:24px;border:1px solid #7c9385;color:#ecf5e0;background:transparent;font:600 .86rem/1.1 var(--ui);cursor:pointer}
.cw-play:focus-visible {outline:2px solid #ffdeb2;outline-offset:3px}
.cw-play i {height:0;width:0;border-block:5px solid transparent;border-left:8px solid currentColor}
.cw-play[data-playing] i {height:10px;width:8px;border:0;border-inline:3px solid currentColor}
.cw-switch {position:relative;isolation:isolate}
.cw-switch[data-pill]::before {content:"";position:absolute;top:3px;bottom:3px;left:0;width:var(--pill-w);transform:translateX(var(--pill-x));border-radius:24px;background:var(--leaf);pointer-events:none;z-index:-1;transition:transform .38s cubic-bezier(.22,.8,.18,1),width .38s cubic-bezier(.22,.8,.18,1)}
.cw-switch[data-pill] button[aria-pressed=true] {background:transparent}
.cw-art-stack {display:grid;flex:1;align-items:stretch;isolation:isolate;perspective:900px}
.cw-art-stack > .cw-scene {grid-area:1/1;transform-style:preserve-3d;backface-visibility:hidden}
.cw-art-stack > .cw-scene[hidden] {display:grid!important;visibility:hidden;pointer-events:none}
.cw-art-stack > .cw-scene[data-leaving] {visibility:visible}
.cw-track i {transform-origin:left center}
@media(hover:hover){.cw-play:hover {background:#253c36}}
@media(prefers-reduced-motion:reduce){.cw-switch[data-pill]::before {transition:none}}
