/*
 * Investor - Meeting Year.
 *
 * Read from cp-all-designer investor/shareholder-information/
 * annual-general-meeting-of-shareholder/year-2026/ and css/agm-year-2026.css,
 * over the tokens of css/app.css it uses: --r-sm 140 (6px), --r 141 (14px),
 * --sh 160.
 *
 * The band and the head are the investor parent's. Every measure a Style
 * control states is stated on the control for each tier, and not here.
 */

/* What a Style control names: each state's own colour. The rules below say which is showing. */
.custom-investor-meeting-year {
	--custom-meeting-year-tab: #F0F9FD;
	--custom-meeting-year-tab-lit: rgba(80, 163, 213, 0.16);
	--custom-meeting-year-tab-ink: #16418C;
	--custom-meeting-year-tab-on: #16418C;
	--custom-meeting-year-tab-on-ink: #FFFFFF;
	--custom-meeting-year-ink: #16418C;
	--custom-meeting-year-ground: #FFFFFF;
	--custom-meeting-year-edge: #EEF2F7;
	--custom-meeting-year-lit: #F0F9FD;
	--custom-meeting-year-edge-lit: #50A3D5;
	--custom-meeting-year-arrow: #50A3D5;
	--custom-meeting-year-badge: #CE2929;
	--custom-meeting-year-badge-ink: #FFFFFF;
}

/* agm-year-2026.css:10 — the tabs down the side, the papers beside them */
.custom-investor-meeting-year .custom-investor-meeting-year__body {
	display: flex;
	align-items: flex-start;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}

/* agm-year-2026.css:13-18 */
.custom-investor-meeting-year .custom-investor-meeting-year__tabs {
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	gap: 4px;
	max-width: 100%;
}

/* agm-year-2026.css:19-35 */
.custom-investor-meeting-year .custom-investor-meeting-year__tab {
	--custom-press-ink: var(--custom-meeting-year-tab-ink);
	--custom-press-ground: var(--custom-meeting-year-tab);
	--custom-press-edge: transparent;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 16px 20px;
	border: 0;
	border-radius: 6px;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: background-color 250ms cubic-bezier(0.2, 0.8, 0.2, 1), color 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-investor-meeting-year .custom-investor-meeting-year__tab:hover {
	--custom-press-ground: var(--custom-meeting-year-tab-lit);
}

.custom-investor-meeting-year .custom-investor-meeting-year__tab:focus-visible {
	outline: 4px solid #16418C;            /* agm-year-2026.css:37 measures 3px */
	outline-offset: 2px;
}

.custom-investor-meeting-year .custom-investor-meeting-year__tab.is-on,
.custom-investor-meeting-year .custom-investor-meeting-year__tab.is-on:hover {
	--custom-press-ink: var(--custom-meeting-year-tab-on-ink);
	--custom-press-ground: var(--custom-meeting-year-tab-on);
	font-weight: 700;
}

.custom-investor-meeting-year .custom-investor-meeting-year__panels {
	flex: 1;
	min-width: 0;
	width: 100%;
}

.custom-investor-meeting-year .custom-investor-meeting-year__panel[hidden] {
	display: none;
}

.custom-investor-meeting-year .custom-investor-meeting-year__panel:focus-visible {
	outline: 0;
}

/* agm-year-2026.css:55 */
.custom-investor-meeting-year .custom-investor-meeting-year__papers {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.custom-investor-meeting-year .custom-investor-meeting-year__papers li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* agm-year-2026.css:57-72 — every paper stands the same height */
.custom-investor-meeting-year .custom-investor-meeting-year__paper {
	--custom-press-ink: var(--custom-meeting-year-ink);
	--custom-press-ground: var(--custom-meeting-year-ground);
	--custom-press-edge: var(--custom-meeting-year-edge);
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	gap: 16px;
	min-height: 60px;
	border-width: 2px;                     /* agm-year-2026.css:66 measures 1px */
	border-style: solid;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0;
	transition: border-color 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            background-color 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            box-shadow 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* agm-year-2026.css:80 — a paper marked with a badge stands lit */
.custom-investor-meeting-year .custom-investor-meeting-year__paper-marked {
	--custom-press-ground: var(--custom-meeting-year-lit);
	--custom-press-edge: var(--custom-meeting-year-edge-lit);
}

.custom-investor-meeting-year a.custom-investor-meeting-year__paper:hover,
.custom-investor-meeting-year a.custom-investor-meeting-year__paper:focus-visible {
	--custom-press-ground: var(--custom-meeting-year-lit);
	--custom-press-edge: var(--custom-meeting-year-edge-lit);
	--custom-press-shadow: 0 18px 44px -14px rgba(22, 65, 140, 0.2);   /* --sh */
}

.custom-investor-meeting-year a.custom-investor-meeting-year__paper:focus-visible {
	outline: 4px solid #16418C;            /* agm-year-2026.css:84 measures 3px */
	outline-offset: 2px;
}

@media (hover: hover) {
	.custom-investor-meeting-year a.custom-investor-meeting-year__paper:hover {
		transform: translateY(-2px);
	}
}

.custom-investor-meeting-year .custom-investor-meeting-year__paper-body {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.custom-investor-meeting-year .custom-investor-meeting-year__paper-title {
	min-width: 0;
}

/* agm-year-2026.css:42-53 */
.custom-investor-meeting-year .custom-investor-meeting-year__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 1000px;
	background-color: var(--custom-meeting-year-badge);
	color: var(--custom-meeting-year-badge-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0px;                   /* agm-year-2026.css:47 measures 0.6px */
}

/* agm-year-2026.css:86-89 */
.custom-investor-meeting-year .custom-investor-meeting-year__paper-go {
	flex: 0 0 auto;
	display: flex;
	color: var(--custom-meeting-year-arrow);
	transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), color 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-investor-meeting-year .custom-investor-meeting-year__paper-go svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.custom-investor-meeting-year a.custom-investor-meeting-year__paper:hover .custom-investor-meeting-year__paper-go,
.custom-investor-meeting-year a.custom-investor-meeting-year__paper:focus-visible .custom-investor-meeting-year__paper-go {
	color: var(--custom-meeting-year-ink);
	transform: translate(4px, -4px);       /* agm-year-2026.css:89 measures 3px, -3px */
}

/* Tablet and below — agm-year-2026.css:103-106: the tabs stand over the papers */
@media (max-width: 1024px) {
	.custom-investor-meeting-year .custom-investor-meeting-year__body {
		flex-direction: column;
	}
}

/* Mobile — up to 767px (agm-year-2026.css:107-110) */
@media (max-width: 767px) {
	.custom-investor-meeting-year .custom-investor-meeting-year__tab {
		padding: 16px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.custom-investor-meeting-year .custom-investor-meeting-year__tab,
	.custom-investor-meeting-year .custom-investor-meeting-year__paper,
	.custom-investor-meeting-year .custom-investor-meeting-year__paper-go {
		transition: none;
	}
}
