
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root{
  color-scheme: dark;
  --bg:#10100f;
  --surface:#171715;
  --surface-2:#201f1b;
  --ink:#f3f1eb;
  --ink-soft:#aaa69c;
  --wire:#37352f;
  --gold:#d5b15a;
  --gold-soft:#8d743b;
  --success:#69ad86;
  --danger:#e07b72;
  --on-gold:#15120b;
  --display:'Playfair Display', Georgia, serif;
  --sans:'DM Sans', system-ui, sans-serif;
  --mono:'DM Mono', ui-monospace, monospace;
}
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#10100f;
  --surface:#171715;
  --surface-2:#201f1b;
  --ink:#f3f1eb;
  --ink-soft:#aaa69c;
  --wire:#37352f;
  --gold:#d5b15a;
  --gold-soft:#8d743b;
  --success:#69ad86;
  --danger:#e07b72;
  --on-gold:#15120b;
}
html[data-theme="light"]{
  color-scheme:light;
  --bg:#fbfaf7;
  --surface:#ffffff;
  --surface-2:#f2efe8;
  --ink:#151515;
  --ink-soft:#6d6a63;
  --wire:#ddd8ce;
  --gold:#c39b3f;
  --gold-soft:#8b7136;
  --success:#4d8f6c;
  --danger:#bd5d55;
  --on-gold:#15120b;
}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]){color-scheme:dark}
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1150px,calc(100% - 40px));margin:auto}
.display{font-family:var(--display)}
.mono{font-family:var(--mono)}
.muted{color:var(--ink-soft)}
.kicker{font:500 11px/1.2 var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--ink-soft)}
.kicker::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--gold);margin:0 10px 1px 0}
.header{border-bottom:1px solid var(--wire);position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(12px)}
.nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{width:180px}
.logo-light{display:block}.logo-dark{display:none}
html[data-theme="dark"] .logo-light{display:none}
html[data-theme="dark"] .logo-dark{display:block}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]) .logo-light{display:none}
  html:not([data-theme="light"]) .logo-dark{display:block}
}

.navlinks{display:none}
.actions{display:flex;align-items:center;gap:7px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 16px;border:1px solid var(--wire);font:500 11px/1 var(--mono);text-transform:uppercase;letter-spacing:.05em;transition:.18s}
.btn:hover{border-color:var(--gold)}
.btn-gold{background:var(--gold);border-color:var(--gold);color:var(--on-gold)}
.btn-outline-gold{border-color:var(--gold);color:var(--gold)}
.theme-toggle{width:43px;padding:0;cursor:pointer;background:transparent;color:var(--ink);font-size:16px}
.theme-toggle .theme-label{display:none}
.menu-toggle{display:flex;position:relative;width:43px;height:43px;padding:0;border:1px solid var(--wire);background:transparent;color:var(--ink);cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px;flex:0 0 43px}
.menu-toggle span{display:block;width:17px;height:1px;background:currentColor;transition:.2s}
.menu-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.mobile-menu{display:none;position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:1px solid var(--wire);box-shadow:0 16px 35px rgba(0,0,0,.08);z-index:50}
.mobile-menu.open{display:block}
.mobile-menu-inner{padding:8px 0 18px}
.mobile-menu a{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--wire);font:500 12px/1 var(--mono);text-transform:uppercase;letter-spacing:.05em}
.mobile-menu a:hover{color:var(--gold)}
.mobile-menu .mobile-cta{margin-top:14px;border:1px solid var(--gold);justify-content:center;background:var(--gold);color:var(--on-gold);min-height:48px}
.mobile-theme-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--wire)}
.mobile-theme-row span{font:500 11px var(--mono);text-transform:uppercase;color:var(--ink-soft)}
.mobile-theme-row .theme-toggle{width:auto;min-width:90px;padding:0 14px}
body.menu-open{overflow:hidden}

.hero{padding:48px 0 58px}
.hero-grid{display:grid;grid-template-columns:1fr;gap:34px;align-items:center}
.hero h1{font:600 clamp(42px,11vw,76px)/1.02 var(--display);letter-spacing:-.035em;margin:18px 0}
.hero-copy{font-size:16px;color:var(--ink-soft);max-width:610px}
.hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 15px}
.hero-actions .btn{flex:1 1 180px}
.section{padding:54px 0}
.section-head{display:block;margin-bottom:26px}
.section-head h2{font:600 31px/1.12 var(--display);margin:10px 0}
.cards{display:grid;grid-template-columns:1fr;gap:10px}
.card{padding:22px}
.two-col{display:grid;grid-template-columns:1fr;gap:12px}
.panel{padding:24px}
.steps{display:grid;grid-template-columns:1fr;border-top:1px solid var(--wire);border-bottom:1px solid var(--wire)}
.step{padding:22px 18px;border-right:0;border-bottom:1px solid var(--wire)}
.step:last-child{border-bottom:0}
.stats{display:grid;grid-template-columns:1fr 1fr}
.stat{padding:22px 12px;border-right:1px solid var(--wire);border-bottom:1px solid var(--wire)}
.stat:nth-child(2n){border-right:0}.stat:nth-last-child(-n+2){border-bottom:0}
.search-row{display:grid;grid-template-columns:1fr;gap:8px}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.footer{padding:42px 0 22px}
.footer-links{display:flex;flex-direction:column;gap:10px}


@media(min-width:700px){
 .container{width:min(1150px,calc(100% - 48px))}
 .hero{padding:66px 0 72px}
 .hero-grid{grid-template-columns:1fr 1fr;gap:54px}
 .cards{grid-template-columns:repeat(2,1fr)}
 .two-col{grid-template-columns:1fr 1fr}
 .steps{grid-template-columns:repeat(2,1fr)}
 .step:nth-child(odd){border-right:1px solid var(--wire)}
 .step:nth-last-child(-n+2){border-bottom:0}
 .search-row{grid-template-columns:1fr 160px 160px}
 .footer-grid{grid-template-columns:1.5fr 1fr 1fr}
}
@media(min-width:980px){
 .navlinks{display:flex;gap:24px;font:500 12px/1 var(--mono);text-transform:uppercase;letter-spacing:.05em}
 .navlinks a:hover{color:var(--gold)}
 .menu-toggle,.mobile-menu{display:none}
 .actions .btn{display:inline-flex}
 .hero{padding:74px 0 80px}
 .hero-grid{gap:70px}
 .hero h1{font-size:clamp(46px,6.3vw,76px)}
 .hero-copy{font-size:18px}
 .hero-actions .btn{flex:initial}
 .section{padding:72px 0}
 .section-head{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:32px}
 .section-head h2{font-size:32px;margin:0}
 .cards{grid-template-columns:repeat(3,1fr);gap:14px}
 .steps{grid-template-columns:repeat(4,1fr)}
 .step{border-right:1px solid var(--wire)!important;border-bottom:0!important}
 .step:last-child{border-right:0!important}
 .search-row{grid-template-columns:1fr 160px 160px 160px}
 .footer-grid{grid-template-columns:1.5fr 1fr 1fr 1fr}
}
@media(max-width:979px){
 .actions > a.btn{display:none}
 .theme-toggle{display:inline-flex}
 .menu-toggle{display:flex}
}
@media(max-width:699px){
 .container{width:calc(100% - 28px)}
 .brand{width:145px}
 .nav{min-height:64px}
 .hero{padding:48px 0 58px}
 .hero h1{font-size:clamp(42px,11vw,58px)}
 .hero-copy{font-size:16px}
 .hero-actions .btn{width:100%;flex:1 1 100%}
 .section{padding:54px 0}
 .cards,.steps,.two-col,.search-row,.footer-grid{grid-template-columns:1fr}
 .stat{padding:22px 12px}
 .cta{padding:60px 14px}
}



@media(max-width:699px){.footer .brand img{width:130px;height:auto}}


/* Shared logo/footer refinements */
.footer .brand{display:inline-block;width:180px}
.footer .brand img{width:150px;height:auto;max-width:100%}
@media(max-width:699px){
  .footer .brand{width:145px}
  .footer .brand img{width:125px;height:auto}
  .footer{padding:36px 0 20px}
}

/* Keep mobile navigation and controls comfortably tappable */
@media(max-width:699px){
  .nav{gap:10px}
  .actions{gap:6px}
  .actions .theme-toggle{width:42px;min-width:42px}
  .menu-toggle{width:42px;height:42px;flex-basis:42px}
  .mobile-menu-inner{padding-left:14px;padding-right:14px}
  .mobile-menu a{min-height:48px}
}

/* =========================================================
   CreatorHouz V15 â€” mobile-first hardening
   The viewport meta tag in the shared header is required.
   ========================================================= */
@media (max-width: 699px) {
  html, body { width:100%; min-width:0; overflow-x:hidden; }
  .container { width:calc(100% - 32px); max-width:none; }

  .header { position:sticky; top:0; }
  .nav { min-height:62px; gap:7px; }
  .brand { width:145px; flex:0 1 auto; }
  .brand img { width:100%; height:auto; }
  .actions { margin-left:auto; flex:0 0 auto; }
  .actions .btn { min-height:40px; }
  .actions > a.btn { display:none; }
  .actions .theme-toggle { display:inline-flex; width:40px; min-width:40px; padding:0; }
  .menu-toggle { display:flex; width:40px; height:40px; flex-basis:40px; }

  .mobile-menu-inner { width:calc(100% - 32px); padding:7px 0 18px; }
  .mobile-menu a { min-height:50px; padding:16px 0; }

  .creator-signup-page {
    min-height:auto;
    padding:30px 0 50px;
  }
  .creator-signup-wrap {
    width:100%;
    display:flex;
    flex-direction:column;
    gap:30px;
  }
  .creator-signup-intro {
    padding:0;
  }
  .creator-signup-eyebrow {
    font-size:9px;
    margin-bottom:12px;
  }
  .creator-signup-intro h1 {
    font-size:clamp(43px,12.8vw,56px);
    line-height:.96;
    letter-spacing:-.045em;
    margin-bottom:17px;
  }
  .creator-signup-intro .lead {
    font-size:15px;
    line-height:1.6;
    max-width:100%;
  }
  .creator-signup-points {
    grid-template-columns:1fr;
    margin-top:22px;
    max-width:none;
  }
  .creator-signup-point {
    padding:12px 0;
    font-size:9.5px;
  }

  .creator-signup-card {
    width:100%;
    padding:22px 16px 20px;
    margin:0;
  }
  .creator-signup-card-top h2 {
    font-size:29px;
  }
  .creator-signup-field { margin-bottom:15px; }
  .creator-signup-field input {
    min-height:50px;
    font-size:16px; /* prevents iOS/Android auto-zoom */
  }
  .creator-signup-submit {
    min-height:54px;
    font-size:10px;
  }
  .creator-signup-brand-link {
    margin-bottom:18px;
    font-size:9.5px;
  }
  .creator-signup-footnote {
    font-size:8.5px;
    line-height:1.55;
  }
  .creator-signup-login { margin-top:16px; }

  .footer { padding:38px 0 20px; }
  .footer-grid { grid-template-columns:1fr; gap:24px; }
  .footer .brand { width:145px; }
  .footer .brand img { width:125px; }
}
@media (min-width:700px) {
  .creator-signup-wrap { grid-template-columns:minmax(0,1.06fr) minmax(380px,.74fr); }
}

/* =========================================================
   CreatorHouz â€” Email verification page
   Shared visual language with signup/home/agency pages.
   ========================================================= */
.verify-page{background:var(--bg);min-height:calc(100vh - 73px);border-bottom:1px solid var(--wire)}
.verify-shell{width:min(1080px,calc(100% - 40px));margin:0 auto;padding:68px 0 82px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);gap:70px;align-items:center}
.verify-card{background:var(--surface);border:1px solid var(--wire);padding:42px 44px;max-width:560px;margin-left:auto;width:100%}
.verify-kicker{margin-bottom:22px}
.verify-kicker::before{display:none}
.verify-icon{width:48px;height:48px;border:1px solid var(--gold);color:var(--gold);display:flex;align-items:center;justify-content:center;margin-bottom:18px;font:500 18px/1 var(--mono)}
.verify-title{font-size:clamp(43px,5vw,64px);line-height:.94;letter-spacing:-.045em;margin:0 0 20px}
.verify-title span,.verify-side h2 span{color:var(--gold)}
.verify-intro{font-size:15px;line-height:1.65;color:var(--ink-soft);margin:0 0 13px}
.verify-intro strong{color:var(--ink);font-weight:600}
.verify-email-address{display:inline-block;color:var(--ink);overflow-wrap:anywhere}
.verify-expiry{font:500 10px/1.3 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);display:flex;align-items:center;gap:8px;margin-bottom:25px}
.verify-dot{width:6px;height:6px;border-radius:50%;background:var(--gold);display:inline-block;flex:0 0 6px}
.verify-form{display:grid;gap:18px}
.verify-field label,.verify-label-row label{display:block;font:500 10px/1.2 var(--mono);letter-spacing:.07em;text-transform:uppercase;margin-bottom:8px}
.verify-label-row{display:flex;justify-content:space-between;gap:10px;align-items:center}
.verify-label-row span{font:400 9px/1 var(--mono);color:var(--ink-soft);text-transform:uppercase;letter-spacing:.06em}
.verify-field input{display:block;width:100%;height:52px;border:1px solid var(--wire);background:var(--bg);color:var(--ink);padding:0 14px;font:400 16px/1 var(--sans);outline:none;border-radius:0}
.verify-field input:focus{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}
.verify-code-input{text-align:center;letter-spacing:.45em!important;font:500 25px/1 var(--mono)!important;padding-left:calc(14px + .45em)!important}
.verify-help{font:400 9px/1.45 var(--mono);color:var(--ink-soft);margin-top:7px}
.verify-submit{width:100%;min-height:54px;border:1px solid var(--gold);background:var(--gold);color:var(--on-gold);font:500 11px/1 var(--mono);letter-spacing:.07em;text-transform:uppercase;cursor:pointer;transition:.18s;margin-top:2px}
.verify-submit:hover{opacity:.9}
.verify-submit span{margin-left:7px;font-size:14px}
.verify-message{padding:11px 13px;border:1px solid var(--wire);font:400 10px/1.5 var(--mono);margin-bottom:18px}
.verify-error{border-color:var(--danger);color:var(--danger)}
.verify-info{border-color:var(--gold);color:var(--gold)}
.verify-divider{display:flex;align-items:center;gap:12px;margin:25px 0 12px;color:var(--ink-soft);font:400 9px/1 var(--mono);text-transform:uppercase;letter-spacing:.07em}
.verify-divider::before,.verify-divider::after{content:"";height:1px;background:var(--wire);flex:1}
.verify-resend-form{margin:0}
.verify-resend{display:block;width:100%;background:transparent;border:0;color:var(--ink-soft);font:500 10px/1.3 var(--mono);text-transform:uppercase;letter-spacing:.06em;padding:9px;cursor:pointer}
.verify-resend:hover{color:var(--gold)}
.verify-security{text-align:center;color:var(--ink-soft);font:400 8px/1.5 var(--mono);letter-spacing:.07em;margin:20px 0 0}
.verify-security span{color:var(--gold);padding:0 3px}
.verify-side{max-width:390px}
.verify-side-label{font:500 10px/1.2 var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--gold);margin-bottom:20px}
.verify-side h2{font-size:clamp(38px,4.3vw,55px);line-height:.98;letter-spacing:-.04em;margin:0 0 20px}
.verify-side p{font-size:15px;line-height:1.65;color:var(--ink-soft);max-width:350px;margin:0 0 30px}
.verify-steps{border-top:1px solid var(--wire)}
.verify-step{min-height:58px;border-bottom:1px solid var(--wire);display:grid;grid-template-columns:38px 1fr 20px;align-items:center;gap:10px;font:500 10px/1.35 var(--mono);text-transform:uppercase;letter-spacing:.04em;color:var(--ink-soft)}
.verify-step b{font-weight:500;color:var(--gold)}
.verify-step i{font-style:normal;text-align:center;color:var(--wire)}
.verify-step.is-done,.verify-step.is-current{color:var(--ink)}
.verify-step.is-done i,.verify-step.is-current i{color:var(--gold)}

@media(max-width:899px){
 .verify-shell{grid-template-columns:1fr;gap:34px;padding:48px 0 62px;max-width:650px}
 .verify-card{max-width:none;margin:0}
 .verify-side{max-width:none}
 .verify-side h2{font-size:42px}
}
@media(max-width:699px){
 .verify-page{min-height:auto}
 .verify-shell{width:calc(100% - 28px);padding:30px 0 46px;gap:34px}
 .verify-card{padding:27px 18px 23px}
 .verify-kicker{font-size:9px;margin-bottom:18px}
 .verify-icon{width:42px;height:42px;font-size:16px;margin-bottom:16px}
 .verify-title{font-size:clamp(43px,13vw,56px);margin-bottom:18px}
 .verify-intro{font-size:14px;line-height:1.6}
 .verify-email-address{display:inline}
 .verify-expiry{font-size:8.5px;margin-bottom:22px}
 .verify-form{gap:16px}
 .verify-field input{height:52px;font-size:16px}
 .verify-code-input{font-size:22px!important;letter-spacing:.34em!important;padding-left:calc(12px + .34em)!important}
 .verify-submit{min-height:55px}
 .verify-side{padding:0 2px}
 .verify-side-label{margin-bottom:14px}
 .verify-side h2{font-size:39px;margin-bottom:14px}
 .verify-side p{font-size:14px;margin-bottom:23px}
 .verify-step{min-height:54px;font-size:9px}
}
/* =========================================================
   CreatorHouz — Global Dark Mode Form Controls
   Fixes inputs, selects, textareas and file controls
   across the entire site without changing PHP.
   ========================================================= */

html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
body.dark input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.dark select,
body.dark textarea,
.theme-dark input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.theme-dark select,
.theme-dark textarea,
.dark input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.dark select,
.dark textarea {
    background-color: #151515 !important;
    color: #f4f1e9 !important;
    border-color: #35342f !important;
    color-scheme: dark;
}

/* Placeholder text */
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder,
body.dark input::placeholder,
body.dark textarea::placeholder,
.theme-dark input::placeholder,
.theme-dark textarea::placeholder,
.dark input::placeholder,
.dark textarea::placeholder {
    color: #8f8b83 !important;
    opacity: 1;
}

/* Select options */
html[data-theme="dark"] select option,
html[data-theme="dark"] select optgroup,
body.dark select option,
body.dark select optgroup,
.theme-dark select option,
.theme-dark select optgroup,
.dark select option,
.dark select optgroup {
    background-color: #151515 !important;
    color: #f4f1e9 !important;
}

/* Focus state */
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus,
body.dark input:focus,
body.dark select:focus,
body.dark textarea:focus,
.theme-dark input:focus,
.theme-dark select:focus,
.theme-dark textarea:focus,
.dark input:focus,
.dark select:focus,
.dark textarea:focus {
    border-color: #c8a34a !important;
    outline: none;
    box-shadow: 0 0 0 1px rgba(200, 163, 74, .18);
}

/* File upload controls */
html[data-theme="dark"] input[type="file"],
body.dark input[type="file"],
.theme-dark input[type="file"],
.dark input[type="file"] {
    color: #aaa69d !important;
}

html[data-theme="dark"] input[type="file"]::file-selector-button,
body.dark input[type="file"]::file-selector-button,
.theme-dark input[type="file"]::file-selector-button,
.dark input[type="file"]::file-selector-button {
    background: #151515 !important;
    color: #f4f1e9 !important;
    border: 1px solid #35342f !important;
    padding: 9px 12px;
}

/* Number inputs */
html[data-theme="dark"] input[type="number"],
body.dark input[type="number"],
.theme-dark input[type="number"],
.dark input[type="number"] {
    color-scheme: dark;
}

/* Date / time controls if used later */
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="time"],
body.dark input[type="date"],
body.dark input[type="time"],
.theme-dark input[type="date"],
.theme-dark input[type="time"],
.dark input[type="date"],
.dark input[type="time"] {
    color-scheme: dark;
}

/* Autofill — prevents Chrome from putting a bright background
   back into dark-mode fields */
html[data-theme="dark"] input:-webkit-autofill,
html[data-theme="dark"] input:-webkit-autofill:hover,
html[data-theme="dark"] input:-webkit-autofill:focus,
body.dark input:-webkit-autofill,
body.dark input:-webkit-autofill:hover,
body.dark input:-webkit-autofill:focus,
.theme-dark input:-webkit-autofill,
.theme-dark input:-webkit-autofill:hover,
.theme-dark input:-webkit-autofill:focus,
.dark input:-webkit-autofill,
.dark input:-webkit-autofill:hover,
.dark input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f4f1e9 !important;
    -webkit-box-shadow: 0 0 0 1000px #151515 inset !important;
    box-shadow: 0 0 0 1000px #151515 inset !important;
    border-color: #35342f !important;
}

/* CreatorHouz custom onboarding controls */
html[data-theme="dark"] .ch-input,
html[data-theme="dark"] .ch-select,
html[data-theme="dark"] .ch-textarea,
body.dark .ch-input,
body.dark .ch-select,
body.dark .ch-textarea,
.theme-dark .ch-input,
.theme-dark .ch-select,
.theme-dark .ch-textarea,
.dark .ch-input,
.dark .ch-select,
.dark .ch-textarea {
    background: #151515 !important;
    color: #f4f1e9 !important;
    border-color: #35342f !important;
}

html[data-theme="dark"] .ch-input::placeholder,
html[data-theme="dark"] .ch-textarea::placeholder,
body.dark .ch-input::placeholder,
body.dark .ch-textarea::placeholder,
.theme-dark .ch-input::placeholder,
.theme-dark .ch-textarea::placeholder,
.dark .ch-input::placeholder,
.dark .ch-textarea::placeholder {
    color: #8f8b83 !important;
}

/* Services page controls */
html[data-theme="dark"] .services-input,
html[data-theme="dark"] .services-add select,
html[data-theme="dark"] .services-add input,
body.dark .services-input,
body.dark .services-add select,
body.dark .services-add input,
.theme-dark .services-input,
.theme-dark .services-add select,
.theme-dark .services-add input,
.dark .services-input,
.dark .services-add select,
.dark .services-add input {
    background-color: #151515 !important;
    color: #f4f1e9 !important;
    border-color: #35342f !important;
}

/* Keep checked creator chips/buttons readable */
html[data-theme="dark"] .peer:checked + span,
body.dark .peer:checked + span,
.theme-dark .peer:checked + span,
.dark .peer:checked + span {
    color: #111 !important;
}

/* Native browser controls should follow dark UI */
html[data-theme="dark"],
body.dark,
html.theme-dark,
body.theme-dark {
    color-scheme: dark;
}
/* CreatorHouz: dark mode is the default */
html:not([data-theme="light"]){color-scheme:dark}


/* =========================================================
   CreatorHouz — explicit light-mode controls
   The theme is controlled by html[data-theme].
   ========================================================= */
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .ch-input,
html[data-theme="light"] .ch-select,
html[data-theme="light"] .ch-textarea,
html[data-theme="light"] .services-input,
html[data-theme="light"] .services-add select,
html[data-theme="light"] .services-add input {
  background:var(--surface) !important;
  color:var(--ink) !important;
  border-color:var(--wire) !important;
  color-scheme:light;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder,
html[data-theme="light"] .ch-input::placeholder,
html[data-theme="light"] .ch-textarea::placeholder {
  color:var(--ink-soft) !important;
  opacity:1;
}
html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
  border-color:var(--gold) !important;
  outline:none;
  box-shadow:0 0 0 1px var(--gold);
}
html[data-theme="light"] select option,
html[data-theme="light"] select optgroup {
  background:var(--surface) !important;
  color:var(--ink) !important;
}
html[data-theme="light"] input[type="file"] { color:var(--ink-soft) !important; }
html[data-theme="light"] input[type="file"]::file-selector-button {
  background:var(--surface-2) !important;
  color:var(--ink) !important;
  border:1px solid var(--wire) !important;
}

/* Theme controls: icon only, stable on mobile */
.theme-toggle{font-size:18px;line-height:1;white-space:nowrap;}
.theme-toggle .theme-icon{display:inline-flex;align-items:center;justify-content:center;width:1em;height:1em;}
@media(max-width:699px){
  .theme-toggle{width:40px!important;min-width:40px!important;height:40px;padding:0!important;font-size:17px;}
  .menu-toggle{width:40px!important;height:40px!important;min-width:40px;}
}


/* =========================================================
   CreatorHouz — site-wide theme hardening
   Root pages explicitly start in dark mode. These overrides
   also protect component-local variables from light defaults.
   ========================================================= */

html[data-theme="dark"] .ch-brands{
  --bg:#11110f;
  --surface:#181714;
  --ink:#f4f1e9;
  --soft:#aaa69d;
  --wire:#38362f;
  --gold:#c8a34a;
  --gold2:#d6b665;
}
html[data-theme="light"] .ch-brands{
  --bg:#fbfaf7;
  --surface:#ffffff;
  --ink:#151515;
  --soft:#6d6a63;
  --wire:#ddd8ce;
  --gold:#c39b3f;
  --gold2:#8b7136;
}

html[data-theme="dark"] .ch-company{
  --bg:#11110f;
  --surface:#181714;
  --ink:#f4f1e9;
  --muted:#aaa69d;
  --line:#38362f;
  --gold:#c8a34a;
}
html[data-theme="light"] .ch-company{
  --bg:#fbfaf7;
  --surface:#ffffff;
  --ink:#151515;
  --muted:#6d6a63;
  --line:#ddd8ce;
  --gold:#c39b3f;
}

/* Hard-coded editorial blocks in the older brands/company pages. */
html[data-theme="dark"] .ch-brands .ch-process{background:#171612;color:#f4f1e9}
html[data-theme="dark"] .ch-brands .ch-statement{background:#1c1b17}
html[data-theme="light"] .ch-brands .ch-process{background:#f2efe8;color:#151515}
html[data-theme="light"] .ch-brands .ch-statement{background:#e9e3d6;color:#151515}

html[data-theme="dark"] .ch-company .cc-callout{
  background:#191814;color:#f4f0e7;
}
html[data-theme="light"] .ch-company .cc-callout{
  background:#f0ece3;color:#171613;
}
html[data-theme="light"] .ch-company .cc-callout p{color:#69655d}

/* Theme buttons remain compact everywhere, including mobile. */
.theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:43px;
  min-width:43px;
  height:43px;
  padding:0 !important;
  line-height:1;
}
.theme-toggle .theme-icon{font-size:18px;line-height:1}
@media(max-width:699px){
  .theme-toggle{width:40px!important;min-width:40px!important;height:40px!important}
  .theme-toggle .theme-icon{font-size:17px}
}

/* Prevent any root page from being narrower than the viewport. */
html,body{max-width:100%;overflow-x:hidden}
