/* One brand and header treatment, also on the standalone mobile workspaces. */
.sp-unified-header {
    box-sizing: border-box;
    height: 72px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #17243b;
    border-bottom: 1px solid #dce3ed;
    box-shadow: 0 4px 18px rgb(16 24 40 / 4%);
    font-family: 'Manrope', sans-serif;
}
.sp-compact-header { position: sticky; top: 0; z-index: 100; }
.sp-unified-header .sp-brand-link, .sp-brand-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 11px;
    color: #17243b;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
}
.sp-unified-header .sp-brand-link:hover, .sp-brand-link:hover { color: #17243b; text-decoration: none; }
.sp-brand-symbol { display: block; width: 38px; height: 38px; flex: none; border-radius: 10px; box-shadow: 0 6px 14px rgb(105 87 232 / 20%); }
.sp-brand-wordmark { font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -.6px; }
.sp-brand-wordmark > span { color: #6957e8; }
.sp-brand-wordmark small { display: block; margin-top: 5px; font-size: 10px; font-weight: 700; line-height: 1.25; letter-spacing: 1px; text-transform: uppercase; color: #61718a; }
.sp-brand-link--footer, .sp-brand-link--footer:hover { color: #fff; }
.sp-brand-link--footer .sp-brand-wordmark > span { color: #b8adff; }
.sp-brand-link--footer small { display: none; }
.sp-header-back { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border: 1px solid #dce3ed; border-radius: 9px; background: #f2f0ff; color: #5142ca; font-size: 22px; text-decoration: none; }
.sp-header-back:hover { background: #e7e2ff; text-decoration: none; }
.sp-compact-header > .sp-header-account { margin-left: auto; }
.sp-header-account { position: relative; font-size: .9375rem; line-height: 1.5; }
.sp-header-account summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 8px; border-radius: 9px; list-style: none; color: #475467; cursor: pointer; font-weight: 700; }
.sp-header-account summary::-webkit-details-marker { display: none; }
.sp-header-account summary:hover, .sp-header-account[open] summary { background: #f2f0ff; color: #5142ca; }
.sp-header-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 9px; background: #f0edff; color: #6957e8; font-weight: 800; }
.sp-header-username { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-header-menu { position: absolute; top: calc(100% + 7px); right: 0; z-index: 1100; width: 240px; max-width: calc(100vw - 28px); padding: 8px; border: 1px solid #dce3ed; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgb(16 24 40 / 12%); }
.sp-header-menu > strong { display: block; padding: 10px 12px; border-bottom: 1px solid #e4e7ec; margin-bottom: 5px; color: #17243b; overflow-wrap: anywhere; }
.sp-header-menu form { margin: 0; }
.sp-header-menu a, .sp-header-menu button { display: block; width: 100%; box-sizing: border-box; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: #475467; font: 600 .9375rem/1.5 'Manrope', sans-serif; text-align: left; text-decoration: none; cursor: pointer; }
.sp-header-menu a:hover, .sp-header-menu button:hover { color: #5142ca; background: #f2f0ff; text-decoration: none; }
.sp-unified-header :is(a, button, summary):focus-visible { outline: 3px solid #8574dd; outline-offset: 3px; }
.sp-portal, .wh-mobile { font-family: 'Manrope', sans-serif; }
@media (max-width: 767px) {
    .sp-unified-header { padding: 0 14px; gap: 9px; }
    .sp-header-username { display: none; }
    .sp-header-account summary { padding: 4px; }
}
@media (max-width: 400px) {
    .sp-unified-header { padding-left: 10px; padding-right: 10px; gap: 7px; }
    .sp-unified-header .sp-brand-link { gap: 7px; }
    .sp-brand-wordmark { font-size: 18px; }
    .sp-brand-wordmark small { font-size: 9px; letter-spacing: .6px; }
    .sp-brand-symbol { width: 34px; height: 34px; }
}
@media print { .sp-unified-header { display: none !important; } }
