body{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}.pwa-nav{position:fixed;z-index:50;bottom:0;left:0;right:0;display:flex;justify-content:center;padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));background:#fffefa;border-top:1px solid #dce3da;box-shadow:0 -5px 24px #203c3308;gap:6px}.pwa-nav a,.pwa-nav button{flex:1;max-width:170px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:10px;padding:5px;color:#607068;text-decoration:none;background:none;font:600 12px/1.3 system-ui;cursor:pointer}.pwa-nav button>span:first-child{font-size:23px;line-height:26px}.pwa-nav a[aria-current=page]{background:#e9f0e5;color:#195e49}.pwa-nav button{color:#195e49}.pwa-nav [hidden]{display:none}.pwa-nav :focus-visible{outline:3px solid #b3872b;outline-offset:2px}.pwa-network,.pwa-connection{padding:12px 18px;margin:0;text-align:center;background:#fff2c9;color:#65501c;font:500 14px/1.5 system-ui}.pwa-network[hidden]{display:none}.pwa-install{font-family:system-ui;color:#203c33;background:#fffefa;border:1px solid #dce3da;border-radius:24px;padding:32px;max-width:440px;width:calc(100% - 32px);box-shadow:0 24px 100px #0003}.pwa-install::backdrop{background:#102b2366}.pwa-install img{border-radius:16px}.pwa-install h2{font:400 31px/1.15 Georgia,serif;margin:10px 0 16px}.pwa-install p{font-size:15px;line-height:1.6}.pwa-install .pwa-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:750;color:#195e49;margin-bottom:0}.pwa-close{position:absolute;right:15px;top:12px;width:44px;height:44px;border:0;border-radius:50%;background:#edf1e8;color:#203c33;font-size:28px;cursor:pointer}.pwa-confirm{min-height:48px;width:100%;border:0;border-radius:10px;background:#195e49;color:white;font:650 15px system-ui;cursor:pointer}.pwa-install .pwa-install-note{font-size:12px;color:#607068;margin-bottom:0}.pwa-install [hidden]{display:none!important}@media(max-width:480px){.pwa-nav{gap:2px}.pwa-nav a,.pwa-nav button{font-size:11px}.pwa-install{padding:26px}}

.pwa-nav a>svg{display:block;width:26px;height:26px;flex:none}

/* Orders, payments and referent actions share the same compact controls. */
.intro .orders-freshness{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
.orders-freshness .season{display:block;white-space:normal;padding:0}
.orders-freshness #reloadSite,.payments-freshness .quiet{min-height:44px;padding:5px 0;border:0;background:none;color:#195e49;font-size:14px;text-decoration:underline;text-underline-offset:3px}
.orders-freshness #reloadSite:disabled{opacity:.55}
.listhead .orders-search,.orders-search{position:relative}
.orders-search #search{box-sizing:border-box;padding-right:40px}
.orders-search #search::-webkit-search-cancel-button{-webkit-appearance:none}
.orders-search #clearOrdersSearch{position:absolute;right:0;top:50%;transform:translateY(-50%);min-width:44px;height:44px;border:0;background:transparent;color:#195e49;font:25px/1 system-ui}
.orders-search #clearOrdersSearch[hidden]{display:none}
.cardhead .avatar.producer-icon{text-decoration:none}
.cardhead .producer-link{display:inline-block;margin-top:4px;color:#195e49;font-size:14px;text-underline-offset:3px}
#account .account-menu{margin:0 0 12px}
#account .account-menu summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;cursor:pointer;color:#195e49;font-size:14px;font-weight:650;list-style:none}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu summary strong{min-width:0;overflow-wrap:anywhere;color:#203c33}
.account-menu summary span{display:inline-flex;align-items:center;gap:8px;flex:none}
.account-menu summary span::after{content:"";width:6px;height:6px;margin:0 3px 3px 0;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.account-menu[open] summary span::after{margin-bottom:-3px;transform:rotate(225deg)}
.account-menu-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding:10px 14px;border:1px solid #d8e2d1;border-radius:9px;background:#fff}
.account-menu-panel p{min-width:0;margin:0;color:#203c33;font-size:15px;overflow-wrap:anywhere}
#account .account-menu-panel #logout{box-sizing:border-box;min-width:80px;min-height:44px;padding:8px 14px;color:#195e49;font-size:14px;font-weight:650}
@media(max-width:480px){.account-menu-panel{flex-direction:column;align-items:stretch;gap:8px}.account-menu-panel #logout{width:100%}}
.payments-freshness{display:flex;align-items:center;justify-content:space-between;gap:12px}
.payments-freshness .readtime,.payments-freshness h2{margin:0}
#paymentsPane .pending-costs{margin:6px 0 24px;padding:12px 14px;border:1px solid #ead29f;border-radius:9px;background:#fff4d9;color:#584014;font-size:14px}
.pending-costs strong{display:block;margin-bottom:3px}
#personalWarning{margin:12px 0;font-size:14px}
#personalWarning summary{cursor:pointer;font-weight:650}
#personalWarning p{margin:8px 0 0}
@media(max-width:680px){.intro:has(.orders-freshness){align-items:start;flex-direction:column;gap:2px}.intro .orders-freshness{width:100%;justify-content:space-between}}

.pickup-preferences{margin:12px 0 18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}.pickup-preferences[hidden]{display:none}.pickup-preferences p{margin:0;font-size:14px;color:#495b51}.pickup-preferences button{min-height:44px}

.notification-welcome{box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:calc(100% - 32px);padding:22px;color:#203a31;background:#fffefa;border:1px solid #cbd8cb;border-radius:16px}
.notification-welcome::backdrop{background:rgba(17,39,29,.48)}
.notification-welcome h2{margin:0;font-size:1.35rem;line-height:1.25}
.notification-welcome p{margin:10px 0 18px}
.notification-welcome-actions{display:flex;gap:8px;flex-wrap:wrap}
.notification-welcome-actions button{min-height:44px}

header .site-home-link{display:inline-flex;align-items:center;min-height:44px;color:#195e49;font-size:14px;font-weight:650;text-underline-offset:3px}
header .top:has(.site-home-link){flex-wrap:wrap}
header .site-home-link:focus-visible{outline:3px solid #b3872b;outline-offset:3px}

.pwa-route {
 position: fixed;
 z-index: 49;
 inset: 0 0 calc(73px + env(safe-area-inset-bottom));
 display: grid;
 place-content: center;
 justify-items: center;
 padding: 24px;
 text-align: center;
 color: #203c33;
 background: #f7f8f3;
 font: 16px/1.5 system-ui, sans-serif;
}
.pwa-route [hidden], .pwa-route[hidden] { display: none; }
.pwa-route h1 { margin: 0 0 8px; color: #203c33; font: 400 38px/1.15 Georgia, serif; }
.pwa-route p { margin: 0; }
.pwa-route.is-loading p::before {
 content: "";
 display: inline-block;
 width: 14px;
 height: 14px;
 margin-right: 9px;
 vertical-align: -2px;
 border: 2px solid #b9cfbf;
 border-top-color: #195e49;
 border-radius: 50%;
 animation: pwa-route-spin .8s linear infinite;
}
.pwa-route button {
 margin-top: 18px;
 min-height: 44px;
 padding: 8px 24px;
 border: 0;
 border-radius: 10px;
 background: #195e49;
 color: white;
 font: 650 15px system-ui, sans-serif;
 cursor: pointer;
}
@keyframes pwa-route-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
 .pwa-route.is-loading p::before { animation: none; }
}
