/* Clean ingredient plates and the expanded reference library. */
.designer-intro {max-width:740px;margin-bottom:24px}
.designer-intro p {line-height:1.7}
.reference-toolbar {display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin:20px 0}
.reference-field {display:grid;gap:8px;min-width:180px;flex:1}
.reference-field label {font-size:13px;color:var(--muted,#c9c1bd)}
.reference-field select {width:100%;min-height:48px;font:16px Arial,sans-serif;color:#f6f2ed;background:#242126;border:1px solid #51474c;border-radius:6px;padding:10px 36px 10px 12px;cursor:pointer}
.reference-field select:focus-visible {outline:2px solid #d2b58a;outline-offset:3px}
.reference-summary {display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center;justify-content:space-between;margin:22px 0}
.reference-summary .reference-count {margin:0}
.reference-coverage {font-size:12px;color:#c9c1bd;line-height:1.5;margin:0}
.reference-more {display:flex;flex-direction:column;align-items:center;gap:12px;margin:30px 0}
.reference-more[hidden] {display:none}
.reference-more p {margin:0;font-size:13px;color:#c9c1bd}
.dupe-grid {align-items:start}
.designer-photo img,.dupe-photo img {object-fit:contain}
.reference-comparisons {display:grid;gap:18px}
.reference-comparisons .similarity {margin:0}
.reference-comparisons .reference-copy {display:block;min-width:0;overflow-wrap:anywhere}
.reference-comparisons .reference-photo {grid-column:auto;grid-row:auto}
.reference-copy .reference-label {display:block;font-size:11px;color:#d2b58a;margin-bottom:10px}
.reference-copy .brand {margin-bottom:6px}
.reference-copy h4 {margin-top:0}
.reference-copy .comparison-source {display:inline-block;margin-top:10px;min-height:44px;line-height:1.5;padding-top:10px}
.reference-status {border-left:2px solid #72233b;padding:4px 0 4px 18px}
.reference-status .reference-label {font-size:11px;color:#d2b58a}
.reference-status p {line-height:1.7;color:#c9c1bd;margin-bottom:0}
.note-tiles {display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:18px 12px;align-items:start}
.note-tile {display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;gap:9px;line-height:1.4}
.note-tile img {display:block;width:88px;height:88px;max-width:100%;padding:9px;object-fit:contain;background:#f6f2ed;border:1px solid #e6ded5;border-radius:8px;box-shadow:none;box-sizing:border-box}
.note-tile span {font-size:12px;overflow-wrap:anywhere}
.note-tile small {font-size:10px;color:#c9c1bd;margin-top:-4px}
.note-library {max-width:1180px;margin:0 auto;padding:48px 28px}
.note-library header {display:block;padding:0;margin:0 0 36px;border:0}
.note-library h1 {font-family:Georgia,serif;font-size:clamp(30px,5vw,48px);line-height:1.15;margin:22px 0}
.note-library header p {max-width:780px;line-height:1.8;color:#c9c1bd}
.note-library a {color:#d2b58a;display:inline-block;padding:12px 0}
.note-library-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:24px}
.note-library-card {min-width:0;background:#211e23;border:1px solid #3b353d;border-radius:8px;padding:16px}
.note-library-card img {display:block;width:100%;aspect-ratio:1;object-fit:contain;box-sizing:border-box;background:#f6f2ed;border-radius:6px;padding:14px}
.note-library-card h2 {font-size:15px;font-family:Arial,sans-serif;line-height:1.4;margin:16px 0 6px}
.note-library-card p {font-size:12px;line-height:1.6;color:#c9c1bd;margin:0}
.note-library-card small {display:block;color:#d2b58a;font-size:11px;margin-top:8px}
@media(max-width:560px) {
  .reference-toolbar {gap:12px;margin:18px 0}
  .reference-field {min-width:0;flex-basis:100%}
  .reference-summary {gap:8px;margin:20px 0}
  .note-tiles {grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:16px 8px}
  .note-tile img {width:80px;height:80px;padding:8px}
  .note-library {padding:32px 18px}
  .note-library-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .note-library-card {padding:10px}
  .note-library-card img {padding:8px}
  .reference-comparisons .has-reference {grid-template-columns:100px minmax(0,1fr);gap:14px}
  .reference-comparisons .reference-photo {height:140px}
}
@media(max-width:400px) {
  .reference-comparisons .has-reference {grid-template-columns:minmax(0,1fr)}
  .reference-comparisons .reference-photo {width:120px;margin:auto}
}
