
body.is-desktop,html[data-theme=dark] body.is-desktop{--dsk-sidebar-bg:var(--bg)}
body.is-desktop .desktop-sidebar{border-right-color:var(--line-soft)}
body.is-desktop .topbar{border-bottom-color:var(--line-soft)}

body.is-desktop .dsk-fold:before{opacity:0;transition:opacity .2s,background .2s,box-shadow .2s}
body.is-desktop .dsk-fold .ic{opacity:0;transition:opacity .2s,border-color .2s,color .2s}
body.is-desktop .desktop-sidebar:hover .dsk-fold .ic,body.is-desktop .dsk-fold:hover .ic,body.is-desktop .dsk-fold:focus-visible .ic{opacity:1}
body.is-desktop .dsk-fold:hover:before,body.is-desktop .dsk-fold:focus-visible:before{opacity:1}
@media(hover:none){body.is-desktop .dsk-fold .ic{opacity:1}}

body.is-desktop :is(#defectRoot,#qscrapRoot):not(.df-fs) .df-tbl-wrap:has(+ .df-stbar){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}
body.is-desktop :is(#defectRoot,#qscrapRoot):not(.df-fs) .df-cards + .gr-hint{display:none}
:is(#defectRoot,#qscrapRoot) .df-stbar{display:none}
body.is-desktop :is(#defectRoot,#qscrapRoot):not(.df-fs) .df-stbar{margin-top:-12px;display:flex;align-items:center;gap:10px;position:relative;height:38px;padding:0 14px;box-sizing:border-box;border:1px solid var(--line);border-top-color:var(--line-soft);border-radius:0 0 14px 14px;background:var(--surface-2,var(--surface));font-size:12.5px;color:var(--muted)}
.df-stbar .stt b{color:var(--ink);font-weight:700}
.df-stbar .sp{flex:1}
.df-stbar .stb{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:var(--steel);font:inherit;font-weight:700;padding:4px 6px;border-radius:7px;cursor:pointer}
.df-stbar .stb:hover{background:var(--side-hover,rgba(22,24,29,.06))}
.df-stbar .stb svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.df-stbar .stp{position:absolute;right:10px;bottom:46px;width:420px;max-width:calc(100% - 20px);padding:14px 16px;border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line),0 16px 40px -12px rgba(0,0,0,.35);font-size:13px;line-height:1.6;z-index:30}
.df-stbar .stp[hidden]{display:none}
body.is-desktop:is([data-at=defect],[data-at=qscrap]) main{padding-bottom:14px}
body.is-desktop:is([data-at=defect],[data-at=qscrap]){padding-bottom:0!important}
