.recommendation-preferences-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin:16px 0;align-items:start; }
#recommendation-preferences fieldset { min-width:0;border:1px solid var(--border);border-radius:12px;padding:12px; }
#recommendation-preferences label { display:block;margin:8px 0; }
#recommendation-preferences input,#recommendation-preferences select,#recommendation-preferences button { min-height:44px; }
#recommendation-preferences input,#recommendation-preferences select { width:100%;max-width:100%; }
#recommendation-preferences output { display:block;font-variant-numeric:tabular-nums; }
#recommendation-preferences summary { min-height:44px;padding:12px 0;cursor:pointer; }
#recommendation-preferences select { background:var(--panel,var(--bg));color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px; }
.recommendation-preference-row { border-top:1px solid var(--border);margin-top:12px;padding-top:8px; }
#recommendation-preferences .card { margin-top:12px;padding:12px;overflow-wrap:anywhere; }
