/*
 * Annual Management page styles (templates/page-annualmgmt.php).
 * Scoped to .ez.ez-annualmgmt so they do not leak onto other Easyco 2 pages.
 * Shared layout (hero, cards, FAQ, form) comes from ez.css.
 * No video slot: the hero uses the year task list instead.
 */

.ez.ez-annualmgmt .sh .sub { color: var(--m); font-size: 14px; margin-top: 18px; }

/* What's included — five cards on a 6-column grid. */
.ez.ez-annualmgmt .g6.five > .card { grid-column: span 2; }
.ez.ez-annualmgmt .g6.five > .card:nth-child(n+4) { grid-column: span 3; }

.ez.ez-annualmgmt .acc {
	color: var(--m);
	font-size: 16px;
	line-height: 1.65;
	margin-top: 28px;
	max-width: 820px;
}

/* Pictorial icons inside .ic (ledger, Worth saying once). */
.ez.ez-annualmgmt .ic svg {
	width: 22px;
	height: 22px;
	display: block;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Year task list (hero visual) */
.ez.ez-annualmgmt .yr { min-width: 0; }
.ez.ez-annualmgmt .tl-stage {
	position: relative;
	border: 1px solid var(--line);
	background: #0e1813;
	border-radius: 24px;
	overflow: hidden;
}
.ez.ez-annualmgmt .tl-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(rgba(34, 194, 122, .28) 1.4px, transparent 1.6px) 0 0 / 18px 18px,
		linear-gradient(160deg, #1f3a2f, #0c1612 55%, #0e1813);
}
.ez.ez-annualmgmt .tl-bg:after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(34, 194, 122, .14), transparent 52%),
		radial-gradient(ellipse at 80% 20%, transparent 0, rgba(14, 24, 19, .4) 55%, rgba(14, 24, 19, .72) 100%);
}
.ez.ez-annualmgmt .tl { position: relative; z-index: 1; padding: 26px 24px 24px; }
.ez.ez-annualmgmt .tl-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 2px 6px 18px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 8px;
}
.ez.ez-annualmgmt .tl-mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(34, 194, 122, .14);
	color: var(--g);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.ez.ez-annualmgmt .tl-mark svg { width: 22px; height: 22px; display: block; }
.ez.ez-annualmgmt .tl-head b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.ez.ez-annualmgmt .tl-head span { display: block; color: var(--m); font-size: 13px; margin-top: 2px; }
.ez.ez-annualmgmt .tl-rows { list-style: none; display: grid; gap: 8px; }
.ez.ez-annualmgmt .tl-rows li {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 14px;
	align-items: center;
	background: rgba(15, 26, 22, .62);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px 16px;
	animation: ez-annualmgmt-tl-row 12s ease-in-out infinite;
}
.ez.ez-annualmgmt .tl-rows li:nth-child(1) { animation-delay: 0s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(2) { animation-delay: .7s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(3) { animation-delay: 1.4s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(4) { animation-delay: 2.1s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(5) { animation-delay: 2.8s; }
.ez.ez-annualmgmt .tl-box {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	border: 1.5px solid rgba(34, 194, 122, .35);
	background: transparent;
	color: var(--g);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	animation: ez-annualmgmt-tl-box 12s ease-in-out infinite;
}
.ez.ez-annualmgmt .tl-rows li:nth-child(1) .tl-box { animation-delay: 0s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(2) .tl-box { animation-delay: .7s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(3) .tl-box { animation-delay: 1.4s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(4) .tl-box { animation-delay: 2.1s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(5) .tl-box { animation-delay: 2.8s; }
.ez.ez-annualmgmt .tl-box svg {
	width: 16px;
	height: 16px;
	display: block;
	stroke-dasharray: 22;
	stroke-dashoffset: 22;
	animation: ez-annualmgmt-tl-draw 12s ease-in-out infinite;
}
.ez.ez-annualmgmt .tl-rows li:nth-child(1) .tl-box svg { animation-delay: 0s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(2) .tl-box svg { animation-delay: .7s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(3) .tl-box svg { animation-delay: 1.4s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(4) .tl-box svg { animation-delay: 2.1s; }
.ez.ez-annualmgmt .tl-rows li:nth-child(5) .tl-box svg { animation-delay: 2.8s; }
.ez.ez-annualmgmt .tl-rows b {
	display: block;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -.015em;
	line-height: 1.3;
}
.ez.ez-annualmgmt .tl-note {
	position: relative;
	z-index: 1;
	color: var(--m);
	font-size: 13px;
	line-height: 1.45;
	margin: 14px 6px 0;
	opacity: .88;
}

@keyframes ez-annualmgmt-tl-draw {
	0%, 6% { stroke-dashoffset: 22; }
	12%, 74% { stroke-dashoffset: 0; }
	82%, 100% { stroke-dashoffset: 22; }
}
@keyframes ez-annualmgmt-tl-box {
	0%, 6% { background: transparent; border-color: rgba(34, 194, 122, .35); }
	12%, 74% { background: rgba(34, 194, 122, .18); border-color: #22c27a; }
	82%, 100% { background: transparent; border-color: rgba(34, 194, 122, .35); }
}
@keyframes ez-annualmgmt-tl-row {
	0%, 6% { border-color: var(--line); }
	12%, 74% { border-color: rgba(34, 194, 122, .32); background: rgba(15, 26, 22, .82); }
	82%, 100% { border-color: var(--line); }
}

/* Corporate Maintenance note (Worth saying once) */
.ez.ez-annualmgmt .cm-note {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 36px;
	max-width: 720px;
}
.ez.ez-annualmgmt .cm-note .ic { margin-bottom: 0; flex-shrink: 0; }
.ez.ez-annualmgmt .cm-note p { color: var(--m); font-size: 16px; line-height: 1.6; }
.ez.ez-annualmgmt .cm-note .more {
	display: inline-block;
	margin-top: 10px;
	color: var(--g);
	font-weight: 600;
	font-size: 14px;
}

/* Ledger / country variations */
.ez.ez-annualmgmt .ledger {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 20px;
	margin-top: 48px;
	overflow: hidden;
	padding: 12px 8px 8px 0;
}
.ez.ez-annualmgmt .ledger-bind {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 28px;
	background: linear-gradient(90deg, #163126, #1b2e26 70%);
	border-right: 1px solid rgba(34, 194, 122, .28);
}
.ez.ez-annualmgmt .ledger-bind:before {
	content: "";
	position: absolute;
	inset: 18px auto 18px 10px;
	width: 8px;
	border-radius: 8px;
	background: repeating-linear-gradient(#0e1813 0 10px, transparent 10px 46px);
	box-shadow: inset 0 0 0 1px rgba(34, 194, 122, .35);
}
.ez.ez-annualmgmt .ledger-rows {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin-left: 28px;
}
.ez.ez-annualmgmt .ledger-rows li {
	display: flex;
	gap: 16px;
	padding: 26px 28px;
	border-bottom: 1px solid var(--line);
}
.ez.ez-annualmgmt .ledger-rows li:nth-child(odd) { border-right: 1px solid var(--line); }
.ez.ez-annualmgmt .ledger-rows li:nth-last-child(-n+2) { border-bottom: 0; }
.ez.ez-annualmgmt .ledger-rows .ic { margin-bottom: 0; flex-shrink: 0; }
.ez.ez-annualmgmt .ledger-rows h3 {
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -.01em;
	margin-bottom: 8px;
	line-height: 1.3;
}
.ez.ez-annualmgmt .ledger-rows p { color: var(--m); font-size: 14.5px; line-height: 1.6; }
.ez.ez-annualmgmt .ledger-close {
	margin: 4px 28px 22px 56px;
	color: var(--m);
	font-size: 15.5px;
	line-height: 1.6;
	max-width: 760px;
}

/* Handover band */
.ez.ez-annualmgmt .hand-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 36px 40px;
}
.ez.ez-annualmgmt .hand-band h2 { font-size: 32px; max-width: 16ch; }
.ez.ez-annualmgmt .hand-band .lead { margin-top: 12px; max-width: 520px; }
.ez.ez-annualmgmt .hand-band .btn { flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
	.ez.ez-annualmgmt .tl-rows li,
	.ez.ez-annualmgmt .tl-box,
	.ez.ez-annualmgmt .tl-box svg { animation: none; }
	.ez.ez-annualmgmt .tl-box { background: rgba(34, 194, 122, .18); border-color: #22c27a; }
	.ez.ez-annualmgmt .tl-box svg { stroke-dashoffset: 0; }
	.ez.ez-annualmgmt .tl-rows li { border-color: rgba(34, 194, 122, .32); background: rgba(15, 26, 22, .82); }
}

@media (max-width: 800px) {
	.ez.ez-annualmgmt .g6.five > .card,
	.ez.ez-annualmgmt .g6.five > .card:nth-child(n),
	.ez.ez-annualmgmt .g6.five > .card:nth-child(n+4) { grid-column: auto; }
	.ez.ez-annualmgmt .tl-stage { border-radius: 20px; }
	.ez.ez-annualmgmt .tl { padding: 22px 18px 16px; }
	.ez.ez-annualmgmt .tl-rows b { font-size: 14.5px; }
	.ez.ez-annualmgmt .tl-note { margin: 12px 2px 0; font-size: 12.5px; }
	.ez.ez-annualmgmt .cm-note { margin-top: 28px; }
	.ez.ez-annualmgmt .ledger { margin-top: 32px; }
	.ez.ez-annualmgmt .ledger-rows { grid-template-columns: 1fr; }
	.ez.ez-annualmgmt .ledger-rows li { padding: 22px 20px 22px 16px; border-right: 0; }
	.ez.ez-annualmgmt .ledger-rows li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
	.ez.ez-annualmgmt .ledger-rows li:last-child { border-bottom: 0; }
	.ez.ez-annualmgmt .ledger-close { margin: 8px 20px 18px 44px; font-size: 15px; }
	.ez.ez-annualmgmt .hand-band {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 22px;
		gap: 22px;
	}
	.ez.ez-annualmgmt .hand-band h2 { font-size: 28px; }
}
