.tools-hero { padding: 72px 0 36px; background: linear-gradient(130deg,#eef7f4,#f7f3e9); }
.tools-hero h1 { max-width: 880px; font-size: clamp(40px,5.2vw,70px); line-height: 1.08; }
.tools-hero .guide-lead { max-width: 740px; }
.tool-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.tool-links a { padding: 12px 18px; border: 1px solid #c5d7d2; border-radius: 99px; background: #fff; color: #12355b; font-weight: 750; font-size: 14px; }
.tool-links a:hover { background: #12355b; color: #fff; }
.tools-body { padding: 34px 0 64px; }
.tool { scroll-margin-top: 175px; margin: 24px 0 44px; padding: clamp(22px,4vw,46px); border: 1px solid #dbe5e7; border-radius: 26px; background: #fff; box-shadow: 0 12px 36px #0b274608; }
.tool-heading { max-width: 850px; margin-bottom: 26px; }
.tool-heading h2 { font-size: clamp(28px,3vw,40px); margin: 8px 0 12px; }
.tool-number { color: #087d75; font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.tool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.tool-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.tool-inputs label { display: flex; flex-direction: column; gap: 7px; color: #163955; font-size: 14px; font-weight: 750; }
.tool-inputs small { font-size: 12px; font-weight: 400; line-height: 1.5; color: #536775; }
.tool-inputs input { width: 100%; min-width: 0; padding: 12px; border: 1px solid #b9cbd4; border-radius: 9px; background: #fafcfc; color: #0b2746; font: inherit; font-size: 17px; }
.tool input:focus-visible,.tool button:focus-visible,.tool-links a:focus-visible { outline: 3px solid #087d75; outline-offset: 3px; }
.tool input[aria-invalid=true] { border: 2px solid #b32c20; }
.tool-results { padding: 26px; background: #edf5f4; border-radius: 18px; }
.tool-results [data-result] { font-variant-numeric: tabular-nums; }
.tool-primary { margin-bottom: 18px; padding-bottom: 20px; border-bottom: 1px solid #cbdedb; }
.tool-primary > span { display: block; font-size: 14px; font-weight: 700; color: #36575a; }
.tool-primary strong { display: block; margin-top: 7px; font-size: clamp(28px,3vw,42px); line-height: 1.2; color: #0b574f; overflow-wrap: anywhere; }
.tool-results dl { margin: 0; }
.tool-results dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid #d5e4e1; font-size: 14px; }
.tool-results dt { max-width: 65%; }
.tool-results dd { margin: 0; text-align: right; font-weight: 750; }
.tool-results p { font-size: 13px; color: #425d62; margin-top: 16px; }
.tool-actions { display: flex; gap: 12px; margin-top: 22px; }
.tool-actions button { border: 1px solid #12355b; padding: 10px 18px; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; color: #12355b; background: #fff; }
.tool-actions button[type=submit] { color: #fff; background: #12355b; }
.tool-error { color: #a32920; font-weight: 700; }
.tool details { margin-top: 24px; padding-top: 18px; border-top: 1px solid #dbe5e7; font-size: 14px; }
.tool summary { cursor: pointer; font-weight: 750; color: #12355b; }
.tool details p { max-width: 950px; margin-top: 12px; }
.tools-sources { padding: 26px; background: #f5f6f7; border-radius: 16px; font-size: 14px; }
.tools-sources a { text-decoration: underline; }
.tools-privacy { font-size: 13px; color: #42616c; margin: 18px 0; }
[data-results][hidden] { display: none; }
@media(max-width: 800px) { .tool-layout { grid-template-columns: 1fr; gap: 22px; } .tools-hero { padding-top: 42px; } }
@media(max-width: 480px) { .tool-inputs { grid-template-columns: 1fr; } .tool { border-radius: 18px; padding: 22px 18px; } .tool-results { padding: 20px; } .tool-results dl > div { font-size: 13px; gap: 10px; } .tool-links a { font-size: 13px; padding: 10px 13px; } }
@media print { .site-header,.utility-bar,.mobile-contact-bar,.tool-actions,.tool-links { display: none; } .tool { break-inside: avoid; box-shadow: none; } }
