.hth-root{--hth-navy:#081629;--hth-blue:#087cae;--hth-line:#dce5ed;color:#15283e;background:#fff;font:15px/1.65 Inter,Manrope,system-ui,sans-serif;max-width:1180px;margin:24px auto;border:1px solid var(--hth-line);border-radius:18px;overflow:hidden;isolation:isolate}.hth-root *{box-sizing:border-box}.hth-root [hidden]{display:none!important}.hth-root h2,.hth-root h3,.hth-root h4{color:inherit;line-height:1.25;letter-spacing:-.02em}.hth-root h2{font-size:clamp(25px,4vw,40px);margin:18px 0}.hth-root h3{font-size:21px;margin:16px 0}.hth-root p{margin:12px 0}.hth-hero{padding:32px;background:linear-gradient(125deg,#081629,#163b56);color:#fff}.hth-brand{font-size:20px;font-weight:800;letter-spacing:.05em}.hth-brand span{display:block;font-size:10px;color:#a6def7;letter-spacing:.18em}.hth-hero p{max-width:780px;color:#e2edf5}.hth-pill{display:inline-block;padding:7px 12px;border:1px solid #50708a;border-radius:8px;font-size:12px}.hth-root button,.hth-root .hth-file{font:inherit;line-height:1.4;cursor:pointer;min-height:44px;padding:10px 14px;border:1px solid #a9bbcb;border-radius:8px;background:#fff;color:#17354f;white-space:normal;text-align:left}.hth-root button:hover{background:#eef7fc}.hth-root button:focus-visible,.hth-root input:focus-visible,.hth-root select:focus-visible,.hth-root textarea:focus-visible,.hth-root summary:focus-visible,.hth-root a:focus-visible{outline:3px solid #087cae;outline-offset:3px}.hth-root button:disabled{opacity:.5;cursor:default}.hth-root .hth-primary{background:#087cae;color:#fff;border-color:#087cae}.hth-actions,.hth-report-actions,.hth-filter,.hth-footer{display:flex;flex-wrap:wrap;gap:10px;margin:20px 24px}.hth-file{display:inline-flex;align-items:center;position:relative;overflow:hidden}.hth-file input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.hth-root:has(.hth-file input:focus-visible) .hth-file{outline:3px solid #087cae}.hth-notice:empty{display:none}.hth-notice,.hth-root>.hth-help{margin:14px 24px}.hth-notice,.hth-warning{background:#fff5df;padding:14px;border-left:3px solid #a66b00;color:#684500}.hth-help{font-size:13px;color:#486176}.hth-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--hth-line);border-bottom:1px solid var(--hth-line)}.hth-steps button{border:0;border-radius:0;min-width:0;font-size:13px;padding:15px 10px}.hth-steps b{display:block;color:#59758e;font-size:10px}.hth-steps button[aria-current=step]{background:#e9f5fc;box-shadow:inset 0 -3px #087cae;color:#065d86}.hth-form{padding:24px}.hth-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.hth-root label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600;min-width:0}.hth-root label small{color:#536d82;font-weight:400}.hth-root input:not([type=checkbox]):not([type=file]),.hth-root select,.hth-root textarea{font:inherit;font-weight:400;background:#fff;border:1px solid #8ba2b6;border-radius:6px;padding:11px;min-width:0;width:100%;min-height:44px;color:#15283e}.hth-root input[aria-invalid=true]{border:2px solid #af2031}.hth-root textarea{font:12px/1.6 ui-monospace,monospace;resize:vertical}.hth-root .hth-toggle{display:flex;flex-direction:row;align-items:center;gap:10px;margin:24px 0 10px;font-size:16px}.hth-toggle input{width:20px;height:20px}.hth-building-checks{padding:16px;background:#f3f7fa;border-radius:9px}.hth-building-checks ul{display:flex;flex-wrap:wrap;gap:8px 24px;margin:8px 0;padding-left:18px}.hth-sub,.hth-catalog{border-bottom:1px solid var(--hth-line);padding:16px 0}.hth-catalog{padding:16px 24px}.hth-root summary{cursor:pointer;font-weight:700;min-height:32px}.hth-filter{margin:20px 0}.hth-filter button[aria-pressed=true]{background:#081629;color:#fff;border-color:#081629}.hth-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hth-cards article{border:1px solid var(--hth-line);border-radius:10px;padding:20px;display:flex;flex-direction:column}.hth-cards h3{font-size:17px}.hth-cards small{color:#08709d;text-transform:uppercase;font-size:10px;letter-spacing:.1em}.hth-cards p{font-size:12px;color:#526b7e}.hth-cards a,.hth-cards button{margin-top:auto;color:#065c85;font-weight:700}.hth-footer{justify-content:flex-end;margin:24px 0 0}.hth-results{padding:24px}.hth-report-head{border-bottom:2px solid #081629;padding-bottom:24px}.hth-result{padding:20px 0;border-bottom:1px solid var(--hth-line)}.hth-metric{padding:14px;background:#eff6fa;border-radius:8px}.hth-metric span{display:block;font-size:12px;color:#47657b}.hth-metric strong{display:block;font-size:25px;font-weight:700;color:#081629}.hth-metric strong small{font-size:12px}.hth-scroll{max-width:100%;overflow:auto}.hth-root table{width:100%;border-collapse:collapse;font-size:12px;margin:18px 0}.hth-root th,.hth-root td{padding:12px;text-align:left;border-bottom:1px solid var(--hth-line);vertical-align:top;min-width:95px}.hth-root th{background:#f1f6fa;color:#243e55}.hth-error{color:#9a2032;background:#fff0f1;padding:12px}.hth-root pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.6 ui-monospace,monospace;max-width:100%}.hth-chart{display:block;width:100%;height:auto;max-width:760px;background:#f4f8fa;margin:14px 0}.hth-chart text{font:11px system-ui;fill:#354e64}.hth-root a{color:#065d86;text-decoration:underline}.hth-root .hth-config{display:none}
@media(max-width:800px){.hth-fields,.hth-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hth-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.hth-root{border-radius:8px;margin:10px auto}.hth-hero,.hth-form,.hth-results{padding:18px}.hth-fields,.hth-cards{grid-template-columns:minmax(0,1fr)}.hth-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.hth-actions{margin:18px}.hth-root button{font-size:13px}.hth-footer button{flex:1}.hth-brand span{font-size:9px}.hth-catalog{padding:16px 18px}}
@media print{body>*:not(:has(.hth-root)){display:none!important}.hth-root{border:0;max-width:none;margin:0;font-size:10pt}.hth-root .hth-hero,.hth-root .hth-catalog,.hth-root .hth-actions,.hth-root .hth-notice,.hth-root>.hth-help,.hth-root .hth-steps,.hth-root .hth-form,.hth-root .hth-report-actions{display:none!important}.hth-root [data-panel="4"]{display:block!important}.hth-results{padding:0}.hth-result{break-inside:avoid}.hth-scroll{overflow:visible}.hth-root table{font-size:8pt}.hth-root th,.hth-root td{min-width:0;padding:6px}.hth-root details{display:none}.hth-chart{max-height:180px}.hth-root a{color:#222;text-decoration:none}.hth-root .hth-warning{background:none;border:1px solid #aaa}body{background:#fff!important}}

.hth-catalog-only>.hth-actions,.hth-catalog-only>.hth-notice,.hth-catalog-only>.hth-help,.hth-catalog-only>.hth-steps,.hth-catalog-only>.hth-form,.hth-catalog-only>[data-panel]{display:none!important}

/* Shared catalogue and calculator presentation. */
.hth-presentation {
 display:flex;
 align-items:center;
 gap:clamp(16px,3vw,34px);
 padding:clamp(20px,4vw,48px);
 background:linear-gradient(130deg,#e7f3ff,#f8fcff);
 color:#102940;
 border-bottom:1px solid #d3e3f1;
 font-family:Inter,Manrope,system-ui,sans-serif;
 scroll-margin-top:110px;
}
.hth-presentation h2 { margin:5px 0 10px; color:#102940; font-size:clamp(23px,3vw,36px); line-height:1.16; }
.hth-presentation p { margin:0; max-width:66ch; color:#486176; font-size:clamp(14px,1.5vw,17px); }
.hth-kicker { color:#145a9d; font-weight:750; font-size:12px; letter-spacing:.07em; text-transform:uppercase; }
.hth-visual {
 display:inline-grid;
 place-items:center;
 flex:none;
 width:56px;
 height:56px;
 border-radius:15px;
 background:linear-gradient(145deg,#e0efff,#f1f9ff);
 color:#1261a8;
 border:1px solid #c7def3;
}
.hth-visual svg { width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.hth-presentation .hth-visual { width:72px; height:72px; }
.hth-presentation .hth-visual svg { width:38px; height:38px; }
.hth-root .hth-cards article { display:flex; flex-direction:column; min-width:0; gap:9px; background:#fff; }
.hth-root .hth-cards article h3 { margin:0; overflow-wrap:anywhere; }
.hth-root .hth-cards article p { margin:0 0 8px; flex:1; color:#486176; }
.hth-root .hth-cards .hth-card-action {
 display:flex; justify-content:space-between; align-items:center; gap:8px;
 width:100%; min-height:44px; margin-top:auto; padding:9px 13px; border:1px solid #b9d4ec;
 border-radius:8px; background:#eef7ff; color:#0c4d87; font-weight:700; text-decoration:none;
}
.hth-root .hth-card-action:hover { background:#ddecfb; }
.hth-root .hth-steps button[aria-current="step"] { background:#e7f2ff; color:#104e8a; }
.htwp > .hth-legacy-intro, .htk > .hth-legacy-intro { display:none; }
.htwp > .hth-presentation, .htk > .hth-presentation, .hth-presentation:has(+ .hts-release-frame) {
 border:1px solid #d3e3f1; border-radius:16px; margin:0 auto 22px; max-width:1180px;
}
@media(max-width:540px){
 .hth-presentation { align-items:flex-start; gap:12px; }
 .hth-presentation .hth-visual { width:44px; height:44px; border-radius:10px; }
 .hth-presentation .hth-visual svg { width:24px; height:24px; }
}
@media print { .hth-presentation { display:none!important; } }
.hth-legacy-tool :is(.htw-card,.htk-card) { border:1px solid #d3e3f1; border-radius:16px; }
.hth-legacy-tool :is(.htw-body,#htk) :is(input,select,textarea),
#htk.hth-legacy-tool :is(input,select,textarea) { border-radius:8px; border-color:#b9d4ec; }
.hth-legacy-tool :is(.htw-chip,.htw-btn,.htk-go) { border-radius:8px; min-height:44px; }
.hth-back, .hth-root .hth-back {
 display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
 margin: 12px clamp(12px, 3vw, 28px); padding: 8px 14px;
 border: 1px solid #b9d4ec; border-radius: 8px;
 background: #eef7ff; color: #0c4d87; font-weight: 700;
 text-decoration: none; scroll-margin-top: 105px;
}
.hth-back:hover, .hth-root .hth-back:hover { background: #ddecfb; }
.hth-catalog summary { scroll-margin-top: 105px; }
@media print { .hth-back, .hth-root .hth-back { display: none !important; } }
