.collection-page{max-width:1100px;margin:0 auto;padding:36px 24px 90px}.collection-hero{margin:18px 0 32px}.collection-hero h1{font-size:clamp(2rem,5vw,3.5rem);margin:8px 0}.collection-hero>p:last-child{max-width:680px;color:#716761}.history-theme{margin:30px 0 55px;border-top:1px solid #e7dbcf;padding-top:25px}.history-theme h2{margin:5px 0;text-transform:capitalize}.history-theme>.conv-carousel{max-width:100%}.history-look{max-width:100%}.history-prompt{padding:14px 20px 0;color:#6b1f40;font-weight:600}.history-actions{padding:15px 20px}.site-header__controls{flex-wrap:wrap}@media(max-width:700px){.collection-page{padding:24px 15px 70px}}
.history-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.history-actions .primary-action{display:inline-block;text-decoration:none}.history-action-status{font-size:.85rem;color:#716761}
.history-entry{min-width:0}
.looks-hero{margin:0 0 24px}
.looks-hero h1{margin:0}
.looks-filters{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 26px}
.looks-filters label{display:grid;gap:7px;min-width:min(230px,100%);color:var(--muted);font-size:13px;font-weight:700}
.looks-filters select{min-height:46px;padding:0 40px 0 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.looks-filters select:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.history-theme-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.history-theme-heading h2{min-width:0;flex:1}
.history-query-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;margin-bottom:14px}
.history-query-row .conv-carousel-header{margin:0;padding:0;flex-shrink:0}
.history-entry .history-prompt{min-width:0;margin:0;padding:0 4px;color:#6b1f40;font-weight:600}
@media(max-width:600px){.history-query-row{gap:6px}}

/* Wardrobe follows the flatter editorial cards and controls used in Looks. */
.wardrobe-form {
  display: grid;
  grid-template-columns: 2fr 1.5fr auto;
  align-items: end;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(70,43,35,.045);
}
.wardrobe-form label { display: grid; gap: 9px; color: var(--ink); font-size: 13px; font-weight: 750; }
.wardrobe-form select {
  width: 100%;
  min-height: 52px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
}
.wardrobe-photo-control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.wardrobe-photo-choice {
  flex: 0 0 auto;
  align-self: stretch;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  background: #f8f4ee;
  padding: 0 15px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 750;
}
.wardrobe-file-name { min-width: 0; overflow: hidden; padding: 0 12px; color: var(--muted); font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.wardrobe-photo-control input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.wardrobe-photo-control:hover, .wardrobe-photo-control:focus-within, .wardrobe-form select:focus { border-color: var(--wine); outline: none; box-shadow: 0 0 0 3px rgba(113,36,63,.1); }
.wardrobe-form > .primary-action { min-height: 52px; border-radius: 8px; padding: 0 20px; white-space: nowrap; }
.wardrobe-status { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.wardrobe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin-top: 28px; }
.wardrobe-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(70,43,35,.045); }
.wardrobe-card img { width: 100%; height: 275px; object-fit: contain; background: #eee8de; }
.wardrobe-card__details { padding: 17px 18px 18px; }
.wardrobe-card h2, .wardrobe-card p { margin: 0; }
.wardrobe-card h2 { font-size: 17px; line-height: 1.35; }
.wardrobe-card p { margin-top: 5px; color: var(--muted); font-size: 12px; text-transform: capitalize; }
@media (max-width: 700px) {
  .wardrobe-form { grid-template-columns: 1fr; padding: 20px; }
  .wardrobe-card img { height: 200px; }
}
