/* 1440MM Bathroom Calculator Premium v2 — application UI, not generic page styling. */
body.mm-bath-premium-v2{
 --bath2-amber:#ff8d05;--bath2-amber2:#ffc27f;--bath2-bg:#0b0e12;--bath2-panel:#151a20;--bath2-panel2:#1c222a;--bath2-line:rgba(255,255,255,.11);--bath2-muted:rgba(246,248,251,.7);
 background:radial-gradient(circle at 82% 8%,rgba(255,141,5,.08),transparent 34rem),#0b0e12;
}
body.mm-bath-premium-v2 .bath-hero-kalc{position:relative;padding:clamp(46px,6vw,82px) 0 54px;background:linear-gradient(180deg,rgba(255,255,255,.018),transparent)}
body.mm-bath-premium-v2 .bath-hero-kalc .hero-inner{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(340px,.68fr);gap:clamp(34px,5vw,74px);align-items:center;max-width:1180px}
body.mm-bath-premium-v2 .bath-hero-kalc .hero-copy{max-width:none!important}
body.mm-bath-premium-v2 .bath-hero-kalc h1{margin:12px 0 20px;max-width:12ch;font-size:clamp(54px,5.7vw,82px);line-height:.92;letter-spacing:-.055em;text-wrap:balance}
body.mm-bath-premium-v2 .bath-hero-kalc .hero-copy>p{max-width:66ch;color:rgba(246,248,251,.76);font-size:clamp(16px,1.3vw,19px);line-height:1.65}
body.mm-bath-premium-v2 .bath-hero-kalc .hero-badges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:24px}
body.mm-bath-premium-v2 .bath-hero-kalc .hero-badges span{display:grid;min-height:62px;place-items:center;padding:11px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:rgba(255,255,255,.035);color:#fff;text-align:center;font-size:.78rem;font-weight:850}
body.mm-bath-premium-v2 .bath-calc-visual{overflow:hidden;border:1px solid rgba(255,141,5,.34);border-radius:28px;background:#12161b;box-shadow:0 32px 90px rgba(0,0,0,.44),0 0 0 8px rgba(255,255,255,.025)}
body.mm-bath-premium-v2 .bath-hero-kalc .bath-calc-visual{transform:rotate(1deg)}
body.mm-bath-premium-v2 .bath-hero-kalc .bath-calc-visual img{width:100%;aspect-ratio:4/5;object-fit:cover}

body.mm-bath-premium-v2 .bath-calc-anchor{padding:56px 0 86px;background:radial-gradient(circle at 8% 12%,rgba(255,141,5,.07),transparent 34rem),linear-gradient(180deg,#10141a,#0b0e12)}
body.mm-bath-premium-v2 .bath-calc-anchor>.shell>.section-head{grid-template-columns:minmax(0,1.22fr) minmax(320px,.72fr)!important;align-items:end!important;margin-bottom:22px!important}
body.mm-bath-premium-v2 .bath-calc-anchor>.shell>.section-head h2{max-width:13ch!important;font-size:clamp(44px,4.8vw,68px)!important;line-height:.94!important}
body.mm-bath-premium-v2 .bath-calc-anchor>.shell>.section-head>p{font-size:17px!important;line-height:1.7!important}

body.mm-bath-premium-v2 .bath-trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
body.mm-bath-premium-v2 .bath-trust-card{position:relative;min-height:132px;padding:18px 18px 18px 54px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.022))}
body.mm-bath-premium-v2 .bath-trust-card::before{content:attr(data-index);position:absolute;top:18px;left:16px;display:grid;width:28px;height:28px;place-items:center;border-radius:9px;background:rgba(255,141,5,.14);color:var(--bath2-amber2);font-weight:950;font-size:.75rem}
body.mm-bath-premium-v2 .bath-trust-card h3{margin:0 0 8px;color:#fff;font-size:1rem}
body.mm-bath-premium-v2 .bath-trust-card p{margin:0;color:var(--bath2-muted);font-size:.88rem;line-height:1.55}

body.mm-bath-premium-v2 .bath-calc-shell{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(350px,.68fr);gap:18px;padding:14px;border:1px solid rgba(255,141,5,.2);border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018));box-shadow:0 34px 100px rgba(0,0,0,.42)}
body.mm-bath-premium-v2 .bath-calc-card{min-width:0;padding:22px;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(180deg,#171c22,#101419)}
body.mm-bath-premium-v2 .bath-calc-progress{display:grid;grid-template-columns:1fr auto;gap:10px 16px;align-items:center;margin-bottom:22px;padding:13px 14px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.025)}
body.mm-bath-premium-v2 .bath-calc-progress__bar{height:8px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.08)}
body.mm-bath-premium-v2 .bath-calc-progress__fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff8d05,#ffc26f);box-shadow:0 0 22px rgba(255,141,5,.35)}
body.mm-bath-premium-v2 .bath-calc-progress__text{color:var(--bath2-amber2);font-weight:950;font-size:.82rem}
body.mm-bath-premium-v2 .bath-calc-mobile-stage{display:none}
body.mm-bath-premium-v2 .bath-step{display:none}
body.mm-bath-premium-v2 .bath-step.is-active{display:block;animation:bath2In .26s ease both}
@keyframes bath2In{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
body.mm-bath-premium-v2 .bath-step>h2{margin:0 0 10px;max-width:18ch;font-size:clamp(34px,3.4vw,50px);line-height:1;letter-spacing:-.04em;text-wrap:balance}
body.mm-bath-premium-v2 .bath-step>p{margin:0 0 20px;max-width:70ch;color:var(--bath2-muted);line-height:1.6}
body.mm-bath-premium-v2 .mm-mobile-panel{padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.025)}
body.mm-bath-premium-v2 .mm-mobile-panel+.mm-mobile-panel{margin-top:12px}
body.mm-bath-premium-v2 .bath-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body.mm-bath-premium-v2 .bath-option{position:relative;display:grid;min-height:112px;align-content:center;padding:16px 16px 16px 48px;border:1px solid rgba(255,255,255,.11);border-radius:17px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));cursor:pointer;transition:.18s ease}
body.mm-bath-premium-v2 .bath-option:hover{transform:translateY(-2px);border-color:rgba(255,141,5,.46);background:rgba(255,141,5,.06)}
body.mm-bath-premium-v2 .bath-option input{position:absolute;top:18px;left:16px;width:20px;height:20px;margin:0;accent-color:var(--bath2-amber)}
body.mm-bath-premium-v2 .bath-option strong{color:#fff;font-size:.96rem;line-height:1.28}
body.mm-bath-premium-v2 .bath-option span{margin-top:6px;color:var(--bath2-muted);font-size:.82rem;line-height:1.45}
body.mm-bath-premium-v2 .bath-option:has(input:checked){border-color:rgba(255,141,5,.82);background:linear-gradient(135deg,rgba(255,141,5,.17),rgba(255,255,255,.025));box-shadow:0 16px 34px rgba(255,141,5,.08)}
body.mm-bath-premium-v2 .bath-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08)}
body.mm-bath-premium-v2 .bath-actions .btn{min-width:132px;min-height:48px;border-radius:14px}
body.mm-bath-premium-v2 .bath-calc-shell>.bath-calc-visual{position:sticky;top:18px;align-self:start;padding:10px;border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.022))}
body.mm-bath-premium-v2 .bath-calc-shell>.bath-calc-visual img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:19px}
body.mm-bath-premium-v2 .bath-calc-visual__caption{margin:10px 4px 2px;color:var(--bath2-amber2);font-weight:900;font-size:.82rem;letter-spacing:.05em;text-transform:uppercase}
body.mm-bath-premium-v2 .bath-live-summary{margin-top:12px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.025)}
body.mm-bath-premium-v2 .bath-live-summary :is(dt,dd){min-width:0;overflow-wrap:normal;word-break:normal}
body.mm-bath-premium-v2 .bath-live-summary dl{display:grid;grid-template-columns:minmax(90px,.42fr) minmax(0,1fr);gap:0;margin:0}
body.mm-bath-premium-v2 .bath-live-summary :is(dt,dd){padding:9px 0;border-bottom:1px solid rgba(255,255,255,.06)}
body.mm-bath-premium-v2 .bath-live-summary dt{color:var(--bath2-muted)}
body.mm-bath-premium-v2 .bath-live-summary dd{margin:0;text-align:right;color:#fff;font-weight:800}
body.mm-bath-premium-v2 .mm-mobile-step-tools,body.mm-bath-premium-v2 .mm-mobile-step-nav{display:none}

@media(max-width:980px){
 body.mm-bath-premium-v2 .bath-hero-kalc .hero-inner{grid-template-columns:1fr minmax(300px,.58fr)}
 body.mm-bath-premium-v2 .bath-calc-shell{grid-template-columns:minmax(0,1fr) minmax(300px,.58fr)}
 body.mm-bath-premium-v2 .bath-trust-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
 body.mm-bath-premium-v2 .bath-hero-kalc{padding:34px 0 42px}
 body.mm-bath-premium-v2 .bath-hero-kalc .hero-inner{grid-template-columns:1fr;gap:24px}
 body.mm-bath-premium-v2 .bath-hero-kalc h1{font-size:clamp(42px,13vw,62px)}
 body.mm-bath-premium-v2 .bath-hero-kalc .hero-badges{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.mm-bath-premium-v2 .bath-hero-kalc .bath-calc-visual{transform:none;max-width:440px;margin:auto}
 body.mm-bath-premium-v2 .bath-calc-anchor{padding:42px 0 66px}
 body.mm-bath-premium-v2 .bath-calc-anchor>.shell>.section-head{grid-template-columns:1fr!important}
 body.mm-bath-premium-v2 .bath-calc-anchor>.shell>.section-head h2{font-size:clamp(36px,11vw,52px)!important}
 body.mm-bath-premium-v2 .bath-calc-shell{grid-template-columns:1fr;padding:9px;border-radius:23px}
 body.mm-bath-premium-v2 .bath-calc-card{padding:15px 12px;border-radius:18px}
 body.mm-bath-premium-v2 .bath-calc-shell>.bath-calc-visual{display:none}
 body.mm-bath-premium-v2 .bath-calc-mobile-stage{display:block;margin:0 0 16px;padding:8px;position:relative!important;top:auto!important}
 body.mm-bath-premium-v2 .bath-calc-mobile-stage img{aspect-ratio:16/10!important}
 body.mm-bath-premium-v2 .bath-step>h2{font-size:clamp(32px,10vw,44px)}
 body.mm-bath-premium-v2 .bath-option-grid{grid-template-columns:1fr}
 body.mm-bath-premium-v2 .bath-option{min-height:92px}
 body.mm-bath-premium-v2 .bath-actions{position:sticky;z-index:8;bottom:8px;padding:9px;border:1px solid rgba(255,141,5,.2);border-radius:16px;background:rgba(11,14,18,.94);backdrop-filter:blur(14px)}
 body.mm-bath-premium-v2 .bath-actions .btn{width:100%;min-width:0}
}


/* JS-generated premium calculator controls — deliberately lean and scoped to v2. */
body.mm-bath-premium-v2 .bath-premium-pulse{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
body.mm-bath-premium-v2 .bath-premium-pulse__label{display:flex;align-items:center;gap:9px;color:#fff;font-size:.88rem;font-weight:850}
body.mm-bath-premium-v2 .bath-premium-pulse__label::before{content:"";width:8px;height:8px;border-radius:50%;background:#65d69a;box-shadow:0 0 0 5px rgba(101,214,154,.09)}
body.mm-bath-premium-v2 .bath-premium-time{padding:7px 10px;border:1px solid rgba(255,255,255,.095);border-radius:999px;background:rgba(255,255,255,.035);color:var(--bath2-muted);font-size:.79rem;font-weight:750}
body.mm-bath-premium-v2 .bath-calc-progress__bar{grid-column:1/-1;order:2}
body.mm-bath-premium-v2 .bath-premium-progress-copy{color:var(--bath2-muted);font-size:.82rem;font-weight:650;text-align:right}
body.mm-bath-premium-v2 .bath-premium-step-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 10px;color:var(--bath2-amber2);font-size:.76rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
body.mm-bath-premium-v2 .bath-premium-step-meta span{padding:6px 8px;border:1px solid rgba(255,141,5,.24);border-radius:999px;background:rgba(255,141,5,.07)}
body.mm-bath-premium-v2 .bath-premium-live-strip{display:none}
body.mm-bath-premium-v2 .bath-premium-dock{display:none}
body.mm-bath-premium-v2 .bath-result-confidence{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 18px}
body.mm-bath-premium-v2 .bath-result-confidence span{padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.04);color:#e8edf3;font-size:.78rem;font-weight:800}
body.mm-bath-premium-v2 .bath-result-confidence span:first-child{border-color:rgba(255,141,5,.32);background:rgba(255,141,5,.09);color:#fff}
body.mm-bath-premium-v2 .site-chrome,body.mm-general-calc-premium-v2 .site-chrome{position:relative!important;top:auto!important}
body.mm-bath-premium-v2 .bath-summary{padding:16px 15px;border:1px solid rgba(255,141,5,.18);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02))}
body.mm-bath-premium-v2 .bath-summary h3{margin:0 0 11px;font-size:1rem}
body.mm-bath-premium-v2 .bath-summary ul{display:grid;gap:0;margin:0;padding:0;list-style:none}
body.mm-bath-premium-v2 .bath-summary li{display:grid!important;grid-template-columns:minmax(72px,.35fr) minmax(0,1fr)!important;gap:12px!important;align-items:start!important;padding:9px 0!important;border-bottom:1px solid rgba(255,255,255,.065)!important;color:var(--bath2-muted)!important}
body.mm-bath-premium-v2 .bath-summary li:last-child{border-bottom:0!important}
body.mm-bath-premium-v2 .bath-summary li span{color:var(--bath2-muted);font-size:.78rem;font-weight:700}
body.mm-bath-premium-v2 .bath-summary li strong{min-width:0;text-align:right!important;color:#fff;font-size:.79rem;line-height:1.35;overflow-wrap:break-word}
body.mm-bath-premium-v2 .bath-summary .bath-locked{margin-top:12px!important;padding:12px!important;border-radius:13px!important;font-size:.78rem!important;line-height:1.45!important}
@media(max-width:760px){
 body.mm-bath-premium-v2 .bath-calc-card{padding-bottom:94px}
 body.mm-bath-premium-v2 .bath-premium-pulse{margin-bottom:10px}
 body.mm-bath-premium-v2 .bath-premium-progress-copy{text-align:left}
 body.mm-bath-premium-v2 .bath-actions{display:none!important}
 body.mm-bath-premium-v2 .bath-premium-dock{position:fixed;z-index:2400;right:10px;bottom:max(10px,env(safe-area-inset-bottom));left:10px;display:grid;grid-template-columns:minmax(92px,.38fr) minmax(0,1fr);gap:9px;padding:9px;border:1px solid rgba(255,141,5,.26);border-radius:18px;background:rgba(14,17,21,.96);box-shadow:0 18px 55px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(18px)}
 body.mm-bath-premium-v2 .bath-premium-dock.is-first{grid-template-columns:1fr}
 body.mm-bath-premium-v2 .bath-premium-dock .btn{width:100%;min-width:0;min-height:50px;padding-inline:12px;border-radius:13px}
 body.mm-bath-premium-v2 .bath-premium-dock [hidden]{display:none}
 body.mm-bath-premium-v2 .bath-premium-live-strip{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
 body.mm-bath-premium-v2 .bath-premium-live-strip span{padding:7px 9px;border:1px solid rgba(255,255,255,.085);border-radius:999px;background:rgba(255,255,255,.035);color:var(--bath2-muted);font-size:.72rem;font-weight:750}
 body.mm-bath-premium-v2 .bath-premium-live-strip strong{color:#fff}
}
@media(max-width:420px){body.mm-bath-premium-v2 .bath-premium-time{font-size:.72rem}body.mm-bath-premium-v2 .bath-premium-dock{right:8px;left:8px}}


body.mm-bath-premium-v2 .bath-calc-anchor>.shell>.section-head h2{max-width:18ch!important;font-size:clamp(40px,4vw,58px)!important;line-height:.98!important}body.mm-bath-premium-v2 .bath-calc-anchor>.shell>.section-head{align-items:center!important}@media(max-width:760px){body.mm-bath-premium-v2 .bath-calc-anchor>.shell>.section-head h2{font-size:clamp(34px,10vw,48px)!important}body.mm-bath-premium-v2 .bath-calc-side{display:none!important}}

body.mm-bath-premium-v2 .bath-phase-ribbon{display:flex;gap:7px;overflow-x:auto;margin:-8px 0 20px;padding:0 1px 7px;scrollbar-width:none}body.mm-bath-premium-v2 .bath-phase-ribbon span{flex:0 0 auto;padding:7px 10px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.025);color:rgba(246,248,251,.58);font-size:.72rem;font-weight:800}body.mm-bath-premium-v2 .bath-phase-ribbon span:first-child{border-color:rgba(255,141,5,.4);background:rgba(255,141,5,.1);color:#ffc27f}@media(max-width:760px){body.mm-bath-premium-v2 .bath-phase-ribbon{margin-bottom:14px}}

/* R1 data-integrity validation */
.mm-calc-integrity-warning{margin-top:12px;padding:14px 16px;border:1px solid rgba(255,141,5,.38);border-radius:14px;background:linear-gradient(180deg,rgba(255,141,5,.08),rgba(21,24,28,.96));color:var(--text-soft,#E6E6F2);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);font-size:.94rem;line-height:1.45}
.mm-calc-integrity-warning[hidden]{display:none!important}.mm-calc-integrity-warning strong{display:block;margin-bottom:5px;color:var(--text-primary,#FFF)}.mm-calc-integrity-confirm{display:flex;gap:8px;align-items:flex-start;margin-top:8px}.mm-calc-integrity-confirm input{margin-top:3px;accent-color:var(--amber,#FF8D05)}.mm-calc-field-error{display:block;margin-top:5px;color:#FFB15A;font-size:.88rem;font-weight:700}.mm-calc-field-error:empty{display:none}[aria-invalid="true"]{outline:2px solid rgba(255,141,5,.58);outline-offset:2px}
