/* Market workspace grouped navigation. */
body.workspace-nav-ready .nav,
body.workspace-nav-ready .quick-rail {
  display: none !important;
}

body.workspace-nav-ready .topbar {
  border-bottom: 0;
}

body.workspace-nav-ready .topbar-inner {
  max-width: 1480px;
  min-height: 58px;
  padding: 8px 18px;
}

.workspace-primary {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.workspace-group-tab {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #eaf2fb;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}

.workspace-group-tab:hover {
  background: rgba(255, 255, 255, 0.12);
}

.workspace-group-tab[aria-selected="true"] {
  border-color: #fff;
  background: #fff;
  color: #174a82;
}

.workspace-subnav-shell {
  border-bottom: 1px solid #cbd5e1;
  background: #fff;
}

.workspace-subnav {
  max-width: 1480px;
  min-height: 47px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 0 18px;
  scrollbar-width: thin;
}

.workspace-subnav button,
.workspace-subnav a {
  flex: 0 0 auto;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: #fff;
  color: #475569;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.workspace-subnav button:hover,
.workspace-subnav a:hover {
  background: #f8fafc;
  color: #174a82;
}

.workspace-subnav button[aria-selected="true"] {
  border-bottom-color: #b42318;
  color: #0f2f55;
}

.workspace-subnav-code {
  min-width: 24px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #94a3b8;
  color: #174a82;
  font-size: 9px;
  font-weight: 900;
}

body.workspace-nav-ready .layout {
  max-width: 1480px;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 18px;
}

.portal-section.workspace-hidden {
  display: none !important;
}

.portal-section.workspace-active {
  margin-bottom: 0;
  scroll-margin-top: 116px;
}

.workspace-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workspace-tool-link {
  min-height: 118px;
  display: block;
  padding: 18px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  color: #1f2937;
  text-decoration: none;
}

.workspace-tool-link:nth-child(3n) {
  border-right: 0;
}

.workspace-tool-link:hover {
  background: #f8fafc;
}

.workspace-tool-link b,
.workspace-tool-link span {
  display: block;
  letter-spacing: 0;
}

.workspace-tool-link b {
  color: #0f2f55;
  font-size: 17px;
}

.workspace-tool-link span {
  margin-top: 7px;
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 980px) {
  body.workspace-nav-ready .topbar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
  }

  body.workspace-nav-ready .brand {
    flex: 0 0 auto;
    margin: 0;
    font-size: 16px;
  }

  .workspace-primary {
    flex: 1 1 auto;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .workspace-primary::-webkit-scrollbar {
    display: none;
  }

  .workspace-group-tab {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .workspace-subnav {
    min-height: 43px;
    padding: 0 10px;
  }

  .workspace-subnav button,
  .workspace-subnav a {
    min-height: 43px;
    padding: 0 12px;
    font-size: 12px;
  }

  body.workspace-nav-ready .layout {
    padding-top: 12px;
  }

  .workspace-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-tool-link:nth-child(3n) {
    border-right: 1px solid #e5e7eb;
  }

  .workspace-tool-link:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  body.workspace-nav-ready .topbar-inner {
    display: block;
  }

  body.workspace-nav-ready .brand {
    margin: 0 0 6px;
  }

  .workspace-primary {
    width: 100%;
  }

  .workspace-group-tab {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .workspace-subnav-code {
    display: none;
  }

  .workspace-tool-grid {
    grid-template-columns: 1fr;
  }

  .workspace-tool-link,
  .workspace-tool-link:nth-child(2n),
  .workspace-tool-link:nth-child(3n) {
    min-height: 92px;
    border-right: 0;
  }
}


/* short-world-external-layout-v2 */
body.workspace-nav-ready .portal-section.workspace-active {
  display: block !important;
  border: 1px solid #cbd5e1;
  background: #fff;
}

body.workspace-nav-ready .portal-section > .vertical-label {
  display: none;
}

body.workspace-nav-ready .portal-section > .section-content {
  min-width: 0;
  width: 100%;
}

body.workspace-nav-ready #short-world .short-world-board {
  border: 0;
  background: #fff;
}

body.workspace-nav-ready #short-world .short-world-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #cbd5e1;
}

body.workspace-nav-ready #short-world .short-world-summary > div {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid #dce3ee;
  background: #f8fafc;
}

body.workspace-nav-ready #short-world .short-world-summary > div:last-child {
  border-right: 0;
}

body.workspace-nav-ready #short-world .short-world-summary span,
body.workspace-nav-ready #short-world .short-world-summary strong,
body.workspace-nav-ready #short-world .short-world-summary small,
body.workspace-nav-ready #short-world .short-world-cycle-grid span,
body.workspace-nav-ready #short-world .short-world-cycle-grid b,
body.workspace-nav-ready #short-world .short-world-cycle-grid small,
body.workspace-nav-ready #short-world .short-world-metrics span,
body.workspace-nav-ready #short-world .short-world-metrics strong,
body.workspace-nav-ready #short-world .short-world-metrics small {
  display: block;
  letter-spacing: 0;
}

body.workspace-nav-ready #short-world .short-world-summary span,
body.workspace-nav-ready #short-world .short-world-cycle-grid span,
body.workspace-nav-ready #short-world .short-world-metrics span {
  color: #64748b;
  font-size: 10px;
}

body.workspace-nav-ready #short-world .short-world-summary strong {
  margin-top: 4px;
  color: #0f2f55;
  font-size: 24px;
}

body.workspace-nav-ready #short-world .short-world-summary small,
body.workspace-nav-ready #short-world .short-world-cycle-grid small,
body.workspace-nav-ready #short-world .short-world-metrics small {
  margin-top: 4px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.45;
}

body.workspace-nav-ready #short-world .short-world-phase {
  border-top: 4px solid #b42318;
}

body.workspace-nav-ready #short-world .short-world-cycle-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid #dce3ee;
}

body.workspace-nav-ready #short-world .short-world-cycle-grid > div,
body.workspace-nav-ready #short-world .short-world-metrics > div {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid #e5e7eb;
}

body.workspace-nav-ready #short-world .short-world-cycle-grid > div:last-child,
body.workspace-nav-ready #short-world .short-world-metrics > div:last-child {
  border-right: 0;
}

body.workspace-nav-ready #short-world .short-world-cycle-grid b,
body.workspace-nav-ready #short-world .short-world-metrics strong {
  margin-top: 3px;
  color: #111827;
  font-size: 15px;
}

body.workspace-nav-ready #short-world .short-world-metrics {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  border-bottom: 1px solid #cbd5e1;
}

body.workspace-nav-ready #short-world .short-world-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px 9px;
  border-bottom: 2px solid #174a82;
}

body.workspace-nav-ready #short-world .short-world-section-title span,
body.workspace-nav-ready #short-world .short-world-section-title h2 {
  display: block;
  margin: 0;
  letter-spacing: 0;
}

body.workspace-nav-ready #short-world .short-world-section-title span {
  color: #64748b;
  font-size: 10px;
}

body.workspace-nav-ready #short-world .short-world-section-title h2 {
  margin-top: 2px;
  color: #0f2f55;
  font-size: 17px;
}

body.workspace-nav-ready #short-world .short-world-section-title > small {
  color: #64748b;
  font-size: 10px;
  text-align: right;
}

body.workspace-nav-ready #short-world .short-world-tables {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  border-bottom: 1px solid #cbd5e1;
}

body.workspace-nav-ready #short-world .short-world-table-wrap {
  min-width: 0;
  overflow: auto;
  border-right: 1px solid #cbd5e1;
}

body.workspace-nav-ready #short-world .short-world-table-wrap:last-child {
  border-right: 0;
}

body.workspace-nav-ready #short-world table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

body.workspace-nav-ready #short-world th,
body.workspace-nav-ready #short-world td {
  padding: 8px 9px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

body.workspace-nav-ready #short-world th {
  background: #f8fafc;
  color: #475569;
  font-size: 10px;
  white-space: nowrap;
}

body.workspace-nav-ready #short-world td b,
body.workspace-nav-ready #short-world td small,
body.workspace-nav-ready #short-world .short-world-stock b,
body.workspace-nav-ready #short-world .short-world-stock small {
  display: block;
  letter-spacing: 0;
}

body.workspace-nav-ready #short-world td small,
body.workspace-nav-ready #short-world .short-world-stock small {
  margin-top: 2px;
  color: #64748b;
  font-size: 9px;
}

body.workspace-nav-ready #short-world a {
  color: #174a82;
  text-decoration: none;
}

body.workspace-nav-ready #short-world a:hover {
  text-decoration: underline;
}

body.workspace-nav-ready #short-world .short-world-proxies {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #cbd5e1;
}

body.workspace-nav-ready #short-world .short-world-proxies > div {
  min-width: 0;
  padding: 11px 13px;
  border-right: 1px solid #e5e7eb;
}

body.workspace-nav-ready #short-world .short-world-proxies > div:last-child {
  border-right: 0;
}

body.workspace-nav-ready #short-world .short-world-proxies span,
body.workspace-nav-ready #short-world .short-world-proxies strong,
body.workspace-nav-ready #short-world .short-world-proxies small {
  display: block;
  letter-spacing: 0;
}

body.workspace-nav-ready #short-world .short-world-proxies span {
  color: #64748b;
  font-size: 10px;
}

body.workspace-nav-ready #short-world .short-world-proxies strong {
  margin-top: 2px;
  color: #0f2f55;
  font-size: 19px;
}

body.workspace-nav-ready #short-world .short-world-proxies small {
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.4;
}

body.workspace-nav-ready #short-world .short-world-method {
  border-bottom: 1px solid #cbd5e1;
}

body.workspace-nav-ready #short-world .short-world-method > summary {
  padding: 10px 14px;
  background: #f8fafc;
  color: #174a82;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

body.workspace-nav-ready #short-world .short-world-method-body {
  padding: 0 13px 13px;
}

body.workspace-nav-ready #short-world .short-world-validation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

body.workspace-nav-ready #short-world .short-world-validation p {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #dce3ee;
  color: #475569;
  font-size: 10px;
  line-height: 1.5;
}

body.workspace-nav-ready #short-world .source-note {
  margin: 0;
  padding: 10px 14px;
}

body.workspace-nav-ready #short-world .positive { color: #b42318; }
body.workspace-nav-ready #short-world .negative { color: #16845b; }
body.workspace-nav-ready #short-world .warning { color: #a16207; }

@media (max-width: 1040px) {
  body.workspace-nav-ready #short-world .short-world-cycle-grid,
  body.workspace-nav-ready #short-world .short-world-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.workspace-nav-ready #short-world .short-world-tables {
    grid-template-columns: 1fr;
  }

  body.workspace-nav-ready #short-world .short-world-table-wrap {
    border-right: 0;
    border-bottom: 1px solid #cbd5e1;
  }
}

@media (max-width: 680px) {
  body.workspace-nav-ready #short-world .short-world-summary,
  body.workspace-nav-ready #short-world .short-world-cycle-grid,
  body.workspace-nav-ready #short-world .short-world-proxies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.workspace-nav-ready #short-world .short-world-metrics,
  body.workspace-nav-ready #short-world .short-world-validation {
    grid-template-columns: 1fr;
  }

  body.workspace-nav-ready #short-world .short-world-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  body.workspace-nav-ready #short-world .short-world-section-title > small {
    text-align: left;
  }
}
