/* Layout only; mathematical typography and colors come from the shared reading theme. */
.research-plot{display:block;width:100%;height:auto;margin:1.4rem auto;}
.research-flow{display:flex;align-items:center;justify-content:center;gap:.6rem;flex-wrap:wrap;margin:1.5rem 0;}
#tab-design-r10{min-width:680px;}
#tab-design-r10 td{vertical-align:top;}
.tree-snap img{max-width:100%;height:auto;}
#tab-attempt-catalog{min-width:660px;table-layout:auto;}
#tab-attempt-catalog th:first-child,#tab-attempt-catalog td:first-child{min-width:110px;overflow-wrap:normal;}
#tab-attempt-catalog th:last-child,#tab-attempt-catalog td:last-child{min-width:110px;overflow-wrap:normal;}
#tab-attempt-catalog td:nth-child(2){min-width:330px;overflow-wrap:normal;}
@media(max-width:600px){
 #tab-attempt-catalog,#tab-attempt-catalog tbody{display:block;min-width:0;width:100%;}
 #tab-attempt-catalog caption{display:block;width:100%;}
 #tab-attempt-catalog thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 #tab-attempt-catalog tr{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:8px 12px;padding:14px 0;border-bottom:1px solid var(--rule);}
 #tab-attempt-catalog td{display:block;min-width:0!important;padding:0;border:0;overflow-wrap:normal;}
 #tab-attempt-catalog td:nth-child(2){grid-column:1/-1;grid-row:2;}
 #tab-attempt-catalog td:last-child{grid-column:2;grid-row:1;}
 #tab-attempt-catalog td p{margin:0;}
}
.dependencies.flow{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;}
@media print{.tree-controls,.tree-zoom-overlay,.tree-hint{display:none}.tree-art{break-inside:avoid}details:not([open])>:not(summary){display:none}figure,.proposition,.question,table{break-inside:avoid}.reading-sidebar{display:none}main{margin-left:auto!important}.research-plot{max-height:330px;object-fit:contain}}
#tab-current-routes{min-width:500px;}#tab-current-routes th:first-child,#tab-current-routes td:first-child{min-width:95px;word-break:normal;}

.route-dependencies svg text{font-size:12px;}
[data-storage-hub] [id]{scroll-margin-top:18px;}
@media(max-width:899px){[data-storage-hub] [id]{scroll-margin-top:76px;}}
.research-attempt>summary{cursor:pointer;}
.attempt-frame-host{min-width:0;}
.attempt-frame{display:block;box-sizing:border-box;width:100%;height:880px;border:1px solid var(--rule);border-radius:6px;background:var(--bg);}
.experiment-path{padding-left:1.5rem;}
.experiment-path li+li{margin-top:.45rem;}
#symmetry-design section{margin-top:26px;padding-top:8px;}
.symmetry-widget .widget-controls{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;}
.symmetry-widget label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
.symmetry-widget select{max-width:100%;font:inherit;padding:6px;}
.symmetry-widget .widget-picture{border:1px solid var(--rule);border-radius:6px;padding:12px 8px;}
.symmetry-widget .plot-y-equation,.symmetry-widget .widget-math>div{overflow-x:auto;overflow-y:hidden;padding:8px 0;}
.symmetry-widget [data-probability-chart] svg{display:block;width:100%;height:auto;overflow:visible;}
.symmetry-widget svg text{font:inherit;}
.symmetry-widget .plot-grid{stroke:var(--rule);stroke-width:1;}
.symmetry-widget .plot-axis{stroke:var(--muted);fill:none;}
.symmetry-widget .probability-dot{cursor:pointer;outline:none;}
.symmetry-widget .probability-dot[aria-pressed=true] .dot-mark,.symmetry-widget .probability-dot:focus .dot-mark{stroke:var(--ink);stroke-width:2;}
.symmetry-widget .plot-legend{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;}
.symmetry-widget .load-blue{color:#165e83;}
.symmetry-widget .load-red{color:#b5495b;}
.symmetry-widget .widget-math{margin-top:16px;}
.symmetry-widget .widget-math p{margin:6px 0 14px;}
.symmetry-widget .plot-goal{color:var(--ink);}
.symmetry-widget{scroll-margin-top:20px;}
@media(max-width:899px){.symmetry-widget{scroll-margin-top:76px;}}
.symmetry-widget .load-filter{margin:12px 0;}
.symmetry-widget .load-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin:12px 0;}
.symmetry-widget .load-options label{gap:5px;}
.symmetry-widget .load-swatch{display:inline-block;width:12px;height:12px;border:1px solid #888;vertical-align:middle;flex-shrink:0;}
.symmetry-widget .plot-legend{gap:6px;margin-top:12px;}
.symmetry-widget .load-chip{display:flex;align-items:center;gap:5px;font:inherit;padding:4px 7px;background:white;border:1px solid var(--rule);border-radius:4px;color:var(--ink);}
.symmetry-widget .load-chip[aria-pressed=true]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink);}
.symmetry-widget .load-color-key{max-width:450px;margin:16px auto 8px;text-align:center;}
.symmetry-widget .spectrum-band{height:12px;margin:6px 0;border:1px solid var(--rule);}
.symmetry-widget .spectrum-ticks{display:flex;justify-content:space-between;}
.symmetry-widget .plot-x-equation{text-align:center;margin:4px 0 12px;}
#symmetry-design,#symmetry-results,#transfer,[id^="example-"]{scroll-margin-top:20px;}
[data-question="symmetry-transfer"] textarea{display:block;box-sizing:border-box;width:100%;margin-top:12px;}
@media(max-width:899px){#symmetry-design,#symmetry-results,#transfer,[id^="example-"]{scroll-margin-top:76px;}}
@media(max-width:600px){.attempt-frame{height:800px;}}
