/* ===== Design Parameters and Specifications on a phone · the parameter grid, view only ===== */

/* the section runs with the page, so the grid's card is as tall as its rows */
#design-specification-section:not(.hidden) { display: block; }
#design-specification-section .parameter-grid-pane { overflow: visible; padding: 0.5rem 0.4rem; }

/* the grid keeps every parameter column and scrolls sideways inside its card */
#design-specification-section .table-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
/* cells size to content everywhere else (workspace.css), but a nominal value keeps a number's width */
#design-specification-table th,
#design-specification-table td { min-width: 4.5rem; }
/* the part stays put while its values scroll past it */
#design-specification-table td:nth-child(2),
#design-specification-table th:nth-child(2) { position: sticky; left: 0; z-index: var(--z-raise-1); min-width: 8rem; white-space: normal; background: var(--surface); }

/* the view-only chip leads the bar's actions, so it's the first thing seen past the trail */
#design-specification-section .phone-view-only-note { flex: none; }
#design-specification-section .pathbar .btn-secondary,
#design-specification-section .pathbar .btn-icon { min-height: 2.5rem; }

/* the part's solid panel stacks under the grid with room for the stage */
#design-specification-solid .tab-btn { min-height: var(--touch); }
#design-specification-solid .stage3d { min-height: 18rem; }
