/* Stable space for both plain Cards and stacks, in all Matrix layouts. */
.v8-viewer .deck-banner111.up-arrow{top:0}
.v8-viewer .stack-rail{top:calc(86px + var(--matrix-height));bottom:auto;width:min(560px,calc(100% - 100px));height:44px}
.v8-viewer .deck-banner111.down-arrow{top:calc(134px + var(--matrix-height))}
.v8-viewer .matrix-heading,.v8-viewer .lock-tools{display:none}
.v8-viewer .matrix-bar11{gap:4px}
.v8-viewer .matrix-bar11 :is(.btn,.lock-btn){font:600 11px/1.15 system-ui!important;letter-spacing:0;text-transform:none;min-height:32px;height:32px;min-width:0;padding:4px 7px!important;border-radius:8px;display:inline-flex;justify-content:center;align-items:center;flex:1;max-width:145px}
.v8-viewer .matrix-bar11 :is(.btn,.lock-btn) span{font:inherit!important}
.v8-viewer .matrix-bottom11{min-height:76px;max-height:76px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:32px;justify-items:stretch;align-content:center;padding:4px 7px}
.v8-viewer .matrix-bottom11 :is(.btn,.lock-btn){max-width:none;width:100%}
.v8-viewer .matrix-bottom11 [hidden]{display:none!important}
.v8-viewer .current-cell .card-shell,.v8-viewer .recall-active12 .current-cell .card-shell{inset:44px 0 76px!important;height:calc(100% - 120px)}
.v8-viewer .recall-active12 .matrix-bottom11{min-height:76px}
.note-heading .companion-heading121{font:700 20px system-ui;color:var(--accent);background:var(--panel2);border:1px solid var(--line)}
@media(max-width:600px){.v8-viewer .matrix-bar11 :is(.btn,.lock-btn){font-size:10px!important;padding:3px!important}.v8-viewer .deck-banner111.up-arrow{top:44px}.v8-viewer .matrix-window{top:92px}.v8-viewer .stack-rail{top:calc(96px + var(--matrix-height))}.v8-viewer .deck-banner111.down-arrow{top:calc(144px + var(--matrix-height))}}

.v8-viewer.matrix-overlay .plain-checklist121:after{display:none}
.v8-viewer .matrix-bottom11>button:nth-child(4):last-child{grid-column:2}

.v8-viewer .matrix-bar11 :is(.btn,.lock-btn){flex:none;width:var(--matrix-button-width);font-weight:700!important}
.v8-viewer .matrix-bar11 :is(.btn,.lock-btn) span{text-transform:inherit;letter-spacing:inherit}
.v8-viewer .matrix-bottom11{grid-template-columns:repeat(3,var(--matrix-button-width));justify-content:center}
