/* Scoped cosmetic variants: the original site's navigation and hero keep their identity. */
[data-desk-surface] {
  --desk-secondary: #55445f;
  --desk-placeholder: #665a70;
  --desk-ready: #f0f2d7;
  --desk-alert: #ffe3ed;
  --desk-review: #fff4e6;
  --desk-focus: #a12262;
  --desk-button-ink: #1c1030;
  --desk-accent-soft: #fff0f6;
}
[data-desk-style="candy"] {
  --paper: #fff0f6;
  --card: #fffafd;
  --ink: #35152a;
  --muted: #755064;
  --line: #d4afbf;
  --acid: #ffb9d4;
  --desk-secondary: #674253;
  --desk-placeholder: #755064;
  --desk-ready: #f0f1d6;
  --desk-alert: #ffe0ec;
  --desk-review: #fff7fa;
  --desk-focus: #941c56;
  --desk-accent-soft: #ffe0ec;
}
[data-desk-style="mint"] {
  --paper: #eaf6ee;
  --card: #fafffc;
  --ink: #14352b;
  --muted: #49695c;
  --line: #a6c5b2;
  --acid: #bce5c9;
  --desk-secondary: #3d6050;
  --desk-placeholder: #49695c;
  --desk-ready: #dceede;
  --desk-alert: #fce5e9;
  --desk-review: #e0f0e5;
  --desk-focus: #165d47;
  --desk-accent-soft: #daf0e1;
}
[data-desk-style="night"] {
  --paper: #21152f;
  --card: #30213f;
  --ink: #fff4e6;
  --muted: #d9c8df;
  --line: #8c729b;
  --acid: #ffd43b;
  --desk-secondary: #d9c8df;
  --desk-placeholder: #d9c8df;
  --desk-ready: #253c31;
  --desk-alert: #4c2a40;
  --desk-review: #2b1c3a;
  --desk-focus: #ffaad3;
  --desk-accent-soft: #49304e;
  color-scheme: dark;
}
[data-desk-surface] {
  color: var(--ink);
  background: var(--paper);
  border-radius: 16px;
  padding: clamp(16px, 2.2vw, 28px);
}
[data-desk-surface] .desk-readiness[data-readiness="ready"] {
  background: var(--desk-ready);
}
[data-desk-surface] .desk-readiness[data-readiness="pending"],
[data-desk-surface] .desk-readiness[data-readiness="paused"] {
  background: var(--desk-alert);
}
[data-desk-surface] .desk-review {
  background: var(--desk-review);
}
[data-desk-surface] .desk-shop,
[data-desk-surface] .desk-check,
[data-desk-surface] .desk-rule-note,
[data-desk-surface] .desk-intro,
[data-desk-surface] .desk-result-count {
  color: var(--desk-secondary);
}
[data-desk-surface] .desk-photo-note {
  color: #55445f;
}
[data-desk-surface] input::placeholder {
  color: var(--desk-placeholder);
}
[data-desk-surface] input {
  caret-color: var(--desk-focus);
}
[data-desk-surface] :focus-visible {
  outline-color: var(--desk-focus);
}
[data-desk-surface] .ws-btn--primary,
[data-desk-surface] .dash-tab[aria-selected="true"],
[data-desk-surface] .dash-badge--pro {
  color: var(--desk-button-ink);
}
[data-desk-surface] a:hover {
  color: var(--ink);
}
[data-desk-surface] .ws-btn--primary:hover {
  color: var(--desk-button-ink);
}
[data-desk-style="night"] .dash-status--on {
  background: #234b3a;
  color: #e4f9e8;
}
[data-desk-style="night"] .dash-slot--locked:hover,
[data-desk-style="night"] .dash-slot--locked:hover .dash-slot__hint {
  color: var(--desk-button-ink);
}
[data-desk-style="night"] .demo-notice {
  background: #4c2a40;
}
[data-desk-style="night"] .dash-msg.is-ok {
  color: #adf0c1;
}
[data-desk-style="night"] .dash-msg.is-error {
  color: #ffbdba;
}
.desk-personalise {
  margin: 8px 0 24px;
  padding: 18px 20px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 14px;
}
.desk-personalise-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.desk-personalise h2 {
  font-size: 1.3rem;
  line-height: 1.15;
  margin: 0 0 8px;
}
.desk-personalise-head p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  max-width: 42ch;
}
.desk-buddy {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  max-width: 340px;
}
.desk-buddy img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}
.desk-buddy figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.4;
}
.desk-buddy strong {
  font-size: 1.05rem;
}
.desk-buddy figcaption span {
  font-size: 0.82rem;
  color: var(--desk-secondary);
}
.desk-dressing-room {
  margin-top: 12px;
}
.desk-dressing-room > summary {
  display: list-item;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  text-underline-offset: 4px;
}
.desk-dressing-content {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.desk-dressing-content fieldset {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  min-width: 0;
}
.desk-dressing-content legend {
  padding: 0 0 12px;
  font-size: 1rem;
  font-weight: 900;
}
.desk-style-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.desk-style-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  min-height: 150px;
  text-align: left;
  font: inherit;
  line-height: 1.4;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.desk-style-choice strong {
  font-size: 0.95rem;
}
.desk-style-choice > span:last-child {
  font-size: 0.78rem;
  color: var(--desk-secondary);
}
.desk-style-choice[aria-pressed="true"] {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.desk-style-swatch {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  height: 44px;
  border-radius: 6px;
  padding: 8px;
  background: var(--swatch-paper);
  border: 1px solid var(--swatch-ink);
}
.desk-style-swatch i {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--swatch-card);
  border: 1px solid var(--swatch-ink);
}
.desk-style-swatch i:nth-child(2) {
  background: var(--swatch-ink);
}
.desk-style-swatch i:nth-child(3) {
  background: var(--swatch-accent);
}
.desk-buddy-choices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.desk-buddy-choices button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 112px;
  padding: 12px 8px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}
.desk-buddy-choices img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.desk-buddy-choices button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--desk-accent-soft);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.desk-buddy-choices button:hover,
.desk-style-choice:hover {
  border-color: var(--ink);
}
.desk-appearance-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.desk-appearance-foot p,
.desk-cosmetic-note {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--desk-secondary);
  margin: 0;
}
.desk-cosmetic-note {
  margin-top: 12px;
}
.desk-appearance-foot .ws-btn {
  flex-shrink: 0;
  min-height: 44px;
}
@media (max-width: 740px) {
  [data-desk-surface] {
    padding: 14px;
  }
  .desk-personalise {
    padding: 16px;
  }
  .desk-personalise-head {
    gap: 12px;
    align-items: flex-start;
  }
  .desk-buddy {
    max-width: 104px;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .desk-buddy img {
    width: 72px;
    height: 72px;
  }
  .desk-buddy figcaption span {
    display: none;
  }
  .desk-style-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .desk-buddy-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .desk-appearance-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .desk-style-choice {
    min-height: 164px;
    padding: 12px;
  }
  .desk-personalise h2 {
    font-size: 1.15rem;
  }
}
@media (max-width: 400px) {
  .desk-buddy-choices {
    gap: 8px;
  }
  .desk-buddy-choices img {
    width: 58px;
    height: 58px;
  }
  .desk-buddy-choices button {
    font-size: 0.78rem;
  }
  .desk-buddy {
    max-width: 82px;
  }
  .desk-style-choices {
    gap: 10px;
  }
}
