/* Six fixed categories, independently scrollable artwork list, explicit detail selection. */
.sl-dialog[open]{display:flex;flex-direction:column;background:#fff;overflow:hidden;padding:14px;height:90dvh;max-height:94dvh;gap:10px}
.sl-dialog .sl-head{position:static;flex:none;background:white;padding:0;min-height:44px}
.sl-dialog .sl-head h2{font-size:22px}
.sl-browse421{display:grid;grid-template-columns:88px minmax(0,1fr);flex:1;min-height:0;overflow:hidden;gap:12px}
.sl-dialog .sl-categories{display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;margin:0;background:#f4f5f5;border-radius:12px;overflow:auto;min-height:0}
.sl-dialog .sl-categories button,.sl-dialog .sl-categories button:first-child{display:block;flex:none;width:100%;border:0;border-radius:0;background:transparent;color:#69736d;font-size:14px;font-weight:600;padding:18px 4px;min-height:64px;white-space:nowrap}
.sl-dialog .sl-categories button.is-active{background:#eaf3ed;color:#225940;box-shadow:inset 3px 0 #29734f}
.sl-results421{overflow:auto;min-height:0;min-width:0;overscroll-behavior:contain;padding-bottom:12px}
.sl-topics421{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.sl-dialog .sl-topics421 button{background:#f3f4f5;color:#555f59;border:1px solid transparent;border-radius:9px;min-height:38px;padding:7px 10px;font-size:12px}
.sl-dialog .sl-topics421 button.is-active{background:#edf5ef;border-color:#8fb69c;color:#225940}
.sl-dialog .sl-search{margin:0 0 8px;gap:4px}
.sl-dialog .sl-search input{font-size:13px;padding:8px}
.sl-dialog .sl-search button{font-size:12px;padding:7px}
.sl-dialog .sl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sl-dialog .sl-card{padding:5px;border:1px solid #e1e4e6;border-radius:10px;background:#fff}
.sl-dialog .sl-card img{border-radius:5px}
.sl-dialog .sl-card strong{font-size:12px;line-height:1.4}
.sl-dialog .sl-status{font-size:12px;margin:7px 0}
.sl-dialog.sl-show-detail .sl-browse421{display:none}
.sl-dialog.sl-show-detail .sl-detail{background:#fff}
.sl-dialog .sl-detail-preview svg{border:1px solid #d5d9dc;background:white}
.sl-dialog .sl-use{background:#204c3a;color:white}
.sl-dialog .ws-entry-share{background:#f4f5f5;color:#385346;border-color:#dfe3e1}
@media(min-width:650px){.sl-dialog .sl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sl-browse421{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:480px){.sl-dialog[open]{width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:12px 10px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));border-radius:0}.sl-browse421{grid-template-columns:76px minmax(0,1fr);gap:8px}.sl-dialog .sl-categories button{font-size:13px}}
@media(max-height:620px){.sl-dialog .sl-categories button{min-height:48px;padding:12px 3px}}
