/* Update, view-as and Trial notices sit above the entire workspace. */
:root{--workspace-update-height:0px;--workspace-trial-height:0px;--workspace-quota-height:0px}
body[data-workspace=true]{
 --workspace-view-as-height:0px;
 --workspace-trial-top:calc(var(--workspace-update-height) + var(--workspace-view-as-height));
 --workspace-top-offset:calc(var(--workspace-trial-top) + var(--workspace-trial-height) + var(--workspace-quota-height));
 --workspace-viewport-height:calc(100dvh - var(--workspace-top-offset));
 padding-top:var(--workspace-top-offset)
}
body[data-workspace=true] :is(.sidebar,.settings-sidebar,.workspace-boot,.workspace-boot-menu){top:var(--workspace-top-offset)}
.workspace-update{position:fixed;inset:0 0 auto;z-index:49;min-height:30px;box-sizing:border-box;padding:6px 36px;display:flex;justify-content:center;align-items:center;gap:7px;border-bottom:1px solid var(--line);background:var(--surface);color:var(--ink);font:400 11px/17px var(--font-ui);text-align:center;animation:workspace-update-in .16s ease-out}
.workspace-update-bell{width:12px;height:12px;flex:0 0 12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.workspace-update a{color:#2879c4;text-decoration:none;cursor:pointer}
.workspace-update a:hover{text-decoration:underline;text-decoration-style:dashed;text-decoration-color:var(--hover-underline,#d3d7db);text-decoration-thickness:1px;text-underline-offset:4px}
body[data-appearance=dark] .workspace-update a{color:#78b9f5}
:is(.workspace-update-close,.workspace-subscription-close) svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round}
body[data-workspace=true] :is(.workspace-update-close,.workspace-subscription-close){
 position:absolute;inset-inline-end:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;
 width:36px;height:36px;max-height:100%;padding:0;border:0;border-radius:0;
 background:transparent;box-shadow:none;color:var(--muted);cursor:pointer;transition:color .12s
}
body[data-workspace=true] :is(.workspace-update-close,.workspace-subscription-close):hover{background:transparent;box-shadow:none;color:var(--ink)}
body[data-workspace=true] :is(.workspace-update-close,.workspace-subscription-close):focus-visible{outline:1px solid currentColor;outline-offset:-3px}
.workspace-update a:focus-visible{outline:1px solid currentColor;outline-offset:2px}
@keyframes workspace-update-in{from{opacity:0}to{opacity:1}}
@media(max-width:700px){.workspace-update{padding-inline:12px 36px;gap:6px;text-align:left}}
@media(prefers-reduced-motion:reduce){
 .workspace-update{animation:none}
 body[data-workspace=true] :is(.workspace-update-close,.workspace-subscription-close){transition:none}
}
body[data-workspace=true].workspace-view-as{--workspace-view-as-height:42px}
.workspace-view-as-bar{position:fixed;inset:var(--workspace-update-height,0px) 0 auto;z-index:48;box-sizing:border-box;height:var(--workspace-view-as-height);display:flex;align-items:center;justify-content:center;gap:12px;padding:0 100px;color:#f7f6ff;background:#27213d;font:600 13px/1.3 var(--font-ui)}
.workspace-view-as-bar span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-view-as-bar button{position:absolute;inset-inline-end:12px;min-height:30px;padding:4px 10px;border:1px solid #766b98;border-radius:6px;background:transparent;color:inherit;font:inherit}
.workspace-view-as-bar button:hover{background:#40365e}
.workspace-view-as-bar button:focus-visible{outline:2px solid #ddd4fa;outline-offset:2px}
@media(max-width:600px){.workspace-view-as-bar{justify-content:flex-start;padding-inline:12px 90px}}
