/* Cabinet of the blue edition. Its shell and data are shared with the hosted account. */
html:root[data-edition="b"] body.account-redesign {
  --account-banner: #2347d9;
  --account-banner-ink: #fff;
  --account-banner-secondary: #e0e9ff;
  --account-pad: clamp(20px, 3.4vw, 44px);

  & .account-mast, & #guestAccountView {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: none;
  }
  & #guestAccountView { padding: 0; }
  & .account-guest-intro, & .account-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: var(--account-pad);
    border-radius: 9px 0 0 9px;
    background: var(--account-banner);
    color: var(--account-banner-ink);
  }
  & :is(.account-guest-intro, .account-heading) h1 {
    margin: 0;
    color: var(--account-banner-ink);
    font: 710 clamp(34px, 3.9vw, 59px)/1.04 var(--edition-sans);
    letter-spacing: -.05em;
    text-wrap: balance;
  }
  & .account-guest-intro > p, & .account-heading p:not(.eyebrow) {
    max-width: 38ch;
    margin: 0;
    color: var(--account-banner-secondary);
    font-size: 15px;
    line-height: 1.55;
  }
  & .account-heading p:not(.eyebrow) { margin-top: 10px; }
  & .account-guest-mark {
    width: 38px; height: 38px;
    margin: 0;
    color: #fff;
    background: transparent;
    border: 1px solid #8fa9ff;
    border-radius: 6px;
  }
  & .account-guest-intro #guestSignIn, & .account-heading > .action-link {
    min-height: 42px;
    margin: 0;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #fff;
    color: #18359e;
  }
  & .account-guest-intro #guestSignIn:hover, & .account-heading > .action-link:hover {
    color: #112c91; background: #e0e9ff;
  }
  & .account-guest-intro .secondary-link {
    margin: 0;
    padding-block: 5px;
    color: #fff;
    text-underline-offset: 3px;
    font-size: 13px;
  }
  & :is(.account-guest-intro, .account-heading) :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
  & .account-guest-features {
    align-content: center;
    gap: 0;
    padding: 16px var(--account-pad);
    border: 0;
    border-radius: 0 9px 9px 0;
    background: var(--surface);
  }
  & .account-guest-features > div { gap: 14px; padding-block: 17px; border-bottom: 1px solid var(--line); }
  & .account-guest-features h2 { margin: 0; font: 650 17px/1.25 var(--edition-sans); letter-spacing: -.025em; }
  & .account-guest-features .ui-icon { flex-shrink: 0; color: var(--accent); }
  & .account-guest-features .account-guest-note { margin-top: 14px; }
  & .account-profile {
    align-content: center;
    align-items: center;
    gap: 14px;
    padding: var(--account-pad);
    border: 0;
    border-radius: 0 9px 9px 0;
    background: var(--surface);
  }
  & .account-avatar { border-radius: 5px; color: var(--accent); background: var(--accent-soft); }
  & .account-role { color: var(--accent); background: var(--accent-soft); border: 0; border-radius: 4px; }
  & .account-nav { gap: 4px; margin: 12px 0 24px; padding-bottom: 5px; }
  & .account-nav a { min-height: 44px; padding: 8px 12px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; }
  & .account-nav a[aria-current="page"] { color: var(--accent); background: var(--surface); border-bottom-color: var(--accent); }
  & .account-shortcuts { gap: 1px; overflow: clip; border: 1px solid var(--line); border-radius: 6px; background: var(--line); }
  & .account-shortcut { padding: 16px; border: 0; border-radius: 0; }
  & .account-shortcut:focus-visible { outline-offset: -4px; }
  & .account-shortcut-icon, & .account-feature-icon { border-radius: 4px; }
  & .account-shortcut .account-metric { font-size: 27px; color: var(--accent); }
  & .account-section-heading { display: block; }
  & .account-section-heading h2 { font-size: clamp(23px, 2vw, 32px); }
  & :is(.settings-card, .account-panel) { border-radius: 6px; }
  & .table-scroll { position: relative; }
  & .account-panel-heading { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  & .account-panel-heading h3 { margin: 0; font-size: 16px; }
  & .theme-miniature-light { background: #f4f6f9; }
  & [data-theme-choice] .mini-sidebar { background: #141d32; }
  & [data-theme-choice] .mini-lines::before { background: #748fef; }
}
html:root[data-edition="b"][data-theme="dark"] body.account-redesign { --account-banner: #253e95; }
@media (max-width: 760px) {
  html:root[data-edition="b"] body.account-redesign {
    & .account-mast, & #guestAccountView { grid-template-columns: minmax(0, 1fr); }
    & .account-guest-intro, & .account-heading { border-radius: 9px 9px 0 0; }
    & .account-profile, & .account-guest-features { border-radius: 0 0 9px 9px; }
    & .account-profile { padding-block: 16px; }
    & .account-nav { margin-block: 8px 18px; }
    & .account-nav a { padding-inline: 8px; }
  }
}
