/* Public framing only. Workspace widgets are owned by workspace_components.css. */
html .publicTools.demoWorkspace{max-width:1400px;width:100%;color:var(--ink,#202b3e)}
.demoWorkspace .demoLayout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start;margin:28px 0 36px;padding:24px;border:1px solid var(--line,#e1e6ee);border-radius:20px;background:var(--surface-inset,#f3f6fa)}
.demoWorkspace .collectionSidebar{min-width:0;position:sticky;top:120px;padding:0;background:transparent;border:0}
.demoWorkspace .demoSideBrand{display:block;margin:0 0 24px}.demoWorkspace .demoSideBrand img{display:block;max-width:150px;width:100%;height:auto}
.demoWorkspace .demoModeNote{margin:28px 12px 0;font-size:13px;color:var(--muted,#667287);line-height:1.6}
.demoWorkspace .collectionMain{min-width:0}.demoWorkspace .collectionMain>[data-demo-panel]{margin:0;padding:0;background:transparent;border:0}
.demoWorkspace .collectionHeaderTools{display:flex;flex-wrap:wrap;gap:12px}.demoWorkspace .demoPageIntro{font-size:15px;color:var(--muted,#667287);margin:8px 0 0}
.demoWorkspace #demoFilterCount{margin:12px 0;color:var(--muted,#667287);font-size:14px}
.demoWorkspace #demoSelectionTools{margin:16px 0;padding:16px;border:1px solid var(--line,#e1e6ee);border-radius:12px}.demoWorkspace #demoSelectionTools p{font-size:13px;color:var(--muted,#667287);margin:8px 0 0}
.demoWorkspace #demoStatus{min-height:1.5em;font-size:15px;color:var(--ink,#202b3e)}
.demoWorkspace .demoDetail{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;background:var(--surface,#fff);color:var(--ink,#202b3e);border:1px solid var(--line,#e1e6ee);border-radius:20px}.demoWorkspace .demoDetail::backdrop{background:#08112399}.demoWorkspace .demoDetailHead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.demoWorkspace .demoDetailHead h2{margin:0;line-height:1.4}.demoWorkspace .demoDetail>p{font-size:14px;color:var(--muted,#667287);line-height:1.6}
.demoWorkspace .demoNext{margin-top:36px}
@media(max-width:700px){.demoWorkspace .demoLayout{grid-template-columns:minmax(0,1fr)}.demoWorkspace .collectionSidebar{display:none}}
@media(max-width:700px){.demoWorkspace .demoLayout{padding:16px;gap:16px;border-radius:16px}.demoWorkspace .collectionMobileNav{position:sticky;bottom:0;grid-column:1/-1;z-index:3}.demoWorkspace .collectionWorkspaceHeader{gap:16px}.demoWorkspace .collectionHeaderTools{width:100%}.demoWorkspace .collectionHeaderTools>button{flex:1;min-width:0}}

.demoWorkspace [data-demo-panel][hidden],.demoWorkspace [hidden]{display:none!important}

.demoWorkspace .collectionWorkspaceHeader{scroll-margin-top:140px}

/* Public cookie control has its own measured viewport reserve. The demo dock
   stays inside its frame and above that control, unlike the private app dock. */
@media(max-width:700px){body.kogiHasConsentControl .demoWorkspace .collectionMobileNav{bottom:var(--kogi-consent-control-space,calc(90px + env(safe-area-inset-bottom,0px)))}}
