/* The public sample follows the original collector-desk mockup. Account UI is unaffected. */
.demo-collector { background: var(--paper); }
.demo-collector .demo-shell[data-desk-surface] {
  display: grid; grid-template-columns: 184px minmax(0, 1fr);
  max-width: none; padding: 0; margin: 0; border-radius: 0; min-height: 100vh;
  scroll-behavior: smooth;
}
.demo-sample-bar {
  grid-column: 1/-1; display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 8px 20px; background: var(--hot); color: #1c1030;
  font-size: .75rem; line-height: 1.4;
}
.demo-sample-bar strong { white-space: nowrap; }
.demo-sample-bar button { border: 0; color: inherit; background: transparent; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 28px; padding: 0 8px; }
.demo-sidebar {
  position: sticky; top: 0; align-self: start; height: 100dvh;
  border-right: 1px solid var(--line); padding: 26px 14px 20px;
  display: flex; flex-direction: column; gap: 30px;
}
.demo-brand { display: flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); }
.demo-brand img { width: 42px; height: 42px; object-fit: contain; }
.demo-brand span { font-size: 1.42rem; font-weight: 900; letter-spacing: -.04em; font-variation-settings: "wdth" 65; }
.demo-sidebar nav { display: grid; gap: 8px; }
.demo-sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; min-height: 48px; font-size: .82rem; text-decoration: none; color: var(--ink); border-radius: 10px; }
.demo-sidebar nav a[aria-current] { background: var(--desk-accent-soft); font-weight: 800; }
.demo-sidebar nav a:hover { background: var(--desk-accent-soft); }
.demo-sidebar svg, .demo-find svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; flex-shrink: 0; }
.demo-sidebar-bottom { margin-top: auto; text-align: center; }
.demo-sidebar-bottom > img { width: 134px; height: 134px; object-fit: contain; transform: rotate(-8deg); }
.demo-sidebar-bottom p { font-size: 1.3rem; font-weight: 900; font-variation-settings: "wdth" 65; line-height: 1.1; margin: 8px 0 24px; }
.demo-sidebar-bottom a { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px; font-size: .75rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.demo-collector .demo-workspace { min-width: 0; width: 100%; max-width: none; margin: 0; padding: 28px 26px 0; }
.demo-columns { display: grid; grid-template-columns: minmax(0, 1fr) 284px; gap: 24px; }
.demo-shelf-column { min-width: 0; scroll-margin-top: 20px; }
.demo-page-head { position: static; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: transparent; padding: 0; margin: 0 0 24px; }
.demo-page-head h1 { font-size: clamp(2.5rem, 4.15vw, 4.2rem); font-variation-settings: "wdth" 65; line-height: 1; font-weight: 900; letter-spacing: -.04em; text-transform: none; word-spacing: .08em; margin: 0 0 8px; }
.demo-page-head p { font-size: clamp(.9rem, 1.2vw, 1.1rem); line-height: 1.5; margin: 0; }
.demo-collector .demo-find { display: inline-flex; align-items: center; gap: 8px; background: var(--hot); color: #1c1030; border: 0; border-radius: 10px; padding: 14px 16px; min-height: 48px; font-size: .78rem; white-space: nowrap; box-shadow: none; text-transform: none; }
.demo-collector .demo-find:hover { background: var(--acid); color: #1c1030; transform: none; box-shadow: none; }
.demo-collector .desk-review { border: 1px solid var(--line); border-style: solid; border-radius: 10px; background: var(--desk-accent-soft); padding: 12px 15px; gap: 14px; }
.demo-collector .desk-review h2 { font-size: .88rem; line-height: 1.3; text-transform: none; margin: 0 0 5px; }
.demo-collector .desk-review p { font-size: .76rem; }
.demo-collector .desk-review .desk-check { font-size: .75rem; line-height: 1.4; margin-top: 3px; }
.demo-collector .desk-review .ws-btn { border: 0; background: transparent; color: var(--ink); padding: 4px 0 4px 8px; box-shadow: none; text-transform: none; font-size: .75rem; }
.demo-shelf-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-top: 12px; }
.demo-shelf-tabs button { display: inline-flex; align-items: center; gap: 8px; position: relative; min-height: 56px; padding: 8px 2px; border: 0; background: transparent; color: var(--desk-secondary); font: inherit; font-size: .84rem; font-weight: 800; cursor: pointer; }
.demo-shelf-tabs button[aria-pressed="true"] { color: var(--ink); }
.demo-shelf-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--hot); border-radius: 3px; }
.demo-shelf-tabs span { min-width: 23px; padding: 3px 5px; border-radius: 50%; text-align: center; background: var(--desk-accent-soft); font-size: .75rem; color: var(--ink); }
.demo-collector .desk-tools { grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, .7fr); gap: 10px; margin-top: 14px; }
.demo-collector .desk-tools label { font-size: .75rem; gap: 5px; }
.demo-collector .desk-tools input, .demo-collector .desk-tools select { font-size: .75rem; border: 1px solid var(--line); min-height: 44px; padding: 8px 10px; background: var(--card); }
.demo-collector .desk-result-count { font-size: .75rem; margin-top: 6px; }
.demo-collector .desk-watchlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 14px; margin-top: 16px; }
.demo-collector .desk-watch { display: flex; flex-direction: column; min-width: 0; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; animation: none; background: var(--card); }
.demo-collector .desk-watch .desk-photo { width: 100%; height: 176px; aspect-ratio: auto; min-height: 0; margin: 0; background: #fff; border-radius: 8px; }
.demo-collector .desk-photo img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 12px; }
.demo-collector .dash-row__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 0 4px; }
.demo-collector .desk-watch .dash-row__title { font-size: 1.3rem; font-variation-settings: "wdth" 65; font-weight: 900; line-height: 1.15; min-height: 2.3em; }
.demo-collector .desk-shop { font-size: .75rem; }
.demo-collector .desk-price { font-size: 1.25rem; line-height: 1.25; margin: 4px 0; }
.demo-collector .desk-watch .dash-status { font-size: .75rem; background: transparent; padding: 0; border: 0; min-height: 22px; opacity: 1; color: var(--ink); gap: 6px; }
.demo-collector .dash-status::before { content: ""; width: 8px; height: 8px; background: var(--out); border-radius: 50%; flex-shrink: 0; }
.demo-collector .dash-status--on::before { background: var(--in); }
.demo-collector .desk-watch .desk-check, .demo-collector .desk-rule-note { font-size: .75rem; line-height: 1.45; }
.demo-collector .desk-rule-note { min-height: 2.9em; }
.demo-collector .desk-watch .dash-row__side { display: flex; flex-direction: column; width: 100%; gap: 10px; margin-top: auto; padding: 0 4px 4px; }
.demo-collector .desk-limit { order: 0; }
.demo-collector .desk-rule { order: 1; }
.demo-collector .dash-row__side > .desk-check { order: 2; }
.demo-collector .dash-row__side > button { order: 3; }
.demo-collector .desk-rule, .demo-collector .desk-limit label { font-size: .75rem; }
.demo-collector .desk-rule select, .demo-collector .desk-limit input { font-size: .75rem; padding: 8px; border: 1px solid var(--line); min-height: 44px; border-radius: 8px; }
.demo-collector .desk-limit > div { grid-template-columns: minmax(0, 1fr) auto; }
.demo-collector .desk-limit button { border: 1px solid var(--ink); border-radius: 8px; min-height: 44px; font-size: .75rem; padding: 8px; }
.demo-collector .desk-watch .dash-row__side > .ws-btn { border: 1px solid var(--line); background: transparent; min-height: 44px; font-size: .75rem; padding: 8px; box-shadow: none; }
.demo-collector .desk-watch .ws-btn:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.demo-collector .desk-empty { grid-column: 1/-1; }
.demo-collector .dash-msg { font-size: .75rem; margin: 12px 0 0; }
.demo-right-rail { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.demo-alert-panel { padding: 20px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); scroll-margin-top: 20px; }
.demo-alert-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 76px; }
.demo-alert-heading h2 { font-size: 2.2rem; font-variation-settings: "wdth" 65; letter-spacing: -.03em; text-transform: none; margin: 0; }
.demo-alert-heading img { width: 88px; height: 88px; object-fit: contain; transform: rotate(8deg); margin: -18px -6px 0 0; }
.demo-alert-facts { margin: 0 0 16px; }
.demo-alert-facts > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .76rem; }
.demo-alert-facts dt { color: var(--desk-secondary); }
.demo-alert-facts dd { font-weight: 800; text-align: right; margin: 0; }
.demo-alert-facts small { font-size: .75rem; font-weight: 400; color: var(--desk-secondary); }
.demo-collector .desk-readiness { padding: 0; border: 0; border-radius: 0; background: transparent; display: block; }
.demo-collector .desk-readiness h2 { font-size: .82rem; line-height: 1.4; text-transform: none; }
.demo-collector .desk-readiness p { font-size: .75rem; line-height: 1.6; }
.demo-collector .desk-sample-label { display: none; }
.demo-collector .demo-state { display: block; margin-top: 18px; }
.demo-collector .demo-state label { display: flex; flex-direction: column; align-items: stretch; font-size: .75rem; gap: 8px; }
.demo-collector .demo-state select { width: 100%; min-height: 44px; border: 1px solid var(--line); font-size: .75rem; }
.demo-rail-note { font-size: .75rem; line-height: 1.6; color: var(--desk-secondary); margin: 0; }
.demo-alert-panel > .demo-rail-note { margin-top: 10px; }
.demo-collector .desk-personalise { padding: 18px; margin: 0; border: 1px solid var(--line); border-radius: 12px; }
.demo-collector .desk-personalise-head { flex-direction: column; gap: 14px; align-items: stretch; }
.demo-collector .desk-personalise h2 { font-size: 1.6rem; font-variation-settings: "wdth" 65; text-transform: none; }
.demo-collector .desk-personalise-head p { font-size: .75rem; }
.demo-collector .desk-buddy { gap: 12px; max-width: none; flex-direction: row; text-align: left; }
.demo-collector .desk-buddy img { width: 82px; height: 82px; }
.demo-collector .desk-buddy figcaption span { display: block; font-size: .75rem; }
.demo-collector .desk-buddy strong { font-size: .88rem; }
.demo-collector .desk-dressing-room > summary { font-size: .75rem; line-height: 1.5; padding: 12px 0 0; }
.demo-collector .desk-style-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.demo-collector .desk-style-choice { min-height: 104px; padding: 9px; border-width: 1px; gap: 7px; }
.demo-collector .desk-style-choice strong { font-size: .75rem; }
.demo-collector .desk-style-choice > span:last-child { display: none; }
.demo-collector .desk-style-swatch { padding: 5px; gap: 3px; height: 35px; }
.demo-collector .desk-style-swatch i { width: 18px; height: 18px; }
.demo-collector .desk-dressing-content legend { font-size: .8rem; }
.demo-collector .desk-buddy-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.demo-collector .desk-buddy-choices button { min-height: 90px; padding: 8px 4px; border-width: 1px; font-size: .75rem; gap: 5px; }
.demo-collector .desk-buddy-choices img { width: 46px; height: 46px; }
.demo-collector .desk-appearance-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.demo-collector .desk-appearance-foot p, .demo-collector .desk-cosmetic-note { font-size: .75rem; }
.demo-collector .desk-appearance-foot .ws-btn { font-size: .75rem; padding: 10px; border-width: 1px; }
.demo-joy { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 10px; }
.demo-joy img { width: 96px; height: 96px; object-fit: contain; transform: rotate(-9deg); }
.demo-joy p { font-size: 1.9rem; font-variation-settings: "wdth" 65; line-height: 1.05; font-weight: 900; margin: 0; }
.demo-joy em { font-style: normal; color: var(--ink); text-decoration: underline; text-decoration-color: var(--hot); text-underline-offset: 5px; }
.demo-latest { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.demo-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.demo-section-heading h2 { font-size: 1.7rem; font-variation-settings: "wdth" 65; text-transform: none; margin: 0; }
.demo-section-heading > span, .demo-latest > p { font-size: .75rem; color: var(--desk-secondary); }
.demo-latest > p { margin: 12px 0 0; }
.demo-check-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .76rem; }
.demo-check-row img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 6px; }
.demo-check-row > div { flex: 1; min-width: 0; }
.demo-check-row strong { font-size: .75rem; }
.demo-check-row p { margin: 2px 0 0; color: var(--desk-secondary); font-size: .75rem; }
.demo-check-row > span { font-size: .75rem; white-space: nowrap; }
.demo-collector .demo-close { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 0; border-top: 1px solid var(--line); margin-top: 40px; }
.demo-collector .demo-close h2 { font-size: 1.9rem; font-variation-settings: "wdth" 65; text-transform: none; }
.demo-collector .demo-close p { font-size: .78rem; line-height: 1.7; margin: 0; }
.demo-close > div:last-child { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.demo-collector footer { margin: 0; }
.demo-collector :focus-visible { outline: 3px solid var(--desk-focus); outline-offset: 3px; }
.demo-collector ::selection { background: var(--acid); color: #1c1030; }
.demo-collector input { caret-color: var(--desk-focus); }
.demo-collector { scrollbar-color: #755064 #fff4e6; }
@media (min-width: 1600px) {
  .demo-columns { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
  .demo-collector .desk-watch .desk-photo { height: 210px; }
  .demo-collector .demo-workspace { padding: 32px 32px 0; }
}
@media (max-width: 1180px) {
  .demo-columns { grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
  .demo-collector .desk-watchlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-page-head { flex-wrap: wrap; }
  .demo-page-head h1 { font-size: 3.2rem; }
}
@media (max-width: 960px) {
  .demo-columns { grid-template-columns: minmax(0, 1fr); }
  .demo-right-rail { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; }
  .demo-joy { align-self: center; }
  .demo-collector .demo-close { align-items: flex-start; }
  .demo-collector .desk-watch .desk-photo { height: 200px; }
}
@media (max-width: 740px) {
  .demo-collector .demo-shell[data-desk-surface] { display: block; }
  .demo-sample-bar { font-size: .75rem; gap: 10px; padding: 8px 14px; justify-content: space-between; }
  .demo-sample-bar > span { display: block; flex: 1; font-size: .75rem; line-height: 1.4; max-width: 155px; }
  .demo-sample-bar button { min-height: 32px; }
  .demo-sidebar { position: static; width: 100%; height: auto; padding: 14px 16px 0; gap: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-brand img { width: 34px; height: 34px; }
  .demo-brand span { font-size: 1.35rem; }
  .demo-sidebar nav { display: flex; justify-content: space-between; gap: 2px; }
  .demo-sidebar nav a { flex-direction: column; justify-content: center; gap: 5px; padding: 10px 5px; font-size: .75rem; border-radius: 8px 8px 0 0; }
  .demo-sidebar nav svg { width: 20px; height: 20px; }
  .demo-sidebar-bottom { display: none; }
  .demo-collector .demo-workspace { padding: 22px 16px 0; }
  .demo-page-head { margin-bottom: 18px; gap: 16px; }
  .demo-page-head h1 { font-size: clamp(2.45rem, 8.5vw, 3.2rem); }
  .demo-page-head p { font-size: .85rem; }
  .demo-collector .demo-find { font-size: .75rem; padding: 10px 14px; min-height: 44px; }
  .demo-collector .desk-review { flex-direction: row; align-items: center; gap: 10px; padding: 12px; }
  .demo-collector .desk-review h2 { font-size: .78rem; }
  .demo-collector .desk-review p { font-size: .75rem; }
  .demo-collector .desk-review .desk-check { display: none; }
  .demo-collector .desk-review .ws-btn { flex-shrink: 0; max-width: 78px; white-space: normal; text-align: center; line-height: 1.4; }
  .demo-shelf-tabs { gap: 24px; }
  .demo-collector .desk-tools { grid-template-columns: 1fr 1fr; gap: 10px; }
  .demo-collector .desk-tools label:first-child { grid-column: 1/-1; }
  .demo-collector .desk-watchlist { gap: 12px; }
  .demo-right-rail { grid-template-columns: 1fr; margin-top: 20px; }
  .demo-collector .desk-style-choice { min-height: 105px; }
  .demo-collector .desk-buddy-choices img { width: 60px; height: 60px; }
  .demo-collector .desk-buddy-choices button { font-size: .75rem; }
  .demo-collector .desk-personalise-head { flex-direction: row; align-items: center; }
  .demo-collector .desk-buddy { flex-direction: column; text-align: center; max-width: 88px; }
  .demo-collector .desk-buddy figcaption span { display: none; }
  .demo-collector .demo-close { flex-direction: column; gap: 20px; }
  .demo-close > div:last-child { align-items: flex-start; }
  .demo-collector .demo-close h2 { font-size: 1.7rem; }
  .demo-check-row > span { white-space: normal; max-width: 74px; }
}
@media (max-width: 540px) {
  .demo-collector .desk-watchlist { grid-template-columns: 1fr; }
  .demo-collector .desk-watch { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .demo-collector .desk-watch .desk-photo { width: 96px; height: 116px; }
  .demo-collector .desk-photo img { padding: 5px; }
  .demo-collector .desk-watch .dash-row__title { min-height: 0; font-size: 1.45rem; }
  .demo-collector .dash-row__main { padding: 0; }
  .demo-collector .desk-price { font-size: 1.35rem; }
  .demo-collector .desk-watch .dash-row__side { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; padding: 0; align-items: start; gap: 10px 12px; }
  .demo-collector .desk-limit { order: 1; grid-column: 1/-1; }
  .demo-collector .desk-rule { order: 2; }
  .demo-collector .dash-row__side > button { order: 3; align-self: end; }
  .demo-collector .dash-row__side > .desk-check { order: 4; grid-column: 1/-1; }
  .demo-collector .desk-limit > div { grid-template-columns: minmax(0, 1fr) auto; }
  .demo-collector .desk-limit input { min-width: 0; }
  .demo-collector .desk-watch .dash-row__side > .ws-btn { margin: 0; }
  .demo-collector .desk-rule-note { min-height: 0; }
}

/* Keep site-wide pink link hover from reducing contrast on yellow actions. */
.demo-collector .ws-btn--primary:hover { color: #1c1030; }
