.ahn-navigator {
	--ahn-accent: #2C9B97;
	font-size: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 260px;
}

.ahn-navigator .ahn-row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px 18px;
	background: #fff !important;
	color: var(--ahn-accent) !important;
	border: 2px solid var(--ahn-accent) !important;
	border-radius: 12px !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 16px;
	font-family: inherit;
	cursor: pointer;
	text-align: left;
	box-sizing: border-box;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ahn-navigator a.ahn-row:visited {
	color: var(--ahn-accent) !important;
}

.ahn-navigator .ahn-row:hover {
	background: var(--ahn-accent) !important;
	color: #fff !important;
}

/* Extra-specific rule for the anchor "Return to..." links specifically -
   themes frequently style a:hover with enough specificity to beat a plain
   class-based rule, even with !important, so this repeats the class to
   raise specificity further without resorting to an ID hack. */
.ahn-navigator a.ahn-row.ahn-row:hover {
	background: var(--ahn-accent) !important;
	color: #fff !important;
}

.ahn-navigator a.ahn-row.ahn-row:hover .ahn-row-label {
	color: #fff !important;
}

.ahn-navigator .ahn-row.is-current {
	background: var(--ahn-accent) !important;
	color: #fff !important;
}

.ahn-row-icon {
	flex-shrink: 0;
	font-size: 18px;
	line-height: 1;
}

.ahn-row-label {
	flex: 1;
}

.ahn-picker {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ahn-picker-heading {
	cursor: default !important;
}

/* Same rounded/padded box as every other row (via the shared .ahn-row
   class); only the typography is distinct, to read as a section header
   rather than a regular clickable item. */
.ahn-navigator .ahn-row.ahn-stage-heading {
	margin-top: 8px;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ahn-year-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ahn-year-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ahn-unit-list[hidden],
.ahn-year-list[hidden] {
	display: none !important;
}

.ahn-unit-list {
	list-style: none;
	margin: 0 0 0 14px;
	padding: 6px 0 2px 14px;
	border-left: 2px solid var(--ahn-accent);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ahn-unit-link {
	display: block;
	padding: 8px 12px;
	color: var(--ahn-accent) !important;
	text-decoration: none !important;
	border: 2px solid var(--ahn-accent);
	border-radius: 10px;
	font-weight: 600;
	background: #fff !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ahn-unit-link:visited {
	color: var(--ahn-accent) !important;
}

.ahn-unit-link:hover {
	background: var(--ahn-accent) !important;
	color: #fff !important;
}

.ahn-unit-link.is-current {
	background: var(--ahn-accent) !important;
	color: #fff !important;
}

.ahn-year-home-link {
	font-style: italic;
}

.ahn-nowrap {
	white-space: nowrap;
}
