/* Isolated responsive rules for the learning center. Kept separate so the
   newcomer journey cannot be affected by dense dashboard layout overrides. */
@media (max-width: 980px) {
  .learn-map, .learn-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learn-resource-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learn-resource-controls .search-field { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .learn-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; width: 100% !important; gap: 1rem !important; }
  .learn-grid > .learn-path-panel, .learn-grid > .learn-safety-panel { width: 100% !important; min-width: 0 !important; }
  .learn-map, .learn-steps, .learn-resources { grid-template-columns: minmax(0, 1fr) !important; }
  .learn-resource-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  .learn-resource-controls .search-field { grid-column: 1 / -1; }
  .learn-intro-panel, .learn-path-panel, .learn-safety-panel, .learn-resources-panel { padding: 1rem; }
  .learn-map-card { min-height: 94px; }
  .learn-resource { min-height: 0; }
}

/* Learning stress r1: tablet states and long English resources must never widen the application shell. */
#learn,.learn-grid,.learn-map,.learn-steps,.learn-resources,.learn-resource-controls,.learn-resource{min-width:0;max-width:100%}
.learn-resource-controls>*{min-width:0}.learn-resource-controls input,.learn-resource-controls select{width:100%;min-width:0}
.learn-resource>div:first-child{min-width:0;flex-wrap:wrap}.learn-stage{min-width:0;overflow-wrap:anywhere}.learn-resource h4,.learn-resource p,.learn-resource small,.learn-resource a,.learn-map-card b,.learn-map-card span{overflow-wrap:anywhere;word-break:normal}
@media (max-width:860px){
  .terminal-nav{display:none!important}
  .learn-grid{grid-template-columns:minmax(0,1fr)!important}
  .learn-grid>.learn-path-panel,.learn-grid>.learn-safety-panel{width:100%;min-width:0}
}

/* Learning visual-r2: readable controls and compact instructional rhythm. */
.learn-grid { align-items: start; }
.learn-safety-panel { align-self: start; }
.learn-safety-link { margin-top: .15rem; }
.learn-resource-controls { grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(150px, .72fr)); align-items: end; }
.learn-resource-controls .select-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: .32rem; min-width: 0; }
.learn-resource-controls .select-field > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.learn-resource-controls .select-field select { width: 100%; min-width: 0; }
.learn-resource > div:first-child { flex-direction: column; align-items: flex-start; gap: .35rem; }
.learn-stage { justify-content: flex-start; max-width: 100%; text-align: left; }
@media (max-width: 980px) {
  .learn-resource-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .learn-resource-controls .search-field { grid-column: 1 / -1; }
}

/* Learning typography r3: a consistent reading rhythm, not merely overflow containment. */
#learn + .learn-intro-panel,
.learn-grid > .learn-path-panel,
.learn-grid > .learn-safety-panel,
.learn-resources-panel {
  padding: clamp(1.25rem, 2vw, 2rem);
}
.learn-intro-panel .panel-head,
.learn-grid .panel-head,
.learn-resources-panel .panel-head {
  gap: 1rem;
  margin-bottom: .9rem;
}
.learn-intro-copy {
  max-width: 76ch;
  margin: 1rem 0 1.45rem;
  line-height: 1.78;
}
.learn-map {
  gap: .85rem;
  margin-top: .2rem;
}
.learn-map-card {
  min-height: 8.1rem;
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .55rem;
}
.learn-map-card b { line-height: 1.3; }
.learn-map-card span { line-height: 1.55; }
.learn-map-card i { margin-top: auto; align-self: flex-end; }
.learn-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(20rem, .95fr);
  gap: 1.35rem;
  align-items: start;
}
.learn-grid > .learn-path-panel,
.learn-grid > .learn-safety-panel {
  align-self: start;
  display: flex;
  flex-direction: column;
}
.learn-grid .panel-description {
  margin: .25rem 0 1.15rem;
  line-height: 1.7;
}
.learn-steps {
  gap: .72rem;
  margin-top: .1rem;
}
.learn-steps li {
  min-height: 6.65rem;
  padding: .92rem 1rem;
  align-items: flex-start;
  column-gap: .8rem;
}
.learn-steps li > span {
  flex: 0 0 2.15rem;
  margin-top: .05rem;
}
.learn-steps li b {
  display: block;
  margin: .05rem 0 .38rem;
  line-height: 1.34;
}
.learn-steps li p {
  margin: 0;
  line-height: 1.62;
}
.learn-safety {
  display: grid;
  gap: .68rem;
  margin: .15rem 0 1.15rem;
}
.learn-safety li {
  align-items: flex-start;
  gap: .68rem;
  line-height: 1.58;
}
.learn-safety li i { flex: 0 0 1.55rem; margin-top: .08rem; }
.learn-safety-link {
  margin-top: .25rem;
  padding-top: .95rem;
  border-top: 1px solid rgba(23,63,134,.15);
  line-height: 1.35;
}
.learn-resources-panel .panel-description {
  max-width: 82ch;
  margin: .2rem 0 1.2rem;
  line-height: 1.7;
}
.learn-resource-controls {
  gap: .85rem;
  padding: .9rem;
  margin: .1rem 0 1.2rem;
  border: 1px solid rgba(23,63,134,.14);
  background: rgba(248,250,255,.7);
}
.learn-resource-controls label {
  min-width: 0;
  gap: .42rem;
}
.learn-resource-controls label > span {
  padding-left: .1rem;
  font-size: .73rem;
  letter-spacing: .08em;
  line-height: 1.2;
}
.learn-resource-controls input,
.learn-resource-controls select {
  min-height: 2.65rem;
}
.learn-resources { gap: 1rem; }
.learn-resource {
  min-height: 18.5rem;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}
.learn-resource h4 {
  margin: .75rem 0 .55rem;
  line-height: 1.32;
}
.learn-resource p {
  margin: 0;
  line-height: 1.68;
}
.learn-resource footer {
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(23,63,134,.12);
}
.learn-resource footer small { line-height: 1.45; }
.learn-resource footer a { line-height: 1.25; white-space: normal; }
@media (max-width: 980px) {
  .learn-grid { grid-template-columns: minmax(0, 1fr); }
  .learn-grid > .learn-safety-panel { min-height: auto; }
  .learn-resource { min-height: 0; }
}
@media (max-width: 680px) {
  #learn + .learn-intro-panel,
  .learn-grid > .learn-path-panel,
  .learn-grid > .learn-safety-panel,
  .learn-resources-panel { padding: 1.05rem; }
  .learn-map-card { min-height: 0; padding: 1rem; }
  .learn-grid { gap: 1rem; }
  .learn-steps li { min-height: 0; padding: .9rem; }
  .learn-resource-controls { padding: .8rem; gap: .72rem; }
  .learn-resource { padding: 1rem; }
  .learn-resource footer { align-items: flex-start; flex-direction: column; }
}



/* The #learn anchor is a section-heading sibling, not the learning panels' ancestor. Apply the reading rules to the actual panel contexts. */
.learn-intro-panel .panel-head,
.learn-grid .panel-head,
.learn-resources-panel .panel-head {
  flex-wrap: wrap;
  align-items: flex-start;
}
.learn-intro-panel .panel-head > div,
.learn-grid .panel-head > div,
.learn-resources-panel .panel-head > div { min-width: 0; }
.learn-intro-panel .panel-head .panel-code,
.learn-grid .panel-head .panel-code,
.learn-resources-panel .panel-head .panel-code {
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1.15;
}
.learn-intro-panel .panel-head h3,
.learn-grid .panel-head h3,
.learn-resources-panel .panel-head h3 {
  margin-top: .42rem;
  line-height: 1.18;
  letter-spacing: -.015em;
}
.learn-intro-panel .panel-head > div > span,
.learn-grid .panel-head > div > span,
.learn-resources-panel .panel-head > div > span { line-height: 1.15; }
.learn-intro-panel .panel-head > .panel-code {
  display: inline-flex;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  text-align: right;
}
@media (max-width: 680px) {
  .learn-intro-panel .panel-head,
  .learn-grid .panel-head,
  .learn-resources-panel .panel-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .55rem;
    align-items: start;
  }
  .learn-intro-panel .panel-head .panel-code,
  .learn-grid .panel-head .panel-code,
  .learn-resources-panel .panel-head .panel-code {
    justify-self: start;
    white-space: nowrap;
  }
  .learn-intro-panel .panel-head > .panel-code { justify-self: end; }
}

@media (max-width: 680px) {
  .learn-resource-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .learn-resource-controls .search-field {
    grid-column: 1 / -1 !important;
  }
}

/* Internationalization r1: compact locale control and script-aware typography. */
.language-toggle { display: inline-flex; align-items: center; min-width: 0; }
.language-toggle select { max-width: 8.2rem; min-height: 2rem; padding: .28rem 1.45rem .28rem .58rem; color: #123f88; font: 700 .69rem/1.1 var(--mono); letter-spacing: .02em; border: 1px solid rgba(18,63,136,.24); border-radius: .42rem; background: #f7fbff; }
.language-toggle select:focus-visible { outline: 2px solid #1e63bd; outline-offset: 2px; }
html:lang(ko), html:lang(ja) { font-family: "Noto Sans CJK KR", "Noto Sans CJK JP", "Noto Sans", system-ui, sans-serif; }
html:lang(ar) { font-family: "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
html[dir="rtl"] .topbar, html[dir="rtl"] .panel-head, html[dir="rtl"] .learn-resource > div:first-child, html[dir="rtl"] .learn-resource footer { direction: rtl; }
html[dir="rtl"] .topbar-meta { flex-direction: row-reverse; }
html[dir="rtl"] .language-toggle select { padding: .28rem .58rem .28rem 1.45rem; }
html[dir="rtl"] .learn-steps li > span, html[dir="rtl"] .learn-safety li > i { flex: 0 0 auto; }
html[dir="rtl"] .learn-resource footer a { text-align: left; }
html[dir="rtl"] .numeric, html[dir="rtl"] .monospace, html[dir="rtl"] code, html[dir="rtl"] .panel-code { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 860px) {
  .language-toggle select { max-width: 6.85rem; min-height: 1.9rem; font-size: .64rem; }
}
@media (max-width: 480px) {
  .language-toggle select { max-width: 6rem; padding-inline: .42rem 1.2rem; }
  html[dir="rtl"] .learn-resource footer a { text-align: right; }
}


/* Audited ecosystem: public-source updates and tools are intentionally distinct
   from the live Registry evidence stream. */
.ecosystem-grid { display:grid; grid-template-columns:minmax(0, 1.08fr) minmax(20rem, .92fr); gap:1.25rem; align-items:start; }
.updates-panel,.tools-panel { min-width:0; }
.updates-stream { list-style:none; display:grid; gap:.82rem; margin:1.15rem 0 0; padding:0; }
.update-card { border:1px solid rgba(75,126,212,.22); border-left:3px solid var(--blue,#2e73e8); border-radius:.85rem; background:rgba(8,18,43,.42); padding:1rem 1.05rem; min-width:0; }
.update-card.community { border-left-color:#a47f3d; }
.update-card.reference { border-left-color:#76829d; }
.update-card header,.tool-card > div:first-child,.curated-meta,.update-card footer,.tool-card footer { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; }
.update-card header { justify-content:space-between; color:var(--muted,#91a0bb); font-size:.68rem; letter-spacing:.08em; }
.update-card h4,.tool-card h4 { margin:.72rem 0 .38rem; color:var(--text,#ecf4ff); font-size:1rem; line-height:1.35; overflow-wrap:anywhere; }
.update-card > a { color:inherit; text-decoration:none; }
.update-card > a:hover h4,.tool-card footer a:hover { color:#69a3ff; }
.update-card p,.tool-card > p { margin:0; color:var(--muted,#a7b3ca); font-size:.86rem; line-height:1.65; }
.curated-meta { margin-top:.78rem; color:var(--muted,#91a0bb); font-size:.72rem; line-height:1.4; }
.curated-meta span:not(:last-child)::after { content:'·'; margin-left:.55rem; opacity:.65; }
.update-card footer { justify-content:space-between; margin-top:.85rem; padding-top:.78rem; border-top:1px solid rgba(117,145,196,.16); }
.update-card footer small { flex:1 1 14rem; color:#aebbd0; font-size:.72rem; line-height:1.5; }
.update-card footer small b { display:block; color:#d1dbee; font-size:.65rem; letter-spacing:.08em; margin-bottom:.22rem; text-transform:uppercase; }
.update-card footer a,.tool-card footer a { color:#81b1ff; font-size:.76rem; white-space:nowrap; text-decoration:none; }
.tools-directory { display:grid; gap:.82rem; margin-top:1.15rem; }
.tool-card { border:1px solid rgba(75,126,212,.22); border-radius:.85rem; background:rgba(8,18,43,.42); padding:1rem 1.05rem; min-width:0; }
.tool-card.community { border-color:rgba(164,127,61,.45); }
.tool-card.reference { border-color:rgba(118,130,157,.42); }
.tool-category { color:var(--muted,#91a0bb); font-size:.68rem; letter-spacing:.07em; text-transform:uppercase; overflow-wrap:anywhere; }
.tool-card dl { display:grid; gap:.6rem; margin:.9rem 0 0; }
.tool-card dl > div { display:grid; grid-template-columns:5.7rem minmax(0,1fr); gap:.6rem; align-items:start; }
.tool-card dt { color:#d1dbee; font-size:.68rem; letter-spacing:.05em; text-transform:uppercase; }
.tool-card dd { margin:0; color:#aebbd0; font-size:.75rem; line-height:1.55; overflow-wrap:anywhere; }
.tool-card footer { justify-content:space-between; margin-top:.9rem; padding-top:.78rem; border-top:1px solid rgba(117,145,196,.16); }
.tool-card footer small { color:var(--muted,#91a0bb); font-size:.72rem; }
html[dir="rtl"] .update-card { border-left:1px solid rgba(75,126,212,.22); border-right:3px solid var(--blue,#2e73e8); }
html[dir="rtl"] .update-card.community { border-right-color:#a47f3d; }
html[dir="rtl"] .update-card.reference { border-right-color:#76829d; }
html[dir="rtl"] .curated-meta span:not(:last-child)::after { margin-left:0; margin-right:.55rem; }
html[dir="rtl"] .tool-card dl > div { grid-template-columns:minmax(0,1fr) 5.7rem; }
html[dir="rtl"] .tool-card dt { text-align:left; }
@media (max-width:980px) { .ecosystem-grid { grid-template-columns:1fr; } }
@media (max-width:680px) {
  .update-card,.tool-card { padding:.92rem; }
  .update-card footer,.tool-card footer { align-items:flex-start; flex-direction:column; gap:.62rem; }
  .update-card footer a,.tool-card footer a { white-space:normal; }
  .tool-card dl > div,html[dir="rtl"] .tool-card dl > div { grid-template-columns:1fr; gap:.2rem; }
  html[dir="rtl"] .tool-card dt { text-align:right; }
}


/* Curated ecosystem visual-r2: cards live on a light dashboard, so avoid inherited dark-overlay contrast loss. */
.update-card,.tool-card { background:linear-gradient(145deg,#fbfdff 0%,#eef5ff 100%); border-color:rgba(39,100,190,.28); box-shadow:0 8px 20px rgba(33,76,145,.08); color:#17345f; }
.update-card h4,.tool-card h4 { color:#102f66; }
.update-card p,.tool-card > p { color:#385579; }
.update-card header,.curated-meta,.tool-card footer small { color:#637a9b; }
.update-card footer { border-top-color:rgba(39,100,190,.18); }
.update-card footer small,.tool-card dd { color:#526b8d; }
.update-card footer small b,.tool-card dt { color:#274e87; }
.tool-card footer { border-top-color:rgba(39,100,190,.18); }
.update-card footer a,.tool-card footer a { color:#1d62bd; font-weight:800; }
@media (max-width:680px) { .update-card footer small { flex:0 1 auto; } }

/* Community processor board: a public-source appendix, visually distinct from official Registry data. */
.community-holder-panel {
  margin-top: 1.5rem;
  border-color: rgba(40, 126, 218, 0.34);
  background: linear-gradient(145deg, rgba(10, 36, 74, 0.98), rgba(13, 54, 103, 0.96));
}
.community-holder-panel .panel-head h3,
.community-holder-panel .panel-description,
.community-holder-panel .community-holder-footer { color: #f5f9ff; }
.community-holder-panel .panel-description { max-width: 74ch; color: rgba(229, 241, 255, 0.85); }
.community-holder-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.15rem 0; }
.community-holder-summary span { display: flex; flex-direction: column; gap: .16rem; padding: .85rem 1rem; border: 1px solid rgba(142, 206, 255, .25); border-radius: .7rem; color: rgba(221, 239, 255, .76); font-size: .78rem; line-height: 1.4; background: rgba(2, 18, 42, .34); }
.community-holder-summary b { color: #ffffff; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.community-holder-table { margin-top: .85rem; max-height: 33rem; }
.community-holder-table table { min-width: 720px; }
.community-holder-table th { color: rgba(203, 230, 255, .88); background: rgba(5, 25, 57, .82); }
.community-holder-table td { color: rgba(246, 250, 255, .92); vertical-align: middle; }
.community-holder-table tr:nth-child(2n) td { background: rgba(255, 255, 255, .035); }
.community-holder-table td small { display: block; margin-top: .23rem; color: rgba(204, 228, 251, .68); font-size: .73rem; line-height: 1.35; }
.community-holder-table .processor-link { color: #9bd8ff; font-weight: 700; text-decoration-color: rgba(155, 216, 255, .4); }
.community-holder-footer { display: grid; grid-template-columns: minmax(12rem, .85fr) minmax(0, 2.15fr); gap: 1rem; padding-top: 1rem; color: rgba(214, 234, 255, .74); font-size: .78rem; line-height: 1.55; }
.community-holder-footer small:last-child { padding-inline-start: 1rem; border-inline-start: 2px solid rgba(116, 194, 255, .46); }
html[dir="rtl"] .community-holder-table { direction: rtl; }
html[dir="rtl"] .community-holder-table .mono { direction: ltr; unicode-bidi: plaintext; display: inline-block; }
@media (max-width: 680px) {
  .community-holder-panel { margin-top: 1rem; }
  .community-holder-summary { grid-template-columns: 1fr; gap: .5rem; }
  .community-holder-summary span { min-height: auto; padding: .72rem .8rem; }
  .community-holder-footer { grid-template-columns: 1fr; gap: .65rem; }
  .community-holder-footer small:last-child { padding-inline-start: .75rem; }
  .community-holder-table { margin-inline: -.25rem; }
}

/* Official three-project address observation: holder aggregates, cumulative mint
   addresses and open bids are deliberately rendered as separate observations. */
.official-asset-panel { margin-top: 1.25rem; }
.official-asset-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1.15rem 0; }
.official-asset-projects article { min-width: 0; padding: .95rem 1rem; border: 1px solid rgba(23, 63, 134, .20); border-radius: .75rem; background: #f8fbff; }
.official-asset-projects header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: #123b81; }
.official-asset-projects header b { font-size: .98rem; letter-spacing: .01em; }
.official-asset-projects header a { color: #0f5fc5; text-decoration: none; font-weight: 800; }
.official-asset-projects dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem .9rem; margin: 1rem 0 .85rem; }
.official-asset-projects dl div { min-width: 0; }
.official-asset-projects dt { color: #58677d; font-size: .68rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .05em; }
.official-asset-projects dd { margin: .2rem 0 0; color: #102b59; font-size: .98rem; font-weight: 760; overflow-wrap: anywhere; }
.official-asset-projects article > small,.official-asset-table small,.official-asset-footer small { color: #5a6680; font-size: .72rem; line-height: 1.55; }
.official-asset-table { margin-top: .7rem; }
.official-asset-table table { min-width: 760px; }
.official-asset-table td { vertical-align: top; }
.official-asset-table td > small { display: block; margin-top: .32rem; }
.official-asset-footer { display: grid; grid-template-columns: minmax(12rem, auto) minmax(0, 1fr); gap: .85rem 1.4rem; align-items: start; margin-top: .95rem; padding-top: .85rem; border-top: 1px solid rgba(23, 63, 134, .15); }
.official-asset-footer small:first-child { color: #0c4b9f; font-weight: 720; }
[dir="rtl"] .official-asset-projects header,[dir="rtl"] .official-asset-footer { direction: rtl; }
@media (max-width: 860px) { .official-asset-projects { grid-template-columns: 1fr; gap: .7rem; } }
@media (max-width: 680px) { .official-asset-panel { padding: 1rem; } .official-asset-projects { margin: .9rem 0; } .official-asset-projects article { padding: .85rem; } .official-asset-projects dl { gap: .6rem .75rem; } .official-asset-footer { grid-template-columns: 1fr; gap: .45rem; } .official-asset-table { margin-inline: -.15rem; } }


/* Global typography alignment r1: one readable UI face, one numeric face, and
   script-aware fallbacks. This final layer deliberately supersedes historical
   micro-type declarations scattered across the dashboard. */
:root {
  --font-ui: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --font-numeric: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Noto Sans Mono CJK SC", ui-monospace, monospace;
  --font: var(--font-ui);
  --mono: var(--font-numeric);
  --meta-size: .66rem;
  --meta-leading: 1.38;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, button, input, select, textarea { font-family: var(--font); font-kerning: normal; }
button, input, select, textarea { line-height: 1.3; }

/* Every numerical surface uses stable glyph widths so that a changing value does
   not visually jump sideways inside a KPI, card or table. */
.kpi > b, .numeric, .pulse-card b, .airdrop-cards b, .bem-facts b,
.bem-price-facts b, .bem-task-meta b, .daily-column b, .history-values,
.official-asset-projects dd, .official-asset-table td, .community-holder-summary b,
.community-holder-table td, .updated-label, time, code {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Metadata is quieter but no longer tiny, pale or inconsistently aligned. */
.eyebrow, .panel-head > div > span, .panel-code, .kpi span, .kpi small,
.section-index, .updated-label, .chart-switch, .chart-switch > span,
.pulse-window, .daily-coverage, .history-legend, .history-values,
.airdrop-cards span, .airdrop-meta, .bem-meta, .bem-facts span,
.bem-price-facts span, .bem-task-meta span, .tool-category, .curated-meta,
.update-card header, .update-card footer small b, .tool-card dt,
.official-asset-projects dt, .official-asset-projects article > small,
.official-asset-table small, .official-asset-footer small {
  font-family: var(--mono);
  font-size: var(--meta-size);
  line-height: var(--meta-leading);
  letter-spacing: .045em;
}
.panel-description, .hero-copy, .scope-note, .bem-warning, .bem-boundary,
.update-card p, .tool-card > p, .tool-card dd, .official-asset-footer {
  line-height: 1.68;
}
.panel-head { align-items: baseline; }
.panel-head > div { min-width: 0; }
.panel-head h3 { line-height: 1.26; }
.panel-code { align-self: flex-start; padding-top: .13rem; white-space: nowrap; }

/* Controls share a single height and baseline. Labels describe the field in the
   UI font while machine-like select values remain compact but readable. */
.activity-controls, .mixer-controls, .registry-tools, .bem-task-controls,
.learn-resource-controls { align-items: end; }
.activity-controls label, .mixer-controls label, .chart-switch, .select-field {
  font-family: var(--font);
  line-height: 1.32;
}
.activity-controls label > span, .mixer-controls label > span,
.chart-switch > span, .select-field > span {
  display: block;
  margin-bottom: .32rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--meta-size);
  font-weight: 650;
  letter-spacing: .035em;
  line-height: var(--meta-leading);
}
select, .language-toggle select {
  min-height: 2.28rem;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.25;
}
.search-field input { line-height: 1.35; }

/* Table rows, headers and small secondary lines lock to a predictable rhythm. */
th { font-family: var(--mono); font-size: var(--meta-size); font-weight: 650; line-height: 1.34; letter-spacing: .05em; }
td { line-height: 1.45; }
td > b, .leader b { line-height: 1.35; }
td small, .leader small, .registry-footnote { font-family: var(--mono); font-size: var(--meta-size); line-height: var(--meta-leading); }

/* CJK and Arabic need their native text face, not an English mono fallback. */
html:lang(zh) { --font-ui: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; --font-numeric: "SFMono-Regular", "Noto Sans Mono CJK SC", ui-monospace, monospace; }
html:lang(ja) { --font-ui: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; --font-numeric: "SFMono-Regular", "Noto Sans Mono CJK JP", ui-monospace, monospace; }
html:lang(ko) { --font-ui: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; --font-numeric: "SFMono-Regular", "Noto Sans Mono CJK KR", ui-monospace, monospace; }
html:lang(ar) { --font-ui: "Noto Sans Arabic", "Geeza Pro", Tahoma, Arial, sans-serif; --font-numeric: "SFMono-Regular", "Roboto Mono", ui-monospace, monospace; }
html:lang(zh) .eyebrow, html:lang(zh) .panel-head > div > span,
html:lang(ja) .eyebrow, html:lang(ja) .panel-head > div > span,
html:lang(ko) .eyebrow, html:lang(ko) .panel-head > div > span,
html:lang(ar) .eyebrow, html:lang(ar) .panel-head > div > span {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: .015em;
  text-transform: none;
}
html:lang(zh) h1, html:lang(ja) h1, html:lang(ko) h1 { letter-spacing: -.03em; }
html:lang(ar) h1 { letter-spacing: 0; line-height: 1.16; }
html:lang(ar) .panel-code, html:lang(ar) .updated-label, html:lang(ar) time,
html:lang(ar) .numeric, html:lang(ar) .daily-coverage { direction: ltr; unicode-bidi: isolate; }

/* On 390px, the time stamp has a constrained, vertically centred column instead
   of a stray second line that appears lower than the section title. */
@media (max-width: 560px) {
  .section-heading { align-items: center; gap: .7rem; padding-bottom: .82rem; }
  .section-heading > div { min-width: 0; gap: .58rem; }
  .section-heading h2 { line-height: 1.2; }
  .updated-label { flex: 0 1 7.6rem; max-width: 7.6rem; font-size: .56rem; line-height: 1.35; letter-spacing: .015em; text-align: end; }
  .panel-head { align-items: flex-start; }
  .panel-code { padding-top: .08rem; font-size: .58rem; letter-spacing: .025em; }
  .panel-description { font-size: .79rem; line-height: 1.65; }
  .pulse-card span, .airdrop-cards span, .bem-facts span { line-height: 1.4; }
  .pulse-reading { gap: .65rem; }
  .pulse-reading a { display: inline-flex; align-items: center; justify-content: center; min-height: 2rem; line-height: 1.28; }
  .activity-controls label > span, .mixer-controls label > span, .chart-switch > span { margin-bottom: .28rem; }
  select, .language-toggle select { min-height: 2.18rem; font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Keep mobile snapshot time on one numerical baseline instead of dropping the
   clock into a second, visually detached line. */
@media (max-width: 560px) {
  .section-heading .updated-label {
    flex: 0 0 10.8rem;
    max-width: 10.8rem;
    font-size: .5rem;
    letter-spacing: 0;
    line-height: 1.25;
    white-space: nowrap;
  }
}

/* Ecosystem and official-assets UX r3: explicit breathing room around audited facts.
   This layer is scoped so the wider dashboard retains its established density. */
.ecosystem-grid { gap: clamp(1.25rem, 2vw, 1.7rem); }
.updates-stream, .tools-directory { gap: 1rem; margin-top: 1.3rem; }
.update-card, .tool-card {
  padding: clamp(1.15rem, 1.8vw, 1.55rem);
  border-radius: 1rem;
}
.update-card header, .tool-card > div:first-child { gap: .65rem .75rem; }
.update-card h4, .tool-card h4 {
  margin: .88rem 0 .58rem;
  font-size: clamp(1.01rem, 1.4vw, 1.1rem);
  line-height: 1.42;
}
.update-card p, .tool-card > p { font-size: .9rem; line-height: 1.72; }
.curated-meta {
  margin-top: 1rem;
  gap: .5rem .75rem;
  font-size: .73rem;
  line-height: 1.55;
}
.curated-meta span:not(:last-child)::after { content: none; }
.update-card footer, .tool-card footer {
  align-items: flex-start;
  gap: .8rem 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
}
.update-card footer small { flex: 1 1 16rem; font-size: .76rem; line-height: 1.65; }
.update-card footer small b { margin-bottom: .38rem; font-size: .69rem; line-height: 1.45; }
.update-card footer a, .tool-card footer a { padding: .16rem 0; font-size: .8rem; line-height: 1.45; }
.tool-category { font-size: .7rem; line-height: 1.45; }
.tool-card dl { gap: .8rem; margin: 1.1rem 0 0; }
.tool-card dl > div { gap: .75rem; }
.tool-card dt { font-size: .7rem; line-height: 1.45; }
.tool-card dd { font-size: .79rem; line-height: 1.66; }
.tool-card footer small { font-size: .74rem; line-height: 1.55; }
.tools-toggle:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin-top: 1rem;
  padding: .62rem 1rem;
  border: 1px solid rgba(29, 98, 189, .42);
  border-radius: .78rem;
  background: #f5f9ff;
  color: #174f9e;
  font: 760 .82rem/1.35 var(--font-ui);
  letter-spacing: .015em;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.tools-toggle:hover { background: #e8f2ff; border-color: rgba(29, 98, 189, .7); }
.tools-toggle:focus-visible { outline: 3px solid rgba(48, 121, 229, .32); outline-offset: 3px; }
.tools-toggle:active { transform: translateY(1px); }

.official-asset-panel { margin-top: 1.6rem; padding: clamp(1.15rem, 2.2vw, 1.8rem); }
.official-asset-projects { gap: 1rem; margin: 1.35rem 0 1.45rem; }
.official-asset-projects article {
  padding: clamp(1.12rem, 1.7vw, 1.4rem);
  border-radius: .95rem;
  background: linear-gradient(145deg, #fbfdff 0%, #eff6ff 100%);
  box-shadow: 0 8px 20px rgba(33, 76, 145, .06);
}
.official-asset-projects header { align-items: flex-start; gap: .85rem; }
.official-asset-projects header b { font-size: 1.04rem; line-height: 1.42; }
.official-asset-projects header a { padding: .1rem 0; line-height: 1.45; }
.official-asset-projects dl { gap: .95rem 1rem; margin: 1.15rem 0 1rem; }
.official-asset-projects dt { font-size: .72rem; line-height: 1.48; }
.official-asset-projects dd { margin-top: .38rem; font-size: 1.06rem; line-height: 1.38; }
.official-asset-projects article > small, .official-asset-table small, .official-asset-footer small { font-size: .75rem; line-height: 1.65; }
.official-asset-table {
  margin-top: 1.2rem;
  border: 1px solid rgba(23, 63, 134, .18);
  border-radius: .9rem;
  background: #fbfdff;
}
.official-asset-table th, .official-asset-table td { padding: .86rem 1rem; line-height: 1.52; }
.official-asset-table td > small { margin-top: .42rem; }
.official-asset-footer {
  grid-template-columns: minmax(14rem, .8fr) minmax(0, 1.8fr);
  gap: 1rem 1.5rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
}
.official-asset-footer small:last-child { padding-inline-start: 1rem; border-inline-start: 2px solid rgba(38, 105, 195, .34); }

@media (max-width: 680px) {
  .update-card, .tool-card { padding: 1.08rem; }
  .update-card h4, .tool-card h4 { margin-top: .82rem; }
  .curated-meta { display: flex; align-items: flex-start; gap: .45rem .6rem; }
  .curated-meta span { min-width: 100%; }
  .update-card footer, .tool-card footer { gap: .75rem; margin-top: 1rem; padding-top: .92rem; }
  .update-card footer small { flex: 0 1 auto; }
  .tools-toggle:not([hidden]) { margin-top: .9rem; }
  .official-asset-panel { margin-top: 1.15rem; padding: 1.08rem; }
  .official-asset-projects { gap: .85rem; margin: 1.05rem 0 1.2rem; }
  .official-asset-projects article { padding: 1.05rem; }
  .official-asset-projects dl { gap: .82rem .9rem; margin: 1rem 0 .9rem; }
  .official-asset-projects dd { font-size: 1.02rem; }
  .official-asset-table { margin-top: 1rem; margin-inline: -.08rem; }
  .official-asset-table th, .official-asset-table td { padding: .78rem .88rem; }
  .official-asset-footer { gap: .75rem; margin-top: 1rem; padding-top: 1rem; }
  .official-asset-footer small:last-child { padding-inline-start: .85rem; }
}

html[dir="rtl"] .curated-meta span:not(:last-child)::after { content: none; }
html[dir="rtl"] .tools-toggle { letter-spacing: 0; }
html[dir="rtl"] .official-asset-projects header { direction: rtl; }

/* Official three-project tab workspace · r4 */
.official-asset-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin: 1.35rem 0 1rem;
  padding: .38rem;
  border: 1px solid rgba(31, 86, 166, .2);
  border-radius: 1rem;
  background: linear-gradient(135deg, #f9fcff 0%, #edf5ff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 8px 22px rgba(33,76,145,.045);
}
.official-asset-tab {
  min-width: 0;
  min-height: 3.1rem;
  padding: .62rem .75rem;
  border: 1px solid transparent;
  border-radius: .72rem;
  background: transparent;
  color: #516681;
  font: 760 .84rem/1.25 var(--font-ui);
  letter-spacing: .005em;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.23,1,.32,1), background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.official-asset-tab:hover { color: #174f9e; background: rgba(255,255,255,.76); border-color: rgba(31,86,166,.18); }
.official-asset-tab.is-active {
  border-color: #1c5db6;
  background: linear-gradient(135deg, #1c5db6 0%, #163f84 100%);
  box-shadow: 0 7px 15px rgba(21,70,146,.22), inset 0 1px 0 rgba(255,255,255,.18);
  color: #fff;
}
.official-asset-tab:focus-visible { outline: 3px solid rgba(48,121,229,.34); outline-offset: 3px; }
.official-asset-tab:active { transform: scale(.975); }
.official-asset-projects { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0 0 1.25rem; }
.official-asset-projects article {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  border: 1px solid rgba(28,93,182,.28);
  border-radius: 1rem;
  background: linear-gradient(135deg, #fafdff 0%, #ecf5ff 100%);
  box-shadow: 0 12px 28px rgba(23,74,154,.08);
}
.official-asset-projects article::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #3b8cff, #174f9e); }
.official-asset-projects header { align-items: center; }
.official-asset-projects header b { color: #163f84; font-size: clamp(1.18rem, 2vw, 1.45rem); letter-spacing: -.018em; }
.official-asset-projects header a { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: rgba(255,255,255,.82); color: #1a5cae; text-decoration: none; }
.official-asset-projects dl { grid-template-columns: repeat(4, minmax(0,1fr)); gap: .9rem 1.15rem; margin: 1.3rem 0 1.1rem; }
.official-asset-projects dl > div { min-width: 0; padding: .16rem 0; }
.official-asset-projects dt { color: #60718a; }
.official-asset-projects dd { color: #112f62; font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-variant-numeric: tabular-nums; }
.official-asset-projects article > small { display: block; padding-top: 1rem; border-top: 1px solid rgba(33,85,157,.16); color: #536983; }
.official-asset-table { margin-top: 1.25rem; }
.official-asset-table th:first-child, .official-asset-table td:first-child { width: 4.5rem; }
.official-asset-table th:last-child, .official-asset-table td:last-child { width: 10rem; }
html[dir="rtl"] .official-asset-projects article::before { inset: 0 0 0 auto; }

@media (max-width: 680px) {
  .official-asset-tabs { gap: .32rem; margin: 1.08rem 0 .85rem; padding: .3rem; border-radius: .85rem; }
  .official-asset-tab { min-height: 2.88rem; padding: .48rem .35rem; border-radius: .62rem; font-size: .76rem; }
  .official-asset-projects { margin-bottom: 1rem; }
  .official-asset-projects article { padding: 1.08rem; border-radius: .88rem; }
  .official-asset-projects header b { font-size: 1.15rem; }
  .official-asset-projects dl { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem .85rem; margin: 1.05rem 0 .9rem; }
  .official-asset-projects dd { font-size: 1.08rem; }
  .official-asset-projects article > small { padding-top: .86rem; }
  .official-asset-table th:first-child, .official-asset-table td:first-child { width: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .official-asset-tab { transition: none; }
}


/* Learning-first navigation & official mechanics reading r1 */
.learning-nav-desktop{display:flex;flex:1;justify-content:center;align-items:center;gap:clamp(.55rem,1.05vw,1.05rem);min-width:0}
.learning-nav-desktop a{position:relative;color:#314d79;font-size:clamp(.72rem,.8vw,.8rem);font-weight:700;line-height:1.2;text-decoration:none;white-space:nowrap;transition:color 160ms var(--ease-out,cubic-bezier(.23,1,.32,1))}
.learning-nav-desktop a::after{content:'';position:absolute;right:0;bottom:-.48rem;left:0;height:2px;background:#f0b300;transform:scaleX(0);transform-origin:center;transition:transform 160ms var(--ease-out,cubic-bezier(.23,1,.32,1))}
.learning-nav-desktop a:hover,.learning-nav-desktop a:focus-visible{color:#102a57}.learning-nav-desktop a:hover::after,.learning-nav-desktop a:focus-visible::after{transform:scaleX(1)}
.learning-nav-toggle,.learning-nav-mobile{display:none}.learning-nav-toggle{align-items:center;gap:.42rem;min-height:2.25rem;padding:.5rem .68rem;border:1px solid rgba(16,42,87,.28);border-radius:.55rem;background:#f6f4ef;color:#102a57;font:700 .73rem/1 var(--font-ui,var(--font));cursor:pointer}.learning-nav-toggle>span:first-child{font:1rem/1 var(--mono);color:#173f86}.learning-nav-toggle:focus-visible,.learning-nav-mobile a:focus-visible{outline:3px solid rgba(240,179,0,.42);outline-offset:3px}.learning-nav-toggle:active{transform:scale(.97)}
.mechanics-panel{margin-top:1rem;padding:clamp(1.15rem,2vw,1.65rem);border-color:rgba(16,63,134,.32);background:linear-gradient(135deg,rgba(239,246,255,.88),rgba(246,244,239,.95));scroll-margin-top:1.2rem}.mechanics-intro{max-width:68rem;margin:1rem 0 1.25rem;color:#42536e;font-size:.9rem;line-height:1.72}.mechanics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.mechanics-card{display:flex;flex-direction:column;min-width:0;min-height:14.6rem;padding:1rem;border:1px solid rgba(16,63,134,.2);border-radius:.8rem;background:rgba(255,255,255,.62);box-shadow:0 8px 18px rgba(20,47,94,.055)}.mechanics-card>span{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;margin-bottom:.82rem;border:1px solid rgba(16,63,134,.25);border-radius:.45rem;background:#e7f0fd;color:#173f86;font:700 .68rem/1 var(--mono)}.mechanics-card h4{margin:0;color:#102a57;font-size:.95rem;line-height:1.4}.mechanics-card p{margin:.62rem 0 1rem;color:#51627c;font-size:.8rem;line-height:1.65}.mechanics-card a{margin-top:auto;color:#173f86;font-size:.72rem;font-weight:700;text-decoration:none}.mechanics-card a:hover{text-decoration:underline;text-underline-offset:.2rem}.mechanics-boundary{margin:1.15rem 0 0;padding:.85rem 0 0;border-top:1px solid rgba(16,63,134,.18);color:#56677e;font-size:.78rem;line-height:1.65}
@media (max-width:1160px){.learning-nav-desktop{gap:.62rem}.learning-nav-desktop a{font-size:.69rem}.topbar{gap:.8rem}.sync-pill{max-width:10.5rem;overflow:hidden;white-space:nowrap}}
@media (max-width:860px){.learning-nav-desktop{display:none!important}.learning-nav-toggle{display:inline-flex}.topbar{justify-content:space-between}.topbar-meta{margin-left:auto}.learning-nav-mobile:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.75rem 0 0;padding:.75rem;border:1px solid rgba(16,42,87,.25);border-radius:.8rem;background:#f6f4ef;box-shadow:0 10px 20px rgba(20,47,94,.09)}.learning-nav-mobile a{display:flex;align-items:center;min-height:2.6rem;padding:.62rem .72rem;border:1px solid rgba(16,42,87,.17);border-radius:.55rem;background:#fffdf9;color:#173f86;font-size:.78rem;font-weight:700;line-height:1.35;text-decoration:none}.learning-nav-mobile a:active{transform:scale(.98)}.mechanics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mechanics-card{min-height:13.2rem}}
@media (max-width:540px){.learning-nav-toggle{padding:.47rem .58rem}.learning-nav-toggle>span:last-child{font-size:.69rem}.sync-pill{display:none}.learning-nav-mobile:not([hidden]){grid-template-columns:1fr 1fr}.learning-nav-mobile a{min-height:2.72rem;font-size:.76rem}.mechanics-panel{margin-top:.8rem;padding:1rem}.mechanics-panel .panel-head{gap:.7rem}.mechanics-panel .panel-code{font-size:.62rem}.mechanics-intro{margin:.82rem 0 1rem;font-size:.84rem}.mechanics-grid{grid-template-columns:1fr;gap:.68rem}.mechanics-card{min-height:0;padding:1rem}.mechanics-card p{margin-bottom:.78rem}.mechanics-boundary{font-size:.75rem}}
html[dir="rtl"] .learning-nav-mobile,html[dir="rtl"] .mechanics-panel{direction:rtl}html[dir="rtl"] .learning-nav-toggle{flex-direction:row-reverse}html[dir="rtl"] .mechanics-card a{align-self:flex-start}
@media (prefers-reduced-motion:no-preference){.learning-nav-mobile:not([hidden]){animation:learning-nav-enter 180ms cubic-bezier(.23,1,.32,1) both}@keyframes learning-nav-enter{from{opacity:0;transform:translateY(-.35rem)}to{opacity:1;transform:translateY(0)}}}


/* Address observation lens r5: Ave-inspired information hierarchy, official data only */
.official-asset-panel{background:linear-gradient(145deg,#fafdff 0%,#f3f7fd 100%)}
.official-asset-source-strip{display:flex;align-items:center;justify-content:space-between;gap:.85rem 1.25rem;margin:1.15rem 0 0;padding:.76rem .9rem;border:1px solid rgba(28,93,182,.2);border-radius:.82rem;background:rgba(255,255,255,.72)}.official-asset-source-strip>div{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;min-width:0}.asset-source-chip{display:inline-flex;align-items:center;min-height:1.72rem;padding:.26rem .54rem;border-radius:999px;font:760 .62rem/1 var(--font-ui);letter-spacing:.075em;white-space:nowrap}.asset-source-chip.is-official{border:1px solid rgba(31,104,196,.34);background:#e8f2ff;color:#174f9e}.asset-source-chip.is-standby{border:1px solid rgba(104,122,148,.26);background:#f2f4f7;color:#64748b}.official-asset-contract,.official-asset-scope{min-width:0;color:#536983;font:650 .71rem/1.45 var(--font-ui);overflow-wrap:anywhere}.official-asset-contract a{color:#1a5cae;text-decoration:none}.official-asset-contract a:hover{text-decoration:underline;text-underline-offset:.18rem}.official-asset-projects{margin-top:.9rem}.official-asset-projects header>div{display:grid;gap:.32rem}.official-asset-projects header span{color:#276abf;font:760 .64rem/1.2 var(--font-ui);letter-spacing:.08em}.official-asset-lens,.official-asset-address-section{margin-top:1rem;padding:clamp(1rem,1.8vw,1.35rem);border:1px solid rgba(28,93,182,.19);border-radius:.95rem;background:rgba(255,255,255,.72);box-shadow:0 8px 18px rgba(23,74,154,.045)}.official-asset-subhead{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem;margin-bottom:1rem}.official-asset-subhead>div{min-width:0}.official-asset-subhead>div>span{display:block;margin-bottom:.3rem;color:#296cbc;font:760 .66rem/1.2 var(--font-ui);letter-spacing:.085em}.official-asset-subhead h4{margin:0;color:#163f84;font-size:1rem;line-height:1.35}.official-asset-subhead .panel-code{flex:0 0 auto;color:#5f7089;font-size:.6rem}.official-asset-lens-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.official-asset-lens-grid article{display:flex;flex-direction:column;min-width:0;min-height:9.8rem;padding:.9rem;border:1px solid rgba(31,96,184,.16);border-radius:.75rem;background:linear-gradient(145deg,#fafdff,#eef5ff)}.official-asset-lens-grid article>span{color:#54708f;font:720 .67rem/1.35 var(--font-ui);letter-spacing:.025em}.official-asset-lens-grid article>b{display:block;margin:.48rem 0 .5rem;color:#112f62;font-size:clamp(1.05rem,1.55vw,1.3rem);line-height:1.2;font-variant-numeric:tabular-nums}.official-asset-lens-grid article>small{color:#5b6f88;font-size:.71rem;line-height:1.52}.official-asset-lens-grid article>em{margin-top:auto;padding-top:.65rem;border-top:1px solid rgba(31,96,184,.14);color:#41658e;font:650 .64rem/1.35 var(--font-ui);font-style:normal}.official-asset-address-section>p{max-width:76ch;margin:.05rem 0 1rem;color:#526a85;font-size:.79rem;line-height:1.65}.official-asset-address-section .official-asset-table{margin-top:0;background:#fff}.official-asset-footer{margin-top:1rem}.official-asset-footer small:first-child{display:inline-flex;align-items:center;min-height:1.9rem;padding:.3rem .55rem;border:1px solid rgba(31,104,196,.22);border-radius:.52rem;background:#f2f7ff;color:#315e97}
@media (max-width:980px){.official-asset-lens-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.official-asset-lens-grid article{min-height:8.8rem}}
@media (max-width:680px){.official-asset-source-strip{align-items:flex-start;flex-direction:column;gap:.65rem;margin-top:1rem;padding:.78rem}.official-asset-source-strip>div{align-items:flex-start}.asset-source-chip{font-size:.58rem}.official-asset-projects{margin-top:.78rem}.official-asset-lens,.official-asset-address-section{margin-top:.82rem;padding:1rem;border-radius:.82rem}.official-asset-subhead{gap:.65rem;flex-wrap:wrap;margin-bottom:.82rem}.official-asset-subhead h4{font-size:.94rem}.official-asset-subhead .panel-code{font-size:.56rem}.official-asset-lens-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.58rem}.official-asset-lens-grid article{min-height:0;padding:.8rem}.official-asset-lens-grid article>b{font-size:1.06rem}.official-asset-lens-grid article>small{font-size:.68rem}.official-asset-lens-grid article>em{font-size:.6rem}.official-asset-address-section>p{font-size:.76rem;line-height:1.6}.official-asset-footer small:first-child{align-self:flex-start;font-size:.69rem}}
html[dir="rtl"] .official-asset-source-strip,html[dir="rtl"] .official-asset-subhead,html[dir="rtl"] .official-asset-lens-grid,html[dir="rtl"] .official-asset-address-section{direction:rtl}html[dir="rtl"] .official-asset-projects header span{letter-spacing:0}html[dir="rtl"] .official-asset-lens-grid article>em{direction:rtl}


/* Ecosystem reading rhythm r7: preserve a visible inset between audited columns and their panel borders. */
.updates-panel,
.tools-panel {
  padding-inline: clamp(1.18rem, 2.25vw, 1.9rem);
}
.updates-panel .panel-head,
.tools-panel .panel-head,
.updates-panel .panel-description,
.tools-panel .panel-description,
.updates-panel .updates-stream,
.tools-panel .tools-directory,
.tools-panel .tools-toggle:not([hidden]) {
  margin-inline: clamp(.12rem, .55vw, .48rem);
}
@media (max-width: 680px) {
  .updates-panel,
  .tools-panel { padding-inline: 1.05rem; }
  .updates-panel .panel-head,
  .tools-panel .panel-head,
  .updates-panel .panel-description,
  .tools-panel .panel-description,
  .updates-panel .updates-stream,
  .tools-panel .tools-directory,
  .tools-panel .tools-toggle:not([hidden]) { margin-inline: .06rem; }
}


/* Desktop learning navigation r8: retain compact width while making the six learning routes unmistakably discoverable. */
@media (min-width:861px) {
  .learning-nav-desktop {
    gap: clamp(.32rem, .58vw, .62rem);
    padding: .18rem .28rem;
    border: 1px solid rgba(23, 79, 158, .14);
    border-radius: .72rem;
    background: rgba(247, 250, 255, .74);
  }
  .learning-nav-desktop a {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: .28rem .38rem;
    border-radius: .46rem;
    color: #173f86;
    background: rgba(255, 255, 255, .56);
    box-shadow: inset 0 0 0 1px rgba(23, 79, 158, .07);
  }
  .learning-nav-desktop a::after { bottom: .18rem; height: 2px; }
  .learning-nav-desktop a:hover,
  .learning-nav-desktop a:focus-visible {
    color: #102a57;
    background: #e9f2ff;
    box-shadow: inset 0 0 0 1px rgba(23, 79, 158, .26);
  }
  .learning-nav-desktop a:active { transform: scale(.98); }
}


/* UX loop r9: keep leaderboard provenance and shortened addresses together on narrow screens. */
.leader-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .34rem; min-width: 0; margin-top: .24rem; }
.leader-meta small { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .leader > div:nth-child(2) { min-width: 0; }
  .leader-meta { flex-wrap: nowrap; max-width: 100%; gap: .28rem; }
  .leader-meta .website-label { flex: 0 0 auto; }
  .leader-meta small { flex: 1 1 auto; }
}

/* Transistor trade candles r10 — third-party executed-trade layer, deliberately distinct from official snapshots. */
.transistor-candle-section{margin-top:1.45rem;padding:clamp(1rem,1.8vw,1.45rem);border:1px solid rgba(64,155,220,.5);border-radius:1.1rem;background:linear-gradient(135deg,rgba(7,30,71,.96),rgba(8,47,102,.78));box-shadow:inset 0 1px 0 rgba(152,225,255,.16)}
.transistor-candle-section .official-asset-subhead{margin-bottom:.6rem;align-items:flex-start;gap:1rem}.transistor-candle-section .official-asset-subhead h4{color:#f4fbff;line-height:1.35}.transistor-candle-description{max-width:78ch;margin:.15rem 0 1rem;color:#b9d8ef;line-height:1.68}
.transistor-candle-controls{display:flex;align-items:end;flex-wrap:wrap;gap:.7rem;margin-bottom:1rem}.transistor-candle-assets{display:inline-flex;align-items:center;gap:.35rem;padding:.3rem;border:1px solid rgba(139,211,255,.28);border-radius:.78rem;background:rgba(0,13,39,.38)}
.transistor-candle-asset{min-height:2.2rem;padding:.44rem .78rem;border:1px solid transparent;border-radius:.56rem;background:transparent;color:#b8d5ed;font:700 .74rem/1 var(--mono,ui-monospace,monospace);letter-spacing:.05em;cursor:pointer}.transistor-candle-asset:hover{color:#fff;background:rgba(54,185,255,.13)}.transistor-candle-asset.is-active{border-color:#66d1ff;background:linear-gradient(135deg,#1e9ee7,#0865bb);color:#fff;box-shadow:0 0 0 1px rgba(151,229,255,.2) inset}.transistor-candle-asset:focus-visible,.transistor-candle-controls select:focus-visible{outline:2px solid #b7eaff;outline-offset:2px}
.transistor-candle-controls .select-field{min-width:8rem;color:#b9d8ef}.transistor-candle-controls .select-field span{font-size:.64rem;color:#8bbbe0;letter-spacing:.07em}.transistor-candle-controls select{background:#082954;color:#effaff;border-color:rgba(142,215,255,.36);min-height:2.25rem}
.transistor-candle-chart{min-height:17rem;border:1px solid rgba(142,215,255,.22);border-radius:.85rem;background:radial-gradient(circle at 78% 5%,rgba(48,182,255,.1),transparent 42%),rgba(2,19,51,.5);overflow:hidden}.transistor-candle-chart svg{display:block;width:100%;height:auto;min-height:17rem}.transistor-candle-chart svg .grid{stroke:rgba(151,221,255,.16);stroke-width:1;stroke-dasharray:3 5}.transistor-candle-chart svg text{fill:#8fc0e4;font:11px/1 var(--mono,ui-monospace,monospace)}.transistor-candle-chart svg text.axis-end{text-anchor:end}.transistor-candle-chart svg g.is-up line,.transistor-candle-chart svg g.is-up rect{stroke:#5be1b5;fill:#5be1b5}.transistor-candle-chart svg g.is-down line,.transistor-candle-chart svg g.is-down rect{stroke:#ff9a87;fill:#ff9a87}
.transistor-candle-empty{margin:0;min-height:17rem;display:grid;place-items:center;padding:1.4rem;color:#bed9ee;text-align:center;line-height:1.65}.transistor-candle-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.9rem}#transistor-candle-ohlc{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));flex:1;gap:.5rem}#transistor-candle-ohlc span{min-width:0;padding:.55rem .65rem;border-left:2px solid rgba(99,204,255,.68);background:rgba(5,24,59,.45)}#transistor-candle-ohlc small{display:block;color:#9dc8e8;font-size:.65rem;text-transform:uppercase;letter-spacing:.055em}#transistor-candle-ohlc b{display:block;margin-top:.2rem;color:#f4fbff;font:700 .78rem/1.35 var(--mono,ui-monospace,monospace);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#transistor-candle-status{flex:0 0 auto;max-width:20rem;color:#a9cee9;line-height:1.55;text-align:end}.transistor-candle-boundary{margin:.9rem 0 0;padding-top:.85rem;border-top:1px solid rgba(143,210,249,.2);color:#9bc8e5;font-size:.75rem;line-height:1.65}
html[dir="rtl"] .transistor-candle-boundary,html[dir="rtl"] #transistor-candle-status{text-align:start}
@media (max-width:720px){.transistor-candle-section{padding:1rem;margin-top:1.1rem}.transistor-candle-section .official-asset-subhead{align-items:flex-start}.transistor-candle-section .official-asset-subhead .panel-code{font-size:.63rem}.transistor-candle-controls{align-items:stretch;gap:.55rem}.transistor-candle-assets{width:100%}.transistor-candle-asset{flex:1;min-width:0}.transistor-candle-controls .select-field{flex:1;min-width:0}.transistor-candle-chart,.transistor-candle-chart svg,.transistor-candle-empty{min-height:13.7rem}.transistor-candle-summary{display:block}#transistor-candle-ohlc{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}#transistor-candle-ohlc span:last-child{grid-column:span 2}#transistor-candle-status{display:block;margin-top:.75rem;max-width:none;text-align:start}}

/* i18n-nav-and-chart-legibility r13 (2026-08-27):
   1) Long-locale navigation must never overlap its topbar neighbours. Chinese
      labels fit in one row, but English/German/Spanish strings pushed the
      flex row past its container with overflow:visible, so "API" collided
      with the BNB CHAIN pill and the brand name was clipped. Links may now
      wrap to a second row inside the nav instead; brand and meta never shrink.
   2) The flat-navy theme layer had collapsed the history chart's two series
      (processors vs circuits) into the same #123f88 stroke, leaving the lines
      and their legend keys indistinguishable. Re-split as navy + deep gold —
      the pair passes CVD ΔE 28.1 / normal 31.5 / ≥3:1 contrast validation. */
.topbar{flex-wrap:wrap}
.brand,.topbar-meta{flex-shrink:0}
.terminal-nav{flex:1 1 auto;min-width:0;flex-wrap:wrap;row-gap:0}
.series.cyan{stroke:#1b4d9e}
.series.amber{stroke:#a87c1f}
.line-key.cyan{background:#1b4d9e}
.line-key.amber{background:#a87c1f}
.bar-row em.amber{background:linear-gradient(90deg,#c9992e,#a87c1f)}

/* glossary r1 (2026-08-27): bilingual official-term quick reference. */
.glossary-panel{margin-top:14px;padding:24px}
.glossary-tools{margin:4px 0 0}
.glossary-tools .search-field{max-width:340px}
.glossary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:16px}
.glossary-card{display:flex;flex-direction:column;gap:8px;padding:15px 16px;border:1px solid rgba(24,55,100,.16);background:#fbfaf6}
.glossary-card h4{margin:0;color:#123f88;font-size:14px;letter-spacing:-.02em}
.glossary-card h4 small{display:block;margin-top:3px;color:#8190a2;font:10px var(--mono);letter-spacing:.05em}
.glossary-card p{flex:1;margin:0;color:#5c6d84;font-size:12px;line-height:1.6}
.glossary-card a{color:#123f88;font:10px var(--mono);text-decoration:none}
.glossary-card a:hover{text-decoration:underline;text-underline-offset:3px}
@media (max-width:640px){.glossary-panel{padding:18px}.glossary-grid{grid-template-columns:1fr}}

/* visual-unification r14 (2026-08-27): one design language across every card
   family. Baseline (set by the dominant flat-ivory generation): #fbfaf6 panels,
   zero border-radius, hairline navy borders rgba(25,42,69,.17), navy ink.
   Deviant families brought to baseline:
   a) the transistor-candle block was a dark-navy island (deep gradient bg,
      glowing blue borders, large radii, white ink) — now a light flat panel;
      candle up/down recolored for the light surface (#1a7f5a / #b4552d,
      validated ≥3:1 contrast, normal ΔE 21.2) with hollow-up/solid-down
      bodies as the required secondary encoding for the CVD boundary band;
   b) official-asset tabs and the mechanics/update/tool card families carried
      gradients and 12–17px radii from earlier generations — flattened, with
      the tier left-accent (meaningful signal) preserved;
   c) panel-level gradients (mechanics, official-asset/holders) flattened. */
.transistor-candle-section{border:1px solid rgba(25,42,69,.17);border-radius:0;background:#fbfaf6;box-shadow:none}
.transistor-candle-section .official-asset-subhead h4,.transistor-candle-section h4{color:#102a57}
.transistor-candle-section .official-asset-subhead .panel-code,.transistor-candle-section .panel-code{color:#788193}
.transistor-candle-section p,.transistor-candle-boundary,#transistor-candle-status{color:#5c6d84}
.transistor-candle-boundary{border-top-color:rgba(25,42,69,.17)}
.transistor-candle-assets{border:1px solid rgba(25,42,69,.19);border-radius:0;background:#fffefa;padding:3px}
.transistor-candle-asset{border-radius:0;color:#314d79;background:transparent}
.transistor-candle-asset:hover{color:#102a57;background:rgba(18,63,136,.08)}
.transistor-candle-asset.is-active{border-color:#123f88;background:#123f88;color:#fff;box-shadow:none}
.transistor-candle-asset:focus-visible,.transistor-candle-controls select:focus-visible{outline:2px solid #123f88;outline-offset:2px}
.transistor-candle-controls select{background:#fffefa;color:#102a57;border-color:rgba(25,42,69,.19)}
.transistor-candle-controls .select-field,.transistor-candle-controls .select-field span{color:#52617a}
.transistor-candle-chart{border:1px solid rgba(25,42,69,.17);border-radius:0;background:#fffefa}
.transistor-candle-chart svg .grid{stroke:rgba(25,42,69,.14)}
.transistor-candle-chart svg text{fill:#5c6d84}
.transistor-candle-chart svg g.is-up line{stroke:#1a7f5a}
.transistor-candle-chart svg g.is-up rect{stroke:#1a7f5a;fill:#fffefa}
.transistor-candle-chart svg g.is-down line,.transistor-candle-chart svg g.is-down rect{stroke:#b4552d;fill:#b4552d}
.transistor-candle-empty{color:#5c6d84}
#transistor-candle-ohlc span{border-left:2px solid #123f88;background:#f5f8fd}
#transistor-candle-ohlc small{color:#58657a}
#transistor-candle-ohlc b{color:#102a57}
.official-asset-panel{background:#fbfaf6}
.official-asset-tab{border-radius:0;background:#fffefa;border:1px solid rgba(25,42,69,.19);color:#314d79}
.official-asset-tab:hover{color:#102a57;background:rgba(18,63,136,.08);border-color:rgba(25,42,69,.3)}
.official-asset-tab.is-active{background:#123f88;border-color:#123f88;color:#fff}
.mechanics-panel{background:#fbfaf6;border-color:rgba(25,42,69,.17)}
.mechanics-card{border-radius:0;background:#fffefa;border:1px solid rgba(25,42,69,.17);box-shadow:none}
.mechanics-card>span{border-radius:0}
.update-card,.tool-card{border-radius:0;background:#fffefa;border:1px solid rgba(25,42,69,.17);box-shadow:none}
.update-card{border-left:3px solid #123f88}
.update-card.community{border-left-color:#a47f3d}
.update-card.reference{border-left-color:#76829d}
.learn-map-card{background:#fffefa}
.learning-nav-mobile:not([hidden]){border-radius:0}
.learning-nav-mobile a{border-radius:0}

/* budget-quote-r19 (2026-08-28): TapeOut vs Behemoth budget-first quote card,
   methodology adapted from 0xLukin/TapeOutGo (MIT), read-only server-side. */
.budget-quote-panel{margin-top:14px;padding:24px}
.budget-quote-controls{display:flex;align-items:end;gap:.7rem;margin-top:.9rem;flex-wrap:wrap}
.budget-quote-input{max-width:220px}
.budget-quote-input em{color:#788193;font-size:.72rem;margin-left:.4rem}
.budget-quote-result{margin-top:1rem}
.budget-quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.budget-quote-card{padding:15px 16px;border:1px solid rgba(24,55,100,.16);background:#fbfaf6}
.budget-quote-card h4{margin:0 0 10px;color:#123f88;font-size:14px}
.budget-quote-card h4 small{margin-left:6px;color:#788193;font:10px var(--mono,ui-monospace,monospace)}
.budget-quote-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.budget-quote-metrics b{display:block;color:#102a57;font:600 16px/1.2 var(--mono,ui-monospace,monospace)}
.budget-quote-metrics span{display:block;margin-top:2px;color:#5c6d84;font-size:10px}
.budget-quote-book{margin:10px 0 0;color:#788193;font-size:11px}
.budget-quote-source{margin:.8rem 0 0;color:#788193;font-size:11px}
@media (max-width:640px){.budget-quote-panel{padding:18px}.budget-quote-metrics{grid-template-columns:1fr 1fr 1fr;gap:6px}}

/* bem-leaderboard r20 */
.bem-leaderboard-panel{margin-top:14px;padding:24px}
.bem-leaderboard-panel .bem-facts{margin-top:1rem}
.bem-leaderboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.bem-leaderboard-grid h4,.bem-leaderboard-tables h4{margin:0 0 10px;color:#102a57;font-size:13px}
.bem-leaderboard-tables{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}
.bem-leaderboard-table table{min-width:0}
.bem-leaderboard-status{margin:14px 0 0;color:#788193;font-size:11px}
@media (max-width:900px){.bem-leaderboard-grid,.bem-leaderboard-tables{grid-template-columns:1fr}}
@media (max-width:640px){.bem-leaderboard-panel{padding:18px}}
