#js-tool-container-structural-rigel-calculator .rigel-app{display:flex;flex-direction:column;gap:22px;color:var(--text-primary);font-family:var(--font-sans)}
#js-tool-container-structural-rigel-calculator .rigel-app *{box-sizing:border-box}
#js-tool-container-structural-rigel-calculator .tbcalc-fieldset{margin:0 0 16px;padding:16px 18px 18px;border:1px solid var(--border-color);border-radius:var(--radius-md)}
#js-tool-container-structural-rigel-calculator .tbcalc-fieldset:last-child{margin-bottom:0}
#js-tool-container-structural-rigel-calculator .tbcalc-legend{padding:0 7px;color:var(--text-secondary);font-size:.94rem;font-weight:650}
#js-tool-container-structural-rigel-calculator .tb-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px}
#js-tool-container-structural-rigel-calculator .tbcalc-span-all{grid-column:1/-1}
#js-tool-container-structural-rigel-calculator .tbcalc-field{display:flex;min-width:0;flex-direction:column;gap:6px}
#js-tool-container-structural-rigel-calculator .tbcalc-field label{color:var(--text-primary);font-size:.9rem;font-weight:600}
#js-tool-container-structural-rigel-calculator .tbcalc-field .tb-input,#js-tool-container-structural-rigel-calculator .tbcalc-field .tb-select{width:100%;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:inherit}
#js-tool-container-structural-rigel-calculator .tbcalc-hint{color:var(--text-muted);font-size:.8rem;line-height:1.35}
#js-tool-container-structural-rigel-calculator .tbcalc-section-note{margin:0}
#js-tool-container-structural-rigel-calculator .rigel-outcome,#js-tool-container-structural-rigel-calculator .rigel-preview,#js-tool-container-structural-rigel-calculator .rigel-details{display:flex;flex-direction:column;gap:14px}
#js-tool-container-structural-rigel-calculator .rigel-limit-sheet{display:grid;gap:0;padding:0;grid-template-columns:minmax(0,1fr) minmax(210px,.38fr);min-height:124px;overflow:hidden;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-secondary)}
#js-tool-container-structural-rigel-calculator .rigel-limit-answer{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:8px;padding:17px 20px;border-left:5px solid var(--accent-primary)}
#js-tool-container-structural-rigel-calculator .tb-hero-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
#js-tool-container-structural-rigel-calculator .rigel-eta{color:var(--accent-primary);font:700 1rem var(--font-mono)}
#js-tool-container-structural-rigel-calculator .tb-hero-value{color:var(--text-primary);font-size:clamp(2.2rem,6vw,3.8rem);font-weight:760;line-height:.95}
#js-tool-container-structural-rigel-calculator .tb-hero-label{color:var(--text-secondary);font-size:.78rem;font-weight:680;letter-spacing:.045em;text-transform:uppercase}
#js-tool-container-structural-rigel-calculator .tb-hero-note{margin:0;color:var(--text-secondary);font-size:.86rem;line-height:1.45}
#js-tool-container-structural-rigel-calculator .tb-unit{color:var(--text-secondary);font-weight:650}
#js-tool-container-structural-rigel-calculator .rigel-verdict-panel{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:16px 18px;border-left:1px solid var(--border-color);background:var(--bg-tertiary)}
#js-tool-container-structural-rigel-calculator .rigel-verdict-panel strong{font-size:1.12rem;line-height:1.3}
#js-tool-container-structural-rigel-calculator .rigel-verdict-panel>span:last-child{color:var(--text-secondary);font-size:.82rem}
#js-tool-container-structural-rigel-calculator .rigel-limit-state{align-self:flex-start;padding:4px 7px;border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary);font:700 .72rem var(--font-mono);letter-spacing:.08em}
#js-tool-container-structural-rigel-calculator .rigel-verdict-panel.is-warn{box-shadow:inset 4px 0 0 var(--warning)}
#js-tool-container-structural-rigel-calculator .rigel-verdict-panel.is-danger{box-shadow:inset 4px 0 0 var(--danger)}
#js-tool-container-structural-rigel-calculator .tb-status{padding:11px 14px;border-left:3px solid var(--accent-primary);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--bg-tertiary);color:var(--text-secondary);font-size:.9rem;line-height:1.45}
#js-tool-container-structural-rigel-calculator .tb-status.is-warn{border-left-color:var(--warning);background:var(--warning-light);color:var(--text-primary)}
#js-tool-container-structural-rigel-calculator .tb-status.is-danger{border-left-color:var(--danger);background:var(--danger-light);color:var(--text-primary)}
#js-tool-container-structural-rigel-calculator .rigel-limit-map{display:flex;flex-direction:column;gap:0;overflow:hidden;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-secondary)}
#js-tool-container-structural-rigel-calculator .rigel-limit-head{display:grid;grid-template-columns:110px minmax(150px,1fr) 62px 148px;align-items:end;min-height:34px;padding:7px 14px;border-bottom:1px solid var(--border-color);color:var(--text-secondary);font-size:.76rem;font-weight:650}
#js-tool-container-structural-rigel-calculator .rigel-limit-axis{position:relative;grid-column:2;height:14px;color:var(--text-muted);font:600 .68rem var(--font-mono)}
#js-tool-container-structural-rigel-calculator .rigel-limit-axis i{position:absolute;bottom:0;font-style:normal;transform:translateX(-50%)}
#js-tool-container-structural-rigel-calculator .rigel-limit-axis i:nth-child(1){left:0;transform:none}
#js-tool-container-structural-rigel-calculator .rigel-limit-axis i:nth-child(2){left:68%}
#js-tool-container-structural-rigel-calculator .rigel-limit-axis i:nth-child(3){left:80%}
#js-tool-container-structural-rigel-calculator .rigel-limit-axis i:nth-child(4){left:100%;transform:translateX(-100%)}
#js-tool-container-structural-rigel-calculator .rigel-check{display:grid;grid-template-columns:110px minmax(150px,1fr) 62px 148px;align-items:center;gap:12px;min-height:45px;padding:7px 14px;border-bottom:1px solid var(--border-color)}
#js-tool-container-structural-rigel-calculator .rigel-check:last-child{border-bottom:0}
#js-tool-container-structural-rigel-calculator .rigel-check-name{font-size:.84rem;font-weight:650}
#js-tool-container-structural-rigel-calculator .rigel-check>output{font-weight:720;text-align:right}
#js-tool-container-structural-rigel-calculator .rigel-check small{color:var(--text-muted);font-size:.75rem;line-height:1.25}
#js-tool-container-structural-rigel-calculator .rigel-track{position:relative;display:block;height:9px;overflow:hidden;border-radius:2px;background:linear-gradient(90deg,var(--bg-tertiary) 0 68%,var(--warning-light) 68% 80%,var(--danger-light) 80% 100%)}
#js-tool-container-structural-rigel-calculator .rigel-track:before,#js-tool-container-structural-rigel-calculator .rigel-track:after{position:absolute;z-index:2;top:0;bottom:0;width:1px;background:var(--text-muted);content:"";opacity:.45}
#js-tool-container-structural-rigel-calculator .rigel-track:before{left:68%}
#js-tool-container-structural-rigel-calculator .rigel-track:after{left:80%}
#js-tool-container-structural-rigel-calculator .rigel-track i{display:block;width:0;height:100%;border-radius:2px;background:var(--accent-primary);transition:width .22s ease}
#js-tool-container-structural-rigel-calculator .rigel-check.is-warn .rigel-track i{background:var(--warning)}
#js-tool-container-structural-rigel-calculator .rigel-check.is-danger .rigel-track i{background:var(--danger)}
#js-tool-container-structural-rigel-calculator .rigel-section-demand{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-secondary)}
#js-tool-container-structural-rigel-calculator .rigel-section-demand>div{display:flex;min-width:0;flex-direction:column;gap:5px;padding:10px 13px;border-right:1px solid var(--border-color)}
#js-tool-container-structural-rigel-calculator .rigel-section-demand>div:last-child{border-right:0}
#js-tool-container-structural-rigel-calculator .rigel-section-demand span{color:var(--text-secondary);font-size:.75rem;text-transform:uppercase;letter-spacing:.035em}
#js-tool-container-structural-rigel-calculator .rigel-section-demand strong{font-size:.95rem;white-space:nowrap}
#js-tool-container-structural-rigel-calculator .rigel-section-demand small{color:var(--text-muted);font-size:.74rem}
#js-tool-container-structural-rigel-calculator .rigel-canvas-wrap{position:relative;width:100%;height:clamp(300px,38vw,410px);min-height:0;overflow:hidden;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-tertiary);contain:layout}
#js-tool-container-structural-rigel-calculator .rigel-canvas-wrap canvas{display:block;width:100%;height:100%}
#js-tool-container-structural-rigel-calculator .rigel-canvas-desc{margin:0;color:var(--text-muted);font-size:.82rem;line-height:1.4}
#js-tool-container-structural-rigel-calculator .rigel-key{display:flex;gap:16px;flex-wrap:wrap;color:var(--text-secondary);font-size:.8rem}
#js-tool-container-structural-rigel-calculator .rigel-key span{display:flex;align-items:center;gap:6px}
#js-tool-container-structural-rigel-calculator .rigel-key i{display:block;width:20px;height:3px;border-radius:99px;background:var(--accent-primary)}
#js-tool-container-structural-rigel-calculator .rigel-key .rigel-key-shear{background:var(--warning)}
#js-tool-container-structural-rigel-calculator .rigel-key .rigel-key-defl{height:0;border-top:2px dashed var(--success);background:transparent}
#js-tool-container-structural-rigel-calculator .rigel-ledger{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--border-color);border-radius:var(--radius-md)}
#js-tool-container-structural-rigel-calculator .rigel-ledger div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid var(--border-color)}
#js-tool-container-structural-rigel-calculator .rigel-ledger div:nth-child(odd){border-right:1px solid var(--border-color)}
#js-tool-container-structural-rigel-calculator .rigel-ledger div:nth-last-child(-n+2){border-bottom:0}
#js-tool-container-structural-rigel-calculator .rigel-ledger span{color:var(--text-secondary);font-size:.84rem}
#js-tool-container-structural-rigel-calculator .rigel-ledger strong{font-size:.9rem;white-space:nowrap}
#js-tool-container-structural-rigel-calculator .tb-formula-block{margin:0;padding:12px 14px;border-left:3px solid var(--accent-primary);background:var(--bg-tertiary);color:var(--text-secondary);overflow-x:auto}
#js-tool-container-structural-rigel-calculator .tb-formula-main{font-family:var(--font-mono);font-size:.82rem}
@media (max-width:820px){#js-tool-container-structural-rigel-calculator .tb-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}#js-tool-container-structural-rigel-calculator .tbcalc-span-all{grid-column:1/-1}#js-tool-container-structural-rigel-calculator .rigel-limit-sheet{grid-template-columns:minmax(0,1fr) 190px}#js-tool-container-structural-rigel-calculator .rigel-limit-head{grid-template-columns:84px minmax(120px,1fr) 56px}#js-tool-container-structural-rigel-calculator .rigel-check{grid-template-columns:84px minmax(120px,1fr) 56px}#js-tool-container-structural-rigel-calculator .rigel-limit-head>span:first-child,#js-tool-container-structural-rigel-calculator .rigel-check small{display:none}#js-tool-container-structural-rigel-calculator .rigel-ledger{grid-template-columns:1fr}#js-tool-container-structural-rigel-calculator .rigel-ledger div:nth-child(odd){border-right:0}#js-tool-container-structural-rigel-calculator .rigel-ledger div:nth-last-child(2){border-bottom:1px solid var(--border-color)}}
@media (max-width:600px){#js-tool-container-structural-rigel-calculator .tb-grid-3{grid-template-columns:1fr}#js-tool-container-structural-rigel-calculator .tbcalc-span-all{grid-column:auto}#js-tool-container-structural-rigel-calculator .rigel-outcome,#js-tool-container-structural-rigel-calculator .rigel-preview,#js-tool-container-structural-rigel-calculator .rigel-details{gap:12px}#js-tool-container-structural-rigel-calculator .rigel-limit-sheet{grid-template-columns:1fr}#js-tool-container-structural-rigel-calculator .rigel-limit-answer{padding:18px 16px}#js-tool-container-structural-rigel-calculator .rigel-verdict-panel{display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:13px 16px;border-top:1px solid var(--border-color);border-left:0}#js-tool-container-structural-rigel-calculator .rigel-verdict-panel>span:last-child{text-align:right}#js-tool-container-structural-rigel-calculator .rigel-limit-head{grid-template-columns:64px minmax(100px,1fr) 50px;padding-inline:10px}#js-tool-container-structural-rigel-calculator .rigel-check{grid-template-columns:64px minmax(100px,1fr) 50px;gap:8px;padding-inline:10px}#js-tool-container-structural-rigel-calculator .rigel-section-demand{grid-template-columns:1fr}#js-tool-container-structural-rigel-calculator .rigel-section-demand>div{display:grid;grid-template-columns:1fr auto;align-items:baseline;border-right:0;border-bottom:1px solid var(--border-color)}#js-tool-container-structural-rigel-calculator .rigel-section-demand>div:last-child{border-bottom:0}#js-tool-container-structural-rigel-calculator .rigel-section-demand small{grid-column:1/-1}#js-tool-container-structural-rigel-calculator .rigel-canvas-wrap{height:300px}}