@import url("/assets/css/tch-platform.css?v=20260909-a11y1");
.tch-calc-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.82fr);gap:1.25rem;align-items:start;padding:0 0 2rem}.tch-panel{background:var(--tch-cream-card);border:1px solid var(--tch-gold-soft);border-radius:18px;padding:clamp(1rem,3vw,1.5rem)}.tch-panel h2{margin-top:0}.tch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.tch-field{display:grid;gap:.35rem}.tch-field label{font-weight:750;color:var(--tch-navy);font-size:.9rem}.tch-input-wrap{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid #baa87f;border-radius:10px;background:#fff;overflow:hidden}.tch-input-wrap:focus-within{outline:3px solid rgba(190,133,37,.2);border-color:var(--tch-gold)}.tch-input-wrap input{min-width:0;width:100%;border:0;padding:.78rem;background:transparent;font:inherit;color:var(--tch-navy)}.tch-input-wrap input:focus{outline:none}.tch-unit{padding:0 .7rem;color:var(--tch-ink-muted);font-size:.82rem}.tch-results{display:grid;gap:.7rem}.tch-result{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;border-bottom:1px solid #dfd3b9;padding:.55rem 0}.tch-result span{color:var(--tch-ink-muted);font-size:.9rem}.tch-result strong{font-family:var(--tch-serif);font-size:1.25rem;color:var(--tch-navy);text-align:right}.tch-result strong.negative{color:#9d2f2f}.tch-error{color:#8b1e1e;background:#fff0ed;border:1px solid #e6afa5;padding:.7rem;border-radius:9px;margin-top:.8rem}.tch-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1rem}.tch-button{border:1px solid var(--tch-navy);background:var(--tch-navy);color:#fff;border-radius:9px;padding:.65rem .9rem;font-weight:750;cursor:pointer}.tch-button.secondary{background:transparent;color:var(--tch-navy)}.tch-notes{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding-bottom:3rem}.tch-notes h2{font-size:1.45rem}.tch-note{background:#fff;border-top:3px solid var(--tch-gold);padding:1rem}.tch-schedule{width:100%;border-collapse:collapse;font-size:.82rem;margin-top:1rem}.tch-schedule th,.tch-schedule td{padding:.45rem;border-bottom:1px solid #ddd;text-align:right}.tch-schedule th:first-child,.tch-schedule td:first-child{text-align:left}.tch-table-wrap{overflow:auto;max-height:370px}.tch-example{font-size:.88rem;color:var(--tch-ink-muted);margin-top:-.4rem}.tch-source{font-size:.88rem;color:var(--tch-ink-muted)}
.tch-input-wrap:focus-within{outline:3px solid var(--tch-gold-bright);outline-offset:2px;border-color:var(--tch-navy)}
.tch-explainer{max-width:920px;margin:1rem auto 2.5rem;padding:clamp(1.2rem,3vw,2rem);background:var(--tch-cream-card);border:1px solid var(--tch-gold-soft);border-radius:18px}.tch-explainer h2,.tch-explainer h3{font-family:var(--tch-serif);color:var(--tch-navy)}.tch-explainer h2{font-size:clamp(1.7rem,4vw,2.45rem);line-height:1.1;margin:.1rem 0 1rem}.tch-explainer h3{font-size:1.25rem;margin:1.5rem 0 .6rem}.tch-explainer p,.tch-explainer li{line-height:1.7}.tch-explainer ul{padding-left:1.25rem}.tch-explainer a{font-weight:700}
@media(max-width:760px){.tch-calc-layout,.tch-notes{grid-template-columns:1fr}.tch-fields{grid-template-columns:1fr}.tch-panel{border-radius:14px}.tch-result strong{font-size:1.1rem}}
@media print{.tch-site-head,.tch-actions,.tch-footer{display:none}.tch-calc-layout{grid-template-columns:1fr 1fr}.tch-panel{break-inside:avoid}}
