/* ToleHub ROI Calculator 2.0 - Self-contained styling */
body.page main.th-full-page:has(.throi-v2) { box-sizing:border-box; width:min(100%,1320px); max-width:1320px!important; padding:0 20px!important; margin:0 auto!important; min-width:0; }
body.page main.th-full-page:has(.throi-v2) .th-page-title { box-sizing:border-box; width:min(100%,1180px)!important; max-width:1180px!important; margin:36px auto 15px!important; padding:0 15px!important; font-size:clamp(32px,3.8vw,46px)!important; line-height:1.12!important; letter-spacing:-.045em!important; color:#0B1F3B!important; font-weight:800!important; }
body.page main.th-full-page:has(.throi-v2) .wp-block-post-content { width:100%!important; max-width:none!important; min-width:0; }
body.page main.th-full-page:has(.throi-v2) .wp-block-post-content > .throi-v2 { box-sizing:border-box; width:min(100%,1180px)!important; max-width:1180px!important; margin:0 auto 70px!important; padding:0 15px!important; }
.throi-v2 { --ink:#0B1F3B; --teal:#0D9488; --line:#dce9ed; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; font-size:15px; color:var(--ink); }
.throi-v2 *, .throi-v2 *::before, .throi-v2 *::after {box-sizing:border-box;}
.throi-v2 [hidden] {display:none!important;}
.throi-v2__intro {margin:0 0 24px;}
.throi-v2__eyebrow {display:block; margin:0 0 10px; font-size:11px; line-height:1.5; color:#087b73; font-weight:850; letter-spacing:.12em;}
.throi-v2__intro p {max-width:850px!important; margin:0!important; color:#596f80; line-height:1.75; font-size:15px;}
.throi-v2__grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:stretch; width:100%;}
.throi-v2__panel {box-sizing:border-box; min-width:0; padding:clamp(24px,2.7vw,36px); border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 8px 30px rgba(11,31,59,.035);}
.throi-v2__panel h2 {color:#0c263e!important; font-size:25px!important; line-height:1.25!important; font-weight:800!important; letter-spacing:-.035em!important; margin:0 0 9px!important;}
.throi-v2__section-heading p {margin:0 0 25px!important; font-size:13px; color:#65798b; line-height:1.65;}
.throi-v2__form {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px 15px; margin:0; padding:0; border:0;}
.throi-v2__field {display:block; min-width:0; line-height:1.5;}
.throi-v2__field span {display:block; margin:0 0 9px; font-size:13px; font-weight:750; color:#14324b;}
.throi-v2__field input,.throi-v2__field select {box-sizing:border-box; display:block; width:100%!important; max-width:none; min-width:0; height:50px; margin:0; padding:11px 13px; color:#0B1F3B; background:#fff; border:1px solid #c9dae4; border-radius:10px; font-family:inherit; font-weight:650; font-size:15px; line-height:1.5; outline:none;}
.throi-v2__field input:focus,.throi-v2__field select:focus {border-color:#0D9488; box-shadow:0 0 0 3px rgba(13,148,136,.13);}
.throi-v2__note {color:#667a8c; font-size:12px; line-height:1.75; margin:24px 0 17px!important;}
.throi-v2__form-actions {display:flex; align-items:center; gap:10px;}
.throi-v2__button {appearance:none; display:inline-flex!important; align-items:center; justify-content:center; box-sizing:border-box; min-height:46px; min-width:0; padding:12px 19px!important; border:0; border-radius:10px; font-family:inherit; font-weight:800; font-size:13px!important; text-align:center; text-decoration:none; line-height:1.35!important; cursor:pointer; transition:background-color .18s ease,transform .18s ease;}
.throi-v2__button:focus-visible {outline:3px solid #59e7cf; outline-offset:3px;}
.throi-v2__button:disabled {opacity:.56; cursor:not-allowed;}
.throi-v2__button--reset-light {background:#E6F5F3!important; color:#087b73!important; border:1px solid #ceeae6!important;}
.throi-v2__button--reset-light:hover {background:#cff0ec!important;}
.throi-v2__message {min-height:16px; font-size:12px; font-weight:650; line-height:1.5; color:#087b73; margin:12px 0 0!important;}
.throi-v2__panel--results {background:#0B1F3B; color:#fff; border-color:#25445a;}
.throi-v2__result-label {font-weight:850; font-size:11px; letter-spacing:.12em; color:#8af1dc; margin-bottom:9px;}
.throi-v2__roi {font-weight:850; font-size:clamp(39px,4.3vw,58px); line-height:1.12; letter-spacing:-.05em; overflow-wrap:anywhere; color:#fff; margin-bottom:9px;}
.throi-v2__roi--loss {color:#ffbcab;}
.throi-v2__result-caption {font-size:13px; color:#bcd3e0; line-height:1.7; margin:0!important;}
.throi-v2__divider {height:1px; width:100%; background:#365468; margin:24px 0;}
.throi-v2__metrics {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
.throi-v2__metric {min-width:0; padding:16px; border-radius:12px; background:#153750; border:1px solid #24475d;}
.throi-v2__metric span {display:block; color:#bbd1df; font-size:12px; line-height:1.5; margin-bottom:8px;}
.throi-v2__metric strong {display:block; color:#fff; font-size:clamp(17px,2.2vw,23px); line-height:1.3; font-weight:850; letter-spacing:-.025em; overflow-wrap:anywhere;}
.throi-v2__bars {margin:25px 0 22px;}
.throi-v2__bar-label {display:flex; align-items:center; justify-content:space-between; gap:12px; color:#d2e4ed; font-size:12px; line-height:1.6; margin:0 0 7px;}
.throi-v2__bar-label strong {color:#fff; font-weight:800; overflow-wrap:anywhere; text-align:right;}
.throi-v2__track {background:#1c3d53; width:100%; border-radius:15px; height:10px; overflow:hidden; margin-bottom:14px;}
.throi-v2__fill {height:100%; border-radius:15px; transition:width .2s ease;}
.throi-v2__fill--cost {background:#8bb7c5; width:0%;}
.throi-v2__fill--revenue {background:#17b9aa; width:0%;}
.throi-v2__result-actions {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;}
.throi-v2__button--teal {background:#17b9aa!important; color:#052d31!important;}
.throi-v2__button--teal:hover {background:#4cd2c0!important;}
.throi-v2__button--secondary {background:#24465e!important; color:#fff!important;}
.throi-v2__button--secondary:hover {background:#35617b!important;}
.throi-v2__error {border-radius:9px; color:#873520; background:#fff0eb; padding:11px 13px; line-height:1.6; font-size:13px; margin:16px 0 0;}
.throi-v2__explainer {box-sizing:border-box; margin:32px 0 0; padding:clamp(24px,3vw,38px); border-radius:18px; background:#F8FAFC; border:1px solid #e0ebef;}
.throi-v2__explainer h2 {margin:0 0 13px!important; color:#0b1f3b!important; font-size:clamp(22px,2.6vw,28px)!important; font-weight:850!important; line-height:1.3!important; letter-spacing:-.03em!important;}
.throi-v2__explainer h3 {margin:22px 0 8px!important; color:#143047!important; font-weight:800!important; font-size:18px!important;}
.throi-v2__explainer p,.throi-v2__explainer li {color:#526a7b; font-size:14px; line-height:1.85;}
.throi-v2__explainer ul {padding-left:24px; margin:16px 0;}
.throi-v2__explainer code {background:#e9f5f3; border-radius:5px; padding:3px 6px; color:#0a665f; font-size:13px;}
.throi-v2__explainer .throi-v2__disclaimer {font-size:12px; margin:19px 0 0;}
@media(max-width:880px) {.throi-v2__grid{grid-template-columns:1fr;gap:18px;} .throi-v2__panel{padding:26px;} .throi-v2__roi{font-size:45px;}}
@media(max-width:600px) {body.page main.th-full-page:has(.throi-v2){padding:0 15px!important;} body.page main.th-full-page:has(.throi-v2) .th-page-title{padding:0!important; margin:27px auto 12px!important; font-size:clamp(28px,7.5vw,37px)!important;} body.page main.th-full-page:has(.throi-v2) .wp-block-post-content > .throi-v2{padding:0!important;} .throi-v2__intro p{font-size:14px;} .throi-v2__panel{padding:20px; border-radius:16px;} .throi-v2__form{grid-template-columns:1fr;} .throi-v2__result-actions{gap:9px;} .throi-v2__button{padding:11px!important;} .throi-v2__metric{padding:12px;} .throi-v2__metric strong{font-size:19px;} .throi-v2__explainer{padding:20px;}}
@media(max-width:355px) {.throi-v2__result-actions{grid-template-columns:1fr;} .throi-v2__metrics{gap:7px;} .throi-v2__metric strong{font-size:16px;}}
@media(prefers-reduced-motion:reduce) {.throi-v2__button,.throi-v2__fill{transition:none;}}
