/* ==========================================================================
   Agogo Connected App Kit — "Glass" design system v1.1
   Mobile first · 768px tablet · 1200px desktop
   Frosted glass surfaces over a slow-moving green & gold backdrop.
   ========================================================================== */

:root {
	--agc-green: #21834A;
	--agc-green-deep: #14532D;
	--agc-green-ink: #0E3B20;
	--agc-green-50: rgba(33, 131, 74, .09);
	--agc-green-100: rgba(33, 131, 74, .18);
	--agc-gold: #D9A441;
	--agc-gold-50: rgba(217, 164, 65, .14);
	--agc-gold-ink: #845B10;
	--agc-bg: #EDF3EE;
	--agc-text: #17251D;
	--agc-muted: #66746A;
	--agc-border: rgba(23, 37, 29, .08);
	--agc-danger: #C2410C;
	--agc-danger-50: rgba(194, 65, 12, .1);
	--agc-warn: #A16207;
	--agc-warn-50: rgba(234, 179, 8, .14);
	--agc-wa: #1FA855;

	/* Glass */
	--agc-glass: rgba(255, 255, 255, .58);
	--agc-glass-strong: rgba(255, 255, 255, .78);
	--agc-glass-edge: rgba(255, 255, 255, .75);
	--agc-glass-blur: 20px;
	--agc-glass-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 30px -12px rgba(14, 59, 32, .22), 0 2px 6px -2px rgba(14, 59, 32, .08);
	--agc-glass-shadow-hover: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 22px 44px -18px rgba(14, 59, 32, .32), 0 4px 10px -4px rgba(14, 59, 32, .12);

	--agc-r-sm: 12px;
	--agc-r: 20px;
	--agc-r-lg: 28px;
	--agc-ease: cubic-bezier(.2, .8, .2, 1);
	--agc-spring: cubic-bezier(.34, 1.56, .64, 1);
	--agc-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--agc-ab: 0px;          /* WordPress admin bar */
	--agc-gap: 12px;        /* floating chrome inset */
	--agc-top: 60px;
	--agc-side: 256px;
	--agc-side-mini: 76px;
	--agc-rail: 320px;
}
.admin-bar { --agc-ab: 46px; }
@media (min-width: 783px) { .admin-bar { --agc-ab: 32px; } }

/* ==========================================================================
   Hard reset inside the app — beats theme & Elementor kit styles
   ========================================================================== */
body.agc-body { margin: 0 !important; background: var(--agc-bg) !important; overflow-x: hidden; overflow-x: clip; }
html body .agc-app, html body .agc-app *, html body .agc-app *::before, html body .agc-app *::after,
html body .agc-sheet-wrap, html body .agc-sheet-wrap *, html body .agc-lightbox * { box-sizing: border-box; }
html body .agc-app, html body .agc-embed, html body .agc-sheet-wrap {
	font-family: var(--agc-font) !important;
	color: var(--agc-text);
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: -.005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
	text-align: left;
}
/* :where() keeps these resets strong enough to beat theme/Elementor kit rules
   but weak enough that the app's own component classes always win. */
html body .agc-app :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
html body .agc-app :where(ul, ol, figure, dd) { padding: 0; }
html body .agc-app :where(h1, h2, h3, h4) {
	font-family: var(--agc-font) !important; color: var(--agc-text); line-height: 1.25; letter-spacing: -.02em;
	text-transform: none; font-style: normal; background: none; border: 0;
}
html body .agc-app a, html body .agc-embed a, html body .agc-sheet-wrap a { color: inherit; text-decoration: none; box-shadow: none; }
html body .agc-app img { max-width: 100%; height: auto; display: block; border: 0; box-shadow: none; }
html body .agc-app svg.agc-icon, html body .agc-sheet-wrap svg.agc-icon { flex: none; max-width: none; margin: 0; overflow: visible; }
html body .agc-app :where(button, input[type=submit], input[type=button]),
html body .agc-sheet-wrap :where(button) {
	font-family: var(--agc-font); font-size: inherit; letter-spacing: inherit; text-transform: none;
	background-image: none; text-shadow: none; line-height: 1; margin: 0; vertical-align: middle;
}
html body .agc-app :where(button:not(.agc-btn)), html body .agc-sheet-wrap :where(button:not(.agc-btn)) {
	background-color: transparent; border: 0; padding: 0; color: inherit; border-radius: 0; box-shadow: none; min-height: 0;
}
html body .agc-app :where(button:not(.agc-btn)):hover, html body .agc-app :where(button:not(.agc-btn)):focus { background-color: transparent; color: inherit; }
html body .agc-app :focus { outline: none; }
html body .agc-app :focus-visible { outline: 2px solid var(--agc-green); outline-offset: 2px; border-radius: 10px; }
.agc-icon { flex: none; display: inline-block; vertical-align: -0.2em; }
.agc-skip { position: fixed; left: -9999px; top: 8px; z-index: 200; background: var(--agc-green-deep); color: #fff !important; padding: 8px 14px; border-radius: 10px; }
.agc-skip:focus { left: 8px; }
.agc-clamp-2, .agc-clamp-4 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.agc-clamp-2 { -webkit-line-clamp: 2; }
.agc-clamp-4 { -webkit-line-clamp: 4; }
.agc-hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

/* Break out of any Elementor/theme container so the app is full-bleed */
.agc-app {
	position: relative; isolation: isolate;
	width: 100vw; max-width: 100vw; left: 50%; margin-left: -50vw !important;
	min-height: 100vh; min-height: 100dvh;
}
body.agc-body :is(.elementor-section, .e-con, .e-con-inner, .elementor-container, .elementor-column, .elementor-widget-wrap, .elementor-widget-container, .elementor-element):has(.agc-app) {
	padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important;
	background: none !important; border: 0 !important; box-shadow: none !important; transform: none !important;
	--padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0;
}

/* ==========================================================================
   Animated backdrop
   ========================================================================== */
.agc-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #F3F8F4 0%, #EAF2EC 55%, #F6F1E4 100%); }
.agc-bg i { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.agc-bg i:nth-child(1) { width: 70vmax; height: 70vmax; left: -22vmax; top: -26vmax; background: radial-gradient(circle at center, rgba(33, 131, 74, .30), rgba(33, 131, 74, 0) 62%); animation: agc-drift-a 26s ease-in-out infinite alternate; }
.agc-bg i:nth-child(2) { width: 60vmax; height: 60vmax; right: -24vmax; top: 18vh; background: radial-gradient(circle at center, rgba(217, 164, 65, .28), rgba(217, 164, 65, 0) 62%); animation: agc-drift-b 32s ease-in-out infinite alternate; }
.agc-bg i:nth-child(3) { width: 55vmax; height: 55vmax; left: 10vw; bottom: -30vmax; background: radial-gradient(circle at center, rgba(52, 168, 110, .22), rgba(52, 168, 110, 0) 62%); animation: agc-drift-c 38s ease-in-out infinite alternate; }
.agc-bg::after { /* fine grain so glass reads as glass */
	content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Glass primitive
   ========================================================================== */
/* Real blur only on the floating chrome and a few panels (blur is costly on budget phones) */
.agc-glass, .agc-topbar, .agc-sidebar, .agc-bottomnav, .agc-panel, .agc-searchbar, .agc-composer, .agc-tabs, .agc-seg, .agc-sheet, .agc-toast, .agc-banner {
	background: var(--agc-glass);
	-webkit-backdrop-filter: blur(var(--agc-glass-blur)) saturate(170%);
	backdrop-filter: blur(var(--agc-glass-blur)) saturate(170%);
	border: 1px solid var(--agc-glass-edge);
	box-shadow: var(--agc-glass-shadow);
}
/* Content surfaces: frosted look without live blur — fast to scroll */
.agc-card, .agc-surface, .agc-tile, .agc-chipbtn, .agc-legend, .agc-empty, .agc-mylist li, .agc-notes li,
.agc-quick__item span, .agc-taglist li, .agc-comments .comment-respond, .agc-commentlist .comment-body {
	background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .6));
	border: 1px solid var(--agc-glass-edge);
	box-shadow: var(--agc-glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	:root { --agc-glass: rgba(255, 255, 255, .92); --agc-glass-strong: rgba(255, 255, 255, .97); }
}
/* Lite mode: low-memory phones or Data Saver — solid surfaces, still backdrop */
html.agc-lite { --agc-glass: rgba(255, 255, 255, .93); --agc-glass-strong: rgba(255, 255, 255, .97); }
html.agc-lite :is(.agc-glass, .agc-topbar, .agc-sidebar, .agc-bottomnav, .agc-panel, .agc-card, .agc-surface, .agc-tile, .agc-searchbar, .agc-chipbtn, .agc-composer, .agc-legend, .agc-empty, .agc-tabs, .agc-seg, .agc-sheet, .agc-banner, .agc-quick__item span) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.agc-lite .agc-bg i { animation: none; }

/* ==========================================================================
   Shell — floating glass chrome, fixed so no wrapper can break it
   ========================================================================== */
.agc-col { min-width: 0; }
.agc-main {
	position: relative; outline: none;
	max-width: 760px; margin: 0 auto;
	padding: calc(var(--agc-ab) + var(--agc-top) + 16px) 16px calc(112px + env(safe-area-inset-bottom));
}

/* Top bar */
.agc-topbar {
	position: fixed; z-index: 40; top: var(--agc-ab); left: 0; right: 0;
	display: flex; align-items: center; gap: 6px;
	height: var(--agc-top); padding: 0 10px 0 8px;
	border-width: 0 0 1px; border-radius: 0;
	background: rgba(255, 255, 255, .62);
	transition: box-shadow .3s var(--agc-ease), background .3s;
}
.agc-scrolled .agc-topbar { background: rgba(255, 255, 255, .8); box-shadow: 0 8px 30px -14px rgba(14, 59, 32, .3); }
.agc-topbar__title { display: none; }
.agc-topbar__search { display: none; }
.agc-topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }

.agc-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; white-space: nowrap; letter-spacing: -.02em; color: var(--agc-text) !important; }
.agc-logo__mark {
	position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; overflow: hidden;
	background: linear-gradient(140deg, #2BA25C 0%, var(--agc-green) 45%, var(--agc-green-deep) 100%); color: #fff;
	font-size: 13px; font-weight: 800; letter-spacing: .02em;
	box-shadow: 0 6px 14px -4px rgba(33, 131, 74, .55), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 var(--agc-gold);
}
.agc-logo__mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: agc-sheen 6s ease-in-out infinite; }
.agc-logo__text b { font-weight: 800; background: linear-gradient(90deg, var(--agc-green), #2BA25C); -webkit-background-clip: text; background-clip: text; color: transparent; }

.agc-iconbtn {
	position: relative; display: inline-flex !important; align-items: center; justify-content: center; flex: none;
	width: 42px !important; height: 42px !important; min-width: 42px; padding: 0 !important;
	border-radius: 14px !important; color: var(--agc-text) !important; cursor: pointer;
	transition: background .25s var(--agc-ease), transform .2s var(--agc-spring);
}
.agc-iconbtn:hover { background: rgba(255, 255, 255, .7) !important; }
.agc-iconbtn:active { transform: scale(.88); }
.agc-dot {
	position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: linear-gradient(135deg, #EF4444, var(--agc-danger)); color: #fff; font-size: 11px; font-weight: 700;
	display: grid; place-items: center; border: 2px solid #fff; animation: agc-pulse 2.4s ease-in-out infinite;
}
.agc-avatar-link { display: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none; }
@media (min-width: 768px) { .agc-avatar-link { display: inline-grid; } } /* phones: Profile lives in the bottom bar */
@media (max-width: 380px) { .agc-logo { font-size: 15.5px; gap: 8px; } .agc-topbar .agc-logo__mark { width: 32px; height: 32px; border-radius: 10px; } }
.agc-topbar__logo { min-width: 0; overflow: hidden; }
.agc-avatar { border-radius: 50% !important; object-fit: cover; background: var(--agc-green-50); }
.agc-avatar-link .agc-avatar { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(217, 164, 65, .55); transition: transform .3s var(--agc-spring); }
.agc-avatar-link:hover .agc-avatar { transform: scale(1.08); }

/* Sidebar → slide-in glass drawer on phones */
.agc-sidebar {
	position: fixed; z-index: 70; top: calc(var(--agc-ab) + 10px); bottom: 10px; left: 10px; width: min(82vw, 300px);
	display: flex; flex-direction: column; padding: 14px 12px; border-radius: var(--agc-r-lg);
	background: rgba(255, 255, 255, .78);
	transform: translateX(calc(-100% - 20px)); transition: transform .45s var(--agc-spring), box-shadow .3s;
	overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
}
.agc-sidebar::-webkit-scrollbar { display: none; }
.agc-app.is-drawer-open .agc-sidebar { transform: none; box-shadow: 0 30px 80px -20px rgba(14, 59, 32, .45); }
.agc-app.is-drawer-open .agc-nav__link { animation: agc-slide-in .45s var(--agc-ease) both; }
.agc-app.is-drawer-open .agc-nav__link:nth-child(n+2) { animation-delay: .03s; }
.agc-app.is-drawer-open .agc-nav__link:nth-child(n+4) { animation-delay: .06s; }
.agc-app.is-drawer-open .agc-nav__link:nth-child(n+7) { animation-delay: .09s; }
.agc-app.is-drawer-open .agc-nav__link:nth-child(n+10) { animation-delay: .12s; }
.agc-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(14, 30, 20, .28); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.agc-app.is-drawer-open .agc-scrim { opacity: 1; }
.agc-sidebar__brand { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 14px; }
.agc-sidebar__collapse { display: none !important; }
.agc-sidebar__tag { margin-top: auto; padding: 16px 10px 4px; font-size: 12px; color: var(--agc-muted); line-height: 1.5; }
.agc-nav { display: flex; flex-direction: column; gap: 2px; }
.agc-nav__link {
	position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
	color: var(--agc-text) !important; font-weight: 500; font-size: 14.5px;
	transition: background .25s var(--agc-ease), color .25s, transform .25s var(--agc-ease);
}
.agc-nav__link .agc-icon { color: var(--agc-muted); transition: color .25s, transform .3s var(--agc-spring); }
.agc-nav__link:hover { background: rgba(255, 255, 255, .7); transform: translateX(2px); }
.agc-nav__link:hover .agc-icon { color: var(--agc-green); transform: scale(1.1); }
.agc-nav__link[aria-current="page"] {
	background: linear-gradient(135deg, rgba(33, 131, 74, .16), rgba(33, 131, 74, .06)); color: var(--agc-green-deep) !important; font-weight: 700;
	box-shadow: inset 0 0 0 1px rgba(33, 131, 74, .15);
}
.agc-nav__link[aria-current="page"] .agc-icon { color: var(--agc-green); }
.agc-nav__link[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 20px; margin-top: -10px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--agc-green), var(--agc-gold)); }
.agc-nav__sep { height: 1px; background: linear-gradient(90deg, transparent, rgba(23, 37, 29, .12), transparent); margin: 8px 6px; }

/* Right rail (desktop only) */
.agc-rail { display: none; }

/* Floating glass bottom navigation */
.agc-bottomnav {
	position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
	display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
	height: 66px; padding: 0 6px; border-radius: 24px;
	background: rgba(255, 255, 255, .7);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px -14px rgba(14, 59, 32, .38);
	animation: agc-rise-in .6s var(--agc-spring) both .1s;
}
.agc-bottomnav__link {
	position: relative; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	height: 54px; margin: 0 2px; border-radius: 18px;
	color: var(--agc-muted) !important; font-size: 10.5px; font-weight: 600; letter-spacing: 0;
	transition: color .25s;
}
.agc-bottomnav__link span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agc-bottomnav__link .agc-icon { display: block; transition: transform .35s var(--agc-spring); }
.agc-bottomnav__link:active .agc-icon { transform: scale(.82); }
.agc-bottomnav__link[aria-current="page"] { color: var(--agc-green-deep) !important; }
.agc-bottomnav__link[aria-current="page"]::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: linear-gradient(160deg, rgba(33, 131, 74, .16), rgba(217, 164, 65, .12));
	box-shadow: inset 0 0 0 1px rgba(33, 131, 74, .14);
	animation: agc-pill .45s var(--agc-spring);
}
.agc-bottomnav__link[aria-current="page"] .agc-icon { transform: translateY(-1px) scale(1.08); color: var(--agc-green); }
.agc-bottomnav__create {
	position: relative; justify-self: center; display: grid; place-items: center; width: 58px; height: 58px; margin-top: -30px;
	border-radius: 20px; color: #fff !important;
	background: linear-gradient(140deg, #2BA25C 0%, var(--agc-green) 45%, var(--agc-green-deep) 100%);
	box-shadow: 0 14px 28px -8px rgba(33, 131, 74, .65), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -3px 0 var(--agc-gold), 0 0 0 5px rgba(255, 255, 255, .75);
	transition: transform .35s var(--agc-spring), box-shadow .3s;
}
.agc-bottomnav__create::after { content: ""; position: absolute; inset: -5px; border-radius: 24px; border: 2px solid rgba(33, 131, 74, .35); animation: agc-ring 3s ease-out infinite; }
.agc-bottomnav__create:hover { transform: translateY(-2px); }
.agc-bottomnav__create:active { transform: scale(.9) rotate(90deg); }

/* ---------- Tablet: floating icon rail + floating top bar ---------- */
@media (min-width: 768px) {
	:root { --agc-glass-blur: 24px; }
	.agc-sidebar {
		top: calc(var(--agc-ab) + var(--agc-gap)); bottom: var(--agc-gap); left: var(--agc-gap); width: var(--agc-side-mini);
		transform: none; padding: 14px 10px; background: var(--agc-glass); box-shadow: var(--agc-glass-shadow) !important;
	}
	.agc-sidebar .agc-logo__text, .agc-sidebar .agc-nav__link span, .agc-sidebar__tag, .agc-sidebar__close { display: none !important; }
	.agc-sidebar__brand { justify-content: center; }
	.agc-nav__link { justify-content: center; padding: 12px; }
	.agc-nav__link:hover { transform: none; }
	.agc-nav__link[aria-current="page"]::before { left: -10px; }
	.agc-scrim, .agc-topbar__menu, .agc-bottomnav { display: none !important; }
	.agc-topbar {
		left: calc(var(--agc-side-mini) + var(--agc-gap) * 2); right: var(--agc-gap); top: calc(var(--agc-ab) + var(--agc-gap));
		height: 64px; padding: 0 12px 0 16px; border-radius: 22px; border-width: 1px;
	}
	.agc-topbar__logo { display: none; }
	.agc-topbar__search {
		display: flex; align-items: center; gap: 10px; flex: 1; max-width: 480px; height: 44px; padding: 0 16px;
		background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); border-radius: 999px; color: var(--agc-muted);
		box-shadow: inset 0 1px 2px rgba(14, 59, 32, .06); transition: box-shadow .3s, background .3s;
	}
	.agc-topbar__search:focus-within { background: #fff; box-shadow: 0 0 0 4px rgba(33, 131, 74, .14); }
	.agc-topbar__search input { border: 0 !important; background: transparent !important; outline: none; flex: 1; font: 15px var(--agc-font) !important; color: var(--agc-text); min-width: 0; padding: 0 !important; box-shadow: none !important; height: auto; }
	.agc-topbar__searchbtn { display: none !important; }
	.agc-main { margin-left: calc(var(--agc-side-mini) + var(--agc-gap) * 2); margin-right: var(--agc-gap); max-width: none; padding: calc(var(--agc-ab) + 64px + var(--agc-gap) + 24px) 12px 56px; }
	.agc-main > * { max-width: 760px; margin-left: auto; margin-right: auto; }
}

/* ---------- Desktop: full sidebar · feed · right panel ---------- */
@media (min-width: 1200px) {
	.agc-sidebar { width: var(--agc-side); padding: 18px 14px; transition: width .4s var(--agc-ease); }
	.agc-sidebar .agc-logo__text, .agc-sidebar .agc-nav__link span, .agc-sidebar__tag { display: initial !important; }
	.agc-sidebar__brand { justify-content: space-between; }
	.agc-sidebar__collapse { display: inline-grid !important; }
	.agc-nav__link { justify-content: flex-start; padding: 10px 12px; }
	.agc-nav__link:hover { transform: translateX(2px); }
	.agc-nav__link[aria-current="page"]::before { left: -14px; }
	.agc-topbar { left: calc(var(--agc-side) + var(--agc-gap) * 2); right: calc(var(--agc-rail) + var(--agc-gap) * 2); transition: left .4s var(--agc-ease); }
	.agc-main { margin-left: calc(var(--agc-side) + var(--agc-gap) * 2); margin-right: calc(var(--agc-rail) + var(--agc-gap) * 2); transition: margin .4s var(--agc-ease); }
	.agc-rail {
		display: flex; flex-direction: column; gap: 14px; position: fixed; z-index: 30;
		top: calc(var(--agc-ab) + var(--agc-gap)); bottom: var(--agc-gap); right: var(--agc-gap); width: var(--agc-rail);
		overflow-y: auto; scrollbar-width: none; padding-bottom: 8px;
	}
	.agc-rail::-webkit-scrollbar { display: none; }
	.agc-rail > .agc-panel { animation: agc-rise .6s var(--agc-ease) both; }
	.agc-rail > .agc-panel:nth-child(2) { animation-delay: .08s; }
	.agc-rail > .agc-panel:nth-child(3) { animation-delay: .16s; }

	.agc-app.is-collapsed .agc-sidebar { width: var(--agc-side-mini); padding: 14px 10px; }
	.agc-app.is-collapsed :is(.agc-logo__text, .agc-nav__link span, .agc-sidebar__tag) { display: none !important; }
	.agc-app.is-collapsed .agc-sidebar__brand { flex-direction: column; gap: 8px; }
	.agc-app.is-collapsed .agc-nav__link { justify-content: center; }
	.agc-app.is-collapsed .agc-topbar { left: calc(var(--agc-side-mini) + var(--agc-gap) * 2); }
	.agc-app.is-collapsed .agc-main { margin-left: calc(var(--agc-side-mini) + var(--agc-gap) * 2); }
}
@media (min-width: 1600px) { :root { --agc-rail: 360px; --agc-side: 272px; } }

/* ==========================================================================
   Page building blocks
   ========================================================================== */
.agc-surface { border-radius: var(--agc-r); padding: 18px; }
.agc-page { display: flex; flex-direction: column; gap: 18px; }
/* Page entrance for text blocks; cards and sections rise in via JS (see .agc-reveal) */
.agc-page > :is(.agc-pagehead, .agc-hero, .agc-banner, .agc-back, .agc-searchbar, .agc-chips, .agc-toggle, .agc-alert, .agc-single__head, .agc-tabs, .agc-seg) { animation: agc-rise .55s var(--agc-ease) backwards; }
.agc-page > :nth-child(2) { animation-delay: .05s; }
.agc-page > :nth-child(3) { animation-delay: .1s; }
.agc-page > :nth-child(4) { animation-delay: .15s; }
.agc-page > :nth-child(n+5) { animation-delay: .2s; }

.agc-pagehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 2px 0; }
.agc-pagehead h1 { font-size: 26px !important; font-weight: 800; letter-spacing: -.03em; }
.agc-pagehead h1::after { content: ""; display: block; width: 36px; height: 4px; margin-top: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--agc-green), var(--agc-gold)); animation: agc-grow .8s var(--agc-ease) both .2s; transform-origin: left; }
.agc-pagehead p { color: var(--agc-muted); margin-top: 8px !important; font-size: 14px; max-width: 56ch; }
@media (min-width: 768px) { .agc-pagehead h1 { font-size: 32px !important; } }
.agc-prose { font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; color: #23332A; }
.agc-prose p { margin: 0 0 1em !important; }
.agc-prose a { color: var(--agc-green) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.agc-prose img { border-radius: var(--agc-r-sm); }
.agc-note { font-size: 13px; color: var(--agc-muted); display: flex; gap: 6px; align-items: center; }

/* ---------- Buttons ---------- */
html body .agc-app .agc-btn, html body .agc-sheet-wrap .agc-btn {
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
	font: 600 15px/1 var(--agc-font); cursor: pointer; white-space: nowrap; text-decoration: none;
	transition: transform .25s var(--agc-spring), box-shadow .3s var(--agc-ease), background .3s, opacity .2s;
}
.agc-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--agc-ease); }
.agc-btn:hover::after { transform: translateX(120%); }
.agc-btn:hover { transform: translateY(-1px); }
.agc-btn:active { transform: scale(.96); }
html body .agc-app .agc-btn--sm, html body .agc-sheet-wrap .agc-btn--sm { min-height: 38px; padding: 0 15px; font-size: 13px; }
.agc-btn--block { width: 100% !important; }
html body .agc-btn--primary { background: linear-gradient(140deg, #2BA25C 0%, var(--agc-green) 50%, var(--agc-green-deep) 100%) !important; color: #fff !important; box-shadow: 0 10px 22px -8px rgba(33, 131, 74, .6), inset 0 1px 0 rgba(255, 255, 255, .3) !important; }
html body .agc-btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(33, 131, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .3) !important; }
html body .agc-btn--soft { background: rgba(255, 255, 255, .7) !important; color: var(--agc-green-deep) !important; border-color: rgba(33, 131, 74, .18) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html body .agc-btn--soft:hover { background: #fff !important; }
html body .agc-btn--ghost { background: rgba(255, 255, 255, .4) !important; border-color: rgba(23, 37, 29, .12) !important; color: var(--agc-text) !important; }
html body .agc-btn--danger { background: rgba(194, 65, 12, .1) !important; color: var(--agc-danger) !important; border-color: rgba(194, 65, 12, .2) !important; }
html body .agc-btn--wa { background: linear-gradient(140deg, #2BD06A, var(--agc-wa)) !important; color: #fff !important; box-shadow: 0 10px 20px -8px rgba(31, 168, 85, .6) !important; }
.agc-btn[disabled], .agc-btn.is-loading { opacity: .7; pointer-events: none; }
.agc-btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: agc-spin .7s linear infinite; }

/* ---------- Chips ---------- */
.agc-chip {
	display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px;
	background: rgba(33, 131, 74, .1); color: var(--agc-green-deep); font-size: 11.5px; font-weight: 700; white-space: nowrap; letter-spacing: .01em;
	border: 1px solid rgba(33, 131, 74, .12);
}
.agc-chip--muted { background: rgba(23, 37, 29, .05); color: var(--agc-muted); border-color: rgba(23, 37, 29, .06); }
.agc-chip--gold { background: rgba(217, 164, 65, .16); color: var(--agc-gold-ink); border-color: rgba(217, 164, 65, .25); }
.agc-chip--warn { background: var(--agc-warn-50); color: var(--agc-warn); border-color: rgba(161, 98, 7, .18); }
.agc-chip--ok { background: rgba(33, 131, 74, .12); color: var(--agc-green); }
.agc-chip--bad { background: var(--agc-danger-50); color: var(--agc-danger); border-color: rgba(194, 65, 12, .18); }
.agc-card__body > .agc-chip, .agc-card__body > .agc-chip--icon { align-self: flex-start; }

.agc-chips, .agc-toggle { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 6px; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); }
.agc-chips::-webkit-scrollbar, .agc-toggle::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .agc-chips, .agc-toggle { margin: 0; padding: 4px 0; flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; } }
.agc-chipbtn {
	flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px;
	font-size: 13px; font-weight: 600; color: var(--agc-text) !important; scroll-snap-align: start;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 4px 12px -6px rgba(14, 59, 32, .18);
	transition: transform .25s var(--agc-spring), background .25s, color .25s, box-shadow .25s;
}
.agc-chipbtn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .85); }
.agc-chipbtn[aria-current="true"] {
	background: linear-gradient(140deg, #2BA25C, var(--agc-green) 55%, var(--agc-green-deep)); border-color: transparent; color: #fff !important;
	box-shadow: 0 8px 18px -8px rgba(33, 131, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
}

/* ---------- Search ---------- */
.agc-searchbar {
	display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 999px; color: var(--agc-muted);
	transition: box-shadow .3s var(--agc-ease), background .3s, transform .3s var(--agc-ease);
}
.agc-searchbar:focus-within { background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 4px rgba(33, 131, 74, .14), var(--agc-glass-shadow); transform: translateY(-1px); }
.agc-searchbar:focus-within .agc-icon { color: var(--agc-green); }
html body .agc-app .agc-searchbar input { flex: 1; min-width: 0; height: auto; border: 0 !important; outline: 0; background: transparent !important; font: 15.5px var(--agc-font) !important; color: var(--agc-text) !important; padding: 0 !important; box-shadow: none !important; margin: 0; }
.agc-searchbar--big { height: 58px; }

/* ==========================================================================
   Home
   ========================================================================== */
.agc-hero {
	position: relative; overflow: hidden; isolation: isolate; border-radius: var(--agc-r-lg); padding: 26px 20px 20px; color: #fff;
	background: linear-gradient(135deg, #1E8E4D 0%, #156B3A 45%, #0E3B20 100%);
	box-shadow: 0 30px 60px -28px rgba(14, 59, 32, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.agc-hero::before { /* moving aurora */
	content: ""; position: absolute; z-index: -1; inset: -40%;
	background: conic-gradient(from 0deg at 60% 40%, rgba(217, 164, 65, .55), rgba(43, 162, 92, .0) 25%, rgba(120, 220, 160, .35) 45%, rgba(217, 164, 65, 0) 65%, rgba(217, 164, 65, .45));
	filter: blur(40px); animation: agc-spin 22s linear infinite; opacity: .75;
}
.agc-hero::after { /* glass ring */
	content: ""; position: absolute; z-index: -1; right: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .28), rgba(255, 255, 255, .04) 60%);
	border: 1px solid rgba(255, 255, 255, .25); animation: agc-float 8s ease-in-out infinite;
}
html.agc-lite .agc-hero::before { animation: none; filter: none; opacity: .4; }
.agc-hero__hi { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; }
html body .agc-app .agc-hero__title { color: #fff !important; font-size: 26px !important; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 18px !important; max-width: 17ch; line-height: 1.15; text-shadow: 0 2px 20px rgba(0, 0, 0, .15); }
@media (min-width: 768px) { html body .agc-app .agc-hero__title { font-size: 34px !important; } .agc-hero { padding: 34px 30px 28px; } }
.agc-searchbar--hero { background: rgba(255, 255, 255, .92) !important; border-color: rgba(255, 255, 255, .95) !important; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45) !important; }

.agc-banner {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--agc-r);
	background: linear-gradient(120deg, rgba(255, 246, 225, .85), rgba(255, 255, 255, .6)) !important; border-color: rgba(217, 164, 65, .35) !important;
	transition: transform .3s var(--agc-ease), box-shadow .3s;
}
.agc-banner:hover { transform: translateY(-2px); box-shadow: var(--agc-glass-shadow-hover); }
.agc-banner__ic { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(140deg, #E8B95A, var(--agc-gold) 50%, #B9842A); color: #fff; flex: none; box-shadow: 0 8px 16px -6px rgba(217, 164, 65, .7); }
.agc-banner__ic::after { content: ""; position: absolute; inset: -4px; border-radius: 18px; border: 2px solid rgba(217, 164, 65, .45); animation: agc-ring 2.6s ease-out infinite; }
.agc-banner > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.agc-banner small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--agc-gold-ink); font-weight: 800; }
.agc-banner b { font-size: 14.5px; font-weight: 700; }
.agc-banner > .agc-icon:last-child { color: var(--agc-gold-ink); transition: transform .3s var(--agc-spring); }
.agc-banner:hover > .agc-icon:last-child { transform: translateX(4px); }

.agc-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
@media (min-width: 900px) { .agc-quick { grid-template-columns: repeat(8, 1fr); } }
.agc-quick__item { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; text-align: center; color: var(--agc-text) !important; }
.agc-quick__item span {
	position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; color: var(--agc-green);
	transition: transform .4s var(--agc-spring), box-shadow .3s, background .3s;
}
.agc-quick__item span::before { content: ""; position: absolute; inset: 7px; border-radius: 14px; background: linear-gradient(140deg, rgba(43, 162, 92, .18), rgba(33, 131, 74, .04)); z-index: -1; }
.agc-quick__item:hover span { transform: translateY(-4px) rotate(-4deg); box-shadow: var(--agc-glass-shadow-hover); background: rgba(255, 255, 255, .85); }
.agc-quick__item:active span { transform: scale(.9); }
.agc-quick__item--jobs span, .agc-quick__item--property span, .agc-quick__item--events span, .agc-quick__item--farming span { color: var(--agc-gold-ink); }
.agc-quick__item--jobs span::before, .agc-quick__item--property span::before, .agc-quick__item--events span::before, .agc-quick__item--farming span::before { background: linear-gradient(140deg, rgba(217, 164, 65, .28), rgba(217, 164, 65, .05)); }
.agc-quick__item:nth-child(1) { animation: agc-pop-in .5s var(--agc-spring) both .05s; }
.agc-quick__item:nth-child(2) { animation: agc-pop-in .5s var(--agc-spring) both .09s; }
.agc-quick__item:nth-child(3) { animation: agc-pop-in .5s var(--agc-spring) both .13s; }
.agc-quick__item:nth-child(4) { animation: agc-pop-in .5s var(--agc-spring) both .17s; }
.agc-quick__item:nth-child(5) { animation: agc-pop-in .5s var(--agc-spring) both .21s; }
.agc-quick__item:nth-child(6) { animation: agc-pop-in .5s var(--agc-spring) both .25s; }
.agc-quick__item:nth-child(7) { animation: agc-pop-in .5s var(--agc-spring) both .29s; }
.agc-quick__item:nth-child(8) { animation: agc-pop-in .5s var(--agc-spring) both .33s; }

.agc-ad { position: relative; border-radius: var(--agc-r); overflow: hidden; border: 1px solid var(--agc-glass-edge); box-shadow: var(--agc-glass-shadow); }
.agc-ad img { width: 100%; aspect-ratio: 3/1; object-fit: cover; transition: transform .8s var(--agc-ease); }
.agc-ad:hover img { transform: scale(1.03); }
.agc-ad__label { position: absolute; top: 10px; left: 10px; z-index: 1; background: rgba(14, 30, 20, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); }

/* ==========================================================================
   Sections, grids, tiles
   ========================================================================== */
.agc-section { display: flex; flex-direction: column; gap: 12px; }
.agc-section__head { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.agc-section__head h2 { font-size: 19px !important; font-weight: 800; letter-spacing: -.025em; }
.agc-section__more { display: inline-flex; align-items: center; gap: 2px; padding: 6px 10px 6px 12px; border-radius: 999px; color: var(--agc-green) !important; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); transition: background .25s, gap .25s var(--agc-ease); }
.agc-section__more:hover { background: #fff; gap: 6px; }
.agc-list { display: flex; flex-direction: column; gap: 12px; }
.agc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.agc-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 560px) { .agc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .agc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.agc-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 80%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
.agc-scroller::-webkit-scrollbar { display: none; }
.agc-scroller > * { scroll-snap-align: start; }
@media (min-width: 768px) { .agc-scroller { margin: 0 -4px; padding: 4px 4px 14px; grid-auto-columns: minmax(240px, 46%); } }

.agc-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .agc-tiles { grid-template-columns: repeat(3, 1fr); } }
.agc-tile {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 3px; padding: 18px 16px 16px; border-radius: var(--agc-r);
	color: var(--agc-text) !important; transition: transform .4s var(--agc-spring), box-shadow .3s;
}
.agc-tile::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, rgba(33, 131, 74, .14), transparent 70%); transition: transform .5s var(--agc-ease); }
.agc-tile:hover { transform: translateY(-4px); box-shadow: var(--agc-glass-shadow-hover); }
.agc-tile:hover::after { transform: scale(1.6); }
.agc-tile:active { transform: scale(.97); }
.agc-tile__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: #fff; margin-bottom: 8px; background: linear-gradient(140deg, #2BA25C, var(--agc-green) 55%, var(--agc-green-deep)); box-shadow: 0 10px 18px -8px rgba(33, 131, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.agc-tile:nth-child(3n+2) .agc-tile__ic { background: linear-gradient(140deg, #E8B95A, var(--agc-gold) 55%, #B9842A); box-shadow: 0 10px 18px -8px rgba(217, 164, 65, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.agc-tile b { font-size: 15px; font-weight: 700; }
.agc-tile small { color: var(--agc-muted); font-size: 12px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.agc-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--agc-r);
	transition: transform .45s var(--agc-spring), box-shadow .35s var(--agc-ease), background .3s;
}
.agc-card::before { /* top edge highlight */
	content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
}
.agc-card:hover { transform: translateY(-3px); box-shadow: var(--agc-glass-shadow-hover); background: rgba(255, 255, 255, .7); }
.agc-card__link { display: flex; flex-direction: column; color: inherit !important; flex: 1; }
.agc-card__link:active { opacity: .9; }
.agc-card__body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.agc-card__title { font-size: 15.5px !important; font-weight: 700; line-height: 1.35 !important; letter-spacing: -.015em; }
.agc-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--agc-muted); font-size: 12.5px; }
.agc-card__meta > .agc-icon { margin-right: -6px; }
.agc-card__excerpt { color: #3D4A42; font-size: 14px; line-height: 1.55; }
.agc-card__row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.agc-card__foot { padding: 0 15px 15px; }
.agc-card__note { font-size: 11px; color: var(--agc-muted); }
.agc-loc { display: inline-flex; align-items: center; gap: 4px; }

/* Media with slow zoom on hover */
.agc-media { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: linear-gradient(135deg, rgba(33, 131, 74, .14), rgba(217, 164, 65, .12)); transition: transform .9s var(--agc-ease); }
.agc-card:hover .agc-media { transform: scale(1.05); }
.agc-card__link > .agc-media, .agc-media-wrap { overflow: hidden; }
.agc-media--square { aspect-ratio: 1; }
.agc-media--cover { aspect-ratio: 21/9; }
.agc-media--post { aspect-ratio: auto; max-height: 440px; border-radius: 14px; margin-top: 8px; }
.agc-card:hover .agc-media--post { transform: none; }
.agc-media--hero { aspect-ratio: 16/9; border-radius: var(--agc-r); }
.agc-media--mod { max-height: 220px; border-radius: 14px; }
.agc-media--empty { display: grid; place-items: center; color: rgba(33, 131, 74, .35); }
.agc-media-wrap { position: relative; }
.agc-ribbon { position: absolute; left: 10px; top: 10px; background: rgba(217, 164, 65, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .3); }
img.agc-media { transition: opacity .5s ease, transform .9s var(--agc-ease); }
img.agc-media.agc-fade:not(.is-loaded) { opacity: 0; } /* only images still downloading fade in */

.agc-price { font-size: 17px; font-weight: 800; color: var(--agc-green-deep); letter-spacing: -.02em; }
.agc-price small { font-size: 12px; font-weight: 600; color: var(--agc-muted); }
.agc-price--lg { font-size: 28px; background: linear-gradient(90deg, var(--agc-green-deep), var(--agc-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.agc-price--lg small { -webkit-text-fill-color: var(--agc-muted); }

/* News */
.agc-card--feature .agc-media { aspect-ratio: 16/10; }
.agc-card--feature .agc-card__link { position: relative; }
.agc-card--feature .agc-card__body { position: relative; }
.agc-card--feature .agc-card__title { font-size: 20px !important; letter-spacing: -.025em; }
@media (min-width: 768px) {
	.agc-card--feature .agc-media { aspect-ratio: 16/8; }
	.agc-card--feature .agc-card__body { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .35); }
	.agc-card--feature .agc-card__title { font-size: 22px !important; }
}
.agc-card--compact .agc-card__link { flex-direction: row; align-items: stretch; }
.agc-card--compact .agc-media { width: 116px; aspect-ratio: 1; flex: none; border-radius: 14px; margin: 8px 0 8px 8px; width: 108px; height: 108px; }
.agc-card--compact .agc-card__title { font-size: 14.5px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Business */
.agc-card--biz .agc-card__body { position: relative; padding-top: 32px; }
.agc-bizlogo { position: absolute; top: -28px; left: 14px; width: 56px; height: 56px; border-radius: 18px; border: 3px solid rgba(255, 255, 255, .95); object-fit: cover; background: #fff; box-shadow: 0 10px 20px -8px rgba(14, 59, 32, .4); transition: transform .4s var(--agc-spring); }
.agc-card--biz:hover .agc-bizlogo { transform: translateY(-3px) rotate(-3deg); }
.agc-bizlogo--letter { display: grid; place-items: center; background: linear-gradient(140deg, #2BA25C, var(--agc-green) 55%, var(--agc-green-deep)); color: #fff; font-weight: 800; font-size: 22px; }
.agc-bizlogo--lg { width: 84px; height: 84px; top: auto; bottom: -34px; left: 18px; border-radius: 24px; }
.agc-bizhero { position: relative; margin-bottom: 26px; }
.agc-verified { color: var(--agc-green); display: inline-flex; vertical-align: -2px; margin-left: 4px; }

/* Event */
.agc-card--event .agc-card__link { flex-direction: row; align-items: center; gap: 2px; padding-left: 12px; }
.agc-datebox {
	flex: none; width: 58px; height: 64px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
	background: linear-gradient(160deg, #2BA25C, var(--agc-green) 55%, var(--agc-green-deep)); color: #fff;
	box-shadow: 0 10px 18px -8px rgba(33, 131, 74, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.agc-datebox b { font-size: 23px; font-weight: 800; }
.agc-datebox span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; color: #FBE3B0; }

/* Notice */
.agc-card--notice .agc-card__link { flex-direction: row; padding-left: 14px; padding-top: 14px; }
.agc-notice-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(140deg, #E8B95A, var(--agc-gold) 55%, #B9842A); color: #fff; box-shadow: 0 8px 16px -8px rgba(217, 164, 65, .8); }
.agc-card--notice .agc-card__body { padding-top: 0; }

/* Job */
.agc-card--job::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--agc-gold), var(--agc-green)); }
.agc-card--job .agc-card__body { padding-left: 18px; }

/* Discussion post */
.agc-card--post { padding: 15px; gap: 8px; }
.agc-card--post .agc-card__link { gap: 5px; }
.agc-post__head { display: flex; align-items: center; gap: 10px; }
.agc-post__head .agc-avatar { box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgba(0, 0, 0, .25); }
.agc-post__head div { display: flex; flex-direction: column; line-height: 1.3; }
.agc-post__head span { color: var(--agc-muted); font-size: 12px; }

/* Project / progress */
.agc-progress { position: relative; height: 10px; border-radius: 99px; background: rgba(33, 131, 74, .1); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06); }
.agc-progress span { position: relative; display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--agc-green), #2BA25C 60%, var(--agc-gold)); transform-origin: left; animation: agc-grow 1.2s var(--agc-ease) both .2s; overflow: hidden; }
.agc-progress span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: agc-sheen 2.4s ease-in-out infinite; }
.agc-progress-box { display: flex; flex-direction: column; gap: 10px; }
.agc-progress-box .agc-card__row { justify-content: space-between; }
.agc-legend { border-radius: var(--agc-r); padding: 16px; font-size: 13px; }
.agc-legend ul { list-style: none; margin: 10px 0 0 !important; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.agc-legend li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--agc-muted); }

/* Actions row */
.agc-actions { display: flex; gap: 2px; align-items: center; border-top: 1px solid rgba(23, 37, 29, .07); padding-top: 8px; margin-top: 4px; }
.agc-card--post .agc-actions .agc-act:nth-child(3) { margin-left: auto; }
.agc-single .agc-actions .agc-act:first-child { margin-right: auto; }
html body .agc-app .agc-act {
	display: inline-flex; align-items: center; gap: 6px; min-width: 40px; height: 38px; padding: 0 10px; border-radius: 12px;
	color: var(--agc-muted); font-size: 13px; font-weight: 600; cursor: pointer;
	transition: background .25s, color .25s, transform .3s var(--agc-spring);
}
html body .agc-app .agc-act:hover { background: rgba(255, 255, 255, .8); color: var(--agc-text); }
html body .agc-app .agc-act:active { transform: scale(.86); }
html body .agc-app .agc-act.is-on { color: var(--agc-green); }
.agc-act.is-on svg { fill: currentColor; }
html body .agc-app .agc-act--like.is-on { color: #E0245E; }
.agc-act--like.is-on svg { animation: agc-heart .5s var(--agc-spring); }
.agc-act { position: relative; }
.agc-burst { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #E0245E; pointer-events: none; animation: agc-burst .6s ease-out forwards; }

.agc-contact { display: flex; gap: 8px; flex-wrap: wrap; }
.agc-contact .agc-btn { flex: 1; }

/* ==========================================================================
   Single pages
   ========================================================================== */
.agc-back { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px 7px 9px; border-radius: 999px; color: var(--agc-green-deep) !important; font-weight: 700; font-size: 13.5px; align-self: flex-start; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: gap .25s var(--agc-ease), background .25s; }
.agc-back:hover { gap: 8px; background: #fff; }
.agc-single__head { display: flex; flex-direction: column; gap: 10px; }
html body .agc-app .agc-single__head h1 { font-size: 27px !important; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
@media (min-width: 768px) { html body .agc-app .agc-single__head h1 { font-size: 36px !important; } }
.agc-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--agc-muted); font-size: 13px; }
.agc-single__meta b { color: var(--agc-text); }
.agc-single__media { margin: 0; border-radius: var(--agc-r); overflow: hidden; box-shadow: 0 30px 50px -30px rgba(14, 59, 32, .6); }
.agc-single__media img { animation: agc-zoom-out 1.2s var(--agc-ease) both; }
.agc-contactbar { position: sticky; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 5; padding: 8px; margin: 0 -8px; border-radius: 22px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 16px 34px -18px rgba(14, 59, 32, .4); }
@media (min-width: 768px) { .agc-contactbar { position: static; background: none; border: 0; box-shadow: none; padding: 0; margin: 0; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.agc-dl { margin: 0; display: flex; flex-direction: column; }
.agc-dl__row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(23, 37, 29, .07); font-size: 14px; }
.agc-dl__row:last-child { border-bottom: 0; }
.agc-dl dt { color: var(--agc-muted); }
.agc-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.agc-dl a { color: var(--agc-green) !important; display: inline-flex; gap: 4px; align-items: center; }
.agc-taglist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.agc-taglist li { border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; }

.agc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.agc-gallery a { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--agc-glass-shadow); }
.agc-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .6s var(--agc-ease); }
.agc-gallery a:hover img { transform: scale(1.08); }

.agc-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 16, 11, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: grid; place-items: center; animation: agc-fade .25s; touch-action: pan-y; }
.agc-lightbox img { max-width: 94vw; max-height: 84vh; border-radius: 16px; animation: agc-zoom .35s var(--agc-spring); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.agc-lightbox button { position: absolute; color: #fff !important; background: rgba(255, 255, 255, .14) !important; border: 1px solid rgba(255, 255, 255, .25) !important; width: 46px; height: 46px; border-radius: 50% !important; display: grid; place-items: center; cursor: pointer; font-size: 20px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.agc-lightbox__close { top: 16px; right: 16px; }
.agc-lightbox__prev { left: 12px; top: 50%; }
.agc-lightbox__next { right: 12px; top: 50%; }

/* Comments */
.agc-comments h2 { font-size: 19px !important; font-weight: 800; margin-bottom: 12px !important; }
.agc-commentlist, .agc-commentlist .children { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.agc-commentlist .children { padding-left: 18px !important; border-left: 2px solid rgba(33, 131, 74, .15); margin-left: 16px !important; }
.agc-commentlist .comment-body { border-radius: 18px; padding: 13px 14px; margin-bottom: 10px; font-size: 14px; }
.agc-commentlist .comment-author { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.agc-commentlist .comment-author img { border-radius: 50%; }
.agc-commentlist .says { display: none; }
.agc-commentlist .comment-metadata, .agc-commentlist .comment-meta { font-size: 12px; color: var(--agc-muted); }
.agc-commentlist .comment-metadata a { color: var(--agc-muted) !important; }
.agc-commentlist .reply a { color: var(--agc-green) !important; font-weight: 700; font-size: 13px; }
.agc-commentlist p { margin: 6px 0 !important; }
.agc-comments .comment-respond { border-radius: var(--agc-r); padding: 18px; margin-top: 12px; }
.agc-comments .comment-reply-title { font-size: 16px !important; font-weight: 800; margin: 0 0 10px !important; }
.agc-comments :is(textarea, input[type=text], input[type=email], input[type=url]) { width: 100% !important; border: 1px solid rgba(23, 37, 29, .1) !important; border-radius: 14px !important; padding: 12px 14px !important; font: 16px var(--agc-font) !important; background: rgba(255, 255, 255, .7) !important; color: var(--agc-text) !important; box-shadow: none !important; }
.agc-comments :is(textarea, input):focus { border-color: var(--agc-green) !important; box-shadow: 0 0 0 4px rgba(33, 131, 74, .14) !important; background: #fff !important; }
.agc-comments label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.agc-comments .form-submit { margin: 10px 0 0 !important; }

/* ==========================================================================
   Forms
   ========================================================================== */
.agc-form { display: flex; flex-direction: column; gap: 16px; }
.agc-form--compact { background: none !important; border: 0 !important; box-shadow: none !important; padding: 14px 0 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html body .agc-app .agc-form__title { display: flex; align-items: center; gap: 10px; font-size: 17px !important; font-weight: 800; color: var(--agc-green-deep) !important; padding-top: 4px; }
.agc-form__title .agc-icon { padding: 7px; width: 34px !important; height: 34px !important; border-radius: 11px; color: #fff; background: linear-gradient(140deg, #2BA25C, var(--agc-green) 55%, var(--agc-green-deep)); box-shadow: 0 8px 14px -6px rgba(33, 131, 74, .7); }
.agc-label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--agc-text); }
.agc-label em { color: var(--agc-danger); font-style: normal; }
.agc-label small { font-weight: 400; color: var(--agc-muted); }
html body .agc-app :is(.agc-input, #agc-login input[type=text], #agc-login input[type=password]), html body .agc-sheet-wrap .agc-input {
	width: 100% !important; min-height: 50px; height: auto; padding: 13px 15px !important; margin: 0; border-radius: 14px !important;
	border: 1px solid rgba(23, 37, 29, .1) !important; background: rgba(255, 255, 255, .6) !important; color: var(--agc-text) !important;
	font: 16px/1.4 var(--agc-font) !important; /* 16px stops zoom on phones */
	box-shadow: inset 0 1px 2px rgba(14, 59, 32, .05) !important; appearance: none; -webkit-appearance: none;
	transition: border-color .25s, box-shadow .25s, background .25s;
}
html body .agc-app :is(.agc-input, #agc-login input):focus { outline: 0; border-color: var(--agc-green) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(33, 131, 74, .14) !important; }
html body .agc-app textarea.agc-input { resize: vertical; min-height: 120px; }
html body .agc-app select.agc-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366746A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 15px center !important; padding-right: 42px !important; }
html body .agc-app .agc-input--sm { min-height: 38px; padding: 7px 12px !important; font-size: 14px !important; }
html body .agc-app .agc-input:user-invalid { border-color: var(--agc-danger) !important; }
.agc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3D4A42; font-weight: 500; }
.agc-check input { width: 20px; height: 20px; accent-color: var(--agc-green); flex: none; margin-top: 1px; }
.agc-check a { color: var(--agc-green) !important; text-decoration: underline !important; }
.agc-drop {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; border-radius: 18px;
	border: 2px dashed rgba(33, 131, 74, .3); background: linear-gradient(140deg, rgba(33, 131, 74, .07), rgba(217, 164, 65, .07)); color: var(--agc-green-deep); cursor: pointer; font-weight: 700;
	transition: background .3s, border-color .3s, transform .3s var(--agc-spring);
}
.agc-drop .agc-icon { animation: agc-float 3s ease-in-out infinite; }
.agc-drop:hover { border-color: var(--agc-green); transform: translateY(-2px); }
.agc-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agc-previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.agc-previews:empty { display: none; }
.agc-previews img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; animation: agc-zoom .35s var(--agc-spring) both; box-shadow: var(--agc-glass-shadow); }
.agc-switch { display: flex; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; font-weight: 500; }
.agc-switch input { position: absolute; opacity: 0; }
.agc-switch span { flex: none; width: 48px; height: 28px; border-radius: 99px; background: rgba(23, 37, 29, .15); position: relative; transition: background .3s; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1); }
.agc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); transition: transform .4s var(--agc-spring); }
.agc-switch input:checked + span { background: linear-gradient(140deg, #2BA25C, var(--agc-green)); }
.agc-switch input:checked + span::after { transform: translateX(20px); }
.agc-switch input:focus-visible + span { outline: 2px solid var(--agc-green); outline-offset: 2px; }
.agc-avatar-edit { display: flex; align-items: center; gap: 14px; }

.agc-composer { border-radius: var(--agc-r); padding: 10px 12px; }
.agc-composer summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--agc-muted); }
.agc-composer summary::-webkit-details-marker { display: none; }
.agc-composer summary span { flex: 1; background: rgba(255, 255, 255, .7); border: 1px solid rgba(23, 37, 29, .06); border-radius: 999px; padding: 11px 16px; transition: background .25s; }
.agc-composer summary:hover span { background: #fff; }
.agc-composer[open] summary { display: none; }
.agc-composer[open] .agc-form { animation: agc-rise .4s var(--agc-ease); }
.agc-composer--guest { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }

/* Alerts & empty states */
.agc-alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 16px; background: rgba(254, 246, 224, .8); border: 1px solid rgba(217, 164, 65, .3); color: #6B4A0B; font-size: 14px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: agc-rise .4s var(--agc-ease); }
.agc-alert--ok { background: rgba(234, 245, 238, .85); border-color: rgba(33, 131, 74, .25); color: var(--agc-green-deep); }
.agc-alert--bad { background: rgba(253, 237, 230, .85); border-color: rgba(194, 65, 12, .25); color: var(--agc-danger); }
.agc-empty { text-align: center; padding: 34px 20px; border-radius: var(--agc-r); color: var(--agc-muted); display: flex; flex-direction: column; align-items: center; gap: 14px; border-style: dashed !important; border-color: rgba(33, 131, 74, .25) !important; }
.agc-empty::before { content: ""; width: 54px; height: 54px; border-radius: 18px; background: linear-gradient(140deg, rgba(43, 162, 92, .25), rgba(217, 164, 65, .25)); animation: agc-float 4s ease-in-out infinite; }

.agc-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--agc-muted); }

/* Tabs & segmented control */
.agc-tabs, .agc-seg { display: flex; gap: 4px; padding: 5px; border-radius: 18px; overflow-x: auto; scrollbar-width: none; }
.agc-tabs::-webkit-scrollbar { display: none; }
.agc-tabs a, .agc-seg a { flex: 1; text-align: center; white-space: nowrap; padding: 10px 14px; border-radius: 13px; font-size: 13px; font-weight: 700; color: var(--agc-muted) !important; transition: background .3s var(--agc-ease), color .3s, box-shadow .3s; }
.agc-tabs a:hover, .agc-seg a:hover { color: var(--agc-text) !important; }
.agc-tabs a[aria-selected="true"], .agc-seg a[aria-selected="true"] { background: #fff; color: var(--agc-green-deep) !important; box-shadow: 0 6px 14px -6px rgba(14, 59, 32, .3); animation: agc-pill .4s var(--agc-spring); }
.agc-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--agc-danger); color: #fff; font-size: 11px; padding: 0 5px; }

/* Profile */
.agc-profile { padding: 0 !important; overflow: hidden; }
.agc-profile__cover { position: relative; height: 96px; overflow: hidden; background: linear-gradient(135deg, #1E8E4D 0%, #156B3A 50%, #0E3B20 100%); }
.agc-profile__cover::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, rgba(217, 164, 65, .6), transparent 30%, rgba(120, 220, 160, .4) 55%, transparent 75%, rgba(217, 164, 65, .5)); filter: blur(30px); animation: agc-spin 18s linear infinite; }
.agc-profile__row { position: relative; display: flex; align-items: flex-end; gap: 14px; padding: 0 18px 18px; margin-top: -40px; }
.agc-profile__row .agc-avatar { border: 4px solid rgba(255, 255, 255, .95); box-shadow: 0 12px 24px -10px rgba(14, 59, 32, .5); animation: agc-pop-in .6s var(--agc-spring) both; }
.agc-profile__row > div { padding-top: 48px; min-width: 0; }
.agc-profile h1 { font-size: 21px !important; font-weight: 800; }
.agc-profile p { color: var(--agc-muted); font-size: 13px; }
.agc-mylist, .agc-notes { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.agc-mylist li, .agc-notes li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 16px; padding: 13px 15px; transition: transform .3s var(--agc-ease); }
.agc-mylist li:hover { transform: translateX(3px); }
.agc-mylist li div, .agc-notes li div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.agc-mylist span, .agc-notes span { font-size: 12px; color: var(--agc-muted); }
.agc-mylist small { font-size: 12px; color: var(--agc-danger); }
.agc-mylist a { color: var(--agc-green-deep) !important; }
.agc-notes li { justify-content: flex-start; color: var(--agc-muted); }
.agc-notes li.is-new { background: rgba(234, 245, 238, .8); border-color: rgba(33, 131, 74, .25); }
.agc-notes li.is-new .agc-icon { color: var(--agc-green); animation: agc-wiggle 1.2s ease-in-out 2; }
.agc-notes a { color: var(--agc-text) !important; font-weight: 600; }
.agc-signout { text-align: center; }

/* Auth */
.agc-auth { align-items: center; padding-top: 10px; }
.agc-auth__card { width: 100%; max-width: 430px; display: flex; flex-direction: column; gap: 18px; padding: 26px 22px !important; background: rgba(255, 255, 255, .7) !important; }
.agc-auth__brand { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.agc-auth__brand .agc-logo__mark { width: 62px; height: 62px; border-radius: 20px; font-size: 21px; animation: agc-pop-in .7s var(--agc-spring) both; }
html body .agc-app .agc-auth__brand h1 { font-size: 24px !important; font-weight: 800; }
.agc-auth__brand p { color: var(--agc-muted); font-size: 13px; }
html body .agc-app #agc-login p { margin: 0 0 14px !important; display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; }
html body .agc-app #agc-login .login-remember label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
html body .agc-app #agc-login .login-remember input { accent-color: var(--agc-green); width: 18px; height: 18px; }
html body .agc-app #agc-login #wp-submit { width: 100% !important; min-height: 50px; border: 0 !important; border-radius: 999px !important; color: #fff !important; font: 600 15px var(--agc-font) !important; cursor: pointer; background: linear-gradient(140deg, #2BA25C 0%, var(--agc-green) 50%, var(--agc-green-deep) 100%) !important; box-shadow: 0 10px 22px -8px rgba(33, 131, 74, .6) !important; transition: transform .25s var(--agc-spring); }
html body .agc-app #agc-login #wp-submit:active { transform: scale(.97); }
.agc-auth__alt { text-align: center; font-size: 14px; }
.agc-auth__alt a { color: var(--agc-green) !important; font-weight: 700; }

/* Moderation */
.agc-modcard .agc-card__body { gap: 10px; }
.agc-expand summary { cursor: pointer; color: var(--agc-green); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; list-style: none; }
.agc-expand summary::-webkit-details-marker { display: none; }
.agc-expand summary .agc-icon { transition: transform .35s var(--agc-spring); }
.agc-expand[open] summary .agc-icon { transform: rotate(180deg); }
.agc-expand > div, .agc-expand > p { margin-top: 8px !important; font-size: 14px; animation: agc-rise .3s var(--agc-ease); }
.agc-modactions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.agc-reject { display: flex; gap: 6px; flex: 1 1 100%; margin: 0; }
.agc-reject .agc-input { flex: 1; }
.agc-rules { padding-left: 22px !important; display: flex; flex-direction: column; gap: 12px; margin: 0 0 1em !important; }
.agc-rules li::marker { color: var(--agc-green); font-weight: 800; }
.agc-linkrow { display: flex; gap: 8px; flex-wrap: wrap; }

/* Right panel */
.agc-panel { border-radius: var(--agc-r); padding: 16px 18px; font-family: var(--agc-font); }
html body .agc-app .agc-panel__title { display: flex; align-items: center; gap: 10px; font-size: 15px !important; font-weight: 800; margin-bottom: 10px !important; }
.agc-panel__title .agc-icon { width: 30px !important; height: 30px !important; padding: 6px; border-radius: 10px; color: #fff; background: linear-gradient(140deg, #2BA25C, var(--agc-green) 55%, var(--agc-green-deep)); box-shadow: 0 6px 12px -6px rgba(33, 131, 74, .7); }
.agc-panel:nth-child(2) .agc-panel__title .agc-icon { background: linear-gradient(140deg, #E8B95A, var(--agc-gold) 55%, #B9842A); box-shadow: 0 6px 12px -6px rgba(217, 164, 65, .8); }
.agc-panel .agc-empty { padding: 16px; font-size: 13px; box-shadow: none; }
.agc-panel .agc-empty::before { display: none; }
.agc-mini { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; }
.agc-mini li { padding: 10px 0; border-bottom: 1px solid rgba(23, 37, 29, .07); display: flex; flex-direction: column; gap: 2px; }
.agc-mini li:last-child { border-bottom: 0; }
.agc-mini a { font-size: 14px; font-weight: 600; line-height: 1.35; transition: color .2s; }
.agc-mini a:hover { color: var(--agc-green) !important; }
.agc-mini span { font-size: 12px; color: var(--agc-muted); }
.agc-mini--ranked { counter-reset: r; }
.agc-mini--ranked li { padding-left: 32px; position: relative; }
.agc-mini--ranked li::before { counter-increment: r; content: counter(r); position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 8px; background: linear-gradient(140deg, rgba(217, 164, 65, .3), rgba(217, 164, 65, .12)); color: var(--agc-gold-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }

/* ==========================================================================
   Toasts, sheets, skeletons, progress
   ========================================================================== */
.agc-toasts { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 250; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: 92vw; }
@media (min-width: 768px) { .agc-toasts { bottom: 28px; } }
.agc-toast { background: rgba(23, 37, 29, .82) !important; border-color: rgba(255, 255, 255, .15) !important; color: #fff; padding: 12px 18px; border-radius: 16px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; animation: agc-toast-in .45s var(--agc-spring); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5) !important; }
.agc-toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--agc-gold); box-shadow: 0 0 0 4px rgba(217, 164, 65, .25); }
.agc-toast.is-leaving { animation: agc-toast-out .3s ease forwards; }

.agc-sheet-wrap { position: fixed; inset: 0; z-index: 240; display: flex; align-items: flex-end; justify-content: center; background: rgba(14, 30, 20, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: agc-fade .25s; padding: 10px; }
@media (min-width: 768px) { .agc-sheet-wrap { align-items: center; } }
.agc-sheet { width: 100%; max-width: 480px; background: rgba(255, 255, 255, .85) !important; border-radius: 28px; padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); color: var(--agc-text); animation: agc-sheet-up .5s var(--agc-spring); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .4) !important; }
@media (min-width: 768px) { .agc-sheet { padding: 22px; animation: agc-zoom .35s var(--agc-spring); } }
.agc-sheet__grip { width: 44px; height: 5px; border-radius: 3px; background: rgba(23, 37, 29, .15); align-self: center; }
html body .agc-sheet-wrap .agc-sheet h2 { font: 800 19px var(--agc-font); margin: 0; color: var(--agc-text); letter-spacing: -.02em; }
.agc-sheet label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid rgba(23, 37, 29, .1); border-radius: 14px; font-size: 14px; cursor: pointer; background: rgba(255, 255, 255, .6); transition: border-color .2s, background .2s; }
.agc-sheet label:has(input:checked) { border-color: var(--agc-green); background: rgba(234, 245, 238, .9); }
.agc-sheet input[type=radio] { accent-color: var(--agc-green); }
.agc-sheet__btns { display: flex; gap: 8px; }
.agc-sheet__btns .agc-btn { flex: 1; }

.agc-skel { background: linear-gradient(90deg, rgba(255, 255, 255, .4) 25%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, .4) 75%); background-size: 200% 100%; animation: agc-shimmer 1.2s infinite; border-radius: 12px; }
.agc-is-navigating .agc-main { opacity: .5; filter: blur(1px); transition: opacity .25s, filter .25s; }
.agc-topbar::after { content: ""; position: absolute; left: 14px; bottom: -1px; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--agc-green), var(--agc-gold)); }
.agc-is-navigating .agc-topbar::after { animation: agc-load 2.2s var(--agc-ease) forwards; }

/* Scroll reveal (only when JS is running) */
.agc-js .agc-reveal { opacity: 0; transform: translateY(18px) scale(.985); }
.agc-js .agc-reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--agc-ease), transform .7s var(--agc-spring); transition-delay: var(--agc-d, 0s); }

/* Ripple */
.agc-ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .18; transform: scale(0); animation: agc-ripple .6s ease-out forwards; }

/* Embedded building blocks */
.agc-embed { margin: 0 auto; }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes agc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes agc-rise-in { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes agc-pop-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes agc-slide-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes agc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes agc-zoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes agc-zoom-out { from { transform: scale(1.08); } to { transform: none; } }
@keyframes agc-pill { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes agc-heart { 0% { transform: scale(.5); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes agc-burst { from { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateY(-22px) scale(.3); opacity: 0; } }
@keyframes agc-sheet-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes agc-toast-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes agc-toast-out { to { opacity: 0; transform: translateY(10px) scale(.95); } }
@keyframes agc-spin { to { transform: rotate(360deg); } }
@keyframes agc-shimmer { to { background-position: -200% 0; } }
@keyframes agc-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes agc-load { 0% { width: 0; } 60% { width: 70%; } 100% { width: 92%; } }
@keyframes agc-sheen { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes agc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes agc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes agc-ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes agc-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
@keyframes agc-ripple { to { transform: scale(2.6); opacity: 0; } }
@keyframes agc-drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8vw, 6vh, 0) scale(1.1); } }
@keyframes agc-drift-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-10vw, 10vh, 0) scale(.95); } }
@keyframes agc-drift-c { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(6vw, -8vh, 0) scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
	.agc-app *, .agc-app *::before, .agc-app *::after, .agc-bg i { animation: none !important; transition: none !important; }
	.agc-js .agc-reveal { opacity: 1; transform: none; }
}

/* Safety net: page builders that auto-format text can inject <br>/<p> into the app's markup */
.agc-app :is(.agc-topbar, .agc-topbar__actions, .agc-iconbtn, .agc-avatar-link, .agc-logo, .agc-bottomnav, .agc-bottomnav__link, .agc-nav, .agc-nav__link, .agc-quick, .agc-quick__item, .agc-chips, .agc-toggle, .agc-actions, .agc-card__row, .agc-card__meta, .agc-tabs, .agc-seg, .agc-contact, .agc-modactions, .agc-linkrow, .agc-tiles, .agc-tile, .agc-list, .agc-grid, .agc-grid-2, .agc-scroller, .agc-sidebar__brand) > br { display: none !important; }
.agc-app p:empty { display: none !important; }
