/* Isolated compact viewer preview. Canvas dimensions remain unchanged. */
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-sticky-top{margin-bottom:12px!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell {padding-top:8px!important;gap:8px 12px!important;grid-template-columns:auto minmax(0,1fr) auto!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .lab-material-kind{grid-row:1!important;grid-column:1!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .lab-material-specs{grid-row:1!important;grid-column:2!important;margin-right:0!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .xf3-weight-metrics{grid-row:1 / 3!important;grid-column:3!important;align-self:start!important;justify-self:end!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:10px!important;margin:48px 16px 0 0!important;max-width:none!important;background:none!important;border:0!important;box-shadow:none!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .xf3-weight-metrics [data-shelf-capacity-jump]{order:1!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .xf3-weight-metrics [data-empty-shelf-weight]{order:0!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-viewer-toolbar{grid-row:2!important;grid-column:1 / 3!important;margin-right:0!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-viewer{grid-row:3!important;grid-column:1 / -1!important;width:100%!important}
@container shelfviewer (max-width:750px){
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .lab-material-kind{grid-column:1 / 3!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .lab-material-specs{grid-row:2!important;grid-column:1 / 3!important;margin-left:16px!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-viewer-toolbar{grid-row:3!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .xf3-weight-metrics{grid-row:1 / 4!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-viewer{grid-row:4!important}
}
@container shelfviewer (max-width:600px){
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell {grid-template-columns:minmax(0,1fr)!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .lab-material-kind,html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .lab-material-specs,html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-viewer-toolbar{grid-column:1 / -1!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-viewer-toolbar{margin-right:16px!important;flex-wrap:wrap!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material.lab-preview-material .xf3-weight-metrics{grid-row:4!important;grid-column:1 / -1!important;margin-top:48px!important;margin-left:16px!important}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .lab-viewer-shell.lab-viewer-shell .lab-viewer{grid-row:5!important}
}
html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] [data-summary-name],html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] .xf3-shelf-name,html.xform3-themed body .lab-page[data-store-finish][data-compact-viewer] [data-save-preview-shelf][translate="no"]{color:#ad302b!important;-webkit-text-fill-color:#ad302b!important}
