:root {
  color-scheme: light;
  --page: #f6f7f8;
  --paper: #fff;
  --ink: #1b2226;
  --muted: #667177;
  --line: #dfe4e6;
  --green: #08764f;
  --green-bright: #08764f;
  --amber: #90610e;
  --red: #b32c40;
  --body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: var(--body);
  font-size: 16px;
  letter-spacing: 0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  line-height: 1.5;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--green);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition:
    background 140ms,
    border-color 140ms;
  white-space: nowrap;
}
button:hover {
  background: #edf1ef;
  border-color: #a6b9af;
}
button.primary {
  background: #b7f77b;
  color: #17291a;
  border-color: #b7f77b;
}
button.primary:hover {
  background: #a4e768;
  border-color: #a4e768;
}
:focus-visible {
  outline: 3px solid #178f68;
  outline-offset: 4px;
}
input {
  min-width: 0;
  min-height: 44px;
  width: 100%;
  border: 1px solid #bac4c8;
  border-radius: 5px;
  background: #fff;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
}
input::placeholder {
  color: #7b858b;
}
.shell {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.topbar {
  background: #191e21;
  color: #f7f9f8;
  border-bottom: 1px solid #30383b;
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}
.brand img {
  display: block;
}
.topbar .brand:hover {
  color: white;
}
.primary-nav {
  align-self: stretch;
  display: flex;
  gap: 28px;
  align-items: stretch;
}
.primary-nav a {
  display: flex;
  align-items: center;
  color: #aab4b8;
  border-bottom: 2px solid transparent;
  font-size: 14px;
}
.primary-nav a:hover,
.primary-nav a[aria-current] {
  color: #fff;
}
.primary-nav a[aria-current] {
  border-color: #b7f77b;
}
.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}
.network-button {
  background: transparent;
  color: #d6dddf;
  border-color: #424a4e;
  font-weight: 400;
  padding: 0 11px;
}
.network-button:hover {
  color: white;
  background: #30383b;
}
.network-symbol {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: #b7f77b;
  color: #17291a;
  border-radius: 50%;
}
.page-view {
  padding-top: 38px;
  animation: enter 160ms ease-out;
}
@keyframes enter {
  from {
    opacity: 0.5;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  display: block;
  margin-bottom: 8px;
}
h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}
.page-heading p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 7px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  background: #f8faf9;
  white-space: nowrap;
}
.pill.warn {
  background: #fff8e7;
  color: #805a16;
  border-color: #eaddb8;
}
.pill.good {
  background: #e9f5ee;
  color: #08764f;
  border-color: #c5e4d3;
}
.pill.bad {
  background: #fff0f2;
  color: var(--red);
  border-color: #eed2d7;
}
.icon-button {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 23px;
  font-weight: 400;
  flex-shrink: 0;
}
.launch-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #edf2ef;
  border-left: 3px solid #97b29d;
  padding: 13px 17px;
  font-size: 14px;
}
.notice-mark {
  display: grid;
  place-items: center;
  border: 1px solid #81928a;
  color: #51645a;
  font-family: Georgia, serif;
  font-size: 13px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  flex-shrink: 0;
}
.launch-notice p {
  color: #5f6c64;
}
.launch-notice strong {
  color: #334d3d;
  font-weight: 600;
}
.launch-notice a {
  margin-left: auto;
  flex-shrink: 0;
  color: #244e38;
  font-weight: 600;
  font-size: 13px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.metric {
  padding: 0 25px;
  min-width: 0;
}
.metric:first-child {
  padding-left: 0;
}
.metric + .metric {
  border-left: 1px solid var(--line);
}
.metric small {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.metric strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.metric > span {
  color: #7b858b;
  font-size: 12px;
  display: block;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 36px;
  margin-top: 30px;
}
.portfolio {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.portfolio > .panel-heading {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.position-main {
  padding: 29px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.token-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.token-identity strong {
  font-size: 17px;
  font-weight: 600;
}
.token-identity small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.position-balance {
  text-align: right;
  min-width: 0;
}
.position-balance small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.position-balance strong {
  display: block;
  font-size: 21px;
  font-weight: 500;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.position-info {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin: 0 24px;
  padding: 24px 0;
  border-top: 1px solid #e9ecee;
}
.position-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 8px;
  max-width: 480px;
}
.position-icon {
  color: #789989;
  font-weight: 700;
  border-left: 3px solid #b7f77b;
  padding: 4px 10px;
  font-size: 13px;
  flex-shrink: 0;
}
.position-footer {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #fafbfb;
  border-top: 1px solid var(--line);
  padding: 15px 22px;
  font-size: 12px;
  color: var(--muted);
}
.position-footer a {
  color: var(--green);
  font-weight: 600;
}
.details-panel {
  padding: 12px 0 0;
}
.tiny-label {
  font-size: 12px;
  color: var(--muted);
}
.detail-list {
  margin: 16px 0 0;
}
.detail-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
  overflow-wrap: anywhere;
  min-width: 0;
}
.detail-list a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 16px;
}
.cycle-section {
  margin-top: 38px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading a,
.text-link {
  font-size: 14px;
  color: var(--green);
}
.section-heading .eyebrow {
  margin-bottom: 5px;
}
.cycle {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cycle li {
  padding: 22px 26px;
  position: relative;
}
.cycle li:first-child {
  padding-left: 0;
}
.cycle li + li {
  border-left: 1px solid var(--line);
}
.step-number {
  color: var(--green);
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
}
.cycle p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 235px;
  line-height: 1.6;
}
.overview-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}
.overview-footnote span + span {
  padding-left: 26px;
  border-left: 1px solid #cfd7d3;
}
.protocol-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 24px 0 36px;
  border-bottom: 1px solid var(--line);
}
.protocol-intro h2 {
  font-size: 28px;
  max-width: 370px;
}
.protocol-intro p {
  color: var(--muted);
  line-height: 1.75;
  margin: 18px 0 22px;
  max-width: 540px;
}
.protocol-intro img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
}
.protocol-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  margin-top: 38px;
}
.flow-lane {
  list-style: none;
  padding: 0;
  margin: 0;
}
.flow-lane li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 19px 0;
}
.flow-lane li > span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  padding-top: 3px;
}
.flow-lane p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.7;
}
.formula {
  background: #e9f0eb;
  border-left: 3px solid #799c85;
  padding: 24px;
}
.formula > span {
  color: #53705d;
  font-size: 13px;
}
.formula strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  margin: 14px 0;
}
.formula strong span {
  color: #8fa696;
}
.body-copy {
  font-size: 16px;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.75;
}
.security-section {
  padding-top: 34px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.security-grid h3 {
  margin-top: 12px;
}
.security-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 8px;
}
.contracts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.readiness-block {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 26px;
}
.readiness-block strong {
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}
.readiness-block > span {
  font-size: 13px;
  color: var(--muted);
}
.progress {
  height: 5px;
  background: #e0e7e2;
  margin-top: 20px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
  transition: width 200ms;
}
.readiness-copy {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.65;
}
.checker {
  border-left: 1px solid var(--line);
  padding-left: 48px;
  min-width: 0;
}
.checker > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.checker label {
  display: block;
  font-size: 14px;
  margin: 24px 0 8px;
}
.checker-row {
  display: flex;
  gap: 8px;
}
.probe-result {
  min-height: 95px;
  background: #edf0f2;
  padding: 16px;
  font-size: 13px;
  font-family: var(--mono);
  color: var(--muted);
  margin-top: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
}
.wiring-panel {
  margin-top: 38px;
}
.address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
}
.address-box {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  min-width: 0;
}
.address-box small {
  font-size: 14px;
}
.address-box span,
.address-box a {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--muted);
  overflow-wrap: anywhere;
  text-align: right;
}
.address-box a {
  color: var(--green);
}
.check-row {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.dot {
  width: 7px;
  height: 7px;
  border: 1px solid #a5afb3;
  border-radius: 50%;
}
.dot.good {
  background: var(--green);
  border-color: var(--green);
}
.check-row b {
  font-size: 14px;
  font-weight: 500;
}
.check-row small {
  font-size: 12px;
  color: var(--muted);
  margin-left: 9px;
}
.status {
  color: var(--muted);
  font-size: 13px;
  min-height: 20px;
  margin: 28px 0 0;
  overflow-wrap: anywhere;
}
.loading-copy {
  color: var(--muted);
  font-size: 14px;
}
footer {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}
.footer-brand {
  color: var(--ink);
  font-size: 17px;
  gap: 8px;
}
footer > a:last-child {
  margin-left: auto;
}
.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.wallet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(15, 24, 20, 0.6);
  backdrop-filter: blur(4px);
}
.wallet-backdrop:hover {
  background: rgba(15, 24, 20, 0.6);
}
.wallet-panel {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px #12271a30;
}
.wallet-panel header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.wallet-panel h2 {
  font-size: 21px;
}
.wallet-panel p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
.wallet-options {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.wallet-options:empty {
  display: none;
}
.wallet-option {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  min-height: 68px;
  padding: 12px;
  text-align: left;
  white-space: normal;
}
.wallet-option strong {
  font-size: 15px;
  display: block;
}
.wallet-option small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.wallet-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #edf3ee;
  border-radius: 6px;
}
.wallet-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.wallet-empty {
  padding: 24px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}
@media (min-width: 1500px) {
  .shell {
    width: min(1320px, calc(100% - 120px));
  }
  .page-view {
    padding-top: 44px;
  }
  .metrics {
    padding-block: 36px;
  }
  .overview-grid {
    margin-top: 36px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 28px;
  }
  .primary-nav {
    gap: 20px;
  }
  .network-button #network {
    display: none;
  }
  .overview-grid {
    gap: 26px;
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr);
  }
  .metric {
    padding-inline: 18px;
  }
  .metric strong {
    font-size: 20px;
  }
  .contracts-grid {
    gap: 28px;
  }
  .checker {
    padding-left: 28px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 112px;
    padding-top: 16px;
    column-gap: 16px;
    row-gap: 8px;
  }
  .primary-nav {
    order: 3;
    width: 100%;
    height: 42px;
    gap: 28px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .nav-actions {
    gap: 8px;
  }
  .page-view {
    padding-top: 28px;
  }
  .launch-notice {
    flex-wrap: wrap;
  }
  .launch-notice p {
    flex: 1;
    flex-basis: calc(100% - 29px);
  }
  .launch-notice a {
    margin-left: 29px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }
  .metric:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .details-panel {
    padding-top: 8px;
  }
  .cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cycle li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .cycle li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .protocol-intro {
    gap: 28px;
  }
  .protocol-intro h2 {
    font-size: 24px;
  }
  .protocol-columns {
    gap: 30px;
  }
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contracts-grid {
    grid-template-columns: 1fr;
  }
  .checker {
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  footer {
    flex-wrap: wrap;
    gap: 16px;
  }
  footer > span {
    margin-left: auto;
  }
  footer > a:last-child {
    margin-left: 0;
  }
}
@media (max-width: 540px) {
  .shell {
    width: calc(100% - 32px);
  }
  .header-inner {
    column-gap: 8px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .primary {
    padding-inline: 10px;
    font-size: 12px;
    min-height: 36px;
  }
  .network-button {
    width: 34px;
    min-height: 36px;
    padding: 0;
  }
  .brand {
    font-size: 19px;
    gap: 7px;
  }
  .brand-logo {
    width: 30px;
    height: 30px;
  }
  h1 {
    font-size: 28px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .page-heading > .pill {
    white-space: normal;
    text-align: center;
  }
  .heading-actions {
    gap: 7px;
    padding-top: 22px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .launch-notice {
    padding: 12px;
    gap: 10px;
  }
  .launch-notice p {
    font-size: 13px;
  }
  .launch-notice a {
    margin-left: 27px;
  }
  .metrics {
    padding-block: 25px;
  }
  .metric {
    padding-inline: 14px;
  }
  .metric small {
    font-size: 13px;
  }
  .metric strong {
    font-size: 18px;
  }
  .metric > span {
    font-size: 12px;
  }
  .portfolio > .panel-heading {
    padding: 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .position-main {
    padding: 22px 16px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .position-balance {
    flex: 1;
  }
  .position-balance strong {
    font-size: 18px;
  }
  .token-identity img {
    width: 38px;
    height: 38px;
  }
  .token-identity {
    gap: 9px;
  }
  .token-identity strong {
    font-size: 15px;
  }
  .position-info {
    margin-inline: 16px;
    gap: 12px;
  }
  .position-icon {
    display: none;
  }
  .position-footer {
    padding: 14px 16px;
    gap: 8px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .cycle li {
    padding: 18px;
  }
  .overview-footnote {
    gap: 10px 18px;
  }
  .overview-footnote span + span {
    padding: 0;
    border: 0;
  }
  .protocol-intro,
  .protocol-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .protocol-intro {
    padding-top: 0;
  }
  .protocol-intro img {
    max-height: 220px;
  }
  .protocol-columns {
    gap: 34px;
  }
  .security-grid {
    gap: 24px 18px;
  }
  .security-grid h3 {
    font-size: 15px;
  }
  .security-grid p {
    font-size: 13px;
  }
  .address-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .readiness-block {
    flex-wrap: wrap;
    gap: 8px;
  }
  .check-row small {
    display: block;
    margin-left: 0;
  }
  footer > span {
    margin: 0;
    width: 100%;
  }
  .wallet-panel header {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Holder workspace */
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 200;
  background: #fff;
  color: #17291a;
  padding: 12px 18px;
  border: 2px solid #08764f;
  border-radius: 4px;
}
.skip-link:focus {
  top: 12px;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
}
.page-view,
#eligibility,
#security,
#economics,
#readiness,
#token-check {
  scroll-margin-top: 110px;
}
.page-heading h1:focus {
  outline: none;
}
.data-freshness {
  font-size: 12px;
  color: var(--muted);
}
.page-heading p {
  max-width: 640px;
  line-height: 1.65;
}
.holder-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 32px;
  margin: 28px 0 38px;
  align-items: stretch;
}
.portfolio {
  display: flex;
  flex-direction: column;
  background: #202b26;
  color: #fff;
  border: 1px solid #2c4033;
  border-radius: 6px;
}
.portfolio > .panel-heading {
  padding: 22px 26px;
  border-bottom-color: #3e4a43;
  min-height: 83px;
}
.portfolio .token-identity small {
  color: #b1c4b7;
}
.portfolio .pill {
  background: #29392f;
  color: #d0ddd3;
  border-color: #516354;
  font-size: 12px;
}
.portfolio .pill.good {
  color: #bcf485;
  border-color: #58764a;
}
.portfolio .pill.warn {
  color: #f5d392;
  border-color: #7a704e;
}
.position-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 26px;
  min-height: 123px;
}
.position-values > div + div {
  border-left: 1px solid #445047;
  padding-left: 24px;
}
.position-values span {
  color: #c3d0c7;
  font-size: 13px;
}
.position-values strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
  margin-top: 9px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.holder-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 24px 26px 28px;
  margin-top: auto;
}
.holder-action h3 {
  color: #f1f5f1;
  font-size: 16px;
}
.holder-action p {
  margin-top: 8px;
  font-size: 14px;
  color: #c3d0c7;
  line-height: 1.7;
  max-width: 410px;
}
.holder-action button {
  flex-shrink: 0;
  min-height: 44px;
}
.portfolio .position-footer {
  padding: 15px 26px;
  border-top-color: #445047;
  background: #253329;
  color: #c3d0c7;
  gap: 10px;
}
.portfolio .position-footer a {
  color: #c5f296;
  font-weight: 400;
}
.epoch-panel {
  min-width: 0;
  padding: 2px 0;
}
.epoch-heading {
  margin-top: 22px;
}
.epoch-heading > span {
  font-size: 13px;
  color: var(--muted);
}
.epoch-heading strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  margin: 6px 0 9px;
  overflow-wrap: anywhere;
}
.epoch-heading p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  min-height: 46px;
}
.distribution-meter {
  height: 4px;
  background: #dfe6e1;
  margin-top: 19px;
  overflow: hidden;
}
.distribution-meter > span {
  display: block;
  height: 100%;
  width: 0;
  background: #08764f;
  transition: width 180ms;
}
.epoch-panel .detail-list {
  margin-top: 7px;
}
.epoch-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
}
.treasury-section {
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.treasury-section .section-heading {
  margin-bottom: 6px;
}
.treasury-section .metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 25px 0 28px;
  margin: 0;
}
.treasury-section .metric strong {
  font-size: 23px;
}
.parameter-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 20px;
}
.parameter-strip span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.parameter-strip strong,
.parameter-strip a {
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-top: 6px;
}
.parameter-strip a {
  color: var(--green);
}
.cycle-section {
  margin-top: 40px;
}
.cycle {
  border-top: 0;
}
.cycle li {
  border-top: 2px solid #d3dfd4;
}
.cycle li + li {
  border-left: 0;
}
.step-number {
  font-family: var(--body);
  font-size: 12px;
  color: #52715b;
  margin-bottom: 15px;
}
.cycle h3 {
  font-size: 15px;
}
.holder-facts {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr 1.4fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  margin-top: 16px;
}
.holder-facts h2 {
  font-size: 16px;
  max-width: 100px;
}
.holder-facts h3 {
  font-size: 14px;
}
.holder-facts p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 8px;
}
.eligibility-section {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 38px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 20px;
  justify-content: space-between;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: #77857c;
}
.faq-list details[open] summary::after {
  content: "-";
}
.faq-list details p {
  padding: 0 40px 22px 0;
  max-width: 850px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.address-value {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}
.copy-button {
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
}
.address-box {
  min-height: 60px;
}
input[aria-invalid="true"] {
  border-color: var(--red);
}
.probe-result.is-error,
.wallet-feedback.is-error {
  color: var(--red);
}
.wallet-account {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.wallet-account > span {
  color: var(--muted);
  font-size: 13px;
}
.wallet-account > strong {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  overflow-wrap: anywhere;
  margin: 8px 0 14px;
  line-height: 1.7;
}
.wallet-account > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.wallet-feedback {
  padding: 0 24px 24px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(540px, calc(100% - 32px));
  background: #fff;
  color: #263a2c;
  border: 1px solid #c5d3c9;
  box-shadow: 0 4px 24px #172c1c1a;
  border-radius: 6px;
  padding: 13px 18px;
  margin: 0;
  z-index: 120;
  font-size: 14px;
  min-height: 0;
}
.status:empty {
  display: none;
}
.status.is-error {
  color: var(--red);
  border-color: #e6bbc3;
}
footer {
  margin-top: 30px;
}
@media (max-width: 1100px) {
  .holder-workspace {
    gap: 26px;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .holder-action {
    flex-wrap: wrap;
    gap: 18px;
  }
  .position-values strong {
    font-size: 20px;
  }
  .holder-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .holder-facts h2 {
    grid-column: 1 / -1;
    max-width: none;
  }
}
@media (max-width: 800px) {
  .holder-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .holder-action {
    flex-wrap: nowrap;
  }
  .epoch-panel .detail-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .epoch-panel .detail-list > div {
    display: block;
  }
  .epoch-panel .detail-list dd {
    text-align: left;
    margin-top: 6px;
  }
  .epoch-heading p {
    min-height: 0;
  }
  .treasury-section .metrics .metric:nth-child(3) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
  .treasury-section .metric strong {
    font-size: 19px;
  }
  .parameter-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .data-freshness {
    max-width: 105px;
    text-align: right;
  }
  .holder-facts {
    gap: 22px;
  }
}
@media (max-width: 540px) {
  .page-heading {
    gap: 10px;
  }
  .page-heading p {
    max-width: 260px;
  }
  .heading-actions {
    padding-top: 0;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 9px;
  }
  .holder-workspace {
    margin-top: 22px;
  }
  .portfolio > .panel-heading {
    padding: 18px;
    gap: 8px;
  }
  .position-values {
    padding: 22px 18px;
    gap: 16px;
  }
  .position-values > div + div {
    padding-left: 16px;
  }
  .position-values strong {
    font-size: 19px;
  }
  .position-values span {
    font-size: 12px;
  }
  .holder-action {
    padding: 8px 18px 22px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .holder-action button {
    width: 100%;
  }
  .portfolio .position-footer {
    padding: 14px 18px;
  }
  .epoch-panel .detail-list {
    display: block;
  }
  .epoch-panel .detail-list > div {
    display: flex;
  }
  .epoch-panel .detail-list dd {
    text-align: right;
    margin: 0;
  }
  .treasury-section .metrics {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .treasury-section .metric,
  .treasury-section .metrics .metric:nth-child(3) {
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .treasury-section .metric:last-child {
    border-bottom: 0;
  }
  .treasury-section .metric strong {
    font-size: 22px;
    margin-top: 7px;
  }
  .holder-facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cycle li {
    padding: 18px 14px;
  }
  .cycle li:nth-child(3) {
    border-top: 2px solid #d3dfd4;
  }
  .faq-list details p {
    padding-right: 0;
    font-size: 14px;
  }
  .protocol-intro h2 {
    font-size: 24px;
  }
}
