/* Hendese Tool Experience v4 — v19.16.0
 * Goal: calmer hierarchy, faster scan, stronger CTA, accessible result, SEO-friendly content rhythm.
 */
.ht-wrap{--ht-ink:#15231d;--ht-green:#1f704d;--ht-green-2:#eaf5ef;--ht-line:#e3ebe6;--ht-soft:#f7faf8;--ht-muted:#68776f;max-width:1240px;margin-inline:auto}

/* Top hierarchy: less empty space, clearer intent */
.ht-wrap .ht-breadcrumb{margin-bottom:18px!important;font-size:11.5px!important;color:#829089!important}
.ht-wrap .ht-head{max-width:920px!important;margin-bottom:18px!important;gap:16px!important;align-items:center!important}
.ht-wrap .ht-head-icon{width:52px!important;height:52px!important;border-radius:16px!important;font-size:24px!important;box-shadow:inset 0 0 0 1px #dbeae1}
.ht-wrap .ht-head h1{font-size:clamp(29px,3.4vw,41px)!important;line-height:1.35!important;margin:3px 0 7px!important;letter-spacing:-.45px!important;color:var(--ht-ink)!important}
.ht-wrap .ht-head p{font-size:13.5px!important;line-height:1.9!important;color:var(--ht-muted)!important;max-width:760px!important}
.ht-wrap .ht-label{display:inline-flex;align-items:center;gap:5px;font-size:10.5px!important;padding:4px 8px;border-radius:999px;background:var(--ht-green-2);color:var(--ht-green)!important}
.ht-wrap .ht-label:before{content:'✓';font-size:9px}
.ht-wrap .ht-tool-meta-strip{margin:0 0 12px!important;gap:7px!important}
.ht-wrap .ht-tool-meta-strip>*{font-size:10.5px!important;padding:6px 9px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--ht-line)!important}

/* Secondary utilities should not compete with the task */
.ht-wrap .ht-utility-bar{margin:0 0 16px!important;gap:6px!important}
.ht-wrap .ht-utility-bar button{min-height:34px!important;padding:6px 9px!important;font-size:9.5px!important;border-radius:9px!important;color:#53675d!important;background:#fbfdfc!important}
.ht-wrap:not(.has-result) .ht-utility-bar [data-u-a],.ht-wrap:not(.has-result) .ht-utility-bar [data-u-b]{display:none!important}
.ht-wrap .ht-personal-tray{margin-bottom:16px!important}

/* Main task layout */
.ht-wrap .ht-layout{grid-template-columns:minmax(0,1.72fr) minmax(280px,.58fr)!important;gap:18px!important;align-items:start!important}
.ht-wrap .ht-calculator{padding:24px!important;border-radius:20px!important;box-shadow:0 10px 34px rgba(27,65,47,.055)!important}
.ht-wrap .ht-calc-title{padding-bottom:15px!important;margin-bottom:18px!important;gap:11px!important}
.ht-wrap .ht-calc-title>span{width:38px!important;height:38px!important;border-radius:12px!important}
.ht-wrap .ht-calc-title h2{font-size:15px!important;line-height:1.6!important}
.ht-wrap .ht-calc-title p{font-size:10.8px!important;line-height:1.75!important}
.ht-wrap .ht-form{gap:14px 16px!important}
.ht-wrap .ht-input{min-height:48px!important;border-radius:11px!important;background:#fff!important}
.ht-wrap .ht-input input,.ht-wrap .ht-input select{height:48px!important}
.ht-wrap .ht-field-label{font-size:11.5px!important;margin-bottom:6px!important}
.ht-wrap .ht-hint{font-size:9.8px!important;line-height:1.7!important}

/* Action hierarchy: one primary, tested sample as a quiet helper, clear/reset last */
.ht-wrap .ht-actions{display:grid!important;grid-template-columns:minmax(180px,1fr) auto auto!important;gap:8px!important;margin-top:7px!important;align-items:stretch!important}
.ht-wrap .ht-actions .ht-button{min-height:50px!important;border-radius:11px!important;box-shadow:0 8px 18px rgba(31,112,77,.15)!important;font-size:12.5px!important}
.ht-wrap .ht-actions .ht-reset,.ht-wrap .ht-actions .ht-contract-example{min-height:50px!important;padding-inline:14px!important;border-radius:11px!important;white-space:nowrap!important;font-size:10.5px!important}
.ht-wrap .ht-actions .ht-contract-example{order:2!important;background:#f4faf6!important;border-color:#cfe4d8!important;color:#285f47!important;font-weight:850!important}
.ht-wrap .ht-actions .ht-contract-example:before{content:'✓';display:inline-grid;place-items:center;width:17px;height:17px;margin-left:5px;border-radius:50%;background:#dff0e6;color:#246647;font-size:9px}
.ht-wrap .ht-actions .ht-reset{order:3!important;color:#738078!important;background:#fff!important}
.ht-wrap .ht-example-fill{display:none!important} /* legacy generic example is intentionally removed */

/* Result: still distinctive but no longer a giant visual block */
.ht-wrap .ht-result{position:sticky!important;top:88px!important;padding:22px 18px!important;border-radius:20px!important;background:linear-gradient(155deg,#193029 0%,#13251f 100%)!important;box-shadow:0 12px 34px rgba(17,43,32,.13)!important;border:1px solid #263f35!important;min-height:0!important}
.ht-wrap .ht-result:before{opacity:.45!important;width:145px!important;height:145px!important}
.ht-wrap .ht-result-kicker{display:inline-flex!important;width:auto!important;margin:0 auto 8px!important;padding:4px 8px!important;border:1px solid rgba(216,234,163,.16);border-radius:999px;background:rgba(216,234,163,.07);color:#cddbb0!important;font-size:9.5px!important}
.ht-wrap .ht-result-label{font-size:10.5px!important;margin-bottom:8px!important;color:#aebdb6!important}
.ht-wrap .ht-result-value{font-size:clamp(34px,4vw,48px)!important;color:#e1efb2!important;line-height:1.2!important}
.ht-wrap .ht-result-unit{font-size:11.5px!important;margin-top:7px!important;color:#d5dfda!important}
.ht-wrap .ht-result-note{margin-top:14px!important;padding-top:13px!important;font-size:10.5px!important;line-height:1.85!important}
.ht-wrap .ht-result-helper{margin-top:14px!important;padding-top:11px!important;font-size:9.5px!important;color:#9eb0a7!important}
.ht-wrap .ht-result-actions{margin-top:12px!important;gap:7px!important}
.ht-wrap .ht-result-actions button,.ht-wrap .ht-copy-main{min-height:36px!important;font-size:9.5px!important;border-radius:9px!important}

/* Educational content: stronger semantic rhythm for human scan + search */
.ht-wrap .ht-content{margin-top:38px!important;padding-top:32px!important;grid-template-columns:minmax(0,1fr) 245px!important;gap:32px!important}
.ht-wrap .ht-main-copy{max-width:820px}
.ht-wrap .ht-main-copy h2{font-size:21px!important;line-height:1.55!important;margin:0 0 10px!important;color:var(--ht-ink)!important}
.ht-wrap .ht-main-copy p,.ht-wrap .ht-main-copy li{font-size:13px!important;line-height:2!important;color:#56655d!important}
.ht-wrap .ht-formula{margin:20px 0 24px!important;padding:15px 17px!important;border-radius:13px!important;background:#f6faf7!important;box-shadow:none!important}
.ht-wrap .ht-formula strong{display:block;margin-bottom:3px;font-size:10.5px!important}
.ht-wrap .ht-side-note{padding:16px!important;border-radius:14px!important;box-shadow:none!important;position:sticky;top:92px}
.ht-wrap .ht-side-note strong{font-size:11.5px!important}
.ht-wrap .ht-side-note p{font-size:10.5px!important;line-height:1.95!important}
.ht-wrap .ht-faq{margin-top:28px!important}
.ht-wrap .ht-faq details{padding:13px 0!important}
.ht-wrap .ht-faq summary{font-size:12px!important;line-height:1.8!important}

/* Related navigation: useful internal links should look clickable, not like tiny footer chips */
.ht-wrap .ht-related,.ht-wrap .ht-next-steps{margin-top:40px!important}
.ht-wrap .ht-section-title{margin-bottom:12px!important}
.ht-wrap .ht-section-title span{font-size:18px!important;line-height:1.6!important}
.ht-wrap .ht-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.ht-wrap .ht-related-grid>a{min-height:82px!important;padding:13px!important;border-radius:14px!important;background:#fff!important;align-items:flex-start!important;box-shadow:0 5px 18px rgba(25,62,45,.035)}
.ht-wrap .ht-related-grid>a:hover{box-shadow:0 9px 22px rgba(25,62,45,.075)!important;transform:translateY(-2px)!important}
.ht-wrap .ht-related-grid b{width:34px!important;height:34px!important;border-radius:10px!important}
.ht-wrap .ht-related-grid strong{font-size:11.5px!important;line-height:1.65!important}
.ht-wrap .ht-related-grid small{font-size:9.5px!important;line-height:1.65!important;margin-top:3px!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Responsive behavior: single-column without sticky/overflow surprises */
@media(max-width:980px){
 .ht-wrap .ht-layout{grid-template-columns:minmax(0,1fr)!important}
 .ht-wrap .ht-result{position:relative!important;top:auto!important;max-width:none!important}
 .ht-wrap .ht-content{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
 .ht-wrap .ht-side-note{position:static!important}
 .ht-wrap .ht-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
 .ht-wrap .ht-breadcrumb{margin-bottom:13px!important;white-space:nowrap;overflow:auto;padding-bottom:3px;scrollbar-width:none}
 .ht-wrap .ht-breadcrumb::-webkit-scrollbar{display:none}
 .ht-wrap .ht-head{align-items:flex-start!important;margin-bottom:14px!important}
 .ht-wrap .ht-head-icon{width:44px!important;height:44px!important;border-radius:14px!important;font-size:21px!important}
 .ht-wrap .ht-head h1{font-size:28px!important}
 .ht-wrap .ht-head p{font-size:12.5px!important}
 .ht-wrap .ht-tool-meta-strip{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;padding-bottom:3px;scrollbar-width:none}
 .ht-wrap .ht-tool-meta-strip::-webkit-scrollbar{display:none}
 .ht-wrap .ht-tool-meta-strip>*{flex:0 0 auto}
 .ht-wrap .ht-calculator{padding:18px 14px!important;border-radius:16px!important}
 .ht-wrap .ht-form{grid-template-columns:1fr!important}
 .ht-wrap .ht-field-wide{grid-column:auto!important}
 .ht-wrap .ht-actions{grid-template-columns:1fr 1fr!important}
 .ht-wrap .ht-actions .ht-button{grid-column:1/-1!important}
 .ht-wrap .ht-actions .ht-contract-example,.ht-wrap .ht-actions .ht-reset{width:100%!important}
 .ht-wrap .ht-result{padding:19px 15px!important;border-radius:16px!important}
 .ht-wrap .ht-content{margin-top:30px!important;padding-top:26px!important}
 .ht-wrap .ht-related-grid{grid-template-columns:1fr!important}
 .ht-wrap .ht-related-grid>a{min-height:72px!important}
}
@media(max-width:420px){
 .ht-wrap .ht-head{gap:10px!important}
 .ht-wrap .ht-head-icon{width:40px!important;height:40px!important}
 .ht-wrap .ht-head h1{font-size:25px!important}
 .ht-wrap .ht-actions{grid-template-columns:1fr!important}
 .ht-wrap .ht-actions .ht-button{grid-column:auto!important}
}

/* Light-only policy for tool UI, including weather */
.ht-wrap,.ht-wrap *{color-scheme:light}
@media(prefers-color-scheme:dark){
 .ht-wrap{background:transparent!important;color:var(--ht-ink)!important}
 .ht-wrap .ht-calculator,.ht-wrap .ht-content,.ht-wrap .ht-related-grid>a,.ht-wrap .ht-tool-meta-strip>*,.ht-wrap .ht-input{color-scheme:light}
}

/* 19.19 — compact personal controls and calmer first-use state */
.ht-wrap .ht-utility-bar{display:flex!important;align-items:center!important;justify-content:flex-start!important;position:relative!important;z-index:12!important}
.ht-wrap .ht-utility-more{position:relative!important;margin:0!important}
.ht-wrap .ht-utility-more>summary{list-style:none;min-height:34px;display:inline-flex;align-items:center;padding:6px 10px;border:1px solid var(--ht-line);border-radius:9px;background:#fbfdfc;color:#53675d;font-size:9.5px;font-weight:850;cursor:pointer}
.ht-wrap .ht-utility-more>summary::-webkit-details-marker{display:none}
.ht-wrap .ht-utility-more[open]>summary{border-color:#b9d8c8;background:#eff8f3;color:#235f45}
.ht-wrap .ht-utility-more>div{position:absolute;z-index:30;top:calc(100% + 7px);inset-inline-start:0;width:205px;display:grid;gap:5px;padding:8px;border:1px solid #dce7e1;border-radius:12px;background:#fff;box-shadow:0 18px 42px rgba(24,54,41,.14)}
.ht-wrap .ht-utility-more>div button{width:100%!important;text-align:right!important;justify-content:flex-start!important;box-shadow:none!important}
.ht-wrap .ht-personal-tray{display:block!important;margin:0 0 14px!important;border:1px solid #e4ebe7!important;border-radius:12px!important;background:#fbfdfc!important;overflow:hidden!important}
.ht-wrap .ht-personal-tray>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:8px 12px;color:#486257;font-size:10px;font-weight:850;cursor:pointer}
.ht-wrap .ht-personal-tray>summary::-webkit-details-marker{display:none}
.ht-wrap .ht-personal-tray>summary small{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#edf5f1;color:#34624e;font-size:9px}
.ht-wrap .ht-personal-tray-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0 10px 10px!important;border:0!important;background:transparent!important}
.ht-wrap .ht-personal-tray-body>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:9px;border:1px solid #e8eeeb;border-radius:10px;background:#fff}
.ht-wrap:not(.has-result) .ht-result{min-height:190px!important;padding-block:18px!important;box-shadow:0 8px 24px rgba(20,54,40,.045)!important}
.ht-wrap:not(.has-result) .ht-result-value{font-size:30px!important;color:#b7c4be!important}
.ht-wrap:not(.has-result) .ht-result-note,.ht-wrap:not(.has-result) .ht-result-details,.ht-wrap:not(.has-result) .ht-result-actions{display:none!important}
.ht-wrap .hs-solution-studio[data-hs-mode="simple"]{margin-top:18px!important}
.ht-wrap .hs-solution-studio[data-hs-mode="simple"] .hs-mode-note{display:none!important}
.ht-wrap .hs-solution-studio[data-hs-mode="simple"] .hs-head{padding:13px 18px!important}
.ht-wrap .hs-solution-studio[data-hs-mode="simple"] .hs-main-grid{padding:0 18px 12px!important}
@media(max-width:700px){
 .ht-wrap .ht-personal-tray-body{grid-template-columns:1fr!important}
 .ht-wrap .ht-personal-tray-body>div{grid-template-columns:1fr!important}
 .ht-wrap .ht-utility-more>div{inset-inline-start:auto;inset-inline-end:0}
 .ht-wrap:not(.has-result) .ht-result{min-height:130px!important}
}
