.mg-page{max-width:1200px;margin:auto;padding:38px 24px;color:#30243d;font-size:18px}.mg-page *{box-sizing:border-box}.mg-page h1{font-size:clamp(30px,3.6vw,44px);line-height:1.2;margin:0 0 28px}.mg-page h2{font-size:clamp(25px,2.8vw,32px);line-height:1.3;margin:0 0 20px}.mg-page h3{font-size:21px;line-height:1.4;margin:0 0 14px}.mg-page p,.mg-page li{line-height:1.7}.mg-page p{margin:0 0 18px}.mg-page [hidden]{display:none!important}.mg-calculator{border:1px solid #e6dbee;border-radius:27px;background:#fff;overflow:hidden;box-shadow:0 16px 44px #5628760c}.mg-workspace{display:grid;grid-template-columns:1.08fr 1fr;align-items:start}.mg-workspace form{padding:28px}.mg-intro{margin-bottom:25px}.mg-intro p{margin-top:10px}.mg-eyebrow{font-size:15px;font-weight:750;color:#8946b2;letter-spacing:.025em}.mg-page fieldset{border:0;padding:0;min-width:0;margin:0 0 28px}.mg-page legend{font-size:21px;font-weight:750;margin-bottom:18px;width:100%;padding-bottom:12px;border-bottom:1px solid #e8dfee}.mg-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mg-full{grid-column:1/-1}.mg-page label{display:block;font-size:17px;line-height:1.5;font-weight:600;color:#604b70;margin-bottom:12px}.mg-page input,.mg-page select{width:100%;min-width:0;display:block;min-height:52px;padding:12px;margin-top:7px;border:1px solid #d9c9e5;border-radius:11px;background:#fdfaff;color:#34203f;font:inherit;font-size:18px}.mg-page .mg-help{font-size:16px;line-height:1.65;color:#75647f;margin:9px 0 18px}.mg-surface{padding:20px 0;border-bottom:1px solid #eee6f3}.mg-surface h3{display:flex;gap:10px;align-items:center;font-size:20px}.mg-page i{display:inline-block;width:11px;height:11px;border-radius:50%;flex:none}.mg-actions{display:flex;gap:10px;flex-wrap:wrap}.mg-actions button{border:0;border-radius:12px;padding:15px 18px;font:inherit;font-weight:700;background:#f0e6f8;color:#764293;cursor:pointer}.mg-actions .mg-primary{background:linear-gradient(125deg,#932bc3,#7826b6);color:#fff}.mg-page input:focus,.mg-page select:focus,.mg-page button:focus-visible,.mg-page summary:focus-visible{outline:3px solid #be91dc;outline-offset:3px}.mg-output{margin:28px 28px 28px 0;padding:27px;border:1px solid #e1d1ed;border-radius:23px;background:linear-gradient(140deg,#f2e7fd,#faf7ff 65%,#ecf9f4);position:sticky;top:15px;min-width:0}.mg-total{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;color:#6c269c;margin:12px 0}.mg-total strong{font-size:clamp(46px,5vw,64px);letter-spacing:-.04em;line-height:1.2;overflow-wrap:anywhere}.mg-total span{font-size:26px;font-weight:650}.mg-output #r-caption{font-size:16px;color:#725a81}.mg-ring{width:216px;height:216px;border-radius:50%;display:grid;place-items:center;margin:24px auto;background:#e9dff2}.mg-ring>div{width:164px;height:164px;background:#faf6fe;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 5px 18px #4e216015}.mg-ring strong{font-size:30px;color:#653886;max-width:145px;overflow-wrap:anywhere;text-align:center}.mg-ring span{font-size:16px;color:#7e688b}.mg-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.mg-metrics>div{background:#fff;border:1px solid #e4d8eb;border-radius:15px;padding:16px;min-width:0}.mg-metrics span{display:block;font-size:16px;color:#786285;line-height:1.5}.mg-metrics strong{display:block;font-size:24px;color:#68408a;margin-top:8px;overflow-wrap:anywhere}.mg-bar-row{margin:17px 0}.mg-bar-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:16px;line-height:1.5;margin-bottom:7px}.mg-bar-row span i{margin-right:7px}.mg-bar-row strong{white-space:nowrap;font-size:15px;color:#53356a}.mg-track{height:8px;border-radius:8px;background:#e6ddec;overflow:hidden}.mg-track>span{display:block;height:100%;border-radius:8px}.mg-note{font-size:16px;padding:17px;background:#fff9;border-radius:13px;color:#6a537a}.mg-details summary{font-size:17px;font-weight:700;color:#693b85;cursor:pointer}.mg-details p,.mg-details li{font-size:16px}.mg-details div{margin-top:16px}.mg-details ul{padding-left:20px}.mg-disclaimer{padding:22px 28px!important;margin:0!important;font-size:16px;background:#f7f3fa;border-top:1px solid #e7dbef;color:#7b6686}.mg-output #mg-error{background:#fff0f1;color:#9c2945;border:1px solid #e3adb9;border-radius:14px;padding:20px;line-height:1.6}.mg-section{margin-top:30px;border:1px solid #e6ddec;background:#fff;border-radius:25px;padding:32px}.mg-section p,.mg-section li{color:#65566f}.mg-section-head{display:flex;gap:18px;align-items:center;margin-bottom:24px}.mg-section-head img{width:85px;height:85px;object-fit:contain;flex:none}.mg-section-head h2{margin:0}.mg-formula{background:#f2e8fc;border:1px solid #dfc7ef;border-radius:18px;padding:24px;margin:24px 0;text-align:center}.mg-formula strong{display:block;font-size:26px;color:#793d9e;line-height:1.5}.mg-formula span{display:block;font-size:17px;line-height:1.6;margin-top:10px;color:#7d5e8f}.mg-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.mg-mini{border:1px solid #e5d8ed;border-radius:18px;padding:24px;background:#fbf8fd}.mg-mini:nth-child(2){background:#edf8f3;border-color:#cfe8dc}.mg-callout{padding:20px 24px;background:#fff6e5;border-left:4px solid #e4b651;border-radius:0 15px 15px 0;font-size:17px}.mg-figure{margin:0;border-radius:19px;overflow:hidden;background:#f5edfb}.mg-figure img{width:100%;height:auto;display:block}.mg-figure figcaption{padding:18px;font-size:16px;line-height:1.6;color:#786182}.mg-three{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:24px 0}.mg-three>div{padding:22px;border-radius:16px;background:#eee7fa}.mg-three>div:nth-child(2){background:#e7f6f0}.mg-three>div:nth-child(3){background:#fff3db}.mg-three b{display:block;font-size:25px;margin-bottom:10px;color:#71428b}.mg-three span{display:block;font-size:17px;line-height:1.6;color:#715d7b}.mg-steps{padding-left:26px}.mg-steps li{padding-left:6px;margin:16px 0}.mg-steps li::marker{color:#903ec0;font-weight:800}.mg-faq details{border-top:1px solid #e5dcea}.mg-faq summary{font-size:19px;font-weight:650;line-height:1.5;padding:20px 24px 20px 0;cursor:pointer;color:#60406e}.mg-faq details p{padding:0 15px 18px 0}.mg-page+.mc-related{max-width:1200px}
@media(max-width:900px){.mg-workspace,.mg-columns{grid-template-columns:1fr}.mg-output{position:static;margin:0 24px 24px}.mg-figure{max-width:760px;margin:auto}}
@media(max-width:580px){.mg-page{padding:26px 14px;font-size:17px}.mg-page h1{font-size:30px}.mg-workspace form{padding:23px 18px}.mg-output{margin:0 13px 20px;padding:22px 16px}.mg-fields{gap:12px}.mg-section{padding:24px 19px}.mg-section-head{flex-wrap:wrap;gap:14px}.mg-section-head img{width:68px;height:68px}.mg-section p,.mg-section li{font-size:17px}.mg-three{grid-template-columns:1fr}.mg-bar-row>div:first-child{display:block}.mg-bar-row strong{display:block;margin-top:3px}.mg-metrics>div{padding:13px 10px}.mg-metrics strong{font-size:21px}.mg-mini{padding:20px}.mg-disclaimer{padding:20px!important}.mg-faq summary{font-size:18px}.mg-formula strong{font-size:23px}.mg-formula{padding:20px 16px}}
@media(max-width:420px){.mg-fields{grid-template-columns:1fr}.mg-actions button{width:100%}}

.mg-advanced{border:1px solid #ded3ec;border-radius:18px;padding:18px 20px;margin:20px 0;background:#fcfaff}.mg-advanced>summary{font-size:19px;font-weight:750;color:#6d389e;cursor:pointer}.mg-advanced[open]>summary{margin-bottom:20px}.mg-assumptions{font-size:16px;line-height:1.6;color:#62566e;background:#f4eff9;padding:16px;border-radius:14px}.mg-advanced fieldset:last-child{margin-bottom:0}
.mg-examples{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px;align-items:center;font-size:16px}.mg-examples>span{width:100%;color:#75647f}.mg-examples button{font:inherit;color:#724195;background:#f5effa;border:1px solid #e3d6ed;border-radius:9px;padding:8px 13px;cursor:pointer}.mg-expression{font-size:23px;overflow-wrap:anywhere;font-weight:650;color:#704291}.mg-output svg{display:block;width:100%;height:auto;margin:14px 0}.mg-note,.mg-help{overflow-wrap:anywhere}.mg-output{position:static}.mg-total strong{font-size:clamp(34px,4.8vw,62px)}
.mg-table-wrap{border:1px solid #e6d9ed;border-radius:17px;overflow:auto}.mg-page table{width:100%;border-collapse:collapse;font-size:18px;text-align:left}.mg-page caption{font-size:20px;font-weight:700;padding:20px;text-align:left;background:#f2e9fa;color:#69428b}.mg-page th,.mg-page td{padding:13px 20px;border-bottom:1px solid #e9dfee}.mg-page th{font-size:16px;color:#7d688b}.mg-page tbody tr:nth-child(even){background:#faf7fd}.mg-page td:last-child{font-weight:650;color:#6b3992}.mg-page .mg-formula{padding:20px 14px;margin:12px 0}.mg-page .mg-formula strong{font-size:22px}.mg-page #mg-value{margin:0}.mg-workspace{grid-template-columns:1fr 1.08fr}@media(max-width:900px){.mg-workspace{grid-template-columns:1fr}}@media(max-width:580px){.mg-page table{font-size:17px}.mg-page td,.mg-page th{padding:12px 16px}.mg-page .mg-formula strong{font-size:20px}}
.mg-volume{background:#fff9;padding:22px;border:1px solid #e5d4f0;border-radius:18px;margin:25px 0}.mg-volume>span{color:#80688f;font-size:16px}.mg-volume>strong{display:block;font-size:24px;line-height:1.5;color:#74438d;margin:10px 0 20px;overflow-wrap:anywhere}.mg-meter{height:25px;border-radius:9px;background:repeating-linear-gradient(90deg,#e6dced 0,#e6dced calc(10% - 2px),#fff calc(10% - 2px),#fff 10%);overflow:hidden}.mg-meter>span{display:block;height:100%;background:linear-gradient(90deg,#8634b7,#a958d7);border-radius:9px;transition:width .2s ease}.mg-meter-labels{display:flex;justify-content:space-between;margin:9px 0;font-size:16px;color:#796587}.mg-volume .mg-help{margin-bottom:0}.mg-page #mg-value{margin-top:0}.mg-workspace{grid-template-columns:1fr 1.08fr}.mg-output .mg-total strong{font-size:clamp(32px,4.6vw,60px);letter-spacing:-.025em}.mg-output .mg-total span{font-size:25px}@media(max-width:900px){.mg-workspace{grid-template-columns:1fr}}@media(max-width:580px){.mg-volume{padding:18px}.mg-volume>strong{font-size:21px}}@media(prefers-reduced-motion:reduce){.mg-meter>span{transition:none}}
