#mistro-page .mistro-catalogue-dialog{box-sizing:border-box;width:min(1120px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 28px);padding:clamp(16px,3vw,32px);border:1px solid #989e84;border-radius:12px;background:#faf7ed;color:#26251d;overflow:auto}
#mistro-page .mistro-catalogue-dialog::backdrop{background:#131b17b8}
.mistro-catalogue-dialog header{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:16px}
.mistro-catalogue-dialog h2{margin:0;font:clamp(1.3rem,4vw,2.1rem)/1.15 Georgia,serif}
#mistro-page .mistro-catalogue-dialog .filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.mistro-catalogue-dialog .filters select{display:block;min-height:44px;min-width:190px;background:white;border:1px solid #958b77;padding:8px;color:#332d22}
#mistro-page .mistro-catalogue-dialog .filters[hidden],#mistro-page #collection .filters[hidden],#mistro-page #collection .tabs[hidden]{display:none}
#mistro-page #collection #models{display:block}
.mistro-catalogue-fold{border:1px solid #a68e72;border-radius:9px;margin:0 0 12px;padding:8px 12px;background:#faf7ed}
.mistro-catalogue-fold>summary{display:grid;grid-template-columns:74px 1fr auto auto;align-items:center;gap:12px;min-height:48px;cursor:pointer;list-style:none;color:#33251c}
.mistro-catalogue-fold>summary::-webkit-details-marker{display:none}
.mistro-catalogue-fold>summary:not(:has(img)){grid-template-columns:1fr auto auto}
.mistro-catalogue-fold>summary:focus-visible{outline:2px solid #1f604c;outline-offset:3px}
.mistro-catalogue-fold>summary img{width:74px;height:68px;object-fit:contain;mix-blend-mode:multiply}
.mistro-catalogue-fold>summary span:last-child{font-size:1.55rem;font-weight:700;line-height:1}
.mistro-catalogue-fold[open]>summary span:last-child{transform:rotate(90deg)}
.mistro-catalogue-fold>div{margin-top:12px}
#mistro-page .mistro-catalogue-dialog .collection-layout{grid-template-columns:minmax(0,1fr) minmax(200px,28%)}
#mistro-page .mistro-catalogue-dialog .collection-layout > div{min-width:0}
@media(max-width:720px){
  #mistro-page .mistro-catalogue-dialog .collection-layout,#mistro-page .mistro-catalogue-dialog .model-grid{grid-template-columns:minmax(0,1fr)}
}
#mistro-page .mistro-market-badge{display:table;margin:.45rem 0 .75rem;padding:.25rem .55rem;border:1px solid #956126;border-radius:4px;background:#fff0d4;color:#65370c;font-size:.85rem;font-weight:650}
#mistro-page .selection label:has(> #differences){display:flex;align-items:center;justify-content:center;gap:.65rem;min-height:44px;margin-top:8px;padding:.45rem .8rem;box-sizing:border-box;border:2px solid #b39863;border-radius:6px;background:#f6efd9;color:#173f30;font-weight:650;cursor:pointer}
#mistro-page .selection #differences{inline-size:1.15rem;block-size:1.15rem;margin:0;accent-color:#1d6548}
#mistro-page .selection label:has(> #differences:checked){background:#1d6548;color:#fff}
#mistro-page .selection label:has(> #differences:focus-visible){outline:2px solid #1d6548;outline-offset:3px}

#mistro-page .selection #review-request{background:#176443;color:#fff;border:1px solid #287b54;border-radius:6px;min-height:44px;font-weight:650}#mistro-page .selection #review-request:not(:disabled){animation:mistro-selection-glow 2.4s ease-in-out infinite}#mistro-page .selection #review-request:hover:not(:disabled){background:#205c3e;color:#fff}#mistro-page .selection #review-request:focus-visible,#mistro-page .selection #compare:focus-visible,#mistro-page .selection #clear-selection:focus-visible{outline:3px solid #b39863;outline-offset:3px}#mistro-page .selection #compare,#mistro-page .selection #clear-selection{background:#f6efd9;color:#173f30;border:1px solid #b39863;border-radius:6px;min-height:44px}#mistro-page .selection #review-request:disabled{opacity:.55;animation:none}#mistro-page .selection label:has(> #differences:checked){border-color:#b39863;box-shadow:0 0 0 1px #b3986333}@keyframes mistro-selection-glow{0%,100%{box-shadow:0 0 0 1px #b3986366,0 0 8px #2baf6833}50%{box-shadow:0 0 0 1px #b3986399,0 0 17px #2baf6870}}@media(prefers-reduced-motion:reduce){#mistro-page .selection #review-request:not(:disabled){animation:none;box-shadow:0 0 0 1px #b3986366}}
