:root{--pwa-green:#176b45;--pwa-green-2:#2e8b5d;--pwa-ink:#10251b;--pwa-muted:#64756c;--pwa-surface:#fff;--pwa-line:#dfe9e3;--pwa-nav-height:76px}
.perseed-ad-free .discover__advertisement,.perseed-ad-free [data-ad-slot],.perseed-ad-free [data-ad-container]{display:none!important}
.pwa-app-header,.pwa-bottom-nav,.pwa-install-button,.pwa-install-sheet,.pwa-update-toast,.pwa-launch-splash,.pwa-connectivity-banner{display:none}
.pwa-connectivity-banner{position:fixed;left:50%;top:calc(var(--site-header-offset,62px) + .65rem);z-index:12550;transform:translateX(-50%);align-items:center;gap:.7rem;width:min(92vw,560px);padding:.68rem .75rem;border:1px solid #f2c15d;border-radius:16px;background:#fff7dd;color:#5e4100;box-shadow:0 14px 36px rgba(52,39,3,.18)}
.pwa-connectivity-banner.is-visible{display:flex}.pwa-connectivity-banner.is-online{border-color:#98d8b4;background:#e9f9f0;color:#125235}
.pwa-connectivity-banner__icon{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:50%;background:rgba(255,255,255,.7)}
.pwa-connectivity-banner__copy{display:grid;gap:.05rem;min-width:0;flex:1}.pwa-connectivity-banner__copy strong{font-size:.84rem}.pwa-connectivity-banner__copy small{font-size:.72rem;line-height:1.3;color:inherit;opacity:.82}
.pwa-connectivity-banner__action{min-height:36px;display:inline-flex;align-items:center;padding:.42rem .68rem;border-radius:999px;background:#176b45;color:#fff;text-decoration:none;font-size:.72rem;font-weight:850;white-space:nowrap}
.pwa-launch-splash{position:fixed;z-index:30000;inset:0;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:linear-gradient(160deg,#f8fcf9 0%,#e8f6ed 100%);color:#123d2a;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
.pwa-launch-splash img{width:clamp(112px,28vw,164px);height:clamp(112px,28vw,164px);object-fit:contain;filter:drop-shadow(0 16px 30px rgba(23,107,69,.18))}
.pwa-launch-splash strong{font-size:1.65rem;letter-spacing:-.03em}.pwa-launch-splash span{color:#527062;font-size:.9rem;font-weight:650}
html.pwa-standalone.pwa-booting .pwa-launch-splash{display:flex;opacity:1;visibility:visible;pointer-events:auto}
html.pwa-standalone.pwa-ready .pwa-launch-splash{display:flex;opacity:0;visibility:hidden;pointer-events:none}
.pwa-install-button{align-items:center;gap:.4rem;min-height:40px;padding:.5rem .75rem;border:1px solid #b8dfca;border-radius:999px;background:#effaf4;color:#125c3d;font:inherit;font-weight:800;cursor:pointer}
.pwa-install-button[data-visible="true"]{display:inline-flex}
.pwa-install-sheet{position:fixed;inset:0;z-index:16000;align-items:flex-end;justify-content:center;padding:1rem;background:rgba(7,22,15,.62)}
.pwa-install-sheet.is-open{display:flex}.pwa-install-sheet__card{width:min(520px,100%);border-radius:24px;background:#fff;padding:1.25rem;box-shadow:0 28px 80px rgba(0,0,0,.28)}
.pwa-install-sheet__head{display:flex;align-items:center;gap:.75rem}.pwa-install-sheet__head img{width:54px;height:54px;object-fit:contain}.pwa-install-sheet__head h2{margin:0;flex:1}
.pwa-install-sheet__close{width:44px;height:44px;border:0;border-radius:50%;background:#eef3f0;color:#33483d;font-size:1.25rem;cursor:pointer}
.pwa-install-sheet__steps{margin:1rem 0;padding-left:1.3rem;color:#42564b;line-height:1.65}.pwa-install-sheet__actions{display:flex;gap:.7rem;justify-content:flex-end}
.pwa-sheet-btn{min-height:46px;border:0;border-radius:999px;padding:.7rem 1.1rem;font-weight:800;cursor:pointer}.pwa-sheet-btn--primary{background:var(--pwa-green);color:#fff}.pwa-sheet-btn--quiet{background:#eef3f0;color:#284538}
.pwa-update-toast{position:fixed;left:50%;bottom:1rem;z-index:17000;transform:translateX(-50%);align-items:center;gap:1rem;width:min(94vw,620px);padding:1rem;border:1px solid rgba(126,225,172,.24);border-radius:18px;background:#10251b;color:#fff;box-shadow:0 18px 52px rgba(0,0,0,.32)}
.pwa-update-toast.is-visible{display:flex}.pwa-update-toast__copy{display:grid;gap:.22rem;min-width:0;flex:1}.pwa-update-toast__copy strong{font-size:.96rem}.pwa-update-toast__copy span{color:#d4e6dc;font-size:.83rem;line-height:1.4}.pwa-update-toast__copy small{color:#88caaa;font-size:.72rem;font-weight:750}
.pwa-update-toast__actions{display:flex;align-items:center;gap:.45rem;flex-shrink:0}.pwa-update-toast button,.pwa-update-toast a{border:0;border-radius:999px;padding:.58rem .78rem;background:#5dd397;color:#07351f;font:inherit;font-size:.8rem;font-weight:900;cursor:pointer;text-decoration:none;white-space:nowrap}.pwa-update-toast a{background:#eaf6ef}.pwa-update-toast button:disabled{opacity:.7;cursor:progress}

@media (display-mode:standalone){
 html{background:#f5f8f6}.pwa-app-header,.pwa-bottom-nav{display:flex}
 body{min-height:100dvh;background:#f5f8f6;padding-bottom:calc(var(--pwa-nav-height) + env(safe-area-inset-bottom));overscroll-behavior-y:none}
 body>.header,body>.footer,.instant-sell-mobile-fab,#help-widget-icon,#help-widget-popup{display:none!important}
 #main-content{min-height:calc(100dvh - 62px - var(--pwa-nav-height));padding-bottom:1rem}
}
html.pwa-standalone{background:#f5f8f6}
html.pwa-standalone a,html.pwa-standalone button{touch-action:manipulation;-webkit-tap-highlight-color:rgba(23,107,69,.14)}
html.pwa-standalone .pwa-app-header,html.pwa-standalone .pwa-bottom-nav{display:flex}
html.pwa-standalone .pwa-connectivity-banner{top:calc(62px + env(safe-area-inset-top) + .55rem)}
html.pwa-standalone body{min-height:100dvh;background:#f5f8f6;padding-bottom:calc(var(--pwa-nav-height) + env(safe-area-inset-bottom));overscroll-behavior-y:none}
html.pwa-standalone body::after{content:"";position:fixed;z-index:20050;top:env(safe-area-inset-top);left:0;width:100%;height:3px;background:linear-gradient(90deg,#176b45,#5dd397,#176b45);background-size:180% 100%;transform:scaleX(0);transform-origin:left;opacity:0;pointer-events:none}
html.pwa-standalone body.pwa-navigating::after{opacity:1;transform:scaleX(.82);animation:pwa-route-progress 1.1s ease-in-out infinite}
html.pwa-standalone body>.header,html.pwa-standalone body>.footer,html.pwa-standalone .instant-sell-mobile-fab,html.pwa-standalone #help-widget-icon,html.pwa-standalone #help-widget-popup{display:none!important}
html.pwa-standalone #main-content{min-height:calc(100dvh - 62px - var(--pwa-nav-height));padding-bottom:1rem}
.pwa-app-header{position:sticky;top:0;z-index:11800;min-height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(.85rem,env(safe-area-inset-right)) 0 max(.85rem,env(safe-area-inset-left));align-items:center;gap:.7rem;background:rgba(255,255,255,.95);border-bottom:1px solid var(--pwa-line);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.pwa-app-header__brand{display:flex;align-items:center;gap:.55rem;color:var(--pwa-ink);text-decoration:none;font-size:1.05rem;font-weight:900}.pwa-app-header__brand img{width:38px;height:38px;object-fit:contain}.pwa-app-header__spacer{flex:1}
.pwa-app-header__action{position:relative;width:46px;height:46px;display:grid;place-items:center;border:0;border-radius:50%;background:#eef5f1;color:#174b34;text-decoration:none;font-size:1.05rem;cursor:pointer}
.pwa-app-header__avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid #47a874}
.pwa-bottom-nav{position:fixed;left:var(--pwa-visual-left,0px);right:auto;top:calc(var(--pwa-visual-top,0px) + var(--pwa-visual-height,100dvh) - var(--pwa-nav-height) - env(safe-area-inset-bottom));bottom:auto;width:var(--pwa-visual-width,100vw);z-index:11900;height:calc(var(--pwa-nav-height) + env(safe-area-inset-bottom));padding:6px max(6px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(6px,env(safe-area-inset-left));align-items:flex-end;justify-content:space-around;background:rgba(255,255,255,.97);border-top:1px solid var(--pwa-line);box-shadow:0 -12px 32px rgba(17,67,43,.09);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.pwa-bottom-nav__item{min-width:56px;min-height:58px;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:#66786e;text-decoration:none;font-size:.67rem;font-weight:750;cursor:pointer}
.pwa-bottom-nav__item i{font-size:1.15rem}.pwa-bottom-nav__item.is-active{color:var(--pwa-green)}.pwa-bottom-nav__item:focus-visible,.pwa-app-header__action:focus-visible{outline:3px solid #80d5a9;outline-offset:2px}
.pwa-bottom-nav__sell{position:relative;top:-12px;flex:0 0 70px}.pwa-bottom-nav__sell-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,#1c9c63,#0f6943);color:#fff;font-size:1.25rem;box-shadow:0 10px 24px rgba(23,107,69,.32);border:4px solid #fff}.pwa-bottom-nav__sell span:last-child{color:#145d3d;font-size:.68rem;font-weight:900}
body.instant-sell-ui-open .pwa-bottom-nav,body.perseed-call-window-open .pwa-bottom-nav,body.marketplace-modal-open .pwa-bottom-nav,body.pwa-overlay-open .pwa-bottom-nav{transform:translateY(120%);pointer-events:none}
body.instant-sell-ui-open .pwa-app-header,body.perseed-call-window-open .pwa-app-header,body.marketplace-modal-open .pwa-app-header,body.pwa-overlay-open .pwa-app-header{display:none!important}
html.pwa-standalone .marketplace-product-modal{z-index:13000}
html.pwa-standalone .marketplace-product-modal__close{z-index:6;width:46px;height:46px;border:2px solid rgba(23,107,69,.2);background:#fff;color:#173e2b;font-size:1.35rem;font-weight:900;box-shadow:0 10px 30px rgba(15,23,42,.22)}
html.pwa-standalone .instant-sell-modal{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);align-items:stretch}
html.pwa-standalone .instant-sell-panel{width:100%;max-height:100dvh;height:100%;border-radius:0;background:linear-gradient(180deg,#f8fcf9 0,#eef7f1 100%)}
html.pwa-standalone .instant-sell-head{position:sticky;top:0;z-index:4;padding:calc(.9rem + env(safe-area-inset-top)) 1rem .9rem;background:rgba(255,255,255,.96);border-bottom:1px solid #dce9e1;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
html.pwa-standalone .instant-sell-title{font-size:1.35rem;color:#113d29}
html.pwa-standalone .instant-sell-close{width:44px;height:44px;border-radius:50%;background:#edf5f0;color:#264b38}
html.pwa-standalone .instant-sell-body{padding:1rem max(1rem,env(safe-area-inset-right)) calc(5.6rem + env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left))}
html.pwa-standalone .instant-sell-promise{padding:1rem;border:1px solid #bfe7d0;border-radius:16px;background:linear-gradient(145deg,#e8f9ef,#f7fffa);color:#176b45;font-size:1rem;font-weight:850}
html.pwa-standalone .instant-sell-pref,html.pwa-standalone .instant-sell-section,html.pwa-standalone .instant-sell-result{border:1px solid #dbe9e1;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(24,92,58,.06)}
html.pwa-standalone .instant-sell-actions{position:sticky;bottom:0;z-index:3;margin:1rem -1rem -5.6rem;padding:.8rem max(1rem,env(safe-area-inset-right)) calc(.8rem + env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));background:rgba(255,255,255,.96);border-top:1px solid #dce9e1;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
html.pwa-standalone .instant-sell-btn{min-height:50px;border-radius:14px;font-weight:850}
html.pwa-standalone .instant-sell-source-modal{padding:0;align-items:stretch}
html.pwa-standalone .instant-sell-source-panel{width:100%;height:100dvh;border-radius:0;background:linear-gradient(180deg,#f7fcf9,#edf7f1)}
html.pwa-standalone .instant-sell-source-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;padding:1rem}
html.pwa-standalone .instant-sell-source-btn{min-height:116px;border-color:#cfe3d7;border-radius:18px;flex-direction:column;justify-content:center;gap:.65rem;background:#fff;box-shadow:0 8px 24px rgba(20,79,50,.06);font-size:.9rem}
html.pwa-standalone .instant-sell-source-btn i{font-size:1.6rem;color:#1b8154}
html.pwa-standalone .instant-sell-source-foot{position:absolute;left:0;right:0;bottom:0;padding:.8rem 1rem calc(.8rem + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce9e1}

/* Homepage is intentionally denser and more touch-oriented only in installed-app mode. */
html.pwa-standalone #main-content>.hero{min-height:300px;margin:.8rem;border-radius:24px;overflow:hidden;box-shadow:0 18px 44px rgba(19,73,47,.13)}
html.pwa-standalone #main-content>.hero .hero__container{min-height:300px;padding:2.2rem 1.15rem 1.5rem;justify-content:flex-end}
html.pwa-standalone #main-content>.hero .hero__title{font-size:clamp(2rem,9vw,3rem);line-height:1}
html.pwa-standalone #main-content>.hero .hero__subtitle{font-size:.94rem;line-height:1.5;max-width:34rem}
html.pwa-standalone #main-content>.hero .hero__actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:.65rem}
html.pwa-standalone #main-content>.hero .hero__button{min-height:48px;padding:.7rem .8rem;border-radius:14px;display:flex;align-items:center;justify-content:center}
html.pwa-standalone #main-content>.news-strip,html.pwa-standalone #main-content>.categories,html.pwa-standalone #main-content>.home-curiosity,html.pwa-standalone #main-content>.home-featured,html.pwa-standalone #main-content>.trusted-creators,html.pwa-standalone #main-content>.home-community,html.pwa-standalone #main-content>.email-capture{padding:1.35rem .9rem}
html.pwa-standalone #main-content>.home-marketplace{padding:1.35rem .9rem!important}
html.pwa-standalone .news-strip__container,html.pwa-standalone .home-curiosity__container,html.pwa-standalone .home-featured__container,html.pwa-standalone .trusted-creators__container,html.pwa-standalone .home-community__container{border-radius:20px}
html.pwa-standalone .home-curiosity__track{gap:.8rem;scroll-padding-left:.15rem}
html.pwa-standalone .home-curiosity__card{flex-basis:min(82vw,330px);border-radius:18px}
html.pwa-standalone .home-featured__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
html.pwa-standalone .home-featured__card{border-radius:16px;overflow:hidden}
html.pwa-standalone .trusted-creators__grid{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;padding:.25rem .15rem .75rem}
html.pwa-standalone .trusted-creators__item{flex:0 0 92px;scroll-snap-align:start}
html.pwa-standalone .home-community__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
html.pwa-standalone .home-community__stat{padding:1rem;border-radius:16px;background:#fff;border:1px solid #dfe9e3}
@media(max-width:640px){
 .pwa-update-toast{bottom:calc(var(--pwa-nav-height) + env(safe-area-inset-bottom) + .55rem);align-items:stretch;flex-direction:column}.pwa-update-toast__actions{justify-content:flex-end}
 html.pwa-standalone .marketplace-product-modal{padding:0;align-items:stretch}
 html.pwa-standalone .marketplace-product-modal__dialog{width:100%;height:100dvh;max-height:100dvh;padding:calc(4.4rem + env(safe-area-inset-top)) max(.95rem,env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(.95rem,env(safe-area-inset-left));border:0;border-radius:0;overscroll-behavior:contain}
 html.pwa-standalone .marketplace-product-modal__close{position:fixed;top:calc(.65rem + env(safe-area-inset-top));right:max(.65rem,env(safe-area-inset-right));width:48px;height:48px}
}
@media(max-width:420px){.pwa-bottom-nav__item{min-width:48px}.pwa-bottom-nav__item span{font-size:.62rem}.pwa-app-header{padding-left:.65rem;padding-right:.65rem}}
@media(max-width:480px){.pwa-connectivity-banner{width:calc(100vw - 1rem);gap:.5rem;padding:.58rem}.pwa-connectivity-banner__copy small{display:none}.pwa-connectivity-banner__action{padding:.4rem .58rem}}
@keyframes pwa-route-progress{0%{transform:scaleX(.08);background-position:100% 0}55%{transform:scaleX(.72)}100%{transform:scaleX(.94);background-position:0 0}}
@media(prefers-reduced-motion:reduce){.pwa-bottom-nav,.pwa-install-sheet,.pwa-launch-splash{transition:none!important}.pwa-bottom-nav__sell-icon{box-shadow:none}}

/* Installed-app page system. These rules never affect the normal website. */
html.pwa-standalone .marketplace-hero,
html.pwa-standalone :is(.grow-hero,.cook-hero,.homestead-hero,.regenerate-hero){
  width:auto!important;min-height:250px!important;margin:.75rem!important;padding:1.15rem!important;border-radius:24px!important;overflow:hidden;box-shadow:0 16px 38px rgba(20,72,48,.13)
}
html.pwa-standalone .marketplace-hero{min-height:225px!important;display:grid!important;align-content:end!important;gap:.75rem}
html.pwa-standalone .marketplace-hero .seeds-hero__content{padding:0!important}
html.pwa-standalone .marketplace-hero .seeds-hero__title{font-size:clamp(1.8rem,8vw,2.55rem)!important}
html.pwa-standalone .marketplace-hero .seeds-hero__description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.pwa-standalone .marketplace-hero .seeds-hero__stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem!important}
html.pwa-standalone .marketplace-hero .hero-stat{min-width:0!important;padding:.6rem .35rem!important;border-radius:13px!important}
html.pwa-standalone .marketplace-hero .hero-stat__value{font-size:1rem!important}
html.pwa-standalone .marketplace-hero .hero-stat__label{font-size:.62rem!important}
html.pwa-standalone .marketplace-hero__instant-sell-wrap{display:none!important}
html.pwa-standalone #hero-ad-container{margin:1rem .75rem!important}
html.pwa-standalone .seeds-browse{padding:.25rem .75rem 1rem!important}
html.pwa-standalone .seeds-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:.75rem!important}
html.pwa-standalone .seeds-content{min-width:0!important;grid-column:1!important}
html.pwa-standalone .marketplace-search-wrap{position:sticky;top:calc(62px + env(safe-area-inset-top) + .45rem);z-index:40;margin:.25rem 0 .7rem!important;border-radius:17px!important;background:#fff!important;box-shadow:0 8px 24px rgba(24,76,51,.1)}
html.pwa-standalone .seeds-filters-bar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:.65rem!important}
html.pwa-standalone .seeds-filters-bar__tabs,
html.pwa-standalone .seeds-category-filters{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:.15rem .05rem .55rem!important;gap:.45rem!important}
html.pwa-standalone :is(.seeds-filter-tab,.category-filter-btn){flex:0 0 auto!important;scroll-snap-align:start;min-height:42px!important}
html.pwa-standalone .seeds-filters-bar__sort select{width:100%!important;min-height:46px!important;border-radius:14px!important}
html.pwa-standalone .marketplace-products-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important}
html.pwa-standalone .marketplace-product-card{min-width:0!important;border-radius:18px!important;overflow:hidden;box-shadow:0 8px 24px rgba(20,72,48,.08)}
html.pwa-standalone .pwa-marketplace-filter-toggle{grid-row:1;grid-column:1;width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:.55rem;border:1px solid #bcdcc9;border-radius:15px;background:#eef9f3;color:#175a3b;font:inherit;font-weight:850}
html.pwa-standalone .seeds-sidebar{display:none!important;grid-column:1!important;grid-row:2!important;position:static!important;max-height:none!important}
html.pwa-standalone body.pwa-marketplace-filters-open .seeds-sidebar{display:grid!important;gap:.75rem!important}
html.pwa-standalone body.pwa-marketplace-filters-open .pwa-marketplace-filter-toggle{background:#176b45;color:#fff}
html.pwa-standalone .seeds-sidebar .sidebar-widget{border-radius:18px!important;box-shadow:none!important}
html.pwa-standalone .marketplace-categories{display:none!important}
html.pwa-standalone .pwa-marketplace-category-picker{margin:.65rem 0 .85rem;border:1px solid #cfe2d6;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(20,72,48,.07);overflow:hidden}
html.pwa-standalone .pwa-marketplace-category-picker__toggle{width:100%;min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.65rem;padding:.75rem .9rem;border:0;background:linear-gradient(145deg,#f2faf5,#fff);color:#174c35;text-align:left}
html.pwa-standalone .pwa-marketplace-category-picker__toggle>span{display:flex;align-items:center;gap:.55rem;min-width:0}
html.pwa-standalone .pwa-marketplace-category-picker__toggle>span i{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#dff3e7;color:#176b45}
html.pwa-standalone .pwa-marketplace-category-picker__toggle small{max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:.3rem .55rem;border-radius:999px;background:#e8f7ee;color:#176b45;font-weight:800}
html.pwa-standalone .pwa-marketplace-category-picker__chevron{transition:transform .18s ease}
html.pwa-standalone .pwa-marketplace-category-picker.is-open .pwa-marketplace-category-picker__chevron{transform:rotate(180deg)}
html.pwa-standalone .pwa-marketplace-category-picker__panel{max-height:min(58dvh,520px);overflow-y:auto;padding:.8rem;border-top:1px solid #dfebe3;overscroll-behavior:contain}
html.pwa-standalone .pwa-marketplace-category-picker__panel[hidden]{display:none!important}
html.pwa-standalone .pwa-marketplace-category-picker__panel .seeds-category-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible!important;gap:.5rem!important;padding:0!important}
html.pwa-standalone .pwa-marketplace-category-picker__panel .category-filter-btn{width:100%;min-height:46px!important;display:flex!important;align-items:center;justify-content:flex-start;text-align:left;white-space:normal!important;border:1px solid #d6e6dc!important;border-radius:13px!important;background:#f8fcf9!important;color:#345648!important}
html.pwa-standalone .pwa-marketplace-category-picker__panel .category-filter-btn--active{border-color:#1d8c5c!important;background:#176b45!important;color:#fff!important}
html.pwa-standalone .pwa-marketplace-category-picker__panel .seeds-subcategory-filters{margin-top:.8rem!important;padding-top:.8rem!important;border-top:1px solid #e1ebe5!important}
html.pwa-standalone .pwa-marketplace-category-picker__panel .seeds-subcategory-filters[style*="display: none"]{display:none!important}
html.pwa-standalone .pwa-marketplace-category-picker__panel .subcategory-label{grid-column:1/-1;margin:0!important;font-weight:850;color:#315746!important}
html.pwa-standalone .pwa-marketplace-category-picker__panel #subcategory-buttons{display:contents!important}
html.pwa-standalone .pwa-marketplace-category-picker__panel .marketplace-category-guidance{margin:.75rem 0 0!important}

html.pwa-standalone :is(.grow-hero,.cook-hero,.homestead-hero,.regenerate-hero)>div{width:100%!important;padding:0!important}
html.pwa-standalone :is(.grow-hero,.cook-hero,.homestead-hero,.regenerate-hero) h1{font-size:clamp(2rem,10vw,3rem)!important}
html.pwa-standalone :is(.grow-hero,.cook-hero,.homestead-hero,.regenerate-hero) [class$="__subtitle"]{font-size:.92rem!important;line-height:1.45!important}
html.pwa-standalone :is(.grow-hero,.cook-hero,.homestead-hero,.regenerate-hero) [class$="__actions"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem!important}
html.pwa-standalone .page-search{margin:.75rem!important;padding:0!important}
html.pwa-standalone .page-search__form{border-radius:17px!important;box-shadow:0 8px 24px rgba(24,76,51,.08)}
html.pwa-standalone .page-search__helper{display:none!important}
html.pwa-standalone :is(.grow-section,.cook-section,.homestead-section,.regenerate-section){padding:1rem .75rem!important}
html.pwa-standalone :is(.grow-subcategories__grid,.cook-subcategories__grid,.homestead-subcategories__grid,.regenerate-subcategories__grid){display:flex!important;overflow-x:auto!important;gap:.75rem!important;scroll-snap-type:x mandatory;padding:.2rem .05rem .8rem!important}
html.pwa-standalone :is(.grow-subcategory,.cook-subcategory,.homestead-subcategory,.regenerate-subcategory){flex:0 0 min(82vw,320px)!important;scroll-snap-align:start;border-radius:19px!important}
html.pwa-standalone :is(.grow-feed__grid,.cook-feed__grid,.homestead-feed__grid,.regenerate-feed__grid,.discover__grid,.learn-page__courses,.feed-masonry){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important}

html.pwa-standalone .discover__hero{margin:.75rem!important;padding:1.25rem 1rem!important;border-radius:23px!important}
html.pwa-standalone .discover__hero-inner{padding:0!important}
html.pwa-standalone .discover__title{font-size:2.25rem!important}
html.pwa-standalone .discover__categories,
html.pwa-standalone .discover__feed{padding:1rem .75rem!important}
html.pwa-standalone .discover__main-cats{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:.5rem!important;padding:.2rem .05rem .65rem!important}
html.pwa-standalone .discover__main-cat{flex:0 0 auto!important;min-height:44px!important}
html.pwa-standalone .discover__explore-cta{border-radius:18px!important}
html.pwa-standalone .learn-page{padding:1rem .75rem!important}
html.pwa-standalone .learn-page__container{width:100%!important;padding:0!important}
html.pwa-standalone .learn-page__header{padding:1.2rem!important;border-radius:22px!important;background:#fff}
html.pwa-standalone .learn-page__categories-grid{display:flex!important;overflow-x:auto!important;gap:.7rem!important;padding:.2rem .05rem .7rem!important}
html.pwa-standalone .learn-page__categories-grid>*{flex:0 0 min(74vw,270px)!important}
html.pwa-standalone .community-hub{padding:.8rem!important}
html.pwa-standalone .community-hub__header{padding:1.1rem!important;border-radius:22px!important;background:#fff}
html.pwa-standalone .feed-container{padding:0!important}

/* Garden Planner becomes a canvas-first mobile workspace only in the installed app. */
html.pwa-standalone #garden-planner .gp2-shell-header{padding:.75rem!important;margin:0!important;min-height:auto!important;align-items:center!important}
html.pwa-standalone #garden-planner .gp2-shell-header .section-description,
html.pwa-standalone #garden-planner .gp2-header-cards,
html.pwa-standalone #garden-planner .gp2-identity{display:none!important}
html.pwa-standalone #garden-planner .gp2-shell-header .section-title{font-size:1.45rem!important;margin:0!important}
html.pwa-standalone #garden-planner .gp2-grid{display:flex!important;flex-direction:column!important;gap:.7rem!important;padding:.15rem .65rem 1rem!important}
html.pwa-standalone #garden-planner .gp2-rail{order:1;position:static!important;display:flex!important;gap:.55rem!important;max-height:none!important;overflow-x:auto!important;padding:.65rem!important;scroll-snap-type:x proximity}
html.pwa-standalone #garden-planner .gp2-rail>h3,
html.pwa-standalone #garden-planner .gp2-rail>p{display:none!important}
html.pwa-standalone #garden-planner .gp2-rail-group{display:flex!important;grid-template-columns:none!important;flex:0 0 auto;gap:.45rem!important}
html.pwa-standalone #garden-planner .gp2-rail-group>*{flex:0 0 auto;scroll-snap-align:start}
html.pwa-standalone #garden-planner .gp2-canvas-card{order:2;min-width:0!important;border-radius:18px!important}
html.pwa-standalone #garden-planner .gp2-canvas-head{padding:.65rem!important;gap:.55rem!important}
html.pwa-standalone #garden-planner .gp2-viewport{height:min(58dvh,540px)!important;min-height:390px!important;border-radius:0!important}
html.pwa-standalone #garden-planner .gp2-actions-bar{position:sticky!important;bottom:calc(var(--pwa-nav-height) + env(safe-area-inset-bottom));z-index:35;padding:.65rem!important;border-radius:0 0 18px 18px!important;gap:.5rem!important}
html.pwa-standalone #garden-planner .gp2-actions-group{flex-wrap:nowrap!important;overflow-x:auto!important}
html.pwa-standalone #garden-planner .gp2-actions-group>*{flex:0 0 auto!important}
html.pwa-standalone #garden-planner .gp2-status-bar{font-size:.72rem!important}
html.pwa-standalone #garden-planner .gp2-side{order:3;position:static!important;max-height:none!important;display:grid!important;gap:.7rem!important}
html.pwa-standalone #garden-planner .gp2-side-card{border-radius:18px!important}

@media(max-width:560px){
 html.pwa-standalone .marketplace-products-grid,
 html.pwa-standalone :is(.grow-feed__grid,.cook-feed__grid,.homestead-feed__grid,.regenerate-feed__grid,.discover__grid,.learn-page__courses,.feed-masonry){grid-template-columns:minmax(0,1fr)!important}
 html.pwa-standalone .marketplace-hero .seeds-hero__stats{display:none!important}
 html.pwa-standalone :is(.grow-hero,.cook-hero,.homestead-hero,.regenerate-hero) [class$="__actions"]{grid-template-columns:minmax(0,1fr)}
 html.pwa-standalone #garden-planner .gp2-viewport{height:54dvh!important;min-height:360px!important}
 html.pwa-standalone #garden-planner .gp2-minimap{display:none!important}
}
