/* Shared workspace navigation. Page-specific tools stay with their page. */
.clientana-app .product-launcher { --workspace-blue:var(--app-blue,#1957d7); position:sticky; top:var(--clientana-app-header-height,64px); z-index:450; display:flex; align-items:center; gap:16px; min-height:58px; padding:7px 28px; flex:0 0 auto; border-bottom:1px solid var(--app-line,#e3e8f0); background:var(--app-panel,#fff); color:var(--app-ink,#25354b); font-family:var(--app-font-family,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif); }
.product-launcher-label { color:var(--app-muted,#7b8799); font-size:10px; font-weight:600; letter-spacing:.09em; flex:none; }
.workspace-nav-content { display:flex; align-items:center; gap:12px; flex:1; min-width:0; }
.workspace-primary-links { display:flex; align-items:center; gap:4px; min-width:0; }
.clientana-app .product-launcher-link,.clientana-app .workspace-utility-link { display:flex; align-items:center; gap:8px; min-height:42px; padding:9px 11px; border:1px solid transparent; border-radius:8px; color:var(--app-muted,#68778f); text-decoration:none; font:500 12px/1.4 var(--app-font-family,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif); white-space:nowrap; cursor:pointer; }
.product-launcher svg { width:18px; height:18px; flex:0 0 18px; pointer-events:none; }
.clientana-app .product-launcher-link:hover,.clientana-app .workspace-utility-link:hover { background:var(--app-soft,#f4f6fa); color:var(--app-ink,#25354b); }
.clientana-app .product-launcher [aria-current=page] { color:var(--workspace-blue); background:var(--app-tint,#edf3ff); font-weight:600; }
.clientana-app .product-launcher-link[aria-disabled=true] { opacity:.58; cursor:help; }
.clientana-app .workspace-more { margin:0 0 0 auto; padding:0; position:relative; border:0; background:none; flex:none; }
.clientana-app .workspace-more > summary { display:flex; align-items:center; gap:7px; min-height:42px; padding:9px 12px; list-style:none; cursor:pointer; border:1px solid var(--app-line,#e3e8f0); border-radius:8px; color:var(--app-muted,#68778f); font-size:12px; font-weight:500; }
.workspace-more > summary::-webkit-details-marker { display:none; }
.clientana-app .workspace-more[data-active=true] > summary { color:var(--workspace-blue); background:var(--app-tint,#edf3ff); border-color:transparent; }
.workspace-more-links { position:absolute; top:calc(100% + 8px); right:0; width:230px; padding:6px; background:var(--app-panel,#fff); border:1px solid var(--app-line,#e3e8f0); border-radius:12px; box-shadow:0 16px 45px #1e35551c; }
.clientana-app .workspace-utility-link { width:100%; padding-inline:12px; }
.product-launcher-status { position:absolute; top:100%; right:16px; margin:0; padding:10px 14px; max-width:min(420px,calc(100vw - 32px)); font-size:12px; line-height:1.6; color:var(--app-muted,#68778f); background:var(--app-panel,#fff); border:1px solid var(--app-line,#e3e8f0); border-radius:8px; }
.product-launcher-status[hidden] { display:none; }
.clientana-app .product-launcher :is(a,button,summary):focus-visible { outline:2px solid var(--workspace-blue); outline-offset:3px; }
.workspace-menu-toggle,.workspace-current-page { display:none; }
.clientana-app .workspace-navigation-dialog { width:min(340px,calc(100vw - 32px)); height:100dvh; max-height:100dvh; margin:0 auto 0 0; padding:0 16px 24px; border:0; border-right:1px solid var(--app-line,#e3e8f0); border-radius:0; background:var(--app-panel,#fff); color:var(--app-ink,#25354b); box-shadow:16px 0 60px #0e214a26; overflow-y:auto; overscroll-behavior:contain; }
.workspace-navigation-dialog::backdrop { background:#12233c66; }
.workspace-navigation-dialog:not([open]) { display:none; }
.workspace-menu-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:76px; margin-bottom:10px; border-bottom:1px solid var(--app-line,#e3e8f0); }
.workspace-menu-heading h2 { margin:0; font-size:17px; font-weight:600; letter-spacing:-.03em; }
.clientana-app .workspace-menu-heading button { display:grid; place-items:center; width:44px; min-height:44px; padding:10px; border:0; border-radius:8px; background:transparent; color:var(--app-muted,#68778f); }
.workspace-breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:10px; width:min(1540px,100%); margin:0 auto; padding:22px clamp(16px,3vw,36px) 0; color:var(--app-muted,#7b8799); font:400 12px/1.6 var(--app-font-family,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif); }
.workspace-breadcrumbs a { color:var(--app-muted,#68778f); text-decoration:none; }
.workspace-breadcrumbs a:hover { color:var(--app-blue,#1957d7); text-decoration:underline; }
.workspace-breadcrumbs [aria-current] { color:var(--app-ink,#33445d); }
body.has-product-launcher > header { position:sticky; top:0; z-index:460; }
body.app-dashboard.has-product-launcher .product-launcher { top:var(--clientana-app-header-height,72px); }
body.app-dashboard.has-product-launcher .sidebar { top:calc(var(--clientana-app-header-height,72px) + var(--clientana-launcher-height,58px)); }
body.app-recording.has-product-launcher .sidebar { top:calc(var(--clientana-app-header-height,66px) + var(--clientana-launcher-height,58px) + 16px); }
body.app-chat.has-product-launcher .chat-layout { height:calc(100dvh - var(--clientana-app-header-height,60px) - var(--clientana-launcher-height,58px) - 42px); }
body.app-chat.has-product-launcher .workspace-breadcrumbs { padding:10px 24px; flex:none; }
@media(max-width:900px) { body.app-chat.has-product-launcher .context-pane { z-index:500; } }
body.app-video-editor.has-product-launcher .product-launcher { min-height:48px; padding-block:3px; }
body.app-video-editor.has-product-launcher .editor-shell { grid-template-rows:minmax(160px,1fr) minmax(250px,37dvh); }
body.app-meet.in-call-mode .product-launcher,body.app-meet.in-call-mode .workspace-breadcrumbs { display:none; }
@media(min-width:981px) and (max-width:1190px) { .clientana-app .product-launcher { gap:8px; padding-inline:16px; } .product-launcher-label { display:none; } .clientana-app .product-launcher-link { padding-inline:10px; gap:6px; } }
@media(max-width:980px) {
 .clientana-app .product-launcher { padding:6px 16px; gap:14px; min-height:54px; }
 .product-launcher-label,.product-launcher > .workspace-nav-content { display:none; }
 .clientana-app .workspace-menu-toggle { display:inline-flex; align-items:center; gap:9px; min-height:42px; padding:8px 12px; border:1px solid var(--app-line,#e3e8f0); border-radius:8px; background:var(--app-panel,#fff); color:var(--app-ink,#25354b); font:500 13px/1.4 var(--app-font-family,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif); }
 .workspace-current-page { display:block; min-width:0; color:var(--app-muted,#7b8799); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 .workspace-navigation-dialog .workspace-nav-content,.workspace-navigation-dialog .workspace-primary-links { display:flex; flex-direction:column; align-items:stretch; gap:4px; }
 .clientana-app .workspace-navigation-dialog :is(.product-launcher-link,.workspace-utility-link) { min-height:46px; width:100%; font-size:14px; gap:12px; padding:11px 14px; }
 .clientana-app .workspace-navigation-dialog .workspace-more { margin:12px 0 0; padding-top:12px; border-top:1px solid var(--app-line,#e3e8f0); }
 .workspace-navigation-dialog .workspace-more > summary { display:none; }
 .workspace-navigation-dialog .workspace-more-links { position:static; width:auto; padding:0; box-shadow:none; border:0; background:transparent; }
 .workspace-navigation-dialog .product-launcher-status { position:static; max-width:none; margin-top:14px; }
 .workspace-breadcrumbs { padding-top:16px; font-size:11px; gap:8px; }
 .product-launcher-status { position:absolute; top:100%; left:0; right:0; max-width:none; background:var(--app-panel,#fff); border-bottom:1px solid var(--app-line,#e3e8f0); }
}
@media(max-width:760px) {
 body.has-product-launcher > header { position:relative; top:auto; }
 .clientana-app .product-launcher,body.app-dashboard.has-product-launcher .product-launcher { top:0; }
 body.app-dashboard.has-product-launcher .sidebar { top:0; }
 body.app-chat.has-product-launcher .workspace-breadcrumbs { display:none; }
 body.app-chat.has-product-launcher .chat-layout { height:calc(100dvh - var(--clientana-app-header-height,60px) - var(--clientana-launcher-height,54px)); }
 body.app-recording.has-product-launcher .nav a.recording-back-link { display:inline-flex; padding-inline:8px; font-size:12px; gap:6px; }
 body.app-recording.has-product-launcher > header { gap:10px; align-items:center; flex-wrap:wrap; }
 body.app-recording.has-product-launcher > header .nav { flex-wrap:wrap; justify-content:flex-end; }
 body.app-recording.has-product-launcher > header .clientana-brand-logo { max-width:125px; }
}
@media(prefers-reduced-motion:reduce) { .workspace-navigation-dialog { scroll-behavior:auto; } }

.pending-save-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#e5edff;color:#245cc3;font-size:11px;font-weight:700}.save-recovery-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px max(24px,calc((100vw - 1200px)/2));background:#fff8e9;border-bottom:1px solid #ecdcb9;color:#755826;font:13px/1.5 Inter,system-ui}.save-recovery-notice p{display:grid;gap:3px;margin:0}.save-recovery-notice strong{color:#503d21}.save-recovery-notice a{flex:none;background:white;border:1px solid #dfcba5;border-radius:8px;padding:9px 13px;color:#70512a;text-decoration:none;font-weight:600}@media(max-width:540px){.save-recovery-notice{align-items:flex-start;flex-direction:column;gap:12px;padding:16px 18px}.save-recovery-notice a{align-self:stretch;text-align:center}}
