.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.44em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark::before {
  content: "";
  display: inline-block;
  width: 1.14em;
  height: 1.14em;
  background: center / contain no-repeat url("/assets/slash.svg");
  flex: none;
}
.job-page {
  background: var(--bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.job-sheet {
  max-width: 740px;
  margin: clamp(35px, 8vw, 95px) auto;
  padding: 0 22px 80px;
  overflow-wrap: anywhere;
}
.job-sheet h1 {
  font:
    400 clamp(40px, 8vw, 72px) / 1.04 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.055em;
  margin: 16px 0;
}
.job-label,
.job-sheet small {
  font: 500 12px/1.5 monospace;
}
.job-byline {
  font-size: 19px;
  margin: 20px 0 34px;
}
.job-byline span {
  color: var(--accent-text);
}
.job-sheet section,
.catch-up {
  border-top: 1px solid var(--rule, #aaa89d);
  padding: 16px 0;
}
.job-sheet h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.job-sheet p {
  white-space: pre-wrap;
}
.job-sheet pre {
  white-space: pre-wrap;
  padding: 15px;
  background: var(--surface-2);
  font-size: 14px;
}
.job-sheet a {
  text-underline-offset: 0.2em;
}
.job-sheet > .primary {
  display: inline-block;
  margin-top: 20px;
}
.catch-up {
  margin: 14px 0;
}
.catch-up summary {
  cursor: pointer;
  font-weight: 650;
}
.catch-up ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.catch-up li button {
  padding: 7px 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pinned-job {
  position: relative;
  z-index: 4;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.release-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.sign-context {
  display: grid;
  gap: 5px;
  border-left: 3px solid var(--accent, #2257a2);
  padding: 8px 12px;
  margin: 12px 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.sign-context code {
  font-size: 12px;
}
.top-inner .channel-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.channel-nav a,
.join-team {
  font-weight: 600;
  text-decoration: none;
}
.join-team {
  background: var(--ink, #252622);
  color: var(--surface, #fff);
  padding: 9px 13px;
  border-radius: 6px;
}
.public-dock {
  display: none;
}
.pinned-proof {
  position: absolute;
  inset: 0;
  padding: 7%;
  color: #fff4df;
  background: #3a382e;
  overflow: hidden;
}
.pinned-proof span {
  font: 11px monospace;
  letter-spacing: 0.14em;
}
.pinned-proof b {
  display: block;
  font:
    500 clamp(21px, 3vw, 43px) / 1 Georgia,
    serif;
  margin: 1em 0 0.4em;
}
.pinned-proof p {
  font: 14px/1.4 monospace;
  max-width: 32ch;
}
.sleeve:has(.pinned-proof) .sleeve-mark {
  left: auto;
  right: 4%;
}
.sleeve:has(.pinned-proof) .sleeve-cap h1 {
  font-size: clamp(22px, 3vw, 40px);
}
.sleeve:has(.pinned-proof) .sleeve-motto {
  display: none;
}
.watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 29%);
  gap: 24px;
  margin: 20px 0;
}
.watch-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #20211d;
  border-radius: 8px;
}
.watch-stage .cover,
.watch-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.stage-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 68px;
  height: 52px;
  border-radius: 12px;
  background: #191a17eb;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
}
.stage-brief {
  position: absolute;
  bottom: 8%;
  left: 5%;
  color: white;
}
.watch-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.watch-caption h1 {
  font: 650 clamp(26px, 4vw, 44px) / 1.05 var(--sans);
  margin: 4px 0;
}
.watch-caption p {
  max-width: 55ch;
  color: var(--muted);
}
.watch-rail {
  border-left: 1px solid var(--rule);
  padding-left: 19px;
  min-width: 0;
}
.watch-rail h2 {
  font-size: 17px;
}
.watch-rail .onair {
  position: static;
  margin: 10px 0;
  box-shadow: none;
  width: 100%;
  max-width: none;
}
.watch-log h3 {
  font: 600 14px var(--sans);
  margin: 16px 0 8px;
}
.watch-log .events {
  font-size: 12px;
}
.watch-stage .cover-mark svg {
  height: 55%;
}
.top-inner [hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .watch-layout {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .watch-rail {
    padding: 14px 0;
    border: 0;
    border-top: 1px solid var(--rule);
  }
  .top-inner .channel-nav {
    display: none;
  }
  .join-team {
    margin-left: auto;
  }
  .public-dock,
  .mobile-bar {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 12;
    display: flex !important;
    margin: 0 !important;
    background: var(--surface, #faf8f2);
    border-top: 1px solid var(--rule, #bcb9ae);
    padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px #00000008;
  }
  .public-dock a,
  .mobile-bar button,
  .mobile-bar a {
    flex: 1;
    min-width: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 2px;
    min-height: 48px;
    font: 600 11px system-ui;
    text-decoration: none;
    color: var(--muted, #534f45);
  }
  .mobile-bar [aria-current],
  .public-dock [aria-current] {
    color: var(--ink, #171812);
    background: var(--surface-2, #e9e5dc);
    border-radius: 8px;
  }
  .mobile-bar svg {
    width: 18px;
    height: 18px;
  }
  .room-frame,
  .public-foot {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
  .studio-open .mobile-bar {
    display: none !important;
  }
  #breadcrumb {
    min-width: 0;
    max-width: 34vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.stage-stop {
  position: absolute;
  right: 8px;
  top: 8px;
  background: #191a17da;
  color: white;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  z-index: 3;
}
.share-address label {
  display: block;
  margin: 0.75rem 0;
}
.share-address input {
  font: 13px monospace;
  width: min(65vw, 420px);
  padding: 7px;
  background: transparent;
  border: 1px solid var(--rule);
  color: inherit;
}

[hidden] {
  display: none !important;
}
.watch-stage .cover {
  object-position: center 60%;
}
.channel-nav a[aria-current] {
  text-underline-offset: 5px;
  text-decoration: underline;
}
.watch-caption .outline {
  white-space: nowrap;
}
.watch-layout .onair {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.watch-rail .onair.idle {
  background: var(--surface-2);
}
.mobile-bar button,
.mobile-bar a {
  -webkit-tap-highlight-color: transparent;
}
@media (max-width:720px) {
  .top-inner:has(.design-switch[hidden]) #breadcrumb,.public .top-inner #breadcrumb {display:block;font-size:12px}
  .top-inner:has(.design-switch[hidden]) .top-right {margin-left:auto}
}

/* Member discovery */
.member-discovery { width: min(100% - 36px, 924px); margin: auto; padding: clamp(25px, 5vw, 68px) 0 calc(80px + env(safe-area-inset-bottom)); }
.discovery-title { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.discovery-title h1 { margin: 0; color: var(--ink); font: 500 clamp(48px, 7vw, 76px)/1.05 var(--sans); letter-spacing: -.065em; }
.discovery-title p { color: var(--muted); font: 500 14px/1.4 var(--sans); overflow-wrap: anywhere; }
.member-discovery [aria-label="Explore sections"] { display: flex; flex-wrap: wrap; gap: clamp(4px, 2.8vw, 30px); margin: 22px 0 0; border-bottom: 1px solid var(--rule); }
.member-discovery nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--muted); font-weight: 650; font-size: 15px; text-decoration: none; }
.member-discovery [aria-label="Explore sections"] a { padding: 0 3px; border-bottom: 3px solid transparent; }
.member-discovery [aria-label="Explore sections"] [aria-current] { border-color: var(--accent); color: var(--ink); }
.discovery-context { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.discovery-context > span, .discovery-list article small, .trade-team { font: 500 11px/1.45 var(--mono); color: var(--muted); letter-spacing: .035em; }
.discovery-context > span { text-transform: uppercase; }
.member-discovery [aria-label="Ranking"] { display: inline-flex; border: 1px solid var(--rule); border-radius: 28px; overflow: hidden; }
.member-discovery [aria-label="Ranking"] a { padding: 0 14px; font-size: 14px; }
.member-discovery [aria-label="Ranking"] [aria-current] { background: var(--ink); color: var(--bg); }
.member-discovery [aria-label="Ranking"] :focus-visible { outline-offset: -4px; }
.member-discovery .rank-method { color: var(--muted); font-size: 14px; margin: -1px 0 14px; }
.discovery-list { display: grid; gap: 12px; }
.discovery-list article, .discovery-empty { min-width: 0; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); padding: clamp(16px, 3vw, 26px); overflow-wrap: anywhere; }
.discovery-list h3 { color: var(--ink); margin: 7px 0; font: 600 clamp(21px, 2.4vw, 29px)/1.18 var(--sans); letter-spacing: -.035em; }
.discovery-list article > p { font-size: 15px; color: var(--muted); }
.discovery-list .work-card p + p { margin-top: 13px; }
.discovery-list .work-card strong { color: var(--ink); }
.discovery-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.discovery-list .discovery-actions { margin-top: 17px; }
.discovery-actions a, .discovery-actions button, .discovery-empty a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px; font-weight: 650; }
.discovery-actions a, .discovery-empty a { color: var(--accent-text); text-underline-offset: 3px; }
.discovery-actions a:first-child, .discovery-actions button { border-radius: 7px; border: 1px solid var(--rule); padding: 0 13px; background: var(--surface-2); color: var(--ink); }
.discovery-actions button:first-child, .work-card .discovery-actions a:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
.discovery-actions a:not(:first-child) { padding: 0 3px; }
.discovery-list .ranking-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: clamp(12px, 2.6vw, 24px); }
.rank-index { display: grid; place-items: center; min-width: 38px; min-height: 38px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); font: 600 16px var(--sans); }
.ranking-row:first-child .rank-index { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.ranking-row details { border-top: 1px solid var(--rule); margin-top: 16px; }
.ranking-row summary, .trade-criteria summary { cursor: pointer; color: var(--accent-text); min-height: 44px; padding: 11px 0; font-size: 14px; font-weight: 650; }
.ranking-row details section { padding: 10px 12px; background: var(--surface-2); border-radius: 6px; }
.ranking-row details section + section { margin-top: 8px; }
.ranking-row h4 { margin: 0 0 6px; }
.ranking-row details a { display: inline-flex; align-items: center; min-height: 44px; }
.discovery-empty { display: grid; align-content: center; justify-items: start; padding-block: clamp(26px, 5vw, 55px); background: var(--surface-2); }
.discovery-empty p { max-width: 38ch; font: 500 clamp(20px, 3vw, 28px)/1.24 var(--sans); letter-spacing: -.025em; }
.discovery-empty a { margin-top: 7px; }
@media (min-width: 760px) {
  .discovery-list.markets:has(article:nth-child(2)), .discovery-list.tasks:has(article:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discovery-list :is(.work-card, .market-card) { display: flex; flex-direction: column; align-items: start; }
  .discovery-list .discovery-actions { margin-top: auto; padding-top: 17px; }
}

.top .team-scope { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule); border-radius: 5px; min-height: 40px; padding-inline: 8px; min-width: 0; max-width: min(38vw, 20rem); }
/* Markets use their containing workspace palette, including the dark chat shell. */
#trade-sheet { width: min(440px, calc(100% - 24px)); max-height: min(88dvh, calc(var(--trade-height, 100dvh) - 16px)); margin: auto; overflow: hidden; padding: 0; border: 1px solid var(--rule); border-radius: 18px; background: var(--surface); color: var(--ink); }
#trade-sheet[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
#trade-sheet::backdrop { background: #10110fc2; backdrop-filter: blur(3px); }
#trade-sheet [hidden] { display: none; }
.trade-head, .trade-footer { padding-inline: 20px; }
.trade-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 6px; border-bottom: 1px solid var(--rule); }
.trade-team { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#trade-sheet [data-close] { flex: none; width: 44px; height: 44px; font: 400 27px/1 var(--sans); border-radius: 50%; color: var(--ink); }
#trade-sheet [data-close]:hover { background: var(--surface-2); }
.trade-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 17px 20px; overflow-wrap: anywhere; }
#trade-sheet h2 { font: 600 clamp(23px, 5vw, 30px)/1.14 var(--sans); letter-spacing: -.035em; margin: 0 0 10px; }
.trade-terms, .trade-rule { font-size: 14px; color: var(--muted); }
.trade-criteria { margin-block: 9px 16px; border-block: 1px solid var(--rule); }
.trade-rule { padding-bottom: 12px; }
#trade-sheet form { display: grid; gap: 12px; }
#trade-sheet label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 650; }
#trade-sheet input { width: 6rem; min-height: 44px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--bg); color: var(--ink); font-size: 16px; }
#trade-sheet output { display: block; padding: 11px 12px; background: var(--surface-2); color: var(--ink); border-radius: 7px; font-size: 14px; }
.trade-footer { display: grid; gap: 7px; padding-block: 12px; border-top: 1px solid var(--rule); }
.trade-footer [role="status"] { font-size: 14px; overflow-wrap: anywhere; }
.trade-footer [role="status"]:empty { display: none; }
.trade-footer .primary { width: 100%; min-height: 46px; background: var(--accent); color: var(--accent-ink); }
.discovery-page .top .team-scope { min-height: 44px; }
@media (max-width: 720px) {
  #trade-sheet { width: 100%; max-width: 100%; max-height: calc(var(--trade-height, 100dvh) - 6px); margin: auto 0 var(--trade-bottom, 0px); border-radius: 16px 16px 0 0; }
  .trade-footer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .discovery-page .top .team-scope { margin-left: auto; max-width: 55vw; }
}
.scoped-workspace .top .top-inner #breadcrumb, .scoped-workspace .top .crumb { display: none; }
#dialog .worker-choices { display: grid; gap: 7px; margin-block: 18px; }
#dialog .worker-choices button { position: relative; justify-content: start; min-height: 48px; padding: 9px 35px 9px 13px; text-align: left; color: var(--ink); background: var(--surface-2); border: 1px solid var(--rule); border-radius: 8px; font-weight: 650; }
#dialog .worker-choices button::after { content: ""; position: absolute; right: 16px; width: 7px; height: 7px; border: solid var(--accent-text); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
@media (max-width: 390px) {
  .scoped-workspace .top #switch { font-size: 0; gap: 0; min-width: 36px; min-height: 44px; }
  .scoped-workspace .top #switch::before { width: 24px; height: 24px; }
  .scoped-workspace .top #switch .chev { display: none; }
  .scoped-workspace .top .team-scope { flex: 1; max-width: 46vw; }
}

.discovery-list h3 a { color: inherit; text-decoration: none; }
.discovery-list h3 a:hover, .discovery-list h3 a:focus-visible { text-decoration: underline; }
.discovery-list .market-terms { margin-top: 10px; }
