
/* Solvory Wave 2 — premium tool workspaces and navigation ergonomics */
body:has([data-calculator]) header.site-header,
body:has([data-wave2]) header.site-header{position:relative!important;top:auto!important}
body:has([data-calculator]) .sv3-header,
body:has([data-wave2]) .sv3-header{position:relative!important;top:auto!important}
body:has([data-calculator]) .sv-calc-aside,
body:has([data-wave2]) .sv-calc-aside{top:20px!important}
.sw2-shell{background:#fff;border:1px solid #e5e0f0;border-radius:26px;overflow:hidden;box-shadow:0 18px 60px rgba(52,37,115,.07);font-family:"Solvory DM Sans",system-ui,sans-serif}
.sw2-shell *{box-sizing:border-box}.sw2-topline{display:flex;align-items:center;gap:10px;background:#1e2134;color:#c8c3ed;padding:15px 22px;font-size:10px;font-weight:830;letter-spacing:.12em}
.sw2-dot{display:inline-block;width:8px;height:8px;background:#88e2b5;border-radius:50%;box-shadow:0 0 0 4px #88e2b526}
.sw2-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:31px;background:radial-gradient(circle at right,#f0eaff,transparent 65%),#fff}
.sw2-kicker{display:block;color:#7965d6;letter-spacing:.12em;font-size:10px;font-weight:850;margin-bottom:8px}
.sw2-heading h2{font-family:"Solvory Manrope",system-ui,sans-serif!important;font-size:31px;font-weight:850;line-height:1.2;letter-spacing:-.055em;margin:0 0 7px;color:#272840}
.sw2-heading p{font-size:12.7px;max-width:550px;line-height:1.65;color:#777f93;margin:0}
.sw2-mark{flex-shrink:0;display:grid;place-items:center;width:57px;height:57px;border-radius:17px;background:linear-gradient(140deg,#7158f0,#a289f7);color:#fff;font-size:32px;box-shadow:0 10px 25px #6e50e041}
.sw2-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid #efecf6}
.sw2-form{padding:29px 25px 32px;min-width:0}
.sw2-formtop{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}
.sw2-formtop strong{font-weight:850;color:#32334b;font-size:14px}
.sw2-formtop button{border:0;background:none;font-size:12px;font-weight:760;color:#6f5ad5;cursor:pointer}
.sw2-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 11px}
.sw2-field{display:flex;flex-direction:column;min-width:0;gap:7px}
.sw2-field[hidden]{display:none!important}.sw2-wide{grid-column:1/-1}
.sw2-field>span{font-size:11.5px;color:#404154;font-weight:790;line-height:1.4}
.sw2-field input,.sw2-field select,.sw2-field textarea{font:500 13px "Solvory DM Sans",system-ui,sans-serif!important;width:100%!important;min-width:0;max-width:100%!important;border:1px solid #e3e1ef!important;border-radius:10px!important;outline:0!important;box-shadow:none!important;padding:12px!important;background:#fcfbff!important;color:#28283e!important;transition:border-color .2s,box-shadow .2s}
.sw2-field input,.sw2-field select{height:47px}.sw2-field textarea{resize:vertical;min-height:122px;line-height:1.6}
.sw2-field input:focus,.sw2-field select:focus,.sw2-field textarea:focus{border-color:#8668e7!important;box-shadow:0 0 0 4px #8269e41c!important}
.sw2-submit{margin-top:26px;width:100%;min-height:53px;border:0;border-radius:12px;font:850 14px "Solvory DM Sans",system-ui,sans-serif;cursor:pointer;color:#fff;background:linear-gradient(110deg,#5d50eb,#8860ee);box-shadow:0 14px 23px #6650cf2a;transition:transform .2s,box-shadow .2s}
.sw2-submit:hover{transform:translateY(-2px);box-shadow:0 16px 30px #6650cf3c}
.sw2-submit:focus-visible,.sw2-copy:focus-visible{outline:3px solid #b8a9ff;outline-offset:3px}
.sw2-result{background:linear-gradient(150deg,#faf8ff,#f7f8fe);border-left:1px solid #e9e7f4;padding:29px 25px;min-width:0}
.sw2-hero-result{display:flex;flex-direction:column;gap:10px;margin-bottom:23px}
.sw2-small{color:#766ba8;font-size:10px;letter-spacing:.12em;font-weight:850;line-height:1.6}
.sw2-big{font-family:"Solvory Manrope",system-ui,sans-serif!important;font-size:clamp(27px,2.6vw,38px);letter-spacing:-.06em;font-weight:850;line-height:1.3;color:#24243b;overflow-wrap:anywhere}
.sw2-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.sw2-metric{display:flex;flex-direction:column;gap:10px;justify-content:center;background:#fff;border:1px solid #ebebf5;border-radius:12px;min-height:81px;padding:14px}
.sw2-metric span{color:#868b9d;font-size:10.5px;line-height:1.5}
.sw2-metric strong{font-size:14px;color:#333249;line-height:1.45;overflow-wrap:anywhere}
.sw2-formula{border-top:1px solid #e9e5f4;padding-top:22px;margin-top:23px}
.sw2-formula h3{font-size:14px!important;font-family:"Solvory Manrope",sans-serif;font-weight:850!important;letter-spacing:-.03em;margin:0 0 11px}
.sw2-formula p{font-size:11.7px;line-height:1.75;color:#676b82;margin:0 0 9px}
.sw2-caution{background:#fffaf0;border:1px solid #f2e6c9;color:#827149;font-size:11px;line-height:1.7;padding:13px 15px;border-radius:11px;margin-top:18px}
.sw2-copy{font:820 12px "Solvory DM Sans",sans-serif;padding:11px 15px;border:1px solid #ded6f5;border-radius:10px;background:white;color:#6856d1;cursor:pointer;margin-top:13px}
.sw2-copy:hover{background:#f0edff}
.sw2-error{background:#fff4f4;color:#a74855;border:1px solid #ecc7c7;border-radius:12px;padding:18px;line-height:1.7;font-size:13px}
.sw2-progress{color:#7769c8;font-size:13px}
.sw2-lines{display:flex;flex-direction:column;gap:9px;margin-top:15px;max-height:510px;overflow-y:auto}
.sw2-line{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e7e4f1;border-radius:10px;background:white;padding:11px}
.sw2-line code,.sw2-match code{font-size:11px;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word;color:#4b4495}
.sw2-line button{border:1px solid #e1daf2;background:#f8f7ff;border-radius:8px;color:#6854d3;cursor:pointer;padding:8px 11px;font-size:10px;white-space:nowrap}
.sw2-match{display:flex;flex-direction:column;gap:9px;background:#fff;border:1px solid #e5e3ed;border-radius:11px;padding:12px;max-width:100%;overflow-wrap:anywhere}
.sw2-match strong{font-size:11px;color:#6b5d9a}.sw2-match small{font-size:10px;color:#85849a;line-height:1.5}
.sw2-result>h3{font-size:13px;letter-spacing:.07em;font-weight:850;margin:0}
.sw2-code-notice{color:#8a8b97;font-size:10px}
.sv-calc-aside-box a:focus-visible{outline:2px solid #a99bee}
.sv3-dir-grid>.sc-wave2-card{display:flex!important;flex-direction:column!important;justify-content:flex-start;align-self:stretch;min-width:0;min-height:300px;background:#fff;color:#282936!important;text-decoration:none!important}
.sv3-dir-grid>.sc-wave2-card:hover{border-color:#b3a5f7!important;box-shadow:0 24px 48px #29284915;transform:translateY(-5px)}
.sv3-dir-grid>.sc-wave2-card .sv3-dir-status{background:#e5f7ec;color:#23764a;border:1px solid #cae9d7}
.sv3-dir-grid>.sc-wave2-card .sv3-dir-card-end{margin-top:auto;color:#6954ca}
.sv3-dir-grid>.sc-wave2-card .sv3-dir-icon svg{width:33px;height:33px}
@media(max-width:1050px){.sv3-dir-grid>.sc-wave2-card{min-height:290px}}
@media(max-width:950px){.sv3-dir-grid>.sc-wave2-card{min-height:260px}}
@media(max-width:720px){.sw2-heading{padding:23px 19px}.sw2-heading h2{font-size:25px}.sw2-mark{display:none}.sw2-layout{grid-template-columns:1fr}.sw2-result{border-left:0;border-top:1px solid #e9e7f4;padding:23px 18px}.sw2-form{padding:23px 18px}.sw2-shell{border-radius:18px}.sw2-field>span{font-size:11px}.sw2-fields{gap:12px 9px}.sw2-topline{padding:14px 18px}.sv3-dir-grid>.sc-wave2-card{min-height:255px}}
@media(max-width:410px){.sw2-fields{grid-template-columns:1fr}.sw2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sv3-dir-grid>.sc-wave2-card{min-height:250px}}
@media(prefers-reduced-motion:reduce){.sw2-submit,.sv3-dir-grid>.sc-wave2-card{transition:none!important}.sw2-submit:hover,.sv3-dir-grid>.sc-wave2-card:hover{transform:none!important}}
/* Fallback for browsers without :has(): the capsule header should not follow the user within calculator pages. */
body.page-id-54 header.site-header,
body.page-id-55 header.site-header,
body.page-id-56 header.site-header,
body.page-id-57 header.site-header,
body.page-id-58 header.site-header,
body.page-id-59 header.site-header,
body.page-id-60 header.site-header,
body.page-id-61 header.site-header,
body.page-id-62 header.site-header,
body.page-id-63 header.site-header,
body.page-id-89 header.site-header,
body.page-id-90 header.site-header,
body.page-id-91 header.site-header,
body.page-id-92 header.site-header,
body.page-id-93 header.site-header,
body.page-id-94 header.site-header,
body.page-id-95 header.site-header,
body.page-id-96 header.site-header,
body.page-id-97 header.site-header,
body.page-id-98 header.site-header{position:relative!important;top:auto!important}

