/* WebCash uses Air's surfaces, accents, controls and dark-mode palette. */
.site-header .wc-header-wallet, .site-header .wc-header-cart { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:8px 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); color:var(--text); font-size:14px; line-height:20px; font-weight:600; white-space:nowrap; }
.site-header .wc-header-cart { background:var(--accent-soft); color:var(--accent-strong); border-color:transparent; }
.site-header .wc-header-wallet:hover, .site-header .wc-header-cart:hover { background:var(--accent-hover-soft); color:var(--accent-strong); }
.site-header .wc-header-cart b { display:grid; place-items:center; min-width:20px; height:20px; padding:0 4px; border-radius:8px; background:var(--surface); color:var(--accent-strong); font-size:12px; line-height:16px; }
.wc-app { display:grid; grid-template-columns:240px minmax(0,1fr); gap:24px; align-items:start; color:var(--text); margin-block:8px 32px; width:100%; }
.wc-account, .wc-panel { background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-soft); }
.wc-account { padding:24px 12px; min-width:0; max-width:100%; }
.wc-profile { display:grid; justify-items:center; gap:8px; padding:0 12px 24px; }
.wc-profile strong { font-size:18px; line-height:28px; }
.wc-profile > span { color:var(--muted); font-size:12px; line-height:16px; }
.wc-avatar img { width:64px; height:64px; border-radius:16px; object-fit:cover; }
.wc-nav { display:grid; gap:4px; }
.wc-nav a { display:flex; align-items:center; gap:12px; min-height:48px; padding:12px; color:var(--muted); border-radius:8px; font-size:14px; line-height:20px; }
.wc-nav a .icon { width:20px; height:20px; flex:0 0 20px; }
.wc-nav a b { font-weight:600; }
.wc-nav a.is-active, .wc-nav a:hover { background:var(--accent-soft); color:var(--accent-strong); }
.wc-main { display:grid; gap:24px; min-width:0; }
.wc-panel { padding:24px; min-width:0; }
.wc-panel h2 { margin:0 0 24px; font-size:24px; line-height:32px; font-weight:600; text-wrap:balance; }
.wc-panel p { margin-bottom:16px; text-wrap:pretty; }
.wc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.wc-stat, .wc-card { display:grid; align-content:start; gap:12px; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); min-width:0; }
.wc-stat > span, .wc-muted { color:var(--muted); font-size:14px; line-height:20px; }
.wc-stat > strong { color:var(--accent-strong); font-size:24px; line-height:32px; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.wc-quick { display:grid; gap:8px; }
.wc-action { color:var(--accent-strong); font-size:14px; line-height:20px; }
.wc-action:hover { text-decoration:underline; text-underline-offset:4px; }
.wc-form { display:grid; gap:16px; max-width:640px; margin-top:24px; }
.wc-form label { display:grid; gap:8px; font-size:14px; line-height:20px; color:var(--muted); }
.wc-form input, .wc-form textarea, .wc-form select { width:100%; min-height:48px; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--surface-soft); color:var(--text); font:inherit; }
.wc-form input[type=hidden] { display:none; }
.wc-form textarea { min-height:96px; resize:vertical; }
.wc-btn, .wc-button, .wc-product-buy button { display:inline-flex; justify-content:center; align-items:center; min-height:40px; padding:8px 12px; border:1px solid transparent; border-radius:8px; background:var(--accent-strong); color:var(--accent-ink); font-size:14px; line-height:20px; font-weight:600; cursor:pointer; }
.wc-btn:hover, .wc-button:hover { filter:brightness(.94); }
.wc-btn:active, .wc-button:active { transform:translateY(1px); }
.wc-btn:disabled { opacity:.5; cursor:default; }
.wc-app :focus-visible, .wc-header-cart:focus-visible, .wc-header-wallet:focus-visible, .wc-product-buy :focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.wc-table-wrap { max-width:100%; overflow-x:auto; }
.wc-table { width:100%; border-collapse:separate; border-spacing:0; font-size:14px; line-height:20px; }
.wc-table th, .wc-table td { padding:16px 12px; text-align:start; vertical-align:middle; overflow-wrap:anywhere; }
.wc-table th { background:var(--surface-soft); color:var(--muted); font-weight:600; white-space:nowrap; }
.wc-table tbody tr:nth-child(even) { background:var(--surface-soft); }
.wc-table td a { color:var(--accent-strong); }
.wc-cart-summary, .wc-page-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:24px; }
.wc-page-heading { margin-top:0; margin-bottom:24px; }
.wc-page-heading h2 { margin:4px 0 0; }
.wc-eyebrow { color:var(--accent-strong); font-size:12px; line-height:16px; }
.wc-cart-summary b { font-size:20px; line-height:28px; font-variant-numeric:tabular-nums; }
.wc-remove { padding:8px 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:var(--negative); cursor:pointer; white-space:nowrap; }
.wc-empty { padding:48px 24px!important; text-align:center!important; color:var(--muted); }
.wc-alert { padding:16px; margin-block:16px; border:1px solid var(--line); border-radius:8px; background:var(--surface-soft); }
.wc-error { background:var(--negative-soft); color:var(--negative); }
.wc-success { background:var(--positive-soft); color:var(--positive); }
.wc-order-detail { display:grid; grid-template-columns:128px minmax(0,1fr); gap:16px; }
.wc-order-detail span { color:var(--muted); }
.wc-order-detail b { overflow-wrap:anywhere; font-weight:600; }
.wc-skeleton { display:block; min-height:48px; padding:16px; border-radius:8px; background:var(--surface-sunk); color:var(--muted); }
.page .wc-product-buy, .page .wc-paid { border:1px solid var(--line); border-radius:16px; background:var(--surface-soft); box-shadow:none; color:var(--text); padding:24px; }
.page .wc-product-buy h3, .page .wc-product-buy__meta b, .page .wc-paid strong { color:var(--text); }
.page .wc-product-buy__meta, .page .wc-product-buy small, .page .wc-paid p, .page .wc-paid-note { color:var(--muted); }
.page .wc-product-buy__eyebrow span, .page .wc-product-buy__eyebrow em, .page .wc-paid-label, .page .wc-price { background:var(--accent-soft); color:var(--accent-strong); font-weight:600; }
.page .wc-product-buy button, .page .wc-product-login, .page .wc-paid button { background:var(--accent-strong); color:var(--accent-ink)!important; font-weight:600; border-radius:8px; }
.page .wc-product-buy input { background:var(--surface); color:var(--text); border-color:var(--line); }
.page .wc-paid-preview { background:var(--surface-sunk); color:var(--muted); }
@media (max-width:79.99em) { .site-header .wc-header-wallet > span { display:none; } .site-header .wc-header-wallet { padding:8px; } }
@media (max-width:60em) { .wc-app { grid-template-columns:minmax(0,1fr); } .wc-account { padding:16px; } .wc-profile { display:none; } .wc-nav { display:flex; overflow:auto; gap:8px; } .wc-nav a { flex:0 0 auto; min-height:40px; padding:8px 12px; } .wc-grid { grid-template-columns:1fr; } }
@media (max-width:47.5em) { .site-header .wc-mini-cart__text, .site-header .wc-header-wallet { display:none; } .site-header .wc-header-cart { padding:8px; gap:4px; } .wc-panel { padding:16px; } .wc-order-detail { grid-template-columns:1fr; gap:8px; } .wc-table th, .wc-table td { padding:12px 8px; } }
