/* Looks Studio 0.9.4: Light-theme readability pass.
   Deliberately scoped to the public light theme. Dark theme, the WordPress
   admin, image captions/overlays, React and billing logic remain unchanged. */

/* Header: credit balance used the almost-white dark-theme color. */
.lsm-site-shell[data-theme="light"] .lsm-account-balance {
  color:#542761;
  background:#f3e4f4;
  border:1px solid #c59dcc;
  font-weight:700;
}
.lsm-site-shell[data-theme="light"] .lsm-account-balance [data-lsm-credit-balance],
.lsm-site-shell[data-theme="light"] .lsm-account-balance .lsm-icon {color:inherit;}
.lsm-site-shell[data-theme="light"] .lsm-site-nav a {color:#5f4c66;}
.lsm-site-shell[data-theme="light"] .lsm-site-nav a:hover,
.lsm-site-shell[data-theme="light"] .lsm-site-nav a:focus-visible {color:#3c2043;}

/* Main editor badge from the screenshots: legible plum, not pastel on pastel. */
.lsm-site-shell[data-theme="light"] .lsm-r-badge {
  color:#642a63;
  background:#f1dfef;
  border-color:#bf91bf;
  font-weight:750;
}
.lsm-site-shell[data-theme="light"] .lsm-r-badge .lsm-r-icon {color:inherit;}
.lsm-site-shell[data-theme="light"] .lsm-r-intro {color:#604a66;}
.lsm-site-shell[data-theme="light"] .lsm-r-h1 em {color:#ab359f;}

/* Upload / balance / testing labels and tiny helper copy. */
.lsm-site-shell[data-theme="light"] .lsm-r-uploader {
  color:#5e286b;
  background:#f7eff8;
  border-color:#aa7bad;
}
.lsm-site-shell[data-theme="light"] .lsm-r-upload-label strong {color:#38213f;}
.lsm-site-shell[data-theme="light"] .lsm-r-upload-label span,
.lsm-site-shell[data-theme="light"] .lsm-r-meta small,
.lsm-site-shell[data-theme="light"] .lsm-r-picked small,
.lsm-site-shell[data-theme="light"] .lsm-r-picked>span {color:#634f6d;}
.lsm-site-shell[data-theme="light"] .lsm-r-meta,
.lsm-site-shell[data-theme="light"] .lsm-r-wallet-status {color:#4d3557;}
.lsm-site-shell[data-theme="light"] .lsm-r-meta small {font-size:10px;}
.lsm-site-shell[data-theme="light"] .lsm-r-wallet-status button {color:#75318b;font-weight:650;}
.lsm-site-shell[data-theme="light"] .lsm-r-note {color:#654e6c;font-size:11px;line-height:1.45;}
.lsm-site-shell[data-theme="light"] .lsm-r-error {color:#9d264c;}

/* Gallery controls, placeholders and bottom status/navigation. */
.lsm-site-shell[data-theme="light"] .lsm-r-search input::placeholder {color:#6b5873;opacity:1;}
.lsm-site-shell[data-theme="light"] .lsm-r-sort option {background:#fff8ff;color:#382142;}
.lsm-site-shell[data-theme="light"] .lsm-r-cats button:not(.active) {color:#53395a;}
.lsm-site-shell[data-theme="light"] .lsm-r-filter,
.lsm-site-shell[data-theme="light"] .lsm-r-sort {color:#4a3054;}
.lsm-site-shell[data-theme="light"] .lsm-r-bottom {
  color:#584361;
  font-weight:550;
}
.lsm-site-shell[data-theme="light"] .lsm-r-scroll-hint {color:#634b6d;font-size:11px;font-weight:600;}
.lsm-site-shell[data-theme="light"] .lsm-r-bottom button {
  color:#642e76;
  background:#f2e7f5;
  border-color:#ac85bb;
  font-weight:650;
}
.lsm-site-shell[data-theme="light"] .lsm-r-bottom button:hover:not(:disabled) {
  background:#e9d6ef;
  color:#482052;
}
.lsm-site-shell[data-theme="light"] .lsm-r-bottom button:disabled {
  color:#695872;
  background:#f3edf5;
  border-color:#cbb6d1;
  opacity:1;
  cursor:wait;
}
.lsm-site-shell[data-theme="light"] .lsm-r-empty,
.lsm-site-shell[data-theme="light"] .lsm-r-load {color:#644e69;}
.lsm-site-shell[data-theme="light"] .lsm-r-extra {
  background:#faf3fb;
  border-color:#d6bfdb;
  color:#4f3759;
}
.lsm-site-shell[data-theme="light"] .lsm-r-extra button {color:#803087;}
.lsm-site-shell[data-theme="light"] .lsm-r-grid {scrollbar-color:#ac84b7 #f3eaf5;}
.lsm-site-shell[data-theme="light"] .lsm-r-grid::-webkit-scrollbar-track {background:#f3eaf5;}
.lsm-site-shell[data-theme="light"] .lsm-r-grid::-webkit-scrollbar-thumb {background:#ac84b7;}
.lsm-site-shell[data-theme="light"] .lsm-r-grid::-webkit-scrollbar-thumb:hover {background:#8d589d;}

/* Alternate workflow (reference mode) and generation states. */
.lsm-site-shell[data-theme="light"] .lsm-r-reference-input {
  color:#56335d;
  background:#f8eff9;
  border-color:#b793c0;
}
.lsm-site-shell[data-theme="light"] .lsm-r-reference-notes {
  color:#382042;
  background:#fffaff;
  border-color:#cab2d1;
}
.lsm-site-shell[data-theme="light"] .lsm-r-reference-notes::placeholder {color:#685670;opacity:1;}
.lsm-site-shell[data-theme="light"] .lsm-r-ai-result-actions>a,
.lsm-site-shell[data-theme="light"] .lsm-r-check-result {
  color:#562166;
  background:#f2e1f6;
  border-color:#b785c6;
  font-weight:700;
}
.lsm-site-shell[data-theme="light"] .lsm-r-ai-result-actions>a:hover,
.lsm-site-shell[data-theme="light"] .lsm-r-check-result:hover {background:#e7cef0;}
.lsm-site-shell[data-theme="light"] .lsm-r-ai-result-actions>span,
.lsm-site-shell[data-theme="light"] .lsm-r-result-hint {color:#654e6d;}
.lsm-site-shell[data-theme="light"] .lsm-r-result-again {
  color:#582963;
  background:#f0e1f3;
  border-color:#b798c1;
}
.lsm-site-shell[data-theme="light"] .lsm-r-result-again:hover {background:#e6d3ec;}

/* Mobile gallery navigation (only appears below 721px). */
.lsm-site-shell[data-theme="light"] .lsm-r-mobile-navigation,
.lsm-site-shell[data-theme="light"] .lsm-r-mobile-position small {color:#604b69;}
.lsm-site-shell[data-theme="light"] .lsm-r-mobile-navigation button {
  color:#5c2d6d;
  background:#f1e4f5;
  border-color:#c3a0cf;
}
.lsm-site-shell[data-theme="light"] .lsm-r-mobile-navigation button:disabled {
  opacity:.65;
}

/* Earlier (non-React/custom) first-screen elements also use site theme. */
.lsm-site-shell[data-theme="light"] .lsm-upload-drop small {color:#67526f;}
.lsm-site-shell[data-theme="light"] .lsm-search input::placeholder {color:#6b5873;opacity:1;}
.lsm-site-shell[data-theme="light"] .lsm-stage-note {color:#654f6d;}
.lsm-site-shell[data-theme="light"] .lsm-gallery-bottom,
.lsm-site-shell[data-theme="light"] .lsm-gallery-meta {color:#604969;}

/* Secondary SEO content: preserve high-contrast white image captions. */
.lsm-site-shell[data-theme="light"] .lsm-seo-zone .lsm-section-heading p {color:#685164;}
.lsm-site-shell[data-theme="light"] .lsm-seo-zone .lsm-section-kicker {color:#91376f;}
.lsm-site-shell[data-theme="light"] .lsm-seo-zone .lsm-v089-supporting-text {color:#694f63;}

@media(max-width:720px){
  .lsm-site-shell[data-theme="light"] .lsm-r-note {font-size:10px;}
  .lsm-site-shell[data-theme="light"] .lsm-r-bottom {font-size:11px;}
}
