.tco-tool .tco-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:1rem;margin:1rem 0}.tco-tool .tco-grid label{display:flex;flex-direction:column;gap:.4rem;font-weight:600}.tco-tool input:not([type=checkbox]),.tco-tool select{width:100%;max-width:100%;box-sizing:border-box;padding:.7rem;border:1px solid var(--border,#8995a3);border-radius:8px;background:var(--panel-strong);color:var(--text);font:inherit}.tco-tool .tco-check{display:flex;align-items:center;gap:.7rem;margin:1rem 0;font-weight:600}.tco-tool .tco-actions{display:flex;flex-wrap:wrap;gap:.7rem}.tco-tool .tco-note,.tco-tool small{opacity:.8;font-size:.9rem}.tco-tool .tco-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem;margin-top:1.25rem}.tco-tool .tco-metric{padding:1rem;border:1px solid currentColor;border-radius:9px}.tco-tool .tco-metric strong{display:block;font-size:.85rem;opacity:.8}.tco-tool .tco-metric span{display:block;font-size:1.35rem;font-weight:700;overflow-wrap:anywhere}.tco-tool #error:not(:empty){margin:1rem 0;font-weight:700;color:#b53232}.tco-tool [hidden]{display:none!important}

/* Keep calculator text fields readable in light and dark themes. */
.tco-tool input:not([type=checkbox])::placeholder{color:var(--muted);opacity:1}
