/* r35-polish — coherent typography, rhythm and surface pass, loaded LAST.
   Scoped to existing market/pool, swap, LP dialog, Flow and product/docs views.
   Touches presentation only: no markup, no business/financial text, no route,
   action or input order, no [hidden]/notice/recovery/busy/disabled semantics.
   The R34 managed Portfolio (.mp-*) subtree and shared app header are untouched. */

/* ---------------------------------------------------------------- scale tokens
   One label/read scale: 11 (footnote) 12 (meta) 13 (label) 15 (reading) 16-18 (lead).
   Existing large figures, serif headings and lime surfaces keep their own values. */
#content .market-columns,
#content .market-foot,
.rill-rewards .rf-rank-row strong,
.rp-register-summary strong,
.lp-apr-reference strong,
.lp-mix-token strong,
.lp-instant-token strong,
.swap-facts dd,
.swap-review-box strong{font-variant-numeric:tabular-nums}

/* =================================================== 1. MARKETS — index view */
/* Modest top tightening: the clearing table arrives sooner, nothing removed. */
#content .clearing-heading{padding:34px 0 26px}
#content .clearing-heading p{font-size:15px;line-height:1.6}
#content .market-intro{padding:18px 0 22px;margin-bottom:22px}
#content .intro-note{font-size:13px;line-height:1.6}
#content .intro-note strong{font-size:15px;line-height:1.5}
#content .intro-link{font-size:13px;line-height:1.6}
#content .intro-link a{font-size:13px;min-height:44px;align-items:center}
#content .intro-link span{margin-bottom:4px}

#content .market-columns{font-size:12px;letter-spacing:.03em}
#content .market-asset small{font-size:13px;line-height:1.45;margin-top:6px}
#content .market-apr small{font-size:12px;line-height:1.4}
#content .market-fee-model{font-size:13px;line-height:1.45}
#content .market-value{line-height:1.35}
#content .points-tag{font-size:12px;min-height:28px;padding:5px 11px}
#content .market-deposit-button{min-height:44px;font-size:13px;gap:8px}
#content .market-foot{font-size:12px;line-height:1.6;gap:12px 20px}
#content .market-foot button{font-size:12px;min-height:32px}
#content .back-market{font-size:13px;min-height:32px;display:inline-flex;align-items:center}
#content .market-bottom h2{max-inline-size:22ch;text-wrap:balance}
#content .market-bottom p{font-size:14px;line-height:1.8;max-width:46ch}
#content .market-empty{font-size:14px;line-height:1.7}

/* -------------------------------------------------- market/pool detail view */
#content .pool-title h1{line-height:1.12}
#content .pool-title p{font-size:13px;line-height:1.7}
#content .pool-metrics>div>span{font-size:13px;line-height:1.4;margin-bottom:8px}
#content .section-heading>span{font-size:12px}
#content .pool-section{padding:30px 0}
#content .chart-source{font-size:12px;line-height:1.6}
#content .chart-readout>span{font-size:12px}
#content .chart-modes button,
#content .chart-periods button{font-size:13px;min-height:44px;padding:0 12px}
#content .shared-reference summary{font-size:13px;line-height:1.6}
#content .shared-reference summary small{font-size:12px}
#content .shared-reference>p{font-size:13px;line-height:1.75;max-width:72ch}
#content .deposit-content p{font-size:13px;line-height:1.7}
#content .deposit-token-line{font-size:13px}
#content .deposit-content .primary{font-size:14px;min-height:44px;padding:0 16px}
#content .deposit-content .secondary{font-size:13px;min-height:44px;padding:0 14px}
#content .quote-link{font-size:13px;min-height:44px}
#content .deposit-content>small{font-size:12px;line-height:1.6}
#content .composition-assets strong small,
#content .composition-assets>div>span>small{font-size:12px}
#content .pool-facts{font-size:13px;line-height:1.5}
#content .pool-facts button{font-size:12px;min-height:32px}
#content .pool-facts button span{font-size:11px}
#content .apr-explanation>span{font-size:13px;line-height:1.6}
#content .methodology{font-size:13px;line-height:1.8}
#content .methodology p{font-size:13px;line-height:1.85;max-width:68ch}
#content .reward-section h2{max-inline-size:24ch;text-wrap:balance}
#content .reward-section>div>p{font-size:13px;line-height:1.75}
#content .reward-badge{font-size:11px;padding:4px 9px}
#content .reward-program p{font-size:13px!important;line-height:1.75}
#content .reward-program a{font-size:13px;min-height:44px;align-items:center}
#content .r5-market .text-link{font-size:12px}
#content :is(.intro-link a,.market-deposit-button,.quote-link,.deposit-content .primary,.deposit-content .secondary,.reward-program a,.pool-facts button):focus-visible{outline:2px solid #a9d28f;outline-offset:2px}

/* ========================================================= 2. SWAP — Operate */
.swap-shell .swap-topline{font-size:13px;line-height:1.6}
.swap-shell .swap-mode{gap:8px}
.swap-shell .swap-mode button{font-size:13px;min-height:44px;padding:0 18px}
.swap-shell .swap-input-box,
.swap-shell .swap-output-box{padding:15px 17px}
.swap-shell .swap-input-box>span,
.swap-shell .swap-output-box>span:first-child{font-size:13px;line-height:1.5}
.swap-shell .swap-output{line-height:1.2;padding:9px 0}
.swap-shell .swap-output-box>.quiet,
.swap-shell .swap-output-box>[data-swap-min],
.swap-shell .swap-output-box>[data-swap-expiry]{font-size:12px;line-height:1.6}
/* Compact but clearly visible focus on the amount field: the box carries the ring. */
.swap-shell .swap-input-box:focus-within{outline:2px solid #b8e969aa;outline-offset:2px}
.swap-shell .swap-input-box input:focus,
.swap-shell .swap-input-box input:focus-visible{outline:0}
.swap-shell .swap-between{font-size:13px;gap:10px}
.swap-shell .swap-between select{font-size:13px;min-height:44px;padding:0 24px 0 11px}
.swap-shell .swap-shell>.primary,
.swap-shell>.primary{font-size:14px;min-height:44px;padding:0 18px}
.swap-shell .swap-secondary-actions{gap:12px}
.swap-shell .swap-secondary-actions>button{font-size:13px;min-height:44px;padding:0 12px}
.swap-shell .swap-status{font-size:13px;line-height:1.6}
.swap-shell .swap-route>summary{font-size:13px;min-height:44px;align-items:center}
.swap-shell .swap-route>summary>span{font-size:12px}
.swap-shell .swap-route-path{font-size:13px;gap:10px;line-height:1.6}
.swap-shell .swap-route-note{font-size:13px;line-height:1.75;max-width:68ch}
.swap-shell .swap-facts dt,
.swap-shell .swap-contracts dt{font-size:13px;line-height:1.5}
.swap-shell .swap-facts dd{font-size:13px;line-height:1.55}
.swap-shell .swap-contracts dd{font-size:13px;line-height:1.5}
.swap-shell .swap-contracts a,
.swap-shell .swap-contracts button{font-size:13px;min-height:32px;display:inline-flex;align-items:center}
.swap-shell .swap-review-box>div{font-size:13px;line-height:1.6}
.swap-shell .swap-review-box strong{font-size:13px}
.swap-shell .swap-review-box>.fine{font-size:12px;line-height:1.7}
.swap-shell .swap-steps li{font-size:13px;line-height:1.6}
.swap-shell .swap-recovery .form-field label{font-size:13px}
.swap-shell .swap-recovery input{font-size:13px!important;min-height:44px}
.swap-shell :is(.swap-mode button,.swap-route>summary,.swap-secondary-actions>button,.swap-contracts a,.swap-contracts button):focus-visible{outline:2px solid #b8e969;outline-offset:2px}
@media(max-width:520px){
.swap-shell .swap-topline{font-size:12px}
.swap-shell .swap-topline>.quiet{font-size:12px;min-height:32px}
.swap-shell .swap-input-box,
.swap-shell .swap-output-box{padding:14px 15px}
.swap-shell .swap-mode button{font-size:12px;padding:0 15px}
.swap-shell .swap-route-path{font-size:12px}
.swap-shell .swap-secondary-actions{gap:10px}
}

/* ================================================== 3. LP DIALOG — form labels
   Labels move onto the 12–13px read scale; chart geometry, hit areas, handle
   focus rings, price controls and the primary busy contrast are all untouched. */
dialog.lp-dialog .lp-overline{font-size:12px}
dialog.lp-dialog .lp-pair-heading small{font-size:13px;line-height:1.5}
dialog.lp-dialog .lp-progress{font-size:13px}
dialog.lp-dialog .lp-chart-heading small{font-size:13px}
dialog.lp-dialog .lp-chart-key{font-size:11px}
dialog.lp-dialog .lp-price-axis span{font-size:10px}
dialog.lp-dialog .lp-time-axis{font-size:11px}
dialog.lp-dialog .lp-view-note{font-size:11px}
dialog.lp-dialog .lp-drag-hint{font-size:12px}
dialog.lp-dialog .lp-history-source{font-size:11px}
dialog.lp-dialog .lp-history-source button{font-size:12px;min-height:32px}
dialog.lp-dialog .lp-subtitle{font-size:13px;line-height:1.7}
dialog.lp-dialog .lp-controls h3{line-height:1.15}
dialog.lp-dialog .lp-presets button{font-size:13px;min-height:40px}
dialog.lp-dialog .lp-price-input label{font-size:12px}
dialog.lp-dialog .lp-price-input label small{font-size:11px}
dialog.lp-dialog .lp-price-input button{min-width:40px;height:40px}
dialog.lp-dialog .lp-range-meta{font-size:12px;line-height:1.5}
dialog.lp-dialog .lp-tick-note{font-size:11px;line-height:1.5}
dialog.lp-dialog .lp-token-budget label{font-size:13px}
dialog.lp-dialog .lp-token-budget small{font-size:11px}
dialog.lp-dialog .lp-slippage-label{font-size:13px}
dialog.lp-dialog .lp-slippage-label select{font-size:13px;min-height:44px}
dialog.lp-dialog .lp-back{font-size:13px;min-height:44px;align-items:center;display:inline-flex}
dialog.lp-dialog .lp-selected-review>span{font-size:12px}
dialog.lp-dialog .lp-selected-review button{font-size:12px;min-height:32px}
dialog.lp-dialog .lp-selected-review strong{font-size:14px}
dialog.lp-dialog .lp-apr-reference>span{font-size:12px}
dialog.lp-dialog .lp-apr-reference small{font-size:11px;line-height:1.45}
dialog.lp-dialog .lp-points-link small{font-size:11px;line-height:1.4}
dialog.lp-dialog .lp-deposit-estimate>span{font-size:12px}
dialog.lp-dialog .lp-deposit-estimate>small{font-size:11px;line-height:1.5}
dialog.lp-dialog .lp-estimate-method{font-size:12px;line-height:1.65}
dialog.lp-dialog .lp-estimate-method summary span{font-size:11px}
dialog.lp-dialog .lp-estimate-method p{line-height:1.7}
dialog.lp-dialog .lp-contract-details{font-size:12px;line-height:1.6}
dialog.lp-dialog .lp-contract-details summary{min-height:32px}
dialog.lp-dialog .lp-custom-range>label{font-size:13px}
dialog.lp-dialog .lp-custom-range>div>span{font-size:13px}
dialog.lp-dialog .lp-funding-chooser [data-funding]{padding:12px 13px}
dialog.lp-dialog .lp-funding-chooser [data-funding] strong{font-size:13px}
dialog.lp-dialog .lp-funding-chooser [data-funding] small{font-size:11px;line-height:1.45}
dialog.lp-dialog .lp-funding-figures span{font-size:12px}
dialog.lp-dialog .lp-funding-figures strong{font-size:14px}
dialog.lp-dialog .lp-wallet-balance{font-size:13px;line-height:1.6}
dialog.lp-dialog .lp-wallet-balance .lp-wallet-state{font-size:12px}
dialog.lp-dialog .lp-balance-refresh{font-size:13px;min-height:44px;padding:0 14px}
dialog.lp-dialog .lp-mix-head{font-size:13px}
dialog.lp-dialog .lp-mix-token>span{font-size:13px}
dialog.lp-dialog .lp-mix-token [id$="-amount"]{font-size:13px;line-height:1.55}
dialog.lp-dialog #lp-mix-note,
dialog.lp-dialog #lp-terms-lock{font-size:13px;line-height:1.6}
dialog.lp-dialog #lp-instant-label{font-size:13px}
dialog.lp-dialog .lp-instant-token>span{font-size:13px;line-height:1.5}
dialog.lp-dialog .lp-instant-token strong{font-size:15px}
dialog.lp-dialog #lp-instant-note{font-size:13px;line-height:1.6}
dialog.lp-dialog .lp-flow-stage{font-size:12px}
dialog.lp-dialog .lp-flow-status{font-size:13px}
dialog.lp-dialog :is(.lp-presets button,.lp-price-input button,.lp-slippage-label select,.lp-back,.lp-balance-refresh):focus-visible{outline:2px solid #d1ef85;outline-offset:2px}
/* r35-ui02 — on phone each token row gets its own full-width line so long
   decimal amounts wrap by token, not into a trailing "6 ETH" fragment.
   Percentages, amounts, ratio bar, hidden states and chart geometry unchanged. */
@media(max-width:760px){
dialog.lp-dialog .lp-mix-values{grid-template-columns:minmax(0,1fr);gap:11px}
dialog.lp-dialog .lp-mix-token{width:100%}
dialog.lp-dialog .lp-presets button{min-height:44px}
dialog.lp-dialog .lp-range-meta{font-size:12px}
dialog.lp-dialog .lp-range-meta strong{font-size:13px}
}

/* ======================================== 4. FLOW LEDGER / LEADERBOARD — Read */
/* The three rule facts spread flat across the full strip, then stack on phone. */
.rill-rewards .rf-rule-strip{display:flex;flex-wrap:wrap;align-items:center;gap:12px 30px;font-size:13px;line-height:1.6}
.rill-rewards .rf-rule-strip>strong{font-size:19px;line-height:1.3}
.rill-rewards .rf-rule-strip>span:not(#rf-program-state){flex:1 1 0;min-width:0}
.rill-rewards .rf-rule-strip>#rf-program-state{font-size:12px;line-height:1.5}
.rill-rewards .rf-heading p{font-size:14px;line-height:1.6}
.rill-rewards .rf-heading nav a,
.rill-rewards .rf-text-link{font-size:13px;min-height:44px}
.rill-rewards .rf-wallet-bar label{font-size:13px;line-height:1.5}
.rill-rewards .rf-wallet-bar label span{font-size:12px}
.rill-rewards .rf-wallet-bar input{font-size:14px}
.rill-rewards .rf-button{font-size:13px;padding:11px 18px}
.rill-rewards .rf-owner{font-size:12px}
.rill-rewards .rf-state{font-size:12px;line-height:1.5;max-width:170px}
.rill-rewards .rf-balance>span{font-size:13px}
.rill-rewards .rf-balance small{font-size:12px}
.rill-rewards .rf-observations dt{font-size:13px;line-height:1.45}
.rill-rewards .rf-observations dd{font-size:14px;line-height:1.45}
.rill-rewards .rf-observations dd span{font-size:11px}
.rill-rewards .rf-account-stamp,
.rill-rewards .rf-last-status{font-size:12px;line-height:1.7}
.rill-rewards .rf-section-title>span{font-size:12px}
.rill-rewards .rf-section-title p{font-size:13px;line-height:1.65}
.rill-rewards .rf-range-identity strong{font-size:13px}
.rill-rewards .rf-range-identity small,
.rill-rewards .rf-range-state small{font-size:11px;line-height:1.45}
.rill-rewards .rf-range-state{font-size:12px;line-height:1.5;max-width:150px}
.rill-rewards .rf-inline-warning{font-size:12px;line-height:1.7}
.rill-rewards .rf-enrollment-actions{gap:12px}
.rill-rewards .rf-consent{font-size:12px;line-height:1.7}
.rill-rewards .rf-consent-detail,
.rill-rewards .rf-consent-detail p{font-size:12px;line-height:1.7}
.rill-rewards .rf-consent-detail summary{min-height:44px}
.rill-rewards .rf-action-status{font-size:13px;line-height:1.65}
.rill-rewards .rf-sign-title h3{font-size:15px}
.rill-rewards .rf-sign-title>span{font-size:11px}
.rill-rewards .rf-signature>p{font-size:13px;line-height:1.7}
.rill-rewards .rf-signature details{font-size:12px}
.rill-rewards .rf-signature pre{font-size:12px;line-height:1.7}
.rill-rewards .rf-signature>small{font-size:11px;line-height:1.6}
.rill-rewards .rf-ranking-labels{font-size:11px}
.rill-rewards .rf-rank-address{font-size:13px;line-height:1.5}
.rill-rewards .rf-rank-address small{font-size:11px;line-height:1.5}
.rill-rewards .rf-rank-row strong{font-size:14px}
.rill-rewards .rf-redemption>span{font-size:13px}
.rill-rewards .rf-redemption strong{font-size:12px}
.rill-rewards .rf-redemption p{font-size:13px;line-height:1.7;max-width:46ch}
.rill-rewards .rf-redemption a{font-size:12px;min-height:32px;display:inline-flex;align-items:center}
.rill-rewards .rf-pagination{font-size:11px;line-height:1.6}
.rill-rewards .rf-pagination button{font-size:12px;min-height:44px}
.rill-rewards .rf-event h3{font-size:14px}
.rill-rewards .rf-event-body strong{font-size:14px}
.rill-rewards .rf-event p{font-size:13px;line-height:1.7}
.rill-rewards .rf-event small{font-size:11px;line-height:1.65}
.rill-rewards .rf-event details{font-size:12px}
.rill-rewards .rf-event summary{min-height:34px}
.rill-rewards .rf-event dt{font-size:11px}
.rill-rewards .rf-event dd{font-size:11px;line-height:1.7}
.rill-rewards .rf-method summary{font-size:13px;min-height:44px}
.rill-rewards .rf-method p{font-size:13px;line-height:1.8}
.rill-rewards .rf-method a{font-size:12px}
.rill-rewards .rf-empty p{font-size:13px;line-height:1.8}
.rill-rewards .rf-loading{font-size:13px;line-height:1.6}
.rill-rewards #rf-rank-count{font-size:12px}
.rill-rewards #rf-board-refresh{font-size:12px}
@media(max-width:760px){
.rill-rewards .rf-rule-strip>strong,
.rill-rewards .rf-rule-strip>span:not(#rf-program-state){flex:1 1 100%}
.rill-rewards .rf-state{max-width:145px}
.rill-rewards .rf-range-state{font-size:11px;max-width:118px}
.rill-rewards .rf-observations dt{font-size:12px}
}

/* ================================ 5. DOCS / TOKEN MECHANISM — Read + restrained
   Reading measure and leading for long-form prose; one shared hairline and
   translucent dark surface across token, treasury, ledger and empty panels. */
.rill-product .rp-eyebrow{font-size:12px}
.rill-product .rp-state{font-size:12px}
.rill-product .rp-economy-tabs{font-size:13px;gap:22px}
.rill-product .rp-economy-tabs a{min-height:44px;display:inline-flex;align-items:center}
.rill-product .rp-title p{font-size:15px;line-height:1.7;max-width:46ch}
.rill-product .rp-title h1,
.rill-product .rp-doc-heading h1{max-inline-size:22ch;text-wrap:balance}
.rill-product .rp-doc-heading h1{max-inline-size:none}
.rill-product .rp-doc-search{font-size:13px;line-height:1.6}
.rill-product .rp-doc-search input{font-size:14px;min-height:44px}
.rill-product .rp-doc-nav h2{font-size:12px}
.rill-product .rp-doc-nav a{font-size:13px;line-height:1.4;padding:10px 12px;min-height:44px;display:flex;align-items:center}
.rill-product .rp-doc-article>h2{max-inline-size:26ch;text-wrap:balance}
.rill-product .rp-doc-lead{font-size:17px;line-height:1.75}
.rill-product .rp-doc-article h3{font-size:24px;line-height:1.25}
.rill-product .rp-doc-article section p,
.rill-product .rp-doc-article li{font-size:15px;line-height:1.8;color:#b3bfa5}
.rill-product .rp-doc-article section p{max-width:68ch}
.rill-product .rp-doc-sources a{font-size:13px;line-height:1.6;padding:10px 0}
.rill-product .rp-doc-actions{font-size:13px;gap:24px}
.rill-product .rp-doc-actions :is(a,button){min-height:44px;display:inline-flex;align-items:center}
.rill-product .rp-doc-no-results{font-size:13px;line-height:1.7}

/* Shared surface layer: forest stays visible, panels share one hairline. */
.rill-product .rp-token-stream,
.rill-product .rp-doc-article,
.rill-product .rp-register-empty,
.rill-product .rp-flow-orbit,
.rill-product .rp-destination{border-color:#ffffff16}
.rill-product .rp-token-stream{background:linear-gradient(140deg,#191d1ad9,#121614a8)}
.rill-product .rp-doc-article{background:linear-gradient(100deg,#121713bf,#12171385)}
.rill-product .rp-register-empty{background:#151a17a8;border-radius:14px}
.rill-product .rp-token-top p{font-size:13px;line-height:1.5}
.rill-product .rp-token-rule small{font-size:12px;line-height:1.4}
.rill-product .rp-source span{font-size:13px;line-height:1.5}
.rill-product .rp-stream-body>p{font-size:13px;line-height:1.6}
.rill-product .rp-destination strong{font-size:15px}
.rill-product .rp-destination div>span{font-size:12px;line-height:1.5}
.rill-product .rp-stream-foot{font-size:13px;line-height:1.75}
.rill-product .rp-flow-bridge p{font-size:14px;line-height:1.8}
.rill-product .rp-flow-facts small{font-size:12px;line-height:1.5}
.rill-product .rp-inline-links{font-size:13px;gap:20px}
.rill-product .rp-inline-links :is(a,.primary){min-height:44px;display:inline-flex;align-items:center}
.rill-product .rp-supply header>p{font-size:13px;line-height:1.75}
.rill-product .rp-allocation-row{font-size:13px;line-height:1.5}
.rill-product .rp-economy-foot h3{font-size:22px}
.rill-product .rp-economy-foot p{font-size:13px;line-height:1.8}
.rill-product .rp-register-summary div>span,
.rill-product .rp-register-summary small{font-size:12px;line-height:1.55}
.rill-product .rp-register-note{font-size:13px;line-height:1.65}
.rill-product .rp-register-empty p{font-size:14px;line-height:1.8}
.rill-product .rp-ledger-toolbar h2{font-size:26px}
.rill-product .rp-ledger-table td,
.rill-product .rp-ledger-table th{font-size:13px;line-height:1.6;padding:15px 17px}
.rill-product .rp-bottom-links{font-size:13px;gap:22px}
.rill-product .rp-bottom-links button{font-size:13px;min-height:44px}
.rill-product :is(.rp-inline-links a,.rp-bottom-links a,.rp-doc-nav a,.rp-doc-sources a,.rp-economy-tabs a):focus-visible{outline:2px solid #cfea9a;outline-offset:2px}
@media(max-width:620px){
.rill-product .rp-doc-mobile{font-size:14px}
.rill-product .rp-doc-mobile select{font-size:14px;min-height:48px}
.rill-product .rp-doc-article section p,
.rill-product .rp-doc-article li{font-size:14px;line-height:1.75}
.rill-product .rp-doc-lead{font-size:15px;line-height:1.7}
.rill-product .rp-doc-article>h2{font-size:31px}
.rill-product .rp-title p{font-size:14px}
.rill-product .rp-doc-nav a{min-height:44px}
}

/* ============================== 6. FEES / CONTRACTS — .account-tools read scale
   Same 12/13 label scale and 14px prose floor as the rest of R35. Layout,
   addresses, facts, errors, [hidden] and disabled states are untouched; large
   amounts and serif headings keep their existing sizes. */
.account-tools .at-heading p{font-size:14px;line-height:1.75}
.account-tools .at-button{font-size:13px;min-height:44px;padding:10px 17px}
.account-tools .at-text-link{font-size:13px;min-height:44px;padding:8px 0}
.account-tools h3{font-size:15px}
.account-tools .at-caption{font-size:13px;line-height:1.8}
.account-tools .at-source{font-size:12px;line-height:1.75}
.account-tools .at-inline-note{font-size:13px;line-height:1.8}
.account-tools .at-wallet-form label{font-size:13px}
.account-tools .at-wallet-form label span{font-size:12px}
.account-tools .at-wallet-form input{font-size:14px;min-height:44px}
.account-tools .at-wallet-form>p{font-size:12px;line-height:1.7;min-height:22px}
.account-tools .at-eligible-markets>a{font-size:13px;min-height:44px}
.account-tools .at-eligible-markets small{font-size:11px}
.account-tools .at-flow-state h2 span,
.account-tools .at-state-tag{font-size:12px;padding:6px 10px}
.account-tools .at-flow-state p{font-size:13px;line-height:1.8}
.account-tools .at-token-fees span{font-size:12px}
.account-tools .at-position-top>div>span{font-size:12px;line-height:1.6}
.account-tools .at-fee-amounts{font-size:13px}
.account-tools .at-fee-position details{font-size:13px}
.account-tools .at-fee-position summary{min-height:44px;display:flex;align-items:center}
.account-tools dl>div{font-size:13px;line-height:1.6;padding:10px 0}
.account-tools .at-empty p{font-size:14px;line-height:1.8}
.account-tools .at-loading{font-size:13px;line-height:1.6}
.account-tools .at-register-row h2{font-size:15px}
.account-tools .at-register-row p{font-size:13px;line-height:1.8}
.account-tools .at-register-row>.at-text-link{min-height:44px}
.account-tools .at-launch-aside>p{font-size:13px;line-height:1.8}
.account-tools #at-live-routes>a{font-size:13px;min-height:44px}
.account-tools #at-live-routes>a>span{font-size:11px}
.account-tools #at-live-routes>p{font-size:13px;line-height:1.75}
.account-tools .at-economic-model>summary{min-height:44px;align-items:center}
.account-tools .at-economic-model>summary span{font-size:12px}
.account-tools .at-model-grid p{font-size:13px;line-height:1.8}
.account-tools .at-model-grid dl>div{font-size:12px;line-height:1.6}
.account-tools .at-registry-toolbar label,
.account-tools .at-guide-toolbar>label{font-size:13px}
.account-tools :is(.at-registry-toolbar,.at-guide-toolbar) input,
.account-tools .at-registry-toolbar select{font-size:14px;min-height:44px}
.account-tools #at-contract-count{font-size:12px;margin-bottom:16px}
.account-tools .at-contract-name strong{font-size:13px}
.account-tools .at-contract-name span{font-size:12px;line-height:1.7}
.account-tools .at-contract-entry code{font-size:12px;line-height:1.75}
.account-tools .at-contract-actions{gap:12px 18px}
.account-tools .at-copy{min-width:44px;min-height:44px}
.account-tools .at-code-result{font-size:12px;line-height:1.75}
.account-tools .at-unpublished p{font-size:13px;line-height:1.75}
.account-tools .at-guide-filters{gap:8px}
.account-tools .at-guide-filters button{font-size:13px;min-height:44px;padding:10px 14px}
.account-tools .at-guide summary small{font-size:11px}
.account-tools .at-guide summary span>span{font-size:13px;line-height:1.75}
.account-tools .at-guide>summary{min-height:44px}
.account-tools .at-guide ol{font-size:14px;line-height:1.8}
.account-tools .at-guide-side>a{font-size:13px;min-height:44px}
.account-tools .at-guide-side>p{font-size:12px;line-height:1.8;max-width:38ch}
.account-tools .at-reward-side .at-caption{margin-bottom:19px}
@media(max-width:760px){
.account-tools .at-heading p{font-size:13px;line-height:1.8}
.account-tools .at-position-top .at-button{font-size:13px}
.account-tools .at-contract-entry code{font-size:12px}
}

/* ======================== 7. DOCS reading entry — phone only, Docs selectors.
   Recognisable title and search stay; the article itself starts materially
   earlier. Scoped to .rp-doc-heading/.rp-doc-layout/.rp-doc-mobile, so token and
   treasury surfaces keep their desktop-derived padding. Desktop unchanged. */
@media(max-width:620px){
.rill-product .rp-doc-heading{padding-bottom:16px;margin-bottom:14px}
.rill-product .rp-doc-heading h1{margin:0 0 12px}
.rill-product .rp-doc-search{margin-bottom:0}
.rill-product .rp-doc-search input{margin-top:8px}
.rill-product .rp-doc-layout{padding-top:10px}
.rill-product .rp-doc-mobile{gap:7px;margin-bottom:14px}
.rill-product .rp-doc-article{padding:22px 20px}
.rill-product .rp-doc-article>h2{margin:0 0 16px}
.rill-product .rp-doc-lead{padding-bottom:20px}
}

/* ======================= 8. REGISTER SUMMARY — Leaderboard / Treasury facts.
   Three equal columns with hairline separators instead of a 70px flex gap that
   left every fact in the left half. Flat row, no cards, no new figures; the
   dynamic status text above and below is untouched. */
.rill-product .rp-register-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:30px 0;margin:44px 0}
.rill-product .rp-register-summary>div{min-width:0;padding:0 30px;border-left:1px solid #ffffff14}
.rill-product .rp-register-summary>div:first-child{padding-left:0;border-left:0}
.rill-product .rp-register-summary>div:last-child{padding-right:0}
.rill-product .rp-register-summary div>span,
.rill-product .rp-register-summary small{font-size:12px;line-height:1.55}
@media(max-width:760px){
.rill-product .rp-register-summary{grid-template-columns:minmax(0,1fr);gap:0;padding:22px 0;margin:30px 0}
.rill-product .rp-register-summary>div,.rill-product .rp-register-summary>div:first-child,.rill-product .rp-register-summary>div:last-child{padding:14px 0;border-left:0;border-top:1px solid #ffffff14}
.rill-product .rp-register-summary>div:first-child{padding-top:0;border-top:0}
.rill-product .rp-register-summary>div:last-child{padding-bottom:0}
}
