/* The title, daily work and account share one layout instead of overlapping. */
.workspace-body .workspace-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title account";align-items:center;gap:20px;padding:20px 22px;min-height:110px;margin-bottom:22px;border:1px solid #dce6f0;border-radius:14px;background:#fff;box-shadow:0 3px 14px #456b9204}
.workspace-body .workspace-masthead.workspace-title--orders{grid-template-columns:minmax(180px,1fr) minmax(280px,440px) auto;grid-template-areas:"title today account";gap:24px}
.workspace-masthead .workspace-title-copy{grid-area:title;min-width:0;padding:0;min-height:0;display:block}
.workspace-masthead .eyebrow{margin-bottom:6px;font-size:11px;letter-spacing:1px;color:#7f97ad}
.workspace-masthead h1{font-size:26px;line-height:1.3;margin:0 0 7px;font-weight:650;color:#29465f}
.workspace-masthead .workspace-title-copy .muted{font-size:12px;line-height:1.65;margin:0;color:#7a8da0}
.workspace-masthead .workspace-heading-tools{grid-area:today;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;justify-self:stretch;gap:12px;width:auto;max-width:none;min-height:62px;margin:0;padding:0 22px;border:0;border-left:1px solid #e7edf3;border-right:1px solid #e7edf3;border-radius:0;background:transparent;box-shadow:none}
.workspace-masthead .workspace-calendar{width:40px;min-height:48px;border:0;border-radius:8px;background:#eff5fc;color:#3676b7}
.workspace-masthead .workspace-calendar>span{font-size:10px;line-height:1.3}
.workspace-masthead .workspace-calendar>strong{font-size:22px;line-height:1.15;margin-top:3px;letter-spacing:0}
.workspace-masthead .workspace-greeting{gap:4px;min-width:0}
.workspace-masthead .workspace-greeting strong{font-size:14px;line-height:1.5;font-weight:600;color:#3b5974}
.workspace-masthead .workspace-greeting span{font-size:12px;line-height:1.6;color:#8696a6;overflow-wrap:normal}
.workspace-masthead .overview-shortcuts{grid-column:auto;display:flex;justify-content:flex-end;flex-wrap:wrap;width:auto;gap:6px;margin:0}
.workspace-body .workspace-masthead .overview-shortcuts .workspace-quick-action{flex:0 0 auto;min-width:0;min-height:36px;gap:6px;padding:7px 10px;font-size:12px;font-weight:500;border:1px solid #dfe8f2;border-radius:8px;background:#f7faff;color:#49769f;box-shadow:none}
.workspace-body .workspace-masthead .overview-shortcuts .quick-time{background:#f2f8f7;border-color:#dfebe9;color:#4f7e78}
.workspace-body .workspace-masthead .workspace-quick-action svg{width:15px;height:15px;flex-basis:15px}
.workspace-body .workspace-masthead .workspace-account{grid-area:account;position:relative;inset:auto;width:auto;min-width:0;min-height:62px;margin:0;padding:0;display:flex;align-items:center;justify-content:flex-end;gap:0;text-align:right;z-index:1}
.workspace-account .account-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:nowrap}
.workspace-account .account-avatar{width:32px;height:32px;border-radius:50%;flex:0 0 32px}
.workspace-account .account-identity{flex:0 0 auto;min-width:68px;max-width:160px;text-align:left}
.workspace-account .account-identity strong{font-size:14px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-account .account-identity small{font-size:11px;line-height:1.5;white-space:nowrap;color:#8b9bab}
.workspace-account .group-launcher,.workspace-account .account-logout{flex:0 0 auto;white-space:nowrap;min-height:36px;padding:7px 10px;font-size:12px;border-radius:8px}
.workspace-account .group-launcher{background:#edf5ff;border-color:#d5e5f5;color:#346fa7}
.workspace-account .account-collection{order:0;margin:0;min-height:20px;font-size:11px;line-height:1.5;color:#7d94a9}
.workspace-account .account-feedback{top:calc(100% + 8px)}
/* Keep the main account controls on the calendar/shortcut centre line. */
.workspace-masthead .account-collection{position:absolute;right:0;top:calc(50% + 22px);white-space:nowrap}
.workspace-masthead .account-feedback{top:calc(100% + 26px)}
/* Pages with their own headings retain the account toolbar in normal flow. */
.workspace-body>.workspace-account{position:relative;inset:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;width:auto;max-width:1716px;margin:24px 42px 0;padding:12px 16px;background:#fff;border:1px solid #dce6f0;border-radius:12px}
.workspace-body>.workspace-account+.main{padding-top:20px}
.workspace-body .topline:not(.workspace-masthead){padding-right:0}
@media(max-width:1200px){
  .workspace-body .workspace-masthead.workspace-title--orders{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title account" "today today";gap:16px 20px}
  .workspace-masthead .workspace-heading-tools{border:0;border-top:1px solid #e7edf3;padding:14px 0 0;min-height:0}
  .workspace-masthead .workspace-greeting span{white-space:normal}
  .workspace-body>.workspace-account{margin-left:24px;margin-right:24px}
}
@media(max-width:720px){
  .workspace-body .workspace-masthead,.workspace-body .workspace-masthead.workspace-title--orders{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "account" "today";padding:16px;gap:14px;min-height:0;border-radius:12px;margin-bottom:16px}
  .workspace-body .workspace-masthead:not(.workspace-title--orders){grid-template-areas:"title" "account"}
  .workspace-masthead h1{font-size:24px}
  .workspace-masthead .workspace-title-copy .muted{font-size:12px}
  .workspace-body .workspace-masthead .workspace-account{flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;gap:8px}
  .workspace-account .account-controls{justify-content:flex-start;gap:8px;order:0}
  .workspace-account .account-identity{flex:1 1 auto;min-width:60px;max-width:160px}
  .workspace-account .account-logout{margin-left:auto}
  .workspace-account .account-avatar{width:28px;height:28px;flex-basis:28px;display:grid}
  .workspace-account .group-launcher,.workspace-account .account-logout{min-height:38px;padding:7px 9px;font-size:12px}
  .workspace-masthead .account-collection{position:static;align-self:flex-start;min-height:24px;font-size:12px}
  .workspace-masthead .account-feedback{top:calc(100% + 8px)}
  .workspace-masthead .workspace-heading-tools{grid-template-columns:40px minmax(0,1fr);gap:10px 12px;padding-top:12px}
  .workspace-masthead .overview-shortcuts{grid-column:1/-1;justify-content:flex-start;width:auto}
  .workspace-body .workspace-masthead .overview-shortcuts .workspace-quick-action{flex:1 1 0;min-height:38px;font-size:13px}
  .workspace-body>.workspace-account{margin:16px 16px 0;padding:12px;flex-direction:column;align-items:stretch}
  .workspace-body>.workspace-account+.main{padding-top:16px}
}
@media(max-width:380px){.workspace-account .account-controls{gap:6px;flex-wrap:wrap}.workspace-account .account-avatar{display:none}.workspace-account .account-identity{min-width:65px;max-width:130px}}
