#js-tool-container-stair-total-rise-calculator .str-app { display: flex; flex-direction: column; gap: 22px; color: var(--text-primary); }
#js-tool-container-stair-total-rise-calculator .str-app, #js-tool-container-stair-total-rise-calculator .str-app * { box-sizing: border-box; }
#js-tool-container-stair-total-rise-calculator .tbcalc-fieldset { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px 18px 18px; margin: 0 0 14px; background: var(--bg-secondary); }
#js-tool-container-stair-total-rise-calculator .tbcalc-legend { padding: 0 6px; font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); }
#js-tool-container-stair-total-rise-calculator .tbcalc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
#js-tool-container-stair-total-rise-calculator .tbcalc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#js-tool-container-stair-total-rise-calculator .tbcalc-hint { font-size: 0.8rem; line-height: 1.35; color: var(--text-muted); }
#js-tool-container-stair-total-rise-calculator .str-outcome { display: flex; flex-direction: column; gap: 16px; }
#js-tool-container-stair-total-rise-calculator .str-hero { border-left: 4px solid var(--accent-primary); background: var(--accent-light); border-radius: var(--radius-md); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-height: 118px; }
#js-tool-container-stair-total-rise-calculator .str-hero-label { font-size: 0.9rem; color: var(--text-secondary); }
#js-tool-container-stair-total-rise-calculator .str-hero-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
#js-tool-container-stair-total-rise-calculator .str-hero-value { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.05; color: var(--text-primary); }
#js-tool-container-stair-total-rise-calculator .str-hero-note { margin: 0; font-size: 0.86rem; line-height: 1.4; color: var(--text-secondary); }
#js-tool-container-stair-total-rise-calculator .tbcalc-unit { font-size: 1rem; color: var(--text-secondary); }
#js-tool-container-stair-total-rise-calculator .tbcalc-status { border: 1px solid var(--border-color); border-left: 4px solid var(--accent-primary); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.9rem; line-height: 1.4; color: var(--text-secondary); }
#js-tool-container-stair-total-rise-calculator .tbcalc-status.warn { border-left-color: var(--warning); background: var(--warning-light); color: var(--text-primary); }
#js-tool-container-stair-total-rise-calculator .str-sec-wrap { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: stretch; background: var(--bg-secondary); }
#js-tool-container-stair-total-rise-calculator .str-sec { display: flex; flex-direction: column; min-width: 0; }
#js-tool-container-stair-total-rise-calculator .str-band { display: flex; align-items: center; justify-content: center; min-height: 26px; }
#js-tool-container-stair-total-rise-calculator .str-band-lab { font-size: 0.78rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
#js-tool-container-stair-total-rise-calculator .str-band-mark { border-top: 3px solid var(--text-secondary); min-height: 18px; background: repeating-linear-gradient(90deg, var(--border-color) 0 8px, transparent 8px 16px); }
#js-tool-container-stair-total-rise-calculator .str-band-mark-top { border-top: 0; border-bottom: 3px solid var(--text-secondary); }
#js-tool-container-stair-total-rise-calculator .str-band-room { background: var(--bg-tertiary); border-left: 4px solid var(--accent-primary); }
#js-tool-container-stair-total-rise-calculator .str-band-slab { background: var(--accent-light); border-left: 4px solid var(--accent-primary); }
#js-tool-container-stair-total-rise-calculator .str-band-top { background: var(--success-light); border-left: 4px solid var(--success); }
#js-tool-container-stair-total-rise-calculator .str-sec-desc { margin: 0; font-size: 0.8rem; line-height: 1.45; color: var(--text-muted); align-self: center; }
#js-tool-container-stair-total-rise-calculator .str-checks { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-secondary); overflow: hidden; }
#js-tool-container-stair-total-rise-calculator .str-check { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-top: 1px solid var(--border-color); min-height: 46px; }
#js-tool-container-stair-total-rise-calculator .str-check:first-child { border-top: 0; }
#js-tool-container-stair-total-rise-calculator .str-dot { width: 10px; height: 10px; border-radius: 999px; flex: 0 0 10px; background: var(--text-muted); }
#js-tool-container-stair-total-rise-calculator .str-dot-ok { background: var(--success); }
#js-tool-container-stair-total-rise-calculator .str-dot-warn { background: var(--warning); }
#js-tool-container-stair-total-rise-calculator .str-check-lab { flex: 1 1 auto; font-size: 0.87rem; color: var(--text-secondary); }
#js-tool-container-stair-total-rise-calculator .str-check-val { font-size: 0.95rem; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
#js-tool-container-stair-total-rise-calculator .str-details { display: flex; flex-direction: column; gap: 12px; }
#js-tool-container-stair-total-rise-calculator .tbcalc-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); background: var(--bg-secondary); }
#js-tool-container-stair-total-rise-calculator .tbcalc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
#js-tool-container-stair-total-rise-calculator .str-table-caption { caption-side: top; text-align: left; padding: 10px 14px 2px; font-size: 0.84rem; color: var(--text-secondary); }
#js-tool-container-stair-total-rise-calculator .tbcalc-table th, #js-tool-container-stair-total-rise-calculator .tbcalc-table td { padding: 8px 12px; text-align: right; border-top: 1px solid var(--border-color); white-space: nowrap; }
#js-tool-container-stair-total-rise-calculator .tbcalc-table thead th { color: var(--text-secondary); font-weight: 600; border-top: 0; }
#js-tool-container-stair-total-rise-calculator .tbcalc-table th[scope="row"], #js-tool-container-stair-total-rise-calculator .tbcalc-table thead th:first-child { text-align: left; }
#js-tool-container-stair-total-rise-calculator .str-limits { margin: 0; font-size: 0.84rem; line-height: 1.45; color: var(--text-muted); }
@media (max-width: 720px) { #js-tool-container-stair-total-rise-calculator .str-sec-wrap { grid-template-columns: 1fr; } #js-tool-container-stair-total-rise-calculator .str-sec-desc { align-self: flex-start; } }
@media (max-width: 600px) { #js-tool-container-stair-total-rise-calculator .tbcalc-grid-2 { grid-template-columns: 1fr; } }