/* Service estimator in the partnership card's dark language (#17151c, hairlines,
   white primary action). Shared by the homepage card and calculator.html. */
.mc-calc{--mcc-ink:#fff;--mcc-muted:#bcb5c6;--mcc-faint:#a39bb0;--mcc-line:#ffffff17;--mcc-panel:#ffffff06;--mcc-accent:#c9a6ff;--mcc-purple:#8a35e8;color:var(--mcc-ink);font-family:Manrope,StudioFallback,Arial,sans-serif;font-size:14px;line-height:1.5;letter-spacing:-.01em}
.mc-calc *{box-sizing:border-box}
.mc-calc svg{display:block;width:18px;height:18px;flex-shrink:0}
.mc-calc button svg{pointer-events:none}
.mc-calc [hidden]{display:none!important}
.mc-calc :is(button,a,input,summary,textarea):focus-visible{outline:3px solid var(--mcc-accent);outline-offset:3px}
.mc-calc button{font:inherit;cursor:pointer}
.mc-calc button:disabled{cursor:not-allowed;opacity:.45}
.mc-calc :is(h2,h3,h4,h5){color:var(--mcc-ink);margin:0}
.mc-calc p{margin:0}
.mcc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.mcc-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:28px}
.mcc-eyebrow{display:block;color:#bfb5cc;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}
.mcc-title{font-size:clamp(28px,2.6vw,38px);font-weight:550;line-height:1.12;letter-spacing:-.045em}
.mcc-title span{color:var(--mcc-accent)}
.mcc-intro p{color:var(--mcc-muted);font-size:15px;margin-top:10px}
.mcc-open{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#e7def3;font-size:14px;font-weight:600;text-decoration:none;border-bottom:1px solid #ffffff38}
.mcc-open:hover{color:#fff;border-color:#fff}

.mcc-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}
.mcc-builder,.mcc-estimate{border:1px solid var(--mcc-line);border-radius:24px;background:var(--mcc-panel);padding:24px}
.mcc-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}
.mcc-label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--mcc-muted)}
.mcc-step{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;border:1px solid var(--mcc-line);background:#ffffff0a;color:var(--mcc-accent);font-size:12px;letter-spacing:0}
.mcc-builder-head :is(h2,h4){font-size:24px;font-weight:550;line-height:1.25;letter-spacing:-.035em;margin:10px 0 4px}
.mcc-builder-head p{color:var(--mcc-muted);font-size:13px}
.mcc-pill{flex:none;margin-top:4px;padding:6px 11px;border-radius:999px;background:#8a35e826;color:var(--mcc-accent);font-size:12px;font-weight:600;white-space:nowrap}
.mcc-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:5px;margin-bottom:22px;border:1px solid var(--mcc-line);border-radius:14px;background:#0000002e}
.mcc-tab{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 6px;border:0;border-radius:10px;background:none;color:var(--mcc-muted);font-size:13px;font-weight:600}
.mcc-tab svg{width:16px;height:16px}
.mcc-tab:hover{color:#fff}
.mcc-tab[aria-selected=true]{background:#fff;color:#201827}
.mcc-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;border-radius:6px;background:#8a35e8;color:#fff;font-size:12px}
.mcc-cat-info{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.mcc-cat-info :is(h3,h5){font-size:15px;font-weight:600}
.mcc-cat-info span{color:var(--mcc-faint);font-size:12px}
.mcc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mcc-card{position:relative;display:flex;flex-direction:column;min-height:196px;padding:17px;border:1px solid var(--mcc-line);border-radius:16px;background:#ffffff05;cursor:pointer;transition:border-color .15s,background-color .15s}
.mcc-card:hover{border-color:#b98bf08c;background:#ffffff0a}
.mcc-card.is-selected{border-color:#b98bf0;background:#8a35e81f;box-shadow:inset 0 0 0 1px #b98bf04d}
.mcc-card:focus-within{outline:3px solid var(--mcc-accent);outline-offset:2px}
.mcc-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.mcc-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#ffffff0d;color:var(--mcc-accent)}
.mcc-card.is-selected .mcc-icon{background:#8a35e847}
.mcc-card input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#a766f2;cursor:pointer}
.mcc-card-name{font-size:15px;font-weight:600;line-height:1.3;letter-spacing:-.02em;margin-bottom:6px}
.mcc-card-scope{color:var(--mcc-muted);font-size:13px;line-height:1.55;margin-bottom:14px}
.mcc-card-bottom{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;margin-top:auto}
.mcc-rate{font-size:21px;font-weight:650;letter-spacing:-.03em}
.mcc-rate-unit{color:var(--mcc-muted);font-size:12px}
.mcc-extra{display:block;min-height:18px;color:var(--mcc-accent);font-size:12px;line-height:1.5}

.mcc-scope{margin-top:24px;padding-top:22px;border-top:1px solid var(--mcc-line)}
.mcc-scope>:is(h3,h5){display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;margin-bottom:6px}
.mcc-scope-intro{color:var(--mcc-muted);font-size:13px;margin-bottom:14px!important}
.mcc-empty-scope{display:flex;align-items:center;gap:10px;padding:14px;border-radius:12px;background:#ffffff08;color:var(--mcc-muted);font-size:13px}
.mcc-scope-item{padding:14px 0;border-bottom:1px solid var(--mcc-line)}
.mcc-scope-item:last-child{border-bottom:0;padding-bottom:0}
.mcc-scope-main{display:flex;align-items:center;justify-content:space-between;gap:16px}
.mcc-scope-name{font-size:14px;font-weight:600}
.mcc-scope-unit{color:var(--mcc-muted);font-size:12px;margin-top:2px}
.mcc-stepper{display:flex;align-items:center;flex:none;height:44px;border:1px solid #ffffff2b;border-radius:10px;overflow:hidden}
.mcc-stepper button{display:flex;align-items:center;justify-content:center;width:40px;height:44px;border:0;background:#ffffff0a;color:#fff}
.mcc-stepper svg{width:14px;height:14px}
.mcc-stepper input{width:44px;height:42px;padding:0;border:0;background:transparent;color:#fff;font:inherit;font-size:14px;text-align:center;appearance:textfield;-moz-appearance:textfield}
.mcc-stepper input::-webkit-inner-spin-button,.mcc-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}
.mcc-duration{margin-top:14px;padding:14px;border-radius:12px;background:#ffffff08}
.mcc-duration-top,.mcc-duration-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}
.mcc-duration-top output{color:var(--mcc-accent);font-weight:600}
.mcc-duration input[type=range]{width:100%;margin:12px 0 6px;accent-color:#a766f2;cursor:pointer}
.mcc-duration-bottom{color:var(--mcc-faint)}
.mcc-hint{margin-top:10px;padding:10px 12px;border-radius:10px;background:#ffffff08;color:var(--mcc-muted);font-size:12px}

.mcc-estimate-wrap{position:sticky;top:104px}
.mcc-estimate{border-color:#b98bf03d;background:radial-gradient(ellipse 90% 60% at 100% 0%,#8a35e833,transparent 75%),#ffffff08}
.mcc-estimate-label{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mcc-live{display:flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#8a35e833;color:var(--mcc-accent);font-size:12px;font-weight:600}
.mcc-live::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--mcc-accent)}
.mcc-estimate>:is(h2,h4){font-size:21px;font-weight:550;letter-spacing:-.03em;margin:20px 0 4px}
.mcc-sub{color:var(--mcc-muted);font-size:13px}
.mcc-total{margin:14px 0 2px;font-size:50px;font-weight:600;letter-spacing:-.055em;line-height:1.15;font-variant-numeric:tabular-nums}
.mcc-total sup{display:inline-block;margin:12px 0 0 6px;vertical-align:top;color:var(--mcc-muted);font-size:12px;font-weight:500;letter-spacing:.04em}
.mcc-total-note{min-height:38px;margin-bottom:16px!important;color:var(--mcc-muted);font-size:12px;line-height:1.6}
.mcc-breakdown{margin-bottom:18px;padding:10px 0;border-block:1px solid var(--mcc-line)}
.mcc-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:7px 0;color:var(--mcc-muted);font-size:13px}
.mcc-row strong{color:#fff;font-weight:600;white-space:nowrap}
.mcc-recurring strong{color:var(--mcc-accent)}
.mcc-row small{font-size:12px}
.mcc-item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:13px;font-weight:600}
.mcc-text-btn{min-height:32px;padding:4px 0;border:0;background:none;color:var(--mcc-muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.mcc-text-btn:hover:not(:disabled){color:#fff}
.mcc-lines{max-height:320px;margin:0;padding:0;list-style:none;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ffffff40 transparent}
.mcc-lines li{padding:11px 0;border-bottom:1px dashed #ffffff21}
.mcc-line-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.mcc-line-title{font-size:13px;font-weight:600}
.mcc-line-controls{display:flex;align-items:center;gap:4px}
.mcc-line-price{font-size:13px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.mcc-line-detail{margin-top:4px!important;color:var(--mcc-muted);font-size:12px;line-height:1.5}
.mcc-remove{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;background:none;color:var(--mcc-faint)}
.mcc-remove:hover{background:#ffffff12;color:#fff}
.mcc-remove svg{width:13px;height:13px}
.mcc-empty{margin:10px 0 18px;padding:24px 16px;border:1px dashed #ffffff2e;border-radius:14px;color:var(--mcc-muted);font-size:13px;text-align:center}
.mcc-empty svg{width:26px;height:26px;margin:0 auto 10px;color:var(--mcc-accent)}
.mcc-empty strong{display:block;margin-bottom:4px;color:#fff;font-size:14px}
.mcc-primary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;margin-top:18px;padding:13px 16px;border:1px solid #fff;border-radius:12px;background:#fff;color:#201827;font-size:14px;font-weight:600;text-decoration:none;transition:background-color .15s,transform .15s}
.mcc-primary:hover:not(:disabled){background:#f0e8fc;border-color:#f0e8fc;transform:translateY(-1px)}
.mcc-primary svg{width:16px;height:16px}
.mcc-caption{margin:8px 0 12px!important;color:var(--mcc-faint);font-size:12px;text-align:center}
.mcc-secondary{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mcc-secondary-btn{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 8px;border:1px solid #ffffff26;border-radius:10px;background:#ffffff08;color:#e7def3;font-size:13px;font-weight:550}
.mcc-secondary-btn:hover:not(:disabled){border-color:#ffffff66;color:#fff}
.mcc-secondary-btn svg{width:15px;height:15px}
.mcc-disclaimer{display:flex;align-items:flex-start;gap:8px;margin-top:16px!important;color:var(--mcc-faint);font-size:12px;line-height:1.6}
.mcc-disclaimer svg{width:15px;height:15px;margin-top:2px}
.mcc-under{display:flex;align-items:center;justify-content:center;gap:7px;margin:14px 0 0!important;color:var(--mcc-muted);font-size:13px}
.mcc-under svg{width:15px;height:15px}
.mcc-under a{color:#fff;text-underline-offset:3px}
.mcc-print-header,.mcc-print-notes{display:none}

.mcc-notes{margin-top:22px;border:1px solid var(--mcc-line);border-radius:16px;background:var(--mcc-panel);overflow:hidden}
.mcc-notes summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:14px 20px;list-style:none;cursor:pointer;font-size:14px;font-weight:600}
.mcc-notes summary::-webkit-details-marker{display:none}
.mcc-notes summary svg{color:var(--mcc-muted);transition:transform .2s}
.mcc-notes[open] summary svg{transform:rotate(180deg)}
.mcc-notes-body{display:grid;grid-template-columns:1fr 1fr;gap:18px 32px;padding:18px 20px 22px;border-top:1px solid var(--mcc-line);color:var(--mcc-muted);font-size:13px;line-height:1.7}
.mcc-notes-body strong{display:block;margin-bottom:4px;color:#fff;font-size:13px}

/* Dialogs and helpers render in the top layer or on <body>, outside the dark card. */
.mcc-modal{width:min(540px,calc(100% - 32px));padding:28px;border:1px solid #ffffff1f;border-radius:22px;background:#1b1822;color:#fff;box-shadow:0 30px 90px #0d061a8c;font-family:Manrope,StudioFallback,Arial,sans-serif}
.mcc-modal::backdrop{background:#1b0f2c8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.mcc-modal h2{margin:0 0 10px;font-size:22px;font-weight:600;letter-spacing:-.03em}
.mcc-modal p{margin:0 0 10px;color:#bcb5c6;font-size:14px;line-height:1.6}
.mcc-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.mcc-modal-actions>*{width:auto;min-width:130px;margin:0}
.mcc-modal .mcc-close{float:right;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:-8px -8px 0 0;border:0;border-radius:10px;background:none;color:#bcb5c6}
.mcc-modal .mcc-close:hover{background:#ffffff12;color:#fff}
.mcc-modal textarea{width:100%;min-height:260px;padding:12px;border:1px solid #ffffff26;border-radius:10px;background:#0000004d;color:#fff;font:13px/1.6 ui-monospace,Consolas,monospace}
.mcc-toast{position:fixed;left:50%;bottom:28px;z-index:1300;width:max-content;max-width:90vw;padding:12px 20px;border-radius:12px;background:#17151c;color:#fff;font:600 14px/1.4 Manrope,StudioFallback,Arial,sans-serif;box-shadow:0 12px 32px #0003;transform:translateX(-50%)}
.mcc-mobile-bar{display:none}

@media(max-width:1100px){
 .mcc-workspace{grid-template-columns:minmax(0,1fr) 320px}
 .mcc-builder,.mcc-estimate{padding:20px}
 .mcc-tab svg{display:none}
}
@media(max-width:880px){
 .mcc-workspace{grid-template-columns:1fr}
 .mcc-estimate-wrap{position:static;scroll-margin-top:96px}
 .mcc-lines{max-height:none}
 .mcc-total-note{min-height:0}
 .mcc-tab svg{display:block}
 .mcc-notes-body{grid-template-columns:1fr}
 .mcc-mobile-bar:not([hidden]){position:fixed;left:0;right:0;bottom:0;z-index:1200;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px max(12px,env(safe-area-inset-bottom));border-top:1px solid #ffffff1f;background:#17151cf2;color:#fff;font-family:Manrope,StudioFallback,Arial,sans-serif;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
 .mcc-mobile-bar small{display:block;color:#bcb5c6;font-size:12px}
 .mcc-mobile-bar strong{font-size:21px;letter-spacing:-.03em}
 .mcc-mobile-bar a{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;border-radius:12px;background:#fff;color:#201827;font-size:13px;font-weight:600;text-decoration:none}
 .mcc-mobile-bar svg{width:15px;height:15px}
 body:has(.mcc-mobile-bar:not([hidden])) .mcc-toast{bottom:96px}
}
@media(max-width:560px){
 .mcc-builder,.mcc-estimate{padding:18px 14px;border-radius:18px}
 .mcc-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px}
 .mcc-tab{min-height:46px;padding:8px 6px;font-size:13px}
 .mcc-grid{grid-template-columns:1fr}
 .mcc-card{min-height:0}
 .mcc-total{font-size:44px}
 .mcc-scope-main{flex-wrap:wrap}
 .mcc-secondary{grid-template-columns:1fr}
 .mcc-modal{padding:22px}
}
@media(prefers-reduced-motion:reduce){.mc-calc *,.mcc-modal *{transition:none!important}}
@media(forced-colors:active){.mcc-card.is-selected,.mcc-tab[aria-selected=true]{outline:2px solid Highlight}}
@media print{
 html.mcc-printing body *{visibility:hidden!important}
 html.mcc-printing .mcc-estimate,html.mcc-printing .mcc-estimate *{visibility:visible!important;color:#000!important}
 html.mcc-printing .mcc-estimate{position:absolute;left:0;top:0;width:100%;padding:0;border:0;background:none}
 html.mcc-printing .mcc-estimate :is(.mcc-primary,.mcc-caption,.mcc-secondary,.mcc-text-btn,.mcc-remove,.mcc-live){display:none!important}
 html.mcc-printing .mcc-lines{max-height:none;overflow:visible}
 html.mcc-printing :is(.mcc-print-header,.mcc-print-notes){display:block}
 html.mcc-printing .mcc-print-header{margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid #6b2de7}
 html.mcc-printing .mcc-print-notes{margin-top:18px;padding-top:12px;border-top:1px solid #ddd;font-size:11px}
}

/* calculator.html shell: category-style hero, then the calculator in the dark partnership card. */
.mc-calc-page .mc-calc-hero h1 span{color:#8435de;background:linear-gradient(105deg,#7125ce 10%,#a948e6 58%,#7d37ca 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.mc-calc-meta{display:flex;flex-wrap:wrap;gap:10px 24px;margin:22px 0 0;padding:0;list-style:none;color:#5b5466;font-size:15px}
.mc-calc-meta li{display:flex;align-items:center;gap:8px}
.mc-calc-meta li::before{content:"✓";color:#8435de;font-weight:700}
.mc-calc-page .mc-calc-section{padding-top:0}
.mc-calc-page .mc-calc-card{padding:40px;border:1px solid #ffffff12;border-radius:38px;background:radial-gradient(ellipse 65% 75% at 100% 0%,#34213f66,transparent 78%),#17151c;box-shadow:0 16px 46px -28px #24133760}
@media(max-width:800px){.mc-calc-page .mc-calc-card{padding:24px 16px;border-radius:28px}}
@media(forced-colors:active){.mc-calc-page .mc-calc-hero h1 span{background:none;-webkit-text-fill-color:CanvasText}}
