:root{
  --primary:#8be52f;
  --primary-hover:#79d523;
  --primary-soft:#effbe5;
  --primary-ink:#2f7408;
  --info:#5b5cf6;
  --info-soft:#eeedff;
  --success:#2cae49;
  --success-soft:#e9f8ec;
  --warning:#ef8d2f;
  --warning-soft:#fff2e5;
  --danger:#e34c4c;
  --danger-soft:#fff0f0;
  --background:#f6f8fa;
  --background-secondary:#f0f3f6;
  --surface:#ffffff;
  --surface-elevated:#ffffff;
  --surface-muted:#f7f9fb;
  --border:#dfe5ea;
  --border-subtle:#edf0f2;
  --text-primary:#101820;
  --text-secondary:#536170;
  --text-muted:#8793a0;
  --shadow:0 8px 28px rgba(14,27,38,.06);
  --shadow-lg:0 22px 65px rgba(14,27,38,.12);
  --radius:12px;
  --radius-lg:16px;
  --admin-sidebar:#08121b;
  --admin-sidebar-2:#111b24;
  --admin-sidebar-line:#1c2a34;
  --admin-sidebar-text:#eaf0f4;
  --admin-sidebar-muted:#9ba8b2;
  --font-ui:'Manrope',sans-serif;
  --font-mono:'DM Mono',monospace;
  color-scheme:light;
}

html[data-theme="dark"]{
  --background:#071019;
  --background-secondary:#09141e;
  --surface:#0d1821;
  --surface-elevated:#10202b;
  --surface-muted:#111e28;
  --border:#22313d;
  --border-subtle:#182630;
  --text-primary:#f5f8fa;
  --text-secondary:#b4c0c8;
  --text-muted:#7f909d;
  --primary-soft:#172a12;
  --primary-ink:#b8f579;
  --info-soft:#1d2040;
  --success-soft:#12271a;
  --warning-soft:#2c2115;
  --danger-soft:#301a1a;
  --shadow:0 10px 32px rgba(0,0,0,.16);
  --shadow-lg:0 26px 70px rgba(0,0,0,.34);
  color-scheme:dark;
}

*{box-sizing:border-box}
html{font-family:var(--font-ui);background:var(--background);color:var(--text-primary);scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--background);color:var(--text-secondary);font-size:13px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}
.icon{display:inline-block;flex:0 0 auto}
.mono{font-family:var(--font-mono)}
.muted{color:var(--text-muted)}
.reveal{animation:reveal .35s ease both}.reveal-delay{animation:reveal .4s .06s ease both}
@keyframes reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.reveal,.reveal-delay{animation:none}}

/* Brand */
.brand{display:inline-flex;align-items:center;gap:10px;min-width:0;color:var(--text-primary)}
.brand-symbol{width:28px;height:28px;position:relative;display:inline-block;flex:0 0 28px;transform:rotate(30deg)}
.brand-symbol i{position:absolute;width:13px;height:23px;border-radius:5px;background:var(--primary)}
.brand-symbol i:first-child{left:2px;top:1px;clip-path:polygon(0 0,100% 0,100% 38%,43% 38%,43% 100%,0 100%)}
.brand-symbol i:last-child{right:2px;bottom:1px;clip-path:polygon(57% 0,100% 0,100% 100%,0 100%,0 62%,57% 62%)}
.brand-name{font-size:16px;font-weight:800;letter-spacing:.02em;white-space:nowrap}

/* Generic controls */
.button,.btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 14px;border-radius:8px;background:var(--surface-muted);color:var(--text-primary);font-weight:700;font-size:10px;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}
.button:hover,.btn:hover{transform:translateY(-1px)}
.button-primary,.btn-primary{background:var(--primary);color:#13210a;box-shadow:0 7px 20px rgba(123,221,38,.15)}
.button-primary:hover,.btn-primary:hover{background:var(--primary-hover)}
.btn-secondary{background:var(--text-primary);color:var(--background)}
.btn-outline,.btn-ghost{background:var(--surface);border:1px solid var(--border);color:var(--text-secondary)}
.btn-outline:hover,.btn-ghost:hover{border-color:#bfc9d1;color:var(--text-primary);background:var(--surface-muted)}
html[data-theme="dark"] .btn-outline:hover,html[data-theme="dark"] .btn-ghost:hover{border-color:#435563}
.btn-danger{background:var(--danger-soft);color:var(--danger);border:1px solid color-mix(in srgb,var(--danger) 24%,transparent)}
.btn-sm,.button-sm{min-height:32px;padding:0 11px;font-size:9px}
.btn-wide{width:100%}
.btn-icon{width:36px;padding:0}
.btn[disabled],.button[disabled]{opacity:.45;cursor:not-allowed;transform:none}
.icon-button,.topbar-plain{width:34px;height:34px;border:0;background:transparent;color:var(--text-secondary);border-radius:8px;display:grid;place-items:center;transition:.18s}
.icon-button{border:1px solid var(--border);background:var(--surface)}
.icon-button:hover,.topbar-plain:hover{background:var(--surface-muted);color:var(--text-primary)}
.notification-button{position:relative}.notification-button i{position:absolute;right:7px;top:6px;width:6px;height:6px;border-radius:50%;background:#ef3e37;border:1px solid var(--surface)}

input,select,textarea{width:100%;border:1px solid var(--border);background:var(--surface);color:var(--text-primary);border-radius:8px;min-height:40px;padding:9px 11px;outline:0;font-size:10px;transition:border-color .18s,box-shadow .18s,background .18s}
textarea{resize:vertical;line-height:1.55}
input::placeholder,textarea::placeholder{color:var(--text-muted)}
input:focus,select:focus,textarea:focus{border-color:color-mix(in srgb,var(--primary) 62%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}
select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--text-muted) 50%),linear-gradient(135deg,var(--text-muted) 50%,transparent 50%);background-position:calc(100% - 15px) 17px,calc(100% - 10px) 17px;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:31px}
label,.field{display:flex;flex-direction:column;gap:6px;color:var(--text-secondary);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.field-note{font-size:8px;color:var(--text-muted);font-weight:500;text-transform:none;letter-spacing:0}
.form-stack{display:flex;flex-direction:column;gap:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-row{display:flex;flex-direction:row;align-items:center;gap:7px;text-transform:none;letter-spacing:0}.check-row input{width:15px;min-height:15px;accent-color:var(--primary)}
.input-wrap{position:relative}.input-wrap>.icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-muted)}.input-wrap input{padding-left:38px}

.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 1px 0 rgba(255,255,255,.03)}
.empty-state{background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius);padding:34px;text-align:center;color:var(--text-muted)}
.empty-state>.icon{margin-bottom:9px;color:var(--primary)}.empty-state strong{display:block;color:var(--text-primary);font-size:11px}.empty-state p{font-size:9px;margin:5px auto 13px;max-width:380px}
.flash{display:grid;grid-template-columns:20px 1fr auto;gap:9px;align-items:start;margin-bottom:14px;padding:11px 13px;border:1px solid var(--border);border-radius:9px;background:var(--surface);font-size:9px}.flash strong,.flash span{display:block}.flash button{border:0;background:transparent;color:inherit}.flash-success{background:var(--success-soft);border-color:color-mix(in srgb,var(--success) 20%,var(--border));color:var(--success)}.flash-error{background:var(--danger-soft);border-color:color-mix(in srgb,var(--danger) 20%,var(--border));color:var(--danger)}.flash ul{margin:4px 0 0;padding-left:16px}

.status{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 7px;font-size:7px;font-weight:700;white-space:nowrap;background:var(--surface-muted);color:var(--text-secondary)}
.status:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.status-pending_review,.status-paid_pending_review,.status-pending,.status-unpaid{color:#d66f15;background:var(--warning-soft)}
.status-approved,.status-processing{color:#4c58ec;background:var(--info-soft)}
.status-completed,.status-fulfilled,.status-paid,.status-active{color:#229f3d;background:var(--success-soft)}
.status-rejected,.status-cancelled,.status-refunded,.status-failed,.status-blocked{color:var(--danger);background:var(--danger-soft)}
.status-lg{font-size:8px;padding:5px 8px}

/* Admin shell */
.admin-shell{min-height:100vh;background:var(--background)}
.admin-sidebar{position:fixed;inset:0 auto 0 0;width:208px;background:var(--admin-sidebar);color:var(--admin-sidebar-text);padding:18px 13px 16px;display:flex;flex-direction:column;z-index:50;border-right:1px solid var(--admin-sidebar-line)}
.admin-brand{padding:4px 9px 20px;color:#fff}.admin-brand .brand-symbol{width:25px;height:25px;flex-basis:25px}.admin-brand .brand-symbol i{width:12px;height:21px}.admin-brand .brand-name{font-size:14px}
.admin-nav{display:flex;flex-direction:column;gap:3px}
.admin-nav-item{height:39px;border-radius:8px;padding:0 10px;display:flex;align-items:center;gap:10px;color:#c7d0d7;font-size:10px;font-weight:600;transition:.18s}
.admin-nav-item .icon{width:16px;height:16px;color:#b7c1c9}.admin-nav-item:hover{background:rgba(255,255,255,.045);color:#fff}
.admin-nav-item.active{background:#1c252d;color:var(--primary)}.admin-nav-item.active .icon{color:var(--primary)}
.admin-sidebar-bottom{margin-top:auto;padding-top:13px;border-top:1px solid var(--admin-sidebar-line)}
.admin-logout{height:38px;width:100%;border:0;border-radius:8px;background:transparent;color:#d4dce2;display:flex;align-items:center;gap:10px;padding:0 10px;font-size:10px}.admin-logout:hover{background:rgba(255,255,255,.05)}
.admin-workspace{margin-left:208px;min-height:100vh}
.admin-topbar{height:56px;position:sticky;top:0;z-index:35;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);display:grid;grid-template-columns:1fr minmax(300px,430px) 1fr;align-items:center;padding:0 26px}
.mobile-brand{display:none}.topbar-search{grid-column:2;position:relative}.topbar-search>.icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--text-muted)}.topbar-search input{height:32px;min-height:32px;padding:0 52px 0 34px;border-radius:8px;font-size:9px;background:var(--surface)}.topbar-search kbd{position:absolute;right:8px;top:50%;transform:translateY(-50%);font:500 7px var(--font-mono);color:var(--text-muted);border:1px solid var(--border);background:var(--surface-muted);border-radius:4px;padding:1px 5px}
.topbar-actions{justify-self:end;display:flex;align-items:center;gap:5px}.profile-shortcut{display:flex;align-items:center;gap:8px;margin-left:3px;padding:3px 4px;border-radius:8px}.profile-shortcut:hover{background:var(--surface-muted)}
.avatar{width:28px;height:28px;border-radius:50%;display:inline-grid;place-items:center;background:#c9d4db;color:#26323a;font-size:9px;font-weight:800;flex:0 0 28px}.profile-rich-copy{display:block;min-width:92px}.profile-rich-copy strong{display:block;color:var(--text-primary);font-size:9px;line-height:1.2}.profile-rich-copy small{display:block;color:var(--text-muted);font-size:6px;margin-top:2px}.profile-rich>.icon{color:var(--text-muted)}
.admin-main{min-height:calc(100vh - 56px)}.admin-page-container{width:min(1210px,100%);margin:0 auto;padding:20px 28px 48px}

/* Shared page headings */
.page-heading,.dashboard-title-row,.customer-page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.page-heading-copy{max-width:700px}.kicker{display:block;font:500 7px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);margin-bottom:5px}
.page-heading h1,.dashboard-title-row h1,.customer-page-title h1{margin:0;color:var(--text-primary);font-size:23px;line-height:1.15;letter-spacing:-.035em;font-weight:800}.page-heading p,.dashboard-title-row p,.customer-page-title p{margin:5px 0 0;color:var(--text-muted);font-size:9px}.heading-actions{display:flex;align-items:center;gap:7px}.back-link{display:inline-flex;align-items:center;gap:5px;color:var(--text-muted);font-size:8px;font-weight:700}.back-link:hover{color:var(--text-primary)}
.section-header{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px}.section-header h2{font-size:11px;margin:0;color:var(--text-primary);letter-spacing:-.01em}.section-header p{font-size:7px;margin:3px 0 0;color:var(--text-muted)}.section-header a{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted);font-size:7px;font-weight:700}.section-header a:hover{color:var(--text-primary)}

/* Admin dashboard */
.dashboard-title-row{align-items:center}.date-control,.mini-select,.panel-view-link{height:29px;border:1px solid var(--border);background:var(--surface);border-radius:6px;display:inline-flex;align-items:center;gap:6px;color:var(--text-secondary);padding:0 9px;font-size:7px}.panel-view-link{height:25px}.date-control:hover,.mini-select:hover,.panel-view-link:hover{background:var(--surface-muted);color:var(--text-primary)}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:9px}.metric{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:13px 13px 12px;min-height:98px}.metric-top{display:flex;align-items:flex-start;justify-content:space-between}.metric-label{font-size:8px;font-weight:700;color:var(--text-primary)}.metric-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:var(--success-soft);color:var(--success)}.metric-icon.blue{background:var(--info-soft);color:var(--info)}.metric-icon.orange{background:var(--warning-soft);color:var(--warning)}.metric strong{display:block;color:var(--text-primary);font-size:20px;letter-spacing:-.04em;line-height:1;margin:10px 0 7px}.metric small{font-size:6.5px;color:var(--text-muted)}
.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:9px;margin-bottom:9px}.dashboard-chart-panel,.dashboard-recent-panel,.dashboard-mini-panel{padding:11px}.dashboard-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}.dashboard-panel-head h2{font-size:10px;color:var(--text-primary);margin:0}.chart-legend{display:flex;gap:12px;margin-top:7px}.chart-legend span{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:6.5px}.chart-legend i{width:5px;height:5px;border-radius:50%}.chart-legend i.green{background:var(--success)}.chart-legend i.blue{background:var(--info)}.chart-wrap{height:178px}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-grid-lines line{stroke:var(--border-subtle);stroke-width:1}.chart-line{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}.chart-line-green{stroke:var(--success)}.chart-line-blue{stroke:var(--info)}.chart-label{font:500 7px var(--font-ui);fill:var(--text-muted)}
.dashboard-order-list{display:flex;flex-direction:column}.dashboard-order-row{display:grid;grid-template-columns:28px minmax(100px,1fr) 72px 92px 42px;gap:7px;align-items:center;min-height:34px;border-bottom:1px solid var(--border-subtle);font-size:7px}.dashboard-order-row:last-child{border-bottom:0}.dashboard-order-row:hover{background:var(--surface-muted)}.order-brand-icon{width:24px;height:24px;border-radius:6px;background:#0d151d;color:#fff;display:grid;place-items:center}.order-brand-icon.exchange{background:var(--info-soft);color:var(--info)}.order-id strong{display:block;color:var(--text-primary);font-size:7px}.order-id small{display:block;color:var(--text-muted);font-size:6px;margin-top:1px}.order-value{font-weight:700;color:var(--text-primary)}.dashboard-order-row time{color:var(--text-muted);text-align:right;font-size:6px}
.dashboard-bottom-grid{display:grid;grid-template-columns:1fr .9fr 1.18fr 1fr;gap:9px}.dashboard-mini-panel{min-height:152px}.rank-list,.activity-list,.rate-list{display:flex;flex-direction:column}.rank-row{display:grid;grid-template-columns:14px 22px 1fr auto;gap:6px;align-items:center;min-height:27px;border-bottom:1px solid var(--border-subtle);font-size:6.8px}.rank-row:last-child{border-bottom:0}.rank-icon{width:19px;height:19px;border-radius:5px;background:#0d151d;color:#fff;display:grid;place-items:center}.rank-row strong{color:var(--text-primary);font-weight:600}.rank-row b{color:var(--text-primary);font-size:6.8px}.pending-summary-row{display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--border-subtle)}.pending-summary-icon{width:27px;height:27px;border-radius:7px;display:grid;place-items:center}.pending-summary-icon.orange{background:var(--warning-soft);color:var(--warning)}.pending-summary-icon.blue{background:var(--info-soft);color:var(--info)}.pending-summary-row strong{display:block;color:var(--text-primary);font-size:12px}.pending-summary-row small{display:block;color:var(--text-muted);font-size:6px}.pending-total{padding-top:8px}.pending-total small{display:block;color:var(--text-muted);font-size:6px}.pending-total strong{display:block;color:var(--text-primary);font-size:15px}.activity-row{display:grid;grid-template-columns:26px 1fr auto;gap:7px;align-items:center;min-height:36px;border-bottom:1px solid var(--border-subtle)}.activity-row:last-child{border-bottom:0}.activity-icon{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:var(--success-soft);color:var(--success)}.activity-row strong{display:block;color:var(--text-primary);font-size:6.8px}.activity-row small{display:block;color:var(--text-muted);font-size:5.8px;margin-top:1px}.activity-row time{font-size:5.8px;color:var(--text-muted)}.rate-row{display:grid;grid-template-columns:23px 1fr auto;column-gap:7px;align-items:center;min-height:35px;border-bottom:1px solid var(--border-subtle)}.rate-row:last-child{border-bottom:0}.asset-dot{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--success-soft);color:var(--success);font-size:7px;font-weight:800}.rate-row strong{color:var(--text-primary);font-size:6.8px}.rate-row b{color:var(--text-primary);font-size:6.8px}.rate-row small{grid-column:2/-1;color:var(--text-muted);font-size:5.7px;margin-top:-7px}.compact-empty{font-size:7px;color:var(--text-muted);padding:10px 0}

/* Tables & admin pages */
.filter-bar{display:flex;align-items:center;gap:7px;margin-bottom:10px}.filter-bar select{max-width:170px}.filter-search{position:relative;flex:1;max-width:380px}.filter-search>.icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--text-muted)}.filter-search input{padding-left:34px}.order-tabs{display:flex;gap:5px;margin-bottom:10px;overflow:auto}.order-tab{height:29px;display:flex;align-items:center;border:1px solid var(--border);border-radius:7px;padding:0 10px;color:var(--text-muted);font-size:7px;font-weight:700;white-space:nowrap;background:var(--surface)}.order-tab.active,.order-tab:hover{color:var(--text-primary);border-color:color-mix(in srgb,var(--primary) 35%,var(--border));background:var(--primary-soft)}
.order-table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:720px}.data-table th{height:34px;text-align:left;padding:0 11px;border-bottom:1px solid var(--border);font:500 6.5px var(--font-mono);text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);background:var(--surface-muted)}.data-table td{padding:9px 11px;border-bottom:1px solid var(--border-subtle);font-size:8px;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:var(--surface-muted)}.data-table td strong{display:block;color:var(--text-primary);font-size:8px}.data-table td small{display:block;color:var(--text-muted);font-size:6px;margin-top:1px}.table-link,.small-link{color:var(--text-muted)}.table-link{width:27px;height:27px;border-radius:6px;display:grid;place-items:center}.table-link:hover{background:var(--surface-muted);color:var(--text-primary)}.small-link{display:inline-flex;align-items:center;gap:4px}.pagination-wrap{margin-top:14px}.pagination-wrap nav{display:flex;justify-content:center}
.admin-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:12px;align-items:start}.sticky-panel{position:sticky;top:76px}.form-panel,.settings-section,.order-summary,.timeline-panel,.decision-panel,.pair-card{padding:15px}.form-panel h2,.settings-section h2,.decision-panel h2{font-size:11px;color:var(--text-primary);margin:0 0 3px}.form-panel>p,.settings-section>p{font-size:7px;color:var(--text-muted);margin:0 0 13px}.inventory-list{display:flex;flex-direction:column;gap:8px}.inventory-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}.inventory-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 13px}.inventory-title small{display:block;font:500 6px var(--font-mono);color:var(--text-muted);text-transform:uppercase}.inventory-title h3{font-size:10px;color:var(--text-primary);margin:3px 0 0}.toggle-status{border:1px solid var(--border);background:var(--surface-muted);border-radius:999px;padding:4px 7px;font:500 6px var(--font-mono);color:var(--text-muted)}.toggle-status.on{background:var(--success-soft);color:var(--success);border-color:transparent}.variant-list{border-top:1px solid var(--border)}.variant-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:9px 13px;border-bottom:1px solid var(--border-subtle)}.variant-row:last-child{border-bottom:0}.variant-info strong{display:block;color:var(--text-primary);font-size:8px}.variant-info small{display:block;color:var(--text-muted);font-size:6px}.stock-count{font:500 6.5px var(--font-mono);color:var(--success)}details>summary{cursor:pointer;list-style:none}details>summary::-webkit-details-marker{display:none}.detail-trigger{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted);font-size:6px;font-weight:700}.inline-form-box{padding:10px 13px 13px;background:var(--surface-muted);border-top:1px solid var(--border)}.variant-create{border-top:1px solid var(--border)}.variant-create>summary{padding:9px 13px;color:var(--text-muted);font-size:7px;font-weight:700;display:flex;align-items:center;gap:5px}.mini-form{display:grid;grid-template-columns:1.15fr 1fr 1fr .7fr auto;gap:6px;padding:0 13px 12px}.mini-form input{min-height:32px;font-size:8px}.pair-card{background:var(--surface);border:1px solid var(--border);border-radius:10px}.pair-heading{display:flex;align-items:center;gap:7px;margin-bottom:10px}.pair-heading strong{color:var(--text-primary);font-size:12px}.pair-form{display:grid;grid-template-columns:repeat(5,1fr) auto auto;gap:7px;align-items:end}.pair-form input{min-height:34px}.pair-form .check-row{height:34px}.pair-card-polished{padding:0}.pair-card-polished .pair-heading{padding:10px 12px;margin:0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:auto 1fr auto;gap:10px}.pair-route{display:flex;align-items:center;gap:7px}.asset-badge{display:inline-flex;min-width:44px;height:26px;align-items:center;justify-content:center;background:var(--surface-muted);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-size:7px;font-weight:800}.pair-wallet-summary{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:6.5px}.pair-form-polished{grid-template-columns:minmax(160px,1.3fr) repeat(5,minmax(75px,.75fr)) auto auto;padding:10px 12px}.exchange-admin-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:12px;align-items:start}.wallet-create-form{padding:14px}.wallet-admin-list{display:flex;flex-direction:column;gap:7px}.wallet-admin-card{border:1px solid var(--border);background:var(--surface);border-radius:9px;overflow:hidden}.wallet-admin-card>summary{display:grid;grid-template-columns:34px 1fr auto auto;gap:8px;align-items:center;padding:9px 10px}.wallet-admin-icon{width:31px;height:31px;border-radius:7px;background:var(--primary-soft);color:var(--success);display:grid;place-items:center}.wallet-admin-copy strong{display:block;color:var(--text-primary);font-size:8px}.wallet-admin-copy small{display:block;color:var(--text-muted);font-size:6px}.wallet-edit-form{padding:10px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}.wallet-edit-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.security-list{display:flex;flex-direction:column}.security-item{display:grid;grid-template-columns:32px 1fr;gap:9px;padding:10px 0;border-bottom:1px solid var(--border-subtle)}.security-item:last-child{border-bottom:0}.security-icon{width:30px;height:30px;border-radius:7px;background:var(--surface-muted);color:var(--success);display:grid;place-items:center}.security-item strong{display:block;color:var(--text-primary);font-size:8px}.security-item p{font-size:6.5px;color:var(--text-muted);margin:2px 0 0}
.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:12px}.appearance-control{margin-top:16px;padding-top:13px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px}.appearance-control strong{display:block;color:var(--text-primary);font-size:8px}.appearance-control small{display:block;color:var(--text-muted);font-size:6px}.review-layout{display:grid;grid-template-columns:minmax(0,1.1fr) 300px;gap:12px}.admin-order-main{display:flex;flex-direction:column;gap:12px}.decision-panel{position:sticky;top:76px}.decision-block+.decision-block{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.fineprint{font-size:6.5px;color:var(--text-muted);margin:9px 0 0}

/* Order detail */
.order-detail-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:12px}.detail-list{display:flex;flex-direction:column}.detail-row{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid var(--border-subtle);font-size:8px}.detail-row:last-child{border-bottom:0}.detail-row span{color:var(--text-muted)}.detail-row b{color:var(--text-primary);text-align:right;font-weight:700}.detail-row.total{margin-top:6px;padding:12px 0;border-top:1px solid var(--border);border-bottom:0}.detail-row.total b{font-size:12px}.delivered-code{margin-top:13px;padding:13px;border-radius:9px;background:var(--surface-muted);border:1px solid var(--border)}.delivered-code small{display:block;font:500 6px var(--font-mono);color:var(--text-muted)}.delivered-code strong{display:block;font:500 14px var(--font-mono);color:var(--text-primary);margin:5px 0}.delivered-code p{font-size:6px;color:var(--text-muted);margin:0}.code-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.copy-button{width:30px;height:30px;border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);border-radius:7px;display:grid;place-items:center}.timeline{display:flex;flex-direction:column}.timeline-row{display:grid;grid-template-columns:20px 1fr;gap:8px;position:relative;padding-bottom:15px}.timeline-row:before{content:"";position:absolute;left:6px;top:12px;bottom:-1px;width:1px;background:var(--border)}.timeline-row:last-child:before{display:none}.timeline-dot{width:13px;height:13px;border-radius:50%;background:var(--surface);border:2px solid var(--border);position:relative;z-index:2}.timeline-row:first-child .timeline-dot{background:var(--primary);border-color:var(--primary)}.timeline-row strong{display:block;color:var(--text-primary);font-size:8px}.timeline-row small{display:block;color:var(--text-muted);font-size:6px;margin-top:1px}.timeline-row p{font-size:6.5px;color:var(--text-muted);margin:4px 0 0}.order-note{display:flex;gap:8px;padding:10px;margin-top:12px;background:var(--surface-muted);border-radius:8px;color:var(--text-muted);font-size:6.5px}.order-note .icon{color:var(--success)}.proof-card{margin-top:12px;background:var(--surface-muted);border:1px solid var(--border);border-radius:10px;padding:10px}.proof-card-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.proof-card-head small{font:500 6px var(--font-mono);color:var(--text-muted)}.proof-card-head span{font-size:6px;color:var(--text-muted)}.proof-card img{width:100%;max-height:360px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}

/* Customer shell */
.customer-shell{min-height:100vh;background:var(--background)}
.customer-topbar{height:56px;position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--surface) 96%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 clamp(18px,4vw,54px)}
.customer-topbar>.brand{justify-self:start}.customer-topbar .brand-symbol{width:21px;height:21px;flex-basis:21px}.customer-topbar .brand-symbol i{width:10px;height:18px}.customer-topbar .brand-name{font-size:11px}.customer-desktop-nav{display:flex;align-items:center;gap:20px}.customer-desktop-nav a{height:56px;display:flex;align-items:center;position:relative;color:var(--text-muted);font-size:7.5px;font-weight:600}.customer-desktop-nav a:hover,.customer-desktop-nav a.active{color:var(--text-primary)}.customer-desktop-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--primary);border-radius:2px}.customer-topbar-actions{justify-self:end;display:flex;align-items:center;gap:4px}.customer-avatar{background:var(--primary);color:#23420d;text-decoration:none}.customer-main{min-height:calc(100vh - 56px)}.customer-page-container{width:min(1050px,100%);margin:0 auto;padding:22px 24px 48px}
.customer-page-title{align-items:flex-start;margin-bottom:12px}.customer-page-title h1{font-size:18px}.customer-page-title p{font-size:7.5px}

/* Customer home */
.customer-hero{min-height:246px;border:1px solid var(--border);border-radius:13px;background:linear-gradient(135deg,var(--surface),var(--surface-muted));display:grid;grid-template-columns:minmax(0,1.07fr) minmax(250px,.93fr);overflow:hidden;margin-bottom:17px;position:relative}.customer-hero-copy{padding:29px 30px;display:flex;flex-direction:column;justify-content:center}.customer-hero h1{font-size:30px;line-height:1.04;letter-spacing:-.045em;max-width:470px;color:var(--text-primary);margin:6px 0 10px}.customer-hero p{max-width:520px;color:var(--text-muted);font-size:8.5px;line-height:1.7;margin:0 0 17px}.hero-actions{display:flex;gap:7px;flex-wrap:wrap}.customer-hero-art{position:relative;min-height:246px;background:radial-gradient(circle at 48% 48%,color-mix(in srgb,var(--info) 16%,transparent),transparent 55%)}.hero-card{position:absolute;width:78px;height:98px;border-radius:12px;background:#101821;color:#fff;border:1px solid rgba(255,255,255,.11);box-shadow:0 18px 38px rgba(14,27,38,.18);display:grid;place-items:center}.hero-card.card-a{left:22%;top:23%;transform:rotate(-17deg)}.hero-card.card-b{left:49%;top:11%;transform:rotate(8deg);background:#173b26}.hero-card.card-c{left:56%;top:51%;transform:rotate(20deg);background:#252b65}.hero-card.card-d{left:29%;top:56%;transform:rotate(-5deg);background:#1d4960}.customer-section{margin-bottom:17px}.customer-best-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.customer-product-card{border:1px solid var(--border);background:var(--surface);border-radius:9px;padding:7px;transition:.18s}.customer-product-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.customer-product-art{height:92px;border-radius:7px;background:linear-gradient(145deg,#111923,#243541);display:grid;place-items:center;color:#fff;margin-bottom:7px;overflow:hidden}.customer-product-art span{font-size:29px;font-weight:800}.customer-product-card strong{display:block;color:var(--text-primary);font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-product-card small{display:block;color:var(--text-muted);font-size:6px;margin-top:2px}.customer-product-card em{display:block;font-style:normal;color:#f1b400;font-size:6px;margin-top:3px}.customer-benefits{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--border);border-radius:10px;background:var(--surface);margin-bottom:17px}.customer-benefits article{display:flex;align-items:center;gap:9px;padding:13px;border-right:1px solid var(--border)}.customer-benefits article:last-child{border-right:0}.customer-benefits article>span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--primary-soft);color:var(--success)}.customer-benefits strong{display:block;color:var(--text-primary);font-size:7.5px}.customer-benefits small{display:block;color:var(--text-muted);font-size:6px;margin-top:2px}.overview-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:12px}.recent-list{overflow:hidden}.recent-row{display:grid;grid-template-columns:minmax(150px,1fr) 90px 100px 18px;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--border-subtle)}.recent-row:last-child{border-bottom:0}.recent-row:hover{background:var(--surface-muted)}.recent-main strong{display:block;color:var(--text-primary);font-size:8px}.recent-main small{display:block;color:var(--text-muted);font:500 6px var(--font-mono)}.recent-meta small{display:block;color:var(--text-muted);font-size:5.5px;text-transform:uppercase}.recent-meta b{font-size:7px;color:var(--text-secondary)}.recent-row>.icon{color:var(--text-muted)}.customer-exchange-card{padding:13px}.customer-rate-box{display:grid;grid-template-columns:1fr 27px 1fr;gap:6px;align-items:center;margin:8px 0 11px}.customer-rate-box>div{border:1px solid var(--border);background:var(--surface-muted);border-radius:7px;padding:9px}.customer-rate-box small{display:block;color:var(--text-muted);font-size:5.5px}.customer-rate-box strong{display:block;color:var(--text-primary);font-size:10px;margin-top:3px}.customer-rate-box>span{width:25px;height:25px;border-radius:50%;background:var(--primary);color:#173006;display:grid;place-items:center}

/* Store */
.store-toolbar{display:grid;grid-template-columns:minmax(240px,1fr) 170px auto;gap:7px;margin-bottom:8px}.store-category-strip{display:flex;gap:5px;align-items:center;overflow:auto;margin-bottom:11px;padding-bottom:2px}.store-category-strip a{height:25px;padding:0 9px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:6px;font-weight:700;display:flex;align-items:center;white-space:nowrap;border:1px solid transparent}.store-category-strip a.active{background:var(--text-primary);color:var(--background)}.store-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.gift-card{background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:6px;transition:.18s}.gift-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:color-mix(in srgb,var(--primary) 30%,var(--border))}.gift-art{height:122px;border-radius:7px;background:linear-gradient(145deg,#101820,#26343f);position:relative;overflow:hidden;padding:9px;color:#fff;display:flex;flex-direction:column;justify-content:space-between}.gift-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#101820;padding:12px}.gift-art small,.gift-art strong{position:relative;z-index:2}.gift-art small{font:500 5.5px var(--font-mono);opacity:.65}.gift-art strong{font-size:35px;line-height:1;align-self:center;margin:auto}.gift-content{padding:8px 1px 2px}.gift-content h2{font-size:7.5px;margin:0;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gift-range{font-size:6px;color:var(--text-muted);margin-top:3px}.gift-rating{font-size:6px;color:#f1b400;margin-top:3px}.gift-rating span{color:var(--text-muted)}
.product-page{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(380px,1.15fr);gap:40px;align-items:start}.product-card-stage{position:sticky;top:78px;display:grid;place-items:center;min-height:380px}.product-card-large{width:min(330px,100%);aspect-ratio:1.6;border-radius:18px;background:linear-gradient(135deg,#0c141b,#1d2c36);color:#fff;padding:22px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.product-card-large:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:color-mix(in srgb,var(--primary) 28%,transparent);right:-120px;top:-115px}.product-card-large img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#0c141b;padding:20px}.product-card-large small,.product-card-large strong,.product-card-large span{position:relative;z-index:2}.product-card-large small{font:500 7px var(--font-mono);opacity:.7}.product-card-large strong{font-size:24px;line-height:1.05;letter-spacing:-.035em;max-width:220px}.product-card-large span{font-size:6px;letter-spacing:.08em;opacity:.55}.product-details{padding-top:10px}.product-details .back-link{margin-bottom:20px}.product-details h1{font-size:37px;line-height:1;letter-spacing:-.045em;color:var(--text-primary);margin:6px 0 9px}.product-description{font-size:9px;line-height:1.7;color:var(--text-muted);margin:0 0 16px;max-width:520px}.trust-note{display:flex;gap:8px;padding:10px 11px;border-left:3px solid var(--success);background:var(--success-soft);border-radius:0 8px 8px 0;color:var(--primary-ink);font-size:7px;margin-bottom:16px}.purchase-panel{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:15px}.purchase-foot{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:6px;margin-top:8px}

/* Exchange customer */
.exchange-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.8fr);gap:12px;align-items:start}.exchange-form-panel{padding:15px}.exchange-pair-shell{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(140px,.75fr);gap:9px}.wallet-receipt-card{background:var(--surface-muted);border:1px solid var(--border);border-radius:10px;padding:12px}.wallet-receipt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.wallet-receipt-head strong{display:block;color:var(--text-primary);font-size:9px}.wallet-receipt-head p{font-size:6.5px;color:var(--text-muted);margin:3px 0 0}.wallet-receipt-body{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:10px}.wallet-tile{display:grid;grid-template-columns:36px 1fr;gap:9px;align-items:center;min-width:0}.wallet-tile-icon{width:36px;height:36px;border-radius:9px;background:var(--primary-soft);color:var(--success);display:grid;place-items:center}.wallet-tile small{display:block;font:500 6px var(--font-mono);color:var(--text-muted);text-transform:uppercase}.wallet-tile strong{display:block;color:var(--text-primary);font-size:8px;margin-top:2px;word-break:break-all}.wallet-tile em{display:block;color:var(--text-muted);font-style:normal;font-size:5.7px;margin-top:2px}.wallet-receipt-note{display:flex;gap:6px;align-items:flex-start;margin-top:10px;padding:8px;background:var(--surface);border-radius:7px;color:var(--text-muted);font-size:6px}.wallet-receipt-note .icon{color:var(--success)}.exchange-reference,.proof-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.quote-panel{position:sticky;top:76px;padding:0;overflow:hidden}.quote-head{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--border)}.quote-head strong{font-size:8px;color:var(--text-primary)}.quote-live{display:flex;align-items:center;gap:5px;color:var(--success);font:500 5.5px var(--font-mono)}.quote-live i{width:5px;height:5px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 14%,transparent)}.quote-route{display:grid;grid-template-columns:1fr 32px 1fr;gap:8px;align-items:center;padding:14px}.quote-asset{border:1px solid var(--border);background:var(--surface-muted);border-radius:8px;padding:11px}.quote-asset small{display:block;color:var(--text-muted);font-size:5.5px}.quote-asset strong{display:block;color:var(--text-primary);font-size:13px;letter-spacing:-.02em;margin-top:4px}.quote-asset em{font-style:normal;color:var(--text-muted);font-size:6.5px}.quote-swap{width:28px;height:28px;border-radius:50%;background:var(--primary);color:#193206;display:grid;place-items:center}.quote-breakdown{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:6px 14px}.quote-breakdown>div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;font-size:6.5px}.quote-breakdown span{color:var(--text-muted)}.quote-breakdown b{color:var(--text-primary)}.quote-limits{padding:10px 14px;color:var(--text-muted);font-size:6px}.quote-review{margin:0 14px 14px;padding:9px 10px;background:var(--success-soft);border:1px solid color-mix(in srgb,var(--success) 18%,var(--border));border-radius:7px;color:var(--primary-ink);font-size:6px;display:flex;gap:6px}.quote-review .icon{color:var(--success)}

/* Public / auth */
.public-header{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,70px);border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 95%,transparent);backdrop-filter:blur(14px)}.public-actions{display:flex;align-items:center;gap:7px}.text-link{font-size:8px;font-weight:700;color:var(--text-muted);padding:8px}.text-link:hover{color:var(--text-primary)}.public-main{min-height:calc(100vh - 62px)}.guest-flash{width:min(760px,calc(100% - 30px));margin:15px auto 0}.hero{min-height:calc(100vh - 62px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);align-items:center;gap:50px;padding:60px clamp(22px,6vw,90px);position:relative;overflow:hidden}.hero-copy{position:relative;z-index:1}.hero-label{display:flex;align-items:center;gap:7px;color:var(--text-muted);font:500 7px var(--font-mono);text-transform:uppercase;letter-spacing:.08em;margin-bottom:18px}.hero-label i{width:5px;height:5px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 14%,transparent)}.hero h1{font-size:clamp(48px,5.5vw,82px);line-height:.95;letter-spacing:-.06em;color:var(--text-primary);margin:0}.hero h1 span{color:var(--primary-hover)}.hero-copy>p{font-size:12px;line-height:1.7;color:var(--text-muted);max-width:570px;margin:22px 0}.hero-trust{display:flex;gap:17px;flex-wrap:wrap;margin-top:20px}.hero-trust span{display:flex;align-items:center;gap:5px;color:var(--text-muted);font-size:7px}.hero-trust .icon{color:var(--success)}.hero-product{min-height:450px;display:grid;place-items:center;position:relative}.exchange-demo{width:min(460px,100%);background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-lg);overflow:hidden}.demo-head{height:48px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.demo-head span{color:var(--text-primary);font-size:8px;font-weight:800}.demo-head small{font:500 6px var(--font-mono);color:var(--success)}.demo-route{display:grid;grid-template-columns:1fr 36px 1fr;gap:7px;align-items:center;padding:20px 16px 15px}.demo-asset{border:1px solid var(--border);background:var(--surface-muted);border-radius:9px;padding:13px}.demo-asset small{font:500 6px var(--font-mono);color:var(--text-muted)}.demo-asset strong{display:block;color:var(--text-primary);font-size:23px;letter-spacing:-.03em;margin:4px 0}.demo-asset span{font-size:7px;color:var(--text-muted)}.demo-swap{width:31px;height:31px;border-radius:50%;background:var(--primary);color:#193206;display:grid;place-items:center}.demo-summary{margin:0 16px 15px;border-top:1px solid var(--border);padding-top:9px}.demo-summary>div{display:flex;justify-content:space-between;padding:5px 0;font-size:7px;color:var(--text-muted)}.demo-summary b{color:var(--text-primary)}.demo-total{margin:0 16px 16px;background:var(--primary-soft);border:1px solid color-mix(in srgb,var(--primary) 22%,var(--border));color:var(--text-primary);border-radius:10px;padding:13px;display:flex;justify-content:space-between;align-items:center}.demo-total small{font-size:6px;color:var(--text-muted)}.demo-total strong{font-size:19px}.floating-card{position:absolute;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:9px;padding:9px 11px;display:flex;align-items:center;gap:7px;font-size:7px;color:var(--text-primary);font-weight:700}.floating-card.one{left:0;top:25%;transform:rotate(3deg)}.floating-card.two{right:-2%;bottom:15%;transform:rotate(-3deg)}.floating-card .icon{color:var(--success)}.landing-features{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.landing-feature{padding:27px clamp(20px,4vw,50px);border-right:1px solid var(--border)}.landing-feature:last-child{border-right:0}.landing-feature .icon{color:var(--success);margin-bottom:11px}.landing-feature h2{font-size:12px;color:var(--text-primary);margin:0 0 4px}.landing-feature p{font-size:8px;color:var(--text-muted);margin:0;max-width:350px}.auth-page{min-height:calc(100vh - 62px);display:grid;grid-template-columns:minmax(330px,.85fr) minmax(430px,1.15fr)}.auth-story{background:var(--surface-muted);border-right:1px solid var(--border);padding:50px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story h1{font-size:52px;line-height:.96;letter-spacing:-.05em;color:var(--text-primary);margin:10px 0 17px}.auth-story h1 span{color:var(--primary-hover)}.auth-story p{max-width:480px;color:var(--text-muted);font-size:10px;line-height:1.7}.story-points{display:grid;gap:9px}.story-point{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:7px}.story-point .icon{color:var(--success)}.auth-form-wrap{display:grid;place-items:center;padding:38px 22px;background:var(--background)}.auth-card{width:min(420px,100%)}.auth-card h2{font-size:25px;letter-spacing:-.03em;color:var(--text-primary);margin:0}.auth-card>p{color:var(--text-muted);font-size:8px;margin:6px 0 19px}.auth-foot{margin-top:17px;padding-top:14px;border-top:1px solid var(--border);font-size:7px;color:var(--text-muted);text-align:center}.auth-foot a{color:var(--text-primary);font-weight:700}.password-meta{display:flex;justify-content:flex-end;margin-top:-5px}.password-meta a{font-size:7px;color:var(--text-muted);font-weight:700}.compact-auth .auth-story h1{font-size:44px}

/* Mobile nav */
.mobile-nav{display:none}.mobile-more{position:relative}.mobile-more>summary{list-style:none}.mobile-more-menu{position:absolute;right:7px;bottom:58px;width:170px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-lg);padding:6px}.mobile-more-menu a,.mobile-more-menu button{width:100%;height:35px;border:0;background:transparent;display:flex;align-items:center;gap:8px;padding:0 9px;color:var(--text-primary);font-size:8px;border-radius:7px}.mobile-more-menu a:hover,.mobile-more-menu button:hover{background:var(--surface-muted)}

/* Responsive */
@media(max-width:1180px){
  .metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-main-grid{grid-template-columns:1fr}.dashboard-bottom-grid{grid-template-columns:1fr 1fr}.store-grid{grid-template-columns:repeat(4,1fr)}.pair-form-polished{grid-template-columns:repeat(3,1fr)}.exchange-admin-grid{grid-template-columns:1fr}.customer-best-grid{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:960px){
  .admin-sidebar{width:184px}.admin-workspace{margin-left:184px}.admin-page-container{padding-left:20px;padding-right:20px}.admin-topbar{grid-template-columns:1fr minmax(250px,360px) 1fr;padding:0 18px}.admin-layout{grid-template-columns:250px 1fr}.settings-layout{grid-template-columns:1fr}.product-page{gap:26px}.exchange-layout{grid-template-columns:1fr 330px}.customer-best-grid{grid-template-columns:repeat(3,1fr)}.customer-hero{grid-template-columns:1fr .75fr}
}
@media(max-width:820px){
  body.app-body{padding-bottom:68px}.admin-sidebar{display:none}.admin-workspace{margin-left:0}.admin-topbar{height:54px;display:flex;justify-content:space-between;padding:0 15px}.admin-topbar .mobile-brand{display:inline-flex;color:var(--text-primary)}.topbar-search{display:none}.profile-rich-copy,.profile-rich>.icon{display:none}.admin-page-container{padding:17px 14px 34px}.mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;height:64px;padding-bottom:env(safe-area-inset-bottom);background:color-mix(in srgb,var(--surface) 96%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--border)}.mobile-nav>a,.mobile-more>summary{height:63px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--text-muted);font-size:15px}.mobile-nav small{font-size:6px;font-weight:700}.mobile-nav>a.active,.mobile-more[open]>summary{color:var(--primary-hover)}.admin-mobile-nav{background:#08121b;border-color:#1c2a34}.admin-mobile-nav>a,.admin-mobile-nav .mobile-more>summary{color:#a9b5be}.admin-mobile-nav>a.active{color:var(--primary)}
  .customer-topbar{height:54px;padding:0 14px;grid-template-columns:1fr auto}.customer-desktop-nav{display:none}.customer-topbar .brand-symbol{width:22px;height:22px;flex-basis:22px}.customer-topbar .brand-name{font-size:11px}.customer-topbar-actions .topbar-plain:first-child{display:none}.customer-main{min-height:calc(100vh - 54px)}.customer-page-container{padding:17px 14px 28px}.customer-mobile-nav{display:grid}.customer-hero{grid-template-columns:1fr}.customer-hero-art{min-height:185px}.customer-best-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:3px}.customer-product-card{flex:0 0 120px;scroll-snap-align:start}.customer-benefits{grid-template-columns:repeat(3,1fr)}.customer-benefits article{display:block;text-align:center;padding:12px 7px}.customer-benefits article>span{margin:0 auto 7px}.customer-benefits article strong{font-size:7px}.customer-benefits article small{font-size:5.5px}.overview-split,.product-page,.exchange-layout,.order-detail-layout,.review-layout,.admin-layout{grid-template-columns:1fr}.product-card-stage{position:relative;top:auto;min-height:auto;padding:8px 0 15px}.quote-panel,.sticky-panel,.decision-panel{position:relative;top:auto}.exchange-layout{gap:9px}.quote-panel{order:-1}.dashboard-main-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.pair-card-polished .pair-heading{grid-template-columns:1fr auto}.pair-wallet-summary{grid-column:1/-1}.pair-form-polished{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .page-heading,.dashboard-title-row,.customer-page-title{flex-direction:column;align-items:flex-start;margin-bottom:12px}.page-heading h1,.dashboard-title-row h1{font-size:20px}.date-control{display:none}.metric-grid{grid-template-columns:1fr 1fr;gap:7px}.metric{padding:10px;min-height:91px}.metric strong{font-size:17px}.metric-icon{width:30px;height:30px}.dashboard-chart-panel,.dashboard-recent-panel,.dashboard-mini-panel{padding:10px}.chart-wrap{height:160px}.dashboard-order-row{grid-template-columns:26px 1fr auto}.dashboard-order-row .order-value,.dashboard-order-row time{display:none}.dashboard-bottom-grid{grid-template-columns:1fr}.filter-bar{flex-wrap:wrap}.filter-bar select{max-width:none;flex:1}.filter-search{max-width:none;flex-basis:100%}.order-table-wrap{margin-left:-14px;margin-right:-14px;border-left:0;border-right:0;border-radius:0}.data-table{min-width:680px}.form-grid,.exchange-reference,.proof-grid{grid-template-columns:1fr}.mini-form{grid-template-columns:1fr 1fr}.mini-form .btn{grid-column:1/-1}.variant-row{grid-template-columns:1fr auto}.variant-row details{grid-column:1/-1}.pair-form,.pair-form-polished{grid-template-columns:1fr 1fr}.customer-hero{min-height:auto;border-radius:11px}.customer-hero-copy{padding:21px}.customer-hero h1{font-size:25px}.customer-hero p{font-size:7.5px}.customer-hero-art{min-height:160px}.hero-card{width:65px;height:81px}.customer-best-grid{gap:7px}.customer-benefits{margin-bottom:14px}.customer-lower{gap:10px}.store-toolbar{grid-template-columns:1fr}.store-grid{grid-template-columns:repeat(2,1fr);gap:7px}.gift-art{height:112px}.product-details h1{font-size:31px}.exchange-pair-shell{grid-template-columns:1fr}.wallet-receipt-head{flex-direction:column}.wallet-receipt-body{flex-direction:column;align-items:stretch}.wallet-receipt-body .btn{width:100%}.quote-route{grid-template-columns:1fr 28px 1fr;padding:11px;gap:6px}.quote-asset{padding:9px}.quote-asset strong{font-size:11px}.settings-section,.order-summary,.timeline-panel,.decision-panel,.form-panel,.pair-card{padding:13px}.public-header{height:56px;padding:0 14px}.public-main{min-height:calc(100vh - 56px)}.public-actions .text-link{display:none}.hero{min-height:auto;grid-template-columns:1fr;padding:37px 16px 54px;gap:32px}.hero h1{font-size:47px}.hero-copy>p{font-size:9px}.hero-product{min-height:300px}.exchange-demo{border-radius:14px}.floating-card{display:none}.landing-features{grid-template-columns:1fr}.landing-feature{border-right:0;border-bottom:1px solid var(--border)}.landing-feature:last-child{border-bottom:0}.auth-page{grid-template-columns:1fr}.auth-story{min-height:210px;padding:30px 20px}.auth-story h1,.compact-auth .auth-story h1{font-size:36px}.story-points{display:none}.auth-form-wrap{padding:30px 18px 45px}.auth-card h2{font-size:22px}
}
@media(max-width:380px){.metric-grid{grid-template-columns:1fr}.store-grid{grid-template-columns:1fr 1fr}.customer-product-card{flex-basis:108px}.customer-benefits article{padding:10px 5px}.button,.btn{padding:0 10px}}

/* User mobile reference treatment */
@media(max-width:820px){
  html[data-theme="dark"] .customer-shell{background:#06111a}
  html[data-theme="dark"] .customer-topbar{background:#06111a;border-color:#14232f}
  html[data-theme="dark"] .customer-page-container{background:#06111a}
  html[data-theme="dark"] .customer-mobile-nav{background:#07131d;border-color:#1a2934}
  html[data-theme="dark"] .customer-hero{background:linear-gradient(135deg,#102335,#0a1722 62%,#101b36);border-color:#223746}
  html[data-theme="dark"] .customer-product-card,html[data-theme="dark"] .customer-benefits,html[data-theme="dark"] .customer-exchange-card{background:#091720;border-color:#1b2b37}
}
.proof-preview{margin-top:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted);padding:7px;text-transform:none;letter-spacing:0}.proof-preview img{width:100%;height:120px;object-fit:cover;border-radius:6px}.proof-preview small{display:block;margin-top:5px;color:var(--text-muted);font-size:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-mark{position:relative;display:inline-grid;place-items:center;overflow:hidden;flex:0 0 auto;font-weight:800;line-height:1}.product-mark-md{width:48px;height:48px;border-radius:10px}.product-mark-sm{width:24px;height:24px;border-radius:6px}.product-mark-lg{width:76px;height:76px;border-radius:14px}.product-mark b{position:relative;z-index:2;font-style:normal}.product-mark-amazon{background:#101010;color:#fff}.product-mark-amazon b{font-family:Georgia,serif;font-size:1.85em;font-weight:700}.product-mark-amazon>i{position:absolute;width:42%;height:18%;border-bottom:3px solid #ff9f0a;border-radius:0 0 50% 50%;bottom:18%;transform:rotate(-7deg)}.product-mark-apple{background:#f4f5f6;color:#111}.product-mark-apple b{font-size:1.45em}.product-mark-apple .leaf{position:absolute;width:13%;height:22%;background:#111;border-radius:100% 0 100% 0;top:20%;right:33%;transform:rotate(-35deg)}.product-mark-netflix{background:#111;color:#e50914}.product-mark-netflix b{font-size:1.7em}.product-mark-spotify{background:#111;color:#1ed760}.spotify-lines{display:grid;gap:3px;width:58%}.spotify-lines i{display:block;height:3px;background:currentColor;border-radius:99px;transform:skewY(7deg)}.spotify-lines i:nth-child(2){width:88%}.spotify-lines i:nth-child(3){width:74%}.product-mark-google{background:#f7f8fa;color:#3186ff}.product-mark-google b{font-size:1.3em}.product-mark-playstation{background:#0b4abf;color:#fff}.product-mark-playstation b{font-size:.8em}.product-mark-steam{background:#14283a;color:#fff}.product-mark-steam b{font-size:1.35em}.product-mark-generic{background:linear-gradient(145deg,#14202b,#263746);color:#fff}
.gift-art .product-mark{align-self:center;margin:auto}.customer-product-art .product-mark{width:64px;height:64px}

/* Master visual refinement — centralized GiftUno design system */
:root{
  --content-max:1440px;
  --customer-content-max:1360px;
  --content-gutter:clamp(22px,2.25vw,40px);
  --admin-sidebar-width:240px;
  --control-h:44px;
  --control-h-sm:36px;
  --nav-h:64px;
  --mobile-nav-h:66px;
  --space-1:6px;
  --space-2:10px;
  --space-3:14px;
  --space-4:18px;
  --space-5:24px;
  --space-6:32px;
  --space-7:40px;
  --card-pad:18px;
  --card-gap:16px;
  --radius-control:8px;
  --radius-card:12px;
  --radius-panel:14px;
  --type-xs:11px;
  --type-sm:12px;
  --type-meta:13px;
  --type-body:14px;
  --type-nav:14px;
  --type-card:15px;
  --type-section:19px;
  --type-page:28px;
}

html[data-theme="light"]{
  --background:#f7f9fb;
  --background-secondary:#f2f5f7;
  --surface:#ffffff;
  --surface-elevated:#ffffff;
  --surface-muted:#f7f9fb;
  --border:#dfe5ea;
  --border-subtle:#edf1f4;
  --text-primary:#0e1720;
  --text-secondary:#526170;
  --text-muted:#8794a0;
}
html[data-theme="dark"]{
  --background:#06111a;
  --background-secondary:#08151f;
  --surface:#0a1720;
  --surface-elevated:#0e1d27;
  --surface-muted:#0f1d27;
  --border:#20313e;
  --border-subtle:#172630;
  --text-primary:#f3f7f9;
  --text-secondary:#b1bec7;
  --text-muted:#7f909c;
}

body{font-size:var(--type-body);line-height:1.55;background:var(--background);color:var(--text-secondary)}
.brand{gap:10px}.brand-symbol{width:29px;height:29px;flex-basis:29px}.brand-symbol i{width:14px;height:24px}.brand-name{font-size:17px}

/* Shared controls */
.button,.btn{min-height:var(--control-h);padding:0 16px;gap:8px;border-radius:var(--radius-control);font-size:13px;font-weight:700}
.btn-sm,.button-sm{min-height:var(--control-h-sm);padding:0 12px;font-size:12px}.btn-icon{width:var(--control-h)}
.icon-button,.topbar-plain{width:38px;height:38px;border-radius:8px}
input,select,textarea{min-height:var(--control-h);padding:10px 12px;font-size:13px;border-radius:var(--radius-control)}
select{background-position:calc(100% - 15px) 19px,calc(100% - 10px) 19px}
.input-wrap input{padding-left:40px}
label,.field{gap:7px;font-size:12px;letter-spacing:.045em}.field-note{font-size:11px;line-height:1.45}.form-stack{gap:16px}.form-grid{gap:12px}.check-row input{width:16px;min-height:16px}
.panel{border-radius:var(--radius-card)}
.empty-state{padding:34px}.empty-state strong{font-size:15px}.empty-state p{font-size:12px;max-width:480px}
.flash{font-size:12px;padding:12px 14px}
.status{gap:5px;padding:5px 8px;border-radius:6px;font-size:11px}.status-lg{font-size:12px;padding:6px 9px}

/* Shared headings */
.page-heading,.dashboard-title-row,.customer-page-title{gap:20px;margin-bottom:20px}
.page-heading-copy{max-width:760px}.kicker{font-size:10px;margin-bottom:6px;letter-spacing:.105em}
.page-heading h1,.dashboard-title-row h1,.customer-page-title h1{font-size:var(--type-page);line-height:1.12;letter-spacing:-.035em}
.page-heading p,.dashboard-title-row p,.customer-page-title p{font-size:12px;margin-top:5px;line-height:1.55}
.back-link{font-size:12px;gap:6px}.section-header{gap:14px;margin-bottom:12px}.section-header h2{font-size:var(--type-section)}.section-header p{font-size:12px;margin-top:3px}.section-header a{font-size:12px;gap:5px}

/* Admin shell */
.admin-sidebar{width:var(--admin-sidebar-width);padding:20px 14px 18px}
.admin-brand{padding:4px 9px 22px}.admin-brand .brand-symbol{width:28px;height:28px;flex-basis:28px}.admin-brand .brand-symbol i{width:13px;height:23px}.admin-brand .brand-name{font-size:16px}
.admin-nav{gap:4px}.admin-nav-item{height:44px;padding:0 12px;gap:11px;border-radius:8px;font-size:13px}.admin-nav-item .icon{width:18px;height:18px}
.admin-sidebar-bottom{padding-top:14px}.admin-logout{height:42px;padding:0 12px;font-size:13px;gap:11px}
.admin-workspace{margin-left:var(--admin-sidebar-width)}
.admin-topbar{height:var(--nav-h);grid-template-columns:1fr minmax(330px,470px) 1fr;padding:0 var(--content-gutter)}
.topbar-search input{height:38px;min-height:38px;padding:0 56px 0 38px;font-size:12px}.topbar-search kbd{font-size:9px}.topbar-actions{gap:6px}.profile-shortcut{gap:8px;margin-left:4px;padding:3px 5px}.avatar{width:34px;height:34px;flex-basis:34px;font-size:11px}.profile-rich-copy{min-width:112px}.profile-rich-copy strong{font-size:12px}.profile-rich-copy small{font-size:10px;margin-top:2px}
.admin-main{min-height:calc(100vh - var(--nav-h))}.admin-page-container{width:min(var(--content-max),100%);padding:26px var(--content-gutter) 56px}

/* Admin dashboard */
.dashboard-title-row{margin-bottom:18px}.dashboard-title-row h1{font-size:25px}.dashboard-title-row p{font-size:12px}.date-control,.mini-select,.panel-view-link{height:34px;padding:0 10px;font-size:11px;border-radius:7px}.panel-view-link{height:31px}
.metric-grid{gap:13px;margin-bottom:13px}.metric{padding:16px;min-height:112px;border-radius:11px}.metric-label{font-size:11px}.metric-icon{width:38px;height:38px;border-radius:10px}.metric strong{font-size:25px;margin:13px 0 7px}.metric small{font-size:10.5px;line-height:1.4}
.dashboard-main-grid{grid-template-columns:minmax(0,1.14fr) minmax(360px,.86fr);gap:13px;margin-bottom:13px}.dashboard-chart-panel,.dashboard-recent-panel,.dashboard-mini-panel{padding:15px}.dashboard-panel-head{gap:12px;margin-bottom:11px}.dashboard-panel-head h2{font-size:14px}.chart-legend{gap:15px;margin-top:8px}.chart-legend span{gap:6px;font-size:10.5px}.chart-legend i{width:6px;height:6px}.chart-wrap{height:225px}.chart-label{font:500 10px var(--font-ui)}
.dashboard-order-row{grid-template-columns:32px minmax(130px,1fr) 82px 104px 42px;gap:9px;min-height:46px;font-size:11px}.order-brand-icon{width:28px;height:28px;border-radius:7px}.order-id strong{font-size:11px}.order-id small{font-size:9.5px;margin-top:1px}.order-value{font-size:11px}.dashboard-order-row time{font-size:9.5px}.dashboard-order-row .status{font-size:9.5px;padding:4px 6px}
.dashboard-bottom-grid{gap:13px}.dashboard-mini-panel{min-height:188px}.rank-row{grid-template-columns:18px 26px 1fr auto;gap:8px;min-height:34px;font-size:10.5px}.rank-icon{width:24px;height:24px}.rank-row b{font-size:10.5px}.pending-summary-row{grid-template-columns:36px 1fr;gap:9px;padding:10px 0}.pending-summary-icon{width:34px;height:34px}.pending-summary-row strong{font-size:18px}.pending-summary-row small,.pending-total small{font-size:10px}.pending-total{padding-top:10px}.pending-total strong{font-size:20px}.activity-row{grid-template-columns:30px 1fr auto;gap:9px;min-height:46px}.activity-icon{width:28px;height:28px}.activity-row strong{font-size:10.5px}.activity-row small,.activity-row time{font-size:9.5px}.rate-row{grid-template-columns:28px 1fr auto;column-gap:8px;min-height:44px}.asset-dot{width:26px;height:26px;font-size:10px}.rate-row strong,.rate-row b{font-size:10.5px}.rate-row small{font-size:9.5px;margin-top:-6px}.compact-empty{font-size:11px;padding:14px 0}

/* Admin lists, forms, tables */
.filter-bar{gap:10px;margin-bottom:14px}.filter-bar select{max-width:200px}.filter-search{max-width:440px}.filter-search input{padding-left:40px}.order-tabs{gap:6px;margin-bottom:14px}.order-tab{height:35px;padding:0 12px;font-size:11px;border-radius:8px}.order-table-wrap{border-radius:11px}.data-table{min-width:780px}.data-table th{height:40px;padding:0 14px;font:500 11px var(--font-mono)}.data-table td{padding:12px 14px;font-size:12px}.data-table td strong{font-size:12px}.data-table td small{font-size:10.5px;margin-top:2px}.table-link{width:32px;height:32px}.pagination-wrap{margin-top:18px}
.admin-layout{grid-template-columns:320px minmax(0,1fr);gap:16px}.sticky-panel{top:84px}.form-panel,.settings-section,.order-summary,.timeline-panel,.decision-panel,.pair-card{padding:18px}.form-panel h2,.settings-section h2,.decision-panel h2{font-size:16px}.form-panel>p,.settings-section>p{font-size:12px;margin-bottom:16px}.inventory-list{gap:10px}.inventory-card,.pair-card{border-radius:11px}.inventory-head{padding:15px 16px}.inventory-title small{font-size:10px}.inventory-title h3{font-size:14px}.toggle-status{font-size:10px}.variant-row{padding:11px 16px}.variant-info strong{font-size:12px}.variant-info small{font-size:10px}.stock-count,.detail-trigger{font-size:10.5px}.mini-form input{min-height:40px;font-size:12px}.pair-heading strong{font-size:15px}.pair-form input{min-height:42px}.pair-form .check-row{height:42px}.pair-card-polished .pair-heading{padding:12px 14px}.asset-badge{min-width:52px;height:32px;font-size:11px}.pair-wallet-summary{font-size:10.5px}.exchange-admin-grid{grid-template-columns:350px minmax(0,1fr);gap:16px}.wallet-create-form{padding:18px}.wallet-admin-card>summary{grid-template-columns:38px 1fr auto auto;padding:12px 13px}.wallet-admin-icon{width:36px;height:36px}.wallet-admin-copy strong{font-size:12px}.wallet-admin-copy small{font-size:10px}.security-item{grid-template-columns:38px 1fr;gap:10px;padding:12px 0}.security-icon{width:36px;height:36px}.security-item strong{font-size:12px}.security-item p{font-size:10.5px}.settings-layout{gap:16px}.appearance-control strong{font-size:12px}.appearance-control small{font-size:10.5px}.review-layout{grid-template-columns:minmax(0,1.1fr) 340px;gap:16px}.admin-order-main{gap:16px}.decision-panel{top:84px}.fineprint{font-size:10.5px}

/* Order details fingerprint */
.order-detail-layout{grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:16px}.detail-row{gap:18px;padding:11px 0;font-size:12px}.detail-row.total{padding:14px 0}.detail-row.total b{font-size:16px}.delivered-code{padding:16px}.delivered-code small{font-size:10px}.delivered-code strong{font-size:18px}.delivered-code p{font-size:10.5px}.copy-button{width:34px;height:34px}.timeline-row{grid-template-columns:23px 1fr;gap:9px;padding-bottom:17px}.timeline-row:before{left:7px;top:13px}.timeline-dot{width:15px;height:15px}.timeline-row strong{font-size:12px}.timeline-row small,.timeline-row p{font-size:10.5px}.order-note{padding:12px;font-size:10.5px}.proof-card{padding:12px}.proof-card-head small,.proof-card-head span{font-size:10px}
html[data-theme="dark"] .order-summary,html[data-theme="dark"] .timeline-panel,html[data-theme="dark"] .decision-panel{background:#0a1720;border-color:#20313e}

/* Customer desktop */
.customer-topbar{height:var(--nav-h);padding:0 var(--content-gutter)}.customer-topbar .brand-symbol{width:25px;height:25px;flex-basis:25px}.customer-topbar .brand-symbol i{width:12px;height:21px}.customer-topbar .brand-name{font-size:14px}.customer-desktop-nav{gap:26px}.customer-desktop-nav a{height:var(--nav-h);font-size:13px}.customer-topbar-actions{gap:5px}.customer-main{min-height:calc(100vh - var(--nav-h))}.customer-page-container{width:min(var(--customer-content-max),100%);padding:26px var(--content-gutter) 54px}.customer-page-title{margin-bottom:16px}.customer-page-title h1{font-size:26px}.customer-page-title p{font-size:12px}
.customer-hero{min-height:286px;border-radius:14px;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);margin-bottom:24px;background:linear-gradient(135deg,var(--surface),var(--surface-muted))}.customer-hero-copy{padding:36px 40px}.customer-hero h1{font-size:clamp(34px,2.6vw,43px);max-width:560px;margin:0 0 12px}.customer-hero p{max-width:560px;font-size:13px;line-height:1.65;margin-bottom:19px}.hero-actions{gap:8px}.customer-hero-art{min-height:286px}.hero-card{width:92px;height:116px;border-radius:11px}.hero-card .product-mark{width:100%;height:100%;border-radius:inherit}.customer-section{margin-bottom:24px}.customer-best-grid{gap:13px}.customer-product-card{border-radius:9px;padding:9px}.customer-product-art{height:128px;margin-bottom:9px}.customer-product-art .product-mark{width:72px;height:72px}.customer-product-card strong{font-size:13px}.customer-product-card small{font-size:11px;margin-top:3px}.customer-benefits{margin-bottom:24px;border-radius:10px}.customer-benefits article{gap:11px;padding:16px}.customer-benefits article>span{width:36px;height:36px}.customer-benefits strong{font-size:13px}.customer-benefits small{font-size:10.5px}.overview-split{gap:16px}.recent-row{grid-template-columns:minmax(170px,1fr) 105px 115px 22px;gap:12px;padding:13px 15px}.recent-main strong{font-size:12px}.recent-main small{font-size:10px}.recent-meta small{font-size:9.5px}.recent-meta b{font-size:11px}.customer-exchange-card{padding:17px}.customer-rate-box{grid-template-columns:1fr 34px 1fr;gap:8px;margin:10px 0 14px}.customer-rate-box>div{padding:12px}.customer-rate-box small{font-size:10px}.customer-rate-box strong{font-size:14px}.customer-rate-box>span{width:32px;height:32px}

/* Store */
.store-toolbar{grid-template-columns:minmax(300px,1fr) 190px auto;gap:10px;margin-bottom:12px}.store-category-strip{gap:7px;margin-bottom:16px}.store-category-strip a{height:32px;padding:0 12px;font-size:11px}.store-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.gift-card{padding:9px;border-radius:10px}.gift-art{height:150px;padding:11px;border-radius:8px}.gift-art img{padding:15px}.gift-art small{font-size:10px}.gift-content{padding:10px 2px 3px}.gift-content h2{font-size:13px}.gift-range,.gift-rating{font-size:11px;margin-top:4px}.product-page{grid-template-columns:minmax(360px,.82fr) minmax(460px,1.18fr);gap:54px}.product-card-stage{top:86px;min-height:470px}.product-card-large{width:min(400px,100%);padding:25px}.product-card-large small{font-size:11px}.product-card-large strong{font-size:28px}.product-card-large span{font-size:10px}.product-details h1{font-size:40px}.product-description{font-size:13px}.trust-note{font-size:11.5px}.purchase-panel{padding:18px}.purchase-foot{font-size:10.5px}

/* Exchange — focused module like the reference */
.exchange-page-heading{max-width:1080px;margin-left:auto;margin-right:auto;margin-bottom:14px}.exchange-page-heading .kicker{display:none}.exchange-page-heading h1{font-size:22px}.exchange-page-heading p{font-size:11px;color:var(--success);margin-top:4px}
.exchange-layout{max-width:1080px;margin-inline:auto;grid-template-columns:minmax(0,1fr) 360px;gap:14px}.exchange-form-panel{padding:18px}.exchange-pair-shell{grid-template-columns:minmax(0,1.25fr) minmax(180px,.75fr);gap:11px}.wallet-receipt-card{padding:15px;border-radius:11px}.wallet-receipt-head{gap:12px}.wallet-receipt-head strong{font-size:13px}.wallet-receipt-head p{font-size:10.5px}.wallet-receipt-body{gap:11px;margin-top:12px}.wallet-tile{grid-template-columns:40px 1fr;gap:10px}.wallet-tile-icon{width:40px;height:40px}.wallet-tile small{font-size:10px}.wallet-tile strong{font-size:11.5px}.wallet-tile em{font-size:10px}.wallet-receipt-note{padding:10px;font-size:10.5px}.exchange-reference,.proof-grid{gap:11px}.quote-panel{top:82px;border-radius:11px}.quote-head{height:48px;padding:0 15px}.quote-head strong{font-size:13px}.quote-live{font-size:9px}.quote-route{grid-template-columns:1fr 34px 1fr;gap:8px;padding:15px}.quote-asset{padding:12px}.quote-asset small{font-size:10px}.quote-asset strong{font-size:17px;margin-top:5px}.quote-asset em{font-size:10px}.quote-swap{width:32px;height:32px}.quote-breakdown{padding:7px 15px}.quote-breakdown>div{padding:8px 0;font-size:11.5px}.quote-limits{padding:12px 15px;font-size:10.5px}.quote-review{margin:0 15px 15px;padding:11px 12px;font-size:10.5px}

/* Public/auth */
.public-header{height:var(--nav-h);padding:0 clamp(22px,5vw,72px)}.text-link{font-size:12px}.public-main{min-height:calc(100vh - var(--nav-h))}.hero{min-height:calc(100vh - var(--nav-h));grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);gap:58px;padding:60px clamp(26px,6vw,96px)}.hero-label{font-size:10px}.hero h1{font-size:clamp(42px,4vw,62px)}.hero-copy>p{font-size:14px;max-width:610px}.hero-trust span{font-size:11.5px}.hero-product{min-height:490px}.exchange-demo{width:min(510px,100%)}.landing-feature{padding:32px clamp(22px,4vw,54px)}.landing-feature h2{font-size:18px}.landing-feature p{font-size:12px}.auth-page{min-height:calc(100vh - var(--nav-h));grid-template-columns:minmax(380px,.86fr) minmax(500px,1.14fr)}.auth-story{padding:54px}.auth-story h1{font-size:clamp(42px,3.8vw,58px)}.auth-story p{font-size:13px}.story-point{font-size:11.5px}.auth-form-wrap{padding:42px 26px}.auth-card{width:min(470px,100%)}.auth-card h2{font-size:28px}.auth-card>p{font-size:12px}.auth-foot{font-size:11.5px}.password-meta a{font-size:11px}

/* Product marks */
.product-mark-md{width:52px;height:52px}.product-mark-sm{width:27px;height:27px}.product-mark-lg{width:72px;height:72px}.gift-art .product-mark{width:72px;height:72px}

/* Large desktop */
@media(min-width:1600px){
  .admin-page-container{padding-left:40px;padding-right:40px}.customer-page-container{padding-left:40px;padding-right:40px}
  .dashboard-main-grid{grid-template-columns:minmax(0,1.16fr) minmax(400px,.84fr)}
  .store-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.customer-best-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}

/* Laptop */
@media(max-width:1279px){
  :root{--content-gutter:24px;--admin-sidebar-width:226px}
  .admin-nav-item{font-size:12.5px}.admin-topbar{grid-template-columns:1fr minmax(300px,420px) 1fr}.admin-page-container{padding-top:24px}
  .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.metric{padding:14px}.metric strong{font-size:23px}.metric-label{font-size:10.5px}.metric small{font-size:9.5px}
  .dashboard-main-grid{grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr)}.dashboard-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-best-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .exchange-admin-grid{grid-template-columns:310px 1fr}.pair-form-polished{grid-template-columns:1fr 1fr 1fr}
}

/* Tablet / narrow laptop */
@media(max-width:1023px){
  :root{--content-gutter:20px;--admin-sidebar-width:210px}
  .admin-topbar{padding:0 20px;grid-template-columns:1fr minmax(240px,340px) 1fr}.admin-page-container{padding-left:20px;padding-right:20px}.admin-layout{grid-template-columns:280px 1fr}.review-layout{grid-template-columns:1fr 310px}.exchange-admin-grid{grid-template-columns:1fr}.product-page{gap:38px}.exchange-layout{grid-template-columns:1fr 340px}.customer-page-container{padding-left:20px;padding-right:20px}.customer-best-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-hero{grid-template-columns:1fr .85fr}.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-main-grid{grid-template-columns:1fr}.dashboard-bottom-grid{grid-template-columns:1fr 1fr}
}

/* Mobile / app shell */
@media(max-width:820px){
  body.app-body{padding-bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom));font-size:14px}
  .admin-sidebar{display:none}.admin-workspace{margin-left:0}.admin-topbar{height:58px;padding:0 16px;display:flex;justify-content:space-between}.admin-topbar .mobile-brand{display:inline-flex}.topbar-search{display:none}.profile-rich-copy,.profile-rich>.icon{display:none}.admin-page-container{padding:20px 16px 36px}
  .mobile-nav{height:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.mobile-nav>a,.mobile-more>summary{height:var(--mobile-nav-h);gap:3px;font-size:18px}.mobile-nav small{font-size:10px}.admin-mobile-nav{background:#08141e;border-color:#1c2d39}
  .customer-topbar{height:58px;padding:0 16px;grid-template-columns:1fr auto}.customer-desktop-nav{display:none}.customer-topbar .brand-symbol{width:24px;height:24px;flex-basis:24px}.customer-topbar .brand-name{font-size:13px}.customer-topbar-actions{gap:1px}.customer-topbar-actions [data-theme-toggle],.customer-topbar-actions .customer-avatar{display:none}.customer-topbar-actions .notification-button{display:grid;width:36px;height:36px}.customer-main{min-height:calc(100vh - 58px)}.customer-page-container{padding:18px 16px 32px}.customer-mobile-nav{display:grid;background:color-mix(in srgb,var(--surface) 97%,transparent)}
  html[data-theme="dark"] .customer-shell,html[data-theme="dark"] .customer-page-container{background:#06111a}html[data-theme="dark"] .customer-topbar{background:#06111a;border-color:#172733}html[data-theme="dark"] .customer-mobile-nav{background:#07131d;border-color:#182a36}
  .customer-hero{grid-template-columns:minmax(0,1.17fr) minmax(126px,.83fr);min-height:205px;margin-bottom:20px;border-radius:13px}.customer-hero-copy{padding:22px}.customer-hero h1{font-size:clamp(24px,6.4vw,30px);line-height:1.08;margin:0 0 9px}.customer-hero p{font-size:11.5px;line-height:1.5;margin-bottom:14px}.customer-hero .btn{min-height:36px;padding:0 12px;font-size:11.5px}.customer-hero-art{min-height:205px}.hero-card{width:62px;height:78px;border-radius:9px}.hero-card.card-a{left:12%;top:24%}.hero-card.card-b{left:47%;top:15%}.hero-card.card-c{left:49%;top:52%}.hero-card.card-d{left:17%;top:58%}
  .customer-section{margin-bottom:20px}.customer-best-grid{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 0 4px;scrollbar-width:none}.customer-best-grid::-webkit-scrollbar{display:none}.customer-product-card{flex:0 0 112px;padding:7px;scroll-snap-align:start}.customer-product-art{height:86px;margin-bottom:7px}.customer-product-art .product-mark{width:58px;height:58px}.customer-product-card strong{font-size:11.5px}.customer-product-card small{font-size:10px}.section-header h2{font-size:17px}.section-header p{font-size:10.5px}.section-header a{font-size:10.5px}
  .why-heading{margin-bottom:9px}.customer-benefits{grid-template-columns:repeat(3,1fr);margin-bottom:20px}.customer-benefits article{display:block;text-align:center;padding:12px 6px}.customer-benefits article>span{width:32px;height:32px;margin:0 auto 7px}.customer-benefits strong{font-size:10.5px}.customer-benefits small{font-size:8.5px;line-height:1.35}.overview-split,.product-page,.exchange-layout,.order-detail-layout,.review-layout,.admin-layout{grid-template-columns:1fr}.product-card-stage{position:relative;top:auto;min-height:auto;padding:10px 0 18px}.quote-panel,.sticky-panel,.decision-panel{position:relative;top:auto}.exchange-layout{max-width:none;gap:10px}.quote-panel{order:-1}.dashboard-main-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.pair-form-polished{grid-template-columns:1fr 1fr}.pair-card-polished .pair-heading{grid-template-columns:1fr auto}.pair-wallet-summary{grid-column:1/-1}.store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gift-art{height:110px}.gift-art .product-mark{width:56px;height:56px}.gift-content h2{font-size:12px}.gift-range{font-size:10.5px}.exchange-page-heading{max-width:none}.exchange-page-heading h1{font-size:20px}.exchange-layout{margin-inline:0}.order-detail-layout{gap:10px}
}

@media(max-width:560px){
  .page-heading,.dashboard-title-row,.customer-page-title{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:16px}.page-heading h1,.dashboard-title-row h1,.customer-page-title h1{font-size:23px}.page-heading p,.dashboard-title-row p,.customer-page-title p{font-size:11.5px}.date-control{display:none}
  .metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric{padding:13px;min-height:102px}.metric strong{font-size:21px}.metric-icon{width:34px;height:34px}.metric-label{font-size:10px}.metric small{font-size:9px}.dashboard-chart-panel,.dashboard-recent-panel,.dashboard-mini-panel{padding:13px}.chart-wrap{height:190px}.dashboard-order-row{grid-template-columns:30px 1fr auto;min-height:44px}.dashboard-order-row .order-value,.dashboard-order-row time{display:none}.dashboard-bottom-grid{grid-template-columns:1fr}.filter-bar{flex-wrap:wrap}.filter-search{max-width:none;flex-basis:100%}.filter-bar select{max-width:none;flex:1}.data-table{min-width:720px}.form-grid,.exchange-reference,.proof-grid{grid-template-columns:1fr}.mini-form{grid-template-columns:1fr}.pair-form,.pair-form-polished{grid-template-columns:1fr}.customer-hero{grid-template-columns:minmax(0,1.2fr) minmax(116px,.8fr);min-height:190px}.customer-hero-copy{padding:18px}.customer-hero h1{font-size:23px}.customer-hero p{font-size:11px}.customer-hero-art{min-height:190px}.hero-card{width:56px;height:70px}.hero-secondary-action{display:none}.customer-product-card{flex-basis:106px}.customer-product-art{height:80px}.customer-benefits article{padding:11px 5px}.store-toolbar{grid-template-columns:1fr}.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gift-art{height:120px}.product-details h1{font-size:32px}.exchange-pair-shell{grid-template-columns:1fr}.wallet-receipt-head{flex-direction:column}.wallet-receipt-body{flex-direction:column;align-items:stretch}.wallet-receipt-body .btn{width:100%}.quote-route{grid-template-columns:1fr 30px 1fr;padding:12px;gap:6px}.quote-asset{padding:10px}.quote-asset strong{font-size:15px}.settings-section,.order-summary,.timeline-panel,.decision-panel,.form-panel,.pair-card{padding:16px}.public-header{height:58px;padding:0 16px}.public-main{min-height:calc(100vh - 58px)}.public-actions .text-link{display:none}.hero{min-height:auto;grid-template-columns:1fr;padding:38px 18px 52px;gap:30px}.hero h1{font-size:clamp(34px,9vw,44px)}.hero-copy>p{font-size:13px}.hero-product{min-height:310px}.landing-features{grid-template-columns:1fr}.landing-feature{padding:27px 18px;border-right:0;border-bottom:1px solid var(--border)}.auth-page{grid-template-columns:1fr}.auth-story{min-height:220px;padding:30px 20px}.auth-story h1,.compact-auth .auth-story h1{font-size:36px}.auth-story p{font-size:12px}.story-points{display:none}.auth-form-wrap{padding:32px 18px 44px}.auth-card h2{font-size:25px}
}

@media(max-width:380px){
  .metric-grid{grid-template-columns:1fr}.customer-product-card{flex-basis:102px}.store-grid{grid-template-columns:1fr 1fr}.customer-benefits article{padding:10px 4px}.customer-benefits strong{font-size:10px}.customer-benefits small{font-size:8px}.button,.btn{padding-left:12px;padding-right:12px}
}

/* Dashboard row fit guard */
@media(max-width:1320px) and (min-width:1024px){.dashboard-order-row{grid-template-columns:30px minmax(120px,1fr) 74px 96px}.dashboard-order-row time{display:none}}

/* Secondary UI surfaces kept on the same readable scale */
.mobile-more-menu{width:196px;padding:7px}.mobile-more-menu a,.mobile-more-menu button{height:40px;padding:0 11px;gap:9px;font-size:12px}
.proof-preview{padding:9px}.proof-preview img{height:145px}.proof-preview small{font-size:10.5px;margin-top:6px}
.demo-head{height:52px;padding:0 18px}.demo-head span{font-size:12px}.demo-head small{font-size:9.5px}.demo-route{gap:8px;padding:22px 18px 17px}.demo-asset{padding:15px}.demo-asset small{font-size:10px}.demo-asset strong{font-size:25px}.demo-asset span{font-size:10.5px}.demo-summary{margin:0 18px 17px}.demo-summary>div{padding:6px 0;font-size:10.5px}.demo-total{margin:0 18px 18px;padding:15px}.demo-total small{font-size:9.5px}.demo-total strong{font-size:22px}.floating-card{font-size:10.5px}.purchase-foot{font-size:10.5px}

/* Final human-polish pass: containment, readable mobile scale, no page-level overflow hacks. */
*,*::before,*::after{box-sizing:border-box}

.admin-workspace,.admin-main,.customer-main,.admin-page-container,.customer-page-container,
.page-heading,.page-heading-copy,.dashboard-title-row>*,.metric-grid>*,.dashboard-main-grid>*,.dashboard-bottom-grid>*,
.overview-split>*,.settings-layout>*,.product-page>*,.exchange-layout>*,.order-detail-layout>*,.review-layout>*,
.admin-layout>*,.exchange-admin-grid>*,.pair-form>*,.pair-form-polished>*,.form-grid>*,.proof-grid>*,
.exchange-reference>*,.exchange-pair-shell>*,.wallet-receipt-head>*,.wallet-receipt-body>*,.wallet-tile>*,
.customer-hero>*,.customer-benefits>*,.store-grid>*,.inventory-head>*,.variant-row>*,.recent-row>*{min-width:0}

img,svg,video,canvas{max-width:100%}
.financial-string,.wallet-tile strong,.wallet-admin-copy,.wallet-admin-copy strong,.wallet-admin-copy small,
.pair-wallet-summary,.pair-wallet-summary span,.detail-row b,.proof-card-head span,.order-id,.order-id small,.code-line strong{
  min-width:0;overflow-wrap:anywhere;word-break:break-word
}

.order-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.store-category-strip,.customer-best-grid,.order-tabs{max-width:100%;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.mobile-more-menu{max-width:calc(100vw - 32px)}
.customer-hero,.gift-art,.customer-product-art,.product-card-large{overflow:hidden}

@media(max-width:820px){
  input,select,textarea{font-size:16px;min-height:46px}
  label,.field{font-size:12.5px;letter-spacing:.03em}
  .field-note{font-size:12px;line-height:1.45}
  .button,.btn{min-height:42px;font-size:13px}
  .btn-sm,.button-sm{min-height:38px;font-size:12px}
  .mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr));width:100%;max-width:100%}
  .mobile-nav>a,.mobile-more>summary{min-width:0;padding-inline:2px}
  .mobile-nav small{font-size:11px;line-height:1.1;white-space:nowrap}
  .mobile-nav .icon{width:20px;height:20px}
  .customer-hero p{font-size:13px;line-height:1.45}
  .customer-hero .btn{min-height:40px;font-size:12.5px}
  .section-header h2{font-size:18px}
  .section-header p,.section-header a{font-size:12px}
  .customer-product-card strong{font-size:12.5px;line-height:1.3}
  .customer-product-card small{font-size:11.5px;line-height:1.3}
  .customer-benefits strong{font-size:12px;line-height:1.25}
  .customer-benefits small{font-size:11.5px;line-height:1.35}
  .recent-main strong{font-size:12px}.recent-main small{font-size:11px}
  .status{font-size:10.5px}
  .wallet-tile strong{font-size:13px;line-height:1.35}
  .wallet-receipt-head p,.wallet-receipt-note{font-size:12px;line-height:1.45}
  .quote-breakdown>div{font-size:12px;gap:14px}.quote-limits,.quote-review{font-size:11.5px}
  .proof-preview small{font-size:11px}
  .data-table th{font-size:11px}.data-table td,.data-table td strong{font-size:12px}.data-table td small{font-size:11px}
  .order-table-wrap{margin-left:0;margin-right:0;border-radius:11px;border-left:1px solid var(--border);border-right:1px solid var(--border)}
}

@media(max-width:560px){
  .customer-page-container,.admin-page-container{padding-left:16px;padding-right:16px}
  .order-table-wrap{margin-inline:0}
  .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gift-content h2{font-size:12.5px;line-height:1.3}.gift-range{font-size:11.5px}
  .customer-benefits article{padding:12px 6px}
  .customer-benefits strong{font-size:12px}.customer-benefits small{font-size:11px}
  .wallet-receipt-body{min-width:0}.wallet-tile{min-width:0}.wallet-tile>div{min-width:0}
  .detail-row{align-items:flex-start}.detail-row b{max-width:62%}
  .proof-card-head{align-items:flex-start;flex-wrap:wrap}.proof-card-head span{max-width:100%;text-align:left}
  .mobile-more-menu{right:8px;left:auto;width:min(196px,calc(100vw - 32px))}
}

@media(max-width:380px){
  .customer-benefits strong{font-size:11.5px}.customer-benefits small{font-size:10.5px}
  .mobile-nav small{font-size:10.5px}
  .customer-hero{grid-template-columns:minmax(0,1fr) 96px}.customer-hero-copy{padding:16px}
  .customer-hero h1{font-size:22px}.customer-hero p{font-size:12.5px}
  .hero-card{width:50px;height:63px}
  .quote-route{grid-template-columns:1fr;padding:12px;gap:8px}
  .quote-swap{margin:0 auto;transform:rotate(90deg)}
  .quote-asset{text-align:left}
  .detail-row{gap:10px}.detail-row b{max-width:58%}
}

/* 1024px layouts still include a desktop sidebar; stack the dashboard's main row before it becomes cramped. */
@media(max-width:1100px) and (min-width:821px){
  .dashboard-main-grid{grid-template-columns:1fr}
}

/* v10 production UX fixes */
.rejection-reason{
  display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:flex-start;
  margin:-4px 0 18px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--danger) 28%,var(--border));
  border-radius:10px;background:var(--danger-soft);color:var(--text-secondary)
}
.rejection-reason-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:color-mix(in srgb,var(--danger) 12%,var(--surface));color:var(--danger)}
.rejection-reason strong{display:block;color:var(--text-primary);font-size:13px;margin-bottom:4px}
.rejection-reason p{margin:0;font-size:14px;line-height:1.55;color:var(--text-secondary);overflow-wrap:anywhere}
.order-rejection-inline{display:block!important;max-width:280px;margin-top:6px!important;font-size:11.5px!important;line-height:1.4;color:var(--danger)!important;white-space:normal;overflow-wrap:anywhere}

.verify-page{min-height:calc(100vh - var(--nav-h));display:grid;place-items:center;padding:42px 20px}
.verify-card{width:min(480px,100%);padding:30px;text-align:center}
.verify-icon{width:46px;height:46px;margin:0 auto 16px;border-radius:11px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-hover)}
.verify-card h1{margin:0;color:var(--text-primary);font-size:28px;letter-spacing:-.035em}
.verify-card p{margin:10px 0 22px;font-size:14px;line-height:1.55;color:var(--text-secondary)}
.verify-card p strong{color:var(--text-primary);overflow-wrap:anywhere}
.verify-actions{display:grid;gap:10px}

.exchange-method-fieldset{border:0;padding:0;margin:0;min-width:0}
.exchange-method-fieldset legend{padding:0;margin:0 0 8px;color:var(--text-primary);font-size:12px;font-weight:700;letter-spacing:.035em}
.exchange-method-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.exchange-method-card{
  width:100%;min-width:0;min-height:58px;padding:10px 11px;border:1px solid var(--border);border-radius:9px;
  background:var(--surface);color:var(--text-secondary);display:grid;grid-template-columns:34px minmax(0,1fr) 22px;
  gap:9px;align-items:center;text-align:left;transition:border-color .18s,background .18s,box-shadow .18s
}
.exchange-method-card:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--border));background:var(--surface-muted)}
.exchange-method-card.selected{border-color:color-mix(in srgb,var(--primary) 72%,var(--border));background:var(--primary-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 18%,transparent)}
.exchange-method-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:var(--surface-muted);color:var(--text-muted)}
.exchange-method-card.selected .exchange-method-icon{background:color-mix(in srgb,var(--primary) 18%,var(--surface));color:var(--primary-hover)}
.exchange-method-copy{min-width:0}.exchange-method-copy strong{display:block;color:var(--text-primary);font-size:12.5px;line-height:1.3;overflow-wrap:anywhere}.exchange-method-copy small{display:block;margin-top:3px;color:var(--text-muted);font-size:10.5px;line-height:1.3;overflow-wrap:anywhere}
.exchange-method-check{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--border);color:transparent;background:var(--surface)}
.exchange-method-card.selected .exchange-method-check{background:var(--primary);border-color:var(--primary);color:#142108}

.admin-main .data-table th{font-size:11.5px;height:42px}.admin-main .data-table td,.admin-main .data-table td strong{font-size:13px}.admin-main .data-table td small{font-size:11px}
.admin-main .form-panel h2,.admin-main .settings-section h2,.admin-main .decision-panel h2{font-size:18px}
.admin-main .form-panel label,.admin-main .settings-section label,.admin-main .decision-panel label{font-size:13px;letter-spacing:.025em}
.admin-main .form-panel input,.admin-main .form-panel select,.admin-main .form-panel textarea,.admin-main .settings-section input,.admin-main .settings-section select,.admin-main .settings-section textarea,.admin-main .decision-panel input,.admin-main .decision-panel select,.admin-main .decision-panel textarea{font-size:14px}
.admin-main .field-note{font-size:11.5px}

.exchange-admin-create-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.75fr);gap:18px;align-items:start;margin-bottom:28px}
.exchange-method-create-panel,.receiving-account-create-panel{padding:22px}
.admin-form-section{padding-top:16px;border-top:1px solid var(--border-subtle)}
.admin-form-section h3{margin:0 0 11px;color:var(--text-primary);font-size:13px;font-weight:750}
.form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.admin-form-actions{display:flex;justify-content:flex-end;padding-top:2px}
.exchange-admin-section{margin-top:26px}.exchange-admin-section>.section-header{margin-bottom:12px}
.exchange-method-admin-list{display:grid;gap:10px}
.exchange-method-admin-card{padding:0;overflow:hidden}
.exchange-method-admin-card>summary{display:grid;grid-template-columns:minmax(240px,1fr) minmax(220px,.75fr) auto 18px;gap:14px;align-items:center;padding:15px 16px}
.exchange-method-admin-main{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.exchange-method-admin-icon{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-hover)}
.exchange-method-admin-main strong{display:block;color:var(--text-primary);font-size:14px;line-height:1.3;overflow-wrap:anywhere}.exchange-method-admin-main small{display:block;margin-top:3px;color:var(--text-muted);font-size:11.5px}
.exchange-method-admin-meta{display:flex;justify-content:flex-end;gap:14px;color:var(--text-secondary);font-size:12px;min-width:0}.exchange-method-admin-meta span{overflow-wrap:anywhere}
.exchange-method-edit-form{display:flex;flex-direction:column;gap:16px;padding:18px;border-top:1px solid var(--border);background:var(--surface-muted)}
.exchange-method-edit-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.wallet-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wallet-admin-card>summary{min-height:58px}.wallet-admin-copy strong{font-size:13px}.wallet-admin-copy small{font-size:11px}

@media(max-width:1280px){
  .exchange-admin-create-grid{grid-template-columns:1fr}
  .form-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .exchange-method-admin-card>summary{grid-template-columns:minmax(220px,1fr) minmax(180px,.7fr) auto 18px}
}

@media(max-width:820px){
  .verify-page{min-height:calc(100vh - 58px);padding:28px 16px}.verify-card{padding:24px 18px}.verify-card h1{font-size:25px}.verify-card p{font-size:13.5px}
  .exchange-method-list{grid-template-columns:1fr}
  .exchange-method-card{min-height:62px;padding:11px}
  .exchange-method-copy strong{font-size:13px}.exchange-method-copy small{font-size:11.5px}
  .exchange-admin-create-grid{gap:14px;margin-bottom:22px}.exchange-method-create-panel,.receiving-account-create-panel{padding:18px}
  .form-grid-4,.form-grid-5{grid-template-columns:1fr 1fr}
  .exchange-method-admin-card>summary{grid-template-columns:minmax(0,1fr) auto 18px;gap:9px;padding:13px}
  .exchange-method-admin-meta{grid-column:1/-1;justify-content:flex-start;padding-left:48px;gap:10px}
  .exchange-method-edit-form{padding:14px}.wallet-admin-grid{grid-template-columns:1fr}
  .rejection-reason{margin-bottom:14px;padding:13px}.rejection-reason p{font-size:14px}
}

@media(max-width:560px){
  .form-grid-4,.form-grid-5{grid-template-columns:1fr}
  .admin-form-actions .btn{width:100%}
  .exchange-method-admin-card>summary{grid-template-columns:minmax(0,1fr) auto 16px}
  .exchange-method-admin-meta{padding-left:0;flex-wrap:wrap}.exchange-method-edit-actions{align-items:stretch;flex-direction:column}.exchange-method-edit-actions .btn{width:100%}
  .rejection-reason{grid-template-columns:30px minmax(0,1fr);gap:10px}.rejection-reason-icon{width:30px;height:30px}.rejection-reason strong{font-size:13px}.rejection-reason p{font-size:14px}
}
.exchange-method-card{position:relative;cursor:pointer}
.exchange-method-radio{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}
.exchange-method-card:has(.exchange-method-radio:focus-visible){outline:2px solid color-mix(in srgb,var(--primary) 70%,transparent);outline-offset:2px}
.auth-header-logout{border:0;background:transparent;color:inherit;padding:0;cursor:pointer;font:inherit}
.auth-header-logout:hover{color:var(--text-primary)}

/* v11 exchange administration, user management, and quote summary */
.exchange-admin-heading{align-items:center}.exchange-admin-tabs{display:flex;align-items:center;gap:6px}.exchange-admin-tabs a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-secondary);font-size:12px;font-weight:700}.exchange-admin-tabs a:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--border));color:var(--text-primary)}
.split-actions{align-items:center;justify-content:space-between;gap:14px}.exchange-section-header p{margin:3px 0 0;color:var(--text-muted);font-size:11px}
.exchange-admin-edit-shell,.wallet-edit-shell{border-top:1px solid var(--border);background:var(--surface-muted)}.exchange-admin-edit-shell .exchange-method-edit-form,.wallet-edit-shell .wallet-edit-form{border-top:0;background:transparent}
.exchange-record-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 18px 16px}.exchange-record-actions form{margin:0}.exchange-record-actions .btn{min-width:88px}
.wallet-edit-shell .exchange-record-actions{padding:0 10px 12px}.wallet-edit-shell .wallet-edit-form{padding-bottom:12px}

.admin-user-filters select{min-width:150px}.admin-users-table td{vertical-align:middle}.table-action-cell{text-align:right;white-space:nowrap}.admin-user-heading .page-heading-copy p{overflow-wrap:anywhere}
.admin-user-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.admin-user-main,.admin-user-side{display:grid;gap:16px}.admin-user-section{padding:22px}.admin-user-form-actions{display:flex;justify-content:flex-end}.admin-user-summary,.admin-user-orders{padding:18px}.admin-user-summary .detail-row{font-size:12.5px;padding:10px 0}.admin-user-summary form{margin-top:14px}.admin-history-note{margin:9px 0 0;color:var(--text-muted);font-size:11px;line-height:1.45}.admin-user-order-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--border-subtle)}.admin-user-order-row:last-child{border-bottom:0}.admin-user-order-row strong{display:block;color:var(--text-primary);font-size:11.5px}.admin-user-order-row small{display:block;color:var(--text-muted);font-size:10.5px;margin-top:2px}.admin-user-order-row:hover strong{color:var(--primary-hover)}

.quote-summary-card{position:sticky;top:82px;padding:0;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:12px;color:var(--text-secondary);box-shadow:var(--shadow)}
.quote-summary-card .quote-head{height:auto;min-height:48px;padding:14px 18px;border-bottom:1px solid var(--border);display:flex;align-items:center}.quote-summary-card .quote-head strong{font-size:13px;color:var(--text-primary);letter-spacing:-.01em}
.quote-primary-value{padding:25px 18px 23px}.quote-primary-value>small{display:block;color:var(--text-muted);font-size:11px;font-weight:700}.quote-primary-value>div{display:flex;align-items:baseline;gap:7px;min-width:0;margin-top:7px}.quote-primary-value strong{min-width:0;color:var(--text-primary);font-size:clamp(30px,3.2vw,42px);line-height:1;letter-spacing:-.045em;font-weight:800;overflow-wrap:anywhere}.quote-primary-value em{font-style:normal;color:var(--text-muted);font-size:13px;font-weight:700}
.quote-summary-card .quote-breakdown{padding:9px 18px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.quote-summary-card .quote-breakdown>div{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:9px 0;font-size:12px}.quote-summary-card .quote-breakdown span{color:var(--text-muted)}.quote-summary-card .quote-breakdown b{max-width:65%;color:var(--text-primary);font-weight:700;text-align:right;overflow-wrap:anywhere}.quote-summary-card .quote-breakdown em{font-style:normal}
.quote-footer{padding:13px 18px 16px}.quote-summary-card .quote-limits{padding:0;color:var(--text-muted);font-size:11.5px;line-height:1.45}.quote-validation{margin-top:11px;padding:10px 11px;border:1px solid color-mix(in srgb,var(--danger) 25%,var(--border));border-radius:8px;background:var(--danger-soft);color:var(--danger);font-size:12px;font-weight:650;line-height:1.4}.quote-summary-card.quote-invalid{border-color:color-mix(in srgb,var(--danger) 38%,var(--border))}

@media(max-width:1100px){
  .admin-user-layout{grid-template-columns:1fr}.admin-user-side{grid-template-columns:1fr 1fr}.admin-user-summary,.admin-user-orders{min-width:0}
}
@media(max-width:820px){
  .exchange-admin-heading{align-items:flex-start}.exchange-admin-tabs{width:100%}.exchange-admin-tabs a{flex:1;justify-content:center}
  .split-actions{align-items:stretch;flex-direction:column}.split-actions .btn{width:100%}
  .exchange-record-actions{padding:0 14px 14px}.exchange-record-actions form{flex:1}.exchange-record-actions .btn{width:100%;min-width:0}
  .admin-user-filters select{min-width:0;flex:1}.admin-user-side{grid-template-columns:1fr}.admin-user-section{padding:18px}.admin-user-form-actions .btn{width:100%}
  .quote-summary-card{position:relative;top:auto}.quote-primary-value{padding:21px 16px 19px}.quote-primary-value strong{font-size:32px}.quote-summary-card .quote-breakdown{padding:8px 16px}.quote-footer{padding:12px 16px 15px}
}
@media(max-width:560px){
  .exchange-record-actions{flex-direction:column}.admin-user-filters{display:grid;grid-template-columns:1fr 1fr}.admin-user-filters .filter-search{grid-column:1/-1}.admin-user-filters .btn{width:100%}.admin-user-filters select{width:100%}
  .admin-user-heading .heading-actions{width:100%;flex-wrap:wrap}.admin-user-section{padding:16px}.admin-user-summary,.admin-user-orders{padding:16px}
  .quote-summary-card .quote-breakdown>div{display:grid;grid-template-columns:1fr;gap:3px;padding:8px 0}.quote-summary-card .quote-breakdown b{max-width:100%;text-align:left}.quote-primary-value>div{flex-wrap:wrap}.quote-primary-value strong{font-size:30px}.quote-primary-value em{font-size:12px}
}
