/* Portal WordPress aislado de los contenedores y columnas del tema. */
html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
body.gg-standalone{background:#f1f5f2;color:#1b2c28;margin:0;min-width:320px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.gg-standalone .gg-portal-main{width:100%;max-width:none;min-height:100vh;margin:0;padding:0}
body.gg-standalone .ggf-app{width:100%;max-width:none;left:auto;transform:none;position:static;margin:0;padding:28px clamp(16px,2.2vw,46px) 65px}
body.gg-standalone .ggf-login{margin:10vh auto}
body.gg-standalone .ggf-panel{min-width:0}
body.gg-standalone .ggf-head{padding:4px 0 10px}
body.gg-standalone .ggf-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
body.gg-standalone .ggf-nav a{padding:17px 10px;font-size:15px;min-height:81px;justify-content:center}
body.gg-standalone .ggf-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
body.gg-standalone .ggf-forms{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.gg-standalone .ggf-dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr)}
body.gg-standalone .ggf-home-menu .ggf-quick{grid-template-columns:repeat(4,minmax(0,1fr))}
body.gg-standalone .ggf-form{grid-template-columns:repeat(2,minmax(0,1fr))}
body.gg-standalone .ggf-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;overflow:visible}
body.gg-standalone .ggf-animal{border:1px solid #dfe8e3;border-radius:12px}
body.gg-standalone .ggf-animal:last-child{border-bottom:1px solid #dfe8e3}
body.gg-standalone .ggf-details{grid-template-columns:repeat(3,minmax(0,1fr))}
body.gg-standalone .ggf-picker-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
body.gg-standalone .ggf-category-table{width:100%}
body.gg-standalone .ggf-tablewrap{max-width:100%}
body.gg-standalone .ggf-chart canvas{max-height:360px}
body.gg-standalone .ggf-foot{padding-bottom:25px}
.gg-skip{position:absolute;top:-100px;left:12px;z-index:999999;background:white;color:#174b3c;padding:10px;border-radius:8px}.gg-skip:focus{top:12px}
@media(min-width:1600px){body.gg-standalone .ggf-forms{grid-template-columns:repeat(3,minmax(0,1fr))}body.gg-standalone .ggf-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){body.gg-standalone .ggf-dashboard-grid{grid-template-columns:1fr}body.gg-standalone .ggf-forms{grid-template-columns:1fr}body.gg-standalone .ggf-home-menu .ggf-quick{grid-template-columns:repeat(2,minmax(0,1fr))}body.gg-standalone .ggf-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.gg-standalone .ggf-app{padding:14px 12px 45px}body.gg-standalone .ggf-head{padding:0}body.gg-standalone .ggf-nav{gap:4px}body.gg-standalone .ggf-nav a{min-height:64px;padding:9px 2px;font-size:11px}body.gg-standalone .ggf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body.gg-standalone .ggf-form{grid-template-columns:1fr}body.gg-standalone .ggf-list{grid-template-columns:1fr;gap:7px}body.gg-standalone .ggf-details{grid-template-columns:repeat(2,minmax(0,1fr))}body.gg-standalone .ggf-picker-filters{grid-template-columns:1fr}body.gg-standalone .ggf-panel{padding:14px}body.gg-standalone .ggf-dashboard-block{padding:14px}body.gg-standalone .ggf-home-menu .ggf-quick{gap:8px}}
@media(max-width:390px){body.gg-standalone .ggf-app{padding:12px 8px 35px}body.gg-standalone .ggf-nav a{font-size:10px}body.gg-standalone .ggf-details{grid-template-columns:1fr}}

/* v1.9: el menú visible respeta el número de accesos configurados. */
body.gg-standalone .ggf-nav{display:flex;flex-wrap:wrap;gap:10px}
body.gg-standalone .ggf-nav a{flex:1 1 145px;max-width:none}
body.gg-standalone .ggf-top-actions .ggf-quick{grid-template-columns:repeat(auto-fit,minmax(175px,1fr))}
@media(max-width:700px){body.gg-standalone .ggf-nav a{flex:1 1 28%;min-height:58px;padding:9px 5px}body.gg-standalone .ggf-top-actions .ggf-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}
