/* 常態分佈計算機：隱藏欄位、曲線圖、結果表、分配表 */
#nd-form [hidden], #nd-result[hidden] { display: none !important; }
#nd-form input, #nd-form select { min-width: 0; max-width: 100%; }
#nd-form .calc-table th, #nd-form .calc-table td { overflow-wrap: anywhere; vertical-align: top; text-align: left; }
#nd-form .calc-table th { width: 8.5em; white-space: nowrap; }
#nd-big { font-variant-numeric: tabular-nums; }
.nd-sub { margin: 4px 0 0; font-variant-numeric: tabular-nums; }
#nd-svg { margin: 12px 0; }
#nd-svg svg { display: block; width: 100%; height: auto; max-width: 100%; }
.nd-curve { fill: none; stroke: #1f4e79; stroke-width: 2; }
.nd-area { fill: rgba(31, 78, 121, .35); stroke: none; }
.nd-axis { stroke: #64748b; stroke-width: 1; }
.nd-mark { stroke: #b45309; stroke-width: 1.5; stroke-dasharray: 4 3; }
.nd-tick { font-size: 13px; fill: #334155; }
.nd-tick2 { font-size: 11px; fill: #64748b; }
.nd-ztable { border-collapse: collapse; min-width: 640px; width: 100%; font-variant-numeric: tabular-nums; }
.nd-ztable th, .nd-ztable td { padding: 4px 6px; text-align: right; border: 1px solid #e2e8f0; font-size: .9rem; }
.nd-ztable thead th, .nd-ztable tbody th { background: #f1f5f9; }
