:is(.problem-page,.experiment-example) .brand-mark,
body.desktop-ui[data-theme] .desktop-shell .desktop-bar .brand-mark {
  flex-shrink: 0;
  background: url("lab-icon.svg") center / contain no-repeat;
}
.brand-mark::before, .brand-mark i { display: none; }
.problem-page .model-figure img { width: min(100%, 650px); }
.desktop-schematic img, .diagram-scroll .tikz-diagram { background: #fff; }
.experiment-example #evidence { margin-top: 16px; padding-bottom: 0; border-bottom: 0; }
.experiment-example #evidence-title, .desktop-chart-host #time-domain-results-title { display: none; }
.experiment-example .evidence-head { justify-content: end; column-gap: 12px; margin-bottom: 3px; }
.experiment-example #time-domain-results-title { font-size: 19px; color: var(--deep); }
.experiment-example .analysis-grid figcaption { order: 1; justify-content: center; text-align: center; }
.plot-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px 10px;
  padding: 1px 4px 4px;
  color: var(--muted);
  font-size: 13px;
}
.plot-legend > span { display: inline-flex; align-items: center; gap: 4px; }
.plot-legend i { display: inline-block; width: 17px; border-top: 2px solid var(--series-color); }
.plot-legend .dashed { border-top-style: dashed; }
.desktop-chart-host .plot-legend { font-size: 12px; }
#experiment-tasks { margin-left: 0; }
.field input[type=checkbox] { accent-color: var(--blue); width: 18px; height: 18px; }
.field select { margin-top: auto; min-height: 32px; width: 100%; }
.field input[type=text] { border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
#fit-label input { accent-color: var(--blue); }
body:not(.desktop-ui) #evidence .evidence-head { flex-wrap: wrap; }
body:not(.desktop-ui) #evidence .evidence-head label { font-size: 14px; }
body:not(.desktop-ui) #stability-content, body:not(.desktop-ui) #frequency-metrics { margin-top: 12px; }
.desktop-chart-host .analysis-grid.analysis-frequency,
.analysis-grid:has(> figure:only-child) { grid-template-columns: minmax(0,1fr); }
.case-records { min-width: 740px; }
.case-records th:first-child { width: 19%; }
.case-conditions { margin-top: 12px; }
.case-conditions th:first-child { width: 22%; }
.case-conditions td { overflow-wrap: anywhere; }
.open-loop-results :is(.case-records,.case-conditions) caption { text-align: left; }

@media screen and (max-width: 720px) {
  body:not(.desktop-ui).experiment-example #experiment-principle .tikz-diagram { min-width: 610px; }
  body:not(.desktop-ui).experiment-example #time-charts > .chart:not(.is-selected),
  body:not(.desktop-ui) #evidence-special .analysis-grid > .chart:not(.is-selected) { display: none; }
  body:not(.desktop-ui) :is(#evidence-special,.extra-view) .analysis-grid { grid-template-columns: minmax(0,1fr); }
  body:not(.desktop-ui) #time-plot-switch { display: flex; }
  .settings-selectors select { min-height: 44px; }
}
@media (max-width: 410px) {
  body:not(.desktop-ui) #apparatus { height: 178px; }
  .settings .panel-head { align-items: start; }
}
@media (max-width: 360px) {
  .brand { font-size: 14px; gap: 6px; }
}
