:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #eef2ef;
  --text: #17201c;
  --muted: #66736d;
  --line: #d9e0dc;
  --strong-line: #b9c7c0;
  --accent: #0f8b6f;
  --accent-2: #2458d3;
  --warn: #b7791f;
  --danger: #c2413a;
  --ok: #15803d;
  --shadow: 0 16px 42px rgba(31, 41, 55, 0.08);
  --radius: 8px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 244, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brandMark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--accent), #64b89e 48%, var(--accent-2));
  box-shadow: 0 8px 24px rgba(15, 139, 111, 0.24);
}

.brandIcon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.mainNav {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow: visible;
}

.navLink,
.navGroupButton,
.quietLink,
.primaryLink,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.navLink {
  position: relative;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.navGroup {
  position: relative;
}

.navGroupButton {
  border: 1px solid transparent;
  background: transparent;
}

.navGroup.active .navGroupButton,
.navGroup:hover .navGroupButton,
.navGroup:focus-within .navGroupButton {
  color: var(--text);
  background: var(--surface-2);
}

.navGroup.active .navGroupButton {
  border-color: rgba(14, 148, 116, 0.16);
  background: linear-gradient(180deg, #ffffff, #eef8f4);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.navMenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 40;
  display: grid;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.navGroup:hover .navMenu,
.navGroup:focus-within .navMenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.navMenu .navLink {
  justify-content: flex-start;
}

.navLink:hover,
.navLink.active,
.quietLink:hover {
  color: var(--text);
  background: var(--surface-2);
}

.navLink.active {
  border-color: rgba(14, 148, 116, 0.16);
  background: linear-gradient(180deg, #ffffff, #eef8f4);
  box-shadow: inset 0 -3px 0 var(--accent);
}

.navLink.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
}

.topActions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}

.notificationMenu,
.accountMenu {
  position: relative;
  justify-content: flex-end;
}

.notificationButton {
  position: relative;
  gap: 7px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.notificationButton strong {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
}

.notificationButton strong[data-empty="true"] {
  background: #dbe4df;
  color: var(--muted);
}

.accountButton {
  max-width: 210px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.accountButton span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.notificationDropdown,
.accountDropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 45;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.notificationDropdown {
  width: min(430px, calc(100vw - 32px));
  min-width: 330px;
}

.notificationMenu:hover .notificationDropdown,
.notificationMenu:focus-within .notificationDropdown,
.accountMenu:hover .accountDropdown,
.accountMenu:focus-within .accountDropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notificationHeader {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 8px 10px;
  border-bottom: 1px solid var(--line);
}

.notificationHeader a {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.notificationList {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  max-height: min(68vh, 560px);
  overflow: auto;
}

.notificationItem {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  color: var(--text);
  text-decoration: none;
}

.notificationItem.urgent,
.taskItem.urgent {
  border-color: rgba(18, 150, 124, 0.45);
  background: linear-gradient(90deg, rgba(18, 150, 124, 0.09), rgba(255, 255, 255, 0.96));
}

.notificationItem a,
.taskItemMain {
  display: grid;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.notificationTopline,
.notificationActions,
.notificationMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.notificationTopline {
  justify-content: space-between;
}

.notificationActions {
  justify-content: flex-end;
  padding-top: 2px;
}

.notificationMeta {
  color: var(--muted);
  font-size: 0.78rem;
}

.notificationMeta span,
.notificationMeta time,
.priorityDot {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  line-height: 1.2;
}

.priorityDot {
  border-color: rgba(18, 150, 124, 0.22);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
}

.taskFilterBar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 10px;
}

.taskFilterBar button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.taskFilterBar button.active {
  border-color: rgba(18, 150, 124, 0.5);
  background: rgba(18, 150, 124, 0.08);
  color: var(--text);
}

.taskFilterBar span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.74rem;
}

.notificationDetailCard {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.notificationDetailCard.urgent {
  border-color: rgba(18, 150, 124, 0.45);
  box-shadow: inset 4px 0 0 rgba(18, 150, 124, 0.75);
}

.notificationDetailHead {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.notificationDetailHead h2 {
  margin: 8px 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.notificationDetailHead p,
.notificationDetailBody p {
  color: var(--muted);
}

.notificationDetailBody {
  display: grid;
  gap: 16px;
}

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

.notificationItem strong {
  font-size: 0.92rem;
}

.notificationItem p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.accountDropdown a,
.accountDropdown .button {
  justify-content: flex-start;
  width: 100%;
  min-height: 36px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.accountDropdown a:hover,
.accountDropdown .button:hover {
  color: var(--text);
  background: var(--surface-2);
  transform: none;
}

.accountDropdown small {
  display: block;
  padding: 0 10px 6px;
  font-size: 0.75rem;
  line-height: 1.35;
}

.primaryLink,
.button.primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.button:hover {
  border-color: var(--strong-line);
  transform: translateY(-1px);
}

.button.danger {
  border-color: rgba(194, 65, 58, 0.28);
  color: var(--danger);
}

.appShell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 52px;
}

.pageHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  min-height: 180px;
  padding: 18px 0 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.pageHero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.heroActions,
.buttonRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contentGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  padding-top: 24px;
}

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

.mainStack,
.sideStack {
  display: grid;
  align-content: start;
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
}

.card.anchorBlock {
  border-color: rgba(15, 139, 111, 0.28);
}

.cardHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cardHead h2 {
  margin: 0;
  font-size: 1rem;
}

.mutedText,
.docText p,
.listItem p {
  color: var(--muted);
  line-height: 1.6;
}

.siteFooter {
  border-top: 1px solid var(--line);
  background: #eef2ef;
}

.footerInner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
  gap: 28px;
  padding: 30px 0;
}

.footerBrand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footerBrand .brand {
  min-width: 0;
}

.footerBrand p,
.footerBrand small {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footerNav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footerNav section {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footerNav h2 {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--text);
}

.footerNav a {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.footerNav a:hover {
  color: var(--accent);
}

.pwaUpdateToast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  width: min(420px, calc(100vw - 32px));
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(18, 150, 124, 0.24);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.pwaUpdateToast strong {
  display: block;
}

.pwaUpdateToast p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.stat {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 14px;
  min-width: 0;
}

.stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.accountProfile {
  display: grid;
  gap: 18px;
}

.accountIdentity {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.accountAvatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.accountIdentity h3 {
  margin: 0;
  font-size: 1.35rem;
  overflow-wrap: anywhere;
}

.accountIdentity p {
  margin: 4px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.accountDetails {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.accountDetails div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 12px;
  min-width: 0;
}

.accountDetails dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.accountDetails dd {
  margin: 6px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.wrapText {
  word-break: break-word;
}

.accountSummaryList {
  display: grid;
  gap: 10px;
}

.accountSummaryList div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 12px;
  min-width: 0;
}

.accountSummaryList span,
.portfolioEntry span,
.portfolioHeader span,
.portfolioPosition dt {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.accountSummaryList strong {
  display: block;
  margin-top: 5px;
  font-size: 0.98rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.portfolioEntry {
  display: grid;
  gap: 14px;
}

.portfolioMetrics,
.portfolioHeader {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portfolioMetrics div,
.portfolioHeader div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 12px;
  min-width: 0;
}

.portfolioMetrics strong,
.portfolioHeader strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.tokenStrip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tokenStrip span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 7px 10px;
  color: var(--text);
}

.portfolioGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.portfolioPosition {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 14px;
  min-width: 0;
}

.portfolioPosition strong,
.portfolioPosition p,
.portfolioPosition dd {
  overflow-wrap: anywhere;
}

.portfolioPosition p {
  margin: 4px 0 0;
  color: var(--muted);
}

.portfolioPosition dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.portfolioPosition dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.web3Summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.web3Summary div,
.contractList div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 12px;
  min-width: 0;
}

.web3Summary span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.web3Summary strong,
.contractList strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.web3Summary p,
.contractList p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.contractList {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contractList code {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.stat.good {
  background: rgba(21, 128, 61, 0.08);
}

.stat.info {
  background: rgba(36, 88, 211, 0.08);
}

.list,
.projectGrid,
.featureGrid,
.workflow,
.quickLinks {
  display: grid;
  gap: 10px;
}

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

.projectGrid.tableView {
  grid-template-columns: 1fr;
}

.projectGrid.tableView .projectCard {
  grid-template-columns: minmax(220px, 1.2fr) minmax(260px, 1.4fr) minmax(180px, 0.8fr) auto;
  align-items: center;
}

.projectGrid.tableView .projectCard .progress {
  min-width: 150px;
}

.projectGrid.tableView .projectCard h3,
.projectGrid.tableView .projectCard p {
  margin: 0;
}

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

.reviewerGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.reviewerCard,
.reviewerProfilePanel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 14px;
}

.reviewerCard h3,
.reviewerProfilePanel h3 {
  margin: 0 0 4px;
}

.reviewerCard p,
.reviewerProfilePanel p {
  margin: 0 0 10px;
}

.reviewerScore {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(15, 139, 111, 0.26);
  border-radius: 50%;
  background: #eef8f3;
  color: var(--accent);
}

.reviewerScore.large {
  width: 88px;
  height: 88px;
}

.reviewerScore strong,
.reviewerScore span {
  display: block;
  line-height: 1;
}

.reviewerScore strong {
  font-size: 1.45rem;
}

.reviewerScore span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.rewardLedger {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.rewardLedger h4 {
  margin: 0;
  font-size: 0.9rem;
}

.rewardEvent {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}

.rewardEvent strong,
.rewardEvent p {
  margin: 0;
}

.rewardEvent p,
.rewardEvent small {
  color: var(--muted);
}

.rewardPayoutGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.rewardPayoutGrid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 14px;
  min-width: 0;
}

.rewardPayoutGrid strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.15;
}

.rewardPayoutGrid span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.78rem;
}

.rewardTimeline {
  display: grid;
  gap: 10px;
}

.rewardTimeline .rewardEvent {
  grid-template-columns: 96px minmax(0, 1fr) 120px;
}

.messageBoard {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.messageThreads,
.messageStream {
  display: grid;
  gap: 10px;
}

.threadLink {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
}

.threadLink.active {
  border-color: rgba(14, 148, 116, 0.45);
  background: #eff8f4;
}

.threadLink span,
.threadLink small {
  color: var(--muted);
}

.messageBubble {
  display: grid;
  gap: 8px;
  max-width: 82%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 14px;
}

.messageBubble.own {
  justify-self: end;
  background: #f0f6ff;
  border-color: rgba(42, 96, 214, 0.22);
}

.messageBubble p {
  margin: 0;
  line-height: 1.55;
}

.messageMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.messageMeta strong {
  color: var(--ink);
}

.messageRefs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.messageRefs a,
.messageRefs span,
.mention {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcfa;
  padding: 0 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.workflow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.workflow.workflowFive {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.workflow div,
.featureGrid section,
.listItem,
.quickLinks a,
.milestoneCard,
.proposalCard,
.proposalRecord {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 14px;
}

.workflow b,
.workflow span {
  display: block;
}

.workflow span,
.featureGrid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.featureGrid h3 {
  margin: 0;
  font-size: 0.95rem;
}

.appSuitePreview,
.appLauncherGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.appPreviewTile,
.appTile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  color: var(--text);
  text-decoration: none;
}

.appPreviewTile {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.appPreviewTile span,
.appIcon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.appPreviewTile strong {
  font-size: 1.05rem;
}

.downloadPanel {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(18, 150, 124, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(18, 150, 124, 0.08), #fff);
}

.downloadPanel h2 {
  margin: 10px 0 6px;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
}

.downloadPanel p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
}

.appPreviewTile small,
.appTile p,
.platformWelcome p {
  color: var(--muted);
  line-height: 1.5;
}

.platformWelcome {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbf8;
  padding: 14px;
}

.platformWelcome strong {
  display: block;
  font-size: 1.1rem;
}

.platformWelcome p {
  margin: 4px 0 0;
}

.platformWelcomeActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.appShellLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.appShellMain,
.appTaskCenter {
  min-width: 0;
}

.sectionLabelRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.sectionLabelRow h3 {
  margin: 0;
  font-size: 1rem;
}

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

.appTile {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-height: 250px;
  padding: 14px;
}

.appTile.recommended {
  border-color: rgba(18, 150, 124, 0.42);
  box-shadow: 0 10px 30px rgba(18, 150, 124, 0.08);
}

.appTile.locked {
  opacity: 0.72;
}

.appTileHeader {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.appTileHeader h3 {
  margin: 0;
  font-size: 1.02rem;
}

.taskList {
  display: grid;
  gap: 10px;
}

.taskItem {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  color: var(--text);
  text-decoration: none;
}

.taskActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.quietMiniButton {
  width: max-content;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 4px 10px;
  font-weight: 900;
  cursor: pointer;
}

.quietMiniButton:hover {
  color: var(--text);
  background: var(--surface-2);
}

.taskItem strong {
  font-size: 0.96rem;
}

.taskItem p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.taskItem small {
  color: var(--muted);
  font-size: 0.72rem;
}

.taskItem.clear {
  background: #f7fbf8;
}

.taskBadge {
  width: max-content;
  max-width: 100%;
  padding: 3px 9px;
  border: 1px solid rgba(18, 150, 124, 0.2);
  border-radius: 999px;
  background: #eef8f4;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.activityList {
  display: grid;
  gap: 12px;
}

.activityItem {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
}

.activityItem h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

.activityItem p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}

.sectionSubhead {
  margin: 18px 0 10px;
  font-size: 1rem;
}

.exchangeShell {
  display: grid;
  gap: 16px;
}

.exchangePage .contentGrid {
  grid-template-columns: 1fr;
}

.exchangePage .sideStack {
  display: none;
}

.exchangeHeader {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 14px 16px;
}

.exchangeHeader strong {
  display: block;
  font-size: 1.35rem;
}

.exchangeHeader span {
  color: var(--muted);
}

.exchangeStats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.exchangeStats .pill {
  background: #fff;
}

.exchangeStats .pricePill {
  border-color: rgba(15, 143, 114, 0.32);
  background: #eef8f3;
  color: var(--accent);
  font-weight: 900;
}

.exchangeTerminal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  gap: 16px;
}

.exchangeGrid.lower {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.exchangeChart canvas {
  display: block;
  width: 100%;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
  cursor: grab;
  touch-action: none;
}

.exchangeChart canvas.dragging {
  cursor: grabbing;
}

.chartToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.rangeTabs {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 3px;
}

.rangeTab {
  min-width: 48px;
  min-height: 34px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.rangeTab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.marketHistory {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.marketHistory strong {
  color: var(--ink);
}

.positiveText {
  color: var(--accent);
  font-weight: 900;
}

.negativeText {
  color: #c5534d;
  font-weight: 900;
}

[data-market-scrubber] {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

[data-market-scrubber] input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.scrubberDates {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.pairList {
  display: grid;
  gap: 8px;
}

.pairButton {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.pairButton.active {
  border-color: rgba(15, 143, 114, 0.45);
  background: #eef8f3;
}

.pairButton strong,
.pairButton span {
  display: block;
}

.pairButton span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

[data-role-required],
[data-auth-required] {
  display: none;
}

.listItem {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.listItem strong {
  display: block;
}

.listItem p {
  margin: 6px 0 0;
  font-size: 0.86rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.pill.ok {
  border-color: rgba(21, 128, 61, 0.22);
  background: rgba(21, 128, 61, 0.08);
  color: var(--ok);
}

.pill.info {
  border-color: rgba(36, 88, 211, 0.22);
  background: rgba(36, 88, 211, 0.08);
  color: var(--accent-2);
}

.pill.warn {
  border-color: rgba(183, 121, 31, 0.22);
  background: rgba(183, 121, 31, 0.08);
  color: var(--warn);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 10px;
}

.projectCommand .statGrid {
  margin-bottom: 14px;
}

.projectToolbar {
  align-items: center;
}

.segmented {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 3px;
}

.seg {
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 0 10px;
}

.seg.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
}

.authSwitch {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 3px;
}

.authSwitchButton {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 0 12px;
}

.authSwitchButton.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
}

.authPanel {
  display: none;
}

.authPanel.active {
  display: grid;
  gap: 14px;
}

.authAssist {
  margin: 0;
}

.authAssist a {
  color: var(--accent);
  font-weight: 800;
}

.resetResult {
  margin-top: 14px;
}

.resetResult .codeBlock {
  margin-top: 10px;
}

.form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  color: var(--text);
  padding: 11px 12px;
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 139, 111, 0.1);
}

.formStatus {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.formStatus.ok {
  color: var(--ok);
}

.formStatus.error {
  color: var(--danger);
}

.projectCard {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 16px;
}

.projectCard.featured {
  border-color: rgba(15, 139, 111, 0.34);
  background: linear-gradient(180deg, #ffffff, #f5fbf8);
}

.detailGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 10px;
}

.verificationCard,
.platformQueue {
  display: grid;
  gap: 12px;
}

.verificationCard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 14px;
}

.verificationCardHead {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.verificationCardHead strong,
.verificationCardHead p,
.platformNotesBlock p {
  margin: 0;
}

.verificationCard .detailGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.verificationCard dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.verificationCard dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.platformNotesBlock {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.ownerGrid {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.detailHeroCard .projectCard {
  background: transparent;
  border: 0;
  padding: 0;
}

.detailHeroCard .projectCard .button {
  width: fit-content;
}

.fundingRing {
  display: grid;
  gap: 14px;
}

.fundingBar {
  display: grid;
  gap: 7px;
}

.fundingBarHeader {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.milestoneTimeline {
  display: grid;
  gap: 12px;
}

.milestoneCard {
  position: relative;
  display: grid;
  gap: 12px;
  border-left: 3px solid var(--line);
  background: #ffffff;
}

.milestoneCard::before {
  content: "";
  position: absolute;
  inset: 13px auto auto -1px;
  width: 3px;
  height: calc(100% - 26px);
  border-radius: 99px;
  background: var(--line);
}

.milestoneCard.accepted::before {
  background: var(--ok);
}

.milestoneCard.accepted {
  border-left-color: var(--ok);
}

.milestoneCard.in_review::before,
.milestoneCard.submitted::before {
  background: var(--accent-2);
}

.milestoneCard.in_review,
.milestoneCard.submitted {
  border-left-color: var(--accent-2);
}

.milestoneCard.planned {
  border-left-color: #9aa7a0;
}

.milestoneActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.evidenceList {
  display: grid;
  gap: 8px;
}

.evidenceSection {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(14, 148, 116, 0.16);
  border-radius: var(--radius);
  background: #fbfdfb;
  padding: 10px;
}

.sectionMiniLabel {
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.evidenceLabel {
  color: var(--accent);
}

.evidenceItem {
  display: grid;
  gap: 5px;
  border: 1px dashed rgba(14, 148, 116, 0.28);
  border-radius: var(--radius);
  background: #f7fbf8;
  padding: 10px;
}

.evidenceItem code {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.evidenceFlow {
  display: grid;
  gap: 10px;
}

.evidenceFlow div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.evidenceFlow span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent);
  font-weight: 900;
}

.evidenceFlow p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.bundleCard {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 14px;
}

.bundleHash {
  border-radius: var(--radius);
  background: #17201c;
  color: #ecfdf5;
  font-size: 0.78rem;
  padding: 10px;
  overflow-wrap: anywhere;
}

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

.selectedMilestoneHint {
  border: 1px solid rgba(36, 88, 211, 0.22);
  border-radius: var(--radius);
  background: rgba(36, 88, 211, 0.06);
  color: var(--muted);
  line-height: 1.55;
  padding: 12px;
}

.proposalGrid {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.reviewerGrid {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.formSection {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 16px;
}

.formSection h3 {
  margin: 0;
  font-size: 0.98rem;
}

.proposalScore {
  display: grid;
  gap: 14px;
}

.proposalScore div {
  display: grid;
  gap: 7px;
}

.proposalScore span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

meter {
  width: 100%;
  height: 10px;
}

.reviewQueue {
  display: grid;
  gap: 12px;
}

.queueCard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 14px;
}

.queueCard h3 {
  margin: 0;
  font-size: 1rem;
}

.queueCard p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.queueMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.rubricList {
  display: grid;
  gap: 10px;
}

.rubricList div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 12px;
}

.rubricList span {
  color: var(--accent);
  font-weight: 900;
}

.rubricList p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.projectCard h3 {
  margin: 0;
  font-size: 1.05rem;
}

.projectCard p,
.milestoneCard p,
.proposalCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.evidenceList {
  display: grid;
  gap: 10px;
}

.reviewerEvidence {
  display: grid;
  gap: 10px;
}

.evidenceHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.evidenceHeader strong,
.evidenceHeader span {
  display: block;
}

.evidenceHeader > div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.transparencyBadge {
  flex: 0 0 auto;
  border: 1px solid rgba(14, 148, 116, 0.22);
  border-radius: 999px;
  background: #eef8f4;
  color: var(--accent);
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 900;
}

.evidenceMeta,
.labbookActions,
.milestoneActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.evidenceNote {
  display: grid;
  gap: 8px;
  border: 1px dashed rgba(14, 148, 116, 0.28);
  border-radius: var(--radius);
  background: #f7fbf8;
  padding: 12px;
}

.helperText {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.metaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recordHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.recordHeader h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.voteStats {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.voteBar {
  display: flex;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}

.voteBar span {
  min-width: 0;
  transition: width 0.2s ease;
}

.voteFor {
  background: var(--accent);
}

.voteAgainst {
  background: #c5534d;
}

.voteAbstain {
  background: #9aa7a0;
}

.voteConsole {
  display: grid;
  gap: 12px;
}

.button.compact {
  min-height: 30px;
  padding: 6px 10px;
}

.kv {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.progress div {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.codeBlock {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #17201c;
  color: #ecfdf5;
  padding: 16px;
  line-height: 1.6;
}

.votePanel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.docText h3 {
  margin: 18px 0 8px;
}

.docText h3:first-child {
  margin-top: 0;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }

  .brand,
  .topActions {
    min-width: 0;
  }

  .mainNav {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
  }

  .navMenu {
    left: 0;
    transform: translate(0, -4px);
  }

  .navGroup:hover .navMenu,
  .navGroup:focus-within .navMenu {
    transform: translate(0, 0);
  }

  .contentGrid,
  .pageHero {
    grid-template-columns: 1fr;
  }

  .statGrid,
  .projectGrid,
  .featureGrid,
  .appSuitePreview,
  .appLauncherGrid,
  .appShellLayout,
  .reviewerGrid,
  .rewardPayoutGrid,
  .portfolioGrid,
  .portfolioMetrics,
  .portfolioHeader,
  .web3Summary,
  .workflow,
  .workflow.workflowFive,
  .detailGrid,
  .verificationCard .detailGrid,
  .exchangeTerminal,
  .exchangeGrid,
  .messageBoard,
  .activityItem,
  .exchangeGrid.lower {
    grid-template-columns: 1fr;
  }

  .activityItem {
    display: grid;
  }

  .downloadPanel {
    display: grid;
  }

  .messageBubble {
    max-width: 100%;
  }

  .rewardTimeline .rewardEvent {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .chartToolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .marketHistory {
    justify-content: flex-start;
  }

  .footerInner,
  .footerNav {
    grid-template-columns: 1fr;
  }

  .pwaUpdateToast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
  }
}


/* Desktop app shell refinements */
html[data-osn-runtime="desktop"] a[href$="download.html"],
html[data-osn-runtime="desktop"] a[href*="download.html?"],
html[data-osn-runtime="desktop"] a[href*="download.html#"] {
  display: none !important;
}

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

.appShellContentGrid .mainStack > .card {
  padding: 22px;
}

.appShellContentGrid .appShellLayout {
  grid-template-columns: minmax(620px, 1fr) minmax(320px, 360px);
  gap: 20px;
}

.appShellContentGrid .appTaskCenter {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
  padding: 16px;
}

.appShellContentGrid .appLauncherGrid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: stretch;
}

.appShellContentGrid .appTile {
  min-height: 190px;
  overflow: hidden;
}

.appShellContentGrid .appTile > .button {
  width: 100%;
  min-width: 0;
}

.appShellContentGrid .appTileHeader {
  min-width: 0;
}

.appShellContentGrid .appTileHeader h3 {
  overflow-wrap: anywhere;
}

.appShellContentGrid .appTileHeader .pill {
  flex: 0 0 auto;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appShellContentGrid .appTile p {
  overflow-wrap: anywhere;
}

@media (min-width: 1280px) {
  .appShellContentGrid .appLauncherGrid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

.appShellPage .appShell {
  padding-top: 22px;
}

.appShellPage .pageHero {
  min-height: 126px;
  padding: 12px 0 20px;
  align-items: center;
}

.appShellPage .pageHero h1 {
  max-width: 720px;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1;
}

.appShellPage .pageHero p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.55;
}

.appShellPage .heroActions {
  justify-content: flex-end;
}

.appShellPage .cardHead {
  margin-bottom: 14px;
}

.appShellPage .platformWelcome {
  margin-bottom: 18px;
  padding: 16px;
}

.appShellPage .appTile {
  gap: 10px;
  padding: 16px;
}

.appShellPage .appTileHeader h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.appShellPage .appTile p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.appShellPage .appIcon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

@media (max-width: 1120px) {
  .appShellContentGrid .appShellLayout {
    grid-template-columns: minmax(0, 1fr);
  }

  .appShellContentGrid .appTaskCenter {
    min-height: auto;
  }
}

/* Three-phase company strategy */
.strategyHero {
  border-bottom: 1px solid var(--line);
}

.strategyHero h1 {
  max-width: 800px;
}

.sectionEyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.strategyRoadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.phaseCard {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 250px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.phaseCard:last-child {
  border-right: 0;
}

.phaseCard.current {
  box-shadow: inset 0 4px 0 var(--accent);
  background: #f7fbf9;
}

.phaseNumber {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.phaseCard strong,
.phaseCard small {
  display: block;
}

.phaseCard strong {
  font-size: 1rem;
}

.phaseCard small,
.phaseCard p {
  color: var(--muted);
}

.phaseCard p {
  margin: 0;
  line-height: 1.55;
}

.phaseState {
  align-self: end;
  width: max-content;
  padding: 5px 8px;
  border: 1px solid #b9dccf;
  border-radius: 5px;
  color: #0c6f5a;
  background: #eef8f4;
  font-size: 0.72rem;
  font-weight: 800;
}

.phaseState.planned {
  border-color: #c7d5f4;
  color: #234a9a;
  background: #f1f5fd;
}

.phaseState.future {
  border-color: #d8dadd;
  color: #5f6469;
  background: #f5f6f7;
}

.boundaryNotice {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: center;
  border-left: 4px solid var(--accent-2);
}

.boundaryNotice h2,
.boundaryNotice p {
  margin: 0;
}

.boundaryNotice > p {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 820px) {
  .strategyRoadmap,
  .boundaryNotice {
    grid-template-columns: 1fr;
  }

  .phaseCard {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .phaseCard:last-child {
    border-bottom: 0;
  }
}

/* Phase 1 funding-pipeline landing page */
.strategyLanding {
  background: #f4f6f3;
}

.strategyLandingShell {
  width: 100%;
  margin: 0;
  padding: 0;
}

.pipelineHero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #102921;
  color: #fff;
}

.pipelineHeroVideo,
.pipelineHeroShade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pipelineHeroVideo {
  object-fit: cover;
  object-position: center;
  opacity: 0.48;
}

.pipelineHeroShade {
  background: rgba(8, 31, 24, 0.7);
}

.pipelineHeroInner,
.pipelineBandInner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.pipelineHeroInner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 680px;
  padding: 92px 0 0;
  flex-direction: column;
  justify-content: flex-end;
}

.pipelineEyebrow,
.pipelineLabel {
  margin: 0 0 10px;
  color: #0f8b6f;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.pipelineEyebrow {
  color: #8fe1c8;
}

.pipelineHero h1 {
  max-width: 960px;
  margin: 0;
  font-size: 4.75rem;
  line-height: 0.99;
}

.pipelineHeroLead {
  max-width: 780px;
  margin: 22px 0 0;
  color: #d9e6e1;
  font-size: 1.14rem;
  line-height: 1.65;
}

.pipelineHeroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pipelineHeroActions .button {
  min-height: 46px;
  padding: 0 17px;
}

.pipelineHeroActions .heroSecondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(8, 31, 24, 0.44);
  color: #fff;
}

.pipelineHeroActions .heroSecondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.pipelineHeroFacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.pipelineHeroFacts > div {
  display: grid;
  gap: 6px;
  min-height: 122px;
  padding: 22px 22px 22px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.pipelineHeroFacts > div + div {
  padding-left: 22px;
}

.pipelineHeroFacts > div:last-child {
  border-right: 0;
}

.pipelineHeroFacts strong {
  font-size: 0.92rem;
}

.pipelineHeroFacts span {
  color: #c8d8d2;
  font-size: 0.82rem;
  line-height: 1.45;
}

.pipelineBand {
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.pipelineIntro,
.pipelinePhases {
  background: #fff;
}

.pipelineSectionHead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 42px;
}

.pipelineSectionHead.compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.pipelineSectionHead h2,
.suiteCopy h2,
.pipelineBoundary h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.12;
}

.pipelineSectionHead > p,
.suiteCopy > p:not(.pipelineLabel),
.pipelineBoundary p,
.liveNetworkStats > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pipelineSteps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--strong-line);
  border-bottom: 1px solid var(--strong-line);
}

.pipelineSteps article {
  min-height: 246px;
  padding: 26px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.pipelineSteps article + article {
  padding-left: 24px;
}

.pipelineSteps article:last-child {
  border-right: 0;
}

.pipelineSteps span,
.phaseTimeline > article > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
}

.pipelineSteps h3,
.phaseTimeline h3 {
  margin: 48px 0 10px;
  font-size: 1.05rem;
}

.pipelineSteps p,
.phaseTimeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.58;
}

.pipelineSuite {
  background: #eef2ef;
}

.suiteLayout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
  gap: 86px;
  align-items: start;
}

.suiteCopy {
  position: sticky;
  top: 110px;
}

.suiteCopy > p:not(.pipelineLabel) {
  margin-top: 20px;
}

.pipelineTextLink {
  display: inline-block;
  margin-top: 20px;
  color: #0b755e;
  font-weight: 800;
}

.pipelineTextLink:hover {
  text-decoration: underline;
}

.suiteRows {
  border-top: 1px solid var(--strong-line);
}

.suiteRows > a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  min-height: 126px;
  padding: 20px 0;
  border-bottom: 1px solid var(--strong-line);
  transition: background 150ms ease, padding 150ms ease;
}

.suiteRows > a:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: #fff;
}

.suiteCode {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #aebdb6;
  border-radius: 7px;
  background: #fff;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
}

.suiteRows strong {
  font-size: 1rem;
}

.suiteRows p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.suiteRows > a > span:last-child {
  color: var(--accent-2);
  font-size: 1.25rem;
}

.currentPhaseBadge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #a5d2c5;
  border-radius: 6px;
  background: #e7f6f1;
  color: #0b755e;
  font-size: 0.78rem;
  font-weight: 800;
}

.phaseTimeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--strong-line);
  border-bottom: 1px solid var(--strong-line);
}

.phaseTimeline article {
  display: flex;
  min-height: 300px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  flex-direction: column;
}

.phaseTimeline article:first-child {
  padding-left: 0;
}

.phaseTimeline article:last-child {
  border-right: 0;
}

.phaseTimeline article.is-current {
  box-shadow: inset 0 4px 0 var(--accent);
}

.phaseTimeline h3 {
  margin-bottom: 4px;
}

.phaseTimeline small {
  color: var(--muted);
  font-size: 0.76rem;
}

.phaseTimeline p {
  margin-top: 24px;
}

.phaseTimeline article > strong {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.78rem;
}

.liveNetwork {
  background: #f4f6f3;
}

.liveNetworkGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
  align-items: start;
}

.liveNetworkMain,
.liveNetworkStats {
  min-width: 0;
}

.liveNetwork .pipelineSectionHead {
  margin-bottom: 28px;
}

.liveNetworkStats {
  padding-left: 28px;
  border-left: 1px solid var(--strong-line);
}

.liveNetworkStats > p:last-child {
  margin-top: 20px;
  font-size: 0.88rem;
}

.pipelineBoundary {
  padding: 68px 0;
  background: #15241e;
  color: #fff;
}

.pipelineBoundary .pipelineBandInner {
  padding-left: 24px;
  border-left: 4px solid #65cfaf;
}

.pipelineBoundary .pipelineLabel {
  color: #8fe1c8;
}

.pipelineBoundary .pipelineBandInner > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: end;
}

.pipelineBoundary p {
  color: #c7d6d0;
}

@media (max-width: 980px) {
  .pipelineHero h1 {
    font-size: 3.75rem;
  }

  .pipelineHeroFacts,
  .pipelineSteps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pipelineHeroFacts > div:nth-child(2),
  .pipelineSteps article:nth-child(2) {
    border-right: 0;
  }

  .pipelineHeroFacts > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .pipelineSteps article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .suiteLayout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .suiteCopy {
    position: static;
  }

  .liveNetworkGrid {
    grid-template-columns: 1fr;
  }

  .liveNetworkStats {
    padding: 24px 0 0;
    border-top: 1px solid var(--strong-line);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .pipelineHero,
  .pipelineHeroInner {
    min-height: 760px;
  }

  .pipelineHeroInner {
    padding-top: 72px;
  }

  .pipelineHero h1 {
    font-size: 2.8rem;
  }

  .pipelineHeroLead {
    font-size: 1rem;
  }

  .pipelineHeroFacts {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .pipelineHeroFacts > div,
  .pipelineHeroFacts > div + div {
    min-height: auto;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 0;
  }

  .pipelineBand {
    padding: 58px 0;
  }

  .pipelineSectionHead,
  .pipelineSectionHead.compact,
  .pipelineBoundary .pipelineBandInner > div {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .pipelineSectionHead h2,
  .suiteCopy h2,
  .pipelineBoundary h2 {
    font-size: 1.9rem;
  }

  .pipelineSteps,
  .phaseTimeline {
    grid-template-columns: 1fr;
  }

  .pipelineSteps article,
  .pipelineSteps article + article,
  .phaseTimeline article,
  .phaseTimeline article:first-child {
    min-height: auto;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .pipelineSteps article:first-child,
  .phaseTimeline article:first-child {
    border-top: 0;
  }

  .pipelineSteps h3 {
    margin-top: 24px;
  }

  .phaseTimeline article > strong {
    margin-top: 22px;
  }

  .suiteRows > a {
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .pipelineHeroInner,
  .pipelineBandInner {
    width: min(100% - 30px, var(--max));
  }

  .pipelineHero h1 {
    font-size: 2.35rem;
  }

  .pipelineHeroActions .button {
    width: 100%;
  }
}
