/* Nexus workspaces: clear hierarchy, compact controls and quiet tonal surfaces.
   Visibility, permissions and functional state remain owned by the application. */

/* Shared typography and form controls within task-oriented screens. */
:is(.admin-app-shell,.account-grid,.auth-shell,.listing-stage,.listing-detail-layout,.order-detail-grid,.sell-layout) {
  --workspace-inset:#1b2231;
  --workspace-rule:rgba(179,191,208,.17);
  color:var(--text,#eef2f8);
  font-size:15px;
  line-height:1.5;
}
:is(.admin-shell,.account-content,.auth-card,.listing-summary,.listing-checkout,.detail-panel,.sell-layout) :is(p,li) {
  line-height:1.6;
}
:is(.admin-shell,.account-content,.auth-card,.listing-checkout,.detail-panel,.sell-layout) label {
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.45;
}
:is(.admin-shell,.account-content,.auth-card,.listing-checkout,.detail-panel,.sell-layout) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="color"]),select,textarea) {
  min-width:0;
  max-width:100%;
  min-height:44px;
  padding:11px 12px;
  background:var(--workspace-inset,#1b2231)!important;
  border:1px solid #46536b!important;
  border-radius:4px!important;
  box-shadow:none!important;
  color:#eef2f8!important;
  font-size:15px!important;
  line-height:1.4;
}
:is(.admin-shell,.account-content,.auth-card,.listing-checkout,.detail-panel,.sell-layout) :is(input,select,textarea):focus-visible {
  outline:2px solid var(--nexus-accent,#a9bcea)!important;
  outline-offset:2px;
  border-color:var(--nexus-accent,#a9bcea)!important;
  box-shadow:none!important;
}
:is(.admin-shell,.account-content,.auth-card,.listing-checkout,.detail-panel,.sell-layout) :is(input,textarea)::placeholder {
  color:#a3b0c4!important;
  opacity:1;
}
:is(.admin-shell,.account-content,.auth-card,.sell-layout) :is(input[type="checkbox"],input[type="radio"]) {
  accent-color:var(--nexus-accent,#a9bcea);
  flex-shrink:0;
}
:is(.admin-shell,.account-content,.auth-card,.sell-layout) textarea {resize:vertical;}
:is(.admin-shell,.account-content,.auth-card,.sell-layout) :is(button,.btn) {font-size:14px;}
:is(.admin-shell,.account-content) :is(h1,h2,h3,h4) {line-height:1.25;letter-spacing:-.025em;}
:is(.admin-shell,.account-content) h2 {font-size:22px;}
:is(.admin-shell,.account-content) h3 {font-size:18px;}
:is(.admin-shell,.account-content) h4 {font-size:16px;}
:is(.admin-shell,.account-content) small {font-size:13px;line-height:1.45;}

/* Admin workspace. The canvas separates modules, so module outlines are redundant. */
.admin-app-shell {grid-template-columns:258px minmax(0,1fr);background:var(--nexus-canvas,#181e2b);}
.admin-sidebar {padding:16px 10px 12px;background:#151b27!important;border:0!important;box-shadow:none;}
.admin-sidebar .admin-brand {padding:5px 12px 22px;border:0;}
.admin-sidebar nav {gap:4px;padding:0 4px 14px 0;scrollbar-color:#46536b transparent;}
.admin-nav-caption {padding:4px 12px 13px;}
.admin-nav-caption span {font-size:11px;letter-spacing:.12em;color:#a9bcea;font-weight:700;}
.admin-nav-caption small {font-size:12px;color:#93a2b9;}
.admin-sidebar nav>a,.admin-nav-group>button {min-height:44px;font-size:14px;letter-spacing:0;font-weight:600;}
.admin-sidebar nav a {border:0!important;color:#b3bfd0;font-weight:600;}
.admin-sidebar nav a:hover {transform:none;background:#242e40;}
.admin-sidebar .admin-nav-group {border:0;background:transparent;}
.admin-sidebar .admin-nav-group.open {background:#1d2535;}
.admin-sidebar .admin-nav-group>button {padding:9px 11px;color:#c7d1e0;background:transparent;}
.admin-sidebar .admin-nav-group>button:hover {background:#242e40;}
.admin-sidebar nav :is(.admin-nav-group>button>i,.admin-nav-direct>i),
.admin-sidebar nav .admin-nav-group>div>a>i {
  border:0!important;background:transparent!important;box-shadow:none!important;color:#9baccc;
}
.admin-sidebar .admin-nav-group>button>b {background:transparent;color:#a9bcea;}
.admin-sidebar nav .admin-nav-group>div>a {min-height:38px;font-size:13px;padding:8px;line-height:1.35;}
.admin-sidebar nav :is(a.active,.admin-nav-direct.active),
.admin-sidebar nav .admin-nav-group>div>a.active {
  background:#2b3851!important;color:#e4ecff!important;box-shadow:none!important;
}
.admin-sidebar .admin-site-return {padding:13px 12px 4px;border:0;background:transparent;color:#b3bfd0;font-size:13px;}
.admin-topbar {min-height:66px;padding:12px 24px;background:var(--nexus-surface,#202738);border:0;backdrop-filter:none;}
.admin-topbar>div:nth-child(2) small {font-size:11px;letter-spacing:.1em;color:#a9bcea;}
.admin-topbar>div:nth-child(2) b {font-size:15px;font-weight:650;}
.admin-workspace-content {max-width:1720px;padding:26px;}
.admin-workspace .admin-shell {padding-top:0;}
.admin-shell>section,
.admin-shell>:is(.admin-marketplace-finance,.admin-escrow-section,.admin-dispute-section,.admin-stores-section,.admin-users-section) {
  padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
.admin-shell>section::before,.admin-shell>section::after,
.admin-overview::after,.admin-module-head::after,
.admin-shell .stores-module-head::after,.admin-store-card::before,.admin-store-card::after {content:none!important;}
.admin-overview,.admin-shell .admin-module-head,.admin-shell .stores-module-head {
  padding:24px!important;margin-bottom:20px;background:var(--nexus-surface,#202738)!important;
  border:0!important;box-shadow:none!important;
}
.admin-overview-copy h1,.admin-shell .admin-module-head h1 {margin:6px 0 8px;font-size:28px;font-weight:700;}
.admin-overview-copy p,.admin-shell .admin-module-head p {font-size:14px!important;color:#b3bfd0;max-width:76ch;}
.admin-overview-copy>span,.admin-module-head>div:first-child>span {font-size:12px;letter-spacing:.08em;color:#a9bcea!important;}
.admin-overview-pulse {border:0;background:#203d38;color:#a9e1cb;font-size:13px;}
.admin-overview-pulse i {box-shadow:none;animation:none;}
.admin-module-head>b {border:0;background:#2b354b;font-size:13px;font-weight:600;}
.admin-kpi-grid {gap:12px;margin-top:16px;}
.admin-kpi-grid article {grid-template-columns:32px minmax(0,1fr);gap:10px;min-width:0;padding:18px 14px;background:var(--nexus-surface,#202738);border:0;}
.admin-kpi-grid article>span {width:32px;height:32px;background:transparent;border:0;color:#a9bcea;}
.admin-kpi-grid small {font-size:13px;color:#b3bfd0;}
.admin-kpi-grid b {font-size:25px;font-weight:650;letter-spacing:-.035em;}
.admin-shell :is([class$="-kpis"],[class$="-kpi-grid"])>:is(article,div) {border:0!important;box-shadow:none!important;}
.admin-shell :is([class$="-kpis"],[class$="-kpi-grid"]) :is(small,dt) {color:#b3bfd0;font-size:13px;letter-spacing:.025em;}
.admin-shell :is(.admin-store-card,.admin-user-dossier,.risk-review-dossier,.admin-dispute-dossier,.admin-provider-card,.admin-coupon-card,.admin-kyc-card,.admin-preview,.admin-form,.admin-ticket-conversation,.admin-ticket-placeholder,.admin-user-placeholder,.risk-review-placeholder) {
  background:var(--nexus-surface,#202738)!important;border:0!important;box-shadow:none!important;
}
.admin-shell :is(.admin-store-card,.admin-coupon-card,.admin-provider-card):hover {transform:none!important;}
.admin-shell :is(.admin-account-workbench,.risk-workbench,.admin-dispute-workbench)>aside {
  padding:12px;background:var(--nexus-surface,#202738);border:0;
}
.admin-shell :is(.admin-user-row,.risk-queue-row,.admin-ticket-row) {border:0;background:#252f42;}
.admin-shell :is(.admin-user-row,.risk-queue-row,.admin-ticket-row).active {background:#33425d;box-shadow:none;}
.admin-shell :is(.admin-user-row b,.risk-queue-row>b,.admin-store-identity h3) {font-size:15px;}
.admin-shell :is(.admin-user-facts article,.admin-user-control-grid>form,.admin-user-actions>form,.admin-user-ledger,.admin-user-messages,.admin-user-events,.admin-store-card dl>div,.admin-store-editor,.admin-store-moderation,.risk-policy-form,.risk-signals article,.admin-game-row,.admin-payment-method-row,.admin-plan-row) {
  background:#252f42!important;border:0!important;box-shadow:none!important;
}
.admin-shell .admin-store-identity {border:0;padding-bottom:16px;}
.admin-shell .admin-store-card {padding:22px;}
.admin-shell .admin-store-owner-link {border:0;background:#2a3c45;font-size:14px;box-shadow:none;}
.admin-shell .admin-store-editor>summary {font-size:14px;}
.admin-shell .admin-store-editor[open]>form {border:0;padding:12px;}
.admin-shell :is(.admin-toggle,.site-logo-preview,.site-hero-preview,.site-commercial-preview,.site-settings-preview) {border:0!important;box-shadow:none!important;}
.admin-shell .site-settings-head {padding:24px;background:var(--nexus-surface-raised,#293247);border:0;}
.admin-shell .site-settings-form fieldset {padding:24px;border:0;}
.admin-shell .site-settings-form fieldset+fieldset {background:rgba(255,255,255,.018);}
.admin-shell .site-settings-form legend {font-size:16px;font-weight:650;}
.admin-shell :is(.admin-permission-grid,.site-settings-fields,.two-input)>* {min-width:0;}

/* Account, seller profile and everyday operations. */
.account-head {margin-top:24px;padding:24px;background:var(--nexus-surface,#202738)!important;border:0!important;box-shadow:none!important;}
.account-head h1 {margin:0 0 7px;font-size:28px!important;letter-spacing:-.035em;line-height:1.2;}
.account-head p {margin:0;color:#b3bfd0;font-size:15px;line-height:1.55;}
.account-avatar {width:66px;height:66px;flex:0 0 66px;border:0;box-shadow:none;font-size:23px;background:#34425c!important;}
.premium-account-profile::after,.premium-account-stats>div::after {content:none!important;}
.account-grid {grid-template-columns:224px minmax(0,1fr);gap:24px;padding-top:24px;align-items:start;}
.account-content,.account-grid>* {min-width:0;}
.account-content {gap:20px;}
.account-nav {top:130px;padding:9px;background:var(--nexus-surface,#202738)!important;border:0!important;box-shadow:none!important;gap:3px;}
.account-nav a {padding:11px 12px;min-height:43px;border:0!important;font-size:14px;font-weight:550;color:#b3bfd0;}
.account-nav a:hover {background:#29344a;color:#eef2f8;}
.account-nav a.active {background:#34435f;color:#e5edff;}
.account-stats,.seller-metric-grid,.seller-kpi-grid {gap:12px;}
.account-stats>div,.seller-metric-grid article,.seller-kpi-grid>div,
.notification-summary>div,.support-summary article {
  min-width:0;padding:20px;background:var(--nexus-surface,#202738)!important;border:0!important;box-shadow:none!important;
}
.account-stats>div:hover {transform:none!important;}
.account-stats b,.seller-kpi-grid b {font-size:28px;letter-spacing:-.04em;font-weight:650;}
.account-stats span,.seller-metric-grid span,.seller-kpi-grid small {color:#b3bfd0;font-size:13px;letter-spacing:0;}
.account-content :is(.form-section,.security-panel,.seller-profile-editor,.seller-listing-section,.seller-vault-section,.seller-finance-panel,.seller-escrow-panel,.seller-analytics-chart-card,.seller-product-performance,.seller-questions-section,.order-card,.order-action-card,.order-snapshot-card,.order-vault-delivery) {
  border:0!important;background:var(--nexus-surface,#202738)!important;box-shadow:none!important;
}
.account-content .form-section {padding:24px;}
.account-content :is(.form-section-head,.security-panel-head) {margin-bottom:20px;}
.account-content :is(.form-section-head p,.security-panel-head p) {font-size:14px;color:#b3bfd0;}
.account-content :is(.seller-health-strip>div,.seller-listing-row,.seller-listing-insights>div,.seller-vault-products>article,.seller-vault-history article,.seller-finance-kpis>article) {border:0;box-shadow:none;}
.account-content .seller-listing-row {padding:16px;background:#252f42;}
.account-content .seller-profile-edit-body {padding:24px;gap:24px;}
.account-content .seller-profile-save {flex-wrap:wrap;}
.seller-profile-save>span,.seller-health-strip span {font-size:13px;color:#b3bfd0;}
.seller-hero {padding-top:24px;}
.premium-seller-profile .seller-cover {padding:28px;background:var(--nexus-surface,#202738)!important;border:0!important;box-shadow:none!important;}
.premium-seller-profile .seller-cover:not(.has-store-cover) {animation:none;}
.premium-seller-profile .seller-logo img {border:0;box-shadow:none;width:84px;height:84px;}
.seller-profile-name h1 {font-size:30px;letter-spacing:-.035em;}
.seller-profile-copy p {font-size:15px;line-height:1.6;color:#c4cfe0;}
.seller-hero :is(.seller-rank-badge,.seller-presence-badge,.profile-social-stats),
.listing-checkout :is(.seller-rank-badge,.seller-presence-badge,.profile-social-stats) {border:0;box-shadow:none;background:rgba(18,25,38,.46);}
.seller-head-actions,.notification-head-actions {flex-wrap:wrap;}

/* Sign in, registration and account verification. */
.auth-shell {margin-top:32px;max-width:1110px;padding:0;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:0;background:var(--nexus-surface,#202738)!important;border:0!important;box-shadow:none!important;overflow:hidden;}
.auth-visual {min-height:570px;padding:40px;background:#242f44!important;justify-content:center;}
.auth-visual h1 {font-size:40px!important;line-height:1.08;letter-spacing:-.045em;max-width:11em;margin:14px 0 18px;}
.auth-visual>p {font-size:16px;line-height:1.65;color:#c6d1e2;max-width:40ch;}
.auth-kicker {color:#b6c9ef!important;font-size:12px;font-weight:650;letter-spacing:.1em;}
.auth-promo-frame {max-width:360px;margin-bottom:28px;padding:0;border:0;background:transparent;box-shadow:none;}
.auth-benefits {gap:17px;margin-top:27px;}
.auth-benefits>div {padding:0;border:0;}
.auth-benefits>div>b {background:transparent;border:0;color:#b6c9ef;}
.auth-benefits strong {font-size:14px;font-weight:600;}
.auth-benefits small {display:block;margin-top:4px;color:#b3bfd0;font-size:13px;}
.auth-card {padding:36px;background:var(--nexus-surface,#202738)!important;border:0!important;box-shadow:none!important;}
.auth-card h2 {font-size:25px;line-height:1.2;letter-spacing:-.025em;}
.auth-card p {font-size:14px;color:#b3bfd0;}
.auth-tabs {padding:0 0 4px;gap:8px;background:transparent!important;border:0!important;}
.auth-tabs a {flex:1;min-height:44px;height:auto;padding:12px;background:#29344a;font-size:15px;font-weight:600;}
.auth-tabs a.active {background:#3b4c6b!important;color:#edf3ff!important;}
.auth-form {gap:18px;margin-top:26px;}
.auth-form .btn-xl {height:48px;font-size:15px;}
.auth-form .terms {font-size:13px!important;font-weight:400!important;color:#b3bfd0;}
.auth-form .terms a {color:#c6d8fa;text-decoration:underline;text-underline-offset:3px;}
.auth-label {font-size:14px!important;font-weight:600!important;}
.auth-switch {margin-top:22px;font-size:14px;}
.auth-social-divider {color:#a3b0c4;}
.auth-card :is(.password-reset-channels>section,.whatsapp-login-route,.auth-oauth-message) {border:0;box-shadow:none;background:#29344a;}

/* Wallet, notifications and help desk. */
.wallet-center,.wallet-dashboard,.notification-center,.support-center {gap:20px;}
.wallet-balance-card {grid-template-columns:minmax(0,1fr) 100px;min-height:218px;padding:28px;background:#28364e;border:0;}
.wallet-balance-card::after {content:none;}
.wallet-balance-card h2 {font-size:42px;font-weight:650;letter-spacing:-.045em;}
.wallet-balance-card span {font-size:12px;color:#c1d0e6;letter-spacing:.09em;}
.wallet-balance-card p {font-size:14px;color:#c1d0e6;}
.wallet-balance-card dl {padding-top:12px;border:0;}
.wallet-balance-card dt,.wallet-balance-card dd {font-size:14px;}
.wallet-balance-orbit {transform:scale(.7);transform-origin:center;opacity:.65;}
.wallet-panel,.wallet-flow-head,.wallet-request-form {padding:24px;background:var(--nexus-surface,#202738);border:0;box-shadow:none;}
.wallet-flow-head h2 {font-size:27px;}
.wallet-flow-head p {font-size:14px;color:#b3bfd0;}
.wallet-actions {gap:14px;}
.wallet-actions a {padding:20px;background:var(--nexus-surface,#202738);border:0;box-shadow:none;}
.wallet-actions a:hover {background:#29354c;transform:none;}
.wallet-actions a>span {background:#2f3f59;border:0;color:#bed0f3;}
.wallet-actions small {font-size:13px;color:#b3bfd0;}
.wallet-method-card,.wallet-quote,.wallet-method-instructions {border:0;box-shadow:none;}
.wallet-entry-row {padding:15px 0;border-bottom:1px solid var(--workspace-rule);}
.wallet-entry-row small {color:#b3bfd0;font-size:13px;}
.wallet-request-row {border:0;background:#252f42;}
.notification-summary span,.support-summary span {font-size:13px;color:#b3bfd0;}
.notification-summary b,.support-summary b {font-size:26px;font-weight:650;}
.notification-row {padding:18px;background:var(--nexus-surface,#202738);border:0;box-shadow:none;}
.notification-row.unread {background:#2b3952;}
.notification-row.priority-urgent {border-left:3px solid #e78b94;}
.notification-row.priority-important {border-left:3px solid #a9bcea;}
.notification-row:hover {background:#33425c;}
.notification-type-icon {background:#34425b;border:0;color:#cbd9f4;}
.notification-copy p {font-size:14px;color:#c0ccdd;line-height:1.55;}
.notification-copy small {font-size:13px;color:#b3bfd0;}
.support-workspace {gap:16px;min-height:560px;background:transparent;border:0;overflow:visible;}
.support-ticket-list {background:var(--nexus-surface,#202738);padding:6px;border:0;}
.support-ticket-row {padding:15px 12px;border:0;margin-bottom:4px;}
.support-ticket-row.active,.support-ticket-row:hover {background:#2d3c55;}
.support-ticket-row b {font-size:14px;}
.support-ticket-row :is(small,p) {font-size:13px;color:#b3bfd0;}
.support-ticket-detail,.support-empty-detail {padding:22px;background:var(--nexus-surface,#202738);border:0;}
.support-ticket-detail>header {padding-bottom:18px;border:0;}
.support-ticket-detail form {padding-top:18px;border:0;}
.support-message>div {border:0;background:#29344a;}
.support-message.admin>div {background:#34455f;}
.support-message p {font-size:14px;line-height:1.6;color:#dbe4f1;}
.support-message time {color:#b3bfd0;font-size:12px;}
.support-message b {font-size:13px;color:#c4d7fb;}
.support-create-form {border:0;box-shadow:none;background:var(--nexus-surface,#202738);}

/* Listing detail is a three-part buying workspace. */
.listing-breadcrumb {padding-top:23px;padding-bottom:20px;gap:16px;}
.listing-breadcrumb .breadcrumb {min-width:0;font-size:13px;line-height:1.5;}
.listing-view-count {color:#b3bfd0;font-size:13px;}
.listing-stage {grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) 302px;gap:20px;padding:0;background:transparent!important;border:0!important;box-shadow:none!important;align-items:start;overflow:visible;}
.listing-media-card,.listing-summary,.listing-checkout {min-width:0;padding:20px;border:0!important;box-shadow:none!important;}
.listing-media-card {background:var(--nexus-surface,#202738);}
.listing-image-frame {min-height:315px;padding:12px;background:#151c29;border:0;}
.listing-image-frame img {max-height:380px;}
.listing-thumbnails {gap:8px;}
.listing-thumbnail {border-color:transparent;background:#29344a;}
.listing-thumbnail.active {border-color:#a9bcea;}
.listing-media-meta {gap:7px;margin-top:16px;}
.listing-media-meta span {padding:5px 8px;border:0;background:#2b354a;color:#c2ccdc;font-size:12px;font-weight:500;}
.listing-summary {padding:8px 2px;background:transparent;justify-content:flex-start;}
.listing-summary h1 {font-size:27px;line-height:1.2;letter-spacing:-.035em;margin:13px 0 15px;overflow-wrap:anywhere;}
.listing-lead {font-size:15px;line-height:1.65;color:#c0ccdd;}
.listing-divider {height:0;border:0;margin:8px 0;}
.detail-eyebrow {font-size:13px;color:#b5c8ee;}
.detail-rating {font-size:13px;gap:7px;}
.detail-chips {gap:7px;margin:16px 0;}
.detail-chips span {padding:7px 9px;background:#27364b;border:0;font-size:13px;}
.listing-highlights {padding:0;background:transparent;border:0;}
.listing-highlights h3 {font-size:16px;margin:5px 0 10px;}
.listing-highlights li {font-size:14px;line-height:1.6;color:#c0ccdd;}
.listing-summary .detail-metrics {gap:9px;}
.listing-summary .detail-metrics>div {padding:12px;background:var(--nexus-surface,#202738);border:0;}
.listing-summary .detail-metrics dt {font-size:11px;letter-spacing:.035em;color:#b3bfd0;}
.listing-summary .detail-metrics dd {font-size:14px;line-height:1.45;font-weight:600;}
.listing-checkout {position:sticky;top:132px;grid-column:auto;background:var(--nexus-surface,#202738);padding:20px;}
.listing-checkout .seller-band {margin:-20px -20px 20px;padding:12px 20px;text-align:left;background:#2c3850;color:#c6d5ee;font-size:11px;font-weight:650;letter-spacing:.08em;}
.listing-checkout .seller-name-line>a {font-size:15px;}
.listing-checkout .seller-proof {gap:8px;}
.listing-checkout .seller-proof>div {padding:11px 5px;background:#28334a;border:0;}
.listing-checkout .seller-proof b {font-size:14px;}
.listing-checkout .seller-proof small {font-size:11px;color:#b3bfd0;}
.listing-checkout .purchase-price {padding-top:10px;}
.listing-checkout .purchase-price strong {font-size:32px;letter-spacing:-.04em;font-weight:700;}
.listing-checkout .seller-buttons .btn-message-seller {font-size:14px;background:#33435f;border:0;}
.listing-checkout .seller-buttons .btn-message-seller:hover {background:#405473;transform:none;}
.listing-detail-layout {gap:20px;margin-top:28px;}
.detail-tabs {gap:8px;padding:0;background:transparent!important;border:0!important;border-radius:0!important;}
.detail-tab {height:44px;padding:0 16px;font-size:14px;background:var(--nexus-surface,#202738);font-weight:550;}
.detail-tab.active {background:#3b4d6e!important;color:#edf3ff!important;}
.detail-panel {padding:26px;background:var(--nexus-surface,#202738)!important;border:0!important;box-shadow:none!important;font-size:15px;}
.detail-panel h3 {font-size:21px;}
.detail-panel li {color:#c6d1e2;}
.purchase-modal {padding:26px;background:var(--nexus-surface,#202738);border:0;box-shadow:0 28px 80px rgba(0,0,0,.42);max-height:calc(100dvh - 36px);overflow-y:auto;}
.purchase-modal-product,.purchase-assurance,.purchase-wallet-summary {background:#29364d;border:0;}
.purchase-modal label {font-size:14px;}
.purchase-modal p,.purchase-modal-product span {font-size:14px;color:#c3cfe0;}

/* Keep separators where they make rows and transaction values easier to scan. */
:is(.admin-shell,.account-content,.order-detail-grid) table {width:100%;border-collapse:collapse;font-size:14px;}
:is(.admin-shell,.account-content,.order-detail-grid) :is(th,td) {padding:13px 14px;text-align:left;border:0;border-bottom:1px solid var(--workspace-rule,rgba(179,191,208,.17));}
:is(.admin-shell,.account-content,.order-detail-grid) th {background:#2b364d;color:#c4d2e9;font-size:12px;font-weight:650;letter-spacing:.025em;}
:is(.admin-shell,.account-content,.order-detail-grid) tbody tr:hover {background:rgba(169,188,234,.045);}
:is(.admin-shell,.account-content) :is(.ledger-table,.finance-ledger-table,.escrow-ledger-table,.analytics-table,.seller-product-performance-table) {max-width:100%;overflow-x:auto;border:0;}
:is(.admin-shell,.account-content) :is(form,fieldset,article,section) {min-width:0;}

@media (max-width:1400px) {
  .admin-kpi-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
  .listing-stage {grid-template-columns:minmax(0,1fr) minmax(0,1fr) 286px;gap:16px;}
  .listing-summary h1 {font-size:24px;}
  .listing-summary .detail-metrics {grid-template-columns:1fr;}
  .listing-summary .detail-metrics>div {padding:10px 12px;display:flex;justify-content:space-between;gap:12px;align-items:center;}
  .listing-summary .detail-metrics dd {margin-top:0;text-align:right;}
  .account-grid {grid-template-columns:210px minmax(0,1fr);gap:20px;}
}
@media (max-width:1100px) {
  .listing-stage {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .listing-checkout {grid-column:1/-1;position:static;}
  .listing-detail-layout {grid-template-columns:1fr;}
  .auth-visual,.auth-card {padding:28px;}
  .auth-visual h1 {font-size:35px!important;}
  .account-grid {grid-template-columns:190px minmax(0,1fr);gap:18px;}
  .account-nav {padding:7px;position:static;}
  .account-nav a {font-size:13px;padding:10px;}
  .support-workspace {grid-template-columns:1fr;}
  .support-ticket-list {max-height:320px;overflow-y:auto;}
}
@media (max-width:980px) {
  .admin-app-shell {grid-template-columns:1fr;}
  .admin-sidebar {width:258px;box-shadow:20px 0 50px rgba(0,0,0,.28);}
  .admin-workspace-content {padding:20px;}
  .auth-shell {max-width:680px;grid-template-columns:1fr;}
  .auth-visual {min-height:0;padding:28px;}
  .auth-visual h1 {max-width:none;font-size:32px!important;}
  .auth-visual>p {max-width:none;margin:0;}
  .auth-promo-frame {max-width:320px;margin-bottom:20px;}
  .auth-benefits {grid-template-columns:1fr;gap:14px;margin-top:24px;}
  .account-grid {grid-template-columns:1fr;}
  .account-nav {grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:8px;}
  .account-nav a {font-size:14px;}
  .premium-account-stats {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:640px) {
  .admin-topbar {padding:10px 14px;gap:9px;}
  .admin-topbar>div:nth-child(2) b {font-size:14px;}
  .admin-workspace-content {padding:14px;}
  .admin-overview,.admin-shell .admin-module-head,.admin-shell .stores-module-head {padding:20px!important;}
  .admin-overview-copy h1,.admin-shell .admin-module-head h1 {font-size:24px;}
  .admin-kpi-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .admin-kpi-grid article {grid-template-columns:minmax(0,1fr);padding:15px;gap:8px;}
  .admin-kpi-grid b {font-size:24px;}
  .admin-shell .site-settings-form fieldset {padding:20px;}
  .admin-shell .admin-store-card {padding:18px;}
  .admin-shell :is(.admin-permission-grid,.site-settings-fields,.two-input) {grid-template-columns:1fr;}
  .account-head {margin-top:20px;padding:20px;align-items:flex-start;gap:14px;flex-wrap:wrap;}
  .account-head h1 {font-size:24px!important;}
  .account-avatar {width:54px;height:54px;flex-basis:54px;font-size:21px;}
  .account-grid {padding-top:16px;gap:18px;}
  .account-nav {grid-template-columns:repeat(2,minmax(0,1fr));}
  .account-nav a {font-size:13px;line-height:1.4;}
  .account-stats,.premium-account-stats,.seller-kpi-grid,.seller-metric-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .account-stats>div,.seller-kpi-grid>div,.seller-metric-grid article {padding:16px;}
  .account-stats b,.seller-kpi-grid b {font-size:24px;}
  .account-content .form-section,.account-content .seller-profile-edit-body {padding:20px;}
  .premium-seller-profile .seller-cover {padding:22px;}
  .seller-profile-name h1 {font-size:25px;}
  .auth-shell {margin-top:20px;}
  .auth-visual,.auth-card {padding:24px;}
  .auth-visual h1 {font-size:30px!important;}
  .auth-form {gap:16px;}
  .wallet-balance-card {grid-template-columns:1fr;padding:24px;}
  .wallet-balance-card h2 {font-size:36px;}
  .wallet-balance-card dl {grid-template-columns:1fr;gap:12px;}
  .wallet-actions,.wallet-form-grid {grid-template-columns:1fr;}
  .wallet-panel,.wallet-flow-head,.wallet-request-form {padding:20px;}
  .notification-row {padding:15px;gap:11px;}
  .notification-copy>span {flex-wrap:wrap;}
  .notification-copy p {font-size:14px;}
  .support-summary {gap:8px;}
  .support-summary article {padding:14px;}
  .support-ticket-detail,.support-empty-detail {padding:18px;}
  .support-message {max-width:100%;}
  .support-message>div>span {flex-wrap:wrap;gap:5px;}
  .listing-breadcrumb {padding-top:18px;padding-bottom:16px;flex-wrap:wrap;}
  .listing-stage {grid-template-columns:1fr;gap:20px;}
  .listing-media-card,.listing-checkout {padding:18px;}
  .listing-image-frame {min-height:260px;}
  .listing-summary {padding:0 2px;}
  .listing-summary h1 {font-size:25px;}
  .listing-checkout {grid-column:auto;}
  .listing-checkout .seller-band {margin:-18px -18px 18px;padding:12px 18px;}
  .listing-detail-layout {margin-top:22px;}
  .detail-tabs {gap:6px;padding-bottom:5px;}
  .detail-tab {font-size:14px;padding:0 13px;}
  .detail-panel {padding:20px;}
  .purchase-modal {padding:22px;}
  :is(.admin-shell,.account-content,.auth-card,.listing-checkout,.sell-layout) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {font-size:16px!important;}
}
@media (prefers-reduced-motion:reduce) {
  :is(.admin-app-shell,.account-grid,.auth-shell,.listing-stage,.support-center,.wallet-center) *,
  :is(.admin-app-shell,.account-grid,.auth-shell,.listing-stage,.support-center,.wallet-center) *::before,
  :is(.admin-app-shell,.account-grid,.auth-shell,.listing-stage,.support-center,.wallet-center) *::after {
    animation:none!important;transition:none!important;scroll-behavior:auto!important;
  }
}

/* Premium cart drawer — open rhythm, icon-led controls, no nested box stack */
.drawer-backdrop{backdrop-filter:blur(8px);background:rgba(4,7,14,.62)}
.cart-drawer{display:flex;flex-direction:column;width:min(480px,100vw);padding:0;background:linear-gradient(180deg,#191f2d 0%,#141925 100%);border-left:1px solid rgba(154,169,201,.18);box-shadow:-28px 0 80px rgba(0,0,0,.4);overflow:hidden}
.drawer-head{min-height:104px;padding:24px 24px 18px;display:grid;grid-template-columns:44px 1fr 44px;gap:14px;border:0;background:linear-gradient(180deg,rgba(99,122,182,.1),transparent)}
.drawer-head-icon{width:44px;height:44px;display:grid;place-items:center;color:#91b2ff;background:rgba(108,139,216,.1);border:1px solid rgba(129,158,229,.2);border-radius:14px}.drawer-head-icon svg,.drawer-close svg{width:21px;height:21px}.drawer-head>div small{font-size:11px;letter-spacing:.15em;color:#93a3c7}.drawer-head h2{font-size:27px;letter-spacing:-.025em}.drawer-close{border-radius:14px;background:rgba(255,255,255,.035);transition:transform .18s ease,background .18s ease}.drawer-close:hover{transform:rotate(4deg);background:rgba(255,255,255,.08)}
#cartBody{display:flex;flex:1;min-height:0;flex-direction:column;overflow-y:auto;padding:0 24px 24px;scrollbar-width:thin}.cart-database-note{display:flex;align-items:center;gap:11px;padding:10px 0 18px!important;margin:0!important;border:0!important;background:none!important;color:#b6c6e8}.cart-database-note>span{width:32px;height:32px;display:grid;place-items:center;color:#6ee7b7}.cart-database-note svg{width:19px;height:19px}.cart-database-note b{font-size:14px}.cart-database-note small{display:block;margin-top:2px;color:#8390aa;font-size:12px;line-height:1.45}
.cart-list{display:grid;gap:0}.cart-item{grid-template-columns:76px minmax(0,1fr) auto;gap:14px;padding:18px 0;border:0;position:relative}.cart-item+.cart-item:before{content:"";position:absolute;left:90px;right:0;top:0;height:1px;background:rgba(151,165,195,.1)}.cart-item img{width:76px;height:64px;border-radius:13px;object-fit:contain;background:#101522;padding:3px}.cart-item-copy>b{font-size:14px;line-height:1.4}.cart-item-copy>span,.cart-item-side>small{font-size:12px;color:#7f8ba5}
.cart-quantity{display:flex;align-items:center;gap:9px;margin-top:10px}.cart-quantity button,.cart-item-side button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:10px;background:#252d3e;color:#c8d6f2}.cart-quantity button:hover:not(:disabled),.cart-item-side button:hover{background:#313b51}.cart-quantity button:disabled{opacity:.3}.cart-quantity svg,.cart-item-side svg{width:15px;height:15px}.cart-quantity strong{font-size:12px;margin:0;white-space:nowrap}.cart-item-side{min-width:88px;text-align:right;align-self:stretch;display:flex;flex-direction:column;align-items:flex-end}.cart-item-side>strong{font-size:15px;margin-top:1px}.cart-item-side>button{margin-top:auto;color:#ff9fa8;background:transparent}
.cart-checkout-footer{margin-top:auto;padding-top:16px}.cart-coupon-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin:0 0 20px;padding:0;border:0;background:none}.cart-coupon-form label{height:48px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid rgba(145,160,194,.16);border-radius:14px;background:rgba(255,255,255,.025)}.cart-coupon-form label span{display:grid;color:#8eacff}.cart-coupon-form label svg{width:18px;height:18px}.cart-coupon-form input{height:auto!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font-size:14px!important}.cart-coupon-form .btn{min-width:86px;border-radius:14px}
.cart-coupon{display:grid;grid-template-columns:34px 1fr 32px;gap:11px;padding:14px 0;margin-bottom:18px;border:0;border-top:1px solid rgba(92,214,166,.2);border-bottom:1px solid rgba(92,214,166,.2);background:none}.cart-coupon>span{color:#62d7a8}.cart-coupon svg{width:18px;height:18px}.cart-coupon b{font-size:13px}.cart-coupon p{font-size:12px;color:#8c99b2;margin:4px 0 0}.cart-coupon>button{display:grid;place-items:center;border:0;background:none;color:#aeb9cf}
.cart-checkout-summary{padding:0!important;margin:0!important;border:0!important;background:none!important}.cart-checkout-summary>div{display:flex;justify-content:space-between;gap:16px;padding:5px 0;font-size:13px}.cart-checkout-summary>div span{color:#8d99b1}.cart-checkout-summary>div b{font-size:13px}.cart-checkout-summary .discount b{color:#6ee7b7}.cart-checkout-summary .drawer-total{margin-top:9px;padding-top:15px;border-top:1px solid rgba(151,165,195,.13)}.drawer-total b{font-size:28px!important;letter-spacing:-.04em}.drawer-total span{align-self:flex-end;padding-bottom:4px;color:#d9e1f2!important;font-weight:700}
.cart-wallet-balance{display:flex;align-items:center;justify-content:space-between;margin:14px 0 12px;padding:11px 0!important;border:0!important;border-radius:0!important;background:none!important;color:#95a2ba}.cart-wallet-balance span{display:flex;align-items:center;gap:8px}.cart-wallet-balance svg{width:17px;height:17px}.cart-wallet-balance b{color:#dce4f4}.cart-wallet-balance.insufficient,.cart-wallet-balance.insufficient b{color:#ff929f}#checkoutCart{width:100%;min-height:56px;border:0;border-radius:15px;background:linear-gradient(110deg,#3f69ce,#6988d8);box-shadow:0 14px 35px rgba(45,82,172,.23);display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px}#checkoutCart svg{width:18px;height:18px}#checkoutCart:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 18px 42px rgba(45,82,172,.32)}
.drawer-note{display:flex;align-items:flex-start;justify-content:center;gap:7px;margin:12px 4px 0!important;color:#78859e!important;font-size:11px!important;line-height:1.5;text-align:center}.drawer-note svg{width:14px;height:14px;flex:0 0 auto;margin-top:1px}.drawer-empty{margin:auto;padding:54px 28px}.drawer-empty>span{width:68px;height:68px;display:grid;place-items:center;margin:0 auto 20px;color:#8dabff;background:rgba(105,137,216,.09);border-radius:20px}.drawer-empty>span svg{width:31px;height:31px}.drawer-empty>b{display:block;font-size:21px}.drawer-empty p{color:#8995ad;font-size:14px;line-height:1.6}.drawer-empty .drawer-link{display:inline-flex;align-items:center;gap:8px}.drawer-empty .drawer-link svg{width:17px;height:17px}

/* Administrator account tools */
.admin-user-create{margin:18px 0 22px;border:1px solid rgba(126,151,211,.17);border-radius:18px;background:linear-gradient(120deg,rgba(73,98,158,.1),rgba(255,255,255,.018));overflow:hidden}.admin-user-create>summary{min-height:78px;display:grid;grid-template-columns:42px 1fr 24px;align-items:center;gap:13px;padding:16px 20px;cursor:pointer;list-style:none}.admin-user-create>summary::-webkit-details-marker{display:none}.admin-user-create>summary>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#9ab8ff;background:rgba(111,145,226,.1)}.admin-user-create>summary svg{width:20px;height:20px}.admin-user-create>summary div{display:grid;gap:2px}.admin-user-create>summary small{font-size:10px;letter-spacing:.13em;color:#84a8ff}.admin-user-create>summary b{font-size:17px}.admin-user-create>summary em{font-style:normal;font-size:12px;color:#8b97af}.admin-user-create[open]>summary>svg{transform:rotate(45deg)}#adminUserCreateForm{padding:4px 20px 20px;border-top:1px solid rgba(137,156,199,.11)}
.admin-create-intro{display:flex;gap:11px;align-items:center;padding:16px 0;color:#92a1bc}.admin-create-intro>span{color:#69ddb0;display:grid}.admin-create-intro svg{width:20px;height:20px}.admin-create-intro b{display:block;color:#e7ebf4;font-size:14px}.admin-create-intro p{margin:3px 0 0;font-size:12px}.admin-create-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-create-fields>label{display:grid!important;grid-template-columns:1fr!important;align-content:start;gap:7px!important;min-width:0;font-size:12px;line-height:1.35}.admin-create-fields>label :is(input,textarea){width:100%!important;min-width:0}.admin-create-fields .wide{grid-column:1/-1}.admin-create-fields .admin-user-check{display:flex!important;align-items:center;grid-template-columns:none!important}.admin-user-create footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}.admin-user-create footer>span{display:flex;align-items:center;gap:8px;color:#8996af;font-size:12px}.admin-user-create footer svg{width:16px;height:16px}.admin-user-create .btn,.admin-password-reset .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}.admin-user-create .btn.btn-primary{border-color:#6f91e6!important;background:linear-gradient(110deg,#4d72d2,#718edb)!important;color:#fff!important;box-shadow:0 12px 26px rgba(56,88,171,.22)!important}.admin-user-create .btn svg,.admin-password-reset .btn svg{width:17px;height:17px}.admin-password-reset{border-color:rgba(239,107,122,.16)!important;background:linear-gradient(145deg,rgba(113,43,56,.08),transparent)!important}.admin-password-reset .section-title span{display:flex;align-items:center;gap:7px}.admin-password-reset .section-title svg{width:16px;height:16px}
@media(max-width:760px){.drawer-head{min-height:90px;padding:18px 18px 14px}#cartBody{padding:0 18px max(18px,env(safe-area-inset-bottom))}.cart-item{grid-template-columns:66px minmax(0,1fr) auto;gap:11px}.cart-item img{width:66px;height:58px}.cart-item+.cart-item:before{left:77px}.cart-item-side{min-width:76px}.admin-create-fields{grid-template-columns:1fr}.admin-user-create footer{align-items:stretch;flex-direction:column}.admin-user-create footer .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.drawer-backdrop,.cart-drawer,.drawer-close,#checkoutCart,.admin-user-create *{transition:none!important;animation:none!important}}
.admin-create-fields .admin-user-check{display:flex!important;align-items:center;justify-content:flex-start!important;gap:9px!important;grid-template-columns:none!important}.admin-create-fields .admin-user-check input{width:17px!important;min-width:17px!important;margin:0}.admin-create-fields .admin-user-check span{width:auto!important;margin:0!important;text-align:left!important}
