/* ParkBench shared theme + five-tab navigation. Cream/green default; dark applies via html[data-pb-theme="dark"]. */
/* Legacy pages must not render the old green Syne wordmark beside the current mark. */
body .logo{display:inline-flex!important;align-items:center;gap:10px;font-family:"DM Sans","Avenir Next",system-ui,sans-serif!important;font-weight:600!important;font-size:18px!important;letter-spacing:0!important;color:var(--charcoal,#202720)!important;white-space:nowrap}
body .logo img{width:44px!important;height:44px!important;object-fit:contain;margin-right:0!important;flex-shrink:0}
html[data-pb-theme="dark"]{color-scheme:dark;
 --sage:#a5c8a5;--sage-light:#304846;--sage-dark:#cfe3cf;--amber:#e3b86f;--amber-light:#3a3a2c;
 --cream:#172a2e;--warm-white:#22383b;--charcoal:#f4efe2;--text:#f4efe2;--text-muted:#b2c0b8;--white:#22383b;--muted:#b2c0b8;--border:#3d5554;
 --red-light:#3b2626;--red:#f0a79d}
html[data-pb-theme="dark"] body{background:var(--cream);color:var(--text)}
html[data-pb-theme="dark"] nav:not(.pb-tabs){background:rgba(23,42,46,.92)!important;border-bottom-color:#3d5554!important}
html[data-pb-theme="dark"] .nav-drawer{background:#22383b!important}
html[data-pb-theme="dark"] input,html[data-pb-theme="dark"] select,html[data-pb-theme="dark"] textarea{background:#172a2e;color:#f4efe2;border-color:#3d5554}
html[data-pb-theme="dark"] .card,html[data-pb-theme="dark"] .modal,html[data-pb-theme="dark"] .activity-card{background:#22383b}
body.pb-has-tabs{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
body.pb-has-tabs .page{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
.pb-tabs{position:fixed;left:0;right:0;bottom:0;z-index:900;display:grid;grid-template-columns:repeat(5,1fr);max-width:560px;margin:0 auto;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:var(--pbt-bg,#fffdf7);border-top:1px solid var(--pbt-line,#e4e4d7);font-family:"DM Sans","Avenir Next",system-ui,sans-serif}
html[data-pb-theme="dark"] .pb-tabs{--pbt-bg:#22383b;--pbt-line:#3d5554}
.pb-tabs a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;border-radius:14px;color:var(--pbt-mute,#5d6d62);text-decoration:none;font-size:11px;font-weight:500;min-height:44px}
html[data-pb-theme="dark"] .pb-tabs a{--pbt-mute:#b2c0b8}
.pb-tabs a[aria-current="page"]{color:#2f684b;font-weight:700;background:#e8f0e4}
html[data-pb-theme="dark"] .pb-tabs a[aria-current="page"]{color:#a5c8a5;background:#304846}
.pb-tabs a:focus-visible{outline:2px solid #2f684b;outline-offset:1px}
.pb-tabs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pb-tabs a{position:relative}.pb-badge{position:absolute;top:2px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:#9b2c20;color:#fff;font:700 10px/16px system-ui,sans-serif;text-align:center;font-style:normal}
/* Legacy pages style all nav elements with top:0. A bottom bar must not inherit
   both edges, stretch over content and intercept profile/chat controls. */
nav.pb-tabs{top:auto;height:auto}
