/* The card skeleton, identical across all 150 reference templates.
   Lifted verbatim except for two changes, both forced by the fact
   that we draw a card INSIDE a page rather than as one:
     - every selector is confined to .st-card-template, because the
       sheet styles .section, .actions, .list, .footer, .brand and
       .avatar, which an app has its own uses for;
     - the html/body/:root rules are dropped, and wrap.css re-homes
       what they said onto the card's own root.
   The dialog rules are dropped too: our apps have their own. */
/* ---------- Self-hosted fonts (SIL Open Font License) ---------- */
/* ---------- Shared card structure ---------- */
.st-card-template *, .st-card-template *::before, .st-card-template *::after{box-sizing:border-box}
.st-card-template img{max-width:100%;display:block}
.st-card-template a{color:inherit}
.st-card-template .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.st-card-template .skip-link{position:absolute;left:12px;top:-60px;z-index:2000;background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:600}
.st-card-template .skip-link:focus{top:12px}
.st-card-template :focus-visible{outline:3px solid var(--focus,var(--accent));outline-offset:3px}
.st-card-template .page-deco{position:fixed;inset:0;pointer-events:none;z-index:0}
.st-card-template .shell{position:relative;z-index:1;max-width:460px;margin:0 auto;background:var(--bg);min-height:100vh;padding-bottom:110px;overflow:hidden}
@media(min-width:768px){.st-card-template .shell{min-height:0;border-radius:var(--shell-radius,28px);box-shadow:var(--shell-shadow,0 30px 80px rgba(0,0,0,.25));margin-bottom:120px}}
.st-card-template .topbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px}
.st-card-template .brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.st-card-template .icon-btn{width:44px;height:44px;flex:none;display:inline-grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:18px;cursor:pointer;transition:transform .15s,background .15s}
.st-card-template .icon-btn:hover{transform:translateY(-1px)}
.st-card-template .hero{position:relative}
.st-card-template .hero-media{position:relative;overflow:hidden;height:220px;background:var(--hero-fallback,linear-gradient(135deg,var(--accent),var(--ink)))}
.st-card-template .hero-media img{width:100%;height:100%;object-fit:cover}
.st-card-template .img-failed{opacity:0}
.st-card-template .avatar{position:absolute;left:50%;bottom:-60px;width:124px;height:124px;transform:translateX(-50%);z-index:2;background:var(--surface)}
.st-card-template .avatar img{width:100%;height:100%;object-fit:cover}
.st-card-template .identity{position:relative;z-index:2;text-align:center;padding:76px 24px 4px}
.st-card-template .identity h1{margin:0;font-family:var(--font-display);font-size:28px;line-height:1.1;font-weight:700}
.st-card-template .identity .role{margin:6px 0 0;font-size:15px}
.st-card-template .identity .org{margin:4px 0 0;font-size:13px;color:var(--muted)}
.st-card-template .badge-line{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:13px;font-weight:600}
.st-card-template .actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:22px 20px 0;margin:0;list-style:none}
.st-card-template .action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:76px;padding:10px 4px;text-decoration:none;font-size:13px;font-weight:500;text-align:center;transition:transform .15s,background .15s}
.st-card-template .action i{font-size:20px;line-height:1}
.st-card-template .cta{display:grid;gap:10px;padding:14px 20px 0}
.st-card-template .cta-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 18px;font:inherit;font-weight:600;font-size:15px;cursor:pointer;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s}
.st-card-template .cta-btn:hover{transform:translateY(-1px)}
.st-card-template .section{position:relative;z-index:1;padding:30px 20px 0}
.st-card-template .section-title{margin:0 0 14px;font-family:var(--font-display);font-size:13px;font-weight:600}
.st-card-template .list{list-style:none;margin:0;padding:0}
.st-card-template .row-link{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 16px;text-decoration:none;color:inherit}
.st-card-template .row-ico{width:40px;height:40px;flex:none;display:grid;place-items:center;font-size:18px}
.st-card-template .row-text{flex:1;min-width:0;display:flex;flex-direction:column}
.st-card-template .row-text small{font-size:12px;color:var(--muted);line-height:1.3}
.st-card-template .row-text span{font-size:15px;font-weight:500;overflow-wrap:anywhere}
.st-card-template .row-go{color:var(--muted);font-size:14px}
.st-card-template .about p{margin:0;font-size:15.5px;line-height:1.65}
.st-card-template .chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.st-card-template .chip{padding:8px 14px;font-size:14px;font-weight:500}
.st-card-template .priced{list-style:none;margin:0;padding:0}
.st-card-template .priced li{display:flex;align-items:baseline;gap:8px;padding:10px 0}
.st-card-template .priced li .dots{flex:1;border-bottom:2px dotted var(--line);transform:translateY(-4px)}
.st-card-template .priced li .price{white-space:nowrap;font-weight:600}
.st-card-template .priced li small{display:block;color:var(--muted);font-size:13px}
.st-card-template .location{overflow:hidden}
.st-card-template .map-wrap{position:relative;height:190px;background:var(--surface-2)}
.st-card-template .map-wrap iframe{width:100%;height:100%;border:0;display:block}
.st-card-template .map-open{position:absolute;left:10px;top:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;font-size:12px;font-weight:600;text-decoration:none;border-radius:8px;background:var(--surface);color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.18)}
.st-card-template .hours{width:100%;border-collapse:collapse;font-size:14px}
.st-card-template .hours th, .st-card-template .hours td{padding:10px 16px;text-align:left;font-weight:400;vertical-align:middle}
.st-card-template .hours td{text-align:right;white-space:nowrap}
.st-card-template .hours tr.is-today th, .st-card-template .hours tr.is-today td{font-weight:700}
.st-card-template .hbar{display:none}
.st-card-template .hours-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px}
.st-card-template .open-status{white-space:nowrap;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:4px 10px;border-radius:99px}
.st-card-template .open-status::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.st-card-template .gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.st-card-template .g-item{position:relative;padding:0;border:0;background:var(--hero-fallback,var(--surface-2));overflow:hidden;cursor:zoom-in;display:block;width:100%;aspect-ratio:4/3;color:inherit;font:inherit}
.st-card-template .g-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.st-card-template .g-item:hover img{transform:scale(1.04)}
.st-card-template .g-item:nth-child(1), .st-card-template .g-item:nth-child(4){grid-column:1/-1;aspect-ratio:16/9}
.st-card-template .gal-nav{display:none}
.st-card-template .socials{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.st-card-template .socials a{width:44px;height:44px;display:grid;place-items:center;text-decoration:none;font-size:18px;transition:transform .15s}
.st-card-template .socials a:hover{transform:translateY(-2px)}
.st-card-template .social-sec{text-align:center}
.st-card-template .footer{position:relative;z-index:1;text-align:center;font-size:12px;color:var(--muted);padding:26px 20px 10px}
.st-card-template .footer p{margin:0}
.st-card-template .sticky{position:fixed;left:0;right:0;bottom:0;z-index:50;max-width:460px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
.st-card-template .sticky a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;text-decoration:none;font-weight:600;font-size:15px}
@media(prefers-reduced-motion:reduce){.st-card-template *, .st-card-template *::before, .st-card-template *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.st-card-template .top-right{display:flex;align-items:center;gap:8px}
.st-card-template .gal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.st-card-template .hours-note{margin:0;padding:2px 16px 14px;font-size:13px;color:var(--muted)}
.st-card-template .g-cap{position:absolute;left:10px;bottom:10px;padding:4px 10px;border-radius:99px;background:rgba(0,0,0,.62);color:#fff;font-size:12px;font-weight:600;line-height:1.3}
.st-card-template .form-intro{font-size:15px;color:var(--muted)}
