.xfx-shell.xfx980,
body.xfx-brand-login,
body.xfx-harbor-admin {
  --xfx-harbor-font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --xfx-harbor-surface: url("harbor-prism.svg?ver=1.0.0-rc10.0.1") right center / auto 100% no-repeat,
    radial-gradient(ellipse at 87% -30%, #337eca70, transparent 56%),
    linear-gradient(106deg, #101d35, #162d4d 48%, #1c5288);
  font-family: var(--xfx-harbor-font);
}

.xfx-shell.xfx980 :is(.xfx-nav,.xfx-content,.xfx-top,.xfx-brand-foot,.xfx-mobile-shortcuts,.xfx-ti-dialog)
  :is(p,a,label,small,button,input,select,textarea,summary,th,td),
body.xfx-brand-login :is(p,a,label,small,button,input,select,textarea),
body.xfx-harbor-admin #wpbody-content :is(.wrap,p,a,label,small,button,input,select,textarea,summary,th,td) {
  font-family: var(--xfx-harbor-font) !important;
}
.xfx-shell.xfx980 :is(h1,h2,h3,h4,h5,h6),
body.xfx-brand-login :is(h1,h2,h3),
body.xfx-harbor-admin #wpbody-content :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--xfx-harbor-font) !important;
  letter-spacing: -.012em;
}
.xfx-shell.xfx980 svg text { font-family: var(--xfx-harbor-font); }

.xfx-shell.xfx980 .xfx-content :is(.xfx966-module-header, .xfx-p1-welcome, .xfx-rc4-learning-hero, .xfx-staff-hero, .xms-head),
body.xfx-brand-login .xfx-auth-brand,
.xfx-harbor-admin #wpbody-content :is(.xfx-cmd-hero, .xfx-suite-hero, .xfx-ac-hero, .xfx-cb-admin-hero, .xfx-sa-hero, .xms-head) {
  background: var(--xfx-harbor-surface) !important;
  border-radius: 14px;
}

.xfx-shell.xfx980 .xfx-content .xfx966-module-header {
  min-height: 0;
  padding: 13px 17px;
  gap: 10px;
}

.xfx-shell.xfx980 .xfx-content .xfx966-module-header .xfx966-copy h2 {
  color: #f9fbff;
  font-weight: 700;
  letter-spacing: -.28px;
  line-height: 1.2;
}

.xfx-shell.xfx980 .xfx-content .xfx966-module-header .xfx966-copy p {
  color: #e0eaf8;
  line-height: 1.45;
}

.xfx-harbor-command {
  min-width: 0;
  margin-bottom: var(--xfx980-space, 16px);
  border: 1px solid #d9e3ee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px #173b6710;
}

.xfx-shell.xfx980 .xfx-content .xfx966-module-header.xfx-harbor-lead,
.xfx-harbor-admin #wpbody-content .xfx-ac-hero.xfx-harbor-lead {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  background: linear-gradient(105deg, #101d35, #152b49 50%, #185b9b) !important;
  overflow: hidden;
}

.xfx-harbor-admin #wpbody-content .xfx-ac-hero.xfx-harbor-lead {
  gap: 10px;
  padding: 13px 17px;
}

.xfx-harbor-admin .xfx-ac-hero.xfx-harbor-lead h1 {
  margin: 2px 0 3px;
  padding: 0;
  color: #f9fbff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.28px;
  line-height: 1.2;
}

.xfx-harbor-admin .xfx-ac-hero.xfx-harbor-lead p {
  color: #dce9f8;
  font-size: 12px;
  line-height: 1.45;
}

.xfx-harbor-admin .xfx-ac-hero.xfx-harbor-lead .xfx-ac-hero-stat {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid #f4d790;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0bd, #ebc36b 60%, #dca349);
  white-space: nowrap;
}

.xfx-harbor-admin .xfx-ac-hero.xfx-harbor-lead .xfx-ac-hero-stat :is(b, span) {
  display: inline;
  color: #503100;
  font-size: 11px;
  font-weight: 750;
}

.xfx-harbor-admin .xfx-ac-hero.xfx-harbor-lead .xfx-ac-hero-stat b {
  margin-right: .3em;
}

.xfx-harbor-lead::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 49%;
  background: url("harbor-prism.svg?ver=1.0.0-rc10.0.1") right center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 29%);
  pointer-events: none;
}

.xfx-harbor-lead .xfx-harbor-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #b5d9ff35;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff1c, #8cc8ff0c);
  color: #e2f0ff;
  box-shadow: inset 0 1px #ffffff16, 0 3px 10px #09182d22;
}

.xfx-harbor-lead .xfx-harbor-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.65;
}

.xfx-shell.xfx980 .xfx-content .xfx-harbor-lead .xfx966-copy h2 {
  font-size: 20px !important;
}

.xfx-shell.xfx980 .xfx-content .xfx-harbor-lead .xfx966-copy p {
  font-size: 12px !important;
}

.xfx-harbor-tier {
  flex: none;
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid #f4d790;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0bd, #ebc36b 60%, #dca349);
  color: #503100;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.xfx-harbor-command .xfx981-focusbar {
  margin: 0;
  padding: 5px 10px;
  border-top: 1px solid #dce5f0;
}

.xfx-harbor-scroll-hint:not([hidden]) {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 10px 0;
  border-top: 1px solid #dce5f0;
  color: #526880;
  font-size: 11px;
  line-height: 1.4;
}

.xfx-shell.xfx980 .xfx-content .xfx-harbor-command .xfx-learning-record-tabs,
.xfx-harbor-admin #wpbody-content .xfx-harbor-command .xfx-ac-nav {
  display: flex;
  flex-wrap: wrap !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 5px 10px !important;
  border: 0;
  border-top: 1px solid #dce5f0;
  border-radius: 0 !important;
}

.xfx-shell.xfx980 .xfx-content .xfx-harbor-command .xfx-learning-record-tabs > a,
.xfx-harbor-admin #wpbody-content .xfx-harbor-command .xfx-ac-nav > a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 11px !important;
  border: 0;
  border-radius: 8px !important;
  box-sizing: border-box;
  white-space: nowrap;
}

.xfx-shell.xfx980 .xfx-content .xfx-harbor-command .xfx-learning-record-tabs > a[aria-current],
.xfx-harbor-admin #wpbody-content .xfx-harbor-command .xfx-ac-nav > a[aria-current] {
  background: #e5efff !important;
  color: #0759c8 !important;
  box-shadow: none;
}

@media (max-width: 900px) {
  .xfx-harbor-admin #wpbody-content .xfx-ac-hero.xfx-harbor-lead {
    gap: 8px;
    padding: 12px;
  }

  .xfx-harbor-admin .xfx-ac-hero.xfx-harbor-lead h1 {
    font-size: 17px;
  }

  .xfx-harbor-admin .xfx-ac-hero.xfx-harbor-lead p {
    font-size: 11px;
  }

  .xfx-shell.xfx980 .xfx-content .xfx-harbor-command .xfx-learning-record-tabs,
  .xfx-harbor-admin #wpbody-content .xfx-harbor-command .xfx-ac-nav {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .xfx-shell.xfx980 .xfx-content .xfx-harbor-command .xfx-learning-record-tabs > a,
  .xfx-harbor-admin #wpbody-content .xfx-harbor-command .xfx-ac-nav > a {
    min-height: 44px;
    outline-offset: -2px;
  }
  .xfx-harbor-lead::after {
    inset-inline-start: 43%;
    opacity: .47;
  }

  .xfx-harbor-lead .xfx-harbor-icon {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
  }

  .xfx-harbor-lead .xfx-harbor-icon svg {
    width: 20px;
    height: 20px;
  }

  .xfx-shell.xfx980 .xfx-content .xfx-harbor-lead .xfx966-copy h2 {
    font-size: 17px !important;
  }

  .xfx-shell.xfx980 .xfx-content .xfx-harbor-lead .xfx966-copy p {
    font-size: 11px !important;
  }

  .xfx-harbor-command .xfx981-focusbar nav :is(a, button) {
    min-height: 44px;
  }
}

.xfx-shell.xfx980 .xfx-nav .xfx-nav-soon,
.xfx-shell.xfx980 .xfx-content :is(.xfx-r949-staff-hero-badge, .xfx965-coming-badge) {
  background: linear-gradient(135deg, #fff0bd, #ebc36b 60%, #dca349) !important;
  color: #503100 !important;
  font-weight: 750;
}

@media (max-width: 680px) {
  .xfx-shell.xfx980 .xfx-content .xfx966-module-header {
    padding: 12px;
    gap: 8px;
  }

  .xfx-shell.xfx980 .xfx966-module-header .xfx966-art {
    flex-basis: 64px;
    min-width: 0;
  }

  .xfx-shell.xfx980 .xfx966-module-header .xfx966-art svg {
    max-width: 100%;
  }
}

.xfx-shell.xfx980 .xfx-harbor-journal {
  margin: 0;
}

.xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal .xfx-ws-context {
  background: #f4f8fd !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 9px 16px !important;
  gap: 8px !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) !important;
}

.xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal .xfx-journal-nav.xfx-ws-tabs {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 0 !important;
  border-top: 1px solid #dce5f0 !important;
  border-radius: 0 !important;
  padding: 5px 10px !important;
}

.xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal .xfx-journal-nav > a {
  min-height: 34px !important;
  padding: 8px 11px !important;
  border-radius: 8px !important;
}

.xfx-shell.xfx980 .xfx-harbor-journal .xfx982-entry-back {
  margin: 0;
  padding: 9px 16px;
  background: #f4f8fd;
}

.xfx-shell.xfx980 .xfx-harbor-journal .xfx-journal-nav.xfx-ws-tabs a.active {
  background: #e8f1ff !important;
  color: #075cc8 !important;
}

.xfx-shell.xfx980 .xfx-harbor-journal .xfx-journal-nav.xfx-ws-tabs a:focus-visible {
  outline-offset: -2px;
}

.xfx-harbor-command .xfx-harbor-scroll-hint:not([hidden]) + nav {
  border-top: 0 !important;
}

@media (max-width: 900px) {
  .xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal .xfx-journal-nav > a {
    min-height: 44px !important;
  }
}

@media (max-width: 560px) {
  .xfx-shell.xfx980:has(.xfx-harbor-journal) .xfx-top .xfx-header-titles strong {
    white-space: normal;
    line-height: 1.15;
  }

  .xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal .xfx-ws-context {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: end;
    padding: 9px 10px !important;
  }

  .xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal .xfx-ws-context > * {
    grid-column: 1 / -1 !important;
  }

  .xfx-shell.xfx980 .xfx-harbor-journal .xfx-ws-selector label {
    min-width: 0;
  }

  .xfx-shell.xfx980 .xfx-harbor-journal .xfx965-journal-actions .xfx-action-row {
    width: 100%;
    justify-content: flex-start;
  }

  .xfx-shell.xfx980 .xfx-harbor-journal .xfx965-journal-actions a {
    flex: 1 1 88px;
    min-height: 44px !important;
    padding-inline: 5px !important;
    text-align: center;
  }

  .xfx-harbor-journal .xfx965-journal-actions {
    padding-top: 5px;
    border: 0;
  }
}


.xfx-harbor-admin #wpbody-content .wrap,
.xfx-harbor-admin #wpbody-content .wrap :is(button, input, select, textarea) {
  font-family: var(--xfx-harbor-font);
}

.xfx-harbor-admin #wpbody-content :is(.xfx-cmd-hero, .xfx-suite-hero, .xfx-ac-hero, .xfx-cb-admin-hero, .xfx-sa-hero, .xms-head) {
  padding-block: 13px;
}

.xfx-harbor-admin #wpbody-content :is(.xfx-cmd-table-wrap, .xfx-sa-table-scroll, .xms-tablewrap) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}


.xfx-shell.xfx980 .xfx-staff-root .xfx-r9511-operations-tab,
.xfx-harbor-admin #wpbody-content :is(.xfx-ac-nav, .xfx-cmd-tabs, .xms-tabs) a {
  min-height: 34px;
  box-sizing: border-box;
  border-radius: 8px;
}

@media (max-width: 680px) {
  .xfx-shell.xfx980 .xfx-staff-root .xfx-r9511-operations-tab,
  .xfx-harbor-admin #wpbody-content :is(.xfx-ac-nav, .xfx-cmd-tabs, .xms-tabs) a {
    min-height: 44px;
  }
}


.xfx-shell.xfx980 .xfx-content :is(.xfx-unified-library-tabs, .xfx-unified-collection-tabs, .xfx-learning-record-tabs, .xfx-v962-tabs) {
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-inline: contain;
}

.xfx-shell.xfx980 .xfx-content :is(.xfx-unified-library-tabs, .xfx-unified-collection-tabs, .xfx-learning-record-tabs, .xfx-v962-tabs) :is(a, button):focus-visible {
  outline-offset: -2px;
}

/* Lab 27 Bento layout for the member workspace. */
.xfx-shell.xfx980 {
  --harbor-ink: #14263e;
  --harbor-muted: #526880;
  --harbor-blue: #096ce0;
  --harbor-line: #dbe4f0;
  --harbor-canvas: #eaf0f7;
  --harbor-gap: 12px;
}

.xfx-shell.xfx980 .xfx-content {
  background: var(--harbor-canvas) !important;
}

@media (min-width: 901px) {
  body.xfx-standalone .xfx-shell.xfx980:not(.xfx-sidebar-hidden), .xfx-shell.xfx980:not(.xfx-sidebar-hidden) {
    grid-template-columns: 213px minmax(0, 1fr) !important;
  }

  .xfx-shell.xfx980 .xfx-content { padding: 10px 18px 16px !important; }
  .xfx-shell.xfx980 .xfx-top {
    min-height: 62px !important;
    padding: 9px 18px !important;
    gap: 9px !important;
    border-bottom: 1px solid var(--harbor-line);
  }

  .xfx-shell.xfx980 .xfx-top .xfx-header-titles strong { font-size: 21px; color: var(--harbor-ink); }
  .xfx-shell.xfx980 .xfx-top .xfx-header-titles small { font-size: 9px; }
  .xfx-shell.xfx980 .xfx-top .xfx-desktop-nav-toggle { width: 36px; height: 36px; border-radius: 8px !important; }
  .xfx-shell.xfx980 .xfx-top :is(.xfx-cn-topsearch, .xfx-se-quick > summary, .xfx-ach-bell, .xfx-person-toggle) {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    color: var(--harbor-ink) !important;
  }
  .xfx-shell.xfx980 .xfx-top .xfx-person-toggle > span { width: 30px; height: 30px; flex-basis: 30px; }
  .xfx-shell.xfx980 .xfx-top .xfx-se-quick > summary > span:first-child { font-size: 14px; }
}

@media (max-width: 900px) {
  .xfx-shell.xfx980 .xfx-top :is(.xfx-cn-topsearch, .xfx-se-quick > summary, .xfx-ach-bell, .xfx-person-toggle) {
    box-sizing: border-box;
    height: 44px !important;
    min-height: 44px !important;
  }
}

.xfx-shell.xfx980 .xfx-top .xfx-ach-bell-wrap > .xfx-ach-bell {
  flex: 0 0 auto;
  gap: 6px;
  width: auto;
  min-width: 44px;
  padding: 0 7px !important;
  border-color: #c7dcf7 !important;
  background: #edf5ff !important;
  color: #145aa5 !important;
}
.xfx-shell.xfx980 .xfx-top .xfx-ach-bell-wrap > .xfx-ach-bell:is(:hover,:focus-visible,[aria-expanded="true"]) {
  background: #deedff !important;
  color: #104b91 !important;
}
.xfx-shell.xfx980 .xfx-top .xfx-ach-bell .xfx-ach-counter {
  position: static !important;
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 auto;
  min-width: 19px;
  height: 19px;
  padding: 0 4px !important;
  border-radius: 20px;
  background: #1465c8;
  color: #fff;
  box-shadow: none;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.xfx-shell.xfx980 .xfx-top .xfx-ach-bell .xfx-ach-counter.is-zero { display: none !important; }

.xfx-shell.xfx980 .xfx-nav {
  background: #111d33 !important;
  gap: 0 !important;
}

.xfx-shell.xfx980 .xfx-nav > a:not(:first-child) {
  font-size: 12px !important;
  font-weight: 700;
  min-height: 36px;
}

.xfx-shell.xfx980 .xfx-nav > a.xfx-nav-upcoming:has(.xfx-nav-soon) {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 4px 8px !important;
}
.xfx-shell.xfx980 .xfx-nav > a.xfx-nav-upcoming > span:first-child {
  grid-row: 1 / span 2;
}
.xfx-shell.xfx980 .xfx-nav > a.xfx-nav-upcoming .xfx-nav-soon {
  grid-column: 2;
  justify-self: start;
  margin: 0;
  padding: 3px 13px 3px 7px !important;
  border-radius: 2px 0 0 2px !important;
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 50%, 100% 100%, 0 100%);
  text-transform: uppercase;
}
.xfx-shell.xfx980 .xfx-nav > a.xfx-nav-assessments .xfx-saas-nav-label {
  white-space: nowrap;
  font-size: 12px !important;
}

.xfx-shell.xfx980 .xfx-harbor-command {
  margin-bottom: var(--harbor-gap);
  border-radius: 13px;
}

.xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-command { margin-bottom: 0; }
.xfx-shell.xfx980 .xfx-content .xfx966-module-header.xfx-harbor-lead { border-radius: 0 !important; }
.xfx-shell.xfx980 .xfx-harbor-command .xfx981-focusbar { padding: 8px 12px; }
.xfx-shell.xfx980 .xfx-harbor-command .xfx981-focusbar :is(a, button) {
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--harbor-muted) !important;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none !important;
}

.xfx-shell.xfx980 .xfx-harbor-command .xfx981-focusbar :is(a, button):is(:hover, :focus-visible, [aria-current]) {
  background: #e5efff !important;
  color: #0759c8 !important;
}

.xfx-shell.xfx980 .xfx-harbor-command .xfx981-focusbar svg { width: 15px; height: 15px; }
.xfx-shell.xfx980 .xfx-harbor-command .xfx-harbor-tier { border-radius: 6px; }
.xfx-shell.xfx980 .xfx-content .xfx-harbor-command .xfx-learning-record-tabs { padding: 8px 12px !important; }

.xfx-shell.xfx980 .xfx981-overview,
.xfx-shell.xfx980 .xfx981-primary-grid,
.xfx-shell.xfx980 .xfx-harbor-trading-grid,
.xfx-shell.xfx980 .xfx-harbor-trading-side,
.xfx-shell.xfx980 .xfx-harbor-course-grid {
  gap: var(--harbor-gap);
}

.xfx-shell.xfx980 .xfx981-primary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xfx-shell.xfx980 .xfx981-primary-grid > :first-child { grid-column: span 2; }
.xfx-shell.xfx980 .xfx981-learning-intro { margin: 0 0 var(--harbor-gap) !important; }
.xfx-shell.xfx980 .xfx-content :is(.xfx981-resume, .xfx981-next, .xfx981-roadmap, .xfx-harbor-performance, .xfx-harbor-updates, .xfx-harbor-trading-side .xfx-goals) {
  margin: 0 !important;
  padding: 15px !important;
  border: 1px solid var(--harbor-line) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.xfx-shell.xfx980 .xfx-content .xfx981-resume { background: linear-gradient(112deg, #fff 65%, #eef5fc) !important; }
.xfx-shell.xfx980 .xfx-harbor-card-heading,
.xfx-shell.xfx980 .xfx-harbor-performance-head,
.xfx-shell.xfx980 .xfx-harbor-record-foot,
.xfx-shell.xfx980 .xfx-harbor-course-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.xfx-shell.xfx980 .xfx-harbor-card-heading { margin: 0 0 9px; }
.xfx-shell.xfx980 .xfx-content .xfx-harbor-card-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  color: var(--harbor-ink) !important;
  font-size: 14px !important;
  font-weight: 750;
  line-height: 1.25;
}
.xfx-shell.xfx980 .xfx-harbor-card-heading svg { flex: none; width: 16px; height: 16px; color: var(--harbor-blue); }
.xfx-shell.xfx980 .xfx-harbor-chip {
  padding: 3px 7px;
  border-radius: 6px;
  background: #e8f1ff;
  color: #0759c8;
  font-size: 11px;
  white-space: nowrap;
}

.xfx-harbor-lesson { display: flex; align-items: center; gap: 12px; }
.xfx-harbor-lesson > div { flex: 1; min-width: 0; }
.xfx-shell.xfx980 .xfx-harbor-lesson h3 { margin: 7px 0 4px !important; color: var(--harbor-ink); font-size: 17px !important; }
.xfx-shell.xfx980 .xfx-harbor-lesson .xfx-harbor-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--harbor-muted); }
.xfx-harbor-progress-ring { flex: 0 0 94px; width: 94px; height: 94px; }
.xfx-harbor-progress-ring text { font: 750 17px var(--xfx-harbor-font); fill: #14263e; }
.xfx-shell.xfx980 .xfx-content :is(.xfx-harbor-lesson, .xfx-harbor-learning-record, .xfx-harbor-course-grid) progress { display: block; width: 100%; height: 6px; margin: 8px 0 6px; }
.xfx-shell.xfx980 .xfx-content :is(.xfx-harbor-lesson, .xfx-harbor-performance, .xfx-harbor-course-grid) .xfx-button { min-height: 33px; padding: 6px 10px !important; font-size: 12px !important; border-radius: 8px !important; }
.xfx-shell.xfx980 .xfx-harbor-next .xfx-se-link { margin: 0; border: 0; border-top: 1px solid #e6edf5; border-radius: 0; padding: 8px 0; background: #fff; }
.xfx-shell.xfx980 .xfx-harbor-next .xfx-se-icon,
.xfx-shell.xfx980 .xfx-harbor-learning-kpis .xfx-se-icon { width: 34px; height: 34px; color: var(--harbor-blue); background: #e8f2ff; }
.xfx-shell.xfx980 .xfx-harbor-learning-kpis > .xfx-card { display: flex; align-items: center; gap: 9px; padding: 10px 12px !important; background: #f7fafd !important; }
.xfx-shell.xfx980 .xfx-harbor-learning-kpis strong { font-size: 21px; display: block; }
.xfx-shell.xfx980 .xfx-harbor-learning-record .xfx981-record-metrics { display: flex; justify-content: space-between; }
.xfx-shell.xfx980 .xfx-harbor-learning-record .xfx981-record-metrics strong { font-size: 24px; }
.xfx-shell.xfx980 .xfx-harbor-record-foot { font-size: 11px; color: var(--harbor-muted); }
.xfx-shell.xfx980 .xfx-content :is(.xfx-harbor-record-foot, .xfx-harbor-updates) .xfx-button,
.xfx-shell.xfx980 .xfx-content .xfx-harbor-performance > .xfx-action-row .xfx-button:nth-child(n+3),
.xfx-shell.xfx980 .xfx-content .xfx-harbor-trading-side .xfx-journal-manage-goals {
  min-height: 0; border: 0 !important; border-radius: 4px !important; padding: 4px 0 !important;
  background: transparent !important; color: #075ecb !important; font-size: 11px !important; font-weight: 750;
}

.xfx-shell.xfx980 .xfx981-roadmap-filters { border: 1px solid var(--harbor-line); border-radius: 9px; padding: 4px; margin: 10px 0 12px; }
.xfx-shell.xfx980 .xfx981-roadmap-filters a { min-height: 31px; font-size: 11px; font-weight: 700; }
.xfx-harbor-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.xfx-shell.xfx980 .xfx-harbor-course-grid .xfx981-level { min-width: 0; padding: 12px; border: 1px solid var(--harbor-line); border-radius: 10px; background: #fff; }
.xfx-shell.xfx980 .xfx-harbor-course-grid .xfx-harbor-course-active { border-color: #b4d3ff; background: #f2f7fd; }
.xfx-shell.xfx980 .xfx-harbor-course-level { text-transform: uppercase; font-size: 11px; color: #096ce0; font-weight: 750; letter-spacing: .04em; }
.xfx-shell.xfx980 .xfx-harbor-course-grid h3 { font-size: 13px !important; margin: 8px 0 9px !important; }
.xfx-shell.xfx980 .xfx-harbor-course-grid small { color: var(--harbor-muted); }
.xfx-shell.xfx980 .xfx-harbor-course-grid .xfx981-course-detail { padding: 0; margin: 2px 0 6px; border: 0; border-top: 1px solid #e6edf5; background: transparent; }
.xfx-harbor-course-grid .xfx981-course-detail > summary { padding: 7px 0; font-weight: 700; list-style: none; cursor: pointer; }
.xfx-harbor-course-grid .xfx981-course-detail > summary::after { content: "+"; float: right; color: #526880; }
.xfx-harbor-course-grid .xfx981-course-detail[open] > summary::after { content: "−"; }
.xfx-harbor-course-status strong { font-size: 12px; }
.xfx-harbor-course-grid .xfx-button { margin-top: 3px; }

.xfx-harbor-trading-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.xfx-harbor-trading-side { display: grid; grid-template-rows: 5fr 2fr; min-width: 0; }
.xfx-harbor-trading-side .xfx-ws-overview-goals > .xfx-goals { height: 100%; }
.xfx-shell.xfx980 .xfx-harbor-performance-head .xfx-harbor-card-heading { margin: 0; }
.xfx-shell.xfx980 .xfx-harbor-performance-head .xfx-ws-selector { flex: 0 1 auto; min-width: 0; }
.xfx-shell.xfx980 .xfx-harbor-performance-head .xfx-ws-selector label { min-width: 0; font-size: 0; }
.xfx-shell.xfx980 .xfx-harbor-performance-head .xfx-ws-selector select { min-height: 34px; margin: 0; font-size: 12px; }
.xfx-shell.xfx980 .xfx-content .xfx-harbor-account-period { font-size: 11px; color: var(--harbor-muted); margin: 9px 0 !important; }
.xfx-harbor-trade-kpis { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.xfx-harbor-trade-kpis small { display: block; color: var(--harbor-muted); font-size: 11px; }
.xfx-harbor-trade-kpis strong { display: block; font-size: 24px; line-height: 1.15; }
.xfx-harbor-positive { color: #087c64; }
.xfx-shell.xfx980 .xfx-harbor-performance > .xfx-ws-charts { display: block; margin: 0; }
.xfx-shell.xfx980 .xfx-content .xfx-harbor-performance > .xfx-ws-charts > .xfx-journal-curve-card { padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
.xfx-harbor-performance > .xfx-ws-charts > .xfx-journal-curve-card > :is(h3, p) { display: none; }
.xfx-shell.xfx980 .xfx-harbor-performance > .xfx-ws-charts .xfx-ws-chart { display: block; width: 100%; height: auto; max-height: 168px !important; }
.xfx-harbor-performance > .xfx-ws-charts .xfx-ti-expand { display: none; }
.xfx-shell.xfx980 .xfx-harbor-performance > .xfx-action-row { margin: 8px 0 0 !important; gap: 8px; align-items: center; }
.xfx-shell.xfx980 .xfx-harbor-performance > .xfx981-disclosure { margin: 0; border: 0; border-top: 1px solid #e6edf5; border-radius: 0; }
.xfx-shell.xfx980 .xfx-harbor-performance > .xfx981-disclosure > summary { padding: 8px 0; }
.xfx-harbor-trading-side .xfx-goals .xfx-tag { display: none; }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-goals h3 { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-size: 14px !important; }
.xfx-harbor-trading-side .xfx-goals h3::before { content: "◎"; color: var(--harbor-blue); }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-ws-overview-goals { margin: 0; }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-goals .xfx-trade-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0 0 6px; align-items: center; gap: 5px 8px; }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-goals .xfx-trade-head > div { display: contents; }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-goals .xfx-trade-head p { grid-area: 2 / 1 / 3 / -1; font-size: 11px !important; margin: 0 !important; }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-goals .xfx-journal-manage-goals { grid-area: 1 / 2; }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-goals .xfx-goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-goals .xfx-goal-grid > div { padding: 8px; background: #f1f5fa; border: 1px solid #e3ebf6; border-radius: 7px; }
.xfx-shell.xfx980 .xfx-harbor-trading-side .xfx-goals .xfx-goal-grid strong { font-size: 12px; }

.xfx-harbor-overview-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--harbor-gap); align-items: start; }
.xfx-shell.xfx980 .xfx-content :is(.xfx-harbor-milestone-panel, .xfx-harbor-shortcuts) {
  padding: 15px !important;
  margin: 0 !important;
  border-color: var(--harbor-line) !important;
  border-radius: 13px !important;
  background: #fff !important;
}
.xfx-shell.xfx980 .xfx-content .xfx-harbor-milestone-panel .xfx-harbor-milestones { padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
.xfx-shell.xfx980 .xfx-harbor-milestones .xfx-tag { display: none; }
.xfx-shell.xfx980 .xfx-content .xfx-harbor-milestones h2 { font-size: 14px !important; }
.xfx-shell.xfx980 .xfx-harbor-milestones details > summary { padding: 6px 0; font-weight: 700; }
.xfx-shell.xfx980 .xfx-content .xfx-harbor-milestones [data-xfx-se-op] {
  min-height: 0;
  padding: 4px 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #075ecb !important;
  font-size: 11px !important;
}
.xfx-shell.xfx980 .xfx-content .xfx-harbor-milestones [data-xfx-se-op]:hover { text-decoration: underline; }
.xfx-shell.xfx980 .xfx-harbor-overview-bottom > .xfx-card > .xfx981-disclosure {
  margin: 0;
  border: 0;
  border-top: 1px solid #e6edf5;
  border-radius: 0;
}
.xfx-shell.xfx980 .xfx-harbor-overview-bottom > .xfx-card > .xfx981-disclosure > summary { padding: 8px 0; }
.xfx-shell.xfx980 :is(.xfx-harbor-overview-bottom, .xfx-harbor-performance) .xfx981-disclosure > summary::after { content: "+"; }
.xfx-shell.xfx980 :is(.xfx-harbor-overview-bottom, .xfx-harbor-performance) .xfx981-disclosure[open] > summary::after { content: "−"; transform: none; }
.xfx-shell.xfx980 .xfx981-learning-intro .xfx981-resume .xfx-harbor-lesson :is(progress, .xfx-button) { margin-top: 5px; }

@media (min-width: 1180px) {
  .xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal .xfx-ws-context {
    grid-template-columns: minmax(0, 1fr) minmax(170px, .55fr) auto !important;
    gap: 10px !important;
  }
  .xfx-shell.xfx980 .xfx-harbor-journal .xfx965-journal-actions {
    grid-column: auto;
    padding: 0;
    border: 0;
    align-self: end;
  }
}

.xfx-shell.xfx980 .xfx982-workspace:has(.xfx-harbor-journal) {
  --xfx980-space: var(--harbor-gap);
}
.xfx-shell.xfx980 .xfx982-workspace:has(.xfx-harbor-journal) .xfx-journal-content { gap: var(--harbor-gap); }
.xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--harbor-gap);
}
.xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal-summary > .xfx-card { margin: 0 !important; }
.xfx-shell.xfx980 .xfx982-workspace .xfx982-kpis > div:has(.xfx-harbor-kpi-icon) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  padding: 9px 11px !important;
  border-radius: 13px !important;
}
.xfx-harbor-kpi-icon {
  display: grid;
  place-items: center;
  grid-row: 1 / span 3;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e8f2ff;
  color: #096ce0;
}
.xfx-harbor-kpi-icon svg { width: 17px; height: 17px; }
.xfx-shell.xfx980 .xfx982-workspace .xfx982-kpis > div:has(.xfx-harbor-kpi-icon) strong { margin: 0; }
.xfx-shell.xfx980 .xfx982-workspace:has(.xfx-harbor-journal) .xfx982-dashboard-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important; gap: var(--harbor-gap) !important; }

@media (max-width: 900px) {
  .xfx-shell.xfx980 .xfx-nav > a:not(:first-child) { min-height: 44px; }
  .xfx-shell.xfx980 .xfx-harbor-command .xfx981-focusbar :is(a, button) { min-height: 44px; }
  .xfx-harbor-trading-grid, .xfx-harbor-trading-side { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
}

@media (max-width: 680px) {
  .xfx-shell.xfx980 .xfx981-primary-grid, .xfx-harbor-course-grid, .xfx-harbor-overview-bottom { grid-template-columns: minmax(0, 1fr); }
  .xfx-shell.xfx980 .xfx981-primary-grid > :first-child { grid-column: auto; }
  .xfx-harbor-progress-ring { flex-basis: 65px; width: 65px; height: 65px; }
  .xfx-shell.xfx980 .xfx-harbor-performance-head { flex-wrap: wrap; }
  .xfx-shell.xfx980 .xfx-harbor-learning-kpis > .xfx-card { padding: 8px !important; }
  .xfx-shell.xfx980 .xfx-harbor-trade-kpis strong { font-size: 19px; }
  .xfx-shell.xfx980 .xfx982-workspace .xfx-harbor-journal-summary,
  .xfx-shell.xfx980 .xfx982-workspace:has(.xfx-harbor-journal) .xfx982-dashboard-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 680px) {
  .xfx-shell.xfx980 .xfx-content :is(.xfx-unified-library-tabs, .xfx-unified-collection-tabs, .xfx-learning-record-tabs, .xfx-v962-tabs) :is(a, button) {
    min-height: 44px;
  }
}

.xfx-harbor-admin .xfx-ac > .xfx-admin-context,
.xfx-ac > .xfx-admin-context {
  margin: 10px 0 14px;
}

@media (max-width: 900px) {
  .xfx-harbor-admin #wpbody-content .xfx-harbor-command .xfx-ac-nav,
  .xfx-harbor-admin #wpbody-content :is(.xfx-cmd-tabs,.xms-tabs) {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
  .xfx-harbor-admin #wpbody-content :is(.xfx-ac-nav,.xfx-cmd-tabs,.xms-tabs) a {
    min-height: 44px;
    white-space: normal;
  }
}
