/* Public shop and member pages share system fonts and the existing teal design tokens. */
.shop-header,.shop-bottomnav{display:none}
.shop-admin-entry{display:none}.public-view .shop-admin-entry{display:block;text-align:center;padding:0 20px 24px;font-size:12px;color:#718579}
.shop-notice-card{margin-bottom:16px}.shop-notice-card h2{margin:12px 0}.shop-notice-card h2 a:hover{color:#107363}
body.public-view{background:#f6f8f8;color:#203a36}
.public-view .shell>aside,.public-view .main-shell>header,.public-view #mode{display:none}
.public-view .main-shell{width:100%}.public-view .shell{min-height:calc(100dvh - 80px)}
.public-view #shop-header{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border-bottom:1px solid #e5ecea;height:80px;padding:0 max(24px,calc((100vw - 1200px)/2));position:relative;z-index:5}
.shop-brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.shop-brand>span{display:grid;place-items:center;width:42px;height:42px;background:#107363;color:#fff;border-radius:12px;font-size:22px;font-weight:700}.shop-brand strong{font-size:20px;line-height:1.2}.shop-brand small{display:block;font-size:10px;letter-spacing:1px;color:#6d8580;margin-top:5px;font-weight:400}
.shop-topnav{display:flex;margin:0;gap:28px;padding:0;overflow:visible}.shop-topnav a{margin:0;padding:10px 0;border:0;background:none;font-size:14px;border-radius:0;color:#4f6660;min-height:44px;white-space:nowrap}.shop-topnav a:hover{background:none;color:#107363}.shop-account{font-size:13px;white-space:nowrap}
.public-view main{max-width:1248px;margin:0 auto;padding:24px 24px 48px}.public-view main.login-page{max-width:560px;padding-top:45px}
.shop-kicker{display:block;color:#177e6c;font-size:12px;font-weight:600;letter-spacing:.6px}
.shop-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:28px;align-items:center;background:#eaf4f0;border:1px solid #ddeae4;border-radius:18px;padding:30px 36px}
.shop-hero h1{font-size:36px;line-height:1.25;margin:10px 0 12px;letter-spacing:-1px}.shop-hero p{font-size:14px;line-height:1.8;margin:0 0 18px;color:#56746a}.shop-hero .button{font-size:13px;padding:10px 18px}.shop-hero .button span{margin-left:24px}.shop-hero-note{padding:25px;background:#f8fcfa;border:1px solid #d7e9df;border-radius:14px;color:#517266}.shop-hero-note>span{font-size:13px}.shop-hero-note>div{display:flex;gap:10px;margin:18px 0}.shop-hero-note b{font-size:13px;font-weight:500;padding:10px 12px;border:1px solid #dce8e2;background:#fff;border-radius:9px}.shop-hero-note small{font-size:11px;line-height:1.7;display:block}
.shop-announcements{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:16px 20px;margin-top:16px;background:#fff;border:1px solid #e1e9e6;border-radius:12px;font-size:13px}.shop-announcements strong{color:#276c5c}.shop-announcements a{color:#516760;max-width:100%;overflow-wrap:anywhere}.shop-announcements a:hover{text-decoration:underline}.shop-announcements a span{font-size:10px;padding:2px 5px;background:#e6f2ec;color:#176d55;border-radius:4px;margin-right:8px}
.shop-section{margin-top:30px}.shop-section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px}.shop-section-heading h2{font-size:23px;line-height:1.3;margin:5px 0 0}.shop-section-heading p{margin:0;font-size:12px;color:#73877e}.shop-categories{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}.shop-categories a{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dbe7e1;color:#516c60;border-radius:9px;padding:10px 16px;font-size:13px;min-height:44px;line-height:1.5}.shop-categories a:hover{border-color:#7cae98}.shop-categories a.active{background:#107363;color:#fff;border-color:#107363}
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.shop-card{min-width:0;overflow:hidden;border:1px solid #dfe8e3;background:#fff;border-radius:14px;display:flex;flex-direction:column}.shop-card-visual{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:88px;padding:20px;background:#edf4f1;border-bottom:1px solid #e5eeea;overflow:hidden}.shop-card-visual span{color:#225e4d;font-size:18px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}.shop-card-visual small{font-size:10px;line-height:1.7;color:#6b897b;max-width:80px}.shop-card:nth-child(3n+2) .shop-card-visual{background:#edf3f6}.shop-card:nth-child(3n+3) .shop-card-visual{background:#f2f4ed}
.shop-card-body{padding:20px;display:flex;flex:1;flex-direction:column;min-width:0}.shop-platform{font-size:11px;color:#577c6d;margin:0 0 7px}.shop-card h3{font-size:17px;line-height:1.55;margin:0 0 8px;overflow-wrap:anywhere}.shop-card h3 a:hover{color:#107363}.shop-description{font-size:12px;line-height:1.75;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:#6b8077}.shop-card-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin-top:auto;margin-bottom:16px}.shop-card-price strong{font-size:24px;line-height:1.3;color:#107363;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.shop-card-price small{font-size:10px;color:#7c8c83}.shop-card-actions{display:flex;gap:10px;flex-wrap:wrap}.shop-card-actions .button,.shop-card-actions button{flex:1;min-width:100px;font-size:12px;text-align:center;padding:10px 8px}.shop-card-actions .secondary{background:#f4f8f6;border:1px solid #dde8e1;color:#37664f}
.shop-guide{list-style:none;margin:0;padding:22px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;background:#fff;border:1px solid #e0e9e4;border-radius:14px}.shop-guide li{min-width:0}.shop-guide li>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e9f4ee;color:#147054;font-size:13px;font-weight:700;margin-bottom:12px}.shop-guide strong{display:block;font-size:13px;line-height:1.6}.shop-guide small{display:block;font-size:11px;line-height:1.75;color:#7b8c81;margin-top:6px}.shop-faq details{background:#fff;border:1px solid #e0e9e4;border-radius:11px;margin:10px 0;padding:16px 20px}.shop-faq summary{cursor:pointer;font-size:14px;font-weight:500;min-height:26px}.shop-faq p{font-size:13px;margin:12px 0 0}
.shop-contact{display:grid;grid-template-columns:1fr 1fr;gap:28px;border-radius:16px;background:#eaf4ef;border:1px solid #dbe8df;padding:28px;margin-top:28px}.shop-contact h2{font-size:23px;margin:8px 0}.shop-contact p{font-size:13px;margin:8px 0;color:#4e6e5d}.shop-contact-info{min-width:0}.shop-contact-info .shop-contact-value{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#2d5845}.shop-contact-info small{display:block;font-size:11px;color:#617d6b;margin-top:12px}.shop-contact-info button{font-size:12px}.shop-full-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.shop-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#758a7f;margin-bottom:20px}.shop-back{display:inline-block;color:#246d55;font-size:13px;margin-bottom:18px}
.shop-detail{display:grid;grid-template-columns:1fr 1.4fr;background:#fff;border:1px solid #dfe9e3;border-radius:16px;overflow:hidden}.shop-detail-visual{display:flex;flex-direction:column;justify-content:center;align-items:center;background:#eaf3ee;padding:40px;min-width:0}.shop-detail-visual span{font-size:30px;font-weight:700;color:#316c53;overflow-wrap:anywhere}.shop-detail-visual p{font-size:12px;color:#658573}.shop-detail-info{min-width:0;padding:30px}.shop-detail-info h1{font-size:28px;line-height:1.45;margin:12px 0;overflow-wrap:anywhere}.shop-detail-price{display:block;font-size:32px;color:#107363;line-height:1.5}.shop-detail-info>p{font-size:13px}.shop-detail-spec{display:flex;flex-direction:column;gap:8px;padding:14px;margin:18px 0;background:#f7faf8;border-radius:9px;font-size:12px;color:#5a7466}.shop-detail-section{margin-top:20px}.shop-detail-section h2{margin:20px 0 12px}.shop-announcement-detail{max-width:900px;margin:auto}.shop-announcement-detail h1{margin:12px 0;line-height:1.5;overflow-wrap:anywhere}.shop-announcement-detail time{color:#788c7f;font-size:12px}.shop-announcement-detail .shop-full-text{margin-top:24px;font-size:14px}
.shop-page-heading{margin:10px 0 26px}.shop-page-heading h1{font-size:28px}.public-view footer{font-size:11px;line-height:1.8;color:#819386}.public-view main[aria-busy="true"]::after{right:24px}
@media(min-width:1400px){.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.shop-hero{grid-template-columns:1fr;padding:26px}.shop-hero-note{display:none}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-guide{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-contact{grid-template-columns:1fr;gap:16px}.shop-detail{grid-template-columns:1fr}.shop-detail-visual{min-height:140px;padding:26px}.shop-header .shop-topnav{gap:16px}}
@media(max-width:640px){
 .public-view #shop-header{height:70px;padding:12px 16px;gap:12px;flex-wrap:nowrap}.shop-brand{gap:8px}.shop-brand>span{width:36px;height:36px;font-size:20px}.shop-brand strong{font-size:18px}.shop-brand small{font-size:9px}.shop-topnav{display:none}.shop-account{padding:9px 12px;min-height:44px;font-size:12px}
 .public-view main{padding:18px 14px calc(26px + 70px + env(safe-area-inset-bottom))}.public-view main.login-page{padding:28px 16px calc(40px + 70px + env(safe-area-inset-bottom))}.shop-hero{padding:22px;border-radius:14px}.shop-hero h1{font-size:28px;margin-top:8px}.shop-hero p{font-size:12px;line-height:1.8}.shop-hero .button{font-size:12px}
 .shop-section{margin-top:24px}.shop-section-heading{gap:8px;margin-bottom:14px}.shop-section-heading h2{font-size:21px}.shop-section-heading p{font-size:10px}.shop-kicker{font-size:10px}.shop-categories{gap:7px;margin-bottom:16px}.shop-categories a{font-size:11px;padding:9px 12px;border-radius:8px}
 .shop-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.shop-card{border-radius:12px}.shop-card-visual{padding:14px;min-height:64px}.shop-card-visual span{font-size:15px}.shop-card-visual small{display:none}.shop-card-body{padding:12px}.shop-platform{font-size:10px;margin-bottom:5px}.shop-card h3{font-size:14px;line-height:1.5}.shop-description{font-size:11px;line-height:1.7;margin-bottom:12px}.shop-card-price{gap:4px;margin-bottom:12px}.shop-card-price strong{font-size:20px}.shop-card-price small{font-size:9px}.shop-card-actions{gap:6px;flex-direction:row;flex-wrap:nowrap}.shop-card-actions .button,.shop-card-actions button{width:100%;min-width:0;min-height:44px;font-size:11px;padding:10px 4px}
 .shop-guide{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:18px}.shop-guide li:last-child{grid-column:1/-1}.shop-faq details{padding:15px}.shop-contact{padding:20px}.shop-contact h2{font-size:21px}.shop-announcements{padding:14px;gap:10px;font-size:12px}.shop-announcements a{width:100%}
 .shop-detail-info{padding:22px}.shop-detail-info h1{font-size:23px}.shop-detail-price{font-size:28px}.shop-detail-info>.button{width:100%;text-align:center}.shop-announcement-detail{padding:22px}.shop-announcement-detail h1{font-size:24px}.shop-page-heading h1{font-size:25px}
 #shop-bottomnav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #dbe7e0;display:flex;justify-content:space-around;align-items:center;margin:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:20;gap:8px}#shop-bottomnav a{display:flex;justify-content:center;align-items:center;flex:1;color:#466c58;background:none;margin:0;border:0;padding:8px 12px;min-height:44px;font-size:13px;border-radius:10px}#shop-bottomnav a[aria-current="page"]{color:#107363;background:#eaf4ef}
 body:not(.public-view) .main-shell{padding-bottom:calc(72px + env(safe-area-inset-bottom))}#toast{bottom:calc(84px + env(safe-area-inset-bottom));z-index:40}.public-view footer{padding-bottom:16px}.public-view .shop-admin-entry{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
}
@media(max-width:340px){.shop-grid{grid-template-columns:minmax(0,1fr)}.shop-card-actions{flex-direction:row}.shop-guide{grid-template-columns:1fr}.shop-guide li:last-child{grid-column:auto}}

/* Quiet surfaces, consistent focus and route-driven navigation. No external fonts or icons. */
.shop-topnav a[aria-current="page"]{color:#107363;box-shadow:inset 0 -2px #107363}
.shop-account[aria-current="page"]{background:#eaf4ef;border-color:#91b9aa;color:#107363}
.shop-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shop-card{transition:border-color .15s ease,box-shadow .15s ease}
.shop-card:hover{border-color:#b5d0c3;box-shadow:0 5px 18px #244e3b09}
.shop-platform{letter-spacing:.2px}.shop-card-visual{background:#f0f5f3}
.shop-refresh-warning{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:16px;border:1px solid #eadab2;background:#fffaf0;border-radius:12px;font-size:12px;color:#755b28}
.shop-refresh-warning button{font-size:12px;min-height:40px;padding:8px 12px}
.shop-bottomnav svg{width:19px;height:19px;flex-shrink:0}
.shop-header a:focus-visible,.shop-bottomnav a:focus-visible,.shop-categories a:focus-visible,.shop-card a:focus-visible{outline:2px solid #107363;outline-offset:3px}
@media(max-width:640px){
 #shop-bottomnav{box-shadow:0 -4px 20px #183c2e05;padding:6px 12px calc(6px + env(safe-area-inset-bottom))}
 #shop-bottomnav a{flex-direction:column;gap:4px;padding:5px 8px;min-height:48px;font-size:11px;line-height:1.2;color:#657b71}
 #shop-bottomnav a[aria-current="page"]{color:#107363;background:#eaf4ef;font-weight:600}
 #shop-bottomnav a span{display:block;font-size:11px;min-width:0}
 .shop-card-actions .button,.shop-card-actions button{width:auto;font-size:10px;white-space:nowrap}
 .shop-hero{padding:20px 22px;background:#edf5f1}.shop-hero h1{font-size:27px}
 .shop-card-price strong{letter-spacing:-.5px}.shop-platform{display:none}
 .shop-card h3{min-height:42px}.shop-card-visual{border-bottom-color:#ebf0ed}
}
@media(prefers-reduced-motion:reduce){.shop-card{transition:none}}
