:root {
	--bg-primary: #ffffff;
	--bg-secondary: #f5f6f8;
	--bg-sidebar: #f8f9fb;
	--bg-toolbar: #f8f9fb;
	--accent: #4a7cff;
	--accent-hover: #3a65d4;
	--accent-light: rgba(74,124,255,0.08);
	--text-primary: #1a1d23;
	--text-secondary: #5f6673;
	--text-muted: #8e95a3;
	--border: #e2e5ea;
	--border-hover: #c8cdd5;
	--radius-sm: 6px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.1);
	--space-xs: 4px;
	--space-sm: 8px;
	--space-md: 16px;
	--space-lg: 24px;
	--space-xl: 32px;
	--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

body{
	margin:0;
	background: var(--bg-primary);

	font-family: var(--font-family);
	font-weight: 400;
	font-size: 15px;
	color: var(--text-primary);

	overflow: hidden;
}
canvas{
	position:absolute;
	top:0; left:0;
}

#canvasses{
	position:absolute;
	top:50px; left:0;
	width: calc(100% - 300px);
	height: calc(100% - 50px);
	box-sizing: border-box;
}
#canvasses[fullscreen=yes]{
	width: 100%;
}
#canvasses[cursor=ink]{
	cursor: url('cursors/ink.png') 0 30, auto;
}
#canvasses[cursor=drag]{
	cursor: url('cursors/drag.png') 15 15, auto;
}
#canvasses[cursor=erase]{
	cursor: url('cursors/erase.png') 5 25, auto;
}
#canvasses[cursor=label]{
	cursor: url('cursors/label.png') 15 15, auto;
}
#canvasses[cursor=pan]{
	cursor: grab;
}
#canvasses[cursor=pan]:active{
	cursor: grabbing;
}



/**********
 PLAY CONTROLS
**********/

#playbar{
	position: absolute;
	bottom: 15px;
	left: calc(50% - 275px); /* 50% - half of (playbar width + sidebar width) */

	width: 250px;
	height: 75px;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#playbar[fullscreen=yes]{
	left: calc(50% - 125px); /* 50% - half of (playbar width)*/
}

#playbar .component_button{
	position: absolute;
	bottom: 0;
	width: 25px;
	height: 25px;
}


#playbar .component_button{
	position: absolute;
	bottom: 0;
	width: 230px;
	height: 25px;
	background: #444;
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
}
#playbar .component_button:hover{
	background: #555;
	color: #fff;
	border: none;
}
#playbar .play_slider{
	width: 190px;
    position: absolute;
    left: 30px;
    margin: 0;
}
.play_button_icon{
	width: 25px;
	height: 25px;
	background-image: url(icons/controls.png);
	display: inline-block;
	background-size: 400% 100%;
}
.play_button_icon[icon="0"]{ background-position: 0 0; }
.play_button_icon[icon="1"]{ background-position: -25px 0; }
.play_button_icon[icon="2"]{ background-position: -50px 0; }
.play_button_icon[icon="3"]{ background-position: -75px 0; }
.play_button_label{
	display: inline-block;
	position: relative;
    top: -5px;
}
div[big=yes] .play_button_icon{
	width: 30px;
	height: 30px;
}
div[big=yes] .play_button_label{
	top: -3px;
}



/**********
 TABBAR 
**********/

.spinner {
    border: 3px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/**********
 TOOLBAR 
**********/

#toolbar{
	position: absolute;
	left: 16px;
	top: 96px;
	background: var(--bg-toolbar);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	z-index: 1;
	display: flex;
	flex-direction: column;
	padding: var(--space-xs);
	gap: 0;
	user-select: none;
}

#toolbar.collapsed {
	display: none;
}

.toolbar-toggle-button {
	position: absolute;
	top: 58px;
	left: 16px;
	background: var(--bg-primary);
	color: var(--text-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0;
	cursor: pointer;
	z-index: 3;
	font-size: 14px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
	box-shadow: var(--shadow-sm);
}
.toolbar-toggle-button:hover {
	background: var(--accent-light);
	color: var(--accent);
	border-color: var(--accent);
}

#toolbar[mode=play]{
	display: none;
}

.toolbar_button{
	width: 36px;
	height: 36px;
	margin: 2px;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	cursor: pointer;
	background-size: 100% 100%;
	transition: all 0.12s ease;
}
.toolbar_button:hover{
	background-color: var(--accent-light);
}

.toolbar_button[selected=yes]{
	border-color: var(--accent);
	background-color: rgba(74,124,255,0.12);
}

.toolbar_divider{
	width: 28px;
	height: 1px;
	background: var(--border);
	margin: var(--space-xs) auto;
}

.zoom_button{
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 600;
	font-family: var(--font-family);
	color: var(--text-secondary);
	background: transparent;
}

/* Auto-layout control on the left toolbar */
.toolbar_layout_wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 2px 0 4px;
	position: relative;
}
.toolbar_layout_caret {
	font-size: 9px;
	line-height: 1;
	color: var(--text-secondary, #666);
	cursor: pointer;
	padding: 0 0 2px;
	user-select: none;
}
.toolbar_layout_caret:hover {
	color: var(--accent, #4a7cff);
}
.toolbar_layout_menu {
	position: absolute;
	left: 44px;
	top: 0;
	z-index: 5000;
	min-width: 200px;
	background: #fff;
	border: 1px solid var(--border, #d4d8e0);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	padding: 6px;
}
.toolbar_layout_item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	width: 100%;
	border: none;
	background: transparent;
	text-align: left;
	padding: 8px 10px;
	border-radius: 6px;
	cursor: pointer;
	font-family: var(--font-family, system-ui, sans-serif);
	color: var(--text-primary, #1a1d23);
}
.toolbar_layout_item strong {
	font-size: 13px;
	font-weight: 600;
}
.toolbar_layout_item span {
	font-size: 11px;
	color: #6b7280;
}
.toolbar_layout_item:hover {
	background: rgba(74, 124, 255, 0.1);
}

.zoom_button:hover{
	color: var(--accent);
	background-color: var(--accent-light);
}

/**********
 SIDEBAR 
**********/

#sidebar{
	position: absolute;
	right: 0;
	top: 50px;
	width: 300px;
	height: calc(100% - 50px);
	background: var(--bg-sidebar);
	border-left: 1px solid var(--border);
	transition: right 0.3s ease;
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 14px;
	color: var(--text-primary);
	overflow-y: auto;
	overflow-x: hidden;
	user-select: none;
}
#sidebar.collapsed{
	right: -300px;
	display: none;
}
#sidebar > div{
	margin: var(--space-lg);
	overflow-y: auto;
	max-height: calc(100% - 40px);
}
#sidebar > div > div{
	margin-bottom: var(--space-md);
}
#sidebar[mode=play]{
	background: #1a1d23;
	color: #8e95a3;
}

/* Sidebar brand / header */
.sidebar-brand {
	font-size: 18px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 2px;
}
.sidebar-version {
	font-size: 11px;
	font-weight: 500;
	color: var(--text-muted);
	vertical-align: super;
}
.sidebar-subtitle {
	font-size: 12px;
	color: var(--text-secondary);
	margin-bottom: var(--space-lg);
}

/* Sidebar sections */
.sidebar-section {
	margin-bottom: var(--space-md);
	padding-bottom: var(--space-md);
	border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child {
	border-bottom: none;
}
.sidebar-section-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	margin-bottom: var(--space-sm);
}
.sidebar-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs);
	margin-bottom: var(--space-xs);
}
.sidebar-hint {
	font-size: 12px;
	color: var(--text-secondary);
	margin-bottom: var(--space-sm);
	line-height: 1.4;
}

/* Mini buttons */
#sidebar .mini_button{
	display: inline-flex;
	align-items: center;
	background: var(--bg-primary);
	color: var(--text-primary);
	border: 1px solid var(--border);
	padding: 5px 10px;
	border-radius: var(--radius-sm);
	font-size: 12px;
	font-weight: 500;
	font-family: var(--font-family);
	cursor: pointer;
	transition: all 0.15s ease;
}
#sidebar .mini_button:hover{
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-light);
}
#sidebar .mini_button.mini_button--accent{
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
#sidebar .mini_button.mini_button--accent:hover{
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: #fff;
}
#sidebar[mode=play] .mini_button{
	background: #2a2d33;
	color: #8e95a3;
	border-color: #3a3d43;
}
#sidebar[mode=play] .mini_button:hover{
	background: #3a3d43;
	color: #fff;
}
#sidebar a{ color: var(--accent); }
#sidebar a:hover{ color: var(--accent-hover); }
#sidebar hr{
	border: none;
	border-bottom: 1px solid var(--border);
	width: calc(100% + 48px);
	position: relative;
	left: -24px;
	margin: var(--space-md) 0;
}

/* Component inputs */
.component_input{
	border: 1px solid var(--border);
	outline: none;
	width: calc(100% - 14px);
	height: 28px;
	padding: 6px;
	font-size: 14px;
	font-weight: 400;
	font-family: var(--font-family);
	border-radius: var(--radius-sm);
	background: var(--bg-primary);
	color: var(--text-primary);
	transition: border-color 0.15s;
}
.component_input:focus{
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(74,124,255,0.12);
}
.component_textarea{
	border: 1px solid var(--border);
	outline: none;
	width: calc(100% - 14px);
	height: 80px;
	padding: 6px;
	font-size: 13px;
	font-weight: 400;
	font-family: var(--font-family);
	border-radius: var(--radius-sm);
	background: var(--bg-primary);
	color: var(--text-primary);
	resize: vertical;
	transition: border-color 0.15s;
}
.component_textarea:focus{
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(74,124,255,0.12);
}
.component_output{
	border: 1px solid var(--border);
	width: 100%;
	background: var(--bg-secondary);
	color: var(--text-secondary);
	font-size: 13px;
	font-weight: 400;
	border-radius: var(--radius-sm);
	padding: 4px 6px;
}

/* Component sliders */
.component_slider{
	position: relative;
	width: 250px;
	height: 52px;
}
.component_slider_graphic{
	position: absolute;
	width: 250px;
	height: 40px;
	cursor: pointer;
	border-radius: var(--radius-sm);
	overflow: hidden;
}
.component_slider_pointer{
	position: absolute;
	top: 42px;
	width: 15px;
	height: 10px;
}

/* Component labels */
.component_label{
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-secondary);
}

/* Editable numeric value next to a slider */
.component_slider_value_input{
	margin-bottom: 4px;
	padding: 1px 4px;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-primary);
	background: var(--bg-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

/* Dropdown select (e.g. edge functional form) */
.component_select{
	width: calc(100% - 20px);
	margin-bottom: 8px;
	padding: 5px 6px;
	font-size: 13px;
	color: var(--text-primary);
	background: var(--bg-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

/* Component buttons */
.component_button{
	width: calc(100% - 20px);
	background: var(--bg-primary);
	color: var(--text-primary);
	border: 1px solid var(--border);
	font-size: 14px;
	font-weight: 500;
	font-family: var(--font-family);
	text-align: center;
	padding: 9px 10px;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all 0.15s ease;
}
.component_button:hover{
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-light);
}
.component_button[header=yes]{
	position: absolute;
	top: 0; left: 0;
	width: 280px;
	background: var(--bg-secondary);
	border: none;
	border-bottom: 1px solid var(--border);
	border-radius: 0;
	color: var(--text-secondary);
	font-size: 12px;
	padding: 8px 12px;
	text-align: left;
}
.component_button[header=yes]:hover{
	background: var(--accent-light);
	color: var(--accent);
}
.component_button[header=yes]::before{
	content: "\2190 ";
}

/* Component checkbox */
.component_checkbox{
	font-size: 13px;
}

/* Toggle button styles */
.sidebar-toggle-button {
	position: absolute;
	top: 58px;
	right: 308px;
	background: var(--bg-primary);
	color: var(--text-secondary);
	border: 1px solid var(--border);
	padding: 0;
	cursor: pointer;
	z-index: 3;
	font-size: 14px;
	width: 30px;
	height: 30px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
	box-shadow: var(--shadow-sm);
}

.sidebar-toggle-button:hover {
	background: var(--accent-light);
	color: var(--accent);
	border-color: var(--accent);
}

/* (sidebar collapse handled by #sidebar.collapsed above) */


/**********

MODAL

**********/

#modal_container{
	display: none;
	position: absolute;
	width: 100%; height: 100%;
	user-select: none;
	z-index: 200;
}
#modal_container[show=yes]{
	display: block;
}
#modal_bg{
	position: absolute;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(2px);
}
#modal{
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	margin: auto;
	width: 600px; height: 300px;
	padding: var(--space-lg);
	background: var(--bg-primary);
	border-radius: var(--radius-lg);
	box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
#modal_close{
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 500;
	font-family: var(--font-family);
	color: var(--text-muted);
	cursor: pointer;
	padding: 4px 8px;
	border-radius: var(--radius-sm);
	transition: all 0.15s;
}
#modal_close:hover{
	color: var(--text-primary);
	background: var(--bg-secondary);
}
#modal_page{
	margin: var(--space-md);
	font-size: 15px;
	font-weight: 400;
	font-family: var(--font-family);
	color: var(--text-primary);
}
#modal iframe{
	border: none;
	border-radius: var(--radius-sm);
}


/**********

OUTPUT WINDOW

**********/

/* Legacy dropdown styles (kept for backward compatibility) */
.dropbtn {
    flex: 1;
    padding: 10px;
    background-color: var(--bg-secondary);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    margin: 0px;
}

.dropdown {
    flex: 1;
    background-color: var(--bg-secondary);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    margin: 0px;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--bg-primary);
    min-width: 180px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    z-index: 100;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
}

.dropdown-content a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: var(--accent);
}

/*GraphAnalysis Content*/

table {
	width: 95%;
	border-collapse: collapse;
}
th, td {
	border: 1px solid var(--border);
	padding: 8px;
	text-align: left;
	font-size: 12px;
}
th {
	background-color: var(--bg-secondary);
	font-weight: 600;
	font-size: 12px;
}
/* ─────────────────────────────────────────────────────────────────────────
   TABLES VIEW — spreadsheet-style editor (alternate to Canvas).
   Reads/writes the same model; styled to feel native to the app.
   ───────────────────────────────────────────────────────────────────────── */
.tables-view {
	padding: var(--space-md) var(--space-lg);
	max-width: 100%;
	box-sizing: border-box;
}
.tables-view .tv-intro {
	color: var(--text-secondary);
	font-size: 13px;
	margin: 0 0 var(--space-md);
}
.tables-view .tv-section {
	margin-bottom: var(--space-xl);
}
.tables-view .tv-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--space-sm);
}
.tables-view .tv-section-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-primary);
}
.tables-view .tv-count {
	color: var(--text-muted);
	font-weight: 500;
	font-size: 13px;
	margin-left: 4px;
}
.tables-view .tv-add-btn {
	background: var(--accent);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 500;
	font-family: var(--font-family);
	cursor: pointer;
	transition: background 0.15s ease;
}
.tables-view .tv-add-btn:hover { background: var(--accent-hover); }

/* Compact, scrollable table with a sticky header for large graphs. */
.tables-view .tv-scroll {
	max-height: 460px;
	overflow: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--bg-primary);
	box-shadow: var(--shadow-sm);
}
.tables-view .tv-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 12px;
}
.tables-view .tv-table th,
.tables-view .tv-table td {
	border: none;
	border-bottom: 1px solid var(--border);
	padding: 4px 8px;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
}
.tables-view .tv-table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: var(--bg-secondary);
	color: var(--text-secondary);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding-top: 8px;
	padding-bottom: 8px;
}
.tables-view .tv-table tbody tr:hover { background: var(--accent-light); }
.tables-view .tv-table tbody tr:last-child td { border-bottom: none; }
.tables-view .tv-th-toggle { text-align: center; }
.tables-view .tv-th-actions { width: 34px; }

/* Inline inputs — borderless until focused, so the grid stays clean. */
.tables-view .tv-input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	background: transparent;
	padding: 5px 6px;
	font-size: 12px;
	font-family: var(--font-family);
	color: var(--text-primary);
	transition: border-color 0.12s ease, background 0.12s ease;
}
.tables-view .tv-input:hover:not(:disabled) { background: var(--bg-secondary); }
.tables-view .tv-input:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--bg-primary);
}
.tables-view .tv-input:disabled {
	color: var(--text-muted);
	background: transparent;
	cursor: not-allowed;
}
.tables-view .tv-num { width: 78px; text-align: right; font-variant-numeric: tabular-nums; }
.tables-view .tv-name { min-width: 130px; font-weight: 500; }
.tables-view .tv-formula { min-width: 150px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; }
.tables-view .tv-select { min-width: 120px; cursor: pointer; }
.tables-view .tv-invalid {
	border-color: #e5484d !important;
	background: rgba(229,72,77,0.08) !important;
}
.tables-view .tv-toggle-cell { text-align: center; }
.tables-view .tv-check { cursor: pointer; width: 15px; height: 15px; accent-color: var(--accent); }

.tables-view .tv-actions { text-align: center; }
.tables-view .tv-del-btn {
	border: none;
	background: transparent;
	color: var(--text-muted);
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: var(--radius-sm);
	transition: color 0.12s ease, background 0.12s ease;
}
.tables-view .tv-del-btn:hover { color: #e5484d; background: rgba(229,72,77,0.1); }

.tables-view .tv-empty {
	text-align: center;
	color: var(--text-muted);
	font-style: italic;
	padding: 18px;
}

/* Tables view — collapse / expand + show-all controls */
.tables-view .tv-toolbar {
	display: flex;
	gap: var(--space-xs);
	margin-bottom: var(--space-md);
}
.tables-view .tv-text-btn {
	background: transparent;
	color: var(--text-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 500;
	font-family: var(--font-family);
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.tables-view .tv-text-btn:hover {
	background: var(--bg-secondary);
	border-color: var(--border-hover);
	color: var(--text-primary);
}
.tables-view .tv-section-titlegroup {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	user-select: none;
	border-radius: var(--radius-sm);
}
.tables-view .tv-section-titlegroup:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}
.tables-view .tv-collapse-btn {
	border: none;
	background: transparent;
	color: var(--text-muted);
	font-size: 12px;
	line-height: 1;
	cursor: pointer;
	padding: 2px;
	transition: transform 0.15s ease, color 0.12s ease;
}
.tables-view .tv-section-titlegroup:hover .tv-collapse-btn { color: var(--text-primary); }
/* Chevron points down when open, right when collapsed. */
.tables-view .tv-section.tv-collapsed .tv-collapse-btn { transform: rotate(-90deg); }
.tables-view .tv-section.tv-collapsed .tv-scroll { display: none; }

.tables-view .tv-section-actions {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
}
.tables-view .tv-showall-btn {
	background: transparent;
	color: var(--text-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 500;
	font-family: var(--font-family);
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.tables-view .tv-showall-btn:hover {
	background: var(--bg-secondary);
	border-color: var(--border-hover);
	color: var(--text-primary);
}
.tables-view .tv-showall-btn.tv-active {
	background: var(--accent-light);
	border-color: var(--accent);
	color: var(--accent);
}
/* "Show all" lifts the scroll cap so the whole table is visible. */
.tables-view .tv-scroll.tv-expanded { max-height: none; }
