/* A content workspace: readable destinations, a calm canvas, and clear actions. */
:root{--workspace-ink:#292b30;--workspace-muted:#626875;--workspace-border:#dce0e5;--workspace-blue:#3154ce;--pipeline-board-sticky-top:76px}
.shell .main{color:var(--workspace-ink)}
.shell .content{font-size:1rem;line-height:1.55}
.shell .content h1{font-size:clamp(1.9rem,2.4vw,2.6rem);line-height:1.15;letter-spacing:-.045em}
.shell .content .subtitle,.shell .brain-heading p,.shell .overview-heading p{font-size:1rem;line-height:1.55;color:var(--workspace-muted);max-width:70ch}
.shell .content .eyebrow{font-size:.75rem;line-height:1.4;letter-spacing:.09em;font-weight:700;color:var(--workspace-muted)}
.shell .content .btn{font-size:.875rem;line-height:1.35;min-height:42px;border-radius:11px;box-shadow:none;text-align:center}
.shell .content .btn.primary{background:var(--workspace-blue);color:#fff;border-color:var(--workspace-blue);box-shadow:none}
.shell .content input:not([type=checkbox]):not([type=radio]):not([type=range]),.shell .content select,.shell .content textarea{font-size:1rem;line-height:1.5;color:var(--workspace-ink)}
.shell .content .quiet-link{font-size:.875rem;line-height:1.4}
.shell .content button:focus-visible,.shell .content a:focus-visible,.shell .workspace-dock button:focus-visible,.shell .workspace-dock summary:focus-visible{outline:3px solid #5978e2;outline-offset:3px}
.shell .content .heading-row{gap:20px;align-items:flex-start}
.shell .content .button-row{gap:8px}
.shell .workspace-dock .dock-tooltip{display:none}
.shell .workspace-dock .dock-link,.shell .workspace-dock .dock-client-picker>summary.dock-link{color:#d5d8df;box-shadow:none;background:transparent;transition:background .15s,color .15s;box-sizing:border-box}
.shell .workspace-dock .dock-link:hover,.shell .workspace-dock .dock-client-picker>summary.dock-link:hover{background:#ffffff12;color:#fff}
.shell .workspace-dock .dock-link.active,.shell .workspace-dock .dock-client-picker[open]>summary.dock-link{background:#edf1ff;color:#243e9e;box-shadow:none}
.shell .workspace-dock .dock-link.active .dock-label{color:inherit}
.shell .workspace-dock .dock-symbol,.shell .workspace-dock .dock-home .dock-symbol{background:none;color:inherit;box-shadow:none;border:0;margin:0;flex:none}
.shell .workspace-dock .dock-home{order:0}
.shell .workspace-dock .dock-label{display:block;letter-spacing:0;font-weight:550;line-height:1.3;color:inherit}
@media(min-width:761px){
 .shell .workspace-dock{display:flex!important;inset:12px auto 12px 12px;width:190px;height:auto;max-height:calc(100dvh - 24px);padding:16px 10px;border-radius:20px;background:#292b30!important;border:1px solid #292b30;box-shadow:none;align-items:stretch}
 .shell>.main{margin-left:214px!important;margin-right:0!important;min-width:0}
 .shell>.main>.content{padding:24px 30px 60px;max-width:100%;min-width:0;box-sizing:border-box}
 .shell .workspace-dock .dock-brand{display:flex;align-items:center;justify-content:flex-start;width:100%;height:48px;min-height:48px;padding-left:12px;margin:0 0 20px;flex:none}
 .shell .workspace-dock .dock-brand .elastic-app-mark{font-size:32px;letter-spacing:-3px}
 .shell .workspace-dock .dock-destinations{display:flex;flex-direction:column;width:100%;height:auto;gap:4px;padding:0;overflow-y:auto;overflow-x:hidden;min-height:0;scrollbar-width:thin;scrollbar-color:#666a73 transparent;overscroll-behavior:contain}
 .shell .workspace-dock .dock-link,.shell .workspace-dock .dock-client-picker>summary.dock-link{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:11px;width:100%;height:auto;min-height:45px;padding:9px 11px;border-radius:10px;flex:none;text-align:left}
 .shell .workspace-dock .dock-symbol,.shell .workspace-dock .dock-home .dock-symbol{width:23px;height:25px}
 .shell .workspace-dock .dock-symbol svg{width:21px;height:21px}
 .shell .workspace-dock .dock-label{font-size:.875rem}
 .shell .workspace-dock .dock-client-picker{width:100%;height:auto;flex:none}
 .shell .workspace-dock .dock-client-popover{position:fixed;left:214px;right:auto;bottom:24px;width:280px;max-width:calc(100vw - 238px);transform-origin:left bottom}
 .shell .workspace-dock .dock-admin-link:first-of-type{margin-top:8px}
 .upload-tray{left:226px}
}
@media(min-width:761px) and (max-width:1100px){
 .shell .workspace-dock{width:112px;padding:10px 6px}
 .shell>.main{margin-left:136px!important}
 .shell>.main>.content{padding-inline:22px}
 .shell .workspace-dock .dock-brand{justify-content:center;padding:0;margin-bottom:8px}
 .shell .workspace-dock .dock-link,.shell .workspace-dock .dock-client-picker>summary.dock-link{flex-direction:column;justify-content:center;gap:4px;padding:7px 3px;min-height:59px;text-align:center}
 .shell .workspace-dock .dock-label{font-size:.875rem;white-space:normal;overflow-wrap:normal}
 .shell .workspace-dock .dock-client-popover{left:136px;max-width:calc(100vw - 160px)}
 .upload-tray{left:148px}
}
@media(max-width:760px){
 .shell>.main{margin:0!important}
 .shell>.main>.content{padding:20px 16px calc(128px + env(safe-area-inset-bottom));max-width:100%;box-sizing:border-box}
 .shell .workspace-dock{display:flex!important;inset:auto 10px calc(8px + env(safe-area-inset-bottom));width:auto;height:74px;padding:5px 4px;border-radius:20px;background:#292b30!important;border:1px solid #292b30;box-shadow:0 4px 24px #1b223025}
 .shell .workspace-dock .dock-brand{display:none}
 .shell .workspace-dock .dock-destinations{display:flex;flex-direction:row;align-items:stretch;width:100%;height:100%;gap:3px;padding:0;overflow:visible}
 .shell .workspace-dock .dock-destinations>.dock-link:not(.dock-primary),.shell .workspace-dock .dock-client-picker{display:none!important}
 .shell .workspace-dock .dock-link.dock-primary{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:auto;min-width:0;height:100%;min-height:0;padding:4px 2px;border-radius:13px}
 .shell .workspace-dock .dock-symbol,.shell .workspace-dock .dock-home .dock-symbol{width:25px;height:25px}
 .shell .workspace-dock .dock-symbol svg{width:22px;height:22px}
 .shell .workspace-dock .dock-label{font-size:.875rem;line-height:1.2}
 .shell .topbar{width:auto;max-width:none;margin:12px 16px 0;justify-content:space-between;gap:10px}
 .shell .topbar .mobile-navigation-toggle{display:flex!important;position:static;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;flex:none}
 .shell .topbar .social-pop-header{display:none}
 .shell .topbar .top-actions{margin-left:auto}
 .shell .content h1{font-size:1.9rem}
 .shell .content .heading-row{gap:14px;flex-wrap:wrap}
 .shell .content .heading-row>.button-row{width:100%;justify-content:flex-start}
 .chat-dock{bottom:calc(94px + env(safe-area-inset-bottom));right:14px}
 .upload-tray{left:12px;bottom:calc(146px + env(safe-area-inset-bottom))}
 #toast{bottom:calc(96px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.shell .workspace-dock .dock-link{transition:none}}
@media print{.shell .workspace-dock{display:none!important}.shell>.main{margin:0!important}}
/* The pipeline controls stay compact so the work appears above the fold. */
.shell .brainstorm .brain-heading{align-items:flex-start;margin:0 0 24px;gap:20px}
.shell .brainstorm .brain-heading h1{font-size:2.25rem;line-height:1.15;margin:6px 0 10px;letter-spacing:-.04em}
.shell .brainstorm .brain-heading h1 .hm-page-symbol{width:28px;height:28px;margin-left:12px;vertical-align:middle}
.shell .brainstorm .brain-heading p{margin:0}
.shell .brainstorm .pipeline-control-panel{display:grid;gap:14px;margin-bottom:16px;padding:16px;border:1px solid var(--workspace-border);border-radius:16px;background:#fff}
.shell .brainstorm .brain-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;width:100%;margin:0}
.shell .brainstorm .brain-toolbar>label{display:grid;gap:5px;margin:0;font-size:.875rem;font-weight:600;line-height:1.4;min-width:0}
.shell .brainstorm .brain-toolbar .pipeline-workspace-filter{flex:0 1 220px}
.shell .brainstorm .brain-toolbar .pipeline-search-filter{flex:1 1 240px}
.shell .brainstorm .brain-toolbar input,.shell .brainstorm .brain-toolbar select{width:100%;min-height:42px;padding:9px 12px;border:1px solid var(--workspace-border);border-radius:9px;background:#fff;box-shadow:none}
.shell .brainstorm .pipeline-view-picker{border-radius:10px;box-shadow:none;background:#f1f3f7;border:0;padding:3px;height:44px;box-sizing:border-box}
.shell .brainstorm .pipeline-view-picker button{min-height:38px;border-radius:8px;padding:8px 12px;font-size:.875rem;box-shadow:none}
.shell .brainstorm .pipeline-view-picker button[aria-pressed=true]{background:#fff;color:#233d9d;box-shadow:0 1px 4px #18214016}
.shell .brainstorm .pipeline-filter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.shell .brainstorm .pipeline-format-tabs{display:flex;flex-wrap:wrap;gap:4px;align-items:center;max-width:100%;width:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.shell .brainstorm .pipeline-format-tabs button{min-height:38px;padding:7px 12px;border:0;border-radius:8px;box-shadow:none;background:transparent;font-size:.875rem;line-height:1.4;color:var(--workspace-muted)}
.shell .brainstorm .pipeline-format-tabs button[aria-pressed=true]{background:#edf1ff;color:#243e9e;box-shadow:none}
.shell .brainstorm .pipeline-filter-row>label{display:flex;align-items:center;gap:8px;flex:none;font-size:.875rem;color:var(--workspace-muted);font-weight:500}
.shell .brainstorm .pipeline-filter-row select{min-height:38px;max-width:220px;padding:7px 30px 7px 10px;border:1px solid var(--workspace-border);border-radius:9px;background:#fff;box-shadow:none;font-size:.875rem}
.shell .brainstorm .pipeline-results-summary{margin:0 0 10px;min-height:24px}
.shell .brainstorm .pipeline-results-summary p{font-size:.875rem}
.shell .brainstorm .pipeline-board-intro{margin:0 0 10px;min-height:0;align-items:center}
.shell .brainstorm .pipeline-board-intro p{margin:0;font-size:.875rem}
.shell .brainstorm .pipeline-board-navigation{margin-bottom:10px;padding:10px 12px;min-height:0;border-color:var(--workspace-border);border-radius:12px;background:#fff;box-shadow:0 4px 14px #1d2c4908}
.shell .brainstorm .pipeline-stage-jump{gap:4px}
.shell .brainstorm .pipeline-stage-jump select{min-height:40px;padding-block:7px;background:#fff;border:1px solid var(--workspace-border);border-radius:8px;box-shadow:none;font-size:.875rem}
.shell .brainstorm .pipeline-board-help{font-size:.8125rem;margin:0 0 12px;line-height:1.45}
@media(max-width:760px){
 .shell .brainstorm .brain-heading{margin-bottom:18px}
 .shell .brainstorm .brain-heading h1{font-size:1.9rem}
 .shell .brainstorm .pipeline-control-panel{padding:12px;gap:12px;border-radius:14px}
 .shell .brainstorm .brain-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
 .shell .brainstorm .brain-toolbar .pipeline-workspace-filter{grid-column:1/-1}
 .shell .brainstorm .brain-toolbar .pipeline-search-filter{min-width:0}
 .shell .brainstorm .pipeline-view-picker{width:auto}
 .shell .brainstorm .pipeline-view-picker button{padding-inline:9px}
 .shell .brainstorm .pipeline-view-picker button svg{display:none}
 .shell .brainstorm .pipeline-filter-row{gap:10px}
 .shell .brainstorm .pipeline-format-tabs{width:100%;gap:3px}
 .shell .brainstorm .pipeline-format-tabs button{padding:7px 9px;font-size:.875rem}
 .shell .brainstorm .pipeline-filter-row>label{width:100%;justify-content:space-between}
 .shell .brainstorm .pipeline-filter-row select{flex:1;max-width:none;font-size:1rem}
 .shell .brainstorm .pipeline-board-intro{align-items:flex-start}
 .shell .brainstorm .pipeline-board-intro p{font-size:.875rem}
 .shell .brainstorm .pipeline-board-navigation{padding:10px}
 .shell .brainstorm .pipeline-stage-jump select{font-size:1rem}
}
/* Retire the old glass-selected treatment so only the current destination is highlighted. */
.shell .workspace-dock .dock-link,.shell .workspace-dock .dock-client-picker>summary.dock-link{background:transparent!important;box-shadow:none!important;border-color:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#d5d8df!important}
.shell .workspace-dock .dock-link:before,.shell .workspace-dock .dock-link:after{display:none!important}
.shell .workspace-dock .dock-link:hover,.shell .workspace-dock .dock-client-picker>summary.dock-link:hover{background:#ffffff12!important;color:#fff!important}
.shell .workspace-dock .dock-link.active,.shell .workspace-dock .dock-client-picker[open]>summary.dock-link{background:#edf1ff!important;color:#243e9e!important}
/* Account controls scroll with the page; the relevant stage controls stay in view. */
:root{--pipeline-board-sticky-top:12px}
.shell .topbar{position:relative!important;top:auto!important}
#app .shell .brainstorm .pipeline-format-tabs button[aria-pressed=true]{background:#edf1ff!important;color:#243e9e!important;box-shadow:none!important}
/* Duo portrait, folded screens, and tablet windows keep navigation on the right. */
@media screen and (min-width:440px) and (max-width:1180px){
 :root{--hm-duo-rail-space:116px}
 .shell>.main{margin-left:0!important;margin-right:var(--hm-duo-rail-space)!important;min-width:0}
 .shell>.main>.content{padding:20px 16px calc(76px + env(safe-area-inset-bottom));max-width:100%;box-sizing:border-box}
 .shell .workspace-dock{display:flex!important;inset:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) auto;width:100px;height:auto;max-height:calc(100dvh - 16px);padding:8px 5px;border-radius:20px;align-items:stretch;box-shadow:none}
 .shell .workspace-dock .dock-brand{display:flex;align-items:center;justify-content:center;flex:none;width:100%;height:38px;min-height:38px;margin:0 0 8px;padding:0}
 .shell .workspace-dock .dock-brand .elastic-app-mark{font-size:27px;letter-spacing:-2px}
 .shell .workspace-dock .dock-destinations{display:flex;flex-direction:column;align-items:stretch;width:100%;height:auto;min-height:0;gap:3px;padding:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#747985 transparent;overscroll-behavior:contain}
 .shell .workspace-dock .dock-link,.shell .workspace-dock .dock-link.dock-primary,.shell .workspace-dock .dock-client-picker>summary.dock-link{display:flex!important;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;width:100%;height:auto;min-height:50px;gap:2px;padding:5px 2px;border-radius:11px;text-align:center}
 .shell .workspace-dock .dock-destinations>.dock-link:not(.dock-primary),.shell .workspace-dock .dock-client-picker{display:block!important}
 .shell .workspace-dock .dock-destinations>.dock-link:not(.dock-primary){display:flex!important}
 .shell .workspace-dock .dock-client-picker{width:100%;height:auto;flex:none}
 .shell .workspace-dock .dock-symbol,.shell .workspace-dock .dock-home .dock-symbol{width:23px;height:23px}
 .shell .workspace-dock .dock-symbol svg{width:21px;height:21px}
 .shell .workspace-dock .dock-label{max-width:100%;font-size:14px;line-height:1.25;white-space:normal;overflow-wrap:normal}
 .shell .workspace-dock .dock-admin-link:first-of-type{margin-top:0}
 .shell .workspace-dock .dock-client-popover{position:fixed;left:auto;right:calc(var(--hm-duo-rail-space) + 4px);bottom:max(16px,env(safe-area-inset-bottom));width:270px;max-width:calc(100vw - var(--hm-duo-rail-space) - 20px);transform-origin:right bottom}
 .shell .topbar{margin-inline:16px;max-width:calc(100% - 32px)}
 .shell .topbar .mobile-navigation-toggle{display:none!important}
 .shell .topbar .top-actions{margin-left:auto}
 .shell .chat-dock{right:calc(var(--hm-duo-rail-space) + 14px);bottom:calc(16px + env(safe-area-inset-bottom))}
 .shell .chat-drawer{max-width:calc(100vw - var(--hm-duo-rail-space) - 28px);max-height:calc(100dvh - 110px)}
 .upload-tray{left:14px;bottom:calc(72px + env(safe-area-inset-bottom));max-width:calc(100vw - var(--hm-duo-rail-space) - 28px)}
 #toast{max-width:calc(100vw - var(--hm-duo-rail-space) - 28px);left:calc((100vw - var(--hm-duo-rail-space))/2);bottom:24px}
}
@media screen and (min-width:440px) and (max-width:700px){
 .shell .account-header .client-view-picker>summary{max-width:44px;min-width:44px;padding-inline:0}
 .shell .account-header .client-view-picker>summary>span,.shell .account-header .client-view-picker>summary .client-view-chevron{display:none}
 .shell .account-header .overflow-menu-items,.shell .notification-panel,.shell .client-view-popover{right:calc(var(--hm-duo-rail-space) + 12px);max-width:calc(100vw - var(--hm-duo-rail-space) - 24px)}
 .shell .brainstorm .brain-heading{gap:12px}
 .shell .brainstorm .brain-heading>.button-row{width:100%;justify-content:flex-start}
}
