/* Qorgon ecosystem product-layout preview (v4) */
.app-shell.portal-active:not(.media-active) .workspace {
  grid-template-columns: 74px minmax(260px, 320px) minmax(620px, 1fr);
}

.app-shell.portal-active:not(.media-active) .tools-panel {
  display: none;
}

.space-list.portal-sidebar {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(22px) saturate(125%);
}

.space-list.portal-sidebar .spaces {
  border-top-color: var(--line);
}

.main-panel.portal-mode {
  grid-template-rows: 1fr;
  border-right: 0;
  background:
    radial-gradient(circle at 10% 8%, color-mix(in srgb, #8a70ff 16%, transparent), transparent 27%),
    radial-gradient(circle at 92% 16%, color-mix(in srgb, #40d9c2 14%, transparent), transparent 25%),
    radial-gradient(circle at 56% 94%, color-mix(in srgb, #5caaff 12%, transparent), transparent 31%),
    linear-gradient(color-mix(in srgb, var(--surface) 91%, transparent), color-mix(in srgb, var(--surface) 91%, transparent));
}

.main-panel.portal-mode .conversation-header,
.main-panel.portal-mode .composer {
  display: none;
}

.main-panel.portal-mode .content-feed {
  display: block;
  height: 100%;
  padding: 0;
  overflow: auto;
  background: transparent;
  scrollbar-gutter: stable;
}

.portal-side {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 14px;
  padding: 14px 12px 18px;
}

.portal-side-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-2) 82%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 75%, transparent);
}

.portal-side-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(132, 84, 247, 0.94), rgba(76, 123, 239, 0.86) 52%, rgba(44, 210, 176, 0.9));
  color: #fff;
  box-shadow: 0 12px 22px rgba(92, 77, 218, 0.26), inset 0 1px 0 rgba(255,255,255,.6);
}

.portal-side-mark svg {
  width: 20px;
  height: 20px;
}

.portal-side-head div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.portal-side-head strong {
  color: var(--text);
  font-size: 14px;
}

.portal-side-head small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-menu-list {
  display: grid;
  gap: 6px;
}

.portal-menu-item {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.portal-menu-item:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 86%, transparent);
}

.portal-menu-item.active {
  border-color: rgba(255,255,255,.52);
  background:
    linear-gradient(135deg, rgba(132, 86, 247, 0.88), rgba(75, 124, 238, 0.78) 50%, rgba(43, 207, 173, 0.82));
  color: #fff;
  box-shadow: 0 12px 24px rgba(84, 86, 213, 0.18), inset 0 1px 0 rgba(255,255,255,.55);
}

.portal-menu-item svg {
  width: 18px;
  height: 18px;
}

.portal-menu-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 750;
}

.portal-menu-item b {
  min-width: 25px;
  min-height: 22px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-2) 86%, transparent);
  color: var(--muted);
  font-size: 10px;
}

.portal-menu-item.active b {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.portal-side-card,
.portal-primary-side {
  align-self: end;
}

.portal-side-card {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 11px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-2) 84%, transparent);
}

.portal-side-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue-soft) 85%, transparent);
  color: var(--blue);
}

.portal-side-card > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.portal-side-card strong,
.portal-side-card small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-side-card strong {
  color: var(--text);
  font-size: 12px;
}

.portal-side-card small {
  color: var(--muted);
  font-size: 10px;
}

.portal-side-card b {
  color: var(--blue);
  font-size: 11px;
}

.portal-side-card.rank-mini {
  grid-template-columns: 48px 1fr;
}

.rank-number {
  font-weight: 900;
}

.portal-primary-side {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  border-radius: 14px;
  background: linear-gradient(135deg, #8253f4, #4c79ef 52%, #2fd0af);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 26px rgba(83, 87, 216, 0.23), inset 0 1px 0 rgba(255,255,255,.52);
}

.portal-primary-side svg {
  width: 18px;
  height: 18px;
}

.portal-dashboard {
  width: min(100%, 1480px);
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 18px;
  margin: 0 auto;
  padding: 20px 22px 44px;
  color: var(--text);
}

.portal-hero {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr);
  align-items: center;
  gap: 30px;
  padding: 30px 34px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.54), rgba(255,255,255,.13) 54%, rgba(195,239,232,.1)),
    color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: 0 24px 60px rgba(51, 65, 85, 0.14), inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter: blur(26px) saturate(130%);
}

.portal-hero::before,
.portal-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.portal-hero::before {
  width: 290px;
  height: 290px;
  right: 8%;
  top: -44%;
  background: radial-gradient(circle, rgba(91, 220, 198, .32), transparent 68%);
}

.portal-hero::after {
  width: 330px;
  height: 330px;
  left: -10%;
  bottom: -80%;
  background: radial-gradient(circle, rgba(128, 82, 244, .25), transparent 70%);
}

.portal-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 12px;
}

.portal-eyebrow,
.portal-section-head span,
.pipeline-card header > span,
.project-panel header span,
.project-detail-identity > div > span,
.roadmap-panel > span,
.bom-card small,
.challenge-table-card header span,
.compute-card header small,
.lab-activity-card header span {
  color: #725de0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portal-hero h1 {
  max-width: 770px;
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.portal-hero p {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 7px;
}

.portal-primary,
.portal-secondary,
.portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.portal-primary,
.portal-secondary {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 14px;
  font-weight: 850;
}

.portal-primary {
  background: linear-gradient(135deg, #8254f3, #4f78ee 52%, #31cdb0);
  color: #fff;
  box-shadow: 0 14px 26px rgba(88, 78, 220, .24), inset 0 1px 0 rgba(255,255,255,.6);
}

.portal-secondary {
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  background: color-mix(in srgb, var(--surface-2) 75%, transparent);
  color: var(--text);
}

.portal-primary svg,
.portal-secondary svg,
.portal-link svg {
  width: 17px;
  height: 17px;
}

.portal-hero-visual {
  position: relative;
  z-index: 1;
  width: 250px;
  height: 210px;
  justify-self: center;
}

.portal-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(130,78,244,.96), rgba(75,125,239,.9) 50%, rgba(44,210,177,.94));
  color: #fff;
  box-shadow: 0 18px 45px rgba(88,77,220,.35), 18px 22px 42px rgba(45,210,175,.22), inset 0 1px 0 rgba(255,255,255,.76);
}

.portal-core svg {
  width: 32px;
  height: 32px;
}

.portal-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(101, 98, 220, .24);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.portal-orbit::before,
.portal-orbit::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: #49ceb8;
  box-shadow: 0 7px 18px rgba(46, 190, 162, .32);
}

.orbit-a {
  width: 210px;
  height: 116px;
}

.orbit-a::before {
  left: 13px;
  top: 20px;
}

.orbit-a::after {
  right: 8px;
  bottom: 18px;
  background: #7d5df0;
}

.orbit-b {
  width: 150px;
  height: 188px;
  transform: translate(-50%, -50%) rotate(25deg);
}

.orbit-b::before {
  right: 20px;
  top: 7px;
  background: #5a9cf4;
}

.orbit-b::after {
  left: 14px;
  bottom: 7px;
  background: #a470f4;
}

.portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 13px 30px rgba(55,65,81,.08), inset 0 1px 0 rgba(255,255,255,.7);
}

.metric-card > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, #8059ed 15%, var(--surface-2));
  color: #795ce5;
}

.metric-card.tone-cyan > span { background: color-mix(in srgb, #2fc9be 16%, var(--surface-2)); color: #1da99d; }
.metric-card.tone-green > span { background: color-mix(in srgb, #43c77c 16%, var(--surface-2)); color: #279a59; }
.metric-card.tone-blue > span { background: color-mix(in srgb, #4e91ec 16%, var(--surface-2)); color: #3377ce; }

.metric-card > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.metric-card small,
.metric-card em {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card strong {
  color: var(--text);
  font-size: 20px;
}

.portal-section {
  display: grid;
  gap: 13px;
}

.portal-section-head,
.pipeline-card > header,
.lab-activity-card > header,
.project-panel > header,
.challenge-table-card > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.portal-section-head > div,
.pipeline-card > header > div,
.project-panel > header > div {
  display: grid;
  gap: 4px;
}

.portal-section h2,
.portal-section-head h2,
.pipeline-card h2,
.project-panel h2,
.lab-flow-card h2,
.bom-card h2,
.rank-market-card h2,
.support-safety-card h2,
.challenge-table-card h2,
.compute-card h2,
.lab-activity-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  letter-spacing: -.025em;
}

.portal-link {
  color: var(--blue);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.request-grid,
.creator-grid,
.project-grid,
.product-grid,
.simulator-grid {
  display: grid;
  gap: 14px;
}

.request-grid,
.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creator-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simulator-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.request-card,
.creator-card,
.project-card,
.product-card,
.simulator-card,
.pipeline-card,
.compute-card,
.lab-activity-card,
.lab-flow-card,
.support-safety-card,
.project-panel,
.bom-card,
.challenge-table-card,
.rank-market-card,
.daily-streak,
.skill-radar-card,
.audition-card {
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: 0 15px 35px rgba(54,65,81,.08), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(118%);
}

.request-card,
.creator-card,
.project-card,
.product-card,
.simulator-card {
  min-width: 0;
  border-radius: 19px;
}

.request-card {
  display: grid;
  gap: 11px;
  padding: 17px;
}

.request-card > header,
.product-card > footer,
.simulator-card > header,
.creator-card > footer,
.project-card > header,
.project-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.request-status,
.product-category {
  color: #735bdd;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.request-card > header b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #29a978;
  font-size: 12px;
}

.request-card > header svg {
  width: 14px;
  height: 14px;
}

.request-card h3,
.creator-card h3,
.project-card h3,
.product-card h3,
.simulator-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}

.request-card p,
.creator-card p,
.project-card p,
.product-card p,
.simulator-card p,
.support-safety-card p,
.bom-card p,
.rank-market-card p,
.project-panel p,
.lab-flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.tag-row,
.variant-dots,
.project-filter,
.shop-filter,
.difficulty-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span,
.variant-dots span,
.project-filter button,
.shop-filter button,
.difficulty-filter button {
  padding: 5px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-2) 86%, transparent);
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.project-filter button.active,
.shop-filter button.active,
.difficulty-filter button.active {
  background: color-mix(in srgb, #765ce5 16%, var(--surface-2));
  color: #765ce5;
}

.request-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 9px;
}

.request-progress > span,
.project-funding > i,
.project-detail-fund > i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 75%, transparent);
}

.request-progress > span i,
.project-funding > i em,
.project-detail-fund > i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7e5ce9, #4e8bef, #32c9ae);
}

.request-progress b {
  color: var(--text);
  font-size: 10px;
}

.request-card dl,
.creator-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
}

.request-card dl div,
.creator-card dl div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-2) 76%, transparent);
}

.request-card dt,
.creator-card dt {
  color: var(--muted);
  font-size: 8px;
}

.request-card dd,
.creator-card dd {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.request-card footer > button,
.creator-card > button,
.simulator-card footer button,
.project-card footer button,
.product-card footer button,
.component-need button,
.project-detail-fund button,
.compute-card > button,
.lab-activity-card header button,
.skill-proof-card button,
.support-safety-card > button,
.bom-card > button,
.rank-market-card > button,
.audition-card button,
.proof-panel button,
.version-engine-panel header button {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  background: color-mix(in srgb, #775ce5 13%, var(--surface-2));
  color: #7057d8;
  font-size: 10px;
  font-weight: 850;
}

.pipeline-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 21px;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.pipeline-steps article {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 13px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
}

.pipeline-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--line);
}

.pipeline-steps b {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #795ce6, #4f8eef);
  color: #fff;
  font-size: 10px;
}

.pipeline-steps strong {
  color: var(--text);
  font-size: 11px;
}

.pipeline-steps small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.creator-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 22px 18px 18px;
  text-align: center;
}

.creator-rank {
  position: absolute;
  left: 13px;
  top: 13px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
}

.creator-avatar,
.project-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #8360ef, #518bea 55%, #3bcab2);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(83,83,210,.22), inset 0 1px 0 rgba(255,255,255,.54);
}

.creator-avatar {
  width: 62px;
  height: 62px;
  font-size: 17px;
}

.creator-card p {
  text-align: center;
}

.creator-match {
  width: 100%;
  display: grid;
  gap: 6px;
}

.creator-match > span {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.creator-match > span::before {
  content: "";
  display: block;
  width: var(--match);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #775de5, #35c6ad);
}

.creator-match b {
  color: #31a77e;
  font-size: 10px;
}

.creator-card > button {
  width: 100%;
}

.skill-proof-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(65, 197, 157, .24);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(54, 205, 168, .10), rgba(91, 105, 226, .08)), color-mix(in srgb, var(--surface) 84%, transparent);
}

.skill-proof-card > span,
.support-safety-card > span,
.bom-card > div > span,
.rank-market-card > div > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(47, 194, 151, .14);
  color: #2eaa7e;
}

.skill-proof-card > div {
  display: grid;
  gap: 4px;
}

.skill-proof-card strong {
  font-size: 14px;
}

.skill-proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.lab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 14px;
}

.compute-card,
.lab-activity-card {
  display: grid;
  gap: 15px;
  padding: 19px;
  border-radius: 20px;
}

.compute-card > header {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 11px;
}

.compute-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(125,87,235,.18), rgba(48,202,174,.16));
  color: #735bdd;
}

.compute-card header > div {
  display: grid;
  gap: 2px;
}

.compute-card header > b {
  padding: 5px 8px;
  border-radius: 99px;
  background: rgba(47, 194, 151, .12);
  color: #2fa57d;
  font-size: 9px;
}

.compute-meter {
  display: grid;
  gap: 7px;
}

.compute-meter > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
}

.compute-meter > div b {
  color: var(--text);
}

.compute-meter > i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.compute-meter > i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c5be7, #4f8ef0, #36cab0);
}

.compute-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.compute-specs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-2) 80%, transparent);
  color: var(--muted);
  font-size: 9px;
}

.compute-specs svg {
  width: 13px;
  height: 13px;
}

.lab-activity-card > header {
  align-items: center;
}

.lab-activity-card > header > div {
  display: grid;
  gap: 3px;
}

.lab-activity-card > article {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.lab-run-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35bd91;
  box-shadow: 0 0 0 4px rgba(53,189,145,.12);
}

.lab-activity-card article > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.lab-activity-card article strong,
.lab-activity-card article small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-activity-card article strong {
  color: var(--text);
  font-size: 11px;
}

.lab-activity-card article small,
.lab-activity-card article > b {
  color: var(--muted);
  font-size: 9px;
}

.simulator-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.simulator-card header > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, #665ee1 13%, var(--surface-2));
  color: #665ee1;
}

.simulator-card.accent-green header > span { background: color-mix(in srgb, #36bc75 14%, var(--surface-2)); color: #2c9c61; }
.simulator-card.accent-cyan header > span { background: color-mix(in srgb, #2cbfbb 14%, var(--surface-2)); color: #209c99; }
.simulator-card.accent-orange header > span { background: color-mix(in srgb, #e19a42 14%, var(--surface-2)); color: #bd7628; }
.simulator-card.accent-blue header > span { background: color-mix(in srgb, #4b8de2 14%, var(--surface-2)); color: #3472c0; }
.simulator-card.accent-pink header > span { background: color-mix(in srgb, #dc69ae 14%, var(--surface-2)); color: #bd4f91; }

.simulator-card header > b {
  padding: 5px 7px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--surface-2) 82%, transparent);
  color: var(--muted);
  font-size: 9px;
}

.simulator-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.simulator-card footer button {
  padding: 0;
  background: transparent;
  color: var(--blue);
}

.simulator-card footer > svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.lab-flow-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
}

.lab-flow-card > div:first-child {
  display: grid;
  gap: 5px;
}

.lab-flow-card > div:first-child > span {
  color: #2ca77f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lab-flow-nodes {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lab-flow-nodes span {
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, #715ce1 12%, var(--surface-2));
  color: #7058d8;
  font-size: 9px;
  font-weight: 900;
}

.lab-flow-nodes svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.project-card {
  display: grid;
  gap: 11px;
  padding: 15px;
}

.project-card > header {
  justify-content: flex-start;
}

.project-avatar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  font-size: 11px;
}

.project-avatar.large {
  width: 62px;
  height: 62px;
  font-size: 17px;
}

.project-card > header > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.project-card > header strong,
.project-card > header small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card > header strong { color: var(--text); font-size: 11px; }
.project-card > header small { color: var(--muted); font-size: 9px; }

.verified-badge,
.review-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 99px;
  font-size: 8px;
}

.verified-badge { background: rgba(47, 190, 144, .12); color: #2ca57c; }
.review-badge { background: rgba(228, 157, 62, .12); color: #ba762c; }
.verified-badge svg { width: 12px; height: 12px; }

.project-cover {
  position: relative;
  height: 130px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background:
    radial-gradient(circle at 74% 28%, rgba(70, 219, 188, .45), transparent 27%),
    radial-gradient(circle at 28% 70%, rgba(128, 82, 239, .48), transparent 34%),
    linear-gradient(145deg, #dfe7f3, #c8dce1);
}

.project-cover::before,
.project-cover::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.66);
  background: rgba(255,255,255,.23);
  box-shadow: 0 14px 24px rgba(53,70,90,.12), inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
}

.project-cover::before {
  width: 118px;
  height: 72px;
  border-radius: 22px;
  transform: rotate(-8deg);
}

.project-cover::after {
  width: 72px;
  height: 46px;
  right: 20px;
  top: 17px;
  border-radius: 15px;
  transform: rotate(12deg);
}

.project-cover > span {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #8059ed, #4d8cec, #35c9ad);
  color: #fff;
  box-shadow: 0 15px 32px rgba(77, 84, 211, .29);
}

.project-cover > em {
  position: absolute;
  z-index: 2;
  left: 10px;
  bottom: 9px;
  padding: 5px 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.58);
  color: #4a5360;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.project-funding {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

.project-funding > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.project-funding strong { color: var(--text); font-size: 11px; }
.project-funding span { color: var(--muted); font-size: 8px; }
.project-funding > b { color: #2da47d; font-size: 9px; }
.project-funding > i { grid-column: 1/-1; }

.project-card > footer {
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.project-card > footer > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 8px;
}

.project-card > footer svg {
  width: 12px;
  height: 12px;
}

.support-safety-card {
  display: grid;
  grid-template-columns: 58px minmax(260px, 1fr) minmax(390px, 1.25fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 21px;
  background:
    linear-gradient(135deg, rgba(45, 196, 150, .11), rgba(91, 96, 219, .08)),
    color-mix(in srgb, var(--surface) 84%, transparent);
}

.support-safety-card > div {
  display: grid;
  gap: 4px;
}

.support-safety-card > div small {
  color: #2da47d;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.support-safety-card ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-safety-card li {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 8px 5px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-2) 76%, transparent);
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.support-safety-card li b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #775ce5, #32c9ad);
  color: #fff;
}

.portal-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.portal-back svg { width: 16px; height: 16px; }

.project-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: 0 18px 42px rgba(54,65,81,.1), inset 0 1px 0 rgba(255,255,255,.74);
}

.project-detail-identity {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
}

.project-detail-identity > div {
  display: grid;
  gap: 7px;
}

.project-detail-identity h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.project-detail-identity p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.project-detail-fund {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 15px;
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
}

.project-detail-fund small,
.project-detail-fund span { color: var(--muted); font-size: 9px; }
.project-detail-fund strong { font-size: 21px; }
.project-detail-fund button { margin-top: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.project-detail-fund button svg { width: 15px; height: 15px; }

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 15px;
}

.project-detail-grid > main,
.project-detail-grid > aside {
  display: grid;
  align-content: start;
  gap: 15px;
}

.project-panel {
  display: grid;
  gap: 14px;
  padding: 19px;
  border-radius: 20px;
}

.project-panel > header > b {
  color: var(--muted);
  font-size: 9px;
}

.component-need-list {
  display: grid;
  gap: 8px;
}

.component-need {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface-2) 76%, transparent);
}

.component-need > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, #775ce5 12%, var(--surface));
  color: #7359dd;
}

.component-need.complete > span { background: rgba(49,188,141,.12); color: #2da47d; }
.component-need > div { min-width: 0; display: grid; gap: 3px; }
.component-need strong,
.component-need small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.component-need strong { font-size: 11px; }
.component-need small,
.component-need > b { color: var(--muted); font-size: 9px; }
.component-need button:disabled { opacity: .45; }

.version-engine-panel > header button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.version-graph {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 5px;
}

.version-line {
  position: absolute;
  left: 13px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(#765ce5, #34c5aa);
}

.version-graph article {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
}

.commit-node {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid color-mix(in srgb, var(--surface) 95%, transparent);
  border-radius: 50%;
  background: #6f67d9;
  box-shadow: 0 0 0 2px rgba(111,103,217,.24);
}

.commit-node.current { background: #2fbd91; box-shadow: 0 0 0 3px rgba(47,189,145,.16); }

.version-graph article > div:first-of-type {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.version-graph strong,
.version-graph small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.version-graph strong { font-size: 11px; }
.version-graph small,
.version-graph > article > b { color: var(--muted); font-size: 9px; }
.version-graph article > div:last-child { display: flex; gap: 5px; }
.version-graph article button { padding: 5px 7px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 8px; }

.version-engine-panel > footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-radius: 12px;
  background: color-mix(in srgb, #775ce5 8%, var(--surface-2));
  color: #735bdd;
}

.version-engine-panel > footer svg { width: 18px; height: 18px; flex: 0 0 auto; }

.roadmap-panel {
  justify-items: center;
  text-align: center;
}

.milestone-ring {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#35c5aa calc(var(--milestone) * 1%), color-mix(in srgb, var(--line) 65%, transparent) 0);
  box-shadow: inset 0 0 0 12px color-mix(in srgb, var(--surface) 92%, transparent);
}

.milestone-ring strong { font-size: 21px; }

.roadmap-panel ul {
  width: 100%;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.roadmap-panel li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}

.roadmap-panel li.done { color: #2da47d; }
.roadmap-panel li svg { width: 14px; height: 14px; }

.proof-panel {
  justify-items: start;
}

.proof-panel > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(48,190,143,.12);
  color: #2da47d;
}

.proof-panel h3 { margin: 0; font-size: 15px; }
.proof-panel button { width: 100%; }

.shop-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.shop-trust-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--muted);
  font-size: 9px;
}

.shop-trust-strip svg { width: 15px; height: 15px; color: #2da47d; }

.product-card {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.product-visual {
  position: relative;
  height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background:
    radial-gradient(circle at 78% 22%, rgba(53,203,176,.28), transparent 30%),
    radial-gradient(circle at 20% 78%, rgba(127,88,232,.24), transparent 34%),
    color-mix(in srgb, var(--surface-2) 82%, transparent);
}

.product-visual > span {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 22px;
  background: rgba(255,255,255,.25);
  color: #6e5adb;
  box-shadow: 0 16px 31px rgba(67,76,111,.14), inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
}

.product-visual > span svg { width: 30px; height: 30px; }
.product-visual > b { position: absolute; right: 8px; top: 8px; padding: 5px 7px; border-radius: 99px; background: rgba(255,255,255,.56); color: #3e856d; font-size: 8px; backdrop-filter: blur(7px); }

.product-card > p {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-card > p svg { width: 13px; height: 13px; color: #735bdd; }

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #bd8428;
  font-size: 9px;
  font-weight: 850;
}

.product-rating svg { width: 13px; height: 13px; fill: currentColor; }
.product-rating span { margin-left: auto; color: var(--muted); font-weight: 500; }
.product-card footer strong { font-size: 14px; }
.product-card footer > div { display: flex; gap: 6px; }
.product-card footer button:first-child { width: 34px; padding: 0; }
.product-card footer button svg { width: 14px; height: 14px; }

.bom-card,
.rank-market-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-radius: 21px;
}

.bom-card > div:first-child,
.rank-market-card > div:first-child {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 13px;
}

.bom-card > div:first-child > div,
.rank-market-card > div:first-child > div {
  display: grid;
  gap: 5px;
}

.bom-preview {
  display: grid;
  gap: 6px;
}

.bom-preview article {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  color: var(--muted);
  font-size: 9px;
}

.bom-preview svg { width: 14px; height: 14px; color: #2da47d; }
.bom-preview article:nth-child(2) svg { color: #c48732; }
.bom-preview b { font-size: 8px; }

.challenge-summary-grid {
  display: grid;
  grid-template-columns: .8fr 1fr 1.25fr;
  gap: 12px;
}

.daily-streak,
.skill-radar-card,
.audition-card {
  min-height: 140px;
  border-radius: 18px;
  padding: 17px;
}

.daily-streak {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 10px;
}

.daily-streak > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(239,137,54,.13);
  color: #d27b32;
}

.daily-streak > div { display: grid; gap: 3px; }
.daily-streak small,
.daily-streak p { color: var(--muted); font-size: 9px; }
.daily-streak strong { font-size: 19px; }
.daily-streak p { margin: 0; }
.daily-streak > b { color: #2da47d; font-size: 11px; }

.skill-radar-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.skill-radar-card div {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
}

.skill-radar-card span { color: var(--muted); font-size: 8px; }
.skill-radar-card b { font-size: 17px; }

.audition-card {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 7px;
  background: linear-gradient(135deg, rgba(119,91,229,.12), rgba(48,198,169,.09)), color-mix(in srgb, var(--surface) 84%, transparent);
}

.audition-card > span { color: #7159db; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.audition-card h3 { margin: 0; font-size: 15px; }
.audition-card p { margin: 0; color: var(--muted); font-size: 9px; }

.challenge-table-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 20px;
}

.challenge-table-card > header {
  padding: 17px;
  align-items: center;
}

.challenge-table-card > header > div:first-child { display: grid; gap: 3px; }

.challenge-table-head,
.challenge-row {
  display: grid;
  grid-template-columns: 54px minmax(260px, 1fr) 94px 88px 72px 20px;
  align-items: center;
  gap: 8px;
}

.challenge-table-head {
  min-height: 34px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 76%, transparent);
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}

.challenge-row {
  width: 100%;
  min-height: 57px;
  padding: 0 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.challenge-row:hover { background: color-mix(in srgb, var(--surface-2) 72%, transparent); }
.challenge-status { width: 22px; height: 22px; display: grid; place-items: center; }
.challenge-status svg { width: 14px; height: 14px; }
.challenge-row > div { min-width: 0; display: grid; gap: 3px; }
.challenge-row strong,
.challenge-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.challenge-row strong { color: var(--text); font-size: 11px; }
.challenge-row small { font-size: 8px; }
.challenge-row > b { justify-self: start; padding: 5px 7px; border-radius: 99px; font-size: 8px; }
.challenge-row > span:not(.challenge-status) { font-size: 9px; }
.challenge-row > svg { width: 14px; height: 14px; }

.difficulty-easy { background: rgba(47,188,142,.12); color: #2da47d !important; }
.difficulty-normal { background: rgba(224,158,61,.12); color: #bc792c !important; }
.difficulty-hard { background: rgba(222,89,108,.12); color: #c64f64 !important; }

.rank-market-card {
  grid-template-columns: 1fr auto;
  background: linear-gradient(135deg, rgba(117,91,226,.1), rgba(49,196,166,.08)), color-mix(in srgb, var(--surface) 84%, transparent);
}

.challenge-workspace {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 21px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 18px 40px rgba(54,65,81,.1);
}

.challenge-description {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.challenge-description > span { justify-self: start; padding: 6px 9px; border-radius: 99px; font-size: 9px; font-weight: 850; }
.challenge-description h1 { margin: 0; font-size: 26px; line-height: 1.08; letter-spacing: -.035em; }
.challenge-description > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.challenge-description section { display: grid; gap: 7px; }
.challenge-description h3 { margin: 0; font-size: 12px; }
.challenge-description pre { margin: 0; padding: 12px; border-radius: 12px; background: #17212e; color: #c8f4ea; font-size: 10px; overflow: auto; }
.challenge-description ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.challenge-description footer { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 10px; border-top: 1px solid var(--line); }
.challenge-description footer span { padding: 5px 7px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 8px; }

.code-workspace {
  min-width: 0;
  display: grid;
  grid-template-rows: 48px minmax(300px, 1fr) 180px 54px;
  background: #111923;
  color: #d6e2ef;
}

.code-workspace > header,
.code-workspace > footer,
.test-console > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.code-workspace > header > div { display: flex; gap: 5px; }
.code-workspace > header button { padding: 7px 9px; border-radius: 8px; background: transparent; color: #8293a7; font-size: 9px; }
.code-workspace > header button.active { background: rgba(117,91,229,.18); color: #c7bbff; }
.code-workspace select { padding: 7px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: #192533; color: #c8d7e6; font-size: 9px; }

.code-editor-mock {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.75;
}

.code-editor-mock ol {
  margin: 0;
  padding: 17px 9px;
  list-style: none;
  border-right: 1px solid rgba(255,255,255,.06);
  color: #4e6176;
  text-align: right;
}

.code-editor-mock pre { margin: 0; padding: 17px; color: #b8eadd; white-space: pre-wrap; }

.test-console {
  display: grid;
  grid-template-rows: 38px 35px 1fr;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #151f2a;
}

.test-console > header { padding: 0 13px; }
.test-console > header strong { font-size: 10px; }
.test-wait { display: inline-flex; align-items: center; gap: 5px; color: #8293a7; font-size: 8px; }
.test-wait svg { width: 10px; height: 10px; }
.test-console > div { display: flex; align-items: center; gap: 5px; padding: 0 12px; }
.test-console > div button { padding: 5px 8px; border-radius: 7px; background: transparent; color: #718398; font-size: 8px; }
.test-console > div button.active { background: rgba(255,255,255,.06); color: #cbd8e5; }
.test-console pre { margin: 0; padding: 10px 13px; color: #65798e; font-size: 9px; white-space: pre-wrap; }

.code-workspace > footer { border-top: 1px solid rgba(255,255,255,.08); border-bottom: 0; }
.code-workspace > footer > span { color: #6f8296; font-size: 8px; }
.code-workspace > footer > div { display: flex; gap: 7px; }
.code-workspace > footer button { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 9px; background: rgba(255,255,255,.07); color: #cbd7e3; font-size: 9px; }
.code-workspace > footer button.submit { background: linear-gradient(135deg, #785ce5, #3ebda5); color: #fff; }
.code-workspace > footer button svg { width: 14px; height: 14px; }

