:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #263b4e;
  background: #edf1f4;
  font-synthesis: none;
  --monitor: #071218;
  --monitor-panel: #101f28;
  --line: #2a3c47;
  --pressure: #e6ca65;
  --flow: #77d2e0;
  --volume: #a4d87b;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { min-height: 44px; padding: 9px 14px; border: 1px solid #bcc8d1; border-radius: 5px; color: #25425a; background: white; }
button:hover:not(:disabled) { background: #eaf2f7; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #4f9dcd; outline-offset: 3px; }
a { color: #2a648c; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { top: 8px; }
.app-header { display: flex; align-items: center; gap: 18px; min-height: 44px; padding: 4px 20px; border-bottom: 1px solid #d4dde3; background: white; }
.brand { font-size: 25px; font-weight: 750; letter-spacing: -.8px; text-decoration: none; color: #213b51; white-space: nowrap; }
.brand span { color: #3d7b83; font-weight: 500; }
.app-header > .brand { display: none; }
.workspace-title { font-size: 14px; font-weight: 600; }
.workspace-title small { display: inline; font-size: 10px; font-weight: 400; color: #6d7e8a; margin-left: 8px; }
.device-switch { margin-left: auto; display: flex; align-items: center; gap: 10px; color: #647581; font-size: 12px; }
.device-switch select { min-height: 34px; border: 1px solid #c9d3da; border-radius: 4px; background: white; color: #29465b; padding: 5px 28px 5px 10px; }
.header-button { font-size: 12px; border-color: transparent; min-height: 34px; padding: 5px 10px; }
.simulation-notice { margin: 6px 20px; font-size: 10px; line-height: 1.5; color: #677985; }
.ventilator { display: grid; grid-template-columns: minmax(0, 1fr) 74px; max-width: 1520px; margin: 0 auto; background: var(--monitor); color: #cbd8df; border: 1px solid #324753; border-radius: 10px; overflow: hidden; box-shadow: 0 9px 28px #1d354512; }
.status-bar { grid-column: 1 / -1; display: grid; grid-template-columns: 250px minmax(170px, 1fr) minmax(260px, .95fr); border-bottom: 1px solid var(--line); background: #132631; }
.mode-button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 10px 22px; border: 0; border-right: 1px solid #36505e; border-radius: 0; color: white; background: #24495e; text-align: left; }
.mode-button small { font-size: 9px; letter-spacing: 1.5px; color: #b0c6d1; }
.mode-button strong { font-size: 22px; font-weight: 500; letter-spacing: -.3px; }
.mode-button span { font-size: 11px; color: #bfd1da; }
.mode-button:hover:not(:disabled) { background: #2c576d; }
.session-status { display: grid; grid-template-columns: auto 1fr auto; align-content: center; align-items: center; gap: 8px; padding: 14px 22px; }
.session-status strong { font-size: 13px; font-weight: 500; }
.session-status small { grid-column: 2 / -1; font-size: 11px; color: #91a8b7; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #78cba8; }
.status-dot.paused { background: #d9b56a; }
.status-dot.failed { background: #e77d7d; }
#clock { color: #b3c6d0; font-size: 12px; font-variant-numeric: tabular-nums; }
.alarm-banner { border: 0; border-left: 1px solid var(--line); border-radius: 0; color: #a8becb; background: #152630; text-align: left; padding: 14px 20px; }
.alarm-banner strong, .alarm-banner span { display: block; }
.alarm-banner strong { font-size: 13px; font-weight: 500; }
.alarm-banner span { font-size: 11px; margin-top: 6px; color: #879eac; }
.alarm-banner:hover:not(:disabled) { background: #1d3441; }
.alarm-banner[data-severity=high] { background: #732d33; color: white; }
.alarm-banner[data-severity=medium] { background: #684e22; color: #fff1c9; }
.alarm-banner[data-severity] span { color: inherit; }
.quick-menu { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; padding: 8px 6px; gap: 8px; background: #14232d; border-left: 1px solid var(--line); }
.quick-menu button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 58px; border: 0; color: #b3c7d3; background: transparent; font-size: 10px; border-radius: 5px; padding: 7px 2px; }
.quick-menu button span { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; border: 1px solid #59717f; border-radius: 6px; font-size: 17px; line-height: 1; }
.quick-menu button:hover:not(:disabled), .quick-menu button[aria-expanded=true] { color: white; background: #2a4353; }
.monitor-area { grid-column: 1; grid-row: 2; min-width: 0; }
.monitor-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 2px 14px 2px 20px; color: #89a0ae; font-size: 11px; }
.monitor-toolbar button, .loops-heading button { min-height: 34px; color: #b8ceda; background: #152832; border-color: #344c5a; font-size: 11px; padding: 5px 10px; }
.monitor-toolbar button:hover:not(:disabled), .loops-heading button:hover:not(:disabled) { background: #264555; }
.monitor-toolbar button[aria-pressed=true] { border-color: #d7b86b; color: #f1d28b; }
.scalar-row { display: grid; grid-template-columns: minmax(0, 1fr) 196px; border-top: 1px solid #1a2e39; }
.trace-panel { min-width: 0; position: relative; }
.trace-title { position: absolute; z-index: 1; left: 22px; top: 10px; display: flex; align-items: baseline; gap: 8px; pointer-events: none; }
.trace-title strong { font-size: 15px; font-weight: 500; }
.trace-title span { font-size: 10px; opacity: .65; }
.trace-title small { margin-left: 8px; opacity: .5; font-size: 10px; }
.scalar-row canvas { display: block; width: 100%; height: clamp(104px, calc((100dvh - 500px) / 3), 160px); }
.pressure-row { color: var(--pressure); }
.flow-row { color: var(--flow); }
.volume-row { color: var(--volume); }
.observations { border-left: 1px solid #293c45; margin: 8px 0; padding: 10px 20px 8px; display: flex; flex-direction: column; justify-content: center; }
.primary-number { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.primary-number span { grid-column: 1 / -1; font-size: 11px; letter-spacing: .6px; }
.primary-number strong { font-size: 42px; font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -1.7px; }
.primary-number small { font-size: 10px; opacity: .65; }
.secondary-numbers { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 9px; font-size: 10px; opacity: .85; }
.secondary-numbers b { font-size: 15px; font-weight: 450; margin-left: 5px; font-variant-numeric: tabular-nums; }
.observation-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 7px 20px; border-top: 1px solid #1e303b; font-size: 10px; line-height: 1.5; color: #7992a1; }
.observation-footer button { padding: 0; min-height: 20px; border: 0; color: #91b9cf; background: transparent; font-size: 10px; }
.timing-tile { text-align: left; cursor: pointer; }
.timing-tile strong { display: block; color: #f0f6f9; font-size: 23px; font-weight: 400; padding: 8px 0; }
.timing-tile:hover:not(:disabled) { background: #2b4f62; }
.observation-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.observation-details div { border-bottom: 1px solid #d7e0e6; padding-bottom: 12px; }
.observation-details dt { font-size: 11px; color: #6b8393; line-height: 1.5; }
.observation-details dd { margin: 7px 0 0; font-size: 21px; color: #294e65; }
#timing-error { color: #9a3c3e; }
.loops-panel { border-top: 1px solid #3c515b; padding: 10px 16px 4px; }
.loops-heading { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.loops-heading strong { font-size: 12px; color: #bbd0db; }
.legend { display: inline-flex; gap: 5px; align-items: center; margin-right: auto; color: #94aab7; font-size: 10px; }
.legend i { width: 14px; height: 2px; background: #8ec5d9; margin-left: 8px; }
.legend .reference { background: #caaf74; }
.loops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.loops-grid > div { min-width: 0; position: relative; }
.loops-grid h2 { position: absolute; left: 45px; top: 6px; font-size: 10px; font-weight: 400; color: #8ca4b3; margin: 0; }
.loops-grid canvas { display: block; height: 230px; width: 100%; }
#reference-context { font-size: 10px; color: #91a6b2; }
.direct-access { grid-column: 1 / -1; border-top: 1px solid #37505d; background: #192f3c; padding: 10px 20px; }
.settings-heading { display: flex; align-items: center; gap: 14px; font-size: 11px; color: #a9c0cc; margin-bottom: 8px; }
.settings-heading strong { font-weight: 550; }
.settings-heading button { margin-left: auto; border: 0; background: transparent; color: #8fb9d1; padding: 0 8px; min-height: 24px; font-size: 11px; }
#draft-status { color: #829daa; font-size: 10px; }
#draft-status.changed { color: #f1d58c; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset:disabled { opacity: .55; }
.direct-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.direct-field { position: relative; display: block; border: 1px solid #375665; border-radius: 5px; background: #213f50; padding: 8px 10px 6px; min-width: 0; color: #bed0da; }
.direct-field .field-label { display: flex; gap: 4px; font-size: 10px; min-height: 14px; }
.direct-field input, .direct-field select { width: 100%; border: 0; border-bottom: 1px solid #5d7b8c; border-radius: 0; color: #f0f6f9; background: transparent; padding: 5px 0; font-size: 23px; min-height: 40px; font-variant-numeric: tabular-nums; }
.direct-field input::-webkit-inner-spin-button { opacity: .35; }
.direct-field select { font-size: 15px; }
.direct-field select option { background: #233e4d; }
.field-unit { font-size: 9px; color: #92adbd; display: block; margin-top: 2px; }
.direct-field.changed { border-color: #d8b96b; }
.applied-value { font-size: 9px; color: #e6c986; display: block; margin-top: 4px; min-height: 12px; }
.applied-value:empty { display: none; }
.apply-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 10px; }
.apply-row > span { font-size: 10px; color: #8eabba; }
#apply { color: white; background: #2a6c8a; border: 1px solid #4d8aa5; min-width: 145px; font-size: 12px; font-weight: 600; }
#apply:hover:not(:disabled) { background: #347e9f; }
.monitor-actions { grid-column: 1 / -1; padding: 8px 20px; display: flex; align-items: center; gap: 14px; background: #10222d; border-top: 1px solid #2c4552; font-size: 10px; color: #869dab; }
.monitor-actions button { border-color: #3e5968; color: #b5ccd8; background: #1a3443; font-size: 11px; min-height: 36px; }
.monitor-actions button:hover:not(:disabled) { background: #294c60; }
#offscale { color: #f0c676; margin-left: auto; }
.below-monitor { max-width: 1520px; margin: 10px auto 30px; padding: 0 5px; color: #687d8b; font-size: 11px; line-height: 1.5; }
.below-monitor p { margin: 5px 0; }
.below-monitor { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 10px; }
.below-monitor > span { white-space: nowrap; }
.teaching-toolbar { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.studio-button { background: #e7eff4; border-color: #b8cad6; color: #28556e; }
.workspace-menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 20px; }
.workspace-menu-items button { text-align: left; min-height: 56px; }
.simulation-control { display: flex; align-items: center; gap: 16px; border-top: 1px solid #d7e0e6; margin-top: 20px; padding-top: 18px; }
.simulation-control span { color: #748b9a; font-size: 11px; line-height: 1.5; }
.settings-heading #discard:disabled { visibility: hidden; }
.settings-heading [data-dialog] { margin-left: 0; }
#message.error { color: #9a3c3e; }
dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 48px); margin: auto; border: 1px solid #acbac5; border-radius: 10px; padding: 24px; color: #314b5e; background: #f6f8fa; box-shadow: 0 24px 100px #00172366; }
dialog::backdrop { background: #03111cb0; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid #d7e0e6; }
.dialog-heading small { color: #748b9a; font-size: 9px; letter-spacing: 1.8px; }
.dialog-heading h2 { margin: 5px 0 0; font-size: 23px; font-weight: 550; letter-spacing: -.4px; }
.dialog-heading > button { font-size: 24px; line-height: 1; width: 44px; padding: 4px; border-color: transparent; background: transparent; }
dialog p { font-size: 12px; line-height: 1.6; color: #657e8e; }
dialog h3 { font-size: 13px; font-weight: 600; margin: 22px 0 10px; }
.dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #d7e0e6; }
.dialog-foot span { font-size: 11px; color: #748998; }
.dialog-foot button { background: #264e66; border-color: #264e66; color: white; white-space: nowrap; }
.mode-group-title { grid-column: 1 / -1; margin: 12px 0 0; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #8095a3; }
.mode-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-tile { text-align: left; padding: 17px; border: 1px solid #c7d4dd; min-height: 112px; background: white; }
.mode-tile strong, .mode-tile span, .mode-tile small { display: block; }
.mode-tile strong { font-size: 19px; font-weight: 550; color: #28526d; }
.mode-tile span { margin-top: 6px; font-size: 11px; color: #6f8796; line-height: 1.5; }
.mode-tile small { font-size: 9px; margin-top: 9px; color: #8f7b4f; }
.mode-tile[aria-pressed=true] { border-color: #317b9c; box-shadow: inset 0 0 0 1px #317b9c; background: #eaf3f8; }
.mode-tile:disabled { opacity: .6; }
.panel-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel-fields label { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: #567080; font-size: 11px; }
.panel-fields input, .panel-fields select { min-height: 44px; width: 100%; border: 1px solid #b9c9d3; border-radius: 4px; padding: 9px; color: #294b62; background: white; }
.panel-fields .field-unit { color: #8498a5; }
.panel-fields .applied-value { color: #9b752e; }
.panel-fields .changed input, .panel-fields .changed select { border-color: #c69f4e; }
.panel-fields .check-label { flex-direction: row; align-items: center; gap: 8px; }
.check-label input { width: 20px; min-height: 20px; }
.variation-presets { display: flex; gap: 8px; margin-bottom: 15px; }
.variation-presets button { font-size: 12px; flex: 1; }
.variation-control { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 12px 0; border-bottom: 1px solid #e0e7ec; font-size: 12px; }
.variation-control output { font-variant-numeric: tabular-nums; font-size: 19px; color: #315d79; }
.variation-control input { grid-column: 1 / -1; width: 100%; min-height: 32px; accent-color: #347795; }
.field-explanation { font-size: 11px; }
.export-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.export-options button { text-align: left; padding: 20px; }
.export-options strong, .export-options span { display: block; }
.export-options strong { font-size: 15px; font-weight: 550; }
.export-options span { font-size: 11px; line-height: 1.5; color: #78909e; margin-top: 8px; }
.alarm-item { padding: 14px; margin: 10px 0; border-left: 4px solid #d0a75a; background: #fcf4e6; color: #74562d; font-size: 12px; }
.alarm-item[data-severity=high] { border-left-color: #b85959; background: #fbebeb; color: #8a4343; }
.alarm-item small { display: block; margin-top: 5px; opacity: .75; }
body[data-device=servo-i] .ventilator { border-radius: 3px; border: 6px solid #63747c; }
body[data-device=servo-i] .ventilator { grid-template-columns: minmax(0, 1fr) 80px; }
body[data-device=servo-i] .quick-menu { grid-column: 2; border-right: 0; border-left: 1px solid var(--line); }
body[data-device=servo-i] .monitor-area { grid-column: 1; }
body[data-device=servo-i] .status-bar { background: #25353b; }
body[data-device=servo-i] .mode-button { background: #365b61; }
body[data-device=servo-i] .quick-menu { background: #37484e; }
body[data-device=servo-i] .direct-access { background: #43575e; }
body[data-device=servo-i] .direct-field { background: #263e47; border-radius: 2px; border-color: #82949b; }
body[data-device=servo-i] .primary-number strong { font-family: Consolas, "Courier New", monospace; }
body[data-device=servo-i] .monitor-toolbar { background: #18292e; }
@media (min-width: 1560px) { .simulation-notice { max-width: 1520px; margin-left: auto; margin-right: auto; } }
@media (max-width: 1559px) { .ventilator { margin-left: 20px; margin-right: 20px; } .below-monitor { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 1100px) {
  .status-bar { grid-template-columns: 210px 1fr 1fr; }
  .scalar-row { grid-template-columns: minmax(0,1fr) 150px; }
  .observations { padding-left: 14px; padding-right: 14px; }
  .primary-number strong { font-size: 42px; }
  .direct-fields { grid-template-columns: repeat(4,minmax(100px,1fr)); }
  .session-status { padding: 12px; }
}
@media (max-width: 800px) {
  .app-header { padding: 10px 16px; gap: 14px; flex-wrap: wrap; }
  .brand { font-size: 22px; }
  .workspace-title { padding-left: 14px; font-size: 15px; }
  .device-switch { order: 3; margin-left: 0; flex: 1; }
  .header-button { margin-left: auto; }
  .simulation-notice { margin: 10px 16px; }
  .ventilator { margin: 0 12px; grid-template-columns: minmax(0,1fr) 58px; border-radius: 6px; }
  .status-bar { grid-template-columns: 180px 1fr; }
  .alarm-banner { grid-column: 1 / -1; padding: 8px 14px; min-height: 42px; border-top: 1px solid var(--line); border-left: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .alarm-banner span { margin: 0; font-size: 10px; }
  .quick-menu { padding: 5px 3px; }
  .quick-menu button { font-size: 9px; min-height: 61px; }
  .scalar-row { grid-template-columns: minmax(0,1fr) 110px; }
  .scalar-row canvas { height: 148px; }
  .observations { padding: 8px 10px; }
  .primary-number strong { font-size: 34px; }
  .primary-number small { font-size: 9px; }
  .secondary-numbers { gap: 6px; font-size: 9px; }
  .secondary-numbers b { font-size: 12px; }
  .trace-title { left: 12px; gap: 5px; }
  .trace-title strong { font-size: 13px; }
  .trace-title span { font-size: 9px; }
  .trace-title small { display: none; }
  .monitor-toolbar { padding: 4px 8px; gap: 8px; }
  #trace-context { font-size: 10px; }
  .loops-grid { gap: 10px; }
  .loops-grid canvas { height: 210px; }
  .direct-access { padding: 12px; }
  .direct-fields { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .direct-field { padding: 9px; }
  .direct-field input { font-size: 23px; }
  .below-monitor { margin: 10px 16px 24px; }
  .panel-fields { grid-template-columns: 1fr 1fr; }
  dialog { padding: 20px; }
  .panel-fields input, .panel-fields select, .device-switch select { font-size: 16px; }
}
@media (max-width: 520px) {
  .app-header { gap: 8px 12px; }
  .workspace-title { font-size: 13px; }
  .workspace-title small { font-size: 10px; }
  .workspace-title { display: none; }
  .teaching-toolbar { margin-left: 0; width: 100%; justify-content: space-between; }
  .teaching-toolbar button { margin-left: 0; }
  .header-button { font-size: 11px; padding: 5px; }
  .ventilator { display: flex; flex-direction: column; margin: 0 8px; }
  .status-bar { display: grid; grid-template-columns: 142px minmax(0,1fr); }
  .mode-button { padding: 12px; min-height: 82px; }
  .mode-button strong { font-size: 18px; }
  .mode-button small { font-size: 8px; letter-spacing: 1px; }
  .mode-button span { font-size: 10px; }
  .session-status { gap: 6px; padding: 10px; }
  .session-status strong { font-size: 11px; }
  #clock { font-size: 10px; }
  .session-status small { font-size: 9px; }
  .alarm-banner { text-align: left; align-items: flex-start; flex-direction: column; gap: 3px; }
  .alarm-banner strong { font-size: 11px; }
  .quick-menu { flex-direction: row; padding: 5px; border-right: 0; border-bottom: 1px solid var(--line); gap: 1px; }
  .quick-menu button { flex: 1; min-width: 0; min-height: 53px; font-size: 9px; gap: 3px; }
  .quick-menu button span { width: 22px; height: 22px; font-size: 14px; border-radius: 4px; }
  .scalar-row { grid-template-columns: minmax(0,1fr) 88px; }
  .scalar-row canvas { height: 144px; }
  .observations { padding: 7px; }
  .primary-number strong { font-size: 30px; letter-spacing: -1px; }
  .primary-number span { font-size: 10px; }
  .primary-number small { font-size: 8px; }
  .secondary-numbers { font-size: 8px; flex-direction: column; gap: 3px; }
  .trace-title span { max-width: 120px; }
  .volume-row .trace-title span { font-size: 8px; }
  .observation-footer { padding: 8px 12px; font-size: 9px; }
  #trace-context { max-width: 180px; }
  .monitor-toolbar button { white-space: nowrap; }
  .loops-panel { padding: 10px; }
  .loops-grid { grid-template-columns: 1fr; }
  .loops-grid canvas { height: 230px; }
  .loops-heading { gap: 8px; }
  .direct-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .direct-field { padding: 8px; }
  .direct-field .field-label { font-size: 9px; }
  .direct-field input { font-size: 21px; }
  .settings-heading { gap: 7px; flex-wrap: wrap; }
  .settings-heading strong { font-size: 10px; }
  .settings-heading button { font-size: 10px; }
  .apply-row { gap: 8px; }
  #apply { min-width: 116px; padding: 8px; }
  .monitor-actions { flex-wrap: wrap; gap: 8px; padding: 9px 12px; }
  #pause-note { flex: 1; min-width: 110px; }
  #offscale { width: 100%; margin-left: 0; }
  dialog { width: calc(100% - 16px); max-height: calc(100% - 20px); padding: 16px; }
  .dialog-heading h2 { font-size: 20px; }
  .mode-tiles { gap: 8px; }
  .mode-tile { padding: 12px; }
  .mode-tile strong { font-size: 16px; }
  .dialog-foot { gap: 10px; }
  .dialog-foot span { font-size: 10px; }
  .export-options { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .brand { font-size: 20px; }
  .app-header { padding: 9px 12px; }
  .workspace-title { padding-left: 10px; }
  .status-bar { grid-template-columns: 132px minmax(0,1fr); }
  .direct-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trace-title { left: 9px; }
  .trace-title span { font-size: 8px; }
  .scalar-row { grid-template-columns: minmax(0,1fr) 82px; }
}
