.tools .yp-breathe{--ease-out:cubic-bezier(.23, 1, .32, 1);flex-direction:column;align-items:center;gap:18px;width:100%;display:flex}.tools .yp-breathe .stage{width:100%;height:clamp(480px, calc(100vh / var(--zoom,1) - 330px), 640px);border-radius:var(--r-xl);isolation:isolate;color:var(--scene-ink);background:linear-gradient(180deg, var(--scene-top), var(--scene-bottom));font-family:ui-rounded, "SF Pro Rounded", var(--font);-webkit-tap-highlight-color:transparent;scroll-margin-top:84px;position:relative;overflow:hidden;box-shadow:0 1px 2px #14283214,0 24px 48px -28px #14283273}.tools .yp-breathe .stage:fullscreen{width:calc(100vw / var(--zoom,1));height:calc(100vh / var(--zoom,1));border-radius:0}.tools .yp-breathe .scene{width:100%;height:100%;display:block;position:absolute;inset:0}.tools .yp-breathe .top{z-index:3;justify-content:space-between;align-items:center;display:flex;position:absolute;inset:8px 20px auto}.tools .yp-breathe .top-right{gap:10px;display:flex}.tools .yp-breathe .stage-btn{cursor:pointer;width:44px;height:44px;color:inherit;background:color-mix(in srgb, var(--scene-ink) 9%, transparent);transition:background-color .15s, transform .15s var(--ease-out);border:0;border-radius:50%;place-items:center;display:grid}.tools .yp-breathe .stage-btn .icon{width:19px;height:19px}@media (hover:hover){.tools .yp-breathe .stage-btn:hover{background:color-mix(in srgb, var(--scene-ink) 16%, transparent)}}.tools .yp-breathe .stage-btn:active{transform:scale(.94)}.tools .yp-breathe .stage :focus-visible{outline-color:var(--scene-ink)}.tools .yp-breathe .words{z-index:2;text-align:center;pointer-events:none;flex-direction:column;align-items:center;gap:4px;transition:opacity .3s,visibility .3s;display:flex;position:absolute;inset:76px 16px auto}.tools .yp-breathe .phase-label{opacity:.65;min-height:1.4em;font-size:1.25rem;font-weight:500}.tools .yp-breathe .stage:not([data-scene=moonlit]) .phase-label{opacity:.8}.tools .yp-breathe .phase-count{font-variant-numeric:tabular-nums;opacity:.85;min-height:1em;font-size:6rem;font-weight:100;line-height:1;transition:opacity .3s}.tools .yp-breathe .phase-count.small{letter-spacing:.04em;margin-top:.2em;font-size:3.2rem;font-weight:300}.tools .yp-breathe .footer{z-index:2;text-align:center;pointer-events:none;flex-direction:column;align-items:center;gap:12px;transition:opacity .3s,visibility .3s;display:flex;position:absolute;inset:auto 16px 28px}.tools .yp-breathe .cue{opacity:.8;justify-content:center;align-items:flex-end;max-width:300px;min-height:2.7em;margin-bottom:8px;font-size:1.06rem;font-weight:500;line-height:1.35;transition:opacity .3s;display:flex}.tools .yp-breathe .round-text{font-family:var(--font);font-variant-numeric:tabular-nums;opacity:.75;min-height:1.2em;font-size:.82rem;font-weight:600}.tools .yp-breathe .bar{background:color-mix(in srgb, var(--scene-ink) 12%, transparent);border-radius:2px;width:160px;height:4px;display:block;overflow:hidden}.tools .yp-breathe .bar i{--overall:0;background:color-mix(in srgb, var(--scene-ink) 75%, transparent);width:100%;height:100%;clip-path:inset(0 calc((1 - var(--overall)) * (100% - 4px)) 0 0 round 2px);display:block}.tools .yp-breathe .stage[data-status=paused] .phase-count,.tools .yp-breathe .stage[data-status=paused] .cue{opacity:.6}.tools .yp-breathe .stage[data-wide] .words{text-align:left;align-items:flex-start;width:34%;inset:50% auto auto clamp(28px,6%,72px);transform:translateY(-62%)}.tools .yp-breathe .stage[data-wide] .phase-count{font-size:clamp(6rem,9vw,8rem)}.tools .yp-breathe .stage[data-wide] .phase-count.small{font-size:clamp(3.2rem,5vw,4.2rem)}.tools .yp-breathe .stage[data-wide] .footer{text-align:left;align-items:flex-start;width:34%;inset:auto auto 36px clamp(28px,6%,72px)}.tools .yp-breathe .stage[data-wide] .cue{justify-content:flex-start;max-width:320px}.tools .yp-breathe .stage[data-status=done] .words,.tools .yp-breathe .stage[data-status=done] .footer{opacity:0;visibility:hidden}.tools .yp-breathe .finish{z-index:3;text-align:center;animation:breathe-finish .4s var(--ease-out);flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;inset:76px 16px 24px}.tools .yp-breathe .finish[hidden]{display:none}.tools .yp-breathe .finish h2{letter-spacing:-.01em;font-size:1.9rem;font-weight:600}.tools .yp-breathe .finish p{font-family:var(--font);opacity:.7;font-weight:500}.tools .yp-breathe .finish-actions{flex-direction:column;gap:8px;width:min(100%,400px);margin-top:auto;display:flex}.tools .yp-breathe .pill{height:52px;font-family:var(--font);cursor:pointer;color:inherit;background:color-mix(in srgb, var(--scene-ink) 8%, transparent);transition:transform .15s var(--ease-out);border:0;border-radius:999px;font-size:1.06rem;font-weight:600}.tools .yp-breathe .pill.solid{background:var(--scene-ink);color:var(--scene-on-ink)}.tools .yp-breathe .pill:active{transform:scale(.97)}@keyframes breathe-finish{0%{opacity:0;transform:scale(.97)}}.tools .yp-breathe .controls{flex-direction:column;align-items:center;gap:14px;width:100%;display:flex}.tools .yp-breathe .scenes{justify-content:center;gap:12px;display:flex}.tools .yp-breathe .tile{cursor:pointer;color:var(--ink-soft);-webkit-tap-highlight-color:transparent;background:0 0;border:0;flex-direction:column;align-items:center;gap:7px;padding:0;display:flex}.tools .yp-breathe .tile .frame{opacity:.78;width:76px;height:92px;box-shadow:0 0 0 1px var(--line);transition:transform .2s var(--ease-out), opacity .2s, box-shadow .2s;border-radius:18px;display:block;overflow:hidden;transform:scale(.94)}.tools .yp-breathe .tile canvas{width:100%;height:100%;display:block}.tools .yp-breathe .tile .name{font-size:.82rem;font-weight:700}.tools .yp-breathe .tile[aria-checked=true]{color:var(--ink)}.tools .yp-breathe .tile[aria-checked=true] .frame{opacity:1;box-shadow:0 0 0 2px var(--sel-bg), 0 0 0 4px var(--ink);transform:none}@media (hover:hover){.tools .yp-breathe .tile:hover .frame{opacity:1;transform:translateY(-2px)scale(.96)}.tools .yp-breathe .tile[aria-checked=true]:hover .frame{transform:translateY(-2px)}}.tools .yp-breathe .tile:active .frame{transform:scale(.92)}.tools .yp-breathe .tile:focus-visible{outline:none}.tools .yp-breathe .tile:focus-visible .frame{box-shadow:0 0 0 2px var(--ink), 0 0 0 5px var(--accent)}.tools .yp-breathe .controls button:not(.tile):focus-visible{box-shadow:0 0 0 3px var(--ink)}.tools .yp-breathe .rhythms button{flex-direction:column;justify-content:center;align-items:center;gap:1px;height:50px;padding:0 14px;line-height:1.15;display:inline-flex}.tools .yp-breathe .rhythms .rh-use{white-space:nowrap;font-size:.9rem;font-weight:700}.tools .yp-breathe .rhythms .rh-counts{color:var(--ink-faint);font-size:.78rem;font-weight:600}.tools .yp-breathe .dock .chip{padding:0 10px}.tools .yp-breathe .play[hidden]{display:none}.tools .yp-breathe .play .icon{width:22px;height:22px}@media (min-width:721px){.tools .yp-breathe .stage{height:clamp(300px, calc(var(--tool-room,100svh / var(--zoom,1) - 228px) - 100px), 640px)}.tools .yp-breathe .controls{flex-wrap:wrap-reverse}}@media (max-width:720px){.tools .yp-breathe .stage{height:clamp(420px, var(--tool-room,100svh / var(--zoom,1) - 228px), 760px);border-radius:28px}.tools .yp-breathe .controls{align-items:stretch}.tools .yp-breathe .scenes{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.tools .yp-breathe .tile{min-width:0}.tools .yp-breathe .tile .frame{aspect-ratio:72/88;width:min(72px,100%);height:auto}.tools .yp-breathe .dock{justify-content:center}.tools .yp-breathe .rhythms button{padding:0 6px}}@media (prefers-reduced-motion:reduce){.tools .yp-breathe .finish{animation:none}.tools .yp-breathe .tile .frame,.tools .yp-breathe .tile:hover .frame{transform:none}}.tools .curve{border-radius:var(--r-l);background:var(--tile);flex-direction:column;gap:10px;padding:12px 12px 10px;display:flex}.tools .curve .seg{align-self:flex-start}.tools .curve svg{width:100%;height:auto;display:block;overflow:visible}.tools .curve .base{fill:none;stroke:var(--ink-faint);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;opacity:.55;transition:stroke-dashoffset 1.3s cubic-bezier(.65,0,.35,1),opacity .3s}.tools .curve .base.chosen{opacity:0}.tools .curve .line{fill:none;stroke:var(--ink);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.tools .curve .area{fill:url(#curve-fill)}.tools .curve .grid line{stroke:var(--line);stroke-width:1px}.tools .curve text{fill:var(--ink-soft);font:600 11px var(--font);font-variant-numeric:tabular-nums}.tools .curve .phase{fill:var(--ink);font:700 12px var(--font)}.tools .curve .dot{fill:var(--accent);stroke:var(--sel-bg);stroke-width:2.5px}.tools .curve .guide-line{stroke:var(--ink-faint);stroke-width:1px;stroke-dasharray:3 4}.tools .curve .s1{stop-color:var(--accent);stop-opacity:.45}.tools .curve .s2{stop-color:var(--accent);stop-opacity:0}.tools .curve .legend{color:var(--ink-soft);padding-inline:4px;font-size:.84rem;font-weight:600}.tools .rbar{gap:4px;margin:0;padding:0;list-style:none;display:flex}.tools .rbar li{border-radius:14px;flex-direction:column;gap:3px;min-width:0;padding:12px 14px 13px;display:flex}.tools .rbar li:first-child{background:var(--tint-in);flex:4 1 0}.tools .rbar li:nth-child(2){background:var(--tint-hold);flex:7 1 0}.tools .rbar li:nth-child(3){background:var(--tint-out);flex:8 1 0}.tools .rbar b{font-variant-numeric:tabular-nums;font-size:2rem;font-weight:300;line-height:1}.tools .rbar span{color:var(--ink-soft);font-size:.9rem;font-weight:600}
.tools .yp-calm{--cw-ink:#fff;--cw-soft:#ffffffc7;width:100%;display:block}.tools .yp-calm .cw{border-radius:var(--r-xl);isolation:isolate;background:var(--cw-bg,#1e2a44);height:420px;box-shadow:0 26px 50px -30px var(--glass-shadow), inset 0 0 0 1px #ffffff24;color:var(--cw-ink);position:relative;overflow:hidden}.tools .yp-calm .vid{z-index:0;object-fit:cover;opacity:0;width:100%;height:100%;transition:opacity .8s;position:absolute;inset:0}.tools .yp-calm .vid.ready{opacity:1}.tools .yp-calm .scrim{z-index:1;pointer-events:none;background:radial-gradient(70% 60% at 50% 46%,#080c1c4d,#080c1c14 60%,#0000),linear-gradient(#080c1c4d,#080c1c0f 30%,#080c1c1f 62%,#080c1c9e);position:absolute;inset:0}.tools .yp-calm .scenes{z-index:3;background:linear-gradient(#ffffff2e,#141a2c38);border-radius:999px;padding:4px;position:absolute;top:14px;left:50%;transform:translate(-50%)}.tools .yp-calm .scenes .seg{background:0 0;order:0;width:auto}.tools .yp-calm .scenes .seg button{height:36px;color:var(--cw-ink);flex:none;padding:0 14px}.tools .yp-calm .scenes .seg button[aria-checked=true]{color:var(--sel-ink)}.tools .yp-calm .face{z-index:2;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding-top:20px;display:flex;position:absolute;inset:0}.tools .yp-calm .dial{place-items:center;width:216px;height:216px;display:grid;position:relative}.tools .yp-calm .dial svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.tools .yp-calm .dial circle{fill:none;stroke-width:2.6px}.tools .yp-calm .dial .track{stroke:#ffffff42}.tools .yp-calm .dial .prog{stroke:var(--cw-ink);stroke-linecap:round;transition:stroke-dashoffset .25s linear}.tools .yp-calm .read{text-align:center;text-shadow:0 2px 18px #00000059;flex-direction:column;align-items:center;display:flex}.tools .yp-calm .time{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:4.2rem;font-weight:200;line-height:1}.tools .yp-calm .time.word{letter-spacing:0;font-size:2.4rem;font-weight:300}.tools .yp-calm .label{color:var(--cw-soft);margin-top:8px;font-size:.92rem;font-weight:600}.tools .yp-calm .again{height:44px;color:var(--ink);padding:0 18px}.tools .yp-calm .cw-guide{z-index:2;text-align:center;min-height:1.5em;color:var(--cw-ink);text-shadow:0 1px 14px #00000073;margin:0;padding-inline:24px;font-size:1.06rem;font-weight:600;line-height:1.45;transition:opacity .5s;position:absolute;bottom:22px;left:0;right:0}.tools .yp-calm .cw-guide.fade{opacity:0}.tools .yp-calm .controls{justify-content:center;margin-top:14px;display:flex}.tools .yp-calm{--cw-h:clamp(200px, calc(var(--tool-room,100svh / var(--zoom,1) - 228px) - 94px - var(--studio-modes,0px)), 420px);--dial:216px}.tools .yp-calm .cw{height:var(--cw-h);container-type:size}@container (max-height:240px){.tools .yp-calm .label{display:none}.tools .yp-calm .time{font-size:3.4rem}}.tools .yp-calm .dial{width:min(var(--dial), calc(var(--cw-h) - 44px));height:min(var(--dial), calc(var(--cw-h) - 44px))}@media (max-width:520px){.tools .yp-calm{--cw-h:clamp(200px, calc(var(--tool-room,100svh / var(--zoom,1) - 228px) - 142px - var(--studio-modes,0px)), 300px);--dial:172px}.tools .yp-calm .time{font-size:3.5rem}.tools .yp-calm .time.word{font-size:2rem}.tools .yp-calm .scenes .seg button{padding:0 11px}}@media (max-width:1024px){.tools .yp-calm .scenes .seg button{height:44px}}
.tools .yp-studio{--studio-modes:74px;flex-direction:column;align-items:center;gap:16px;width:100%;min-width:0;display:flex}.tools .yp-studio .studio-modes{border-radius:999px;padding:4px}.tools .yp-studio .studio-modes .seg{background:0 0}.tools .yp-studio .studio-modes .seg button{align-items:center;gap:8px;height:44px;padding:0 22px;font-size:1rem;display:inline-flex}.tools .yp-studio .studio-modes .tool-icon{width:18px;height:18px}.tools .yp-studio .studio-practice{width:100%;min-width:0;max-width:620px;margin-inline:auto}
