html,
body,
#core-root {
  margin: 0;
  width: 100%;
  height: 100%;
}
body {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
#core-root {
  --core-menu-text: rgba(9, 21, 38, 0.85);
  --core-menu-muted: rgba(9, 21, 38, 0.6);
  --core-menu-active: #e3f4f9;
  --core-menu-accent: #12b7e7;
  --core-menu-link: #9965f4;
  --core-menu-divider: rgba(9, 21, 38, 0.15);
  --core-border: 1px solid rgba(9, 21, 38, 0.15);
  --core-menu-width: 252px;
  display: flex;
  align-items: stretch;
  font-family: 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
@media (min-width: 1280px) {
  #core-root {
    --core-menu-width: 276px;
  }
}
@media (min-width: 1440px) {
  #core-root {
    --core-menu-width: 314px;
  }
}
#core-content {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  position: relative;
}
#core-outlet {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
/* Card player / immersive apps own the viewport; chrome yields completely. */
#core-root.core-immersive #core-chrome {
  display: none !important;
}
#core-root.core-immersive #core-content {
  margin-top: 0 !important;
  height: 100% !important;
  transform: none !important;
  pointer-events: auto !important;
}
#core-root.core-immersive {
  --core-header-height: 0px;
}
/*
 * ui-kit Modal mounts into the content pane with position:absolute, so its backdrop
 * stops at the shell menu. Promote it to the viewport so marathon rules (and peers)
 * dim the chrome too.
 */
#core-root [data-baseweb='modal'] {
  position: fixed !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  z-index: 100 !important;
}
/* Shell chrome must stay visible: content pane shrinks beside the menu, never covers it. */
#mf-vishnu-root {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#mf-vishnu-root [class*='main-layout_laptop'] {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#mf-vishnu-root [class*='main-layout__body'] {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
/* Vishnu ships chrome of its own; the shell owns it now, so the product header stays hidden. */
#mf-vishnu-root [class*='main-layout__header'] {
  display: none;
}

#core-chrome {
  flex: 0 0 auto;
  color: var(--core-menu-text);
}
.core-menu {
  box-sizing: border-box;
  width: var(--core-menu-width);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: var(--core-border);
  overflow-x: hidden;
  overflow-y: auto;
}
/* Coins are 30px tall; keep that height so the header does not jump when they appear. */
.core-menu__header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 30px;
  margin: 36px 24px 20px 28px;
}
.core-menu__logo-button {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  cursor: pointer;
}
/* Vishnu CoinsCounter. */
.core-coins {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  height: 30px;
  min-width: 52px;
  margin: 0;
  padding: 4px 4px 4px 8px;
  border: 0;
  border-radius: 8px;
  background: #deeff3;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.core-coins_pending {
  visibility: hidden;
  pointer-events: none;
}
.core-coins__value {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  font-style: normal;
}
.core-coins__coin {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
}
/* ui-kit Button (primary, default size) + Vishnu premium-btn. */
.core-menu__premium {
  display: block;
  width: fit-content;
  box-sizing: border-box;
  margin: 8px 20px 0;
  padding: 10px 16px;
  border-radius: 6px;
  background: #9965f4;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease;
}
.core-menu__premium:hover,
.core-menu__premium:active {
  background: #803ef1;
}
.core-menu__premium:focus-visible {
  outline: 2px solid #803ef1;
  outline-offset: 2px;
}
.core-menu__logo {
  width: 108px;
  height: 24px;
  display: block;
}
.core-menu__main {
  display: block;
}
.core-menu__items {
  display: block;
}
.core-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 12px 24px;
  border: 0;
  background: transparent;
  color: var(--core-menu-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .core-menu-item:hover {
    color: var(--core-menu-accent);
  }
  .core-menu-item_active:hover {
    color: var(--core-menu-text);
  }
}
.core-menu-item:focus-visible {
  outline: 2px solid var(--core-menu-accent);
  outline-offset: -2px;
}
.core-menu-item_active {
  background: var(--core-menu-active);
}
.core-menu-item__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  color: var(--core-menu-accent);
  display: flex;
}
.core-menu-item__icon_home {
  color: #ff6170;
}
.core-menu-item__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
/* TextCutter maxNumLines=2. */
.core-menu-item__label {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
}
.core-menu-item__counter {
  flex: 0 0 auto;
  width: 31px;
  height: 25px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f4383a;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}
.core-menu__delimiter {
  height: 1px;
  margin: 16px 0;
  background: var(--core-menu-divider);
  border: 0;
}
.core-menu__account {
  display: flex;
  align-items: flex-start;
  gap: 0;
  box-sizing: border-box;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.core-menu__avatar {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--core-menu-link);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.core-menu__avatar_image {
  background: none;
}
.core-menu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.core-menu__account-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.core-menu__name {
  margin: 5px 0 4px;
  color: var(--core-menu-text);
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  text-transform: capitalize;
  word-break: break-word;
}
.core-menu__link {
  color: var(--core-menu-link);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.core-menu__burger,
.core-menu__scrim,
.core-menu-bar {
  display: none;
}
.core-menu__back-to-uolo {
  display: none;
}
@media (min-width: 1024px) {
  .core-menu-item {
    height: 56px;
    padding: 16px 26px;
  }
  .core-menu-item__label {
    font-size: 18px;
    line-height: 24px;
  }
  .core-menu__delimiter {
    margin: 24px 26px;
  }
  .core-menu__account {
    width: calc(100% - 52px);
    margin: 0 26px 26px;
  }
  .core-menu__name {
    margin: 2px 0 8px;
    font-size: 20px;
    line-height: 28px;
  }
  .core-menu__link {
    font-size: 16px;
    line-height: 22px;
  }
}
@media (max-width: 1023px) {
  /* Vishnu mobile chrome: fixed top bar + panel from the right. */
  #core-chrome {
    flex: 0 0 0;
    width: 0;
    overflow: visible;
  }
  #core-root {
    --core-header-height: 56px;
  }
  .core-menu-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    height: var(--core-header-height);
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 8px;
    background: #fff;
    border-bottom: var(--core-border);
    transition:
      top 0.25s ease,
      transform 0.5s ease-in-out;
  }
  #core-root.core-menu-open .core-menu-bar {
    transform: translateX(calc(-1 * var(--core-menu-width)));
  }
  .core-menu-bar__logo {
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  .core-menu-bar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
  }
  /* ui-kit MainLayout header-closed. */
  #core-root.core-header-closed .core-menu-bar {
    top: calc(-1 * var(--core-header-height));
  }
  #core-root.core-header-closed #core-content {
    margin-top: 0;
    height: 100%;
  }
  /* PageLayout spacer is header + 20px; Vishnu zeroes its own header var in MF. */
  #mf-vishnu-root [data-role='page-content']::after {
    min-height: calc(var(--core-header-height) + 20px);
  }
  .core-menu-bar .core-menu__logo {
    width: 110px;
    height: 24px;
    margin-top: 5px;
  }
  /* ui-kit MainLayout: logo shrinks and centers when Back to Uolo is present. */
  .core-menu-bar_back-to-uolo .core-menu-bar__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .core-menu-bar_back-to-uolo .core-menu__logo {
    width: 80px;
    height: 18px;
    margin-top: 0;
  }
  /* ui-kit Button KIND.secondary SIZE.compact + BackToUoloButton gap. */
  .core-menu__back-to-uolo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    z-index: 1;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: #deeff3;
    color: #091526;
    font:
      700 12px/1 'Noto Sans',
      'Helvetica Neue',
      Helvetica,
      Arial,
      sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
      background 0.15s ease,
      color 0.15s ease;
  }
  .core-menu__back-to-uolo[hidden] {
    display: none !important;
  }
  .core-menu__back-to-uolo:hover {
    background: #bde3e8;
  }
  .core-menu__back-to-uolo:active {
    background: #bde3e8;
  }
  .core-menu__back-to-uolo:focus-visible {
    outline: 2px solid var(--core-menu-accent);
    outline-offset: 2px;
  }
  .core-menu__back-to-uolo-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: currentColor;
    display: block;
  }
  .core-menu__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(9, 21, 38, 0.85);
    cursor: pointer;
    z-index: 1;
  }
  .core-menu__burger svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: block;
  }
  .core-menu__header {
    display: none;
  }
  .core-menu {
    position: fixed;
    top: 0;
    right: calc(-1 * var(--core-menu-width));
    z-index: 999999;
    width: var(--core-menu-width);
    height: 100%;
    transition: all 0.5s ease-in-out;
  }
  /* Zendesk launcher is a later iframe, often z-index 999999. Cover it like Vishnu mobile menu. */
  body:has(#core-root.core-menu-open) iframe#launcher {
    z-index: 30 !important;
  }
  .core-menu__main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
  .core-chrome_open .core-menu {
    transform: translateX(calc(-1 * var(--core-menu-width)));
    box-shadow: 5px 0 15px rgba(32, 43, 69, 0.2);
  }
  #core-content {
    margin-top: var(--core-header-height);
    height: calc(100% - var(--core-header-height));
    transition:
      transform 0.5s ease-in-out,
      margin-top 0.25s ease,
      height 0.25s ease;
  }
  /* Guest/auth: chrome hidden — no shell bar, don't reserve its height. */
  #core-chrome[hidden] + #core-content {
    margin-top: 0;
    height: 100%;
  }
  #core-root.core-menu-open #core-content {
    transform: translateX(calc(-1 * var(--core-menu-width)));
    pointer-events: none;
  }
  .core-chrome_open .core-menu__scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: auto;
  }
}
[data-mf-remote-outlet],
#core-outlet,
#core-product {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: auto;
}
/* Fullscreen products must lock the shell scroller, not body. */
#core-root.core-immersive #core-outlet,
#core-root.core-immersive #core-product {
  overflow: hidden;
}
#core-outlet,
#core-product {
  display: flex;
  flex-direction: column;
}
/* Fill the outlet when content is short; grow with it when content is taller. */
#core-lab,
#core-intro {
  padding: 24px;
  font-family: Arial, sans-serif;
}
#core-lab {
  overflow: auto;
}
#core-app-status:empty {
  display: none;
}
#core-app-status {
  padding: 8px;
  font:
    12px Arial,
    sans-serif;
}
/* Mirror Vishnu ErrorModal + overrideBaseWeb modal typography. */
#core-fault {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
}
#core-fault[hidden] {
  display: none !important;
}
.core-fault__card {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  color: rgba(9, 21, 38, 0.85);
  font:
    400 16px/24px 'Noto Sans',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
}
.core-fault__header {
  margin: 0 0 16px;
  font:
    700 25px/1.2 'Noto Sans',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
  color: rgba(9, 21, 38, 0.85);
}
.core-fault__body {
  margin: 16px 0 20px;
  color: rgba(9, 21, 38, 0.6);
  white-space: pre-wrap;
  font:
    400 16px/24px 'Noto Sans',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
}
.core-fault__footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.core-fault__footer button {
  width: fit-content;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: #9965f4;
  color: #fff;
  font:
    700 16px/22px 'Noto Sans',
    'Helvetica Neue',
    Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}
.core-fault__footer button:hover {
  background: #803ef1;
}
.core-fault__footer button:focus-visible {
  outline: 2px solid #9965f4;
  outline-offset: 2px;
}
#core-notice,
#core-failure {
  padding: 18px;
  border: 1px solid #ebc897;
  border-radius: 10px;
  background: #fff6e6;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.5;
}
#core-app-status {
  font-size: 12px;
  color: #638274;
}
#core-app-status:empty {
  display: none;
}
#core-intro {
  background: white;
  border: 1px solid #e1e9df;
  border-radius: 14px;
  padding: 36px;
}
#core-intro h1 {
  font-size: 30px;
  margin: 14px 0;
}
.core-kicker,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #688169;
  font-weight: 700;
}
.core-lab-heading {
  max-width: 720px;
  margin: 18px 0 32px;
}
.core-lab-heading h1 {
  font-size: 36px;
  letter-spacing: -1.3px;
  margin: 14px 0;
}
.core-lab-heading p {
  font-size: 14px;
  color: #708176;
  line-height: 1.7;
}
.core-lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.shared-panel {
  background: #fff;
  border: 1px solid #dbe6da;
  border-radius: 15px;
  padding: 28px;
  box-shadow: 0 6px 16px #214d2205;
}
.shared-panel h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 10px 0;
}
.shared-panel p {
  font-size: 12px;
  color: #839087;
  line-height: 1.6;
}
.shared-panel label,
#core-intro label {
  font-size: 12px;
  color: #58715f;
  display: block;
  margin-top: 24px;
}
.shared-panel input,
#core-intro input {
  display: block;
  width: 100%;
  border: 1px solid #d4e0d2;
  border-radius: 7px;
  padding: 11px 12px;
  font: inherit;
  color: #294737;
  outline: none;
  background: #fcfdfb;
  margin: 8px 0;
}
.shared-panel input:focus,
#core-intro input:focus {
  border-color: #6ea449;
  box-shadow: 0 0 0 3px #dceecd;
}
.shared-panel button,
#core-intro button,
#core-failure button {
  padding: 10px 15px;
  border: 0;
  background: #214e35;
  color: white;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  margin-top: 10px;
}
.shared-panel output {
  display: block;
  font-size: 12px;
  color: #54795f;
  background: #f3f8ef;
  border-radius: 7px;
  padding: 12px;
  margin-top: 25px;
  min-height: 40px;
}
.shared-panel .revision {
  font-family: monospace;
  font-size: 11px;
}
.core-details {
  margin-top: 22px;
  padding: 20px;
  color: #78907b;
  font-size: 12px;
  border: 1px dashed #d6e2cf;
  border-radius: 10px;
}
.core-details p {
  line-height: 1.7;
}
@media (max-width: 800px) {
  .core-lab-grid {
    grid-template-columns: 1fr;
  }
  .core-lab-heading h1 {
    font-size: 29px;
  }
}
