/* Quiet, always-painted navigation; independent of macOS scrollbar visibility. */
html.mychecko-soft-scroll,html.mychecko-soft-scroll body{overscroll-behavior-x:none}
.mc-space-scroll{display:flex;align-items:center;gap:10px;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0 0 15px;padding:2px 0;background:transparent}
.mc-space-scroll[hidden]{display:none!important}
.mc-space-scroll button{flex:0 0 28px;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:#aaa;font:20px/28px system-ui;cursor:pointer}
.mc-space-scroll button:hover{background:#00000006;color:#777}
.mc-space-scroll button:disabled{opacity:.25;cursor:default}
.mc-space-scroll input[type=range]{appearance:none;-webkit-appearance:none;flex:1 1 0;width:0;min-width:0;height:28px;padding:0;margin:0;background:transparent;border:0;box-shadow:none;cursor:ew-resize;opacity:1}
.mc-space-scroll input[type=range]::-webkit-slider-runnable-track{height:3px;border:0;border-radius:10px;background:#00000004}
.mc-space-scroll input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:var(--mc-scroll-thumb,36%);height:7px;margin-top:-2px;border:0;border-radius:10px;background:#e5e5e5}
.mc-space-scroll input[type=range]::-moz-range-track{height:3px;border:0;border-radius:10px;background:#00000004}
.mc-space-scroll input[type=range]::-moz-range-thumb{width:var(--mc-scroll-thumb,36%);height:7px;border:0;border-radius:10px;background:#e5e5e5}
/* Override the shared gold input focus border only for scroll navigation. */
.mc-space-scroll input[type=range],
.mc-space-scroll input[type=range]:focus,
.mc-space-scroll input[type=range]:focus-visible,
.mc-space-scroll button:focus,
.mc-space-scroll button:focus-visible{border:0!important;outline:none!important;outline-offset:0!important;box-shadow:none!important}
.mc-space-scroll button{display:grid;place-items:center;line-height:1}
.mc-scroll-chevron{display:block;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;pointer-events:none}
.mc-scroll-chevron-left{transform:translateX(1.5px) rotate(-135deg)}
.mc-scroll-chevron-right{transform:translateX(-1.5px) rotate(45deg)}
.mc-space-scroll-dashboard{position:relative;z-index:2;max-width:none}
@media(pointer:coarse){.mc-space-scroll button{flex-basis:44px;width:44px;height:44px}.mc-space-scroll input[type=range]{height:44px}}

/* Keep Dashboard horizontal movement on the root scroller, not a nested body. */
html.mychecko-soft-scroll{overflow-x:auto!important}
html.mychecko-soft-scroll body{overflow-x:visible!important}

/* v160: keep the page at viewport width; only the board can expand sideways. */
html.mychecko-contained-board{overflow-x:hidden!important;background-color:var(--space-canvas-bg,#fffaf2)!important;overscroll-behavior-x:none}
html.mychecko-contained-board body{overflow-x:visible!important;min-width:0;width:100%;min-height:100vh}
html.mychecko-contained-board main{min-width:0;width:100%;box-sizing:border-box}
#dashboardViewport{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:none;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 0 16px}
#dashboardViewport::-webkit-scrollbar{display:none}
#dashboardViewport>#cards{max-width:none;margin-top:0}
.mc-space-scroll-dashboard{width:100%;max-width:100%;transform:none}
.mc-space-scroll input[type=range]{touch-action:none!important;-webkit-user-select:none;user-select:none}
.mc-space-scroll input[type=range]::-webkit-slider-thumb{box-shadow:none!important}
.mc-space-scroll input[type=range]::-moz-range-thumb{box-shadow:none!important}
@supports(min-height:100dvh){html.mychecko-contained-board body{min-height:100dvh}}
html body .mc-space-scroll input[type=range]:not(:disabled):focus,
html body .mc-space-scroll input[type=range]:not(:disabled):focus-visible{border:0!important;outline:none!important;box-shadow:none!important}
