:root {
	--agas-manager-app-green: #175c3b;
	--agas-manager-app-dark: #103d2a;
	--agas-manager-app-mint: #e7f3ec;
	--agas-manager-app-bg: #f4f7f5;
	--agas-manager-app-muted: #607268;
}

.agas-manager-app-mode {
	min-height: 100vh;
	background: linear-gradient(180deg, #dceee4 0%, var(--agas-manager-app-bg) 38%, #fff 100%);
}

body.agas-manager-app-mode {
	margin: 0;
}

.agas-manager-app {
	box-sizing: border-box;
	max-width: 720px;
	min-height: 70vh;
	margin: 0 auto;
	padding: clamp(20px, 5vw, 40px) 16px calc(28px + env(safe-area-inset-bottom, 0px));
	color: #173126;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}

.agas-manager-app-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 6vw, 40px);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 24px;
	color: #fff;
	background: linear-gradient(145deg, var(--agas-manager-app-dark) 0%, var(--agas-manager-app-green) 100%);
	box-shadow: 0 20px 50px rgba(16, 61, 42, .22);
}

.agas-manager-app-hero::before {
	content: "";
	position: absolute;
	inset: -30% -10% auto auto;
	width: 260px;
	height: 260px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	pointer-events: none;
}

.agas-manager-app-hero > * {
	position: relative;
	z-index: 1;
}

.agas-manager-app-logo {
	display: block;
	width: min(220px, 62vw);
	max-height: 96px;
	margin: 0 0 12px;
	object-fit: contain;
	background: transparent;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25));
}

.agas-manager-app-eyebrow {
	margin: 0;
	color: #b9dfca;
	font-size: .82rem;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.agas-manager-app-hero h1 {
	margin: .2em 0 .35em;
	font-size: clamp(1.7rem, 5vw, 2.4rem);
	line-height: 1.1;
	font-weight: 900;
}

.agas-manager-app-hero p {
	margin: 0;
	max-width: 34em;
	font-size: 1.02rem;
	line-height: 1.5;
	opacity: .95;
}

.agas-manager-app-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 54px;
	margin-top: 18px;
	padding: 12px 20px;
	border: 0;
	border-radius: 14px;
	text-decoration: none !important;
	font-size: 1.05rem;
	font-weight: 800;
	cursor: pointer;
}

.agas-manager-app-button-primary {
	color: #fff !important;
	background: linear-gradient(135deg, #ff4b16, #ff7a1c);
	box-shadow: 0 12px 28px rgba(255, 75, 22, .28);
}

.agas-manager-app-button-secondary {
	width: auto;
	min-height: 44px;
	margin-top: 0;
	padding-inline: 18px;
	color: var(--agas-manager-app-green) !important;
	background: #fff;
	box-shadow: none;
}

.agas-manager-app-notice {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 12px;
	color: #7f1d1d;
	background: #fee2e2;
	font-weight: 650;
	line-height: 1.45;
}

.agas-manager-app-install-card {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid #b6c8bd;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 61, 42, .08);
}

.agas-manager-app-install-card h2 {
	margin: 0 0 8px;
	font-size: 1.15rem;
	color: #173126;
}

.agas-install-status {
	margin: 0 0 12px;
	color: var(--agas-manager-app-muted);
	line-height: 1.45;
}

.agas-manager-app-button-install {
	margin-top: 0;
}

.agas-manager-app-button-install.is-disabled,
.agas-manager-app-button-install:disabled {
	opacity: .55;
	cursor: not-allowed;
	box-shadow: none;
}

.agas-manager-app-install-manual {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #dce8e1;
}

.agas-manager-app-install-manual strong {
	display: block;
	margin-bottom: 8px;
}

.agas-manager-app-install-manual ol {
	margin: 0;
	padding-left: 1.2em;
	color: var(--agas-manager-app-muted);
	line-height: 1.55;
}

.agas-manager-app-install-manual li + li {
	margin-top: 6px;
}

.agas-manager-app-install {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 18px;
	padding: 16px 18px;
	border: 1px solid #b6c8bd;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 61, 42, .08);
}

.agas-manager-app-install[hidden] {
	display: none !important;
}

.agas-manager-app-install strong {
	display: block;
	margin-bottom: 4px;
	font-size: 1rem;
}

.agas-manager-app-install p {
	margin: 0;
	color: var(--agas-manager-app-muted);
	font-size: .92rem;
	line-height: 1.45;
}

.agas-manager-app-install-ios {
	flex-direction: column;
	align-items: stretch;
}

.agas-manager-app-install-edge {
	flex-direction: column;
	align-items: stretch;
	border-color: #175c3b;
	background: #f6fbf8;
}

.agas-manager-app-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 22px;
}

.agas-manager-app-tile {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 76px;
	padding: 16px;
	border: 1px solid #d9e6de;
	border-radius: 16px;
	color: #173126 !important;
	background: #fff;
	text-decoration: none !important;
	box-shadow: 0 8px 22px rgba(16, 61, 42, .06);
}

.agas-manager-app-tile .dashicons {
	width: 34px;
	height: 34px;
	font-size: 34px;
	color: var(--agas-manager-app-green);
}

.agas-manager-app-tile strong,
.agas-manager-app-tile small {
	display: block;
}

.agas-manager-app-tile strong {
	font-size: 1rem;
}

.agas-manager-app-tile small {
	margin-top: 3px;
	color: var(--agas-manager-app-muted);
	font-size: .88rem;
	line-height: 1.35;
}

.agas-manager-app-panel {
	margin-top: 22px;
	padding: 18px;
	border: 1px solid #d9e6de;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 61, 42, .06);
}

.agas-manager-app-panel h2 {
	margin: 0 0 10px;
	font-size: 1.15rem;
}

.agas-manager-app-panel p,
.agas-manager-app-steps {
	margin: 0;
	color: var(--agas-manager-app-muted);
	line-height: 1.55;
}

.agas-manager-app-steps {
	padding-left: 1.2em;
}

.agas-manager-app-steps li + li {
	margin-top: 8px;
}

.agas-manager-app-credit {
	margin: 24px 0 0;
	color: var(--agas-manager-app-muted);
	font-size: .88rem;
	text-align: center;
}

@media (min-width: 560px) {
	.agas-manager-app-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.agas-manager-app-button {
		width: auto;
		min-width: 240px;
	}
}
