/* Stonecashify simplified marketplace skin */
:root{--yellow:#126b57!important;--primary:#126b57!important}body{background:#f7faf9!important;color:#203b35!important;font-family:system-ui,-apple-system,Segoe UI,sans-serif!important}a{color:#126b57}.site-header{background:white!important;border-bottom:1px solid #e3ebe7!important;box-shadow:0 2px 12px #163e3210}.site-header .logo span{color:#126b57!important}.site-header nav a{color:#244a3d!important}.site-header nav a:hover{color:#0a9c75!important}main.container{max-width:1200px}.form-box,.card,.product-card,.stat-card{background:white!important;color:#233e35!important;border:1px solid #e3eae6!important;border-radius:16px!important;box-shadow:0 6px 22px #123e2b0d!important}input,select,textarea{background:white!important;color:#263b33!important;border:1px solid #cbdad3!important;border-radius:9px!important}label,p,h1,h2,h3{color:inherit}.btn,button.btn{background:#126b57!important;color:white!important;border:0!important;border-radius:9px!important}.sc-hero{background:linear-gradient(115deg,#0b5545,#1c8269);padding:50px 34px;margin:24px 0;border-radius:22px;color:white}.sc-hero h1,.sc-hero p{color:white!important}.sc-hero h1{font-size:clamp(28px,4vw,46px);line-height:1.15}.sc-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.sc-actions a{background:white;color:#125743;padding:12px 18px;border-radius:9px;font-weight:700;text-decoration:none}.sc-actions a:nth-child(2){background:#e1f4ec}.sc-actions a:nth-child(3){background:#d9c391;color:#253b30}.sc-intro{display:flex;gap:14px;flex-wrap:wrap;margin:22px 0}.sc-intro div{background:white;border:1px solid #e1e9e4;border-radius:12px;padding:18px;flex:1;min-width:200px}.sc-intro b{display:block;margin-bottom:5px}@media(max-width:750px){.sc-hero{padding:32px 20px}.site-header .logo span{font-size:20px!important}.site-header .logo img{height:42px!important}}

/* Accessibility / contrast repair, 2026-11-20. Override legacy dark theme tokens. */
:root {
 --bg:#f7faf9; --bg-alt:#ffffff; --text-ivory:#203b35;
 --text-muted:#52645d; --border:#d6e2dc; --yellow:#126b57;
 --yellow-soft:#126b57; --primary:#126b57; --success:#176c43;
}
body, main, section, article, .container {color:#203b35;}
p, li, td, .card-body h3, .card-body .price, .card-body .meta,
.product-info h1, .product-info .price, .help-text {color:#203b35;}
small, .muted, .text-muted {color:#52645d;}
table {width:100%;border-collapse:collapse;}
th,td {color:#203b35!important;border-bottom:1px solid #d6e2dc;vertical-align:middle;}
th {color:#126b57!important;font-weight:700;}
tr:nth-child(even) td {background:#f0f6f3;}
.badge-pending {background:#fff1c2!important;color:#684900!important;}
.badge-approved {background:#d7f3e3!important;color:#145b36!important;}
.badge-sold {background:#fce0df!important;color:#8b2924!important;}
.badge {font-weight:700;}
.form-box,.card,.product-card,.stat-card {background:#fff;color:#203b35;}
label {color:#234c3f;}
input,select,textarea {color:#203b35!important;background:#fff!important;}
input::placeholder,textarea::placeholder {color:#60766b;opacity:1;}
a {color:#126b57;}
.alert-success {background:#e3f5e9;color:#145b36;border-color:#b5dec4;}
.alert-error {background:#fff0ed;color:#8b2924;border-color:#efc5bd;}
.alert-info {background:#fff6db;color:#6c4d00;border-color:#e9d9a6;}
/* Keep light text on intentionally dark areas only. */
.sc-hero,.sc-hero * {color:#fff;}
.sc-hero .sc-actions a {color:#125743;}
.btn,.btn:hover,button.btn {color:#fff!important;}
/* Allow wide account tables to scroll horizontally on narrow phones. */
@media(max-width:750px){
 main.container {max-width:100%;overflow-x:auto;}
 table {min-width:640px;}
 th,td {padding:12px 10px;white-space:normal;overflow-wrap:anywhere;}
}

/* Stonecashify black-and-gold header — isolated from page theme */
.site-header{background:#111111!important;border-bottom:1px solid #6b5421!important;box-shadow:0 2px 12px rgba(0,0,0,.18)!important;}
.site-header .logo span{color:#D4AF37!important;}
.site-header nav a{color:#f5e6b8!important;}
.site-header nav a:hover,.site-header nav a:focus-visible{color:#D4AF37!important;}
.site-header #menuToggle{border:2px solid #D4AF37!important;color:#D4AF37!important;background:transparent!important;}
.site-header #menuToggle:hover,.site-header #menuToggle:focus-visible{background:#292315!important;}
@media(max-width:750px){.site-header .logo span{color:#D4AF37!important;}}
