
.htb-stc{box-sizing:border-box;max-width:100%;margin:22px 0;padding:20px;border:1px solid #d4deea;border-radius:14px;background:#f7fafe;color:#17324b;font-family:inherit;font-size:16px;line-height:1.5}
.htb-stc *{box-sizing:border-box}
.htb-stc-top strong{display:block;font-size:19px;line-height:1.35}
.htb-stc-top p{font-size:15px;line-height:1.5;color:#405870;margin:6px 0 15px}
.htb-stc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px;margin:10px 0}
.htb-stc-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:#243c55;font-size:15px;font-weight:600;line-height:1.4}
.htb-stc-field>span{font-size:15px;line-height:1.4}
.htb-stc-field input,.htb-stc-field select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;margin:0!important;padding:10px!important;background:#fff!important;color:#182d40!important;border:1px solid #b6c5d4!important;border-radius:8px!important;font-family:inherit!important;font-size:16px!important;line-height:1.4!important}
.htb-stc-field input:focus-visible,.htb-stc-field select:focus-visible,.htb-stc-modes input:focus-visible,.htb-stc-details summary:focus-visible{outline:3px solid #80a9d2;outline-offset:2px}
.htb-stc-modes{border:0;margin:12px 0 8px;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.htb-stc-modes legend{font-size:15px;font-weight:700;color:#203a53;padding:0;margin:0 0 5px}
.htb-stc-modes label{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:15px!important;line-height:1.5}
.htb-stc-modes input{accent-color:#1659a3;min-width:18px;min-height:18px;margin:0}
.htb-stc-results{display:block!important;white-space:pre-line;overflow-wrap:anywhere;margin:12px 0!important;padding:15px!important;background:#15345e;color:#fff!important;border-radius:11px;font-family:inherit;font-size:16px!important;line-height:1.65!important;font-variant-numeric:tabular-nums}
.htb-stc-details{margin:10px 0 2px;padding:0 0 8px;border:1px solid #d6e1ee;border-radius:10px;background:#fff}
.htb-stc-details summary{cursor:pointer;padding:13px 15px;font-size:16px!important;font-weight:700;line-height:1.5;color:#194169;list-style:revert}
.htb-stc-details[open] summary{border-bottom:1px solid #d6e1ee}
.htb-stc-details>p,.htb-stc-details>.htb-stc-grid,.htb-stc-details>.htb-stc-scenario{margin:14px!important}
.htb-stc-note{font-size:14px!important;line-height:1.55!important;color:#334c68;background:#eef4fb;border-radius:8px;padding:12px}
.htb-stc-scenario[hidden]{display:none!important}
.htb-stc-foot{font-size:14px!important;line-height:1.5!important;color:#41576d;margin:10px 0 0!important}
.htb-table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.htb-table-scroll table{min-width:600px;width:100%;font-size:15px!important;line-height:1.45;border-collapse:collapse}
.htb-table-scroll th,.htb-table-scroll td{font-size:15px!important;padding:11px;border:1px solid #d6e1ed;vertical-align:top;text-align:left}
.htb-table-scroll th{background:#eef4fb}
@media(max-width:380px){.htb-stc{padding:13px}.htb-stc-grid{grid-template-columns:1fr;gap:10px}.htb-stc-modes{display:grid;gap:8px}.htb-stc-details>p,.htb-stc-details>.htb-stc-grid,.htb-stc-details>.htb-stc-scenario{margin:10px!important}}
/* Twenty Twenty centers article blocks with auto side margins; keep calculator in same text column. */
.entry-content > .htb-stc{margin-left:auto;margin-right:auto}
/* Align numeric inputs across a two-column row even when labels wrap. */
.htb-stc-field input,.htb-stc-field select{margin-top:auto!important}
