/* Mobile layouts keep controls legible rather than shrinking desktop tables. */
@media (max-width: 900px) {
  body[data-page] .site-header :is(.nav-toggle, .user-menu-button, .user-signin) {
    min-height: 44px;
  }
  body[data-page] .site-header :is(.site-nav, .user-menu-popover) {
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media(min-width:701px) and (max-width:900px){
  body[data-page="profile"] .profile-layout{display:block;padding:30px 5% 50px}
  body[data-page="profile"] .profile-identity{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px 28px;border-right:0;border-bottom:1px solid #d7ddd5;padding:0 0 26px;margin-bottom:28px}
  body[data-page="profile"] .profile-identity>#p-avatar{grid-row:1/5;width:140px;height:140px;margin:0}
  body[data-page="profile"] .profile-identity #p-founder-mark{grid-column:2}
  body[data-page="profile"] .profile-identity #p-since{margin-bottom:0}
  body[data-page="profile"] .profile-identity #p-discord{grid-column:1/-1;max-width:350px;margin-top:18px}
  body[data-page="profile"] .profile-identity #p-copy-id{grid-column:1/-1;max-width:350px}
  body[data-page="profile"] .profile-trade{grid-template-columns:minmax(0,1fr);padding-block:22px}
  body[data-page="profile"] .profile-counterparty{grid-column:1;border:0;padding:0}
  body[data-page="profile"] .profile-receipt{grid-column:1;justify-self:start;position:static;padding:0;min-height:44px}
  body[data-page="profile"] .profile-trade-method strong{white-space:nowrap;overflow-wrap:normal}
}
@media(max-width:700px){
  body[data-page] .site-header__inner{padding-inline:20px;min-height:76px;gap:12px}
  body[data-page] .site-header .brand{width:clamp(138px,43vw,180px);height:52px;flex-shrink:1}
  body[data-page] .site-header .brand-lockup{width:100%;height:auto;max-height:52px;object-fit:contain}
  body[data-page] .header-actions{position:relative;gap:10px;flex-shrink:0}
  body[data-page] .nav-toggle{width:44px;height:44px;min-width:44px}
  body[data-page] .site-header .site-nav a{min-height:44px;display:flex;align-items:center;font-size:16px}
  /* Anchor to the full action group. Only the popover should scroll. */
  body[data-page] .site-header .user-menu{position:static}
  body[data-page] :is(input,select,textarea){font-size:16px}
  body[data-page] :is(input,select,textarea,button){max-width:100%}
  body[data-page] .site-footer nav a{min-height:40px;display:flex;align-items:center;font-size:14px;line-height:1.5;padding-block:5px}
  body[data-page] .site-footer{padding-inline:24px;gap:28px 22px}
  body[data-page] .site-footer .footer-label{font-size:15px;margin-bottom:12px}
  body[data-page] .site-footer nav{min-width:0}
  body[data-page] .site-footer nav a{overflow-wrap:anywhere}
  body[data-page="home"] .story-hero {
    --mobile-hero-photo: clamp(214px, 61vw, 340px);
    height: auto;
    padding-bottom: var(--mobile-hero-photo);
  }
  body[data-page="home"] .story-hero__inner {
    padding: 106px 22px 16px;
  }
  body[data-page="home"] .story-hero h1 {
    font-size: clamp(39px, 11.4vw, 66px);
    line-height: 1.04;
    margin-bottom: 14px;
  }
  body[data-page="home"] .story-hero__copy > p {
    max-width: 35ch;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  body[data-page="home"] .story-backdrop {
    inset: auto 0 0;
    height: calc(var(--mobile-hero-photo) + 26px);
    mask-image: linear-gradient(transparent, #000 22%);
  }
  body[data-page="home"] .story-backdrop > img { object-position: right 44%; }
  body[data-page="home"] .story-hero::before { content: none; }
  body[data-page="home"] .hero-editorial-edge { min-height: 0; height: 32px; }
  body[data-page="home"] .exchange-desk { padding: 24px 20px 34px; }
  body[data-page="home"] .exchange-desk__eyebrow { margin-bottom: 8px; }
  body[data-page="home"] .exchange-desk__copy h2 {
    font-size: clamp(34px, 8.7vw, 48px);
    line-height: 1.08;
    margin-bottom: 10px;
  }
  body[data-page="home"] .exchange-desk__copy h2 br { display: none; }
  body[data-page="home"] .exchange-desk__visual { padding-top: 24px; margin-bottom: 20px; }
  body[data-page="home"] .exchange-world {
    width: min(440px, calc(100vw + 36px));
    height: auto;
    aspect-ratio: 1;
    left: 50%;
    transform: translateX(-50%);
  }
  body[data-page="home"] .exchange-desk .trade-composer { padding: 19px 16px 16px; border-radius: 18px; }
  body[data-page="home"] .exchange-desk .trade-field__label { margin-bottom: 7px; }
  body[data-page="home"] .exchange-desk .trade-field__row { gap: 10px; }
  body[data-page="home"] .exchange-desk .route-picker {
    min-width: 0;
    max-width: none;
  }
  body[data-page="home"] .exchange-desk .route-picker__trigger {
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid #bdcbbd;
    background: #f5f8f1;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
  }
  body[data-page="home"] .exchange-desk .route-picker__value {
    max-width: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body[data-page="home"] .exchange-desk .amount-wrap { flex: 0 1 126px; min-width: 0; }
  body[data-page="home"] .exchange-desk .amount-wrap input { width: 100%; min-width: 0; }
  body[data-page="home"] .exchange-desk .has-long-amount .amount-wrap { flex-basis: 100%; }
  body[data-page="home"] .exchange-desk .swap-divider { margin: 14px 0; }
  body[data-page="home"] .exchange-desk .trade-summary { margin-top: 14px; padding-top: 12px; }
  body[data-page="home"] .exchange-desk #home-trade-cta { min-height: 52px; border-radius: 10px; }
  body[data-page="home"] .exchange-desk .quote-methods li { font-size: 13px; }
  body[data-page="home"] .trade-composer{min-width:0}
  body[data-page="home"] .exchange-desk .route-picker__menu{left:0;right:auto;min-width:0;width:min(270px,calc(100vw - 84px));max-width:calc(100vw - 84px)}
  body[data-page="home"] .exchange-desk .route-picker__option{font-size:15px;min-height:48px}
  body[data-page="home"] .community-totals{gap:18px}
  body[data-page="home"] .community-totals dt{font-size:13px;line-height:1.5}
  body[data-page="home"] .community-band__intro{gap:18px;align-items:flex-start}
  body[data-page="home"] .community-band__intro a{max-width:15ch;font-size:13px;line-height:1.5;text-align:right}
  body[data-page="home"] .questions .faq-list summary{min-height:60px;font-size:17px;padding-block:19px}
  body[data-page="home"] .questions .faq-list p{font-size:16px;line-height:1.65}
  body[data-page="home"] .hands-example{bottom:10px;z-index:5;padding:4px 10px;background:#abdfaccc;border-radius:5px}
  body[data-page="wallet"] .wallet-shell{min-width:0}
  body[data-page="wallet"] .wallet-activity-tools{gap:16px}
  body[data-page="wallet"] .wallet-asset-tabs button{min-height:48px}
  body[data-page="settings"] .setting-row p{font-size:15px;line-height:1.6}
  body[data-page="settings"] .settings-group{padding-block:25px}
  body[data-page="settings"] .settings-row-link{min-height:44px}
  body[data-page="transcripts"] .transcript-archive .transcript-item{padding-block:23px}
  body[data-page="transcripts"] .transcript-archive .transcript-actions a{min-height:44px;font-size:15px}
  body[data-page="profile"] .profile-trade-method b{font-size:15px}
  body[data-page="profile"] .profile-trade-method{flex-direction:column;align-items:flex-start;gap:9px}
  body[data-page="profile"] .profile-trade-method>div{width:100%}
  body[data-page="profile"] .profile-trade-method strong{font-size:clamp(16px,4.5vw,19px);white-space:nowrap;overflow-wrap:normal;word-break:normal}
  body[data-page="profile"] .profile-counterparty{padding-right:0}
  body[data-page="profile"] .profile-receipt{position:static;grid-column:1;justify-self:start;font-size:15px;min-height:44px}
  body[data-page="profile"] .profile-counterparty small{font-size:13px}
  body[data-page="trade"] .receipt-facts dl>div{grid-template-columns:minmax(90px,.8fr) minmax(0,1.3fr);gap:18px}
  body[data-page="trade"] .receipt-facts dd{overflow-wrap:anywhere}
  body.support-theme .reading-copy{font-size:16px;line-height:1.75;min-width:0}
  body.support-theme .reading-copy h2{font:600 24px/1.3 var(--font-ui);text-transform:none;letter-spacing:-.02em}
  body.support-theme .reading-copy :is(p,li){font-size:16px;line-height:1.75}
  body.support-theme .reading-copy section{padding-left:0}
  body.support-theme :is(.refer-steps,.apply-section,.partnership-fit,.partnership-product,.partnership-pilot,.partnership-contact,.resource-chapter,.route-chapter){animation:none!important;opacity:1!important;transform:none!important}
  body.support-theme [data-sc-in]{opacity:1!important;transform:none!important;transition:none!important}
  body.support-theme .reading-layout{grid-template-columns:1fr}
  body.support-theme[data-page] .support-masthead { padding: 101px 20px 52px !important; }
  body.support-theme[data-page] .support-masthead h1 { font-size: clamp(37px, 10vw, 54px); margin-bottom: 12px; }
  body.support-theme[data-page="route"] .support-masthead .page-title span { color: #fff !important; }
  body.support-theme .support-wave { height: 28px; }
  body.support-theme .support-content { margin-inline: 20px; padding-top: 19px; }
  body.support-theme .support-masthead :is(.apply-action, .refer-action, .partnership-button) { margin-top: 18px; }
  body.support-theme[data-page] .support-masthead .partnership-actions { gap: 8px 20px; }
  body.support-theme[data-page] .support-masthead .partnership-text-link { margin-top: 0; padding-block: 10px; }
  body.support-theme .reading-nav { position: static; }
  body.support-theme[data-page] .reading-nav {
    margin: 0 0 12px;
    padding: 0 14px;
    border: 1px solid #c8d5c7;
    border-radius: 9px;
    background: #f1f4ec;
  }
  body.support-theme .reading-nav details > summary {
    justify-content: space-between;
    min-height: 48px;
    font-weight: 650;
    cursor: pointer;
  }
  body.support-theme .reading-nav details > summary::after {
    content: '';
    width: 14px;
    height: 14px;
    background: url('/static/ui-icons/caret-down.svg') center / contain no-repeat;
  }
  body.support-theme .reading-nav details[open] > summary::after { transform: rotate(180deg); }
  body.support-theme .reading-nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
  body.support-theme .page-jumps { font-size: 14px; gap: 2px 18px; padding-block: 8px; margin: 0 0 15px; }
  body.support-theme .page-jumps a { min-height: 44px; display: inline-flex; align-items: center; }
  body.support-theme .resource-trail { gap: 0 16px; padding-bottom: 8px; margin-bottom: 15px; }
  body.support-theme .resource-trail a { min-height: 44px; display: inline-flex; align-items: center; }
  body.support-theme .resource-reading { padding-top: 8px; gap: 24px; }
  body.support-theme .apply-visual { margin-bottom: 14px; }
  body[data-page="route"] .route-itinerary{display:grid;grid-template-columns:1fr;gap:18px;padding:24px}
  body[data-page="route"] .route-itinerary li{padding:0!important;border:0!important;font-size:17px!important;min-width:0}
  body[data-page="route"] .route-itinerary li+li::before{display:none}
  body[data-page="route"] .route-itinerary small{font-size:14px!important}
  body[data-page="route"] .data-grid .card{min-width:0;padding:18px!important}
  body[data-page="route"] .data-grid{grid-template-columns:1fr!important}
  body[data-page="route"] .data-grid .card+.card{border-left:0!important;border-top:1px solid #c5d7c5!important}
  body.admin-page .admin-section{min-width:0}
  body.admin-page :is(.admin-toolbar,.admin-actions){flex-wrap:wrap;gap:12px}
}
@media(max-width:560px){
  .account-masthead { padding: 100px 20px 46px; }
  .account-masthead h1 { font-size: clamp(37px, 10vw, 51px); }
  .account-masthead-inner { gap: 14px; }
  .account-wave { height: 28px; }
  .account-content { margin-inline: 20px; padding-top: 16px; }
  .account-header-link { min-height: 44px; }
  body[data-page="settings"] .settings-group { padding-block: 19px; }
  body[data-page="settings"] .setting-row h3 { margin-bottom: 4px; }
  body[data-page="settings"] .setting-row .toggle {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    margin-top: 0;
  }
  body[data-page="settings"] .settings-security-actions { min-width: 0; }
  body[data-page="settings"] .settings-security-actions button { white-space: normal; }
  body[data-page="transcripts"] .transcript-archive .transcript-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding-block: 15px;
  }
  body[data-page="transcripts"] .transcript-main { grid-column: 1 / -1; }
  body[data-page="transcripts"] .transcript-archive .transcript-actions {
    grid-area: 2 / 1;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
  }
  body[data-page="transcripts"] .transcript-archive .transcript-status {
    grid-area: 2 / 2;
    position: static;
    align-self: center;
    justify-self: end;
  }
  body[data-page="transcripts"] .transcript-archive .transcript-details { margin-top: 7px; }
  body[data-page="transcripts"] .transcript-archive .transcript-download { min-width: 44px; }

  .wallet-masthead { padding: 100px 20px 51px; }
  .public-site .wallet-heading { margin-bottom: 14px; }
  .public-site .wallet-heading h1.page-title { font-size: clamp(37px, 10vw, 51px); }
  .public-site .wallet-heading-tools { margin-top: 7px; }
  .public-site .wallet-heading-tools a { display: inline-flex; align-items: center; min-height: 44px; }
  .public-site .wallet-balance-card { gap: 16px; }
  .public-site .wallet-breakdown { padding-top: 15px; }
  .public-site .wallet-breakdown h2 { font-size: 20px; margin-bottom: 12px; }
  .public-site .wallet-balance-card__ledger { gap: 15px 12px; }
  .public-site .wallet-balance-card__ledger dd { font-size: clamp(16px, 5vw, 21px); }
  .public-site .wallet-breakdown-help { display: inline-flex; align-items: center; min-height: 44px; margin-top: 7px; }
  .public-site .wallet-activity-panel { margin-inline: 20px; }
  .public-site .wallet-activity-panel .tab-btn { min-height: 44px; padding-inline: 12px; }
  .public-site .wallet-modal .wallet-action-card__head { padding: 17px 20px 28px; }
  .public-site .wallet-modal .wallet-action-card__head h2 { font-size: clamp(33px, 9vw, 42px); }
  .public-site .wallet-modal .wallet-modal__body { padding: 16px 20px 20px; }
  .public-site .wallet-modal .field { margin-bottom: 16px; }
  .public-site .wallet-modal .wallet-note-disclosure { margin-bottom: 16px; }

  .profile-masthead, .receipt-masthead { padding: 96px 20px 46px; }
  .records-masthead .records-wave { height: 28px; }
  .records-back { min-height: 44px; }
  .profile-layout { padding-top: 17px; }
  .profile-identity { grid-template-columns: 68px minmax(0, 1fr); column-gap: 14px; }
  .profile-identity > #p-avatar { width: 68px; height: 68px; }
  .profile-stats { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); row-gap: 15px; padding-bottom: 16px; }
  .profile-stat strong { font: 700 clamp(21px, 6.6vw, 29px)/1.2 var(--font-ui); letter-spacing: -.04em; }
  .profile-stat span { font-size: 13px; }
  body[data-page="profile"] .profile-trade {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    padding-block: 14px 6px;
  }
  .profile-trade-route { grid-column: 1 / -1; gap: 8px; }
  body[data-page="profile"] .profile-trade-method { flex-direction: row; align-items: flex-start; gap: 7px; }
  body[data-page="profile"] .profile-trade-method > div { width: auto; min-width: 0; }
  .profile-trade-method > img { width: 27px !important; height: 27px !important; border-radius: 6px; }
  body[data-page="profile"] .profile-trade-method b { overflow-wrap: anywhere; font-size: 14px; }
  body[data-page="profile"] .profile-trade-method strong { white-space: normal; overflow-wrap: anywhere; }
  .profile-counterparty { align-self: center; }
  body[data-page="profile"] .profile-receipt { grid-column: 2; justify-self: end; font-size: 13px; }
  .receipt-heading { gap: 10px; margin-bottom: 17px; }
  .receipt-heading h1 { font-size: clamp(34px, 9.8vw, 48px); }
  .receipt-route { align-items: start; }
  .receipt-route .receipt-side { align-items: flex-start; gap: 7px; }
  .receipt-side > img { width: 39px !important; height: 39px !important; border-radius: 8px; }
  .receipt-side strong { font-size: clamp(23px, 7.3vw, 36px); }
  .receipt-route .receipt-arrow { align-self: center; }
  .receipt-body { padding-top: 23px; gap: 22px; }
  .receipt-body h2 { margin-bottom: 15px; }
  .receipt-avatar { width: 52px; height: 52px; }
  .receipt-person { gap: 12px; margin-bottom: 10px; }
  .receipt-person a { min-height: 44px; margin-top: 1px; }

  .admin-page .workspace-overview .stat { padding: 11px 13px; }
  .admin-page .workspace-overview .stat-label { margin-bottom: 3px; }
  .admin-page .workspace-overview .stat-val { font-size: 23px; }
  .admin-page .overview-tools { margin-top: 20px; }
  .admin-page .overview-tools button { padding-block: 12px; }
  .admin-page :is(.admin-nav-toggle, .workspace-server .input, .admin-tab) { min-height: 44px; }
  .admin-page #a-transcript-rows > li[data-row-short] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }
  .admin-page #a-transcript-rows > li[data-row-short] > :last-child {
    justify-content: flex-start !important;
  }
  .admin-page #a-transcript-rows .btn-ghost {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .admin-page #a-exchanger-table tbody tr:has(td:nth-child(2)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
  .admin-page #a-exchanger-table tbody tr:has(td:nth-child(2)) > td {
    height: auto;
    padding: 0;
  }
  .admin-page #a-exchanger-table td:is(:first-child, :nth-child(4), :last-child) {
    grid-column: 1 / -1;
  }
  .admin-page #a-exchanger-table .btn-ghost { min-height: 44px; }
  #t-earnings .earnings-daily-table { position: relative; }
  #t-earnings .earnings-daily-table :is(table, tbody, tfoot) {
    display: block;
    min-width: 0;
    width: 100%;
  }
  #t-earnings .earnings-daily-table thead {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    min-width: 0;
    height: 1px;
    overflow: hidden;
  }
  #t-earnings .earnings-daily-table :is(tbody, tfoot) tr {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 12px;
    border-bottom: 1px solid var(--rule);
  }
  #t-earnings .earnings-daily-table tfoot tr {
    background: var(--bg-raised);
    border-bottom: 0;
  }
  #t-earnings .earnings-daily-table :is(tbody, tfoot) :is(th, td) {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    height: auto;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
  }
  #t-earnings .earnings-daily-table tr > :first-child {
    grid-column: 1 / -1;
    font-weight: 650;
  }
  #t-earnings .earnings-daily-table td:nth-child(n+2)::before {
    display: block;
    color: var(--mute);
    font-size: 11px;
    font-weight: 400;
  }
  #t-earnings .earnings-daily-table td:nth-child(2)::before { content: "Owner income"; }
  #t-earnings .earnings-daily-table td:nth-child(3)::before { content: "Exchanger earnings"; }
  #t-earnings .earnings-daily-table td:nth-child(4)::before { content: "Trades"; }
  #t-earnings .earnings-daily-table td:nth-child(5)::before { content: "Volume"; }

  /* Bring each first useful action into the initial phone viewport. */
  .fees-masthead, .ex-masthead, .history-masthead { padding: 101px 20px 51px; }
  .fees-masthead :is(h1, p), .ex-masthead :is(h1, p), .history-masthead :is(h1, p) { max-width: none; }
  .fees-masthead h1, .ex-masthead h1, .history-masthead h1 {
    font-size: clamp(37px, 10vw, 55px);
    line-height: 1.08;
    margin-bottom: 8px;
  }
  .fees-masthead p, .ex-masthead p, .history-masthead p { font-size: 16px; line-height: 1.45; }
  .fees-masthead__edge, .ex-masthead__edge, .history-masthead__edge { height: 28px; }
  .history-masthead h1 br { display: none; }
  .history-masthead__inner { gap: 16px; }
  .history-today {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    border-top: 1px solid #78957c8c;
    padding-top: 11px;
  }
  .history-today__date { flex-basis: 100%; margin-bottom: 2px; }
  .history-today > strong { font: 650 17px/1.4 var(--font-ui); margin: 0; }
  .history-content { padding-inline: 20px; }
  .history-tools { gap: 5px; margin-bottom: 16px; }
  .history-transcripts, .timeline-receipt { min-height: 44px; }
  .history-day__heading { flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
  .timeline-entry {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 13px 0 3px 14px;
    min-height: 0;
  }
  .timeline-trade { grid-column: 1 / -1; grid-row: 1; }
  .timeline-time { grid-column: 1; grid-row: 2; align-self: center; }
  .timeline-ticket { grid-column: 2; grid-row: 2; font-size: 12px; }
  .timeline-receipt { grid-column: 3; grid-row: 2; }
  .timeline-people { margin-top: 7px; }
  .timeline-entry::after { top: 23px; }

  .ex-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 17px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    color: #526055;
  }
  .ex-summary strong { display: block; font-size: 19px; font-weight: 700; color: #0b1910; }
  .ex-controls { gap: 8px; margin-bottom: 15px; }
  .ex-grid { gap: 12px; }
  .ex-card { padding: 15px; border-radius: 13px; }
  .ex-card__identity { min-height: 0; gap: 12px; padding-bottom: 12px; }
  .ex-card__avatar { width: 56px; height: 56px; border-width: 2px; }
  .ex-card__name, .ex-card__name.is-long { font-size: clamp(25px, 7vw, 34px); }
  .ex-card__activity { font-size: 14px; margin-top: 2px; }
  .ex-card__metrics { padding-top: 11px; margin-bottom: 12px; }
  .ex-card__metrics dt { font-size: 13px; white-space: normal; }
  .ex-card__metrics dd { font-size: 27px; }
  .ex-card__profile { min-height: 44px; font-size: 15px; padding-block: 8px; }

  .fees-content { margin-inline: 20px; }
  .fee-directions {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 16px;
  }
  .fee-directions > button { grid-column: span 2; min-height: 44px; padding: 7px 4px; font-size: 13px; }
  .fee-directions > button:nth-child(n + 4) { grid-column: span 3; }
  .fees-tools { gap: 10px; margin-bottom: 8px; }
  body[data-page="fees"] .fees-table{display:block;--fee-method-icon:34px}
  body[data-page="fees"] .fees-table :is(colgroup,thead){display:none}
  body[data-page="fees"] .fees-table tbody{display:block}
  body[data-page="fees"] .fees-table .fee-method-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 44px;gap:8px 10px;height:auto;padding:12px 0;border-bottom:1px solid #d3ddcf}
  body[data-page="fees"] .fees-table .fee-method-row>th{grid-column:1/4;padding:0;border:0}
  body[data-page="fees"] .fees-table .fee-method-identity{gap:12px}
  body[data-page="fees"] .fees-table .fee-method-identity>strong{font-size:17px;line-height:1.4}
  body[data-page="fees"] .fees-table .fee-method-row>td{padding:0;border:0;align-self:start;font-size:17px;text-align:left}
  body[data-page="fees"] .fees-table .fee-method-row>.fee-expand{grid-column:4;grid-row:1/3;align-self:center}
  body[data-page="fees"] .fee-expand-button{height:44px;width:44px;padding:8px}
  body[data-page="fees"] .fees-table :is(.fee-rate,.fee-minimum,.fee-example)::before{display:block;font:400 12px/1.5 var(--font-ui);color:#647861;margin-bottom:4px;letter-spacing:0}
  body[data-page="fees"] .fees-table .fee-rate::before{content:'Rate'}
  body[data-page="fees"] .fees-table .fee-minimum::before{content:'Minimum'}
  body[data-page="fees"] .fees-table .fee-example::before{content:'Your fee'}
  body[data-page="fees"] .fees-table .fee-destinations-row{display:block}
  body[data-page="fees"] .fees-table .fee-destinations-row[hidden]{display:none}
  body[data-page="fees"] .fees-table .fee-destinations-row>td{display:block;width:100%;box-sizing:border-box;padding:18px 14px;border:0}
  body[data-page="fees"] .fee-destinations li{font-size:15px;line-height:1.5}
  body[data-page="fees"] .fees-bottom>p{font-size:15px;line-height:1.6}
  body[data-page="fees"] .fees-start{width:100%;justify-content:space-between}
  body[data-page="history"] .history-entry{min-width:0}
}
@media(max-width:360px){body[data-page] .site-header__inner{padding-inline:16px;gap:8px}body[data-page] .header-actions{gap:6px}body[data-page] .site-header .brand{width:138px}body[data-page] .site-footer{padding-inline:20px;gap:26px 18px}body[data-page] .site-footer nav a{font-size:13px}body[data-page="home"] .community-totals{gap:12px}body[data-page="home"] .community-totals dd{font-size:29px}body[data-page="home"] .community-totals dt{font-size:12px}body.support-theme .support-content{margin-inline:18px}body.support-theme[data-page] .support-masthead{padding-inline:18px}body.support-theme .apply-visual{grid-template-columns:1fr}body.support-theme .apply-ticket-preview{display:none}body[data-page="fees"] .fees-table .fee-method-row{grid-template-columns:repeat(3,minmax(0,1fr)) 44px;column-gap:7px}body[data-page="fees"] .fee-expand-button{width:44px;padding:8px}}
@media (max-width: 360px) {
  body[data-page="home"] .exchange-desk .amount-wrap { flex-shrink: 0; flex-basis: 108px; }
  body[data-page="home"] .exchange-desk :is(.amount-wrap, .receive-value strong) { font-size: 24px; }
  body[data-page="home"] .exchange-desk .route-picker__trigger { padding-inline: 6px; font-size: 13px; }
}
@media(prefers-reduced-motion:reduce){body[data-page] *{scroll-behavior:auto!important}}
