/* A single live workspace, with an explicit app choice instead of layered windows. */
body.office-catalog-dle [data-office-app-stack].is-stack-ready { grid-area:workbook; width:100%; min-width:0; margin-top:32px; display:grid; grid-template-columns:156px minmax(0,1fr); gap:10px 16px; align-items:start; }
body.office-catalog-dle [data-office-app-stack] [hidden] { display:none!important; }
body.office-catalog-dle [data-office-app-stack].is-stack-ready > :is(img,picture,figure) { display:none; }
body.office-catalog-dle .office-workspace-switcher { grid-column:1; grid-row:1 / span 2; min-width:0; }
body.office-catalog-dle .office-app-picker { margin:0; padding:0; border:0; background:transparent; color:#526071; }
body.office-catalog-dle .office-app-picker-title { margin:0 0 8px; padding:0 9px; color:#637080; font-size:12px; font-weight:600; line-height:20px; }
body.office-catalog-dle .office-stack-tabs { display:grid; grid-template-columns:minmax(0,1fr); gap:2px; padding:0; }
body.office-catalog-dle .office-stack-tab { display:flex; align-items:center; gap:8px; width:100%; min-width:0; min-height:32px; padding:5px 8px; border:1px solid transparent; border-radius:4px; background:transparent; color:#526071; font-size:13px; font-weight:500; line-height:20px; text-align:left; cursor:pointer; }
body.office-catalog-dle .office-stack-tab img { width:20px; height:20px; flex:none; object-fit:contain; }
body.office-catalog-dle .office-stack-tab:is(:hover,[aria-selected="true"]) { color:var(--stack-app-color); background:color-mix(in srgb,var(--stack-app-color) 7%,#fffefd); border-color:color-mix(in srgb,var(--stack-app-color) 27%,#fff); }
body.office-catalog-dle .office-stack-tab[aria-selected="true"] { font-weight:650; box-shadow:inset 2px 0 var(--stack-app-color); }
body.office-catalog-dle .office-stack-windows { grid-column:2; grid-row:1; position:relative; width:100%; height:var(--stack-window-height,400px); min-width:0; }
body.office-catalog-dle .office-stack-panel { position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; background:#fff; border-radius:4px; }
body.office-catalog-dle .office-stack-panel:not([data-active="true"]) { display:none; }
body.office-catalog-dle .office-stack-demo { width:100%; height:100%; }
body.office-catalog-dle .office-stack-panel>.office-stack-demo>.workbook-stage { margin:0!important; padding:0!important; width:100%!important; height:100%!important; min-height:0!important; }
body.office-catalog-dle .office-stack-panel>.office-stack-demo>.workbook-stage::after { display:none!important; }
body.office-catalog-dle .office-stack-panel .catalog-demo-focus-shell:not(:modal) iframe { border-radius:4px; box-shadow:0 5px 18px rgb(35 50 67 / 8%)!important; }
body.office-catalog-dle .office-stack-controls { grid-column:2; grid-row:2; min-width:0; }
body.office-catalog-dle .office-stack-control-group { display:flex; align-items:center; gap:6px; padding:0; border:0; background:transparent; min-width:0; }
body.office-catalog-dle .office-stack-control-group > :is(.workbook-nav,.office-embed-expand,.excel-embed-expand) { position:static!important; display:inline-flex!important; align-items:center; justify-content:center; gap:7px; flex:none; width:40px; height:40px; min-width:0; margin:0!important; padding:0 8px; border:1px solid #d3e2ed; border-radius:4px; color:#3b5063; background:#fffefd; box-shadow:none!important; font-size:12px; line-height:1.4; transform:none!important; cursor:pointer; }
body.office-catalog-dle .office-stack-control-group > .autoplay { width:124px; aspect-ratio:auto; white-space:nowrap; order:1; }
body.office-catalog-dle .office-stack-control-group > .prev { order:0; }
body.office-catalog-dle .office-stack-control-group > .next { order:2; }
body.office-catalog-dle .office-stack-control-group > :is(.office-embed-expand,.excel-embed-expand) { order:4; width:auto; padding-inline:12px; }
body.office-catalog-dle .office-stack-control-group > .workbook-nav svg { width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; }
body.office-catalog-dle .office-stack-control-group > .autoplay .autoplay-icon-pause { display:none; }
body.office-catalog-dle .office-stack-control-group > .autoplay[aria-pressed="true"] .autoplay-icon-pause { display:initial; }
body.office-catalog-dle .office-stack-control-group > .autoplay[aria-pressed="true"] .autoplay-icon-view { display:none; }
body.office-catalog-dle .office-stack-control-group > .workbook-dots { position:static!important; order:3; display:flex; justify-content:center; align-items:center; gap:0; flex:1; min-width:54px; margin:0; transform:none!important; }
body.office-catalog-dle .office-stack-control-group > .workbook-dots button { display:grid; place-items:center; flex:none; width:22px!important; height:40px; margin:0; padding:0; border:0; border-radius:3px!important; background:transparent!important; box-shadow:none!important; cursor:pointer; }
body.office-catalog-dle .office-stack-control-group > .workbook-dots button::before { content:none!important; }
body.office-catalog-dle .office-stack-control-group > .workbook-dots button::after { content:''; width:6px; height:6px; border-radius:6px; background:#acbbc6; }
body.office-catalog-dle .office-stack-control-group > .workbook-dots button[aria-current="true"]::after { width:14px; background:var(--stack-app-color); }
body.office-catalog-dle [data-office-app-stack] :is(.office-stack-tab,.office-app-picker-toggle,.office-stack-control-group button):focus-visible { outline:2px solid var(--stack-app-color,#1479bd); outline-offset:2px; }
body.office-catalog-dle .office-app-picker-toggle { display:flex; align-items:center; gap:10px; width:100%; min-height:52px; padding:8px 12px; border:1px solid #c6dcea; border-radius:4px; background:#fffefd; color:#344758; text-align:left; cursor:pointer; }
body.office-catalog-dle .office-app-picker-toggle>img { width:24px; height:24px; object-fit:contain; flex:none; }
body.office-catalog-dle .office-app-picker-copy { display:grid; gap:1px; flex:1; }
body.office-catalog-dle .office-app-picker-copy small { font-size:11px; color:#637080; line-height:1.3; }
body.office-catalog-dle .office-app-picker-copy strong { font-size:14px; font-weight:600; line-height:1.4; }
body.office-catalog-dle .office-app-picker-toggle>svg { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; }
@media(min-width:1081px) { body.office-catalog-dle [data-office-app-stack].is-stack-ready { width:calc(100% + var(--excel-overhang,0px)); margin-left:calc(-1 * var(--excel-overhang,0px)); } }
@media(max-width:700px) {
 body.office-catalog-dle [data-office-app-stack].is-stack-ready { grid-template-columns:minmax(0,1fr); gap:10px; }
 body.office-catalog-dle .office-workspace-switcher { grid-column:1; grid-row:1; }
 body.office-catalog-dle .office-stack-windows { grid-column:1; grid-row:2; }
 body.office-catalog-dle .office-stack-controls { grid-column:1; grid-row:3; }
 body.office-catalog-dle .office-app-picker { position:fixed; inset:auto; z-index:1000; box-sizing:border-box; margin:0; padding:7px; border:1px solid #c6dcea; border-radius:4px; background:#fffefd; box-shadow:0 8px 24px rgb(38 50 66 / 12%); overflow-y:auto; overscroll-behavior:contain; }
 body.office-catalog-dle .office-app-picker-title { display:none; }
 body.office-catalog-dle .office-stack-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px; }
 body.office-catalog-dle .office-stack-tab { min-height:44px; padding:7px 6px; gap:6px; font-size:12px; }
 body.office-catalog-dle .office-stack-control-group { gap:4px; }
 body.office-catalog-dle .office-stack-control-group > .autoplay>span { display:none; }
 body.office-catalog-dle .office-stack-control-group > .autoplay { width:44px; }
 body.office-catalog-dle .office-stack-control-group > :is(.workbook-nav,.office-embed-expand,.excel-embed-expand) { width:44px; height:44px; padding-inline:5px; }
 body.office-catalog-dle .office-stack-control-group > :is(.office-embed-expand,.excel-embed-expand) { width:auto; padding-inline:7px; }
 body.office-catalog-dle .office-stack-control-group > .workbook-dots button { width:18px!important; height:44px; }
}
