/* * Base reset, viewport-locked shell (preventing ultra-long px scroll pages), * and precision tabular typography. */ * { box-sizing: border-box; scrollbar-width: none; -ms-overflow-style: none; } *::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; } [hidden] { display: none !important; } html, body { margin: 0; padding: 0; width: 100%; height: 100dvh; max-height: 100dvh; overflow: hidden; background: var(--surface-bg); color: var(--text-primary); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif; font-size: var(--fs-body); line-height: 1.4; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; } button, input, select, textarea, table, th, td { font-family: inherit; font-size: inherit; font-stretch: inherit; font-variation-settings: inherit; line-height: inherit; letter-spacing: inherit; font-variant-numeric: inherit; color: inherit; } input[type="number"] { appearance: textfield; -moz-appearance: textfield; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } .app-shell { display: flex; flex-direction: column; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; padding: var(--space-3) var(--space-4); gap: var(--space-3); overflow: hidden; position: relative; } html[data-standalone="true"] .app-shell { max-width: 960px; margin: 0 auto; } @media (min-width: 980px) { html[data-standalone="true"] .app-shell { padding: var(--space-4) var(--space-5); border-left: 1px solid var(--border-hairline); border-right: 1px solid var(--border-hairline); } } .top-deck { display: flex; flex-direction: column; gap: var(--space-2); flex-shrink: 0; } .viewport-stage { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; position: relative; } .view-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: var(--space-3); overflow-y: auto; overflow-x: hidden; padding-right: 1px; } .svg-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; } .text-muted { color: var(--text-secondary); } .text-mono { font-variant-numeric: tabular-nums; }