:root{--m-bg:#fff;--m-text:#101318;--m-muted:#66717d;--m-line:#e7ebee;--m-soft:#f7f9fb;--m-pink:#f23bb4;--m-blue:#35bdf2}
*{box-sizing:border-box}html,body{margin:0!important;padding:0!important;background:#fff!important;color:var(--m-text)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.topbuys-market{max-width:1100px;margin:0 auto;min-height:100vh}.topbuys-market a{text-decoration:none;color:inherit}.market-topbar{height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--m-line);position:sticky;top:0;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);z-index:30}.market-brand{font-size:21px;font-weight:900;letter-spacing:-.7px}.market-brand span{background:linear-gradient(90deg,var(--m-pink),var(--m-blue));-webkit-background-clip:text;background-clip:text;color:transparent}.market-topbar nav{display:flex;gap:18px;font-weight:750;font-size:14px}.market-hero{display:flex;justify-content:space-between;align-items:center;padding:30px 18px 24px;border-bottom:1px solid var(--m-line)}.market-hero span{font-size:11px;font-weight:900;letter-spacing:1.25px;color:var(--m-pink)}.market-hero h1{font-size:35px;margin:6px 0 5px;letter-spacing:-1.2px}.market-hero p{margin:0;color:var(--m-muted)}.market-primary,.market-secondary{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:11px 17px;font-weight:850;cursor:pointer}.market-primary{background:linear-gradient(90deg,var(--m-pink),var(--m-blue));color:#071019}.market-secondary{background:#fff;border:1px solid var(--m-line)}.market-search{display:grid;grid-template-columns:1fr 210px auto;gap:8px;padding:14px 18px;border-bottom:1px solid var(--m-line)}.market-search input,.market-search select,.sell-form input,.sell-form select,.sell-form textarea,.message-form textarea{width:100%;border:1px solid var(--m-line);background:var(--m-soft);border-radius:13px;padding:12px 13px;font:inherit;color:var(--m-text);outline:0}.market-search button{border:0;border-radius:13px;background:#111;color:#fff;font-weight:800;padding:0 18px}.market-section-title{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 10px}.market-section-title h2{margin:0;font-size:22px}.market-section-title a{color:#158fc4;font-weight:800}.market-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:0 18px 28px}.market-card{min-width:0}.market-card-image{aspect-ratio:1/1;display:block;background:var(--m-soft);border-radius:15px;overflow:hidden;position:relative}.market-card-image img{width:100%;height:100%;object-fit:cover;display:block}.market-card-image span{height:100%;display:flex;align-items:center;justify-content:center;color:var(--m-muted)}.market-sold{position:absolute;left:8px;top:8px;background:#111;color:#fff;padding:5px 8px;border-radius:999px;font-size:11px}.market-card-copy{padding:8px 2px;display:flex;flex-direction:column;gap:2px}.market-card-copy strong{font-size:18px}.market-card-copy a{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.market-card-copy small{color:var(--m-muted)}.market-empty{grid-column:1/-1;padding:50px 0;text-align:center;color:var(--m-muted)}.market-empty h3{color:var(--m-text)}.sell-page,.account-page,.market-auth{max-width:720px;margin:0 auto;padding:22px 18px 50px}.sell-page h1,.account-page h1,.market-auth h1{font-size:32px;margin:12px 0 5px}.sell-lead{margin:0 0 18px;color:var(--m-muted)}.market-back{color:#158fc4!important;font-weight:750}.sell-form{display:grid;gap:14px}.sell-form label{display:grid;gap:7px;font-weight:800;font-size:14px}.sell-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-drop{border:2px dashed #cfd7dd;border-radius:18px;padding:28px;text-align:center;cursor:pointer;background:var(--m-soft)}.photo-drop strong,.photo-drop span{display:block}.photo-drop span{font-weight:500;color:var(--m-muted);margin-top:4px}.photo-drop input{display:none}.photo-preview{display:flex;gap:8px;overflow:auto}.photo-preview img{width:78px;height:78px;border-radius:12px;object-fit:cover}.market-scout{justify-self:start;border:1px solid #d8eefa;background:#f4fbff;color:#148dc3;border-radius:999px;padding:9px 13px;font-weight:850;cursor:pointer}.scout-note,.market-status{font-size:13px;color:var(--m-muted)}.listing-view{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,.7fr);min-height:calc(100vh - 62px)}.listing-gallery{background:#f2f3f4;padding:16px;display:flex;gap:10px;overflow:auto;align-items:flex-start}.listing-gallery img{width:100%;min-width:100%;max-height:760px;object-fit:contain;border-radius:16px;background:#fff}.listing-body{padding:24px 22px}.listing-price{font-size:30px;font-weight:900;margin-top:16px}.listing-body h1{font-size:29px;margin:3px 0 12px}.listing-chips{display:flex;flex-wrap:wrap;gap:7px}.listing-chips span{background:var(--m-soft);border:1px solid var(--m-line);padding:6px 9px;border-radius:999px;font-size:12px}.listing-description{line-height:1.55;margin:20px 0}.listing-location{color:var(--m-muted);margin-bottom:18px}.seller-row{display:flex;gap:10px;align-items:center;border-top:1px solid var(--m-line);border-bottom:1px solid var(--m-line);padding:14px 0;margin:12px 0}.seller-row img{border-radius:50%}.seller-row div{display:flex;flex-direction:column}.seller-row small{color:var(--m-muted)}.listing-actions{display:flex;gap:8px;align-items:center}.market-fav,.market-share{border:1px solid var(--m-line);background:#fff;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer}.market-fav.is-on{color:var(--m-pink)}.message-form{display:grid;gap:9px;margin-top:12px}.message-form[hidden]{display:none!important}.sold-banner{padding:12px 14px;background:#f4f5f6;border-radius:13px;font-weight:800}.account-head{display:flex;gap:12px;align-items:center}.account-head img{border-radius:50%}.account-head h1{margin:0}.account-head a{color:#158fc4;font-weight:750}.account-page h2{margin-top:28px}.message-row{display:block;border-bottom:1px solid var(--m-line);padding:13px 0}.message-row span{display:block;color:var(--m-muted);font-size:13px}.message-row p{margin:5px 0 0}
@media(max-width:820px){.market-grid{grid-template-columns:repeat(3,1fr)}.listing-view{grid-template-columns:1fr}.listing-gallery{min-height:320px}.listing-body{padding:18px}}
@media(max-width:600px){.topbuys-market{max-width:none}.market-topbar{height:58px;padding:0 14px}.market-brand{font-size:19px}.market-topbar nav{gap:12px;font-size:13px}.market-hero{padding:20px 14px 16px;display:block}.market-hero h1{font-size:29px}.market-hero .market-primary{margin-top:14px}.market-search{grid-template-columns:1fr auto;padding:10px 14px}.market-search select{grid-column:1/-1;grid-row:2}.market-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding:0 14px 24px}.market-section-title{padding:16px 14px 9px}.sell-page,.account-page,.market-auth{padding-left:14px;padding-right:14px}.sell-two{grid-template-columns:1fr}.listing-gallery{padding:0;background:#f4f4f4}.listing-gallery img{border-radius:0;max-height:520px}.listing-body{padding:16px 14px}.listing-actions{flex-wrap:wrap}.listing-actions .market-primary{flex:1}.market-card-copy strong{font-size:17px}}


/* v1.0.1 — explain Scout and show visible working progress */
.scout-box{
  border:1px solid var(--m-line);
  border-radius:16px;
  padding:14px;
  background:#fbfdff;
}
.scout-box-head{
  display:flex;
  gap:11px;
  align-items:flex-start;
  margin-bottom:12px;
}
.scout-mark{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  font-size:18px;
  color:#071019;
  background:linear-gradient(135deg,var(--m-pink),var(--m-blue));
}
.scout-box-head>div:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.scout-box-head strong{font-size:15px}
.scout-box-head span{font-size:12.5px;line-height:1.4;color:var(--m-muted);font-weight:500}
.scout-progress{margin-top:13px}
.scout-progress[hidden]{display:none!important}
.scout-progress-track{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#e9eef2;
}
.scout-progress-bar{
  width:0;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--m-pink),var(--m-blue));
  transition:width .3s ease;
}
.scout-progress-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:7px;
  font-size:12px;
  color:var(--m-muted);
}
.scout-progress-row b{color:var(--m-text);font-variant-numeric:tabular-nums}
.scout-progress.is-done .scout-progress-label{color:#18704f;font-weight:750}
@media(max-width:600px){
  .scout-box{padding:13px}
  .scout-box-head span{font-size:12px}
}


/* v1.0.2 — photo → Scout → review flow */
.scout-box.is-first-step{margin-top:2px}
.scout-box.is-first-step:not(.is-ready){opacity:.78}
.scout-box.is-first-step.is-ready{border-color:#cfeaf7;background:#f8fcff}
.scout-review{display:grid;gap:14px;border-top:1px solid var(--m-line);padding-top:16px;transition:opacity .2s ease}
.scout-review-head{display:flex;flex-direction:column;gap:2px}
.scout-review-head strong{font-size:17px}
.scout-review-head span{font-size:12.5px;color:var(--m-muted)}
.scout-review.is-waiting{opacity:.56}
.scout-review.is-waiting input,.scout-review.is-waiting select,.scout-review.is-waiting textarea{background:#fafbfc}
.scout-review.is-ready{opacity:1}
.photo-preview:not(:empty){padding:2px 0 0}
@media(max-width:600px){.scout-review-head strong{font-size:16px}}

/* v1.0.3 — Scout Vision confidence states */
.scout-box .scout-progress-label{max-width:85%}
.scout-review.is-waiting{opacity:.68}
.scout-review.is-ready{opacity:1}


/* v1.1.0 — transaction core */
.buyer-protect{display:flex;flex-direction:column;gap:3px;padding:12px 13px;margin:12px 0;border:1px solid #cfe8de;background:#f3fbf7;border-radius:14px}
.buyer-protect strong{font-size:14px;color:#166447}.buyer-protect span{font-size:12px;line-height:1.4;color:#507064}
.buyer-protect.issue{border-color:#f0d1d1;background:#fff6f6}.buyer-protect.issue strong{color:#922f2f}
.seller-payment-state,.seller-dashboard-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--m-line);border-radius:15px;background:var(--m-soft);margin:12px 0}
.seller-payment-state>div,.seller-dashboard-card>div{display:flex;flex-direction:column;gap:2px}.seller-payment-state span,.seller-dashboard-card span{font-size:12px;color:var(--m-muted)}
.seller-payment-state.is-ready{background:#f3fbf7;border-color:#cfe8de}
.orders-list{display:grid;gap:12px}
.order-card{border:1px solid var(--m-line);border-radius:16px;padding:14px;background:#fff}
.order-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.order-card-head>div{display:flex;flex-direction:column}.order-card-head span{font-size:12px;color:var(--m-muted);margin-top:2px}.order-card-head b{font-size:18px}
.order-item{display:block;font-weight:800;margin:12px 0 6px;color:#148dc3!important}.order-money{display:flex;gap:14px;flex-wrap:wrap;color:var(--m-muted);font-size:12px;margin-bottom:10px}
.dispatch-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.dispatch-form input{border:1px solid var(--m-line);background:var(--m-soft);border-radius:999px;padding:10px 12px;font:inherit}
.order-actions{display:flex;gap:8px;flex-wrap:wrap}.issue-form{display:grid;gap:8px;margin-top:10px}.issue-form[hidden]{display:none!important}.issue-form textarea{width:100%;border:1px solid var(--m-line);background:var(--m-soft);border-radius:13px;padding:11px;font:inherit}
.order-help,.order-track{color:var(--m-muted);font-size:12px;line-height:1.45}
.market-buy{min-width:180px}
@media(max-width:600px){.seller-dashboard-card{align-items:flex-start;flex-direction:column}.dispatch-form{grid-template-columns:1fr}.market-buy{flex:1 1 100%}}

/* v1.2.0 direct-charge payment model */
.payments-ready-badge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eaf8f1;color:#176648;font-size:13px;font-weight:850}


/* v2.0 consolidated product */
.seller-row{position:relative}.seller-chevron{margin-left:auto;font-size:28px;color:var(--m-muted)}
.owner-listing-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.market-danger{border:1px solid #f0cccc;background:#fff;color:#a62d2d;border-radius:999px;padding:10px 14px;font-weight:800}
.market-report-toggle{border:0;background:transparent;color:var(--m-muted);padding:10px 8px;font-weight:700}
.report-form,.review-form{display:grid;gap:8px;margin-top:12px;padding:12px;border:1px solid var(--m-line);border-radius:14px;background:var(--m-soft)}
.report-form[hidden]{display:none!important}.report-form select,.report-form textarea,.review-form select,.review-form textarea,.seller-profile-form input,.seller-profile-form textarea{width:100%;border:1px solid var(--m-line);background:#fff;border-radius:12px;padding:10px;font:inherit}
.seller-profile-page{max-width:900px;margin:0 auto;padding:22px 18px 50px}.seller-profile-head{display:flex;align-items:center;gap:15px;margin:18px 0 12px}.seller-profile-head img{border-radius:50%}.seller-profile-head h1{margin:0;font-size:30px}.seller-profile-head p{margin:3px 0;color:var(--m-muted)}.seller-bio{line-height:1.55;max-width:650px}.seller-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 26px}.seller-stats div{background:var(--m-soft);border:1px solid var(--m-line);border-radius:14px;padding:13px;display:flex;flex-direction:column}.seller-stats strong{font-size:22px}.seller-stats span{font-size:12px;color:var(--m-muted)}.seller-reviews{display:grid;gap:10px}.seller-reviews article{border:1px solid var(--m-line);border-radius:14px;padding:13px}.seller-reviews article>strong{color:#e69b00}.seller-reviews p{margin:7px 0}.seller-reviews small{color:var(--m-muted)}
.profile-editor{margin:14px 0;border:1px solid var(--m-line);border-radius:14px;padding:0 13px}.profile-editor summary{padding:12px 0;font-weight:850;cursor:pointer}.seller-profile-form{display:grid;gap:10px;padding:0 0 13px}.seller-profile-form label{display:grid;gap:5px;font-size:13px;font-weight:750}
.account-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.account-summary>div{border:1px solid var(--m-line);background:var(--m-soft);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:3px}.account-summary span{font-size:11px;color:var(--m-muted)}.account-summary strong{font-size:16px}
.photo-drop.compact{padding:16px}.photo-preview.existing{margin-bottom:10px}.review-stars select{max-width:180px}
@media(max-width:600px){.seller-profile-page{padding-left:14px;padding-right:14px}.account-summary{grid-template-columns:1fr}.seller-stats{gap:7px}.seller-stats div{padding:10px}.seller-profile-head h1{font-size:26px}}


/* v2.0.1 — restore explicit camera/gallery choice */
.photo-source{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.photo-source-btn{
  min-height:104px;border:1px solid var(--m-line);border-radius:16px;background:var(--m-soft);
  padding:15px 12px;text-align:left;cursor:pointer;display:flex;flex-direction:column;
  justify-content:center;gap:4px;color:var(--m-text)
}
.photo-source-btn strong{font-size:15px}
.photo-source-btn span{font-size:12px;color:var(--m-muted);line-height:1.35}
.photo-source-btn:active{transform:scale(.99)}
@media(max-width:480px){
  .photo-source{gap:8px}
  .photo-source-btn{min-height:96px;padding:13px 10px}
  .photo-source-btn strong{font-size:14px}
}


/* v2.1.0 polish — seller trust + payments */
.seller-row-rich{
  padding:14px 0;
  border-top:1px solid var(--m-line);
  border-bottom:1px solid var(--m-line);
}
.seller-row-rich img{border-radius:50%;flex:0 0 auto}
.seller-row-copy{display:flex;flex-direction:column;min-width:0;gap:2px}
.seller-row-copy strong{font-size:16px}
.seller-row-copy small{font-size:12px;color:var(--m-muted);line-height:1.35}
.seller-row-copy em{font-style:normal;font-size:12px;color:var(--m-muted);margin-top:2px}
.seller-payment-state{
  display:grid;
  grid-template-columns:40px 1fr;
  align-items:center;
  gap:11px;
}
.payment-state-icon{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-weight:950;
  background:linear-gradient(135deg,var(--m-pink),var(--m-blue));
  color:#071019;
}
.seller-payment-state.is-ready .payment-state-icon{
  background:#e3f6ed;color:#176648;
}
.payment-state-copy{display:flex;flex-direction:column;gap:3px}
.payment-state-copy strong{font-size:15px}
.payment-state-copy span{font-size:12px;line-height:1.4;color:var(--m-muted)}
.seller-profile-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.account-head-links{display:flex;gap:12px;flex-wrap:wrap}
.account-head-links a{font-size:13px;font-weight:750}
.owner-listing-actions{margin-top:12px}
.owner-listing-actions .market-secondary,
.owner-listing-actions .market-danger{min-height:44px}
@media(max-width:600px){
  .seller-row-rich{align-items:center}
  .seller-row-copy strong{font-size:15px}
  .seller-payment-state{grid-template-columns:36px 1fr}
  .payment-state-icon{width:36px;height:36px}
}

/* v3 WooCommerce + seller revenue */
.market-admin-notice{padding:10px 14px;background:#fff7dc;border-bottom:1px solid #f0df9c;color:#6f5600;font-size:13px;font-weight:700}
.seller-balance{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.seller-balance>div{border:1px solid var(--m-line);border-radius:15px;background:var(--m-soft);padding:13px;display:flex;flex-direction:column;gap:4px}.seller-balance span{font-size:11px;color:var(--m-muted)}.seller-balance strong{font-size:20px}
.payout-request{border:1px solid var(--m-line);border-radius:14px;padding:0 13px;margin:12px 0 22px}.payout-request summary{padding:12px 0;font-weight:850;cursor:pointer}.payout-form{display:grid;gap:10px;padding-bottom:13px}.payout-form label{display:grid;gap:6px;font-size:13px;font-weight:750}.payout-form select,.payout-form textarea{width:100%;border:1px solid var(--m-line);border-radius:12px;background:#fff;padding:10px;font:inherit}
.earnings-list{display:grid;gap:10px}.earning-row{display:flex;justify-content:space-between;gap:14px;border:1px solid var(--m-line);border-radius:14px;padding:12px;background:#fff}.earning-row>div:first-child{display:flex;flex-direction:column;gap:2px}.earning-row span,.earning-money small{font-size:11px;color:var(--m-muted)}.earning-money{display:flex;flex-direction:column;text-align:right}.earning-money b{font-size:17px}.market-buy-link{min-height:44px}
@media(max-width:600px){.seller-balance{grid-template-columns:1fr}.earning-row{display:block}.earning-money{text-align:left;margin-top:8px}}

/* v3.0.1 account + sold-state polish */
.account-head-links{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.account-head-links .account-logout{color:#555;font-weight:800}.listing-gallery{position:relative}.listing-sold-sticker{position:absolute;z-index:12;top:28px;left:28px;background:#111;color:#fff;border:3px solid #fff;border-radius:12px;padding:10px 18px;font-size:22px;font-weight:950;letter-spacing:2px;box-shadow:0 6px 20px rgba(0,0,0,.22);transform:rotate(-5deg)}.market-sold{font-weight:950;letter-spacing:.7px}


/* v3.0.3 — Marketplace owns the screen; hide Twenty Twenty-Five chrome */
body .wp-site-blocks > header,
body .wp-site-blocks > footer,
body header.wp-block-template-part,
body footer.wp-block-template-part,
body .wp-block-template-part[role="banner"],
body .wp-block-template-part[role="contentinfo"]{display:none!important}
body .wp-site-blocks{padding-top:0!important;padding-bottom:0!important}
body .wp-site-blocks > main{margin-block-start:0!important}
body main.wp-block-group{padding-top:0!important}

/* Sold badge is intentionally obvious on cards, including paid/reserved orders. */
.market-card-image .market-sold{
  position:absolute;z-index:12;top:12px;left:12px;
  background:#111;color:#fff;border:2px solid #fff;border-radius:10px;
  padding:7px 12px;font-size:13px;font-weight:950;letter-spacing:1.4px;
  box-shadow:0 5px 16px rgba(0,0,0,.24);transform:rotate(-5deg)
}

/* v3.0.4 — branded WooCommerce order-received screen */
.topbuys-order-received{margin:0;background:#fff;color:var(--m-text)}
.order-received-shell{min-height:100vh;background:linear-gradient(180deg,#fff 0,#fff 66%,#f8f8fb 100%)}
.order-received-main{max-width:720px;margin:0 auto;padding:58px 18px 80px}
.order-success-card{background:#fff;border:1px solid var(--m-line);border-radius:24px;padding:32px;box-shadow:0 18px 55px rgba(20,20,30,.08);text-align:center}
.order-success-icon{width:68px;height:68px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;background:linear-gradient(135deg,var(--m-pink),var(--m-blue));color:#fff;font-size:36px;font-weight:950;box-shadow:0 10px 28px rgba(105,76,255,.2)}
.order-success-kicker{margin:0 0 7px;color:#178c62;font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.order-success-card h1{margin:0;font-size:34px;line-height:1.08;letter-spacing:-.03em}
.order-success-copy{max-width:540px;margin:12px auto 22px;color:var(--m-muted);line-height:1.55}
.order-success-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0;text-align:left}
.order-success-summary>div{border:1px solid var(--m-line);background:var(--m-soft);border-radius:15px;padding:14px;display:flex;flex-direction:column;gap:4px}
.order-success-summary span{font-size:11px;color:var(--m-muted);text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.order-success-summary strong{font-size:18px}
.order-success-items{border-top:1px solid var(--m-line);border-bottom:1px solid var(--m-line);margin:6px 0 20px;padding:6px 0;text-align:left}
.order-success-item{display:flex;justify-content:space-between;gap:14px;padding:12px 2px;align-items:center}
.order-success-item>div{display:flex;flex-direction:column;gap:3px}.order-success-item span{font-size:12px;color:var(--m-muted)}
.order-protection-note{display:flex;flex-direction:column;gap:4px;text-align:left;border-radius:15px;padding:14px;background:#f4f8ff;border:1px solid #dfe9fb;margin:0 0 22px}
.order-protection-note span{font-size:12px;line-height:1.45;color:var(--m-muted)}
.order-success-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.order-success-actions a{min-width:180px;text-align:center}
.order-success-card-error{padding-top:42px}
@media(max-width:600px){.order-received-main{padding:34px 14px 60px}.order-success-card{padding:25px 18px;border-radius:20px}.order-success-card h1{font-size:30px}.order-success-summary{grid-template-columns:1fr}.order-success-actions{display:grid}.order-success-actions a{width:100%;min-width:0}}

/* v3.0.8 — mobile edit-listing rebuild */
.edit-listing-form{
  display:grid;
  gap:16px;
  margin-top:18px;
  width:100%;
}
.edit-listing-form label{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:7px;
  width:100%;
  min-width:0;
  margin:0;
  font-size:14px;
  font-weight:800;
  line-height:1.35;
}
.edit-listing-form input,
.edit-listing-form select,
.edit-listing-form textarea{
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
  border:1px solid var(--m-line);
  background:var(--m-soft);
  border-radius:13px;
  padding:12px 13px;
  font:inherit;
  font-weight:500;
  line-height:1.4;
  color:var(--m-text);
  outline:0;
  box-shadow:none;
}
.edit-listing-form textarea{
  min-height:150px;
  resize:vertical;
}
.edit-listing-form input:focus,
.edit-listing-form select:focus,
.edit-listing-form textarea:focus{
  background:#fff;
  border-color:#9fb8c7;
  box-shadow:0 0 0 3px rgba(21,143,196,.08);
}
.edit-listing-form .sell-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  width:100%;
  min-width:0;
}
.edit-listing-form .photo-preview.existing{
  display:flex;
  gap:10px;
  overflow-x:auto;
  width:100%;
  margin:0;
  padding:2px 0 4px;
  scrollbar-width:thin;
}
.edit-listing-form .photo-preview.existing img{
  flex:0 0 92px;
  width:92px;
  height:92px;
  border-radius:15px;
  object-fit:cover;
  border:1px solid var(--m-line);
  background:var(--m-soft);
}
.edit-listing-form .photo-drop.compact{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:104px;
  margin:0;
  padding:18px;
  border:2px dashed #cfd7dd;
  border-radius:18px;
  text-align:center;
  cursor:pointer;
  background:var(--m-soft);
}
.edit-listing-form .photo-drop.compact strong{
  display:block;
  font-size:16px;
  font-weight:850;
}
.edit-listing-form .photo-drop.compact span{
  display:block;
  margin-top:4px;
  color:var(--m-muted);
  font-size:12px;
  font-weight:600;
}
.edit-listing-form .photo-drop.compact input[type="file"]{
  display:none!important;
}
.edit-listing-form > .market-primary{
  width:100%;
  min-height:50px;
  margin-top:2px;
  font-size:16px;
}
@media(max-width:600px){
  .sell-page{padding-left:14px;padding-right:14px}
  .sell-page h1{font-size:34px;line-height:1.08;margin-top:16px;margin-bottom:4px}
  .edit-listing-form{gap:14px;margin-top:16px}
  .edit-listing-form .sell-two{grid-template-columns:1fr;gap:14px}
  .edit-listing-form input,
  .edit-listing-form select,
  .edit-listing-form textarea{font-size:16px;padding:13px 14px}
  .edit-listing-form textarea{min-height:170px}
  .edit-listing-form .photo-preview.existing img{flex-basis:86px;width:86px;height:86px}
  .edit-listing-form .photo-drop.compact{min-height:96px}
}

/* v4.0.0 — TopBuys Commerce / Square pilot */
.square-seller-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;margin:16px 0;border:1px solid var(--m-line);border-radius:16px;background:#fff}
.square-seller-panel>div{display:flex;flex-direction:column;gap:4px}.square-seller-panel strong{font-size:15px}.square-seller-panel span{font-size:12px;color:var(--m-muted);line-height:1.45}
.square-checkout-page{max-width:680px!important;margin-inline:auto}.square-order-summary{border:1px solid var(--m-line);border-radius:18px;padding:16px;background:#fff;margin:14px 0;display:grid;gap:16px}.square-order-summary>div:first-child{display:flex;flex-direction:column;gap:4px}.square-order-summary>div:first-child span{font-size:12px;color:var(--m-muted)}
.square-price-lines{border-top:1px solid var(--m-line);padding-top:10px}.square-price-lines p{display:flex;justify-content:space-between;gap:18px;margin:8px 0}.square-price-lines span{color:var(--m-muted)}.square-price-lines .square-total{border-top:1px solid var(--m-line);padding-top:12px;margin-top:12px;font-size:18px}.square-price-lines .square-total span,.square-price-lines .square-total b{color:var(--m-text)}
.square-card-container{min-height:92px;margin:14px 0;padding:12px;border:1px solid var(--m-line);border-radius:14px;background:#fff}.square-checkout-page #square-pay-button{width:100%;min-height:52px;font-size:16px}.square-pilot-note{text-align:center;color:var(--m-muted);font-size:11px;margin-top:10px}.market-status.is-error{color:#a52a2a}
.market-notice{padding:12px 14px;border-radius:12px;margin:12px 0;font-size:13px}.market-notice.success{background:#effaf4;color:#17633e}.market-notice.error{background:#fff1f1;color:#8a2929}
@media(max-width:600px){.square-seller-panel{align-items:flex-start;flex-direction:column}.square-seller-panel>a{width:100%;text-align:center}.square-card-container{padding:8px}.square-order-summary{padding:14px}}
/* v4.0.1 Scout safety states */
.scout-box.is-blocked{border:3px solid #c62828!important;background:#fff1f1!important;padding:18px!important;box-shadow:0 0 0 4px rgba(198,40,40,.08)}
.scout-box.is-blocked .scout-mark{background:#c62828!important;color:#fff!important}
.scout-box.is-blocked .scout-progress-track,.scout-box.is-blocked .scout-progress-bar{background:#c62828!important}
.scout-box.is-blocked .scout-progress-label{font-size:22px!important;font-weight:950!important;color:#a91414!important;max-width:100%!important}
.scout-box.is-blocked .scout-note{margin-top:14px;padding:15px;border-radius:12px;background:#c62828;color:#fff!important;font-size:15px!important;line-height:1.45}
.scout-box.is-blocked .scout-note strong{font-size:18px;display:inline-block;margin-bottom:4px}
.scout-box.is-review{border:3px solid #d89000!important;background:#fff8e6!important}.scout-box.is-review .scout-progress-label{font-size:20px;font-weight:900;color:#8a5a00}
.scout-box.is-approved{border:2px solid #168a45!important;background:#f2fff6!important}
.market-publish:disabled{opacity:.4;cursor:not-allowed}

/* v4.0.2 — Ask Eddie guided four-step selling flow */
.sell-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:18px 0 20px}
.sell-step{min-width:0;display:flex;align-items:center;gap:7px;padding:9px 8px;border:1px solid var(--m-line);border-radius:13px;background:var(--m-soft);color:var(--m-muted);font-size:11px;font-weight:800}
.sell-step b,.sell-stage-title>b{width:26px;height:26px;flex:0 0 26px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e4e8eb;color:#5f6870;font-size:12px}
.sell-step.is-current{border-color:#8bcde9;background:#f3fbff;color:var(--m-text)}.sell-step.is-current b{background:#158fc4;color:#fff}
.sell-step.is-done{border-color:#bfe3cf;background:#f2fbf6;color:#176648}.sell-step.is-done b{background:#218653;color:#fff;font-size:0}.sell-step.is-done b:after{content:'✓';font-size:13px}
.sell-step.is-available{color:var(--m-text)}
.sell-stage{display:grid;gap:13px;padding:16px;border:1px solid var(--m-line);border-radius:18px;background:#fff}
.sell-stage-title{display:flex;align-items:flex-start;gap:10px}.sell-stage-title>div{display:flex;flex-direction:column;gap:2px}.sell-stage-title strong{font-size:17px}.sell-stage-title span{font-size:12.5px;line-height:1.4;color:var(--m-muted);font-weight:500}
.sell-stage-photo .photo-source{margin-top:2px}.scout-box{margin:0!important}.scout-box .scout-mark,.scout-box .scout-box-head{display:none!important}
.scout-review{border-top:0!important;padding-top:16px!important}.scout-review.is-waiting .review-fields{display:none}.scout-review.is-ready .review-fields{display:grid;gap:14px}
.sell-stage-list .market-primary{width:100%;min-height:50px;font-size:16px}.sell-stage-list:has(.market-publish:not(:disabled)){border-color:#bfe3cf;background:#f7fcf9}
.scout-box.is-blocked .sell-stage-title>b{background:#c62828;color:#fff}.scout-box.is-review .sell-stage-title>b{background:#d89000;color:#fff}.scout-box.is-approved .sell-stage-title>b{background:#218653;color:#fff}
.scout-box.is-blocked .scout-note{display:block!important}.scout-box.is-review .scout-note{display:block!important}.scout-box.is-approved .scout-note{color:#176648;font-weight:800}
@media(max-width:600px){.sell-steps{gap:5px}.sell-step{flex-direction:column;text-align:center;justify-content:center;padding:8px 3px;gap:5px}.sell-step span{font-size:10px;line-height:1.15}.sell-stage{padding:14px}.sell-stage-title strong{font-size:16px}}


/* v4.0.3 — Eddie adaptive vehicle questions */
.eddie-vehicle-details{border:2px solid #20a36a;background:#f2fff8}
.eddie-vehicle-details[hidden]{display:none!important}
.eddie-vehicle-details .sell-stage-title b{min-width:34px}
.vehicle-question-set[hidden]{display:none!important}
.eddie-vehicle-details textarea{resize:vertical}
.vehicle-detail-status{margin-top:12px;font-weight:700;color:#52606d;line-height:1.4}
.eddie-vehicle-details .market-secondary{margin-top:4px}


/* v4.1.0 — KISS auctions */
.eddie-selling-advice{border:1px solid #d8e7df;border-radius:16px;padding:14px;background:#f8fcfa;display:grid;gap:12px}.eddie-selling-advice[hidden],.auction-options[hidden]{display:none!important}.eddie-selling-advice.recommends-auction{border:2px solid #1f9a61;background:#f1fff7}.eddie-advice-copy{display:flex;flex-direction:column;gap:3px}.eddie-advice-copy span{font-size:12px;color:var(--m-muted);line-height:1.4}.sell-method{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sell-method label{border:1px solid var(--m-line);border-radius:12px;padding:12px;background:#fff;font-weight:800;display:flex;align-items:center;gap:8px}.auction-options{display:grid;gap:8px}.auction-options small{color:var(--m-muted)}
.auction-hero{display:grid;gap:3px;margin-bottom:10px}.auction-hero>span{font-size:12px;font-weight:800;color:#1b7a52}.auction-hero>strong{font-size:13px;color:var(--m-muted)}.auction-card-meta{display:block!important;color:#1b7a52!important;font-weight:800!important}.auction-panel{display:grid;gap:8px;padding:15px;border:2px solid #1f9a61;border-radius:16px;background:#f2fff8;margin:14px 0}.auction-panel>strong{font-size:18px}.auction-panel>span{font-size:13px;color:var(--m-muted)}.auction-bid-form>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.auction-bid-form input{min-width:0;padding:12px;border:1px solid var(--m-line);border-radius:11px;font-size:16px}.auction-bid-form>div>span{font-size:18px;font-weight:900}.auction-bid-form .market-primary{min-width:90px}.auction-bid-form .market-status{display:block;margin-top:6px}

/* TopBuys Marketplace V1 brand layer */
:root{
  --m-bg:#f6f4ee;
  --m-text:#151515;
  --m-muted:#77736b;
  --m-line:#e6e1d7;
  --m-soft:#fbfaf6;
  --m-pink:#d8ff42;
  --m-blue:#d8ff42;
  --tb-lime:#d8ff42;
}
html,body{background:var(--m-bg)!important}
.topbuys-market{background:var(--m-bg);max-width:1180px}
.market-topbar{background:rgba(246,244,238,.96);border-bottom-color:var(--m-line)}
.market-brand{display:flex;align-items:center;gap:3px;font-size:24px;font-weight:950;letter-spacing:-1.1px;text-transform:lowercase}
.market-brand span{background:none!important;color:#161616!important;-webkit-text-fill-color:#161616}
.market-brand b{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:7px;background:var(--tb-lime);color:#151515;font-size:22px;line-height:1}
.market-hero{padding-top:38px;padding-bottom:30px}
.market-hero span{color:#151515;letter-spacing:1.6px}
.market-hero h1{font-size:48px;line-height:.98;max-width:580px;margin-top:10px}
.market-hero p{font-size:18px;max-width:560px;margin-top:12px}
.market-primary{background:#151515;color:#fff}
.topbuys-market a.market-primary{color:#fff!important;-webkit-text-fill-color:#fff!important}
.market-primary:hover{background:#2a2a2a}
.market-secondary{background:#fff}
.market-search{grid-template-columns:minmax(0,1.6fr) 200px 190px auto;background:var(--m-bg)}
.market-search input,.market-search select,.sell-form input,.sell-form select,.sell-form textarea,.message-form textarea{background:#fff;border-color:var(--m-line)}
.market-search button{background:#151515}
.market-section-title a,.market-back,.account-head a{color:#151515!important;text-decoration:underline;text-decoration-color:var(--tb-lime);text-decoration-thickness:4px;text-underline-offset:3px}
.market-card-image{background:#ebe8df}
.market-card-copy strong{font-size:20px}
.market-fav.is-on{color:#111;background:var(--tb-lime)}
.scout-mark,.order-success-icon,.payment-state-icon{background:var(--tb-lime)!important;color:#151515!important}
.scout-progress-bar{background:var(--tb-lime)!important}
@media(max-width:760px){
 .market-search{grid-template-columns:1fr auto}
 .market-search select,.market-search input[name="loc"]{grid-column:1/-1}
 .market-search button{grid-column:2;grid-row:1}
 .market-hero h1{font-size:38px}
}
@media(max-width:600px){
 .market-brand{font-size:22px}
 .market-brand b{width:23px;height:23px;font-size:20px}
 .market-hero{padding-top:24px;padding-bottom:20px}
 .market-hero h1{font-size:36px}
 .market-hero p{font-size:16px;line-height:1.45}
}

/* v1.0.2 — tighter mobile listing gallery */
@media(max-width:820px){
  .listing-view{min-height:0;display:block}
  .listing-gallery{
    min-height:0;
    height:auto;
    padding:12px;
    display:flex;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    align-items:center;
    scroll-snap-type:x mandatory;
    background:#f4f4f4;
  }
  .listing-gallery img{
    display:block;
    flex:0 0 100%;
    width:100%;
    min-width:100%;
    height:auto;
    max-height:70vh;
    object-fit:contain;
    border-radius:14px;
    background:#fff;
    scroll-snap-align:start;
  }
}
@media(max-width:600px){
  .listing-gallery{padding:0;background:#f4f4f4}
  .listing-gallery img{
    width:100%;
    min-width:100%;
    max-height:62vh;
    border-radius:0;
  }
  .listing-body{padding-top:16px}
}

/* v1.0.3 seller profile photos */
.topbuys-user-avatar{border-radius:50%;object-fit:cover;background:#ececeb;flex:0 0 auto}
.account-cover,.seller-profile-cover{width:100%;aspect-ratio:3/1;min-height:120px;max-height:260px;background:#ececeb center/cover no-repeat;border-radius:20px;margin:0 0 16px}
.profile-image-fields{display:grid;grid-template-columns:1fr 1.4fr;gap:14px;margin-bottom:4px}
.profile-image-field{border:1px solid var(--m-line);border-radius:15px;padding:13px;background:#fff;align-content:start}
.profile-image-field>span{font-size:13px;font-weight:850;margin-bottom:9px}
.profile-image-field>input[type=file]{border:0!important;padding:8px 0!important;background:transparent!important;font-size:12px}
.profile-image-field>small{color:var(--m-muted);font-weight:500}
.profile-image-preview{width:88px;height:88px;border-radius:50%;overflow:hidden;background:#ececeb;margin-bottom:6px}
.profile-image-preview img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.profile-cover-preview{width:100%;aspect-ratio:2.4/1;border-radius:12px;background:#ececeb center/cover no-repeat;display:flex;align-items:center;justify-content:center;margin-bottom:6px;overflow:hidden}
.profile-cover-preview em{font-size:12px;color:var(--m-muted);font-style:normal;font-weight:650}
.profile-remove{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:7px!important;margin-top:5px;font-size:12px!important;font-weight:600!important;color:#666}
.profile-remove input{width:auto!important;margin:0}
.seller-profile-page .seller-profile-cover{margin-top:16px}
@media(max-width:620px){.profile-image-fields{grid-template-columns:1fr}.account-cover,.seller-profile-cover{border-radius:15px;aspect-ratio:2.25/1;min-height:0}.profile-image-field{padding:12px}.profile-cover-preview{aspect-ratio:2.5/1}}

/* v1.0.4 — compact account dashboard + better cover framing */
.account-cover,.seller-profile-cover{
  aspect-ratio:8/3;
  min-height:0;
  max-height:none;
  background-size:cover;
  background-position:center center;
  background-color:#111;
}

/* Keep the money and seller-summary information KISS on phones. */
.seller-balance,
.account-summary{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.seller-balance>div,
.account-summary>div{
  min-width:0;
  padding:11px 10px;
}
.seller-balance span,
.account-summary span{
  font-size:10px;
  line-height:1.2;
}
.seller-balance strong{
  font-size:18px;
}
.account-summary strong{
  font-size:15px;
}

/* Make payout feel like part of the balance card rather than another large section. */
.payout-request{
  margin:8px 0 14px;
  border:1px solid var(--m-line);
  border-radius:14px;
  background:#fff;
  padding:0 12px;
}
.payout-request summary{
  padding:11px 0;
  font-weight:850;
  cursor:pointer;
}
.payout-form{
  display:grid;
  gap:10px;
  padding:0 0 12px;
}
.payout-form label{
  display:grid;
  gap:5px;
  font-size:12px;
  font-weight:750;
}
.payout-form select,.payout-form textarea{
  width:100%;
  border:1px solid var(--m-line);
  border-radius:11px;
  padding:10px;
  font:inherit;
}

/* Tighten the Square status panel on the account page. */
.account-page .square-seller-panel{
  padding:13px 14px;
  margin:12px 0;
}

@media(max-width:620px){
  .account-cover,.seller-profile-cover{
    aspect-ratio:8/3;
    border-radius:15px;
    background-size:cover;
    background-position:center center;
  }
  .seller-balance,
  .account-summary{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .seller-balance>div,
  .account-summary>div{
    padding:10px 8px;
  }
  .seller-balance strong{font-size:17px}
  .account-summary strong{font-size:14px}
  .account-page h2{margin-top:20px}
}

/* v1.0.7 — polished post-purchase page + seller account wording */
.topbuys-order-received{background:#f8f7f2!important}
.topbuys-order-received .market-brand{display:inline-flex;align-items:center;gap:5px;font-size:28px;letter-spacing:-1.2px}
.topbuys-order-received .market-brand span{background:none!important;-webkit-background-clip:initial;background-clip:initial;color:#111!important}
.topbuys-order-received .market-brand b{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--tb-lime,#c8ff31);color:#111;font-size:28px;line-height:1}
.order-received-shell{background:#f8f7f2;min-height:100vh}
.order-topbar{max-width:1100px;margin:0 auto;background:rgba(248,247,242,.96)}
.order-received-main{max-width:760px;margin:0 auto;padding:36px 18px 70px}
.order-received-hero{display:flex;gap:18px;align-items:center;padding:24px;border:1px solid #cfe8d2;border-radius:22px;background:linear-gradient(135deg,#f0faef,#f9fff6);margin-bottom:18px}
.order-received-hero .order-success-icon{margin:0;flex:0 0 68px;background:#169b45!important;color:#fff!important;box-shadow:none}
.order-received-hero h1{margin:2px 0 7px;font-size:34px;line-height:1.05;letter-spacing:-.035em}
.order-received-hero p:last-child{margin:0;color:var(--m-muted);line-height:1.5}
.order-detail-card{background:#fff;border:1px solid var(--m-line);border-radius:22px;padding:22px;margin-bottom:16px;box-shadow:0 8px 24px rgba(15,18,24,.035)}
.order-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--m-line)}
.order-detail-head h2{margin:0;font-size:25px;letter-spacing:-.025em}.order-detail-head span{color:var(--m-muted);font-size:13px}
.payment-success-badge{display:inline-flex!important;align-items:center;gap:6px;background:#edf9ef;color:#16763c!important;border-radius:999px;padding:8px 11px;font-weight:850;white-space:nowrap}
.order-success-item.rich{display:grid;grid-template-columns:64px 1fr auto;gap:13px;padding:16px 0;align-items:center}
.order-item-visual{width:64px;height:64px;border-radius:11px;overflow:hidden;background:var(--m-soft);display:grid;place-items:center;color:var(--m-muted);font-size:10px}.order-item-visual img{width:100%;height:100%;object-fit:cover}.order-item-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.order-item-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-item-copy span,.order-item-copy small{font-size:12px;color:var(--m-muted)}
.order-totals-clean{border-top:1px solid var(--m-line);padding-top:12px;display:grid;gap:9px}.order-totals-clean>div{display:flex;justify-content:space-between;gap:14px;align-items:center}.order-totals-clean>div:last-child{margin-top:4px;background:var(--m-soft);border-radius:13px;padding:12px;font-size:18px}.order-totals-clean strong{font-weight:900}
.order-next-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.order-next-grid>div{background:#fff;border:1px solid var(--m-line);border-radius:16px;padding:14px;display:grid;gap:5px}.order-next-grid b{font-size:21px}.order-next-grid strong{font-size:13px}.order-next-grid span{font-size:12px;line-height:1.4;color:var(--m-muted)}
.order-success-actions.polished{display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-success-actions.polished a{min-height:48px;border-radius:14px}.order-success-actions.polished .market-primary{background:var(--tb-lime,#c8ff31)!important;color:#111!important}.order-email-note{display:flex;align-items:flex-start;gap:11px;background:#fff;border:1px solid var(--m-line);border-radius:16px;padding:14px;margin-top:12px}.order-email-note>b{font-size:22px}.order-email-note>div{display:flex;flex-direction:column;gap:3px}.order-email-note span{font-size:12px;color:var(--m-muted)}
.square-seller-panel{margin-top:14px}
@media(max-width:600px){.order-received-main{padding:22px 14px 58px}.order-received-hero{align-items:flex-start;padding:18px;border-radius:18px}.order-received-hero .order-success-icon{width:52px;height:52px;flex-basis:52px;font-size:27px}.order-received-hero h1{font-size:28px}.order-detail-card{padding:16px;border-radius:18px}.order-detail-head{display:grid}.payment-success-badge{justify-self:start}.order-success-item.rich{grid-template-columns:54px 1fr auto;gap:10px}.order-item-visual{width:54px;height:54px}.order-next-grid{grid-template-columns:1fr}.order-success-actions.polished{grid-template-columns:1fr}.topbuys-order-received .market-brand{font-size:23px}.topbuys-order-received .market-brand b{width:31px;height:31px;font-size:24px}.order-topbar nav{gap:10px}}

/* v1.1.0 delivery tracking + buyer protection */
.seller-fulfilment{margin-top:12px;padding-top:12px;border-top:1px solid #e7e5dd}
.wc-dispatch-form,.wc-collection-form{display:grid;gap:9px}
.wc-dispatch-form>div,.wc-collection-form>div{display:grid;grid-template-columns:1fr 1.2fr auto;gap:8px;align-items:center}
.wc-dispatch-form select,.wc-dispatch-form input,.wc-collection-form input,.wc-issue-form textarea{width:100%;box-sizing:border-box;border:1px solid #d9d8d0;background:#fff;border-radius:12px;padding:11px 12px;font:inherit}
.fulfilment-state{display:block;margin-top:7px;color:#62625c}.fulfilment-state b{color:#111}
.protected-delivery-card{margin:14px 0 4px;padding:16px;border:1px solid #dfe4d7;background:#fbfff3;border-radius:16px}
.delivery-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.delivery-card-head strong{font-size:1rem}.delivery-card-head span{font-size:.78rem;color:#66705d;background:#eff8df;border-radius:999px;padding:5px 8px;white-space:nowrap}
.protected-delivery-card p{margin:8px 0;color:#4f514b;line-height:1.45}.collection-code{display:inline-block;margin:8px 0 12px;padding:10px 16px;background:#151515;color:#d2ff34;border-radius:12px;font-size:1.55rem;font-weight:900;letter-spacing:.22em}
.protection-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.protection-actions .market-primary,.protection-actions .market-secondary{flex:1;min-width:150px;text-align:center}
.wc-issue-form{margin-top:10px;display:grid;gap:8px}.wc-issue-form[hidden]{display:none!important}.tracking-link{display:inline-block;margin:5px 0 2px;font-weight:800;text-decoration:underline;text-decoration-color:#caff32;text-decoration-thickness:3px;text-underline-offset:4px}.delivery-complete{margin-top:10px;font-weight:900;color:#157a2d;background:#e9f8e9;padding:10px 12px;border-radius:12px}
@media(max-width:640px){.wc-dispatch-form>div,.wc-collection-form>div{grid-template-columns:1fr}.delivery-card-head{align-items:flex-start;flex-direction:column}.protection-actions{flex-direction:column}.protection-actions .market-primary,.protection-actions .market-secondary{width:100%}}

/* v1.1.3 — TopBuys branded Join / Login */
.topbuys-auth-page{max-width:560px;padding-top:34px}.auth-card{margin-top:18px;background:#fff;border:1px solid var(--m-line);border-radius:24px;padding:28px;box-shadow:0 18px 50px rgba(17,17,17,.06)}.auth-mark{display:inline-flex;align-items:center;font-weight:950;font-size:24px;letter-spacing:-1px;margin-bottom:8px}.auth-mark span{color:#111}.auth-mark b{display:inline-grid;place-items:center;margin-left:5px;width:34px;height:34px;border-radius:9px;background:#c8ff2e;color:#111;font-size:28px;line-height:1}.auth-card h1{font-size:34px;margin:6px 0}.auth-card>p{color:var(--m-muted);margin:0 0 22px;line-height:1.5}.auth-form{display:grid;gap:14px}.auth-form label{display:grid;gap:7px;font-weight:800;font-size:14px}.auth-form input[type="text"],.auth-form input[type="email"],.auth-form input[type="password"]{width:100%;border:1px solid var(--m-line);background:var(--m-soft);border-radius:14px;padding:13px 14px;font:inherit;color:var(--m-text);outline:none}.auth-form input:focus{border-color:#111;box-shadow:0 0 0 3px rgba(200,255,46,.28)}.auth-form small{font-weight:500;color:var(--m-muted)}.auth-form .market-primary{width:100%;min-height:48px;background:#111;color:#fff;border-radius:14px;font-size:16px}.auth-check{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:9px!important;font-weight:600!important}.auth-check input{width:18px;height:18px}.auth-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-links{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid var(--m-line);font-size:14px;color:var(--m-muted)}.auth-links a{font-weight:850;color:#111!important;text-decoration:underline!important;text-decoration-color:#c8ff2e!important;text-decoration-thickness:4px!important;text-underline-offset:4px}.auth-notice{padding:12px 14px;border-radius:13px;margin:0 0 16px;font-weight:700;font-size:14px}.auth-notice.error{background:#fff0f0;color:#9a2222;border:1px solid #efc4c4}.auth-notice.success{background:#eefbea;color:#216a2d;border:1px solid #c6e9c0}.auth-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.auth-actions .market-primary{background:#111;color:#fff}.market-topbar nav a{white-space:nowrap}
@media(max-width:600px){.topbuys-auth-page{padding-top:20px}.auth-card{padding:22px 18px;border-radius:20px}.auth-card h1{font-size:30px}.auth-two{grid-template-columns:1fr}.auth-links{display:grid;gap:12px}.market-topbar nav{gap:10px}.market-topbar nav a{font-size:12px}}

/* v1.1.5 admin test completion */
.admin-test-complete{margin-top:10px;padding-top:10px;border-top:1px dashed #d8d6cf;display:grid;gap:6px}.admin-test-complete .wc-admin-complete{width:100%;font-weight:850}.admin-test-complete small{color:var(--m-muted);line-height:1.35}
