.calculator-standalone,.maahinna-calculator-modal { --mh-background:#f0ede4; --mh-text:#111111; --mh-primary:#2c0453; --mh-secondary:#9b9690; --mh-line:#e7e3dc; --mh-white:#ffffff; --mh-choice-active:#2c0453; --mh-choice-border:#2c0453; }
.calculator-standalone,.calculator-standalone * { box-sizing:border-box; }
.calculator-standalone { margin:0; overflow-x:hidden; color:var(--mh-text); background:var(--mh-background); font-family:"Baloo Tamma 2",sans-serif; }
.calculator-standalone .kalkulaator { min-height:0; padding:32px 16px 40px; background:var(--mh-background); }
.calculator-standalone .kalkulaator > h2 { margin:0; padding-bottom:.55em; color:var(--mh-text); font:700 44px/1.08 "Baloo Tamma 2",sans-serif; letter-spacing:-.01em; text-align:center; }
.calculator-standalone .kalkulaator > .text-center { margin-bottom:24px !important; }
.calculator-standalone .kalkulaator > .text-center .btn { margin:4px; background:var(--mh-white); }
.calculator-standalone .kalkulaator .container { max-width:880px; min-height:0; background:var(--mh-background); border-radius:8px; }
.calculator-standalone #multiStepForm { position:relative; margin-top:0 !important; padding:22px 20px 16px; }
.calculator-standalone .kalkulaator .vali { min-height:0; margin:12px 1px; padding:28px 24px; border:1px solid var(--mh-line); border-radius:8px; color:var(--mh-text); background:var(--mh-white); font-family:"Baloo Tamma 2",sans-serif; }
.calculator-standalone .kalkulaator h3 { padding-bottom:.75em; color:var(--mh-text); background:transparent; font:700 26px/30px "Baloo Tamma 2",sans-serif; letter-spacing:-.01em; text-align:center; }
.calculator-standalone .kalkulaator .vali strong { font-weight:600; }
.calculator-standalone .kalkulaator .vali form { padding:.5em 0; }
.calculator-standalone .kalkulaator .vali .nupp { padding-top:1em; text-align:center; }
.calculator-standalone .info-box { margin-bottom:25px; padding:10px 14px; color:var(--mh-text); background:var(--mh-background); text-align:center; }
.calculator-standalone .form-group-relative { position:relative; }
.calculator-standalone .compact-heading { margin-bottom:0; padding-bottom:5px; }
.calculator-standalone .table-heading { padding-bottom:2px; }
.calculator-standalone .result-heading,.calculator-standalone .result-price { text-align:center; }
.calculator-standalone .consent-label { margin-left:10px; font-weight:400; }
.calculator-standalone .privacy-link { font-family:"Baloo Tamma 2",sans-serif; font-weight:600; }
.calculator-standalone .form-control { min-height:44px; padding:10px 12px; border:1px solid rgba(44,4,83,.45); border-radius:4px; color:var(--mh-text); background:var(--mh-white); box-shadow:0 1px 1px rgba(0,0,0,.06); font-family:"Baloo Tamma 2",sans-serif; }
.calculator-standalone .form-control:focus { border-color:var(--mh-primary); box-shadow:0 0 0 2px rgba(44,4,83,.14); outline:0; }
.calculator-standalone input[type="checkbox"] { width:20px; height:20px; margin-right:10px; border:1px solid var(--mh-primary); accent-color:var(--mh-primary); }
.calculator-standalone input[type="radio"] { accent-color:var(--mh-choice-active); }
.calculator-standalone .custom-radio-input { position:static !important; appearance:none; -webkit-appearance:none; flex:0 0 22px; align-self:center; width:22px; height:22px; margin:0 !important; padding:0 !important; transform:none !important; border:2px solid var(--mh-choice-border); border-radius:2px; background-color:var(--mh-white); background-position:center; background-repeat:no-repeat; background-size:14px 14px; vertical-align:middle; cursor:pointer; }
.calculator-standalone .custom-radio-input:checked { border-color:var(--mh-choice-active); background-color:var(--mh-choice-active); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5 6.4 12 13 4.5'/%3E%3C/svg%3E"); }
.calculator-standalone .custom-radio-input:disabled { opacity:.55; cursor:not-allowed; }
.calculator-standalone input[type="radio"]:focus { outline:0; box-shadow:none; }
.calculator-standalone input[type="radio"]:focus-visible { outline:2px solid var(--mh-primary); outline-offset:3px; }
.calculator-standalone .custom-radio { display:flex; align-items:center; gap:10px; height:22px; min-height:22px; padding:0; }
.calculator-standalone .custom-radio-label { display:block; height:22px; min-height:22px; margin:0 !important; padding:0 !important; transform:none !important; line-height:22px; cursor:pointer; }
.calculator-standalone .radio-container { padding:14px 18px; border-radius:4px; background:var(--mh-background); }
.calculator-standalone .radio-container .custom-radio + .custom-radio { margin-top:4px; }
.calculator-standalone .btn-orange,.calculator-standalone .btn-lae,.calculator-standalone .btn-secondary { border-radius:88px; font-family:Mulish,sans-serif; font-size:16px; font-weight:400; }
.calculator-standalone .btn-orange,.calculator-standalone .btn-lae { border:0; color:var(--mh-white); background:var(--mh-primary); box-shadow:0 2px 2px rgba(0,0,0,.1); }
.calculator-standalone .btn-orange { padding:18px 38px; }
.calculator-standalone .btn-lae { padding:16px 30px; }
.calculator-standalone .btn-orange svg path { fill:currentColor; }
.calculator-standalone .btn-orange:hover,.calculator-standalone .btn-lae:hover { color:var(--mh-white); background:#461076; }
.calculator-standalone .btn-orange:focus,.calculator-standalone .btn-lae:focus { box-shadow:0 0 0 3px rgba(44,4,83,.22); }
.calculator-standalone .btn-orange:disabled,.calculator-standalone .btn-orange.disabled,.calculator-standalone .btn-lae:disabled { color:var(--mh-secondary); background:var(--mh-background); box-shadow:none; opacity:1; cursor:not-allowed; }
.calculator-standalone .btn-secondary { padding:14px 32px; border:2px solid var(--mh-primary); color:var(--mh-primary); background:transparent; }
.calculator-standalone .btn-secondary:hover,.calculator-standalone .btn-secondary:focus { border-color:var(--mh-primary); color:var(--mh-primary); background:var(--mh-background); }
.calculator-standalone .form-buttons { display:flex; align-items:center; justify-content:center; gap:16px; text-align:center; }
.calculator-standalone .tagasi { float:none; }
.calculator-standalone .edasi { margin-left:0; }
.calculator-standalone .land-type-selector { display:none !important; }
.calculator-standalone .calculation-type-step .calculation-choice-row { display:flex; align-items:center; gap:12px; min-height:22px; margin:22px 0 0; }
.calculator-standalone .calculation-type-step .custom-radio-input { flex:0 0 22px; width:22px; height:22px; margin:0; }
.calculator-standalone .calculation-type-step .custom-radio-label { margin:0; transform:none !important; font-size:19px; line-height:22px; cursor:pointer; }
.calculator-standalone .calculation-choice-group { margin-bottom:0 !important; }
.calculator-standalone .form-buttons .btn { margin:0; }
.calculator-standalone .alert,.calculator-standalone .alert-success,.calculator-standalone .alert-warning,.calculator-standalone .alert-info { border:0; color:var(--mh-text); background:var(--mh-background); font-family:"Baloo Tamma 2",sans-serif; font-weight:400; }
.calculator-standalone .xml-file-picker { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.calculator-standalone .xml-file-input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; }
.calculator-standalone .xml-file-button { margin:0; cursor:pointer; }
.calculator-standalone .xml-file-name { overflow-wrap:anywhere; }
.calculator-standalone .action-button { padding:0; color:var(--mh-primary); }
.calculator-standalone .action-button:hover { color:#461076; }
.calculator-standalone .fa-trash-alt { color:#7d1c1c; font:600 14px/1.2 Mulish,sans-serif; font-style:normal; }
.calculator-standalone .fa-trash-alt::after { content:"Eemalda"; }
.calculator-standalone .steps-container { display:flex; justify-content:space-between; max-width:600px; margin:0 auto 20px; }
.calculator-standalone .step { position:relative; flex:1; text-align:center; }
.calculator-standalone .step-icon { position:relative; z-index:2; display:inline-block; margin-bottom:5px; color:var(--mh-secondary); font-size:24px; }
.calculator-standalone .step-icon img { opacity:.55; }
.calculator-standalone .step.active .step-icon img { opacity:1; }
.calculator-standalone .step:not(:last-child)::after { content:""; position:absolute; z-index:1; top:50%; right:calc(-45% + 1em); width:calc(90% - 2em); height:4px; transform:translateY(-50%); background:var(--mh-line); }
.calculator-standalone .step.active:not(:last-child)::after { background:var(--mh-primary); }
.maahinna-wp-calculator { position:relative; width:100%; max-width:980px !important; margin:24px auto !important; }
.maahinna-wp-calculator .kalkulaator > .container { width:100%; max-width:880px; }
.maahinna-wp-calculator .table-responsive { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.maahinna-wp-calculator .table-responsive table { min-width:900px; }
.calculator-standalone .table { color:var(--mh-text); background:var(--mh-white); }
.calculator-standalone .table th { white-space:nowrap; }
.calculator-standalone #results { position:absolute; z-index:20; right:0; left:0; max-height:240px; overflow-y:auto; border:1px solid rgba(44,4,83,.35); background:var(--mh-white); box-shadow:0 4px 12px rgba(0,0,0,.12); }
.calculator-standalone .address-item { padding:10px 12px; color:var(--mh-text); cursor:pointer; }
.calculator-standalone .address-item:hover,.calculator-standalone .address-item:focus { background:var(--mh-background); }
.calculator-standalone #multiStepForm.is-loading button,.calculator-standalone #multiStepForm.is-loading input,.calculator-standalone #multiStepForm.is-loading select,.calculator-standalone #multiStepForm.is-loading textarea,.calculator-standalone #multiStepForm.is-loading a { pointer-events:none !important; }
.calculator-standalone #multiStepForm.is-enriching button,.calculator-standalone #multiStepForm.is-enriching input,.calculator-standalone #multiStepForm.is-enriching select,.calculator-standalone #multiStepForm.is-enriching textarea,.calculator-standalone #multiStepForm.is-enriching a { pointer-events:none !important; }
.calculator-standalone #multiStepForm.is-loading .calculator-back-button,.calculator-standalone #multiStepForm.is-enriching .calculator-back-button { pointer-events:auto !important; cursor:pointer; opacity:1; }
.calculator-standalone .calculator-loading-overlay { position:absolute; z-index:20; inset:0; display:flex; align-items:flex-start; justify-content:center; min-height:100%; padding:110px 20px 40px; border-radius:10px; background:rgba(240,237,228,.9); cursor:wait; }
.calculator-standalone .calculator-loading-card { display:flex; align-items:center; flex-direction:column; gap:10px; width:min(430px,100%); padding:28px 24px; border:1px solid var(--mh-line); border-radius:12px; color:var(--mh-text); background:var(--mh-white); box-shadow:0 12px 35px rgba(17,17,17,.14); text-align:center; }
.calculator-standalone .calculator-enrichment-status { display:flex; align-items:center; justify-content:center; gap:4px; margin:0 auto 16px; padding:10px 14px; border:1px solid var(--mh-line); border-radius:8px; color:var(--mh-text); background:var(--mh-white); text-align:center; }
.calculator-standalone .calculator-spinner { width:46px; height:46px; border:5px solid var(--mh-line); border-top-color:var(--mh-primary); border-radius:50%; animation:maahinna-spin .8s linear infinite; }
.calculator-standalone .calculator-spinner-small { display:inline-block; width:18px; height:18px; margin-right:7px; border-width:2px; vertical-align:middle; }
@keyframes maahinna-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .calculator-standalone .calculator-spinner { animation-duration:1.8s; } }
.calculator-standalone .valuation-breakdown { max-width:760px; margin:24px auto; padding:20px; border:1px solid var(--mh-line); border-radius:10px; background:var(--mh-white); }
.calculator-standalone .valuation-breakdown h3 { margin:0 0 12px; text-align:center; }
.calculator-standalone .valuation-breakdown > div { display:flex; justify-content:space-between; gap:20px; padding:9px 0; border-bottom:1px solid var(--mh-line); text-align:left; }
.calculator-standalone .valuation-breakdown > div strong { white-space:nowrap; }
.calculator-standalone .valuation-breakdown .breakdown-total { margin-bottom:8px; border-bottom:2px solid var(--mh-primary); color:var(--mh-primary); }
.calculator-standalone .breakdown-note { margin:12px 0 0; font-size:15px; text-align:left; }
/* Hoia kalkulaatori modaal alati WordPressi teema kihtidest ja taustast eespool.
 * body otselapse selektor väldib teema transform/position konteinerite mõju. */
body > .maahinna-calculator-modal {
  position:fixed !important;
  z-index:2147483000 !important;
  inset:0 !important;
  width:100vw !important;
  max-width:none !important;
  height:100vh !important;
  margin:0 !important;
  transform:none !important;
  color:var(--mh-text);
  font-family:"Baloo Tamma 2",sans-serif;
  pointer-events:none;
}
body > .maahinna-calculator-modal.show { pointer-events:auto !important; }
body > .maahinna-calculator-modal .modal-dialog { position:relative; z-index:1; pointer-events:none; }
body > .maahinna-calculator-modal .modal-content { pointer-events:auto !important; }
body.maahinna-modal-open > .modal-backdrop,
body > .maahinna-modal-backdrop { z-index:2147482990 !important; }
.maahinna-calculator-modal .modal-content { border:1px solid var(--mh-line); border-radius:8px; color:var(--mh-text); background:var(--mh-white); box-shadow:0 18px 55px rgba(17,17,17,.22); }
.maahinna-calculator-modal .modal-header,.maahinna-calculator-modal .modal-footer { border-color:var(--mh-line); }
.maahinna-calculator-modal .modal-title { color:var(--mh-text); font-weight:700; }
.maahinna-calculator-modal .modal-body,.maahinna-calculator-modal .modal-body a { color:var(--mh-text); }
.maahinna-calculator-modal .close { color:var(--mh-primary); font:600 16px/20px Mulish,sans-serif; }
.maahinna-calculator-modal .privacy-content { max-height:65vh; overflow-y:auto; line-height:1.55; }
.maahinna-calculator-modal.calculator-notice-modal .modal-content { overflow:hidden; border:0; }
.maahinna-calculator-modal.calculator-notice-modal .notice-header { align-items:center; gap:12px; border-bottom:0; background:var(--mh-background); }
.maahinna-calculator-modal.calculator-notice-modal .notice-symbol { display:grid; flex:0 0 38px; width:38px; height:38px; place-items:center; border-radius:50%; color:var(--mh-white); background:var(--mh-primary); font:700 22px/1 Mulish,sans-serif; }
.maahinna-calculator-modal.calculator-notice-modal .modal-body { padding:24px; font-size:17px; line-height:1.55; }
.maahinna-calculator-modal.calculator-notice-modal .modal-footer { padding:16px 24px 22px; border-top:0; }
.maahinna-calculator-modal .btn-orange,.maahinna-calculator-modal .btn-lae,.maahinna-calculator-modal .btn-secondary { border-radius:88px; font-family:Mulish,sans-serif; font-size:16px; font-weight:400; }
.maahinna-calculator-modal .btn-orange,.maahinna-calculator-modal .btn-lae { border:0; color:var(--mh-white); background:var(--mh-primary); box-shadow:0 2px 2px rgba(0,0,0,.1); }
.maahinna-calculator-modal .btn-orange { padding:18px 38px; }
.maahinna-calculator-modal .btn-lae { padding:16px 30px; }
.maahinna-calculator-modal .btn-orange:hover,.maahinna-calculator-modal .btn-lae:hover { color:var(--mh-white); background:#461076; }
.maahinna-calculator-modal .btn-secondary { padding:14px 32px; border:2px solid var(--mh-primary); color:var(--mh-primary); background:transparent; }
.maahinna-calculator-modal .btn-secondary:hover,.maahinna-calculator-modal .btn-secondary:focus { border-color:var(--mh-primary); color:var(--mh-primary); background:var(--mh-background); }
.maahinna-calculator-modal .alert,.maahinna-calculator-modal .alert-success,.maahinna-calculator-modal .alert-warning,.maahinna-calculator-modal .alert-info { border:0; color:var(--mh-text); background:var(--mh-background); }
.maahinna-calculator-modal .table { color:var(--mh-text); background:var(--mh-white); }
.maahinna-calculator-modal .valuation-breakdown { max-width:760px; margin:24px auto; padding:20px; border:1px solid var(--mh-line); border-radius:10px; background:var(--mh-white); }
.maahinna-calculator-modal .valuation-breakdown > div { display:flex; justify-content:space-between; gap:20px; padding:9px 0; border-bottom:1px solid var(--mh-line); }
.maahinna-calculator-modal .valuation-breakdown .breakdown-total { border-bottom:2px solid var(--mh-primary); color:var(--mh-primary); }
.maahinna-calculator-modal .auction-error { flex:0 0 100%; width:100%; margin:0 0 10px; }
.maahinna-calculator-modal .auction-submit-button-sent { color:var(--mh-secondary) !important; background:var(--mh-background) !important; box-shadow:none !important; opacity:1; }
.auction-confirmation-overlay { position:fixed; z-index:2147483646; inset:0; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(17,17,17,.58); }
.auction-confirmation-card { position:relative; width:min(520px,100%); padding:36px 30px 28px; border:1px solid var(--mh-line); border-radius:12px; color:var(--mh-text); background:var(--mh-white); box-shadow:0 20px 70px rgba(0,0,0,.3); text-align:center; }
.auction-confirmation-card h3 { margin:0 0 10px; padding:0; font:700 28px/1.2 "Baloo Tamma 2",sans-serif; }
.auction-confirmation-card p { margin:0 0 24px; font-size:18px; }
.auction-confirmation-close { position:absolute; top:10px; right:14px; padding:4px 8px; border:0; color:var(--mh-primary); background:transparent; font-size:28px; line-height:1; cursor:pointer; }
@media (max-width:767.98px) {
  .maahinna-wp-calculator { width:100%; margin:8px auto !important; }
  .maahinna-wp-calculator .kalkulaator > .container { width:calc(100% - 16px); }
  .calculator-standalone .kalkulaator { padding:20px 8px; }
  .calculator-standalone .kalkulaator > h2 { font-size:38px; line-height:42px; }
  .calculator-standalone .kalkulaator .container { min-height:0; }
  .calculator-standalone .kalkulaator .vali { min-height:0; padding:24px 12px; }
  .calculator-standalone .kalkulaator .vali h3 { font-size:22px; line-height:27px; }
  .calculator-standalone .form-buttons { flex-direction:column; }
  .calculator-standalone .form-buttons .btn { width:100%; margin:0; }
  .maahinna-calculator-modal .modal-footer { flex-direction:column; }
  .maahinna-calculator-modal .modal-footer .btn { width:100%; margin:5px 0; }
  .calculator-standalone .step-icon img { width:34px; height:34px; }
  .calculator-standalone .valuation-breakdown > div { align-items:flex-start; flex-direction:column; gap:3px; }
}
