.sp-panel,.sp-panel *{box-sizing:border-box}
.sp-panel{position:fixed;z-index:1000;width:350px;max-width:calc(100vw - 24px);background:#fff;border:1px solid #e2e0de;border-radius:4px 4px 20px 20px;box-shadow:0 12px 36px #1b19172b;color:#6c655c;overflow:auto;overscroll-behavior:contain;margin:0;outline:none;font:14px/1.45 'Neue Haas Display',Arial,sans-serif}.sp-panel[hidden],.sp-backdrop[hidden]{display:none}.sp-banner{position:relative}.sp-banner>img{width:100%;aspect-ratio:2.5;object-fit:contain;display:block}.sp-logo{width:76px;height:76px;position:absolute;bottom:0;left:50%;transform:translate(-50%,50%);border-radius:50%;background:white;border:4px solid white;box-shadow:0 2px 6px #1b191714}.sp-logo img{width:100%;height:100%;object-fit:contain;display:block;border-radius:50%}.sp-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:30px;height:30px;background:#fff;border:1px solid #e2e0de;border-radius:50%;cursor:pointer;color:#6c655c}.sp-close svg{width:16px;height:16px}.sp-body{padding:48px 24px 23px}.sp-title{font-size:25px;line-height:1.1;font-weight:700;color:#6c655c;margin:0;text-align:center;letter-spacing:-.4px}.sp-description{font-size:13px;line-height:1.5;margin:12px 0 17px;text-align:center;color:#81796f}.sp-contact{display:grid;grid-template-columns:17px minmax(0,1fr);gap:9px 10px;margin:0;padding:15px 0;border-top:1px solid #e8e5e0;border-bottom:1px solid #e8e5e0}.sp-contact svg{width:16px;height:16px;margin-top:2px}.sp-contact dd{margin:0;min-width:0;overflow-wrap:anywhere;font-size:12px}.sp-contact dt{margin:0}.sp-contact dd small{font-size:10px;display:block;color:#948b80;margin-top:1px}.sp-contact a{text-decoration:none;color:inherit}.sp-contact a:hover{text-decoration:underline}.sp-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 18px}.sp-count{font-size:12px;display:flex;align-items:center;gap:8px}.sp-count svg{width:17px;height:17px}.sp-categories{display:flex;gap:6px}.sp-category{display:grid;place-items:center;min-width:32px;height:43px;border-radius:0 0 9px 9px;color:var(--fg);background:var(--bg);font-size:13px;font-weight:500;padding:0 5px}.sp-profile{display:flex;align-items:center;justify-content:center;gap:10px;background:#c6424c;color:white!important;text-decoration:none;border-radius:3px;min-height:40px;padding:10px 12px;font-size:13px}.sp-profile svg{width:16px;height:16px}.sp-profile:hover{background:#b53843}.sp-panel svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sp-panel button:focus-visible,.sp-panel a:focus-visible{outline:2px solid #6b2239;outline-offset:3px}.sp-backdrop{position:fixed;inset:0;background:#1b191755;z-index:999}.sp-panel.sp-sheet{left:12px!important;right:12px;bottom:12px;top:auto!important;width:auto;max-width:none;max-height:calc(100dvh - 24px);border-radius:16px 16px 20px 20px}.sp-sheet .sp-close{width:36px;height:36px}.sp-sheet .sp-body{padding-top:46px}.sp-panel::-webkit-scrollbar{width:6px}.sp-panel::-webkit-scrollbar-thumb{background:#d8d5cf;border-radius:5px}@media(prefers-reduced-motion:no-preference){.sp-panel{animation:sp-in .12s ease-out}@keyframes sp-in{from{opacity:0}to{opacity:1}}}


.sp-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.sp-contact{padding:12px 0}.sp-contact dd{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-more-wrap{position:relative}.sp-more{width:34px;height:43px;border:1px solid #d8d5cf;border-top:0;border-radius:0 0 9px 9px;background:#f1efec;color:#6c655c;font:500 13px 'Neue Haas Display',Arial,sans-serif;cursor:pointer}
.sp-extra{position:absolute;bottom:51px;right:0;width:236px;max-width:calc(100vw - 76px);padding:14px 16px;border:1px solid #e2e0de;border-radius:4px 4px 12px 12px;background:white;box-shadow:0 5px 24px #1b191726;z-index:2;font-size:13px;max-height:220px;overflow:auto}
.sp-extra[hidden]{display:none}.sp-extra ul{padding:0;margin:8px 0 0;list-style:none}.sp-extra li{padding:4px 0}.sp-count{white-space:nowrap}

/* Loading state shown while the preview data is fetched */
.sp-loading{display:flex;justify-content:center;align-items:center;padding:40px 0}

/* Image placeholder: the black Bespeak mark sits behind the banner/logo until the image loads, then the image fades in */
.sp-banner{background-color:#f1efec;background-repeat:no-repeat;background-position:center;background-size:46px}
.sp-logo{background-repeat:no-repeat;background-position:center;background-size:34px}
.sp-banner>img,.sp-logo img{opacity:0;transition:opacity .25s ease}
.sp-banner>img.is-loaded,.sp-logo img.is-loaded{opacity:1}
@media(prefers-reduced-motion:reduce){.sp-banner>img,.sp-logo img{transition:none}}

/* Responsive: notch-safe insets on the phone/tablet bottom sheet */
.sp-panel.sp-sheet{left:max(12px,env(safe-area-inset-left))!important;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}
/* Very small phones: let the count and badges wrap instead of overflowing */
@media(max-width:360px){.sp-summary{flex-wrap:wrap;gap:12px}.sp-body{padding:44px 18px 20px}}
/* Large / 4K screens: scale the compact card up so it does not look lost */
@media(min-width:2200px){.sp-panel{width:440px}.sp-title{font-size:30px}.sp-description{font-size:15px}.sp-body{padding:56px 30px 28px}.sp-logo{width:92px;height:92px}.sp-count,.sp-contact dd{font-size:14px}.sp-category{height:50px;font-size:15px}.sp-profile{font-size:15px;min-height:46px}.sp-banner{background-size:58px}}
@media(min-width:3400px){.sp-panel{width:560px}.sp-title{font-size:38px}.sp-description{font-size:18px}.sp-body{padding:64px 36px 32px}.sp-logo{width:112px;height:112px}.sp-count,.sp-contact dd{font-size:17px}.sp-category{height:58px;font-size:18px}.sp-profile{font-size:18px;min-height:54px}.sp-banner{background-size:74px}}
