/* Customer task shell only. The reviewer and Shopify account retain their styling. */
html[data-curatory-theme="light"] { color-scheme: light; background: #fff; }
.curatory-appearance { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 14px; }
.curatory-appearance[hidden] { display: none; }
.curatory-appearance select { min-height: 44px; padding: 9px 10px; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); cursor: pointer; }
.curatory-appearance select:hover { border-color: var(--orange); }
.curatory-appearance select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; box-shadow: none; }
body[data-surface="customer"] .app-header { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (max-width: 480px) {
  .curatory-appearance { margin-left: auto; }
  .curatory-appearance > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  body[data-surface="customer"] .app-header { padding: 16px; }
  body[data-surface="customer"] .brand-lockup { gap: 8px; }
  body[data-surface="customer"] .brand-lockup strong { font-size: 17px; }
  body[data-surface="customer"] .brand-mark { width: 34px; height: 34px; font-size: 24px; }
}

html[data-curatory-theme="dark"] {
  color-scheme: dark;
  --ink: #eeeae6;
  --ink-soft: #bdb5ae;
  --paper: #242221;
  --cream: #1b1918;
  --cream-deep: #302c29;
  --blue: #b8b3ff;
  --blue-soft: #2d2a40;
  --blue-bg: #2d2a40;
  --orange: #ff975f;
  --line: #817973;
  --amber: #edc67a;
  --amber-bg: #352c1d;
  --red: #ffa79e;
  --red-bg: #3b2524;
  --focus: 0 0 0 3px #b8b3ff;
  background: var(--cream);
}
html[data-curatory-theme="dark"] body[data-surface="customer"] {
  color: var(--ink);
  background: var(--cream);
  --curatory-blue: var(--blue);
  --curatory-orange: var(--orange);
}
html[data-curatory-theme="dark"] body[data-surface="customer"] .app-header { background: var(--cream); border-color: #403b37; }
html[data-curatory-theme="dark"] .brand-mark { background: #0303ab; color: #fff; }
html[data-curatory-theme="dark"] .skip-link { color: #1b1918; background: var(--ink); }
html[data-curatory-theme="dark"] body[data-surface="customer"] a:not(.button):not(.skip-link),
html[data-curatory-theme="dark"] body[data-surface="customer"] summary { color: var(--blue); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .curatory-questionnaire { color: var(--ink); --curatory-blue: var(--blue); --curatory-orange: var(--orange); }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(.curatory-question-intro, .curatory-task-intro, .curatory-question-stages) { color: var(--ink-soft); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .curatory-question-stages [aria-current="step"] { color: var(--blue); }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(.choice, .product-entry, .product-review-item, .search-results, .search-results button, .choice-help-trigger, .curatory-photo-item) { color: var(--ink); background: var(--paper); border-color: var(--line); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .product-entry { background: transparent; }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(.choice:has(:checked), .curatory-product-editing .product-entry-head, .search-results button:hover, .search-results button:focus-visible) { color: var(--ink); background: var(--blue-soft); border-color: var(--blue); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .curatory-product-editing .product-entry-head { border-left-color: var(--orange); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .choice:hover { border-color: var(--orange); }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { color: var(--ink); background: var(--paper); border-color: var(--line); }
html[data-curatory-theme="dark"] body[data-surface="customer"] ::placeholder { color: var(--ink-soft); opacity: 1; }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--blue); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .button { color: #1b1918; background: var(--blue); border-color: var(--blue); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .button:hover { background: #cdc9ff; }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(.button.quiet, .button.secondary) { color: var(--blue); background: transparent; }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(.button.quiet, .button.secondary):hover { background: var(--blue-soft); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .button.danger { color: var(--red); background: var(--red-bg); border-color: var(--red); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .curatory-question-error { color: var(--red); background: var(--red-bg); border-color: var(--red); }
html[data-curatory-theme="dark"] body[data-surface="customer"] .choice-help-text { color: var(--ink); background: var(--cream-deep); border-color: var(--line); }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(.review-answer-section, .curatory-task-footer) { border-color: #403b37; }
html[data-curatory-theme="dark"] body[data-surface="customer"] progress,
html[data-curatory-theme="dark"] body[data-surface="customer"] progress::-webkit-progress-bar { background: #403b37; }
html[data-curatory-theme="dark"] body[data-surface="customer"] :is(a, button, summary, select, textarea):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* Do not invert/filter images: uploaded and product photographs must stay accurate. */
