.mac-res main .panel{border:1px solid var(--line);background:#fff;border-radius:26px;padding:26px 26px 28px}.mac-res main .panel+.panel{margin-top:20px}.mac-res main .panel h3{letter-spacing:.01em;text-transform:uppercase;color:var(--eyebrow);margin:0 0 16px;font-size:.82rem;font-weight:600}.mac-res main .ctrl{gap:8px;margin-bottom:18px;display:grid}.mac-res main .ctrl:last-child{margin-bottom:0}.mac-res main .ctrl label,.mac-res main .ctrl .lab{justify-content:space-between;align-items:baseline;gap:10px;font-size:.95rem;font-weight:500;display:flex}.mac-res main .ctrl .hint{color:var(--muted);font-size:.82rem;font-weight:400}.mac-res main .money{background:var(--cream);border:1.5px solid var(--line);border-radius:14px;align-items:center;padding:0 14px;transition:border-color .16s,box-shadow .16s;display:flex}.mac-res main .money:focus-within{border-color:var(--olive);box-shadow:0 0 0 4px #73743b24}.mac-res main .money span{color:var(--muted);font-weight:500}.mac-res main .money input{font:inherit;width:100%;color:var(--text);background:0 0;border:0;min-width:0;padding:12px 8px;font-size:1.1rem;font-weight:600}.mac-res main .money input::-webkit-outer-spin-button{-webkit-appearance:none}.mac-res main .money input::-webkit-inner-spin-button{-webkit-appearance:none}.mac-res main .stepper{align-items:center;gap:10px;display:flex}.mac-res main .stepper button{border:1.5px solid var(--olive);width:42px;height:42px;color:inherit;cursor:pointer;background:0 0;border-radius:50%;font-size:1.3rem;font-weight:500;line-height:1;transition:background .14s,color .14s,transform .12s}.mac-res main .stepper button:hover{background:var(--olive);color:#fff}.mac-res main .stepper button:active{transform:scale(.9)}.mac-res main .stepper output{text-align:center;min-width:3ch;font-size:1.4rem;font-weight:700}.mac-res main input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:34px}.mac-res main input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--olive) var(--fill,0%), var(--studio-bar-soft) var(--fill,0%));border-radius:8px;height:8px}.mac-res main input[type=range]::-moz-range-track{background:var(--studio-bar-soft);border-radius:8px;height:8px}.mac-res main input[type=range]::-moz-range-progress{background:var(--olive);border-radius:8px;height:8px}.mac-res main input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--olive);border:3px solid var(--cream);width:28px;height:28px;transition:transform .16s var(--ease);border-radius:100% 0;margin-top:-10px;transform:rotate(-35deg);box-shadow:0 2px 8px #232a1c59}.mac-res main input[type=range]:active::-webkit-slider-thumb{transform:rotate(-35deg)scale(1.2)}.mac-res main input[type=range]::-moz-range-thumb{background:var(--olive);border:3px solid var(--cream);border-radius:100% 0;width:22px;height:22px;transform:rotate(-35deg)}.mac-res main .chips{flex-wrap:wrap;gap:8px;display:flex}.mac-res main .chip{border:1.5px solid var(--line);cursor:pointer;background:#fff;border-radius:999px;padding:8px 15px;font-size:.9rem;font-weight:500;transition:all .15s}.mac-res main .chip:hover{border-color:var(--leaf)}.mac-res main .chip[aria-pressed=true]{background:var(--olive);border-color:var(--olive);color:#fff}.mac-res main .seg{background:var(--studio-bar-soft);border-radius:999px;grid-auto-flow:column;gap:4px;padding:4px;display:grid}.mac-res main .seg button{cursor:pointer;background:0 0;border:0;border-radius:999px;padding:10px 12px;font-size:.9rem;font-weight:500;transition:background .16s,color .16s}.mac-res main .seg button[aria-pressed=true]{background:#fff;font-weight:600;box-shadow:0 2px 8px #4a3a2a24}.mac-res main details.more{border-top:1px solid var(--line);margin-top:20px;padding-top:14px}.mac-res main details.more summary{cursor:pointer;justify-content:space-between;align-items:center;font-weight:500;list-style:none;display:flex}.mac-res main details.more summary::-webkit-details-marker{display:none}.mac-res main details.more summary:after{content:"+";color:var(--olive);font-size:1.3rem;transition:transform .2s}.mac-res main details.more[open] summary:after{transform:rotate(45deg)}.mac-res main details.more>div{margin-top:16px}.mac-res main .bec{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:28px;padding:8px 0 88px;display:grid}.mac-res main .bec-inputs{top:calc(var(--header-h) + 24px);position:sticky}.mac-res main .bec-inputs h3{margin-bottom:14px}.mac-res main .bec-card{border:1px solid var(--line);background:#fff;border-radius:28px;padding:26px 28px 24px}.mac-res main .card-top{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px;display:flex}.mac-res main .card-top h2{letter-spacing:.01em;font-size:1.3rem}.mac-res main .card-top p{color:var(--muted);font-size:.92rem}.mac-res main .bec-inputs .group+.group{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.mac-res main .bec-main{gap:20px;min-width:0;display:grid}.mac-res main .nudge{gap:4px;margin-right:-6px;display:flex}.mac-res main .nudge button{width:30px;height:30px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:50%;font-size:1.15rem;line-height:1;transition:background .14s,transform .12s}.mac-res main .nudge button:hover{background:var(--field)}.mac-res main .nudge button:active{transform:scale(.88)}.mac-res main .ctrl .stepper{gap:12px}.mac-res main .ctrl .stepper .pill{background:var(--cream);border:1.5px solid var(--line);border-radius:14px;align-items:center;padding:4px;display:inline-flex}.mac-res main .ctrl .stepper .pill button{border:0;border-radius:10px;width:36px;height:36px;font-size:1.15rem}.mac-res main .ctrl .stepper .pill button:hover{background:var(--field);color:var(--olive)}.mac-res main .ctrl .stepper output{font-variant-numeric:tabular-nums;min-width:2.6ch;font-size:1.15rem}.mac-res main .ctrl .stepper .unit{color:var(--muted);font-size:.95rem}.mac-res main .seg.mini{gap:2px;padding:3px;font-weight:400}.mac-res main .seg.mini button{padding:4px 10px;font-size:.8rem}.mac-res main .seg.mini button[aria-checked=true]{background:#fff;font-weight:600;box-shadow:0 2px 8px #4a3a2a24}.mac-res main .room-ctrl .lab{align-items:center}.mac-res main .money[hidden]{display:none}.mac-res main .bec-inputs .help{color:var(--muted);margin-top:2px;font-size:.85rem;line-height:1.45}.mac-res main .pay{gap:8px}.mac-res main .pay .chip{padding:7px 13px;font-size:.88rem}.mac-res main .pay .chip[aria-checked=true]{background:var(--olive);border-color:var(--olive);color:#fff}.mac-res main .bec-inputs .pay-help{min-height:2.9em;margin-top:12px}.mac-res main .own{grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;display:grid}.mac-res main .own[hidden]{display:none}.mac-res main .own label{color:var(--muted);gap:6px;font-size:.85rem;display:grid}.mac-res main .own .money input{text-align:right;padding:9px 4px;font-size:1rem}.mac-res main .own .money span{margin-left:2px}.mac-res main .bec-result{--on:var(--studio-band-fg);--soft:#f6f1e6b3;--rule:#f6f1e629;background:var(--studio-band);color:var(--on);border-radius:28px;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:8px 32px;padding:32px 36px 28px;display:grid;position:relative;overflow:hidden}.mac-res main .bec-result .lead{color:var(--soft);font-size:1.05rem;font-weight:500}.mac-res main .bec-result .big{letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:4px 0 2px;font-size:clamp(2.8rem,6vw,4.2rem);font-weight:700;line-height:1.02}.mac-res main .bec-result .big small{letter-spacing:0;margin-left:.25em;font-size:.42em;font-weight:600}.mac-res main .bec-result .big .p{letter-spacing:0;font-size:.5em;font-weight:600}.mac-res main .bec-result[data-state=short] .big,.mac-res main .bec-result[data-state=never] .big{color:#e3cfa6}.mac-res main .bec-result .sub{max-width:34em;min-height:3.1em;font-size:1.05rem;line-height:1.55}.mac-res main .facts{border-top:1px solid var(--rule);flex-wrap:wrap;grid-column:1/-1;gap:10px 0;margin:18px 0 1em;padding-top:18px;display:flex}.mac-res main .facts div{border-left:1px solid var(--rule);padding:0 26px}.mac-res main .facts div:first-child{border-left:0;padding-left:0}.mac-res main .facts dt{color:var(--soft);font-size:.85rem}.mac-res main .facts dd{font-variant-numeric:tabular-nums;margin:2px 0 0;font-size:1.3rem;font-weight:700}.mac-res main .ring{width:140px;height:140px;box-shadow:none;grid-row:span 3;align-self:start;margin-top:4px;position:relative}.mac-res main .ring>svg{width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}.mac-res main .ring circle{fill:none;stroke-width:10px}.mac-res main .ring .track{stroke:#f6f1e621}.mac-res main .ring .arc{stroke:var(--shell);stroke-linecap:round;stroke-dasharray:var(--p,0) 100;transition:stroke-dasharray .52s cubic-bezier(.3,1.2,.5,1),stroke .3s}.mac-res main .ring[data-done=true] .arc{stroke:var(--leaf)}.mac-res main .ring .mid{text-align:center;place-content:center;line-height:1.1;display:grid;position:absolute;inset:0}.mac-res main .ring .mid b{font-variant-numeric:tabular-nums;font-size:1.9rem;font-weight:700}.mac-res main .ring .mid span{color:var(--soft);max-width:6.5em;margin:3px auto 0;font-size:.86rem;font-weight:500}.mac-res main .ring .tick{width:46px;height:46px;display:none}.mac-res main .ring .tick path{fill:none;stroke:var(--leaf-pale);stroke-width:4.5px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:32;stroke-dashoffset:32px}.mac-res main .ring[data-done=true] .tick{order:-1;justify-self:center;margin-top:4px;display:block}.mac-res main .ring[data-done=true] .tick path{animation:.42s ease-out .12s forwards mac-calc-tick}.mac-res main .ring[data-done=true] b{display:none}.mac-res main .ring.pop{animation:.56s cubic-bezier(.3,1.6,.5,1) mac-calc-ringpop}@keyframes mac-calc-tick{to{stroke-dashoffset:0}}@keyframes mac-calc-ringpop{0%{transform:scale(1)}45%{transform:scale(1.12)}to{transform:scale(1)}}.mac-res main .burst{pointer-events:none;z-index:4;width:0;height:0;position:absolute}.mac-res main .burst i{background:var(--leaf);width:15px;height:8px;animation:.95s cubic-bezier(.2,.8,.3,1) forwards mac-calc-leaf;animation-delay:calc(var(--n) * 14ms);opacity:0;border-radius:100% 0;margin:-4px 0 0 -7px;position:absolute}.mac-res main .burst i:nth-child(3n){background:var(--olive)}.mac-res main .burst i:nth-child(4n){background:var(--leaf-pale)}@keyframes mac-calc-leaf{0%{opacity:1;transform:translate(0)rotate(0)scale(.5)}70%{opacity:1}to{opacity:0;transform:translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1.1)}}.mac-res main .flag{white-space:nowrap;border:1.5px dashed var(--brown);color:var(--brown);pointer-events:none;z-index:2;background:#ffffffb3;border-radius:999px;padding:3px 9px;font-size:.72rem;font-weight:600;transition:background .22s,color .22s,border-color .22s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.mac-res main .flag:after{content:"";background:currentColor;width:1.5px;height:6px;position:absolute;top:100%;left:50%}.mac-res main .flag.met{background:var(--ink);color:var(--ink-fg);border:1.5px solid var(--ink);animation:.52s cubic-bezier(.3,1.7,.5,1) mac-calc-flagpop}.mac-res main .flag.met:after{background:var(--ink)}@keyframes mac-calc-flagpop{0%{transform:translate(-50%)scale(.7)}60%{transform:translate(-50%)scale(1.12)}to{transform:translate(-50%)scale(1)}}.mac-res main .bec-note{color:var(--muted);max-width:46rem;padding:4px 6px 0;font-size:.92rem;line-height:1.65}.mac-res main .bec-note strong{color:var(--text);font-weight:600}@media (max-width:960px){.mac-res main .bec{grid-template-columns:minmax(0,1fr)}.mac-res main .bec-inputs{position:static}.mac-res main .bec-inputs .group:first-child{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 14px;display:grid}.mac-res main .bec-inputs .group:first-child h3{grid-column:1/-1}}@media (max-width:560px){.mac-res main .bec-inputs{padding:20px 16px}.mac-res main .bec-inputs .ctrl{margin-bottom:14px}.mac-res main .bec-inputs .ctrl label,.mac-res main .bec-inputs .ctrl .lab{flex-direction:column;align-items:start;gap:0}.mac-res main .bec-inputs .money{padding:0 8px 0 10px}.mac-res main .bec-inputs .money input{padding:10px 4px}.mac-res main .nudge button{width:26px}.mac-res main .ctrl .stepper .pill button{width:30px}.mac-res main .bec-inputs .stepper .unit{display:none}.mac-res main .own{grid-template-columns:1fr 1fr}.mac-res main .bec-inputs .group+.group{margin-top:14px;padding-top:16px}.mac-res main .bec-inputs .group:first-child{display:block}.mac-res main .bec-result{grid-template-columns:104px minmax(0,1fr);gap:4px 18px;padding:24px 20px 22px}.mac-res main .ring{grid-row:span 1;width:104px;height:104px}.mac-res main .ring .mid b{font-size:1.4rem}.mac-res main .ring .mid span{font-size:.72rem}.mac-res main .ring .tick{width:34px;height:34px}.mac-res main .bec-result .big{grid-column:1/-1;margin-top:10px;font-size:2.7rem}.mac-res main .bec-result .sub{grid-column:1/-1;margin-top:8px}.mac-res main .facts{gap:10px;display:grid}.mac-res main .facts div,.mac-res main .facts div:first-child{border:0;justify-content:space-between;align-items:baseline;gap:12px;padding:0;display:flex}.mac-res main .facts dd{text-align:right;margin:0;font-size:1.1rem}.mac-res main .bec-card{padding:22px 16px 20px}}@media (prefers-reduced-motion:reduce){.mac-res main .ring,.mac-res main .ring .arc,.mac-res main .ring .tick path,.mac-res main .flag{transition:none!important;animation:none!important}.mac-res main .ring .tick path{stroke-dashoffset:0}.mac-res main .burst i{animation:none!important}}.mac-res main .money.percent input{flex:none;width:3.2ch;padding-right:2px}.mac-res main .money.percent .nudge{margin-left:auto}
