/* A quiet, comparison-first surface for the live model market. */
:root {
  --bg: #f4f6f8;
  --ink: #20262e;
  --muted: #66727c;
  --line: #e2e6ea;
  --purple: #176752;
  --purple-2: #2a806a;
  --green: #39765c;
  --green-bg: #eef5f0;
  --navy: #ffffff;
  --shadow: none;
  --radius: 7px;
}

html, body {background:var(--bg);color:var(--ink)}
.sidebar {background:#fff;border-right-color:var(--line);color:#59636d}
.brand,.brand strong {color:#20262e}
.brand small {color:#7d8791}
.brand-mark {background:#176752;color:#fff;box-shadow:none}
.workspace-pill {background:#f7f8f9;border-color:#e7eaed;color:#66727c;border-radius:5px}
.nav-list {gap:3px}
.nav-item {height:42px;border-radius:5px;color:#59636d}
.nav-item:hover {background:#f4f6f7;color:#20262e}
.nav-item.active {background:#eef5f0;box-shadow:inset 2px 0 #176752;color:#174d3f}
.nav-item.active>span {color:#176752}
.fee-card {background:#fff;border-color:#e5e8eb;border-radius:7px}
.fee-value {color:#20262e}
.fee-value span {color:#69747e}
.fee-label,.fee-card p,.safe-note {color:#66727c}
.fee-card p {font-size:11px}
.safe-note {font-size:11px}
.topbar {background:#fff;border-bottom-color:var(--line)}
.breadcrumb {color:#74808a}
.breadcrumb strong {color:#252d35}
.icon-btn,.account-entry {color:#424d57;border-color:#dce1e5;border-radius:5px}
.avatar {background:#f1f3f5;border-color:#dfe3e6;color:#36414a}
.view {max-width:1600px}
.page-heading {margin-bottom:23px;align-items:center}
.page-heading h1,#market-title {font-family:var(--ui-font);font-size:28px;font-weight:600;line-height:1.35;letter-spacing:-.45px;color:#20262e}
.subtitle {max-width:72ch;margin-top:7px;color:#66727c;font-size:13px;line-height:1.7}
.eyebrow {display:none}
.guest-marketplace #view-market .page-heading {padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.guest-marketplace .provider-filters .provider-filter.active {padding-left:1px;padding-right:1px;border-radius:0;background:transparent;border-bottom-color:#176752}
.guest-marketplace #view-market #offerGrid>.empty-row {border:0;border-radius:0;background:#fff;color:#59656f!important;box-shadow:none}
.btn {border-radius:5px;font-weight:500;box-shadow:none}
.btn.primary {background:#176752;border-color:#176752;color:#fff;box-shadow:none}
.btn.primary:hover {background:#105440;border-color:#105440;box-shadow:none;transform:none}
.btn.secondary {background:#fff;border-color:#d8dde1;color:#4f5a63}
.btn.secondary:hover {border-color:#9eb6a9;background:#f9fbf9;color:#174d3f}
.demo-banner {background:#f7f8f9;border-color:#e4e7ea;border-radius:5px;color:#4f697d}
.demo-banner strong {color:#3b566a}
.demo-banner span:not(.banner-icon) {color:#596875}

/* One shared ledger strip reads as context for the catalog, not four widgets. */
.metric-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:hidden;margin-bottom:30px;border:1px solid #e0e4e7;border-radius:7px;background:#fff}
.metric-card {display:block;min-width:0;padding:14px 19px;border:0;border-radius:0;background:transparent;box-shadow:none}
.metric-card+.metric-card {border-left:1px solid #e8ebee}
.metric-card .metric-icon {display:none}
.metric-card>div:last-child {display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:2px 8px;min-width:0}
.metric-card span {grid-column:1/-1;color:#66727c;font-size:11px}
.metric-card strong {margin:0;color:#20262e;font-size:24px;font-weight:550;line-height:1.35;font-variant-numeric:tabular-nums}
.metric-card small {color:#76818a;font-size:11px;white-space:nowrap}
.section-head {align-items:center;gap:18px;margin-bottom:13px}
.section-head h2 {margin:0 0 2px;color:#20262e;font-size:17px;font-weight:600;letter-spacing:-.1px}
.section-head p {max-width:82ch;margin:0;color:#66727c;font-size:11px;line-height:1.65}
.filter-row select,.chat-form-foot select {border-color:#d9dfe3;border-radius:5px;background:#fff;color:#46525c}
.provider-filters {gap:20px;border-bottom-color:#dfe4e7}
.provider-filters button,.provider-filter {color:#65717b}
.provider-filters button.active,.provider-filter.active {border-bottom-color:#176752;background:transparent;color:#174d3f}
.provider-filter small {background:#eef1f3;color:#5e6871;border-radius:4px}
.provider-filter.active small {background:#e6efe9;color:#315d46}

/* The selected view shares the same offers, filters, sorting and actions. */
.market-toolbar {flex-wrap:wrap}
.market-layout-switch {display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #d9dfe3;border-radius:6px;background:#fff}
.market-layout-switch button {display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:4px 9px;border:0;border-radius:3px;background:transparent;color:#66727c;font-size:11px;line-height:1.5;white-space:nowrap}
.market-layout-switch button svg {width:15px;height:15px;flex-shrink:0}
.market-layout-switch button:hover {background:#f4f6f7;color:#174d3f}
.market-layout-switch button[aria-pressed="true"] {background:#e9f2ed;color:#176752;font-weight:600}
.market-layout-switch button:focus-visible {outline:2px solid #176752;outline-offset:2px}
.market-toolbar .sort-label {margin-left:6px}

/* List view aligns comparable data across each row. */
.offer-grid {display:flex;flex-direction:column;gap:0;overflow:hidden;border:1px solid #dfe4e8;border-radius:7px;background:#fff}
#offerGrid>.empty-row {grid-column:auto;border:0;border-radius:0;background:#fff;box-shadow:none}
.offer-card {display:grid;grid-template-columns:minmax(155px,1.05fr) minmax(270px,1.65fr) minmax(170px,.95fr) 122px;align-items:center;gap:18px;padding:15px 19px;border:0;border-bottom:1px solid #e8ecef;border-radius:0;background:#fff;box-shadow:none;transform:none;transition:background .14s ease}
.offer-card:last-child {border-bottom:0}
.offer-card:hover {border-color:#e8ecef;background:#f8faf9;box-shadow:none;transform:none}
.offer-top {display:block;min-width:0}
.offer-top .offer-status {display:block;margin-top:4px;margin-left:44px}
.offer-model {gap:10px;max-width:100%}
.offer-model>div {min-width:0}
.provider-chip {width:34px;height:34px;border:1px solid #e2e7ea;border-radius:6px;background:#f7f8f9;color:#53616b;box-shadow:none}
.openai-chip,.openai-response-chip,.anthropic-chip,.claude-chip,.gemini-chip,.deepseek-chip,.generic-chip {background:#f5f7f8;border-color:#e2e7ea;color:#53616b}
.offer-model h3 {color:#20262e;font-size:13px;font-weight:600;line-height:1.5}
.offer-model small {margin-top:2px;color:#66727c;font-size:11px;line-height:1.5}
.offer-status {padding:0;background:transparent;color:#39765c;font-size:11px;white-space:nowrap}
.offer-price {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.offer-price .price-unit {grid-column:1/-1;margin:0 0 3px;color:#66727c;font-size:10px;text-align:left}
.price-cell {min-width:0;padding:0 12px;border-left:1px solid #e8ecef}
.price-cell:nth-child(2) {padding-left:0;border-left:0}
.price-cell:last-child {padding-right:0}
.offer-price .price-cell>span {display:block;margin-bottom:2px;color:#66727c;font-size:10px}
.offer-price .price-cell strong {color:#20262e;font-size:21px;font-weight:550;letter-spacing:-.35px;line-height:1.3;font-variant-numeric:tabular-nums}
.offer-price .price-cell strong.price-compact {font-size:15px;letter-spacing:-.2px}
.offer-meta {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;border:0}
.offer-meta>div {min-width:0}
.offer-meta span {font-size:10px;color:#66727c}
.offer-meta b {margin-top:2px;color:#35414a;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}
.offer-actions {display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:0;padding:0;border:0}
.offer-actions button {flex:initial;white-space:nowrap}
.offer-actions .small-btn {min-height:33px;padding:6px 10px;border:1px solid #176752;border-radius:5px;background:#176752;color:#fff;font-size:11px;font-weight:500}
.offer-actions .small-btn:hover {background:#105440;border-color:#105440;color:#fff}
.offer-actions .outline-btn {min-height:30px;padding:5px 0;border:0;background:transparent;color:#59656f;font-size:11px}
.offer-actions .outline-btn:hover {color:#176752;text-decoration:underline}

/* Cards put each model, its prices and its actions on one compact surface. */
.offer-grid[data-layout="cards"] {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px;overflow:visible;border:0;border-radius:0;background:transparent}
.offer-grid[data-layout="cards"]>.empty-row {grid-column:1/-1;padding:32px 20px;border:1px solid #e0e5e8;border-radius:7px;background:#fff}
.offer-grid[data-layout="cards"] .offer-card {display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;padding:20px;border:1px solid #dfe4e8;border-radius:7px;background:#fff}
.offer-grid[data-layout="cards"] .offer-card:hover {border-color:#a9bfb4;background:#fff}
.offer-grid[data-layout="cards"] .offer-top {display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.offer-grid[data-layout="cards"] .offer-model {flex:1;min-width:0;max-width:none;align-items:flex-start}
.offer-grid[data-layout="cards"] .offer-model h3 {font-size:14px;overflow-wrap:anywhere}
.offer-grid[data-layout="cards"] .offer-model small {font-size:11px}
.offer-grid[data-layout="cards"] .offer-status {margin:3px 0 0;font-size:11px}
.offer-grid[data-layout="cards"] .offer-price {margin:18px 0 16px;padding:12px;border:1px solid #e7ece9;border-radius:5px;background:#f6f8f7}
.offer-grid[data-layout="cards"] .price-unit {margin-bottom:8px;font-size:10px}
.offer-grid[data-layout="cards"] .price-cell {padding:0 12px}
.offer-grid[data-layout="cards"] .price-cell:nth-child(2) {padding-left:0}
.offer-grid[data-layout="cards"] .price-cell:last-child {padding-right:0}
.offer-grid[data-layout="cards"] .price-cell strong {font-size:24px}
.offer-grid[data-layout="cards"] .price-cell strong.price-compact {font-size:15px}
.offer-grid[data-layout="cards"] .offer-meta {margin-bottom:17px;gap:10px}
.offer-grid[data-layout="cards"] .offer-meta b {overflow-wrap:anywhere}
.offer-grid[data-layout="cards"] .offer-actions {justify-content:space-between;margin-top:auto;padding-top:14px;border-top:1px solid #e8ecef}
.offer-grid[data-layout="cards"] .offer-actions .small-btn {min-height:35px;padding:7px 13px;font-size:12px}
.offer-grid[data-layout="cards"] .offer-actions .outline-btn {font-size:12px}

.exchange-strip {margin:20px 0;gap:12px;border-color:#e1e6e9;border-radius:6px;background:#fff}
.exchange-symbol {border-color:#e3e7ea;border-radius:5px;background:#f6f8f9;color:#53616b}
.exchange-strip strong,.exchange-values b {color:#35414a}
.exchange-strip p,.exchange-values {color:#66727c}
.text-btn,.link-btn {color:#176752}
.market-bottom {gap:14px}
.panel {border-color:#e0e5e8;border-radius:7px;background:#fff;box-shadow:none}
.panel h3 {color:#20262e;font-weight:600}
.panel-title p {color:#66727c}
.spot-row,.listing-row {border-top-color:#e8ecef}
.spot-row strong,.listing-row strong {color:#35414a;font-weight:500}
.spot-row small,.listing-row small {color:#66727c}
.spot-row>b,.listing-row b {color:#35414a;font-variant-numeric:tabular-nums}
.live-dot {color:#39765c}
.spot-row .small-btn {border-color:#d9e3dc;background:#f5f8f6;color:#315d46}

/* Keep secondary workflows quiet and use the same practical contrast. */
.supply-card,.table-panel,.account-identity,.account-records,.account-welcome,.wallet-stat,.funding-panel {border-color:#e0e5e8;border-radius:7px;background:#fff;box-shadow:none}
.supply-card h3,.supply-stats b,.wallet-stat>strong,.account-identity h2 {color:#20262e}
.supply-card .supply-chip,.status,.account-role {border-radius:4px;background:#eef5f0;color:#315d46}
.supply-stats span,.wallet-stat>span,.wallet-stat>small {color:#66727c}
.steps span {color:#176752}
.steps strong {color:#35414a}
.steps p,.record-purpose,.account-footnote,.account-order small {color:#66727c}
.wallet-balance {border-color:#e0e5e8;border-radius:7px;background:#fff;color:#20262e}
.wallet-balance>span,.wallet-balance>div {color:#66727c}
.wallet-balance>strong {color:#20262e}
.wallet-balance b,.wallet-stat>strong {color:#20262e}
.wallet-balance .btn {background:#176752;border-color:#176752;color:#fff}
.ledger-tabs button.active {background:#eef5f0;color:#315d46}
.table-toolbar,.modal-head,.modal-foot {border-color:#e2e6ea}
th {background:#f6f8f9;color:#59656f}
td,td strong {color:#35414a}
.modal {border-color:#e2e6ea;border-radius:8px;box-shadow:0 16px 50px rgb(28 38 45 / 15%)}
.modal-head h2,.detail-big h3 {color:#20262e}
.modal-head p,.detail-big p,.detail-list span,.form-hint {color:#59656f}
.form-field label {color:#46525c}
.form-field input,.form-field select {border-color:#d8dfe3;border-radius:5px;color:#35414a}
.form-field input:focus,.form-field select:focus {border-color:#7da693;box-shadow:0 0 0 3px rgb(23 103 82 / 12%)}
.toast {border-color:#e2e6ea;border-radius:6px;color:#35414a;box-shadow:0 5px 20px rgb(28 38 45 / 10%)}
.toast.success {border-left-color:#4b8b66}
.toast.error {border-left-color:#b46356;color:#8b4038}
.account-balance {border-color:#e0e5e8;border-radius:7px;background:#f0f5f1}
.account-balance span,.account-balance p,.account-shortcuts span,.account-shortcuts small {color:#53635a}
.account-balance strong,.account-shortcuts strong {color:#20262e}
.account-shortcuts>button[data-account-view] {border-radius:7px;color:#20262e}

@media (min-width:1700px) {
  .offer-grid[data-layout="cards"] {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1150px) and (min-width:1101px) {
  .offer-card {grid-template-columns:minmax(125px,.95fr) minmax(250px,1.6fr) minmax(145px,.95fr) 122px;gap:12px;padding:14px}
  .offer-price .price-cell strong {font-size:20px}
  .offer-price .price-cell strong.price-compact {font-size:14px}
  .price-cell {padding:0 8px}
}
@media (max-width:1100px) and (min-width:761px) {
  .offer-card {grid-template-columns:minmax(0,1fr) minmax(230px,1.2fr);gap:10px 18px;padding:15px 17px}
  .offer-top {grid-column:1;grid-row:1}
  .offer-price {grid-column:2;grid-row:1}
  .offer-meta {grid-column:1;grid-row:2}
  .offer-actions {grid-column:2;grid-row:2}
  .offer-price .price-cell strong {font-size:20px}
  .offer-price .price-cell strong.price-compact {font-size:14px}
  .price-cell {padding:0 8px}
  .metric-card {padding:13px}
  .metric-card small {display:none}
}
@media (max-width:760px) {
  .page-heading {display:block}
  .page-heading h1,#market-title {font-size:25px}
  .heading-actions {max-width:none;flex-wrap:nowrap;margin-top:16px}
  .metric-grid {grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:24px}
  .metric-card {padding:12px 14px}
  .metric-card:nth-child(3) {border-left:0}
  .metric-card:nth-child(n+3) {border-top:1px solid #e8ebee}
  .metric-card strong {font-size:21px}
  .section-head {align-items:flex-start}
  .section-head>div:first-child {min-width:0}
  .section-head p {max-width:52ch}
  #view-market .section-head {flex-wrap:wrap;gap:12px}
  #view-market .section-head>div:first-child {flex-basis:100%}
  #view-market .section-head .market-toolbar {width:100%;justify-content:space-between;margin:0 0 2px;gap:8px}
  .market-toolbar .sort-label {display:none}
  .market-layout-switch button {min-height:30px;padding:4px 10px}
  .offer-grid[data-layout="cards"] {grid-template-columns:minmax(0,1fr);gap:12px}
  .offer-grid[data-layout="cards"] .offer-card {padding:17px}
  .offer-grid[data-layout="cards"] .price-cell {padding:0 9px}
  .offer-grid[data-layout="cards"] .price-cell strong {font-size:23px}
  .offer-grid[data-layout="cards"] .price-cell strong.price-compact {font-size:13px}
  .offer-grid {overflow:visible;border:0;border-radius:0;background:transparent;gap:10px}
  .offer-card {grid-template-columns:minmax(0,1fr);gap:12px;padding:15px;border:1px solid #e0e5e8;border-radius:6px;background:#fff}
  .offer-card:hover {border-color:#ccd6d1;background:#fff}
  .offer-top,.offer-price,.offer-meta,.offer-actions {grid-column:1;grid-row:auto}
  .offer-model h3 {font-size:13px}
  .offer-model small {font-size:10px}
  .offer-price {padding:10px 0;border-top:1px solid #e8ecef;border-bottom:1px solid #e8ecef}
  .offer-price .price-unit {margin-bottom:6px}
  .offer-price .price-cell strong {font-size:21px}
  .offer-price .price-cell strong.price-compact {font-size:14px}
  .offer-meta {padding-top:1px}
  .offer-actions {justify-content:space-between}
  .panel {padding:18px}
  .chat-panel,.table-panel {padding:0}
}
@media (max-width:480px) {
  .view {padding-left:16px;padding-right:16px}
  .topbar {padding-left:16px;padding-right:16px}
  .metric-card {padding:11px 10px}
  .metric-card strong {font-size:19px}
  .metric-card small {font-size:9px}
  .offer-card {padding:14px 12px}
  .offer-price .price-cell>span,.offer-meta span {font-size:10px}
  .offer-price .price-cell strong {font-size:20px}
  .price-cell {padding:0 7px}
  .exchange-strip {gap:8px;padding:12px}
  .exchange-values {flex-wrap:wrap;gap:6px 12px}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .offer-card:hover,.btn.primary:hover {transform:none}
}

/* Retain concurrent title, description and numeric-fit behavior. */
.offer-model>.offer-identity {flex:1;min-width:0}
.offer-title {display:block;max-width:100%;min-height:24px;padding:0;border:0;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.offer-title:hover {color:#176752;text-decoration:underline;text-underline-offset:3px}
.offer-title:focus-visible {outline:2px solid #176752;outline-offset:2px;border-radius:2px}
.offer-model .offer-model-id {overflow-wrap:anywhere;word-break:break-word}
.offer-description {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-width:72ch;margin:10px 0 0;color:#59656f;font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-line}
.offer-price {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;container:market-price / inline-size}
.market-bottom>.panel {min-width:0}
.detail-big>div {min-width:0}
.detail-big h3 {white-space:normal;overflow-wrap:anywhere}
.offer-description-section {margin:18px 0;padding:16px 0;border-top:1px solid #e2e6ea;border-bottom:1px solid #e2e6ea}
.offer-description-section h4 {margin:0 0 8px;color:#20262e;font-size:13px;font-weight:600}
.offer-full-description,.offer-description-empty {margin:0;color:#46525c;font-size:13px;line-height:1.85;overflow-wrap:anywhere;white-space:pre-wrap}
.offer-description-empty {color:#66727c}
.form-field .field-optional {color:#66727c;font-weight:400}
.form-field textarea {width:100%;min-height:108px;resize:vertical;padding:10px;border:1px solid #d8dfe3;border-radius:5px;outline:0;background:#fcfcfe;color:#35414a;font:inherit;font-size:12px;line-height:1.75;transition:border-color .18s ease,box-shadow .18s ease}
.form-field textarea:focus {border-color:#7da693;box-shadow:0 0 0 3px rgb(23 103 82 / 12%);background:#fff}
.form-field textarea::placeholder {color:#7a8780}
@container market-price (max-width:260px) {
  .offer-grid .offer-price .price-cell,
  .offer-grid[data-layout="cards"] .offer-price .price-cell {grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 10px;padding:5px 0;border-left:0}
  .offer-grid .offer-price .price-cell>span {margin:0}
  .offer-grid .offer-price .price-cell strong.price-compact {font-size:14px;white-space:normal;overflow-wrap:anywhere}
}

/* White-space direction: make the application read as one calm marketplace. */
:root {
  --bg:#fff;
  --ink:#111;
  --muted:#666;
  --line:#e6e6e6;
  --purple:#111;
  --purple-2:#303030;
  --green:#2f7047;
  --green-bg:#eef5ef;
  --navy:#fff;
  --shadow:none;
  --radius:0;
}
html,body {background:#fff;color:#111}
.app-shell {display:block;min-height:100vh}
.sidebar {
  position:sticky;inset:0 0 auto;z-index:100;width:100%;height:78px;min-height:78px;
  flex-direction:row;align-items:center;padding:0 max(32px,calc((100vw - 1360px)/2));
  background:#fff;border:0;border-bottom:1px solid #ececec;color:#222
}
.guest-marketplace .sidebar {display:flex}
.guest-marketplace .nav-item:not([data-view="market"]) {display:none}
.brand {flex:none;justify-self:start;justify-content:flex-start;gap:10px;margin:0;padding:0;color:#111}
.brand>div {display:block}
.brand-mark {width:30px;height:30px;border-radius:50%;background:#111;color:#fff}
.brand-mark svg {width:21px;height:21px}
.brand strong {display:block;font-size:15px;font-weight:600;letter-spacing:0}
.brand small {display:none}
.workspace-pill,.sidebar-bottom {display:none}
.nav-list {display:flex;flex:0 1 auto;align-items:center;gap:2px;width:auto;margin:0 205px 0 auto}
.nav-item {
  position:relative;width:auto;height:78px;padding:0 12px;border-radius:0;background:transparent;
  color:#565656;font-size:13px;white-space:nowrap;transition:color .15s ease
}
.nav-item>span {display:none}
.nav-item:hover {background:transparent;color:#111}
.nav-item.active {background:transparent;color:#111;box-shadow:none;font-weight:600}
.nav-item.active::after {display:block;position:absolute;right:12px;bottom:17px;left:12px;width:auto;height:2px;margin:0;border-radius:0;background:#111;content:""}
.main-content {position:relative;width:100%;min-width:0;margin:0}
.topbar {
  position:fixed;top:0;right:0;left:0;z-index:101;height:78px;padding:0 max(32px,calc((100vw - 1360px)/2));
  justify-content:flex-end;border:0;background:transparent;pointer-events:none
}
.breadcrumb,.mobile-brand {display:none!important}
.top-actions {gap:12px;pointer-events:auto}
.icon-btn {width:34px;height:34px;border:0;background:transparent;color:#555}
.icon-btn:hover {background:#f3f3f3;color:#111}
.account-entry {max-width:180px;min-height:38px;padding:8px 13px;border:0;border-radius:999px;background:transparent;color:#222;font-size:13px}
.account-entry:hover,.account-entry.is-signed-in {border:0;background:#f3f3f3;color:#111}
.register-entry,.btn.primary {min-height:40px;padding:9px 18px;border:1px solid #111;border-radius:999px;background:#111;color:#fff;font-size:13px;font-weight:500;box-shadow:none}
.register-entry:hover,.btn.primary:hover {border-color:#333;background:#333;box-shadow:none;transform:none}
.btn.secondary {min-height:40px;padding:9px 15px;border:0;border-radius:999px;background:#f3f3f3;color:#222;font-size:13px}
.btn.secondary:hover {border-color:transparent;background:#eaeaea;color:#111}
.view {width:100%;max-width:1400px;margin:0 auto;padding:0 72px 120px}
.page-heading {align-items:flex-end;gap:44px;margin:0}
.page-heading h1,#market-title {font-family:var(--ui-font);font-size:54px;font-weight:600;line-height:1.12;letter-spacing:-1.2px;color:#111}
.subtitle {max-width:62ch;margin:18px 0 0;color:#646464;font-size:16px;line-height:1.75}
.heading-actions {flex:none;align-items:center;gap:12px;max-width:none}
.heading-actions .btn {width:auto}
.guest-marketplace #view-market .page-heading {padding:0 0 var(--market-heading-gap,48px);border:0;border-radius:0;background:transparent;box-shadow:none}
.market-overview {padding:92px 0 0;border:0;border-bottom:1px solid #e7e7e7;border-radius:0;background:#fff;box-shadow:none}
.market-overview .page-heading {align-items:flex-start;min-height:0;padding-bottom:var(--market-heading-gap,48px)}
.market-overview .page-heading>div:first-child {max-width:760px}
.metric-grid {
  grid-template-columns:repeat(4,minmax(0,1fr));gap:42px;margin:0;padding:30px 0 42px;
  overflow:visible;border:0;border-radius:0;background:#fff
}
.metric-card,.metric-card+.metric-card {display:block;min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.metric-card .metric-icon {display:none}
.metric-card>div:last-child {display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;min-width:0}
.metric-card span {display:block;flex-basis:100%;color:#717171;font-size:13px}
.metric-card strong {margin:0;color:#111;font-size:28px;font-weight:500;line-height:1.35;font-variant-numeric:tabular-nums}
.metric-card small {color:#747474;font-size:12px;white-space:normal}
.market-catalog {padding-top:66px}
.section-head {align-items:flex-end;gap:24px;margin-bottom:24px}
.section-head h2 {margin:0 0 7px;color:#111;font-size:30px;font-weight:550;letter-spacing:-.45px}
.section-head p {color:#6b6b6b;font-size:14px;line-height:1.65}
.filter-row {gap:13px}
.market-toolbar {flex-wrap:nowrap}
.market-layout-switch {gap:12px;padding:0;border:0;border-radius:0;background:transparent}
.market-layout-switch button {min-height:34px;padding:4px 0;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;color:#707070;font-size:12px}
.market-layout-switch button:hover {background:transparent;color:#111}
.market-layout-switch button[aria-pressed="true"] {border-bottom-color:#111;background:transparent;color:#111;font-weight:600}
.market-toolbar .sort-label {margin-left:10px;color:#777;font-size:12px}
.market-toolbar select,.filter-row select {min-height:36px;padding:5px 22px 5px 0;border:0;border-bottom:1px solid #dedede;border-radius:0;background-color:#fff;color:#222;font-size:13px}
.provider-filters {gap:28px;margin:0 0 10px;padding:0 0 15px;overflow-x:auto;border-bottom:1px solid #e7e7e7;scrollbar-width:none}
.provider-filters::-webkit-scrollbar {display:none}
.provider-filter,.provider-filters button {position:relative;flex:none;padding:0 0 3px;border:0;border-radius:0;background:transparent;color:#6d6d6d;font-size:13px;white-space:nowrap}
.provider-filter:hover,.provider-filters button:hover {color:#111;background:transparent}
.provider-filter.active,.provider-filters button.active {border:0;border-radius:0;background:transparent;color:#111;font-weight:600}
.provider-filter.active::after,.provider-filters button.active::after {position:absolute;right:0;bottom:-16px;left:0;height:2px;background:#111;content:""}
.provider-filter small {margin-left:4px;padding:0;background:transparent;color:#8a8a8a;font-size:11px}
.provider-filter.active small {background:transparent;color:#555}
.guest-marketplace .provider-filters .provider-filter.active {padding-left:0;padding-right:0;border-radius:0;background:transparent;border-bottom-color:transparent}
.offer-grid {display:block;overflow:visible;border:0;border-radius:0;background:transparent}
#offerGrid>.empty-row,#offerGrid[data-layout="cards"]>.empty-row {
  grid-column:1/-1;margin:0;padding:42px 0!important;border:0;border-radius:0;
  background:transparent;color:#696969!important;box-shadow:none;text-align:left;font-size:15px
}
.guest-marketplace #view-market #offerGrid>.empty-row {border:0;border-radius:0;background:transparent;color:#696969!important;box-shadow:none}
.offer-grid[data-layout="cards"] {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:18px;overflow:visible;border:0;background:transparent}
.offer-grid[data-layout="cards"] .offer-card {
  display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;min-height:320px;padding:24px;
  border:1px solid #d4d4d4;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgb(17 17 17 / 4%);
  transition:border-color .16s ease,box-shadow .16s ease
}
.offer-grid[data-layout="cards"] .offer-card:hover,
.offer-grid[data-layout="cards"] .offer-card:focus-within {border-color:#a3a3a3;background:#fff;box-shadow:0 4px 14px rgb(17 17 17 / 6%)}
.offer-grid[data-layout="cards"] .offer-top {display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.offer-grid[data-layout="cards"] .offer-model {flex:1;min-width:0;max-width:none;align-items:flex-start;gap:13px}
.offer-grid[data-layout="cards"] .offer-model h3 {overflow:visible;color:#111;font-size:16px;font-weight:550;line-height:1.45;white-space:normal;text-overflow:clip;overflow-wrap:anywhere}
.offer-grid[data-layout="cards"] .offer-model small {margin-top:5px;color:#737373;font-size:13px;line-height:1.5}
.offer-grid[data-layout="cards"] .provider-chip {width:34px;height:34px;border:0;border-radius:50%;background:#f4f4f4;color:#282828}
.offer-grid[data-layout="cards"] .offer-status {margin:2px 0 0;padding:0;background:transparent;color:#39754d;font-size:12px}
.offer-grid[data-layout="cards"] .offer-price {grid-template-columns:repeat(3,minmax(0,1fr));margin:36px 0 28px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.offer-grid[data-layout="cards"] .price-unit {margin:0 0 15px;color:#787878;font-size:11px}
.offer-grid[data-layout="cards"] .price-cell {padding:0 12px;border-left:1px solid #e8e8e8}
.offer-grid[data-layout="cards"] .price-cell:nth-child(2) {padding-left:0;border-left:0}
.offer-grid[data-layout="cards"] .price-cell:last-child {padding-right:0}
.offer-grid[data-layout="cards"] .price-cell>span {margin-bottom:5px;color:#777;font-size:12px}
.offer-grid[data-layout="cards"] .price-cell strong {color:#111;font-size:25px;font-weight:500;letter-spacing:0;line-height:1.3}
.offer-grid[data-layout="cards"] .price-cell strong.price-compact {font-size:16px}
.offer-grid[data-layout="cards"] .offer-meta {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:27px;padding:0;border:0}
.offer-grid[data-layout="cards"] .offer-meta span {color:#777;font-size:11px}
.offer-grid[data-layout="cards"] .offer-meta b {margin-top:4px;color:#292929;font-size:13px;font-weight:500;overflow-wrap:anywhere}
.offer-grid[data-layout="cards"] .offer-actions {justify-content:flex-start;gap:18px;margin-top:auto;padding:0;border:0}
.offer-grid[data-layout="cards"] .offer-actions .small-btn {min-height:38px;padding:9px 17px;border:0;border-radius:999px;background:#111;color:#fff;font-size:13px}
.offer-grid[data-layout="cards"] .offer-actions .small-btn:hover {background:#333}
.offer-grid[data-layout="cards"] .offer-actions .outline-btn {min-height:38px;padding:8px 0;color:#333;font-size:13px}
.offer-grid[data-layout="cards"] .offer-actions .outline-btn:hover {color:#111;text-decoration:underline}
.offer-grid[data-layout="list"] {display:block;border:0;background:transparent}
.offer-grid[data-layout="list"] .offer-card {
  display:grid;grid-template-columns:minmax(195px,1.15fr) minmax(280px,1.6fr) minmax(190px,1fr) 156px;
  align-items:center;gap:32px;padding:28px 0;border:0;border-bottom:1px solid #e7e7e7;border-radius:0;background:#fff;box-shadow:none
}
.offer-grid[data-layout="list"] .offer-card:hover {border-color:#d9d9d9;background:#fff}
.offer-grid[data-layout="list"] .offer-top {display:block;min-width:0}
.offer-grid[data-layout="list"] .offer-model {gap:13px;max-width:none}
.offer-grid[data-layout="list"] .offer-model h3 {overflow:visible;color:#111;font-size:15px;font-weight:550;line-height:1.45;white-space:normal;text-overflow:clip;overflow-wrap:anywhere}
.offer-grid[data-layout="list"] .offer-model small {margin-top:5px;color:#737373;font-size:12px}
.offer-grid[data-layout="list"] .provider-chip {width:34px;height:34px;border:0;border-radius:50%;background:#f4f4f4;color:#282828}
.offer-grid[data-layout="list"] .offer-status {display:block;margin:7px 0 0 47px;padding:0;color:#39754d;font-size:12px}
.offer-grid[data-layout="list"] .offer-price {grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;border:0;background:transparent}
.offer-grid[data-layout="list"] .price-cell {padding:0 13px;border-color:#e8e8e8}
.offer-grid[data-layout="list"] .price-cell:nth-child(2) {padding-left:0;border-left:0}
.offer-grid[data-layout="list"] .price-cell:last-child {padding-right:0}
.offer-grid[data-layout="list"] .price-unit {margin-bottom:9px;color:#777;font-size:11px}
.offer-grid[data-layout="list"] .price-cell>span {color:#777;font-size:12px}
.offer-grid[data-layout="list"] .price-cell strong {color:#111;font-size:23px;font-weight:500;letter-spacing:0}
.offer-grid[data-layout="list"] .price-cell strong.price-compact {font-size:15px}
.offer-grid[data-layout="list"] .offer-meta {gap:12px;padding:0;border:0}
.offer-grid[data-layout="list"] .offer-meta span {color:#777;font-size:11px}
.offer-grid[data-layout="list"] .offer-meta b {margin-top:4px;color:#292929;font-size:12px;font-weight:500;overflow-wrap:anywhere}
.offer-grid[data-layout="list"] .offer-actions {justify-content:flex-end;gap:16px;margin:0;padding:0;border:0}
.offer-grid[data-layout="list"] .offer-actions .small-btn {min-height:38px;padding:8px 15px;border:0;border-radius:999px;background:#111;color:#fff;font-size:12px}
.offer-grid[data-layout="list"] .offer-actions .outline-btn {min-height:36px;padding:7px 0;color:#333;font-size:12px}
.exchange-strip {margin:28px 0 0;padding:22px 0;border:0;border-top:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7;border-radius:0;background:#fff}
.exchange-symbol {border:0;border-radius:50%;background:#f4f4f4;color:#333}
.exchange-strip strong,.exchange-values b {color:#222}
.exchange-strip p,.exchange-values {color:#6c6c6c}
.market-bottom {gap:64px;margin-top:70px}
.market-bottom .panel {padding:29px 0 0;border:0;border-top:1px solid #e7e7e7;border-radius:0;background:transparent;box-shadow:none}
.market-bottom .panel-title {margin-bottom:21px}
.market-bottom .panel h3 {color:#111;font-size:21px;font-weight:500}
.market-bottom .panel-title p {margin-top:8px;color:#707070;font-size:13px}
.spot-row,.listing-row {padding:16px 0;border-color:#e7e7e7}
.spot-row strong,.listing-row strong {color:#222;font-size:13px}
.spot-row small,.listing-row small {color:#777;font-size:12px}
.spot-row>b,.listing-row b {color:#222}
.spot-row .small-btn {border:0;border-radius:999px;background:#f3f3f3;color:#222}
.text-btn,.link-btn {color:#222}
.btn:focus-visible,.nav-item:focus-visible,.provider-filter:focus-visible,.provider-filters button:focus-visible,
.market-layout-switch button:focus-visible,.offer-actions button:focus-visible,.text-btn:focus-visible,.link-btn:focus-visible {
  outline:2px solid #111;outline-offset:4px
}

@media (max-width:1100px) {
  .sidebar {padding-right:30px;padding-left:30px}
  .nav-list {margin-right:190px}
  .nav-item {padding-right:9px;padding-left:9px;font-size:12px}
  .nav-item.active::after {right:9px;left:9px}
  .view {padding-right:42px;padding-left:42px}
  .offer-grid[data-layout="list"] .offer-card {grid-template-columns:minmax(170px,1fr) minmax(280px,1.5fr) minmax(180px,1fr) 145px;gap:20px}
  .offer-grid[data-layout="list"] .offer-meta {grid-template-columns:1fr}
}
@media (max-width:920px) {
  .sidebar,.guest-marketplace .sidebar {display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:58px 46px;height:104px;min-height:104px;padding:0 25px}
  .brand {grid-column:1;grid-row:1}
  .nav-list {grid-column:1/-1;grid-row:2;gap:4px;margin:0;overflow-x:auto;scrollbar-width:none}
  .nav-list::-webkit-scrollbar {display:none}
  .nav-item {height:44px;padding:0 11px;font-size:12px}
  .nav-item.active::after {right:11px;bottom:0;left:11px}
  .topbar {top:0;height:58px;padding:0 25px}
  .view {padding-right:36px;padding-left:36px}
  .market-overview {--market-heading-gap:36px;padding-top:64px}
  .page-heading h1,#market-title {font-size:46px}
  .metric-grid {gap:22px}
  .offer-grid[data-layout="list"] .offer-card {grid-template-columns:minmax(160px,1fr) minmax(260px,1.5fr) 140px;gap:20px}
  .offer-grid[data-layout="list"] .offer-meta {display:none}
}
@media (max-width:680px) {
  .sidebar,.guest-marketplace .sidebar {grid-template-rows:56px 44px;height:100px;min-height:100px;padding:0 20px}
  .brand-mark {width:28px;height:28px}
  .topbar {top:0;height:56px;padding:0 20px}
  .top-actions {gap:4px}
  .icon-btn {width:32px;height:32px}
  .account-entry {max-width:92px;min-height:34px;padding:6px 10px;font-size:12px}
  .register-entry {min-height:35px;padding:7px 13px;font-size:12px}
  .nav-list {gap:0}
  .nav-item {height:44px;padding:0 8px;font-size:13px}
  .view {padding:0 22px 82px}
  #view-market.active {display:flex;flex-direction:column}
  #view-market .market-overview {display:contents}
  #view-market .market-overview .page-heading {order:0;margin-top:55px;padding-bottom:32px;border-bottom:1px solid #e7e7e7}
  #view-market .market-catalog {order:1;padding-top:36px}
  #view-market .metric-grid {order:2;margin-top:44px;padding:26px 0;border-top:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7}
  #view-market .market-bottom {order:3}
  .market-overview {--market-heading-gap:32px;padding-top:55px}
  .market-overview .page-heading {display:block}
  .market-overview .page-heading>div:first-child {max-width:none}
  .page-heading h1,#market-title {font-size:42px;letter-spacing:-.8px}
  .subtitle {max-width:42ch;margin-top:15px;font-size:15px;line-height:1.7}
  .heading-actions {margin-top:26px}
  .metric-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;padding:24px 0 30px}
  .metric-card strong {font-size:25px}
  .metric-card span {font-size:12px}
  .metric-card small {font-size:11px}
  .market-catalog {padding-top:48px}
  .section-head {display:block;margin-bottom:19px}
  .section-head h2 {font-size:26px}
  .section-head p {font-size:13px}
  .market-toolbar {justify-content:flex-start;margin-top:17px;gap:12px}
  .market-layout-switch {margin-right:auto}
  .market-toolbar .sort-label {display:none}
  .provider-filters {gap:23px;margin-bottom:0;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#c5c5c5 transparent}
  .provider-filters::-webkit-scrollbar {display:block;height:3px}
  .provider-filters::-webkit-scrollbar-thumb {border-radius:3px;background:#c5c5c5}
  .offer-grid[data-layout="cards"] {grid-template-columns:minmax(0,1fr);gap:16px}
  .offer-grid[data-layout="cards"] .offer-card {min-height:0;padding:20px 18px}
  .offer-grid[data-layout="cards"] .offer-price {margin:27px 0 23px}
  .offer-grid[data-layout="cards"] .price-cell {padding:0 8px}
  .offer-grid[data-layout="cards"] .price-cell strong {font-size:23px}
  .offer-grid[data-layout="cards"] .price-cell strong.price-compact {font-size:14px}
  .offer-grid[data-layout="cards"] .offer-meta {margin-bottom:22px}
  .offer-grid[data-layout="list"] .offer-card {grid-template-columns:minmax(0,1fr);gap:20px;padding:25px 0}
  .offer-grid[data-layout="list"] .offer-meta {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .offer-grid[data-layout="list"] .offer-price {max-width:430px}
  .offer-grid[data-layout="list"] .offer-actions {justify-content:flex-start}
  .exchange-strip {align-items:flex-start;flex-wrap:wrap;gap:12px;margin-top:16px;padding:20px 0}
  .exchange-strip>div:nth-child(2) {flex:1;min-width:180px}
  .exchange-values {width:100%;margin:0;flex-wrap:wrap;gap:7px 20px}
  .market-bottom {grid-template-columns:1fr;gap:38px;margin-top:48px}
}
@media (max-width:390px) {
  .sidebar,.guest-marketplace .sidebar {padding:0 15px}
  .topbar {padding:0 15px}
  .view {padding-right:18px;padding-left:18px}
  .nav-item {padding:0 6px;font-size:13px}
  .nav-item.active::after {right:6px;left:6px}
  .page-heading h1,#market-title {font-size:38px}
  .offer-grid[data-layout="cards"] .offer-model h3 {font-size:15px}
  .offer-grid[data-layout="cards"] .price-cell {padding:0 6px}
  .offer-grid[data-layout="cards"] .price-cell strong {font-size:21px}
  .offer-grid[data-layout="cards"] .price-cell strong.price-compact {font-size:13px}
}

/* Account workflows share the same open page rhythm as the market. */
#view-wallet,#view-orders,#view-supply,#view-account,.modal {
  --ws-ink:#111;--ws-muted:#666;--ws-line:#e6e6e6;color:var(--ws-ink);letter-spacing:0
}
#view-wallet,#view-orders,#view-supply,#view-account {padding:82px 72px 110px;background:#fff}
#view-wallet .page-heading,#view-orders .page-heading,#view-supply .page-heading,#view-account .page-heading {align-items:flex-start;gap:28px;margin:0 0 56px}
#view-wallet .page-heading h1,#view-orders .page-heading h1,#view-supply .page-heading h1,#view-account .page-heading h1 {color:#111;font-size:42px;font-weight:500;line-height:1.25;letter-spacing:-.6px}
#view-wallet .subtitle,#view-orders .subtitle,#view-supply .subtitle,#view-account .subtitle {max-width:62ch;margin-top:15px;color:#666;font-size:15px;line-height:1.8}
#view-wallet :focus-visible,#view-orders :focus-visible,#view-supply :focus-visible,#view-account :focus-visible,.modal :focus-visible {outline:2px solid #111;outline-offset:4px;box-shadow:none}
#view-wallet .wallet-grid {grid-template-columns:1.25fr 1fr 1fr;gap:46px;margin:0 0 54px;padding:0 0 40px;border-bottom:1px solid var(--ws-line)}
#view-wallet .wallet-grid>.panel {min-width:0;min-height:0;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none}
#view-wallet .wallet-balance>span,#view-wallet .wallet-stat>span {color:#666;font-size:13px}
#view-wallet .wallet-balance>strong {margin:14px 0;color:#111;font-size:42px;font-weight:500;line-height:1.2;letter-spacing:0;font-variant-numeric:tabular-nums}
#view-wallet .wallet-balance>div {justify-content:flex-start;gap:8px;margin:0;color:#666;font-size:12px}
#view-wallet .wallet-balance b {margin:0;color:#111;font-weight:500}
#view-wallet .wallet-stat>strong {margin:15px 0 6px;color:#111;font-size:30px;font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#view-wallet .wallet-stat>small {color:#666;font-size:13px;line-height:1.7}
#view-wallet .funding-panel,#view-wallet .ledger-panel {padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#view-wallet .funding-panel {margin:0 0 52px;padding:0 0 34px;border-bottom:1px solid var(--ws-line)}
#view-wallet .funding-panel h3,#view-wallet .ledger-panel h3,#view-orders .account-section-head h3,#view-supply .how-panel h3 {color:#111;font-size:21px;font-weight:500;line-height:1.45}
#view-wallet .funding-panel>p {max-width:76ch;margin:12px 0 0;color:#666;font-size:14px;line-height:1.9}
#view-wallet .ledger-panel .table-toolbar {align-items:flex-start;gap:26px;padding:0 0 22px;border-bottom:1px solid var(--ws-line)}
#view-wallet .record-purpose {max-width:68ch;margin:9px 0 0;color:#666;font-size:13px;line-height:1.8}
#view-wallet .ledger-calls-link,#view-wallet .link-btn,#view-orders .link-btn,#view-supply .link-btn,#view-account .link-btn {min-height:32px;color:#333;font-size:13px;text-decoration:underline;text-decoration-color:#aaa;text-underline-offset:4px}
#view-wallet .ledger-tabs {gap:22px}
#view-wallet .ledger-tabs button {min-height:38px;padding:5px 0 9px;border-radius:0;border-bottom:1px solid transparent;color:#666;font-size:13px}
#view-wallet .ledger-tabs button.active {border-bottom-color:#111;background:transparent;color:#111;font-weight:500}
#view-wallet .table-wrap {overflow-x:auto;border:0}
#view-wallet .table-wrap table {min-width:650px;background:#fff}
#view-wallet .table-wrap th {padding:18px 16px;border-bottom:1px solid var(--ws-line);background:#fff;color:#666;font-size:12px;font-weight:500}
#view-wallet .table-wrap td {padding:20px 16px;border-top:0;border-bottom:1px solid var(--ws-line);color:#333;font-size:13px;line-height:1.65}
#view-wallet .table-wrap td strong {color:#111;font-size:13px;font-weight:500}
#view-wallet .table-wrap td small {color:#666;font-size:12px}
#view-wallet .empty-row {padding:32px 16px!important;color:#666!important;text-align:left}
#view-wallet .status {padding:0;border-radius:0;background:transparent;color:#666}
#view-orders .activity-section {padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#view-orders .account-section-head {gap:24px;padding-bottom:24px;border-bottom:1px solid var(--ws-line)}
#view-orders .account-section-head h3 {margin:0}
#view-orders .activity-scope-note {color:#666;font-size:12px}
#view-orders .activity-tabs {gap:30px;margin-top:0;border-bottom:1px solid var(--ws-line)}
#view-orders .activity-tabs>button {min-height:56px;padding:0 0 13px;border-bottom:2px solid transparent;color:#666;font-size:13px}
#view-orders .activity-tabs>button[aria-selected="true"] {border-bottom-color:#111;color:#111;font-weight:500}
#view-orders .activity-tabs>button>span {min-width:22px;padding:2px 6px;border-radius:999px;background:#f2f2f2;color:#555;font-size:11px}
#view-orders .activity-summary {grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;padding:30px 0;border-bottom:1px solid var(--ws-line)}
#view-orders .activity-summary span {margin-bottom:8px;color:#666;font-size:12px}
#view-orders .activity-summary strong {color:#111;font-size:18px;font-weight:500;line-height:1.5}
#view-orders .activity-record {padding:27px 0;border-bottom-color:var(--ws-line)}
#view-orders .activity-record h4 {color:#111;font-size:14px;font-weight:500}
#view-orders .activity-record-head p,#view-orders .activity-record-amount>span,#view-orders .activity-record-meta,#view-orders .activity-record-meta time,#view-orders .activity-details,#view-orders .activity-feedback,#view-orders .activity-pagination>span {color:#666}
#view-orders .activity-record-amount strong,#view-orders .activity-record-meta b,#view-orders .activity-details dd {color:#222;font-weight:500}
#view-orders .activity-details dl {padding:14px 0;border-top:1px solid var(--ws-line);border-bottom:1px solid var(--ws-line);border-radius:0;background:transparent}
#view-supply .supply-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 64px;margin:0;border-top:1px solid var(--ws-line)}
#view-supply .supply-card {min-width:0;padding:30px 0 34px;border:0;border-bottom:1px solid var(--ws-line);border-radius:0;background:transparent;box-shadow:none}
#view-supply .supply-card h3 {color:#111;font-size:16px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
#view-supply .supply-card .form-hint {color:#666;font-size:12px;line-height:1.8}
#view-supply .supply-card .supply-chip {align-self:flex-start;padding:3px 0;border:0;border-radius:0;background:transparent;color:#666;font-size:12px}
#view-supply .supply-stats {gap:18px;margin-top:24px;padding-top:0;border-top:0}
#view-supply .supply-stats span {color:#666;font-size:12px}
#view-supply .supply-stats b {margin-top:7px;color:#111;font-size:15px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}
#view-supply .how-panel {margin:64px 0 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#view-supply .how-panel>h3 {margin:0 0 28px}
#view-supply .steps {grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;margin-top:0}
#view-supply .steps>div {min-width:0;padding-top:20px;border-top:1px solid var(--ws-line)}
#view-supply .steps>div::after {content:none}
#view-supply .steps span {color:#888;font-size:12px;font-weight:400}
#view-supply .steps strong {margin-top:14px;color:#111;font-size:15px;font-weight:500}
#view-supply .steps p {max-width:36ch;margin-top:10px;color:#666;font-size:13px;line-height:1.8}
#view-account .account-welcome {max-width:760px;margin:0 auto;padding:56px 28px 44px;border:0;border-top:1px solid var(--ws-line);border-bottom:1px solid var(--ws-line);border-radius:0;background:#fff;box-shadow:none;text-align:left}
#view-account .account-emblem {width:auto;height:auto;margin:0 0 28px;border:0;border-radius:0;background:transparent;color:#888;font-size:13px;font-weight:400}
#view-account .account-welcome h2 {max-width:18ch;margin:0 0 16px;color:#111;font-size:30px;font-weight:500;line-height:1.4}
#view-account .account-welcome p {max-width:52ch;margin:0;color:#666;font-size:14px;line-height:1.9}
#view-account .account-welcome-actions {justify-content:flex-start;flex-wrap:wrap;gap:12px;margin:30px 0 20px}
#view-account .account-welcome>small {color:#666;font-size:12px;line-height:1.8}
#view-account .account-layout {grid-template-columns:minmax(230px,.72fr) minmax(0,1.6fr);gap:clamp(42px,6vw,90px);align-items:start}
#view-account .account-identity {min-width:0;padding:0 0 28px;border:0;border-bottom:1px solid var(--ws-line);border-radius:0;background:transparent;box-shadow:none}
#view-account .account-identity .account-emblem {width:48px;height:48px;margin:0 0 24px;border:1px solid var(--ws-line);border-radius:50%;color:#111;font-size:16px}
#view-account .account-identity h2 {margin:0 0 5px;color:#111;font-size:24px;font-weight:500;line-height:1.45}
#view-account .account-identity>p,#view-account .account-identity dt,#view-account .account-identity dd {color:#666;font-size:13px;line-height:1.7}
#view-account .account-identity dl {margin:28px 0}
#view-account .account-identity dl>div {gap:16px;padding:13px 0;border-top-color:var(--ws-line)}
#view-account .account-identity dd {color:#111}
#view-account .account-role,#view-account .account-role.is-admin {padding:0;border:0;border-radius:0;background:transparent;color:#111;font-size:12px}
#view-account .account-status,#view-account .account-status.is-pending {color:#666}
#view-account .account-status::before {background:#438e63;box-shadow:none}
#view-account .account-status.is-pending::before {background:#888}
#view-account .account-logout {width:auto}
#view-account .account-balance {align-items:flex-end;padding:0 0 30px;border:0;border-bottom:1px solid var(--ws-line);border-radius:0;background:transparent;box-shadow:none}
#view-account .account-balance span,#view-account .account-balance p {color:#666;font-size:13px;line-height:1.8}
#view-account .account-balance strong {margin:10px 0 3px;color:#111;font-size:42px;font-weight:500;line-height:1.2;letter-spacing:0;font-variant-numeric:tabular-nums}
#view-account .account-shortcuts {gap:0 32px;margin:32px 0 26px}
#view-account .account-shortcuts>button[data-account-view] {min-width:0;padding:20px 0 23px;border:0;border-bottom:1px solid var(--ws-line);border-radius:0;background:transparent;color:#111;text-align:left}
#view-account .account-shortcuts>button[data-account-view]:hover {border-color:#aaa;background:transparent}
#view-account .account-shortcuts span,#view-account .account-shortcuts small {color:#666;font-size:12px;line-height:1.7}
#view-account .account-shortcuts strong {margin:10px 0 5px;color:#111;font-size:20px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
#view-account .account-footnote {max-width:64ch;margin:28px 0 0;color:#666;font-size:13px;line-height:1.9}
.modal {width:min(580px,100%);border:1px solid #e1e1e1;border-radius:16px;background:#fff;box-shadow:0 28px 90px rgb(17 17 17 / 16%);color:#111}
.modal-root {z-index:300;background:rgb(0 0 0 / 22%)}
.toast-root {z-index:400}
.modal .modal-head {gap:20px;padding:28px 32px 23px;border-bottom-color:var(--ws-line)}
.modal .modal-head h2 {color:#111;font-size:21px;font-weight:500;line-height:1.45}
.modal .modal-head p {margin-top:8px;color:#666;font-size:13px;line-height:1.8}
.modal .modal-close {color:#555}
.modal .modal-close:hover {background:#f3f3f3;color:#111}
.modal .modal-body {padding:28px 32px 32px;color:#333;font-size:13px;line-height:1.8;scrollbar-color:#ccc transparent}
.modal .form-grid {gap:22px 18px}
.modal .form-field {gap:9px}
.modal .form-field label {color:#333;font-size:13px}
.modal .form-field input,.modal .form-field select,.modal .form-field textarea {min-height:46px;padding:11px 13px;border:1px solid #d7d7d7;border-radius:7px;background:#fff;color:#111;font-size:13px}
.modal .form-field input:focus,.modal .form-field select:focus,.modal .form-field textarea:focus {border-color:#666;background:#fff;box-shadow:none}
.modal .form-hint,.modal .auth-intro,.modal .auth-form .form-field small,.modal .auth-password-hint {color:#666;font-size:12px;line-height:1.8}
.modal .auth-form {gap:20px}
.modal .auth-tabs {gap:26px;border-bottom-color:var(--ws-line)}
.modal .auth-tabs button {color:#666}
.modal .auth-tabs button[aria-selected="true"] {border-bottom-color:#111;color:#111}
.modal .auth-error,.modal .auth-feedback,.modal .auth-dev-code {border-color:var(--ws-line);border-radius:6px;background:#f7f7f7;color:#333}
.modal .password-toggle {color:#333}
.modal .auth-remember,.modal .auth-account-note {color:#666}
.modal .auth-remember input {accent-color:#111}
.modal .modal-foot {gap:12px;padding:19px 32px;border-top-color:var(--ws-line);background:#fff}
.modal .auth-submit,.modal .auth-resend {min-height:46px}
.modal .detail-big h3,.modal .detail-list b {color:#111}
.modal .detail-big p,.modal .detail-list span,.modal .gateway-detail-note {color:#666}
.modal .rate-box,.modal .activity-details dl {border:0;border-top:1px solid var(--ws-line);border-radius:0;background:transparent}

@media (max-width:1100px) {
  #view-wallet,#view-orders,#view-supply,#view-account {padding:64px 42px 90px}
  #view-wallet .wallet-grid {gap:28px}
  #view-account .account-layout {grid-template-columns:minmax(210px,.8fr) minmax(0,1.4fr);gap:38px}
}
@media (max-width:760px) {
  #view-wallet,#view-orders,#view-supply,#view-account {padding:48px 22px 70px}
  #view-wallet .page-heading,#view-orders .page-heading,#view-supply .page-heading,#view-account .page-heading {margin-bottom:40px}
  #view-wallet .page-heading h1,#view-orders .page-heading h1,#view-supply .page-heading h1,#view-account .page-heading h1 {font-size:34px}
  #view-wallet .wallet-grid {grid-template-columns:1fr 1fr;gap:28px 20px;margin-bottom:38px;padding-bottom:28px}
  #view-wallet .wallet-grid>.wallet-balance {grid-column:1/-1;padding-bottom:24px;border-bottom:1px solid var(--ws-line)}
  #view-wallet .wallet-balance>strong {font-size:36px}
  #view-wallet .wallet-stat>strong {font-size:25px}
  #view-wallet .funding-panel {margin-bottom:38px;padding-bottom:27px}
  #view-wallet .ledger-panel .table-toolbar {flex-direction:column;gap:16px}
  #view-wallet .ledger-panel .ledger-tabs {width:100%;margin-left:0}
  #view-orders .activity-summary {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}
  #view-supply .supply-grid {grid-template-columns:1fr}
  #view-supply .supply-card {padding:26px 0 28px}
  #view-supply .how-panel {margin-top:44px}
  #view-supply .steps {grid-template-columns:1fr;gap:24px}
  #view-account .account-layout {grid-template-columns:1fr;gap:40px}
  #view-account .account-identity {display:grid;grid-template-columns:48px minmax(0,1fr);gap:0 16px;padding-bottom:25px}
  #view-account .account-identity .account-emblem {grid-row:1/3;margin:0}
  #view-account .account-identity h2 {align-self:end}
  #view-account .account-identity>p {align-self:start}
  #view-account .account-identity dl,#view-account .account-logout {grid-column:1/-1}
  #view-account .account-identity dl {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:23px 0}
  #view-account .account-identity dd {text-align:left;overflow-wrap:anywhere}
  #view-account .account-balance {align-items:flex-start;gap:20px}
  #view-account .account-balance strong {font-size:36px}
  #view-account .account-shortcuts {gap:0 20px}
  #view-account .account-welcome {padding:38px 0 32px}
  #view-account .account-welcome h2 {font-size:26px}
  .modal {max-height:calc(100dvh - 28px);border-radius:13px}
  .modal .modal-head {padding:23px 22px 18px}
  .modal .modal-body {padding:23px 22px 26px}
  .modal .modal-foot {padding:16px 22px}
  .modal .form-grid {grid-template-columns:1fr;gap:19px}
  .modal .form-field.full {grid-column:auto}
}
@media (max-width:480px) {
  #view-wallet,#view-orders,#view-supply,#view-account {padding:42px 18px 60px}
  #view-wallet .wallet-grid {gap:24px 14px}
  #view-wallet .wallet-balance>div {flex-wrap:wrap}
  #view-orders .account-section-head {align-items:flex-start;flex-direction:column;gap:8px}
  #view-orders .activity-tabs {gap:18px}
  #view-orders .activity-tabs>button {font-size:12px}
  #view-orders .activity-record-head {flex-wrap:wrap}
  #view-orders .activity-record-amount {max-width:100%;text-align:left}
  #view-account .account-balance {flex-direction:column;align-items:flex-start}
  #view-account .account-shortcuts {grid-template-columns:1fr}
  #view-account .account-welcome-actions {align-items:flex-start;flex-direction:column}
  .modal .modal-head,.modal .modal-body,.modal .modal-foot {padding-right:18px;padding-left:18px}
  .modal .modal-foot {flex-wrap:wrap}
}

/* Preserve the interactive supply title without clipping long model names. */
.offer-title {white-space:normal;overflow:visible;overflow-wrap:anywhere}
.offer-title:hover {color:#111}
.offer-title:focus-visible {outline-color:#111}
