/* Page-owned gear workspace. No global header, advertising or other tool rules. */
#ns-gear-tool{align-items:start}
#ns-gear-tool .panel,#ns-gear-tool .viz-panel{min-width:0}
#ns-gear-tool .viz-panel>.chart-card{order:0!important}
#ns-gear-tool .section-title{margin:18px 0 10px;font-size:.76rem;letter-spacing:.03em}
#ns-gear-tool .section-title:first-child{margin-top:0}
#ns-gear-tool .ctrl-group{margin-bottom:16px}
#ns-gear-tool .ns-gear-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
#ns-gear-tool .ns-gear-label label{margin:0;min-width:0;font-size:.82rem;line-height:1.5}
#ns-gear-tool .num-wrap{display:inline-flex;align-items:center;gap:5px;flex:none}
#ns-gear-tool .num-input{box-sizing:border-box;width:78px;max-width:100%;padding:5px 6px;border:1px solid #cbd5e1;border-radius:6px;font-size:.85rem;line-height:1.3;background:#fff;color:#142d45}
#ns-gear-tool .num-unit{min-width:22px;font-size:.75rem}
#ns-gear-tool input[type=range]{display:block;width:100%;height:4px;margin:10px 0;accent-color:#167ca7;cursor:pointer}
#ns-gear-tool select{padding:7px 8px;font-size:.82rem;line-height:1.4}
#ns-gear-tool .ns-gear-small{font-size:.78rem;line-height:1.7;color:#536779;margin:8px 0}
#ns-gear-tool .ns-gear-ref-editor{border-top:1px solid #dce5ec;margin-top:12px;padding-top:10px}
#ns-gear-tool .ns-gear-ref-editor summary{cursor:pointer;font-size:.8rem;font-weight:600;line-height:1.6;color:#213f59}
#ns-gear-tool .ns-gear-ref-editor[open] summary{margin-bottom:12px}
#ns-gear-tool .ns-gear-animation-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
#ns-gear-tool .ns-gear-animation-controls label{display:flex;align-items:center;gap:7px;margin:0;font-size:.8rem;line-height:1.5}
#ns-gear-tool #btnPlayPause{padding:8px 14px;border:1px solid #bdd0df;border-radius:7px;background:#eaf5fa;color:#153f5e;cursor:pointer;font:inherit;font-size:.82rem}
#ns-gear-tool #btnPlayPause:focus-visible,#ns-gear-tool input:focus-visible,#ns-gear-tool select:focus-visible{outline:3px solid #72c3df;outline-offset:2px}
#ns-gear-tool .chart-card{margin-bottom:18px;min-width:0}
#ns-gear-tool .ns-gear-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
#ns-gear-tool .ns-gear-result{min-width:0;padding:12px 8px;border:1px solid #dce6ed;border-radius:8px;background:#f7fbfe;text-align:left;box-shadow:none}
#ns-gear-tool .ns-gear-result .stat-label{font-size:.74rem;line-height:1.5;color:#52697d;margin-bottom:7px;white-space:normal}
#ns-gear-tool .ns-gear-result .sv{font:600 1.32rem/1.2 'Roboto Mono',monospace;color:#153f5e;overflow-wrap:normal;word-break:normal;white-space:nowrap}
#ns-gear-tool .ns-gear-result .stat-unit{font-size:.7rem;margin:4px 0 8px;color:#536779}
#ns-gear-tool .ns-gear-ratio{font-size:.72rem;line-height:1.5;color:#52697d;margin:0}
#ns-gear-tool .ns-gear-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.77rem;line-height:1.6;color:#52697d;margin:12px 0 0}
#ns-gear-tool .ns-gear-message{border-left:3px solid #97b6ca;background:#f4f8fb;border-radius:0 6px 6px 0;padding:10px 12px;margin:14px 0 0;font-size:.79rem;line-height:1.7;color:#354f65}
#ns-gear-tool .ns-gear-message.caution{border-color:#bd8a28;background:#fffaef;color:#72551f}
#ns-gear-tool #gearInputNotice{color:#77541d;background:#fff8e7;border-radius:6px;padding:8px 10px;font-size:.78rem;line-height:1.6}
#ns-gear-tool .ns-gear-scene{display:block;width:100%!important;height:320px!important;aspect-ratio:auto!important;max-height:none!important;min-height:0!important;min-width:0;border-radius:9px;background:#0b2030;touch-action:pan-y}
#ns-gear-tool .ns-gear-scene:focus-visible{outline:3px solid #63bed2;outline-offset:3px}
#ns-gear-tool .ns-gear-current{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.78rem;line-height:1.7;color:#415e73;margin:10px 0}
#ns-gear-tool .ns-gear-chart-holder{position:relative;height:320px;min-width:0;width:100%}
#ns-gear-tool .ns-gear-chart-holder canvas{width:100%!important;height:100%!important;aspect-ratio:auto!important;min-height:0!important;max-width:100%}
#ns-gear-tool .formula-box{margin-bottom:0;line-height:1.9;overflow-x:auto}
#ns-gear-reading .ns-gear-table-wrap{overflow-x:auto;max-width:100%;margin:12px 0}
#ns-gear-reading table{border-collapse:collapse;width:100%;font-size:.88rem;line-height:1.6}
#ns-gear-reading th,#ns-gear-reading td{padding:9px 12px;text-align:left;border-bottom:1px solid #dce5ec}
#ns-gear-reading th{background:#f2f7fb;color:#173f5c}
#ns-gear-reading .ns-gear-faq{border-bottom:1px solid #dce5ec;padding:12px 0}
#ns-gear-reading .ns-gear-faq summary{cursor:pointer;font-weight:600;line-height:1.7;color:#173f5c}
#ns-gear-reading .ns-gear-faq p{margin:10px 0 0}
#ns-gear-reading .formula-box .cc-body{overflow-x:auto!important}
@media(max-width:1100px){#ns-gear-tool .ns-gear-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
#ns-gear-reading .ns-gear-equations{padding:12px 16px;background:#edf5fa;border-left:3px solid #72a6c4;border-radius:0 6px 6px 0;line-height:1.8;font-size:.94rem;overflow-wrap:anywhere}
#ns-gear-reading .ns-gear-equations>div+div{margin-top:7px}
@media(max-width:820px){#ns-gear-tool .ns-gear-chart-holder{height:300px}}
@media(max-width:480px){#ns-gear-tool .ns-gear-results{gap:8px}#ns-gear-tool .ns-gear-result{padding:10px 7px}#ns-gear-tool .ns-gear-result .sv{font-size:1.18rem}#ns-gear-tool .ns-gear-scene{height:300px!important}}
