.maod-directory{font:inherit;max-width:1100px;margin:1.5rem auto;color:inherit}.maod-directory *{box-sizing:border-box}.maod-filters{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}.maod-filters label{display:flex;flex:1 1 220px;flex-direction:column;gap:.4rem;font-weight:600}.maod-filters input,.maod-filters select{width:100%;min-width:0;font:inherit;padding:.65rem;border:1px solid #737b80;border-radius:4px;background:#fff;color:#20272b}.maod-directory button{font:inherit;min-height:44px}.maod-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem}.maod-card{border:1px solid #d3d9dc;border-radius:6px;padding:1.25rem;overflow-wrap:anywhere;background:#fff;color:#20272b;display:flex;flex-direction:column}.maod-card h2{font-size:1.22rem;line-height:1.4;margin:0 0 .6rem}.maod-card p{margin:0 0 1rem}.maod-card .maod-categories{font-size:.85rem;color:#46545b}.maod-card .maod-source{font-size:.8rem;color:#46545b;margin:1rem 0 0}.maod-card a{color:#175777;text-decoration:underline;text-underline-offset:.15em}.maod-directory :is(a,button,input,select):focus-visible{outline:3px solid #156b94;outline-offset:3px}.maod-pagination{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1.5rem}.maod-pagination a{padding:.5rem .8rem;border:1px solid #737b80;min-width:44px;text-align:center}.maod-pagination [aria-current]{font-weight:bold;background:#e6f1f6}.maod-preview{padding:1rem;background:#fff4d0;color:#423511}.maod-filters>a{padding:.6rem 0}@media(max-width:480px){.maod-filters{display:block}.maod-filters label{margin-bottom:1rem}.maod-filters button{margin-right:1rem}.maod-card{padding:1rem}}
.maod-card-heading{display:flex;gap:.75rem;align-items:flex-start;margin-bottom:.25rem}.maod-card-identity{flex:1;min-width:0}.maod-thumbnail{flex:0 0 120px;width:120px;height:90px;display:flex;align-items:center;justify-content:center;background:#f1f3f4;border:1px solid #d3d9dc;border-radius:4px;overflow:hidden}.maod-thumbnail img{width:120px;height:90px;object-fit:contain;display:block}@media(max-width:480px){.maod-thumbnail{flex-basis:96px;width:96px;height:72px}.maod-thumbnail img{width:96px;height:72px}}
.maod-representative{flex:0 0 120px;width:120px;display:flex;flex-direction:column;gap:4px}.maod-representative-label{font-size:10px;line-height:1.35;font-weight:400;color:#46545b;text-align:center}.maod-thumbnail svg{width:100%;height:100%;display:block}.maod-category-table td,.maod-category-table th{vertical-align:top}.maod-category-table form{margin-bottom:12px}.maod-category-stage{padding:16px;margin:16px 0;border:1px solid #737b80;background:white}.maod-category-stage form{display:inline-block;margin:12px 8px 0 0}@media(max-width:480px){.maod-representative{flex-basis:96px;width:96px}.maod-representative-label{font-size:10px}.maod-category-table,.maod-category-table tbody,.maod-category-table tr,.maod-category-table td,.maod-category-table th{display:block}.maod-category-table thead{display:none}.maod-category-table tr{border-bottom:1px solid #737b80}.maod-category-table input[type=file]{max-width:100%}}

.maod-thumbnail picture{width:100%;height:100%;display:flex;align-items:center;justify-content:center}

/* v0.2.0 progressive multi-product controls. Native details/checklists work without JS. */
.maod-representative>.maod-thumbnail{flex:0 0 auto}
.maod-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,1fr) minmax(160px,.9fr) auto;align-items:end;gap:12px;margin-bottom:16px}
.maod-filters label{font-weight:600;margin:0;gap:4px}.maod-filters input,.maod-filters select{min-height:44px;padding:8px;max-width:100%}
.maod-filters .maod-match select{font-size:14px}.maod-product-control{min-width:0}.maod-products{border:1px solid #737b80;border-radius:4px;background:#fff;color:#20272b}
.maod-products summary{cursor:pointer;min-height:44px;padding:10px;font-weight:600;line-height:24px;overflow-wrap:anywhere}.maod-selection-count{font-size:12px;font-weight:400}
.maod-product-panel{padding:8px;border-top:1px solid #d3d9dc}.maod-filters .maod-product-find{display:block;font-size:14px;margin-bottom:8px}.maod-product-find input{display:block;width:100%;margin-top:4px}
.maod-product-options{max-height:260px;overflow-y:auto;overscroll-behavior:contain}.maod-product-options fieldset{min-width:0;margin:0 0 8px;padding:0;border:0}.maod-product-options legend{font-size:13px;font-weight:700;padding:0}
.maod-filters .maod-choice{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:44px;padding:4px;font-size:14px;font-weight:400;cursor:pointer;overflow-wrap:anywhere}
.maod-filters .maod-choice input{appearance:auto;flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:0;padding:0}.maod-choice span{min-width:0}
.maod-selected-products{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.maod-directory .maod-product-chip{border:1px solid #737b80;border-radius:16px;background:#e6f1f6;color:#20272b;font-size:12px;padding:4px 10px;min-height:44px;max-width:100%;overflow-wrap:anywhere}
.maod-search-actions{display:flex;gap:12px;align-items:center}.maod-search-actions button{min-width:88px;min-height:44px;padding:8px 16px}.maod-search-actions a{display:inline-flex;align-items:center;min-height:44px;padding:6px}
.maod-product-feedback{font-size:13px;margin:8px 0 0}.maod-card .maod-product-tags,.maod-card .maod-locations{font-size:.85rem;line-height:1.5;margin-bottom:.75rem}
.maod-directory [hidden]{display:none!important}.maod-directory summary:focus-visible{outline:3px solid #156b94;outline-offset:3px}
@media(max-width:900px){.maod-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.maod-search-actions{justify-content:flex-end}}
@media(max-width:480px){.maod-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.maod-filters label{margin:0}.maod-filters .maod-match{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center}.maod-search-actions{justify-content:flex-start}.maod-search-actions button{flex:1}.maod-preview{padding:8px}.maod-product-options{max-height:220px}}
