#js-tool-container-shveller-12-weight-calculator .sh12-app { --sh12-full: #2f66ff; --sh12-off: #b57c17; --sh12-gap: 18px; display: flex; flex-direction: column; gap: 22px; }
#js-tool-container-shveller-12-weight-calculator .tb-zone { display: flex; flex-direction: column; gap: 16px; }
#js-tool-container-shveller-12-weight-calculator .sh12-fs { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px 18px 18px; margin: 0; }
#js-tool-container-shveller-12-weight-calculator .sh12-legend { padding: 0 8px; font-weight: 650; font-size: 0.94rem; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .tbcalc-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 152px), 1fr)); gap: 16px 20px; }
#js-tool-container-shveller-12-weight-calculator .tb-field { display: flex; flex-direction: column; gap: 6px; }
#js-tool-container-shveller-12-weight-calculator .tb-field label { font-size: 0.92rem; font-weight: 550; color: var(--text-primary); }
#js-tool-container-shveller-12-weight-calculator .tb-field input, #js-tool-container-shveller-12-weight-calculator .tb-field select { height: 44px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-secondary); color: var(--text-primary); font-size: 16px; font-family: var(--font-sans); }
#js-tool-container-shveller-12-weight-calculator .tbcalc-hint { font-size: 0.8rem; line-height: 1.35; color: var(--text-muted); }
#js-tool-container-shveller-12-weight-calculator .sh12-hero { border: 1px solid var(--border-color); border-bottom: 4px solid var(--accent-primary); border-radius: var(--radius-md); background: var(--accent-light); padding: 18px 20px; min-height: 132px; display: flex; flex-direction: column; gap: 6px; }
#js-tool-container-shveller-12-weight-calculator .sh12-hero-label { font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-hero-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
#js-tool-container-shveller-12-weight-calculator .sh12-hero-value { font-size: clamp(2rem, 5.4vw, 3rem); font-weight: 750; line-height: 1.04; color: var(--text-primary); }
#js-tool-container-shveller-12-weight-calculator .sh12-hero-unit { font-size: 1.05rem; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-hero-note { margin: 0; font-size: 0.87rem; line-height: 1.42; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-status { border: 1px solid var(--border-color); border-left: 4px solid var(--border-color); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.88rem; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-status.is-warn { border-left-color: var(--warning); background: var(--warning-light); color: var(--text-primary); }
#js-tool-container-shveller-12-weight-calculator .sh12-status.is-danger { border-left-color: var(--danger); background: var(--danger-light); color: var(--text-primary); }
#js-tool-container-shveller-12-weight-calculator .sh12-stockmap { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 14px 16px 16px; }
#js-tool-container-shveller-12-weight-calculator .sh12-stockmap-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
#js-tool-container-shveller-12-weight-calculator .sh12-stockmap-kicker { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-stockmap-count { font-size: 0.95rem; font-weight: 650; color: var(--text-primary); }
#js-tool-container-shveller-12-weight-calculator .sh12-bars { display: flex; flex-direction: column; gap: 6px; }
#js-tool-container-shveller-12-weight-calculator .sh12-stockmap-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.83rem; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-foot-item { display: inline-flex; align-items: center; gap: 7px; }
#js-tool-container-shveller-12-weight-calculator .sh12-swatch { display: block; width: 12px; height: 12px; border-radius: 3px; }
#js-tool-container-shveller-12-weight-calculator .sh12-swatch-full { background: var(--sh12-full); }
#js-tool-container-shveller-12-weight-calculator .sh12-swatch-off { background: var(--sh12-off); }
#js-tool-container-shveller-12-weight-calculator .sh12-spec { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
#js-tool-container-shveller-12-weight-calculator .sh12-spec-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 10px 2px; border-top: 1px solid var(--border-color); font-size: 0.87rem; }
#js-tool-container-shveller-12-weight-calculator .sh12-spec-row:first-child { border-top: none; }
#js-tool-container-shveller-12-weight-calculator .sh12-spec-key { color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-spec-val { font-weight: 650; color: var(--text-primary); }
#js-tool-container-shveller-12-weight-calculator .sh12-spec-extra { color: var(--text-muted); font-size: 0.82rem; }
#js-tool-container-shveller-12-weight-calculator .sh12-canvas-wrap canvas { display: block; width: 100%; height: 100%; }
#js-tool-container-shveller-12-weight-calculator .sh12-canvas-desc { margin: 0; font-size: 0.83rem; line-height: 1.4; color: var(--text-muted); }
#js-tool-container-shveller-12-weight-calculator .sh12-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.83rem; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-legend-item { display: inline-flex; align-items: center; gap: 7px; }
#js-tool-container-shveller-12-weight-calculator .sh12-dot { display: block; width: 11px; height: 11px; border-radius: 50%; }
#js-tool-container-shveller-12-weight-calculator .sh12-dot-full { background: var(--sh12-full); }
#js-tool-container-shveller-12-weight-calculator .sh12-dot-off { background: var(--sh12-off); }
#js-tool-container-shveller-12-weight-calculator .sh12-table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius-md); }
#js-tool-container-shveller-12-weight-calculator .sh12-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
#js-tool-container-shveller-12-weight-calculator .sh12-table caption { text-align: left; padding: 10px 14px; font-size: 0.83rem; color: var(--text-muted); }
#js-tool-container-shveller-12-weight-calculator .sh12-table th, #js-tool-container-shveller-12-weight-calculator .sh12-table td { padding: 9px 14px; text-align: right; border-top: 1px solid var(--border-color); }
#js-tool-container-shveller-12-weight-calculator .sh12-table th { text-align: left; font-weight: 600; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-table td:first-child, #js-tool-container-shveller-12-weight-calculator .sh12-table td:nth-child(2) { text-align: left; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-table td:last-child { font-weight: 650; color: var(--text-primary); white-space: nowrap; }
#js-tool-container-shveller-12-weight-calculator .sh12-app { max-width: 100%; min-width: 0; }
#js-tool-container-shveller-12-weight-calculator .tb-zone { min-width: 0; max-width: 100%; }
#js-tool-container-shveller-12-weight-calculator .tbcalc-fieldset, #js-tool-container-shveller-12-weight-calculator .sh12-fs { min-width: 0; max-width: 100%; }
#js-tool-container-shveller-12-weight-calculator .tb-field, #js-tool-container-shveller-12-weight-calculator .tbcalc-field { min-width: 0; }
#js-tool-container-shveller-12-weight-calculator .tb-input, #js-tool-container-shveller-12-weight-calculator .tb-select, #js-tool-container-shveller-12-weight-calculator .tb-field input, #js-tool-container-shveller-12-weight-calculator .tb-field select { min-width: 0; width: 100%; }
#js-tool-container-shveller-12-weight-calculator .tb-table-wrap { overflow-x: auto; min-width: 0; max-width: 100%; -webkit-overflow-scrolling: touch; }
#js-tool-container-shveller-12-weight-calculator .tb-table, #js-tool-container-shveller-12-weight-calculator .tbcalc-table { table-layout: auto; min-width: 0; }
#js-tool-container-shveller-12-weight-calculator .tb-table td, #js-tool-container-shveller-12-weight-calculator .tb-table th { overflow-wrap: anywhere; }
#js-tool-container-shveller-12-weight-calculator .tb-ledger-row, #js-tool-container-shveller-12-weight-calculator .tb-spec-row { min-width: 0; }
#js-tool-container-shveller-12-weight-calculator .tb-ledger-label, #js-tool-container-shveller-12-weight-calculator .tb-spec-label { overflow-wrap: anywhere; }
#js-tool-container-shveller-12-weight-calculator .tb-analysis { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: 760px; }
#js-tool-container-shveller-12-weight-calculator .sh12-canvas-wrap { position: relative; width: 100%; min-height: 220px; aspect-ratio: 8 / 3; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; contain: layout; }
#js-tool-container-shveller-12-weight-calculator .sh12-outcome { gap: 16px; }
#js-tool-container-shveller-12-weight-calculator .sh12-topline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; align-items: stretch; }
#js-tool-container-shveller-12-weight-calculator .sh12-pricecard { border: 1px solid var(--border-color); border-left: 4px solid var(--sh12-steel); border-radius: var(--radius-md); background: var(--bg-secondary); padding: 14px 18px 12px; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
#js-tool-container-shveller-12-weight-calculator .sh12-pricecard-label { font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
#js-tool-container-shveller-12-weight-calculator .sh12-pricecard-row { display: flex; align-items: baseline; gap: 8px; }
#js-tool-container-shveller-12-weight-calculator .sh12-pricecard-val { font-size: clamp(1.4rem, 3.4vw, 1.8rem); font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; }
#js-tool-container-shveller-12-weight-calculator .sh12-pricecard-sub { font-size: 0.82rem; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-cut { display: grid; grid-template-columns: 20px minmax(0, 1fr) 74px; align-items: center; gap: 10px; }
#js-tool-container-shveller-12-weight-calculator .sh12-cut-idx { font-size: 0.78rem; color: var(--text-muted); text-align: right; font-variant-numeric: tabular-nums; }
#js-tool-container-shveller-12-weight-calculator .sh12-cut-track { position: relative; height: 18px; border-radius: 4px; background: var(--bg-tertiary); border: 1px solid var(--border-color); overflow: hidden; }
#js-tool-container-shveller-12-weight-calculator .sh12-cut-fill { position: absolute; top: 0; bottom: 0; left: 0; background: var(--accent-primary); }
#js-tool-container-shveller-12-weight-calculator .sh12-cut-off { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, var(--warning) 0 3px, var(--warning-light) 3px 7px); }
#js-tool-container-shveller-12-weight-calculator .sh12-cut-len { font-size: 0.82rem; color: var(--text-secondary); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
#js-tool-container-shveller-12-weight-calculator .sh12-cut-more { grid-column: 1 / -1; font-size: 0.8rem; color: var(--text-muted); }
#js-tool-container-shveller-12-weight-calculator .sh12-strip { display: flex; flex-direction: column; gap: 7px; padding: 2px 2px 0; }
#js-tool-container-shveller-12-weight-calculator .sh12-strip-row { display: flex; align-items: baseline; gap: 10px; font-size: 0.9rem; padding-bottom: 7px; background-image: radial-gradient(circle, var(--border-color) 1px, transparent 1.4px); background-size: 9px 2px; background-repeat: repeat-x; background-position: 0 100%; }
#js-tool-container-shveller-12-weight-calculator .sh12-strip-label { background: var(--bg-primary); padding-right: 8px; color: var(--text-secondary); }
#js-tool-container-shveller-12-weight-calculator .sh12-strip-val { margin-left: auto; background: var(--bg-primary); padding-left: 8px; font-weight: 650; color: var(--text-primary); font-variant-numeric: tabular-nums; }
#js-tool-container-shveller-12-weight-calculator .sh12-dot-metal { background: var(--sh12-steel); }
