/* FarmDay 5.23: shared farm identity and responsive footer. */
.fg-logo-link{text-decoration:none;min-width:0;letter-spacing:normal}
.fg-brand{display:inline-flex;align-items:center;gap:11px;max-width:100%;vertical-align:middle}
.fg-brand-icon{position:relative;display:block;flex:0 0 48px;width:48px;height:48px;filter:drop-shadow(0 4px 5px #163e3024)}
.fg-brand-icon img{display:block;width:100%;height:100%;border-radius:13px;transition:transform .25s ease}
.fg-brand-leaf{position:absolute;right:-3px;top:-4px;width:15px;height:10px;border-radius:12px 1px 12px 1px;background:linear-gradient(135deg,#cfe99a,#6baf45);border:1px solid #fff5d7;transform:rotate(-24deg);transform-origin:bottom left;animation:fg-leaf-sway 2.5s ease-in-out 2}
.fg-brand-copy{display:grid;gap:5px;min-width:0}
.fg-brand .fg-brand-name{font-family:var(--display,ui-rounded,system-ui,sans-serif);font-size:32px;line-height:1.05;font-weight:850;letter-spacing:-1.4px;color:#173f30}
.fg-brand .fg-brand-name>span{color:#699339}
.fg-brand .fg-brand-tagline{display:block;max-width:205px;font-family:var(--body,system-ui,sans-serif);font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.15px;color:#65735c}
.fg-logo-link:hover .fg-brand-icon img,.fg-footer-brand:hover .fg-brand-icon img{transform:rotate(-4deg) translateY(-2px)}
.sidebar .brand{display:flex;margin-bottom:25px;white-space:normal}
.sidebar .fg-brand{gap:9px}.sidebar .fg-brand-icon{width:43px;height:43px;flex-basis:43px}
.sidebar .fg-brand .fg-brand-name{color:#fff4d6;font-size:32px}
.sidebar .fg-brand .fg-brand-name>span{color:#d4e69b}
.sidebar .fg-brand .fg-brand-tagline{color:#d5dfc9;font-size:9px;max-width:155px}
.portal-header .portal-brand{flex:0 1 310px}
.farm-brand .fg-brand .fg-brand-name{color:#fff8dc;font-size:34px;text-shadow:0 2px 8px #163d3066}
.farm-brand .fg-brand .fg-brand-name>span{color:#ffdb75}
.workspace>.fg-footer,.fg-footer{display:block;box-sizing:border-box;width:100%;max-width:1280px;margin:32px auto 0;padding:28px 32px 24px;border-top:1px solid #dce3d2;background:linear-gradient(180deg,#f8faf1,#f1f5e9);color:#5d6c57;font-family:var(--body,system-ui,sans-serif);font-size:13px;line-height:1.6}
.fg-footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px}
.fg-footer-brand{display:inline-flex;text-decoration:none}
.fg-footer .fg-brand-icon{width:39px;height:39px;flex-basis:39px}
.fg-footer .fg-brand .fg-brand-name{font-size:28px}
.fg-footer-intro p{margin:10px 0 0;font-size:13px;line-height:1.6}
.fg-footer-rewards{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:9px 15px;background:#e5edd9;border:1px solid #d5dfc4;border-radius:12px;color:#315438;text-decoration:none;font-size:13px;font-weight:650;box-sizing:border-box}
.fg-footer-rewards:hover{background:#dce8cb}
.fg-footer .footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:8px 16px;padding:20px 0;margin-top:20px;border-top:1px solid #dce3d2;border-bottom:1px solid #dce3d2;width:100%;box-sizing:border-box;font-size:13px;line-height:1.5}
.fg-footer .footer-links a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 4px;text-align:center;color:#435b3a;text-decoration:none;box-sizing:border-box}
.fg-footer .footer-links a:hover{background:#e8efde;border-radius:8px;text-decoration:none}
.fg-footer-bottom{display:flex;justify-content:space-between;gap:12px;padding-top:17px;color:#67765e}
.fg-footer .fg-footer-bottom small{margin:0;font-size:12px}.fg-footer-bottom>span{font-size:12px}
.fg-logo-link:focus-visible,.fg-footer a:focus-visible{outline:3px solid #bf941f;outline-offset:4px;border-radius:8px}
@keyframes fg-leaf-sway{0%,100%{transform:rotate(-24deg)}50%{transform:rotate(-3deg)}}
@media(max-width:700px){
 .portal-header{flex-direction:column;align-items:stretch;gap:15px}
 .portal-header .portal-brand{flex:0 1 auto;align-self:flex-start}
 .portal-header nav{justify-content:flex-start;max-width:none;gap:4px}
 .portal-header nav a{font-size:12px;padding:10px 12px}
 .workspace>.fg-footer,.fg-footer{margin-top:24px;padding:24px 18px}
 .workspace>.fg-footer{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
 .fg-footer-top{align-items:flex-start;flex-direction:column;gap:17px}
 .fg-footer .footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;padding:14px 0;margin-top:18px}
 .fg-footer .footer-links a{justify-content:flex-start;text-align:left}
 .fg-footer-bottom{flex-wrap:wrap;gap:5px 18px}
 .topbar .mobile-brand .fg-brand{gap:7px}
 .topbar .mobile-brand .fg-brand-icon{width:34px;height:34px;flex-basis:34px}
 .topbar .mobile-brand .fg-brand-name{font-size:25px}
 .topbar .mobile-brand .fg-brand-tagline{max-width:145px;font-size:8px;line-height:1.35;letter-spacing:0}
}
@media(prefers-reduced-motion:reduce){.fg-brand-leaf{animation:none}.fg-brand-icon img{transition:none}.fg-logo-link:hover .fg-brand-icon img,.fg-footer-brand:hover .fg-brand-icon img{transform:none}}
