/* Obsidian Helm Marketplace — light theme.
   Scoped to body.light-theme so the rest of the site (dark) is untouched.
   Works mostly by redefining the shared CSS custom properties (obsidian-d.css
   consumes var(--ink)/var(--cream)/var(--gold) etc everywhere), plus explicit
   overrides for the handful of hardcoded colors (#fff text, rgba(7,7,8,..)
   panel backgrounds) that don't go through a variable. */

body.light-theme{
  --ink:#faf8f3 !important;
  --ink2:#f1ede3 !important;
  --panel:rgba(0,0,0,.03);
  --panel2:rgba(0,0,0,.05);
  --hairline:rgba(0,0,0,.10) !important;
  --hair-strong:rgba(0,0,0,.18) !important;
  --hair:rgba(0,0,0,.08);
  --hair2:rgba(0,0,0,.14);
  --gold:#a9772a !important;
  --gold2:#8a5c1c !important;
  --gold-line:rgba(169,119,42,.35) !important;
  --cream:#1b1a17 !important;
  --platinum:#3c3a35 !important;
  --mute:#736f64 !important;

  background:#faf8f3 !important;
  color:#1b1a17 !important;
}
body.light-theme ::selection{background:rgba(169,119,42,.22);color:#1b1a17;}

/* ---------- header ---------- */
body.light-theme .dh{background:rgba(250,248,243,.72) !important;border-bottom:1px solid rgba(0,0,0,.08);}
body.light-theme .dh.scrolled{background:rgba(250,248,243,.94) !important;}
body.light-theme .dh-logo span{color:#1b1a17 !important;}
body.light-theme .dh-burger{color:#1b1a17 !important;}
body.light-theme .dh-panel{background:#fff !important;border-color:rgba(0,0,0,.10) !important;box-shadow:0 24px 60px rgba(0,0,0,.12) !important;}
body.light-theme .dh-panel a:hover{background:rgba(0,0,0,.04) !important;}
@media(max-width:900px){body.light-theme .dh-nav{background:#fff !important;border-bottom:1px solid rgba(0,0,0,.08) !important;}}

/* ---------- footer ---------- */
body.light-theme .df{background:rgba(0,0,0,.02) !important;border-top:1px solid rgba(0,0,0,.08) !important;}
body.light-theme .df-strip{background:rgba(0,0,0,.03) !important;border-top:1px solid rgba(0,0,0,.08) !important;}
body.light-theme .df-soc a{border-color:rgba(0,0,0,.12) !important;}

/* ---------- page headings that hardcode #fff ---------- */
body.light-theme h1,
body.light-theme .mp-hero h1,
body.light-theme .lst-title,
body.light-theme .sl-wrap h1,
body.light-theme .ac-wrap h1,
body.light-theme .db-head h1,
body.light-theme .adm-card h1,
body.light-theme .adm-top h1,
body.light-theme .db-card h3,
body.light-theme .adm-row-main h3,
body.light-theme .legal-wrap h1{color:#171614 !important;}

/* ---------- marketplace.css cards (shared with public shop pages) ---------- */
body.light-theme .card{background:#fff !important;border-color:rgba(0,0,0,.10) !important;box-shadow:0 2px 14px rgba(0,0,0,.05);}
body.light-theme .card:hover{border-color:var(--gold-line) !important;}
body.light-theme .card h3{color:#171614 !important;}
body.light-theme .badge{color:#fff !important;}

/* ---------- listing detail page ---------- */
body.light-theme .lst-hero{background:#eee9dd !important;}
body.light-theme .lst-thumbs img{opacity:.7;}
body.light-theme .lst-panel{background:#fff !important;border-color:rgba(0,0,0,.10) !important;box-shadow:0 2px 14px rgba(0,0,0,.05);}
body.light-theme .lst-panel h2{color:#171614;}

/* ---------- forms (.invite) ---------- */
body.light-theme .invite input,
body.light-theme .invite select,
body.light-theme .invite textarea{background:#fff !important;border-color:rgba(0,0,0,.14) !important;color:#1b1a17 !important;}
body.light-theme .invite input:focus,
body.light-theme .invite select:focus,
body.light-theme .invite textarea:focus{background:#fff !important;}
body.light-theme .intent-opt span{color:#3c3a35;border-color:rgba(0,0,0,.14);}
body.light-theme .intent-opt input:checked + span{background:rgba(169,119,42,.10) !important;}

/* ---------- account pages ---------- */
body.light-theme .ac-wrap .lead,
body.light-theme .sl-wrap .lead{color:#3c3a35 !important;}

/* ---------- broker dashboard ---------- */
body.light-theme .db-card{background:#fff !important;border-color:rgba(0,0,0,.10) !important;box-shadow:0 2px 14px rgba(0,0,0,.04);}
body.light-theme .db-empty{border-color:rgba(0,0,0,.16) !important;}
body.light-theme .db-inq{border-top-color:rgba(0,0,0,.10) !important;}
body.light-theme .db-inq-row{border-bottom-color:rgba(0,0,0,.08) !important;}
body.light-theme .db-inq-row b{color:#1b1a17 !important;}
body.light-theme .db-logout{border-color:rgba(0,0,0,.14) !important;}

/* ---------- admin login + dashboard ---------- */
body.light-theme html,
html:has(body.light-theme){background:#faf8f3 !important;}
body.light-theme .adm-card{background:#fff !important;border-color:rgba(0,0,0,.10) !important;box-shadow:0 2px 20px rgba(0,0,0,.06);}
body.light-theme .adm-field input{background:#f4f1ea !important;border-color:rgba(0,0,0,.14) !important;color:#1b1a17 !important;}
body.light-theme .adm-row{background:#fff !important;border-color:rgba(0,0,0,.10) !important;box-shadow:0 2px 14px rgba(0,0,0,.04);}
body.light-theme .adm-row-main h3{color:#171614 !important;}
body.light-theme .adm-facts b{color:#1b1a17 !important;}
body.light-theme .adm-type{background:rgba(0,0,0,.06) !important;}
body.light-theme .adm-tab .cnt{background:rgba(0,0,0,.08) !important;}
body.light-theme .adm-inline input,
body.light-theme .adm-inline select,
body.light-theme .adm-inline textarea{background:#f4f1ea !important;border-color:rgba(0,0,0,.14) !important;color:#1b1a17 !important;}
body.light-theme .adm-inq-item{background:rgba(0,0,0,.03) !important;border-color:rgba(0,0,0,.10) !important;}
body.light-theme .adm-inq-item .msg{color:#1b1a17 !important;}
body.light-theme .abtn{background:#fff !important;}
body.light-theme .abtn.gold{background:linear-gradient(135deg,var(--gold2),var(--gold)) !important;color:#fff !important;}

/* ---------- account/login-style dropdown nav item ---------- */
body.light-theme .dh-account .dh-panel{background:#fff !important;}
