.sp-text { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; resize: vertical; }
.sp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 4px; }
.sp-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.sp-table th, .sp-table td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; white-space: nowrap; }
.sp-table th { font-size: 12px; color: var(--muted); font-weight: 700; }
.sp-table td.num, .sp-table th.num { text-align: right; }
.sp-table tr.sp-tight td:first-child { border-left: 4px solid var(--med); }
.sp-misfit { color: var(--high); }
.sp-calc-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 16px; margin: 12px 0 0; }
.sp-calc-dl dt { font-size: 13px; color: var(--muted); }
.sp-calc-dl dd { margin: 0; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
@media print { .sp-wrap { overflow: visible; } .sp-table { min-width: 0; white-space: normal; } #calculator { display: none; } }
