:root{background:transparent}
:root[data-mobile-platform=ios]{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body[data-motion]{background:transparent;margin:0;overflow-x:hidden}
body[data-motion]>header,body[data-motion] .motion-nav,.notice,.motion-help,footer{display:none}
body[data-motion] main{max-width:none;padding:0;width:100%}
.heading{margin:0 0 10px}.heading h2{display:none}.heading .muted{font-size:11px;line-height:1.6}
.panel{border:0;background:transparent;box-shadow:none;padding:12px 0 0;border-radius:0}
#sample-count{font-size:11px!important;margin-bottom:10px!important}
.stats{gap:28px;margin-bottom:10px}.stat strong{font-size:23px}
#scan-time{margin-bottom:7px}
.controls-unified{padding-top:2px}
body[data-motion] .plot{height:320px}
@media(max-width:700px){body[data-motion] main{padding:0}.stats{gap:16px}.stat strong{font-size:20px}body[data-motion] .plot{height:285px}.panel{padding:8px 0 0}}
:root[data-parent-theme=light]{color-scheme:light;color:#263f50;--chart-ticks:#526b7c;--chart-grid:#29485d20;--chart-subtle-grid:#29485d10;--chart-label-background:#fffffff5;--chart-marker-outline:#ffffff;--chart-cursor:#375e7b88}
:root[data-parent-theme=light] body{color:#263f50}
:root[data-parent-theme=light] .heading .muted,:root[data-parent-theme=light] #sample-count,:root[data-parent-theme=light] #scan-time,:root[data-parent-theme=light] #readout,:root[data-parent-theme=light] .stat small,:root[data-parent-theme=light] .stat span,:root[data-parent-theme=light] label[for=sample]{color:#526b7c!important}
:root[data-parent-theme=light] .controls-unified #cards,:root[data-parent-theme=light] .controls-primary>.periods,:root[data-parent-theme=light] #views{background:#edf3f7;border-color:#cad9e3}
:root[data-parent-theme=light] .controls-unified button,:root[data-parent-theme=light] .legend button{color:#365260}
:root[data-parent-theme=light] #cards .card[aria-pressed=true],:root[data-parent-theme=light] .controls-primary>.periods button[aria-pressed=true],:root[data-parent-theme=light] #views button[aria-pressed=true]{color:#105879}
:root[data-parent-theme=light] .selection-track{background:#d9ecf5;border-color:#468ba9;box-shadow:0 2px 8px #254e6010}
:root[data-parent-theme=light] .motion-tools button,:root[data-parent-theme=light] .legend button,:root[data-parent-theme=light] .toolbar-exit{background:#edf4f8;border-color:#bed1dd}
:root[data-parent-theme=light] .motion-tools button[aria-pressed=true]{background:#d9ecf5;border-color:#468ba9;color:#105879}
:root[data-parent-theme=light] #tip{background:#fffffff5;border-color:#b9ccd8;color:#284252;box-shadow:0 5px 18px #29485d15}
:root[data-parent-theme=light] #sample{accent-color:#187da8!important}
:root[data-parent-theme=light] button:focus-visible,:root[data-parent-theme=light] a:focus-visible{outline-color:#187da8}
html[data-graph-fullscreen=true],html[data-graph-fullscreen=true] body{height:100%;overflow:hidden}
html[data-graph-fullscreen=true] body[data-motion] main{height:100%;display:flex;flex-direction:column}
html[data-graph-fullscreen=true] .heading,html[data-graph-fullscreen=true] #sample-count,html[data-graph-fullscreen=true] #scan-time,html[data-graph-fullscreen=true] #readout,html[data-graph-fullscreen=true] label[for=sample],html[data-graph-fullscreen=true] #sample{display:none!important}
html[data-graph-fullscreen=true] .controls-unified{flex:0 0 auto;padding-bottom:5px;min-height:42px;margin:0}
html[data-graph-fullscreen=true] #main-panel{flex:1;min-height:0;display:flex;flex-direction:column;padding:3px 0 0}
html[data-graph-fullscreen=true] .stats{flex:0 0 auto;margin:0 0 4px;gap:20px}
html[data-graph-fullscreen=true] .stat{display:flex;align-items:baseline;gap:5px}
html[data-graph-fullscreen=true] .stat small{font-size:9px;margin:0}
html[data-graph-fullscreen=true] .stat strong{font-size:16px}
html[data-graph-fullscreen=true] .legend{flex:0 0 auto;margin:3px 0;gap:6px}
html[data-graph-fullscreen=true] .legend button{font-size:10px;padding:4px 7px}
html[data-graph-fullscreen=true] body[data-motion] .plot{flex:1;min-height:65px;height:auto}
#official-records{display:flex;flex-wrap:wrap;gap:9px 22px;margin:0 0 18px;padding:10px 12px;border:1px solid #6ca0bd35;border-radius:9px;color:inherit}
.official-records-caption{flex-basis:100%;font-size:10px;opacity:.75}
#official-records>span{display:flex;flex-direction:column;gap:3px;min-width:125px}
#official-records>span>small{font-size:10px;opacity:.75}
#official-records>span>b{font-size:14px}
html[data-graph-fullscreen=true] #main-panel{display:grid;grid-template-columns:fit-content(55%) minmax(0,1fr);grid-template-rows:auto auto minmax(65px,1fr);gap:4px 12px}
html[data-graph-fullscreen=true] .stats{grid-column:1/-1;grid-row:1}
html[data-graph-fullscreen=true] .legend{grid-column:1;grid-row:2;flex-wrap:nowrap;align-self:center;align-items:center;min-width:0;margin:0;gap:4px}
html[data-graph-fullscreen=true] #official-records{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px 12px;margin:0;padding:0;border:0;min-width:0}
html[data-graph-fullscreen=true] #official-records .official-records-caption{display:none}
html[data-graph-fullscreen=true] #official-records>span{display:inline-flex;flex-direction:row;align-items:baseline;gap:4px;min-width:0;white-space:nowrap}
html[data-graph-fullscreen=true] #official-records>span>small:first-child{font-size:0}
html[data-graph-fullscreen=true] #official-records>span>small:first-child:before{content:attr(data-compact);font-size:9px}
html[data-graph-fullscreen=true] #official-records>span>small:last-child{display:inline;font-size:0}
html[data-graph-fullscreen=true] #official-records>span>small:last-child:before{content:attr(data-compact);font-size:8px}
html[data-graph-fullscreen=true] #official-records>span>b{font-size:11px}
html[data-graph-fullscreen=true] .plot{grid-column:1/-1;grid-row:3}
html[data-graph-fullscreen=true] .motion-progress{display:none}
html[data-graph-fullscreen=true] .stats{flex-wrap:nowrap;min-width:0;gap:14px}
html[data-graph-fullscreen=true] .stat{min-width:0;white-space:nowrap}
html[data-graph-fullscreen=true] .stat small[data-compact]{font-size:0;white-space:nowrap}
html[data-graph-fullscreen=true] .stat small[data-compact]:before{content:attr(data-compact);font-size:9px}
html[data-graph-fullscreen=true] .legend button{flex:0 1 auto;min-width:0;min-height:23px;padding-inline:5px;line-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-graph-fullscreen=true] .legend .dot{margin-right:4px}
html[data-graph-fullscreen=true] .legend button[data-compact]{font-size:0}
html[data-graph-fullscreen=true] .legend button[data-compact]:after{content:attr(data-compact);font-size:10px}
html[data-graph-fullscreen=true] #tip{background:#10212d85;border-color:#7eafc76b;box-shadow:none;line-height:1.5;font-size:11px;text-shadow:0 1px 2px #10212d}
html[data-graph-fullscreen=true][data-parent-theme=light] #tip{background:#ffffff88;color:#284252;border-color:#7794a466;text-shadow:0 1px 2px #ffffff}
/* Keep the fullscreen toolbar compact on mobile and in the phone preview. */
html[data-graph-fullscreen=true] .controls-unified{--toolbar-padding:clamp(2px, .55vw, 5px);gap:3px;min-height:34px;padding:2px 0 5px;flex-wrap:nowrap;justify-content:flex-start;overflow:visible}
html[data-graph-fullscreen=true] .controls-unified #cards{min-width:0;flex:0 0 auto!important;padding:2px}
html[data-graph-fullscreen=true] .controls-unified #cards .card{padding:6px var(--toolbar-padding)}
html[data-graph-fullscreen=true] .controls-unified #cards .card b{font-size:10px}
html[data-graph-fullscreen=true] .controls-unified .controls-primary>.periods{padding:2px;gap:1px}
html[data-graph-fullscreen=true] .controls-unified .controls-primary>.periods,html[data-graph-fullscreen=true] .controls-unified #views{flex:0 0 auto!important;flex-wrap:nowrap}
html[data-graph-fullscreen=true] .controls-unified .controls-primary>.periods button,html[data-graph-fullscreen=true] .controls-unified #views button,html[data-graph-fullscreen=true] .controls-unified .extremes-control button{flex:0 0 auto;padding:6px var(--toolbar-padding);font-size:10px;white-space:nowrap}
html[data-graph-fullscreen=true] .controls-unified #mode-controls{display:none}
html[data-graph-fullscreen=true] #chart{touch-action:none}
