.prototype-category-trigger{width:100%;font-weight:800}
.prototype-category-panel{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:20px;background:#f6f8f5;color:#203f39;overflow:hidden}
.prototype-category-panel[open]{display:flex;flex-direction:column}
.prototype-category-panel::backdrop{background:#132d2b99}
.prototype-panel-header{display:flex;align-items:center;justify-content:space-between;padding:20px 20px 6px;gap:12px;flex-shrink:0}
.prototype-panel-header h2{font-size:1.3rem;margin:0;line-height:1.4}
.prototype-panel-close{width:44px;height:44px;flex-shrink:0;border:0;border-radius:50%;background:#e5eeea;color:#203f39;font-size:30px;cursor:pointer}
.prototype-panel-hint{margin:0;padding:0 20px 15px;font-size:13px;line-height:1.6;color:#607571;flex-shrink:0}
.prototype-group-list{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 16px 8px;min-height:0;display:grid;gap:8px}
.prototype-group{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:1px solid #d5e0db;border-radius:12px;background:white;color:#203f39;text-align:left;padding:14px 16px;min-height:78px;cursor:pointer;font:inherit}
.prototype-group strong{display:block;font-size:17px}.prototype-group small{display:block;font-size:12px;color:#64766e;margin-top:4px}
.prototype-group[aria-pressed=true]{border:2px solid #427566;background:#e9f2ed;padding:13px 15px}
.prototype-group:disabled{opacity:.6;cursor:default}
.prototype-group-count{font:700 17px/1.3 Arial,sans-serif;white-space:nowrap}.prototype-group:disabled .prototype-group-count{font-size:12px}
.prototype-panel-footer{margin:0;padding:12px 18px;text-align:center;font-size:12px;font-weight:700;box-shadow:0 -6px 14px #243d4020;background:#f6f8f5;flex-shrink:0;min-height:40px}
.prototype-controls{margin-top:14px}.prototype-fine-filter summary{font-size:14px;cursor:pointer;min-height:36px;padding:8px 0;color:#42635a}
.prototype-category-chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 12px}
.prototype-category-chips button{border:1px solid #b7cbc1;background:white;border-radius:24px;padding:9px 13px;font:inherit;font-size:13px;color:#244e40;min-height:44px;cursor:pointer}
.prototype-category-chips button[aria-pressed=true]{background:#244e40;color:white}
.prototype-list-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:5px;padding:10px 0;font-size:12px}
.prototype-list-toolbar>span{margin-right:auto;color:#657a77}
.prototype-list-toolbar button{font:inherit;border:1px solid #c6d3cf;background:white;border-radius:7px;min-height:40px;padding:7px 10px;cursor:pointer;color:#42635a}
.prototype-list-toolbar button[aria-pressed=true]{background:#e0ebe5;border-color:#6f9081;color:#203f39;font-weight:800}
#storeList .prototype-compact-card{padding:0;border-radius:12px;box-shadow:none;animation:none}
.prototype-compact-card>summary{padding:14px 16px;cursor:pointer;list-style:none}
.prototype-compact-card>summary::-webkit-details-marker{display:none}
.prototype-compact-card .card-top{align-items:center;gap:12px}
.prototype-compact-card .store-name{font-size:17px;line-height:1.4}
.prototype-compact-card .badges{flex-wrap:wrap;margin-bottom:5px}
.prototype-compact-card .category-badge{font-size:10px;padding:2px 6px;font-weight:600}
.prototype-compact-card .status-badge{font-size:11px;padding:6px 8px;max-width:40%;white-space:normal;text-align:center}
.prototype-expand-label{display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:11px;color:#647c76;margin-top:6px}
.prototype-expand-label::after{content:'⌄';font-size:16px;line-height:1}
.prototype-compact-card[open] .prototype-expand-label::after{transform:rotate(180deg)}
.prototype-card-body{padding:0 16px 14px}
.prototype-compact-card[open]>summary{background:#f0f6f2;border-radius:12px 12px 0 0}
.prototype-compact-card .store-details{margin-top:0;padding-top:12px}
.prototype-compact-card .verified{font-size:11px}
.prototype-group:focus-visible,.prototype-panel-close:focus-visible,.prototype-list-toolbar button:focus-visible,.prototype-category-chips button:focus-visible,.prototype-compact-card summary:focus-visible{outline:3px solid #5998bd;outline-offset:2px}
.prototype-category-panel{position:fixed;inset:0;margin:auto;width:min(360px,calc(100vw - 32px));max-width:none;max-height:min(640px,calc(100dvh - 64px));border-radius:12px;}

.prototype-fine-filter h2{margin:0 0 8px;font-size:13px;font-weight:700;color:#42635a;line-height:1.5}
.prototype-category-chips{margin:0;gap:7px}
.prototype-controls{margin-top:14px;margin-bottom:8px}

/* Keep the shop list higher on mobile by tightening the count section. */
@media(max-width:719px){.summary{padding-top:12px;padding-bottom:6px;min-height:118px}}

@media(max-width:719px){.topbar{padding-top:10px}}

@media(max-width:719px){.controls{margin-top:12px}}

.prototype-event-entry{min-height:60px;background:#f5e5d2;border-color:#d4b79a;color:#8c4528}
